/* Aurea Group — foglio di stile
   Idea di layout: blu notte e carta chiara in alternanza; fotografie incorniciate
   nei tre archi del logo (bianco, rosso, oro); filetto oro sotto i titoli. */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin.woff2") format("woff2");
}
:root {
  --navy: #0A2F5C;
  --navy-deep: #071D3A;
  --ink: #14233A;
  --muted: #536079;
  --gold: #CDA347;
  --gold-text: #8A6814;
  --gold-display: #B38A28;
  --red: #C71340;
  --paper: #F4F5F8;
  --white: #FFFFFF;
  --line: #DADFE8;
  --line-dark: rgba(255, 255, 255, .18);
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --radius: 4px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; line-height: 1.06; letter-spacing: -.012em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: var(--navy-deep); padding: 10px 16px; font-weight: 700; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Testata ---------- */
.header { position: sticky; top: 0; z-index: 50; background: var(--navy-deep); color: var(--white); border-bottom: 1px solid var(--line-dark); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: block; flex: none; }
.logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link, .nav__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: inherit; font-size: 16px; font-weight: 600;
  color: var(--white); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--radius);
}
.nav__link:hover, .nav__btn:hover, .nav__link[aria-current="page"] { color: var(--gold); }
.nav__btn svg { width: 16px; height: 16px; transition: transform .2s; }
.nav__item { position: relative; }
.sub { position: absolute; left: 0; top: 100%; min-width: 320px; background: var(--white); color: var(--ink); padding: 10px; border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(7, 29, 58, .22); border-top: 3px solid var(--gold); display: none; }
.nav__item.open .sub, .nav__item:focus-within .sub { display: block; }
@media (hover: hover) and (min-width: 1000px) { .nav__item:hover .sub { display: block; } .nav__item:hover .nav__btn svg { transform: rotate(180deg); } }
.sub a { display: block; padding: 10px 12px; text-decoration: none; border-radius: 3px; line-height: 1.3; }
.sub a strong { display: block; font-size: 16px; color: var(--navy); }
.sub a span { font-size: 14px; color: var(--muted); }
.sub a:hover { background: var(--paper); }
.sub__all { border-top: 1px solid var(--line); margin-top: 6px; font-weight: 700; color: var(--navy); font-size: 15px; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-dark); background: none; color: var(--white); border-radius: var(--radius); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 24px; height: 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; font: inherit; font-size: 16px; font-weight: 700;
  letter-spacing: .01em; text-decoration: none; border-radius: var(--radius); border: 2px solid var(--gold); background: var(--gold); color: var(--navy-deep);
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: #DDB65C; border-color: #DDB65C; transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .55); }
.btn--ghost:hover { background: var(--white); color: var(--navy-deep); border-color: var(--white); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn--sm { padding: 10px 18px; font-size: 15px; }

@media (max-width: 999px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: 77px 0 0 0; background: var(--navy-deep); flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 32px; overflow-y: auto; display: none; }
  .nav.open { display: flex; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link, .nav__btn { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 19px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .sub { position: static; box-shadow: none; background: transparent; color: var(--white); border: 0; padding: 4px 0 10px 12px; min-width: 0; }
  .nav__item:focus-within .sub { display: none; }
  .nav__item.open .sub { display: block; }
  .nav__item.open .nav__btn svg { transform: rotate(180deg); }
  .sub a strong { color: var(--white); font-weight: 600; }
  .sub a span { display: none; }
  .sub a:hover { background: rgba(255, 255, 255, .08); }
  .sub__all { color: var(--gold); border-color: var(--line-dark); }
  .nav .btn { margin-top: 20px; }
}

/* ---------- Elementi ricorrenti ---------- */
.eyebrow { display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 34px; height: 4px; background: var(--gold); flex: none; }
.dark .eyebrow { color: var(--white); }
.rule { width: 84px; height: 1px; background: var(--gold); border: 0; margin: 28px 0; }
.gold { color: var(--gold-display); }
.dark .gold { color: var(--gold); }
.lead { font-size: clamp(20px, 2.1vw, 24px); line-height: 1.4; font-weight: 300; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--paper { background: var(--paper); }
.dark { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 78%); color: var(--white); }
.h2 { font-size: clamp(32px, 4.4vw, 50px); color: var(--navy); }
.dark .h2 { color: var(--white); }
.h3 { font-size: clamp(24px, 2.6vw, 30px); color: var(--navy); }
.dark .h3 { color: var(--white); }
.prose p + p { margin-top: 1em; }
.prose { max-width: 62ch; }
.muted { color: var(--muted); }
.dark .muted { color: rgba(255, 255, 255, .78); }
.head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.head p { margin-top: 18px; }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.tlink svg { width: 18px; height: 18px; transition: transform .2s; }
.tlink:hover svg { transform: translateX(4px); }
.dark .tlink { color: var(--white); }

/* ---------- Archi (cornice fotografica) ---------- */
.arches { --b1: 16px; --b2: 11px; --b3: 7px; --g: 20px; width: 100%; max-width: 440px; margin-inline: auto; }
.arch { border-style: solid; border-bottom: 0; border-radius: 999px 999px 0 0; }
.arch--1 { border-color: #F3F3F6; border-width: var(--b1); padding: var(--g) var(--g) 0; }
.arch--2 { border-color: var(--red); border-width: var(--b2); padding: var(--g) var(--g) 0; }
.arch--3 { border-color: var(--gold); border-width: var(--b3); overflow: hidden; aspect-ratio: 10 / 13; background: var(--navy-deep); }
.arch--3 img { width: 100%; height: 100%; object-fit: cover; }
.arches--sm { --b1: 10px; --b2: 7px; --b3: 5px; --g: 13px; max-width: 360px; }
.arches--light .arch--1 { border-color: var(--navy); }
@keyframes rise { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: no-preference) {
  .hero .arch--1 { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .arch--2 { animation: rise .9s .12s cubic-bezier(.2, .7, .2, 1) both; }
  .hero .arch--3 { animation: rise .9s .24s cubic-bezier(.2, .7, .2, 1) both; }
}

/* ---------- Apertura di pagina ---------- */
.hero { overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.hero__txt { padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { font-size: clamp(42px, 6.4vw, 78px); }
.hero h1 span { display: block; }
.hero--home h1 { font-size: clamp(46px, 7vw, 88px); }
.hero .lead { margin-top: 0; max-width: 34ch; }
.hero__sub { margin-top: 18px; max-width: 54ch; color: rgba(255, 255, 255, .82); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__img { align-self: end; padding-top: clamp(24px, 4vw, 56px); }
.hero--home .arches { max-width: 500px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .7); margin-bottom: 26px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.tags { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 40px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .72); }
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; gap: 0; }
  .hero__txt { padding-bottom: 8px; }
  .hero__img { padding-top: 28px; }
  .arches { max-width: 320px; }
  .hero--home .arches { max-width: 340px; }
}

/* ---------- Numeri ---------- */
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fact { padding: 30px 24px; display: flex; gap: 16px; align-items: flex-start; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact svg { width: 30px; height: 30px; color: var(--gold-display); flex: none; margin-top: 2px; }
.fact strong { display: block; font-size: 22px; line-height: 1.15; color: var(--navy); font-weight: 700; text-transform: uppercase; letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.fact span { font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; } .fact + .fact { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Due colonne ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--top { align-items: start; }
.split--img { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); }
.split--img.rev { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); }
.split--img.rev .split__img { order: 2; }
@media (max-width: 860px) { .split, .split--img, .split--img.rev { grid-template-columns: 1fr; } .split--img.rev .split__img { order: 0; } }
.label { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 14px; }
.dark .label { color: var(--gold); }
.checks { margin-top: 26px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; color: var(--navy); line-height: 1.35; }
.checks svg { width: 22px; height: 22px; color: var(--gold-display); flex: none; margin-top: 1px; }
.dark .checks li { color: var(--white); }
.dark .checks svg { color: var(--gold); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips li { border: 1px solid var(--line); background: var(--white); padding: 8px 14px; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); border-radius: 999px; }

/* ---------- Schede servizio ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 30px 28px 26px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--navy); border-radius: var(--radius); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-top-color: var(--gold); box-shadow: 0 16px 34px rgba(7, 29, 58, .1); transform: translateY(-3px); }
.card svg.ico { width: 34px; height: 34px; color: var(--gold-display); }
.card h3 { font-size: 22px; color: var(--navy); line-height: 1.15; letter-spacing: 0; }
.card p { font-size: 16.5px; color: var(--muted); line-height: 1.5; }
.card .go { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--navy); }
.card .go svg { width: 17px; height: 17px; transition: transform .2s; }
.card:hover .go svg { transform: translateX(4px); }
.card--cta { grid-column: span 2; background: linear-gradient(165deg, var(--navy), var(--navy-deep)); border-color: var(--navy); border-top-color: var(--gold); justify-content: center; }
.card--cta h3 { color: var(--white); font-size: clamp(24px, 2.6vw, 30px); }
.card--cta p { color: rgba(255, 255, 255, .84); max-width: 46ch; }
.card--cta .go { color: var(--gold); margin-top: 6px; }
@media (max-width: 980px) { .card--cta { grid-column: span 1; } }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Elenco con icone e filetti ---------- */
.feats { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 0; }
.feat { padding: 6px 26px 6px 26px; border-left: 1px solid var(--line); }
.feat:first-child { padding-left: 0; border-left: 0; }
.dark .feat { border-color: var(--line-dark); }
.feat svg { width: 30px; height: 30px; color: var(--gold-display); margin-bottom: 16px; }
.dark .feat svg { color: var(--gold); }
.feat h3 { font-size: 16px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); line-height: 1.25; margin-bottom: 8px; }
.dark .feat h3 { color: var(--gold); }
.feat p { font-size: 16.5px; line-height: 1.5; color: var(--muted); }
.dark .feat p { color: rgba(255, 255, 255, .82); }
@media (max-width: 980px) {
  .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; }
  .feat:nth-child(odd) { padding-left: 0; border-left: 0; }
}
@media (max-width: 560px) { .feats { grid-template-columns: 1fr; } .feat { padding-left: 0; border-left: 0; } }
.feats--3 { --cols: 3; }
.feats--6 { --cols: 3; row-gap: 44px; }
.feats--6 .feat:nth-child(3n+1) { padding-left: 0; border-left: 0; }
@media (max-width: 980px) { .feats--6 .feat:nth-child(3n+1) { padding-left: 26px; border-left: 1px solid var(--line); } .feats--6 .feat:nth-child(odd) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .feats--6 .feat:nth-child(n) { padding-left: 0; border-left: 0; } }

/* ---------- Metodo ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: s; position: relative; }
.step { position: relative; padding: 0 22px 0 0; }
.step::before { content: ""; position: absolute; left: 44px; right: 0; top: 21px; border-top: 2px dotted rgba(205, 163, 71, .6); }
.step:last-child::before { display: none; }
.step__n { position: relative; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--navy-deep); display: grid; place-items: center; font-weight: 700; font-size: 19px; margin-bottom: 20px; }
.step h3 { font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--white); margin-bottom: 8px; }
.step p { font-size: 16.5px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.steps--light .step h3 { color: var(--navy); }
.steps--light .step p { color: var(--muted); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 26px; }
  .step { padding: 0 0 0 64px; min-height: 44px; }
  .step__n { position: absolute; left: 0; top: 0; margin: 0; }
  .step::before { left: 21px; right: auto; top: 44px; bottom: -26px; border-top: 0; border-left: 2px dotted rgba(205, 163, 71, .6); }
}

/* ---------- Settori ---------- */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.sector { background: var(--white); padding: 22px 20px; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--navy); line-height: 1.25; text-decoration: none; }
a.sector:hover { background: var(--paper); }
.sector svg { width: 26px; height: 26px; color: var(--gold-display); flex: none; }
@media (max-width: 900px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .sectors { grid-template-columns: 1fr; } }
.sectorlist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sectorcard { background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 26px 26px 22px; border-radius: var(--radius); scroll-margin-top: 100px; }
.sectorcard__h { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.sectorcard svg.ico { width: 28px; height: 28px; color: var(--gold-display); flex: none; }
.sectorcard h3 { font-size: 21px; color: var(--navy); letter-spacing: 0; }
.sectorcard p { font-size: 16.5px; color: var(--muted); line-height: 1.5; }
.sectorcard ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.sectorcard ul a { font-size: 15px; font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--gold); }
@media (max-width: 760px) { .sectorlist { grid-template-columns: 1fr; } }

/* ---------- Pilastri ---------- */
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.pillar img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 999px 999px 0 0; border: 5px solid var(--gold); border-bottom: 0; }
.pillar h3 { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin: 18px 0 6px; }
.pillar p { font-size: 16.5px; line-height: 1.5; color: var(--ink); }
@media (max-width: 900px) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 440px) { .pillars { grid-template-columns: 1fr; } .pillar img { max-width: 280px; } }

