/* ============================================================
   SAVOLDI CARNI · sistema di design 2026
   Blu Savoldi derivato dal marchio + carta fredda + rosso tricolore
   Display: Besley (slab) · Testo: Archivo
   ============================================================ */

/* ---------- Font self-hosted ---------- */
@font-face {
  font-family: 'Besley';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/besley-var-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Besley';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/besley-var-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-var-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('/assets/fonts/archivo-var-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Token ---------- */
:root {
  --paper: #F5F5F1;
  --card: #FFFFFF;
  --ink: #101B2F;
  --ink-soft: #3D4759;
  --muted: #67707F;
  --line: #DCDED5;
  --line-dark: rgba(255,255,255,.16);

  --blue: #0B3E8F;
  --blue-700: #0A3579;
  --blue-deep: #082C68;
  --navy: #071F4B;
  --navy-2: #0A2A5E;
  --sky: #A9BEE2;

  --red: #C42020;
  --red-700: #A61919;
  --green: #0E8A3E;
  --gold: #E8B23A;

  --shadow-sm: 0 1px 2px rgba(16,27,47,.07);
  --shadow-md: 0 10px 30px rgba(16,27,47,.10);
  --r: 25px;

  --f-disp: 'Besley', Georgia, 'Times New Roman', serif;
  --f-body: 'Archivo', 'Helvetica Neue', Arial, sans-serif;

  --header-h: 74px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font: 400 16.5px/1.65 var(--f-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { font-family: var(--f-disp); font-weight: 700; line-height: 1.08; margin: 0 0 .55em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 25px; }
.on-dark :focus-visible, .band-navy :focus-visible, .band-blue :focus-visible, .site-foot :focus-visible, .hero :focus-visible { outline-color: #fff; }

::selection { background: var(--blue); color: #fff; }

/* ---------- Utilita' ---------- */
.wrap { max-width: 1180px; margin-inline: auto; padding-inline: 26px; }
.wrap-narrow { max-width: 820px; margin-inline: auto; padding-inline: 26px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 16px; z-index: 200; }
.skip:focus { left: 12px; top: 12px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 12px/1 var(--f-body); letter-spacing: .17em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.band-navy .kicker, .band-blue .kicker, .hero .kicker, .phero .kicker { color: var(--sky); }

.lead { font-size: 18.5px; line-height: 1.6; color: var(--ink-soft); }
.on-dark .lead, .band-navy .lead, .band-blue .lead, .hero .lead, .phero .lead { color: #C7D4EC; }

.ic { display: inline-block; vertical-align: middle; width: 18px; height: 18px; flex: none; }
.ic svg { width: 100%; height: 100%; fill: currentColor; }
.ic-14 { width: 14px; height: 14px; }
.ic-22 { width: 22px; height: 22px; }
.ic-26 { width: 26px; height: 26px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 15px/1 var(--f-body); letter-spacing: .02em;
  padding: 15px 22px; min-height: 48px; border-radius: var(--r);
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-700); border-color: var(--red-700); color: #fff; box-shadow: 0 8px 20px rgba(196,32,32,.26); }
.btn-navy { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn-navy:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; box-shadow: 0 8px 20px rgba(11,62,143,.24); }
.btn-ghost { border-color: rgba(16,27,47,.28); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost-light { border-color: rgba(255,255,255,.4); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-lg { padding: 17px 26px; font-size: 16px; min-height: 54px; }
.btn-sm { padding: 11px 16px; min-height: 42px; font-size: 14px; }

.al { display: inline-flex; align-items: center; gap: 9px; font: 600 15px/1 var(--f-body); color: var(--blue); }
.al .ic { transition: transform .18s ease; }
.al:hover .ic { transform: translateX(3px); }
.al:hover { color: var(--blue-deep); }
.on-dark .al, .band-navy .al, .band-blue .al { color: #fff; }

/* ---------- Header ---------- */
.tricolor { height: 5px; background: linear-gradient(90deg, var(--green) 0 33.34%, #fff 33.34% 66.67%, var(--red) 66.67% 100%); }

.site-head {
  position: sticky; top: 0; z-index: 100;
  background: rgba(245,245,241,.94);
  -webkit-backdrop-filter: saturate(1.15) blur(10px); backdrop-filter: saturate(1.15) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-head.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(16,27,47,.06); }
.head-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a {
  font: 600 13.5px/1 var(--f-body); letter-spacing: .07em; text-transform: uppercase;
  color: var(--ink); padding: 12px 13px; border-radius: var(--r); min-height: 44px; display: inline-flex; align-items: center;
}
.nav a:hover { color: var(--blue); background: rgba(11,62,143,.06); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--red); }
.head-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.head-tel { display: inline-flex; align-items: center; gap: 8px; font: 700 14px/1 var(--f-body); color: var(--ink); }
.head-tel:hover { color: var(--blue); }

.burger {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--r);
  background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer;
}
.burger svg { width: 22px; height: 22px; fill: currentColor; }
.burger .x-ic { display: none; }
body.menu-open .burger .x-ic { display: block; }
body.menu-open .burger .list-ic { display: none; }

.mnav {
  position: fixed; inset: 0; z-index: 90; background: var(--navy); color: var(--paper);
  padding: calc(var(--header-h) + 34px) 28px 34px;
  display: flex; flex-direction: column; overflow: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
body.menu-open .mnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
body.menu-open { overflow: hidden; }
.mnav nav { display: flex; flex-direction: column; }
.mnav a.mlink { display: block; font: 700 clamp(26px, 7vw, 34px)/1.2 var(--f-disp); color: var(--paper); padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mnav a.mlink:hover { color: var(--sky); }
.mnav a.mlink[aria-current="page"] { color: var(--sky); }
.mnav .m-foot { margin-top: auto; padding-top: 26px; display: grid; gap: 10px; color: #C7D4EC; font-size: 15px; }
.mnav .m-foot a { color: var(--paper); font-weight: 600; }
.mnav .m-cta { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--paper); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; min-height: min(780px, calc(100dvh - var(--header-h))); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(48px, 7vw, 96px) clamp(26px, 5vw, 84px) clamp(48px, 7vw, 96px) max(26px, calc((100vw - 1180px) / 2 + 26px)); }
.hero h1 { font-size: clamp(38px, 5.4vw, 72px); font-weight: 700; letter-spacing: -.015em; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: #EAD9A8; }
.hero .lead { max-width: 34em; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 42px; }
.hero-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 26px; border-top: 1px solid rgba(255,255,255,.16); padding-top: 24px; max-width: 560px; }
.hero-trust li { display: flex; align-items: center; gap: 11px; font: 600 14px/1.35 var(--f-body); color: #C7D4EC; }
.hero-trust .ic { color: var(--sky); }

.hero-media { position: relative; min-height: 420px; background: var(--blue-deep); }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,31,75,.42), rgba(7,31,75,0) 38%); pointer-events: none; }
.hero-badge {
  position: absolute; left: 22px; bottom: 22px; z-index: 2; max-width: calc(100% - 28px);
  background: rgba(255,255,255,.96); color: var(--ink); border-radius: var(--r);
  padding: 13px 17px; display: flex; align-items: center; gap: 13px; box-shadow: var(--shadow-md);
}
.hero-badge .score { font: 800 30px/1 var(--f-disp); color: var(--blue); }
.hero-badge .stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; line-height: 1; }
.hero-badge .stars i, .rating-block .stars-lg i { font-style: normal; opacity: .35; }
.hero-badge .lbl { font: 600 11.5px/1.35 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* ---------- Sezioni ---------- */
.sec { padding-block: clamp(58px, 7.5vw, 104px); }
.sec-tight { padding-block: clamp(44px, 5.5vw, 76px); }
.sec-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 54px); }
.sec-head.center { margin-inline: auto; text-align: center; }
h2.sec-title { font-size: clamp(28px, 3.4vw, 46px); margin-bottom: .35em; }
.sec-sub { color: var(--ink-soft); font-size: 17.5px; max-width: 62ch; }

.band-navy { background: var(--navy); color: var(--paper); }
.band-blue { background: var(--blue-deep); color: var(--paper); }
.band-card { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-navy h2, .band-blue h2 { color: var(--paper); }

/* ---------- Passi filiera ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.step { background: var(--card); padding: 30px 26px 32px; }
.step .n { font: 800 40px/1 var(--f-disp); color: var(--blue); opacity: .22; margin-bottom: 14px; }
.step h3 { font-size: 21px; margin-bottom: .4em; }
.step p { font-size: 15px; color: var(--ink-soft); margin: 0; }

/* ---------- Split immagine + testo ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.split.flip { grid-template-columns: .95fr 1.05fr; }
.split-media { position: relative; }
.split-media img { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow-md); }
.split-media .frame { border: 1px solid var(--line); padding: 10px; background: #fff; border-radius: var(--r); }
.split-media .frame img { box-shadow: none; border-radius: 15px; }
.split-media .stamp {
  position: absolute; right: -26px; bottom: -26px; width: 124px; height: 124px; border-radius: 50%;
  background: var(--blue); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; box-shadow: var(--shadow-md); border: 3px solid var(--paper);
}
.stamp .y { font: 800 30px/1 var(--f-disp); }
.stamp .t { font: 700 9.5px/1.3 var(--f-body); letter-spacing: .14em; text-transform: uppercase; margin-top: 5px; color: #C7D4EC; }

/* ---------- Card foto bottega ---------- */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.pcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pcard-info { padding: 18px 20px 22px; }
.pcard-info h3 { font-size: 20px; margin-bottom: .3em; }
.pcard-info p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* ---------- Card tracciabilita (su band) ---------- */
.tcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard { background: rgba(255,255,255,.055); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 28px 26px; }
.tcard .ic-26 { color: var(--sky); margin-bottom: 16px; }
.tcard h3 { color: var(--paper); font-size: 20.5px; margin-bottom: .45em; }
.tcard p { color: #C7D4EC; font-size: 15px; margin: 0; }

/* ---------- Recensioni ---------- */
.rating-block .big { font: 800 clamp(44px, 9vw, 96px)/.95 var(--f-disp); color: var(--paper); }
.rating-block .of { font: 600 15px var(--f-body); color: #C7D4EC; }
.rating-block .stars-lg { color: var(--gold); font-size: 26px; letter-spacing: 5px; margin: 10px 0 6px; }
.rating-block p { color: #C7D4EC; max-width: 30ch; }
.social-cards { display: grid; gap: 18px; }
.scard { background: rgba(255,255,255,.06); border: 1px solid var(--line-dark); border-radius: var(--r); padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; }
.scard h3 { color: var(--paper); font-size: 19px; margin: 0; }
.scard p { color: #C7D4EC; font-size: 14.5px; margin: 0; }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px;
  border: 1px solid rgba(255,255,255,.38); border-radius: var(--r); padding: 10px 15px; color: #fff;
  font: 600 13.5px/1.2 var(--f-body);
}
.store-badge small { display: block; font-weight: 400; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: #C7D4EC; }
.store-badge .ic { width: 21px; height: 21px; }
.store-badge:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }

/* ---------- Visita / info strip ---------- */
.visit { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.vcell { background: var(--paper); padding: 34px 28px; }
.vcell .ic-22 { color: var(--blue); margin-bottom: 14px; }
.vcell h3 { font-size: 19px; margin-bottom: .35em; }
.vcell p, .vcell address { font-size: 15px; color: var(--ink-soft); font-style: normal; margin: 0 0 6px; }
.vcell .btn { margin-top: 14px; }

/* ---------- Tabella orari ---------- */
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); }
.hours th { font: 700 13px var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hours td:first-child { font-weight: 600; }
.hours tr:last-child td { border-bottom: 0; }
.band-navy .hours th, .band-navy .hours td { border-color: rgba(255,255,255,.14); }
.band-navy .hours th { color: var(--sky); }
.band-navy .hours td:first-child { color: var(--paper); }

/* ---------- Pagina interna: hero ---------- */
.phero { background: var(--navy); color: var(--paper); overflow: hidden; }
.phero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: stretch; min-height: 380px; }
.phero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(44px, 6vw, 84px) clamp(26px, 4vw, 60px) clamp(44px, 6vw, 84px) max(26px, calc((100vw - 1180px) / 2 + 26px)); }
.phero h1 { font-size: clamp(34px, 4.4vw, 58px); margin-bottom: .3em; }
.phero .lead { max-width: 36em; margin-bottom: 0; }
.phero-media { position: relative; min-height: 300px; }
.phero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,31,75,.5), rgba(7,31,75,0) 45%); }
.phero-plain .phero-grid { grid-template-columns: 1fr; }

/* ---------- Atlas tagli ---------- */
.atlas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.acard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-sm); overflow: hidden; }
.acard-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 20px 24px 0; }
.acard-head h3 { font-size: 24px; margin: 0; }
.acard-head .tag { font: 700 11.5px/1 var(--f-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.acard-fig { padding: 6px 18px 2px; }
.acard-fig svg { width: 100%; height: auto; display: block; }
.legend { border-top: 1px solid var(--line); padding: 16px 24px 22px; margin-top: 10px; }
.legend ol { columns: 2; column-gap: 26px; font-size: 14.5px; }
.legend li { display: flex; gap: 8px; break-inside: avoid; padding: 3.5px 0; color: var(--ink-soft); }
.legend .n { font-weight: 700; color: var(--blue); min-width: 24px; }
.legend-note { font-size: 13px; color: var(--muted); margin: 12px 24px 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 22px 4px; font: 600 18px/1.35 var(--f-disp); color: var(--ink); min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { color: var(--blue); transition: transform .25s ease; }
.faq details[open] summary .ic { transform: rotate(90deg); }
.faq .faq-a { padding: 0 4px 24px; color: var(--ink-soft); max-width: 78ch; }
.faq .faq-a p:last-child { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: clamp(40px, 5.5vw, 64px); flex-wrap: wrap; }
.cta-in h2 { color: #fff; font-size: clamp(24px, 3vw, 38px); margin: 0; max-width: 22em; }
.cta-in .btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-foot { background: var(--navy); color: #C7D4EC; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(26px, 4vw, 56px); padding-block: clamp(44px, 5.5vw, 72px) 34px; }
.site-foot h4 { color: var(--paper); font: 700 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 18px; }
.site-foot a { color: #C7D4EC; }
.site-foot a:hover { color: #fff; }
.site-foot ul li { margin-bottom: 10px; }
.foot-brand img { height: 42px; width: auto; margin-bottom: 18px; }
.foot-brand p { max-width: 30ch; }
.foot-hours { font-size: 14.5px; }
.foot-hours li { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.1); padding-bottom: 8px; }
.foot-contact li { display: flex; gap: 11px; align-items: flex-start; }
.foot-contact .ic { color: var(--sky); margin-top: 3px; }
.foot-social { display: flex; gap: 12px; margin-top: 16px; }
.foot-social a { width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.28); border-radius: var(--r); display: inline-flex; align-items: center; justify-content: center; }
.foot-social a:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.foot-social .ic { width: 20px; height: 20px; }
.foot-base { border-top: 1px solid rgba(255,255,255,.14); padding-block: 20px 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.foot-base .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Pagine legali / 404 ---------- */
.legal { padding-block: clamp(48px, 6vw, 84px); }
.legal h1 { font-size: clamp(30px, 4vw, 46px); }
.legal h2 { font-size: 22px; margin-top: 2em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin-bottom: 6px; }

.nf { min-height: calc(100dvh - var(--header-h)); display: flex; align-items: center; background: var(--navy); color: var(--paper); text-align: center; }
.nf .wrap { padding-block: 80px; }
.nf .code { font: 800 clamp(84px, 16vw, 180px)/1 var(--f-disp); color: rgba(255,255,255,.14); letter-spacing: .02em; }
.nf h1 { font-size: clamp(28px, 4vw, 44px); margin-top: -0.2em; }
.nf p { color: #C7D4EC; max-width: 44ch; margin-inline: auto; margin-bottom: 30px; }

/* ---------- Reveal ---------- */
html.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .75s cubic-bezier(.2,.65,.2,1), transform .75s cubic-bezier(.2,.65,.2,1); }
html.js .rv.rv-in { opacity: 1; transform: none; }
html.js .rv-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.65,.2,1), transform .7s cubic-bezier(.2,.65,.2,1); }
html.js .rv-stagger.rv-in > * { opacity: 1; transform: none; }
html.js .rv-stagger.rv-in > *:nth-child(2) { transition-delay: .07s; }
html.js .rv-stagger.rv-in > *:nth-child(3) { transition-delay: .14s; }
html.js .rv-stagger.rv-in > *:nth-child(4) { transition-delay: .21s; }
html.js .rv-stagger.rv-in > *:nth-child(5) { transition-delay: .28s; }
html.js .rv-stagger.rv-in > *:nth-child(6) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  html.js .rv, html.js .rv-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .hero-media { min-height: 440px; order: -1; }
  .hero-media img { object-position: 50% 30%; }
  .hero-media::after { background: linear-gradient(180deg, rgba(7,31,75,.15), rgba(7,31,75,.45)); }
  .hero-copy { padding: clamp(40px, 6vw, 64px) 26px; }
  .phero-grid { grid-template-columns: 1fr; }
  .phero-media { min-height: 280px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .tcards { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .nav, .head-cta .btn { display: none; }
  .burger { display: inline-flex; }
  .head-cta { margin-left: auto; }
  .head-tel { display: none; }
  .brand img { height: 34px; }
  .split, .split.flip { grid-template-columns: 1fr; }
  .split.flip .split-media { order: -1; }
  .atlas { grid-template-columns: 1fr; }
  .visit { grid-template-columns: 1fr; }
  .cta-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero-badge { padding: 10px 13px; gap: 10px; left: 14px; bottom: 14px; }
  .hero-badge .score { font-size: 24px; }
  .steps { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero-trust { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .legend ol { columns: 1; }
  .split-media .stamp { right: 6px; bottom: -18px; width: 106px; height: 106px; }
  .head-in { height: 64px; }
  .hero-copy { padding-top: 36px; }
}

/* ---------- Blocchi aggiuntivi ---------- */
.gcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px; box-shadow: var(--shadow-sm); }
.gcard .ic-26 { color: var(--blue); margin-bottom: 16px; }
.gcard h3 { font-size: 20.5px; margin-bottom: .45em; }
.gcard p { font-size: 15px; color: var(--ink-soft); margin: 0; }
.pgrid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.iconlist { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 26px; margin-top: 8px; }
.iconlist li { display: flex; gap: 12px; align-items: flex-start; }
.iconlist .ic { color: var(--blue); margin-top: 3px; }
.iconlist li > span:not(.ic) { font-size: 14.5px; color: var(--ink-soft); }
.iconlist b { display: block; font: 600 15.5px/1.45 var(--f-body); color: var(--ink); }
.mini-album { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mini-album figure { margin: 0; }
.mini-album img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); }
.mini-album figcaption { font-size: 13px; color: var(--muted); margin-top: 8px; }
.story-quote { font: italic 700 clamp(20px, 2.5vw, 29px)/1.45 var(--f-disp); color: var(--blue); margin: 36px 0 0; }
.scard h3 .ic { vertical-align: -3px; margin-right: 5px; }
@media (max-width: 1100px) {
  .gcards { grid-template-columns: 1fr 1fr; }
  .mini-album { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .gcards { grid-template-columns: 1fr; }
  .pgrid.cols-2 { grid-template-columns: 1fr; }
  .iconlist { grid-template-columns: 1fr; }
}

/* ---------- Colonna doppia generica ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.duo > *, .split > *, .foot-grid > *, .hero-grid > *, .phero-grid > *, .cta-in > * { min-width: 0; }
@media (max-width: 960px) {
  .duo { grid-template-columns: 1fr; gap: 36px; }
}
