/* ─────────────────────────────────────────────────────────────
   Hirundo APS — foglio di stile unico (sito + sezione Italiano)

   Regole:
   · un solo carattere: Atkinson Hyperlegible Next, pesi 400 e 700,
     caricato dal sito stesso (nessuna chiamata a Google);
   · quattro dimensioni su telefono: 15 · 17 · 21 · 30 px; su schermi
     grandi solo i titoli crescono (26 e 48 px);
   · un solo colore d'accento: il rosso del logo;
   · si progetta per il telefono; il computer allarga, non cambia.
   ───────────────────────────────────────────────────────────── */

@font-face { font-family: 'Atkinson'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/ahn-latin-400.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: 'Atkinson'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(fonts/ahn-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Atkinson'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/ahn-latin-400-italic.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: 'Atkinson'; font-style: italic; font-weight: 400; font-display: swap;
  src: url(fonts/ahn-latin-ext-400-italic.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Atkinson'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/ahn-latin-700.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: 'Atkinson'; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fonts/ahn-latin-ext-700.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --ink: #1b1b1b;          /* titoli */
  --text: #383838;         /* testo */
  --muted: #666;           /* note, didascalie */
  --line: #e4e0da;         /* linee sottili */
  --soft: #f6f4f0;         /* fondo delle fasce chiare */
  --red: #8B1A1A;          /* il rosso del logo: unico accento */
  --red-dark: #6c1313;
  --ok: #1d6b41;           /* solo per le risposte giuste */

  --s: 15px;               /* piccolo */
  --m: 17px;               /* testo */
  --l: 21px;               /* sottotitoli */
  --xl: 30px;              /* titoli */

  --pad: 20px;             /* margine laterale su telefono */
  --gap: 56px;             /* spazio tra le sezioni su telefono */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: #fff; color: var(--text);
  font-family: 'Atkinson', 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: var(--m); line-height: 1.6;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--ink); font-weight: 700; margin: 0; }
h1 { font-size: var(--xl); line-height: 1.15; letter-spacing: -0.01em; }
h2 { font-size: var(--l); line-height: 1.25; }
h3 { font-size: var(--m); line-height: 1.35; }
p, ul, ol, dl, blockquote, table { margin: 0; }
p + p { margin-top: 1em; }
strong, b { font-weight: 700; color: var(--ink); }
a { color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

/* lingue del sito (IT / EN / ES) */
[data-lang]:not(.v) { display: none !important; }

/* ── Struttura ──────────────────────────────────────────── */
.wrap { max-width: 44rem; margin: 0 auto; padding: 0 var(--pad); }
.wide { max-width: 72rem; }
.section { padding: var(--gap) 0; border-top: 1px solid var(--line); }
.section--soft { background: var(--soft); border-top: 0; }
.section--soft + .section { border-top: 0; }
.stack > * + * { margin-top: 1rem; }
.stack-l > * + * { margin-top: 1.5rem; }

/* sezione: intestazione + contenuto (su computer affiancati) */
.sec-head { margin-bottom: 1.75rem; }
.sec-head h2 { max-width: 22ch; }
.sec-body { max-width: 42rem; }

/* apertura della pagina */
.hero { padding-top: 40px; padding-bottom: 64px; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 1.25rem; max-width: 40rem; }

/* ── Segni grafici presi dal logo ──────────────────────── */
/* la rondine con le sue scie, in apertura di pagina */
.hero { position: relative; }
.hero-art { display: block; width: 190px; height: auto; margin: -16px -8px 6px auto; color: var(--red); }
/* pagine interne: rondine più piccola, accanto al link "indietro" */
.hero:has(.back) .hero-art { width: 132px; margin: -14px -6px -44px auto; }
.hero-art .bird { fill: var(--red); }
.hero-art .s1 { fill: var(--red); opacity: 0.85; }
.hero-art .s2 { fill: var(--red); opacity: 0.3; }
.hero-art .s3 { fill: #cfc5b8; opacity: 0.7; }
/* il tratto sotto i titoli di sezione: la coda della rondine */
.sec-head h2::after {
  content: ''; display: block; width: 72px; height: 13px; margin-top: 14px; background: var(--red);
  -webkit-mask: url(tratto.svg) no-repeat left center / contain; mask: url(tratto.svg) no-repeat left center / contain;
}
/* le scie, leggere, nelle fasce chiare */
.section--soft { background: var(--soft) url(scia.svg) no-repeat right -40px bottom -10px / 460px auto; }

/* ── Testata ────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,0.97);
  border-top: 4px solid var(--red); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(180%) blur(8px); backdrop-filter: saturate(180%) blur(8px);
}
.header-in {
  max-width: 72rem; margin: 0 auto; padding: 0 var(--pad);
  height: 68px; display: flex; align-items: center; gap: 14px;
}
.logo { margin-right: auto; display: flex; align-items: center; }
.logo img { height: 40px; width: auto; }
.nav-desk { display: none; }
.langs { display: flex; gap: 0; }
.langs button {
  font: inherit; font-size: var(--m); color: var(--muted); background: none; border: 0;
  padding: 10px 7px; cursor: pointer; border-radius: 4px; min-width: 36px;
}
.langs button[aria-pressed="true"] { color: var(--red); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }

.menu > summary {
  list-style: none; cursor: pointer; user-select: none;
  display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px;
  font-size: var(--m); font-weight: 700; color: #fff; background: var(--ink); border-radius: 8px;
}
.menu > summary::-webkit-details-marker { display: none; }
.burger { position: relative; width: 16px; height: 12px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.burger::after { content: ''; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }
.menu[open] > summary { background: var(--red); }
.menu nav {
  position: absolute; left: 0; right: 0; top: 100%; background: #fff;
  border-bottom: 1px solid var(--line); padding: 4px var(--pad) 24px;
  box-shadow: 0 18px 30px rgba(0,0,0,0.08);
}
.menu nav a {
  display: block; padding: 16px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: var(--l); font-weight: 700;
}
.menu nav a:last-child { border-bottom: 0; color: var(--red); }
.menu nav a[aria-current] { color: var(--red); }

/* ── Elementi di testo ──────────────────────────────────── */
.kicker { font-size: var(--s); font-weight: 700; color: var(--red); margin-bottom: 0.6rem; }
.lead { font-size: var(--m); line-height: 1.65; color: var(--text); }
.small { font-size: var(--s); color: var(--muted); }
.back { display: inline-block; font-size: var(--s); font-weight: 700; margin-bottom: 1.75rem; text-decoration: none; }
.back:hover { text-decoration: underline; }
blockquote {
  border-left: 3px solid var(--red); padding: 4px 0 4px 18px;
  font-style: italic; color: var(--ink); font-size: var(--l); line-height: 1.45;
}

/* ── Bottoni ────────────────────────────────────────────── */
.actions { display: flex; flex-direction: column; gap: 12px; margin-top: 2rem; }
.btn {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 54px; padding: 12px 24px; border-radius: 8px;
  font: inherit; font-size: var(--m); font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--red); color: #fff; border: 1px solid var(--red);
  transition: background-color .15s, border-color .15s;
}
.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: #bdb6ad; }
.btn--line:hover { background: #fff; color: var(--ink); border-color: var(--ink); }
.link-arrow { font-weight: 700; text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* ── Elenchi ────────────────────────────────────────────── */
.facts { list-style: none; padding: 20px 0 0; margin-top: 2.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; font-size: var(--s); color: var(--muted); }
.facts b { display: block; font-size: var(--l); color: var(--ink); line-height: 1.3; }

.list { list-style: none; padding: 0; }
.list > li { padding: 14px 0; border-top: 1px solid var(--line); }
.list > li:last-child { border-bottom: 1px solid var(--line); }

.steps { list-style: none; padding: 0; counter-reset: step; }
.steps > li { counter-increment: step; position: relative; padding: 18px 0 18px 40px; border-top: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 16px;
  font-size: var(--l); font-weight: 700; color: var(--red); line-height: 1.2;
}
.steps h3 + p { margin-top: 0.3rem; }
.sec-body > h3 + .steps, .stack-l > h3 + .steps { margin-top: 0.75rem; }

.bullets { padding-left: 1.2em; }
.bullets li + li { margin-top: 0.4rem; }
.bullets li::marker { color: var(--red); }

/* servizi */
.services { display: grid; gap: 0; }
.service { padding: 20px 0; border-top: 1px solid var(--line); }
.service:last-child { border-bottom: 1px solid var(--line); }
.service .small { margin-bottom: 2px; }
.service ul { list-style: none; padding: 0; margin-top: 0.5rem; }
.service li { position: relative; padding-left: 16px; }
.service li::before { content: '–'; position: absolute; left: 0; color: var(--muted); }

/* riquadro */
.box { border: 1px solid var(--line); border-radius: 10px; padding: 22px; background: #fff; }
.box--soft { background: var(--soft); border-color: transparent; }

/* domande frequenti */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 32px 16px 0; position: relative;
  font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: var(--l); font-weight: 400; color: var(--red); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 16px; }

/* tabelle semplici */
.table { width: 100%; border-collapse: collapse; }
.table td { padding: 12px 0; border-top: 1px solid var(--line); vertical-align: top; }
.table tr:last-child td { border-bottom: 1px solid var(--line); }
.table td + td { text-align: right; padding-left: 12px; white-space: nowrap; }
.table .small { white-space: normal; }

/* prenotazione: due modi di incontrarsi */
.booking { display: grid; gap: 12px; }
.option {
  display: block; padding: 20px 20px 18px; background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--red); border-radius: 10px; color: var(--text); text-decoration: none;
  transition: border-color .15s, box-shadow .15s;
}
a.option:hover { border-color: var(--red); box-shadow: 0 6px 18px rgba(139,26,26,0.08); color: var(--text); }
.option > span { display: block; }
.option-t { font-size: var(--l); font-weight: 700; color: var(--ink); margin-top: 2px; }
.option-d { margin-top: 4px; }
.option-go { margin-top: 14px; font-weight: 700; color: var(--red); }
.option--off { border-left-color: var(--line); }
.option--off .option-go { color: var(--muted); font-weight: 400; font-size: var(--s); }

/* ── Piede ──────────────────────────────────────────────── */
.footer { background: var(--soft); padding: 48px 0 56px; font-size: var(--s); color: var(--muted); border-top: 1px solid var(--line); }
.footer-logo { height: 35px; width: auto; margin-bottom: 12px; }
.footer a { color: var(--text); text-decoration: none; }
.footer a:hover { color: var(--red); text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; margin: 32px 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.footer-cols h2 { font-size: var(--s); color: var(--ink); margin-bottom: 8px; }
.footer-cols a, .footer-cols p { display: block; padding: 4px 0; }

/* ── Sezione Italiano ───────────────────────────────────── */
.aiuto { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--s); color: var(--muted); margin-top: 1.5rem; }
.aiuto button {
  font: inherit; font-size: var(--s); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer;
}
.aiuto button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tr { display: none; }
body.aiuto-en .tr-en, body.aiuto-fr .tr-fr, body.aiuto-es .tr-es, body.aiuto-ar .tr-ar { display: block; }
body.aiuto-en .tr-en.inline, body.aiuto-fr .tr-fr.inline, body.aiuto-es .tr-es.inline, body.aiuto-ar .tr-ar.inline { display: inline; }
/* arabo: da destra a sinistra, con un carattere di sistema che ha i glifi arabi */
[lang="ar"] { font-family: 'Noto Naskh Arabic', 'Noto Sans Arabic', 'Geeza Pro', 'Segoe UI', 'Arial', sans-serif; font-style: normal; }
.tr[lang="ar"] { direction: rtl; text-align: right; font-size: 1.12em; line-height: 1.7; }
.aiuto button[lang="ar"] { font-family: 'Noto Sans Arabic', 'Geeza Pro', 'Segoe UI', sans-serif; }
p.tr, div.tr { font-style: italic; color: var(--muted); }
p + p.tr { margin-top: 0.5em; }

/* pronuncia */
.ascolta {
  display: none; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  align-items: center; justify-content: center; cursor: pointer;
  background: #fff; color: var(--red); border: 1px solid var(--line); transition: all .15s;
}
.ascolta:hover { border-color: var(--red); }
.ascolta.on, #ascolta-dialogo.on { background: var(--red); color: #fff; border-color: var(--red); }
.ascolta.on svg, #ascolta-dialogo.on svg { animation: suona 0.9s ease-in-out infinite; }
@keyframes suona { 50% { transform: scale(1.15); } }
body.ha-voce .ascolta { display: inline-flex; }
.solo-voce { display: none !important; }
body.ha-voce .solo-voce { display: flex !important; }
body.ha-voce .senza-voce { display: none; }
.senza-voce { margin-top: 0.5rem; }
.parola { display: flex; align-items: center; gap: 12px; }
body.ha-voce .dialogo p { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.dialogo p .ascolta { margin-top: -5px; }
.ascolta-tutto { flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 1.5rem; }
#ascolta-dialogo { gap: 10px; min-height: 46px; }
.velocita { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--s); color: var(--muted); margin-top: 1rem; }
.ascolta-tutto .velocita { margin-top: 0; }
.velocita button {
  font: inherit; font-size: var(--s); color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; cursor: pointer;
}
.velocita button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

.unita { list-style: none; padding: 0; }
.unita a {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: baseline;
  padding: 14px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none;
}
.unita li:last-child a { border-bottom: 1px solid var(--line); }
.unita .n { color: var(--muted); font-size: var(--s); font-variant-numeric: tabular-nums; }
.unita .tit { color: var(--ink); font-weight: 700; }
.unita a:hover .tit { color: var(--red); text-decoration: underline; }
.unita .sot { display: block; font-size: var(--s); color: var(--muted); }
.unita .liv { font-size: var(--s); color: var(--muted); font-weight: 400; }
.unita .bloc { pointer-events: none; }
.unita .bloc .tit { color: var(--muted); font-weight: 400; }
.unita .fatta .n { color: var(--ok); font-weight: 700; }

.progress { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; margin: 10px 0 6px; }
.progress > div { height: 100%; width: 0; background: var(--red); }

.lessico { width: 100%; border-collapse: collapse; }
.lessico td { padding: 10px 0; border-top: 1px solid var(--line); vertical-align: top; }
.lessico tr:last-child td { border-bottom: 1px solid var(--line); }
.lessico td:first-child { color: var(--ink); font-weight: 700; width: 55%; padding-right: 12px; }
/* senza traduzione la colonna vuota sparisce e le parole non vanno a capo */
body:not(.aiuto-en):not(.aiuto-fr):not(.aiuto-es):not(.aiuto-ar) .lessico td:last-child { display: none; }
body:not(.aiuto-en):not(.aiuto-fr):not(.aiuto-es):not(.aiuto-ar) .lessico td:first-child { width: auto; }
.lessico td:last-child { color: var(--muted); font-style: italic; }
.dialogo p + p { margin-top: 0.6em; }
.dialogo .chi { font-weight: 700; color: var(--red); }
.nota + .nota { margin-top: 1.5rem; }
.nota h3 + p { margin-top: 0.25rem; }

.esercizio + .esercizio { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.consegna { font-weight: 700; color: var(--ink); margin-bottom: 1rem; }
.domanda + .domanda { margin-top: 1.5rem; }
.domanda .testo { margin-bottom: 0.6rem; }
.opzioni { display: grid; gap: 8px; }
.opz {
  display: flex; align-items: center; gap: 12px; width: 100%; min-height: 50px; text-align: left;
  padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; color: var(--ink); cursor: pointer;
}
.opz:hover { border-color: var(--ink); }
.opz .let { color: var(--muted); font-size: var(--s); width: 14px; flex-shrink: 0; }
.opz.scelta { border-color: var(--ink); background: var(--soft); }
.opz.giusta { border-color: var(--ok); background: #eef6f1; }
.opz.giusta .let { color: var(--ok); font-weight: 700; }
.opz.sbagliata { border-color: var(--red); background: #fbefee; }
input.buco {
  font: inherit; color: var(--ink); background: var(--soft); border: 0; border-bottom: 2px solid var(--ink);
  border-radius: 4px 4px 0 0; padding: 2px 8px; width: 9em; max-width: 100%;
}
input.buco:focus { outline: none; border-bottom-color: var(--red); background: #fff; }
input.buco.giusta { border-bottom-color: var(--ok); color: var(--ok); font-weight: 700; }
input.buco.sbagliata { border-bottom-color: var(--red); color: var(--red); }
.coppie { display: grid; gap: 8px; }
.esito { margin-top: 0.75rem; font-size: var(--s); font-weight: 700; }
.esito.ok { color: var(--ok); }
.spiega { margin-top: 0.5rem; font-size: var(--s); color: var(--muted); }

/* ── Schermi più grandi: si allarga, non cambia ─────────── */
@media (min-width: 760px) {
  :root { --pad: 40px; --gap: 96px; }
  .hero { padding-top: 72px; padding-bottom: 96px; }
  .actions { flex-direction: row; flex-wrap: wrap; }
  .actions .btn { min-width: 250px; }
  .facts { grid-template-columns: repeat(4, 1fr); max-width: 52rem; }
  .services { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .services .service:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .coppie { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: repeat(4, 1fr); }
  .booking { grid-template-columns: 1fr 1fr; }
  .cols-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .cols-2 .unita li:last-child a { border-bottom: 1px solid var(--line); }
}
@media (min-width: 1000px) {
  .hero-art { position: absolute; right: var(--pad); top: 48px; width: min(40%, 460px); margin: 0; }
  .hero > :not(.hero-art) { max-width: 34rem; }
  .hero:has(.back) .hero-art { width: min(34%, 380px); margin: 0; top: 56px; }
  .hero .facts { max-width: 46rem; }
  .section--soft { background-size: 620px auto; background-position: right 4% bottom -20px; }
  h1 { font-size: 48px; line-height: 1.08; letter-spacing: -0.015em; }
  h2 { font-size: 26px; }
  .lead { font-size: var(--l); line-height: 1.55; }
  /* intestazione a sinistra, contenuto a destra */
  .sec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); column-gap: 64px; }
  .sec-head { margin: 0; position: sticky; top: 110px; align-self: start; }
  .sec-body { max-width: none; }
  .header-in { height: 80px; gap: 28px; }
  .logo img { height: 46px; }
  .nav-desk { display: flex; gap: 28px; }
  .nav-desk a { color: var(--ink); text-decoration: none; font-size: var(--m); padding: 6px 0; border-bottom: 2px solid transparent; }
  .nav-desk a:hover { color: var(--red); }
  .nav-desk a[aria-current] { color: var(--red); border-bottom-color: var(--red); }
  .langs { padding-left: 20px; border-left: 1px solid var(--line); }
  .menu { display: none; }
  .header .btn { min-height: 44px; padding: 8px 20px; font-size: var(--m); }
  html { scroll-padding-top: 100px; }
}
@media (max-width: 999px) { .header .btn { display: none; } }

@media print {
  .header, .footer, .actions, .aiuto { display: none; }
}

/* ---------- modulo «Contratto e richiesta» ---------- */
.form { margin-top: 1.75rem; }
.form fieldset { border: 0; padding: 0; margin: 0 0 2rem; }
.form legend { font-size: var(--l); font-weight: 700; color: var(--ink); margin-bottom: 0.75rem; padding: 0; }
.campo { margin-bottom: 1.1rem; }
.campo label, .campo .lab { display: block; font-weight: 700; color: var(--ink); margin-bottom: 0.35rem; }
.campo .tr { font-weight: 400; font-style: italic; color: var(--muted); font-size: var(--s); }
.req { color: var(--red); }
.fac, .hint { font-weight: 400; color: var(--muted); font-size: var(--s); }
.hint { display: block; margin: -0.2rem 0 0.35rem; }
.campo input:not([type=radio]):not([type=checkbox]), .campo select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #cfc8bf; border-radius: 8px; padding: 12px 14px; min-height: 50px;
}
.campo input:focus, .campo select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(139,26,26,0.12); }
.campo label.radio { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--text); padding: 10px 0; cursor: pointer; }
.campo label.radio input { width: 22px; height: 22px; margin: 2px 0 0; flex: none; accent-color: var(--red); }
.campo--check { border-top: 1px solid var(--line); margin: 0; }
.campo .err { display: block; color: var(--red); font-size: var(--s); }
.campo.ko input:not([type=radio]):not([type=checkbox]), .campo.ko select { border-color: var(--red); background: #fdf6f5; }
.err-box { background: #fdf6f5; border-left: 4px solid var(--red); padding: 12px 16px; margin: 1rem 0; color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#genera { width: 100%; margin-top: 1.25rem; min-height: 56px; }
#genera:disabled { opacity: 0.6; cursor: wait; }
.contratto-testo { margin: 0.5rem 0 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 0 18px; }
.ct { font-size: var(--s); padding-bottom: 18px; }
.ct h3 { margin: 1.1rem 0 0.3rem; font-size: var(--s); }
.ct p + p { margin-top: 0.5em; }
.ct ul { padding-left: 1.2rem; }
.ct .table { margin: 1rem 0; }
.ct-tit { font-size: var(--l); font-weight: 700; color: var(--ink); margin-top: 0.5rem; }
.ct-sub { color: var(--muted); margin: 0 0 1rem !important; }
.ct-firma { margin-top: 1.5rem !important; }
.steps--brevi li p { margin-top: 0.25rem; }
@media (min-width: 1000px) { #genera { width: auto; padding-left: 40px; padding-right: 40px; } }

/* ---------- preparazione B1: i tre formati ---------- */
.formati { display: grid; gap: 14px; }
.formato { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 10px; padding: 22px; }
.formato-prezzo { font-size: var(--xl); font-weight: 700; color: var(--ink); line-height: 1.1; margin: 6px 0 12px; }
.formato .bullets { font-size: var(--s); }
@media (min-width: 760px) { .formati { grid-template-columns: repeat(3, 1fr); } }

/* ---------- traduzioni d'aiuto con voce (inglese, francese, spagnolo, arabo) ---------- */
.lessico .trad { display: none; align-items: center; gap: 10px; }
body.aiuto-en .lessico .trad.tr-en, body.aiuto-fr .lessico .trad.tr-fr,
body.aiuto-es .lessico .trad.tr-es, body.aiuto-ar .lessico .trad.tr-ar { display: flex; }
.lessico .trad.tr-ar { flex-direction: row-reverse; justify-content: flex-start; direction: ltr; }
.lessico .trad.tr-ar > span { direction: rtl; }
body .ascolta.ascolta-tr, body.ha-voce .ascolta.ascolta-tr { display: none; }
body.ha-voce-en .ascolta-tr[data-l="en"], body.ha-voce-fr .ascolta-tr[data-l="fr"],
body.ha-voce-es .ascolta-tr[data-l="es"], body.ha-voce-ar .ascolta-tr[data-l="ar"] { display: inline-flex; }
.senza-voce-tr { display: none; margin-top: 0.5rem; }
body.aiuto-en:not(.ha-voce-en) .senza-voce-tr, body.aiuto-fr:not(.ha-voce-fr) .senza-voce-tr,
body.aiuto-es:not(.ha-voce-es) .senza-voce-tr, body.aiuto-ar:not(.ha-voce-ar) .senza-voce-tr { display: block; }
body.voce-guasta-en .senza-voce-tr, body.voce-guasta-fr .senza-voce-tr, body.voce-guasta-es .senza-voce-tr, body.voce-guasta-ar .senza-voce-tr { display: block; }