/* ---------- Tre colonne missione / visione / principi ---------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trio > div { padding: 4px 30px; border-left: 1px solid var(--line-dark); }
.trio > div:first-child { padding-left: 0; border-left: 0; }
.trio h3 { font-size: 15px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.trio p { color: rgba(255, 255, 255, .88); }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; gap: 26px; } .trio > div { padding: 0; border: 0; } }

/* ---------- Fascia di contatto ---------- */
.cta { position: relative; overflow: hidden; }
.cta__in { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) auto; gap: 32px; align-items: center; padding-block: clamp(56px, 7vw, 88px); }
.cta h2 { font-size: clamp(30px, 4vw, 46px); }
.cta p { margin-top: 14px; max-width: 52ch; color: rgba(255, 255, 255, .82); }
.cta__in > div, .cta__in > .btn { position: relative; z-index: 1; }
.cta__deco { position: absolute; right: -60px; bottom: 0; width: 420px; height: auto; opacity: .22; pointer-events: none; }
@media (max-width: 760px) { .cta__in { grid-template-columns: 1fr; } .cta__deco { display: none; } }

/* ---------- Contatti ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.addr { display: grid; gap: 26px; }
.addr__item { display: flex; gap: 16px; align-items: flex-start; }
.addr__item svg { width: 26px; height: 26px; color: var(--gold-display); flex: none; margin-top: 3px; }
.addr__item h3 { font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px; }
.addr__item a { color: var(--navy); font-weight: 600; }
.form { background: var(--paper); border-top: 3px solid var(--gold); padding: clamp(22px, 4vw, 40px); border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 14px; font-weight: 700; letter-spacing: .04em; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--ink); background: var(--white); border: 1px solid #B9C1CF; border-radius: var(--radius); padding: 12px 14px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(205, 163, 71, .55); border-color: var(--navy); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy); }
.hp { position: absolute; left: -9999px; }
.form__msg { font-weight: 600; padding: 14px 16px; border-radius: var(--radius); display: none; }
.form__msg.ok { display: block; background: #E6F3EA; color: #1F5C33; border-left: 4px solid #2E7D46; }
.form__msg.err { display: block; background: #FBE9EC; color: #8A1230; border-left: 4px solid var(--red); }

/* ---------- Testo lungo (privacy) ---------- */
.doc { max-width: 760px; }
.doc h2 { font-size: 26px; color: var(--navy); margin: 40px 0 12px; }
.doc p, .doc li { margin-top: 10px; }
.doc ul { list-style: disc; padding-left: 22px; }
.doc a { color: var(--navy); font-weight: 600; }
.note { background: #FFF6DC; border-left: 4px solid var(--gold); padding: 14px 18px; font-size: 16px; }

/* ---------- Piè di pagina ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .82); font-size: 16px; }
.footer__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 64px 44px; }
.footer img { height: 44px; width: auto; margin-bottom: 20px; }
.footer h2 { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.footer li + li { margin-top: 9px; }
.footer a { color: inherit; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__legal { border-top: 1px solid var(--line-dark); padding-block: 22px 28px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .66); display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; }
.footer__legal p { max-width: 86ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer__links button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.footer__links button:hover { color: var(--gold); }
@media (max-width: 900px) { .footer__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__in { grid-template-columns: 1fr; } }

/* ---------- Consenso cookie ---------- */
.ck { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 80; max-width: 720px; margin-inline: auto; background: var(--white); color: var(--ink); border-top: 4px solid var(--gold); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(7, 29, 58, .35); padding: 22px 24px; display: none; }
.ck.show { display: block; }
.ck h2 { font-size: 20px; color: var(--navy); margin-bottom: 8px; }
.ck p { font-size: 16px; line-height: 1.5; }
.ck a { color: var(--navy); font-weight: 600; }
.ck__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }

/* ---------- Comparsa allo scorrere ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: .2; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .js .rv.in { opacity: 1; transform: none; }
  .deco path { stroke-dasharray: 1; stroke-dashoffset: 0; }
  .js .deco path { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.3, .6, .2, 1); }
  .js .deco.in path { stroke-dashoffset: 0; }
  .js .deco path:nth-child(2) { transition-delay: .15s; }
  .js .deco path:nth-child(3) { transition-delay: .3s; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
.center { text-align: center; }
.mt { margin-top: clamp(28px, 4vw, 44px); }
.err404 { padding-block: clamp(80px, 12vw, 160px); }
