/* =========================================================
   ANCILE — Assicurazioni · Gestione rischi
   Foglio di stile principale
   ========================================================= */

:root {
  --navy: #082A4F;
  --navy-deep: #051B35;
  --navy-hover: #0F3A6A;
  --gold: #BB8A55;
  --gold-hover: #A8763F;
  --gold-dark: #8A5E2C;
  --gold-light: #E7D0B0;
  --sand: #EFE6D6;
  --sand-2: #EDE8DE;
  --ivory: #F6F5F0;
  --white: #FFFFFF;
  --ink: #13233A;
  --text: #34445C;
  --muted: #5A6578;
  --line: #E4DED2;
  --line-2: #D9D2C3;
  --field: #CFC7B6;
  --on-navy: #D5DDE8;
  --on-navy-muted: #AAB6C6;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --wrap: 1200px;
  --pad-x: clamp(20px, 5vw, 64px);
  --sect: clamp(64px, 8vw, 112px);
  --radius: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--gold-dark); }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
[id] { scroll-margin-top: 24px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.serif { font-family: var(--serif); font-weight: 600; }
.gold { color: var(--gold); }
.eyebrow { font-size: 13px; letter-spacing: 0.18em; color: var(--gold-dark); font-weight: 700; text-transform: uppercase; }
.eyebrow--light { color: var(--gold-light); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--text); }
.h-xl { font-family: var(--serif); font-weight: 600; font-size: clamp(48px, 6.4vw, 88px); line-height: 0.98; letter-spacing: -0.01em; color: var(--navy); }
.h-lg { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 4.6vw, 62px); line-height: 1.02; color: var(--navy); }
.h-md { font-family: var(--serif); font-weight: 600; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.08; color: var(--navy); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: var(--ivory); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 15px 28px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn--navy { background: var(--navy); color: var(--ivory); }
.btn--navy:hover { background: var(--navy-hover); color: var(--ivory); }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-hover); color: var(--navy); }
.btn--ghost { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn--ghost:hover { background: rgba(8,42,79,0.06); color: var(--navy); }
.btn--soft { background: var(--sand); color: var(--navy); border-color: var(--sand); }
.btn--soft:hover { background: #E6D8C0; color: var(--navy); }
.btn--sm { min-height: 44px; padding: 11px 20px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.linkbtn { background: none; border: none; color: var(--navy); font-weight: 600; text-decoration: underline; cursor: pointer; padding: 12px 4px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: var(--ivory); font-size: 13px; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: center; padding-top: 10px; padding-bottom: 10px; }
.topbar a { color: var(--ivory); text-decoration: none; font-weight: 600; }
.topbar a strong, .topbar a.accent { color: var(--gold-light); font-weight: 700; }
.topbar a:hover { color: var(--gold-light); }

/* ---------- Header ---------- */
.header .wrap { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand__text { display: flex; flex-direction: column; gap: 2px; }
.brand__name { font-family: var(--serif); font-weight: 600; font-size: 30px; letter-spacing: 0.18em; color: var(--navy); line-height: 1; }
.brand__tag { font-size: 10px; letter-spacing: 0.22em; color: var(--gold-dark); font-weight: 600; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 16px; align-items: center; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--navy); padding: 10px 4px; }
.nav a:not(.btn):hover { color: var(--gold-dark); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--navy); color: var(--navy); border-radius: 999px; width: 48px; height: 48px; cursor: pointer; align-items: center; justify-content: center; }

@media (max-width: 900px) {
  .header .wrap { gap: 12px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 4px; border-top: 1px solid var(--line); }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__rings { position: absolute; right: -220px; top: -120px; width: 820px; height: 820px; opacity: 0.5; pointer-events: none; }
.hero .wrap { position: relative; padding-top: clamp(32px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 104px); display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__copy { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold-dark); background: var(--sand); padding: 8px 16px; border-radius: 999px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.hero__lead { max-width: 540px; }
.hero .actions { gap: 12px; }
.hero .actions .btn { padding: 15px 24px; font-size: 15.5px; }
.quicklinks { margin: -8px 0 0; font-size: 14.5px; color: var(--text); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.quicklinks a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.quicklinks a:hover { color: var(--gold-dark); }
.quicklinks span { color: var(--gold); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.ticks { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 8px; font-size: 14px; color: var(--text); list-style: none; margin: 0; padding-left: 0; }
.ticks li, .checklist li { display: flex; align-items: flex-start; gap: 8px; }
.ico-check { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* ---------- Check-up card ---------- */
.checkup { flex: 1 1 420px; min-width: 0; max-width: 520px; background: var(--navy); color: var(--ivory); border-radius: 28px; padding: clamp(24px, 3vw, 36px); box-shadow: 0 30px 60px rgba(8,42,79,0.25); display: flex; flex-direction: column; gap: 22px; }
.checkup__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.checkup__head h2 { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.1; }
.checkup__head img { height: 64px; width: auto; filter: brightness(1.6) saturate(0.6); opacity: 0.35; }
.seg { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; background: rgba(246,245,240,0.08); padding: 6px; border-radius: 999px; }
.seg button { min-height: 44px; border: none; border-radius: 999px; background: transparent; color: var(--ivory); font-size: 15px; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ivory); color: var(--navy); font-weight: 700; }
.q { display: flex; flex-direction: column; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid rgba(246,245,240,0.12); }
.q p { font-size: 15px; line-height: 1.45; font-weight: 500; }
.q__opts { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { min-height: 44px; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; background: transparent; color: var(--ivory); border: 1.5px solid rgba(246,245,240,0.3); transition: background .15s ease, color .15s ease, border-color .15s ease; }
.pill:hover { border-color: var(--gold-light); }
.pill[aria-pressed="true"] { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.checkup__questions { display: flex; flex-direction: column; gap: 16px; }
.checkup__progress { font-size: 13px; color: #C9D3E0; }
.result { background: var(--ivory); color: var(--ink); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.result__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.result__title { font-family: var(--serif); font-weight: 700; font-size: 26px; color: var(--navy); }
.meter { display: flex; gap: 5px; }
.meter span { width: 22px; height: 30px; border-radius: 11px 11px 11px 11px / 8px 8px 16px 16px; background: var(--line); }
.meter span.on { background: var(--gold); }
.result p { font-size: 14px; line-height: 1.55; color: var(--text); }
.gaps { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.gaps li { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 600; color: var(--navy); }
.gaps li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }
.result__actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ---------- Doors ---------- */
.doors { padding-bottom: var(--sect); }
.doors h2 { margin-bottom: 28px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.doors__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.door { text-decoration: none; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 14px; min-height: 220px; transition: transform .25s ease, box-shadow .25s ease; }
.door:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(8,42,79,0.12); color: var(--ink); }
.door__title { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.05; color: var(--navy); }
.door__text { font-size: 15px; line-height: 1.55; color: var(--text); }
.door__cta { margin-top: auto; font-weight: 700; color: var(--gold-dark); }
.door svg { width: 34px; height: 34px; }
.door--navy { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.door--navy:hover { color: var(--ivory); }
.door--navy .door__title { color: var(--ivory); }
.door--navy .door__text { color: #C9D3E0; }
.door--navy .door__cta { color: var(--gold-light); }
.door--sand { background: var(--sand); border-color: var(--sand); }

/* ---------- Auto ---------- */
.auto { padding-bottom: var(--sect); }
.auto__box { background: var(--navy); color: var(--ivory); border-radius: 32px; overflow: hidden; display: flex; flex-wrap: wrap; }
.auto__copy { flex: 1.2 1 460px; min-width: 0; padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 22px; }
.auto__copy h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(40px, 4.6vw, 62px); line-height: 1; }
.auto__copy h2 em { color: var(--gold-light); }
.auto__copy p { font-size: 17px; line-height: 1.6; color: var(--on-navy); max-width: 520px; }
.tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; color: var(--navy); background: var(--gold-light); padding: 7px 14px; border-radius: 999px; }
.checklist { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.checklist .ico-check { width: 20px; height: 20px; margin-top: 2px; }
.auto__form { flex: 1 1 380px; min-width: 0; background: var(--white); color: var(--ink); margin: 10px; border-radius: 24px; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.auto__form h3 { font-family: var(--serif); font-weight: 600; font-size: 30px; color: var(--navy); }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; background: var(--ivory); border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; font-size: 14px; font-weight: 600; color: var(--navy); }
.switch:hover { border-color: var(--gold); }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--field); position: relative; transition: background .2s ease; }
.switch__dot { position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s ease; }
.switch input:checked + .switch__track { background: var(--navy); }
.switch input:checked + .switch__track .switch__dot { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--gold); outline-offset: 2px; }
.switch__text small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.plate { font-weight: 600 !important; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Forms ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; font-weight: 400; font-size: 16px; padding: 14px 16px;
  border: 1px solid var(--field); border-radius: 14px; background: #FBFAF7; color: var(--ink); width: 100%;
}
.auto__form .field input { background: #FBFAF7; }
.field textarea { resize: vertical; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text); font-weight: 400; }
.check input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); flex: none; }
.check--boxed { background: var(--ivory); padding: 14px; border-radius: 14px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__error { display: none; font-size: 14px; color: #9B2C2C; background: #FCEDEA; border-radius: 12px; padding: 12px 14px; }
.form__error.is-visible { display: block; }
.thanks { display: none; flex-direction: column; gap: 14px; }
.thanks.is-visible { display: flex; }
.thanks img { height: 64px; width: auto; }
.thanks h3 { font-family: var(--serif); font-weight: 600; font-size: 34px; color: var(--navy); }
.thanks p { font-size: 16px; line-height: 1.6; color: var(--text); }
.is-hidden { display: none !important; }

/* ---------- Method ---------- */
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method .wrap { padding-top: var(--sect); padding-bottom: var(--sect); display: flex; flex-direction: column; gap: 48px; }
.split-head { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-end; justify-content: space-between; }
.split-head h2 { max-width: 640px; }
.split-head p { font-size: 17px; line-height: 1.6; color: var(--text); max-width: 420px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1.5px solid var(--navy); }
.step { padding: 32px 32px 8px 0; display: flex; flex-direction: column; gap: 14px; }
.step__n { font-family: var(--serif); font-size: 56px; font-weight: 600; color: var(--gold); line-height: 1; }
.step h3 { font-size: 21px; font-weight: 700; color: var(--navy); }
.step p { font-size: 15px; line-height: 1.6; color: var(--text); }

/* ---------- Services ---------- */
.services { padding-top: var(--sect); padding-bottom: var(--sect); display: flex; flex-direction: column; gap: 36px; }
.services__head { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.services__head > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.tabs { display: flex; gap: 6px; background: var(--sand-2); padding: 6px; border-radius: 999px; flex-wrap: wrap; }
.tabs button { min-height: 44px; padding: 12px 22px; border-radius: 999px; border: none; cursor: pointer; background: transparent; color: var(--navy); font-size: 15px; font-weight: 600; }
.tabs button[aria-selected="true"] { background: var(--navy); color: var(--ivory); font-weight: 700; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold-dark); }
.card h3 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.1; color: var(--navy); }
.card p { font-size: 15px; line-height: 1.6; color: var(--text); }
.card--link { text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card--link:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: 0 14px 30px rgba(8,42,79,0.10); color: inherit; }
.card__cta { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--gold-dark); }

/* ---------- Banner ---------- */
.banner-sect { padding-bottom: var(--sect); }
.banner { background: var(--sand); border-radius: 28px; padding: clamp(28px, 4vw, 48px); display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.banner > div { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.banner p { font-size: 16px; line-height: 1.6; color: var(--text); }

/* ---------- Affitto garantito ---------- */
.rent { padding-top: var(--sect); padding-bottom: var(--sect); display: flex; flex-direction: column; gap: 36px; }
.rent__head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.rent__head p { font-size: 17px; line-height: 1.6; color: var(--text); }
.rent__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.rent__card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.rent__card--alt { background: var(--sand); border-color: var(--sand); }
.rent__who { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold-dark); }
.rent__card h3 { font-family: var(--serif); font-weight: 600; font-size: 32px; line-height: 1.1; color: var(--navy); }
.rent__card .checklist { color: var(--text); }
.rent__card .btn { align-self: flex-start; margin-top: auto; }
.rent__note { font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ---------- Condomini ---------- */
.condo .wrap { padding-top: var(--sect); padding-bottom: var(--sect); display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.condo__intro { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.condo__intro p { font-size: 17px; line-height: 1.6; color: var(--text); }
.condo__intro .actions { margin-top: 6px; }
.condo__grid { flex: 1.3 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.condo__card { background: var(--ivory); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.condo__card svg { width: 30px; height: 30px; }
.condo__card h3 { font-family: var(--serif); font-weight: 600; font-size: 24px; line-height: 1.15; color: var(--navy); }
.condo__card p { font-size: 15px; line-height: 1.6; color: var(--text); }

/* ---------- Story ---------- */
.story { background: var(--navy); color: var(--ivory); position: relative; overflow: hidden; }
.story__mark { position: absolute; right: 0; top: 50%; transform: translateY(-50%); height: 120%; width: auto; opacity: 0.07; filter: brightness(3); pointer-events: none; }
.story .wrap { position: relative; padding-top: clamp(72px, 10vw, 136px); padding-bottom: clamp(72px, 10vw, 136px); display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; }
.story__title { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.story__title h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 5vw, 72px); line-height: 1; letter-spacing: -0.01em; }
.story__text { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; font-size: 17px; line-height: 1.7; color: var(--on-navy); }
.story__text em { color: var(--gold-light); }
.story__text strong, .story__text .final { color: var(--white); }
.story__text .final { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { padding-top: var(--sect); padding-bottom: var(--sect); display: flex; flex-wrap: wrap; gap: 40px 80px; }
.faq__head { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.faq__list { flex: 2 1 560px; min-width: 0; border-top: 1px solid var(--line-2); }
.faq__item { border-bottom: 1px solid var(--line-2); }
.faq__q { width: 100%; background: none; border: none; padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 20px; text-align: left; font-size: 18px; font-weight: 700; color: var(--navy); cursor: pointer; }
.faq__icon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 400; background: var(--sand-2); color: var(--navy); transition: transform .2s ease, background .2s ease; }
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--navy); color: var(--ivory); }
.faq__a { margin: 0 0 22px; font-size: 16px; line-height: 1.65; color: var(--text); max-width: 680px; }

/* ---------- Contact ---------- */
.contact { padding-bottom: var(--sect); }
.contact__box { background: var(--white); border: 1px solid var(--line); border-radius: 32px; padding: clamp(28px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 40px 64px; }
.contact__info { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.contact__info p { font-size: 16px; line-height: 1.6; color: var(--text); }
.contact__lines { display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.contact__lines a, .contact__lines span { text-decoration: none; display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--ink); }
.contact__lines svg { width: 20px; height: 20px; flex: none; }
.contact__form { flex: 1.4 1 420px; min-width: 0; }
.contact .thanks { min-height: 280px; justify-content: center; background: var(--ivory); border-radius: 24px; padding: 36px; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #C9D3E0; font-size: 14px; }
.footer .wrap { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 40px 64px; justify-content: space-between; }
.footer__col { flex: 1 1 200px; display: flex; flex-direction: column; gap: 10px; }
.footer__col--brand { flex: 1 1 280px; gap: 14px; }
.footer__col strong { color: var(--ivory); }
.footer__col a { color: #C9D3E0; text-decoration: none; }
.footer__col a:hover { color: var(--gold-light); }
.footer__name { font-family: var(--serif); font-weight: 600; font-size: 30px; letter-spacing: 0.18em; color: var(--ivory); }
.footer__tag { font-size: 11px; letter-spacing: 0.22em; color: var(--gold-light); font-weight: 600; }
.footer__legal { border-top: 1px solid rgba(201,211,224,0.15); padding-top: 20px; font-size: 11.5px; line-height: 1.6; color: #93A1B4; }
.footer__legal a { color: #C9D3E0; }
.footer--slim .wrap { padding-top: 32px; padding-bottom: 32px; }

/* ---------- Sinistri ---------- */
.page-hero { padding-top: clamp(24px, 4vw, 48px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 18px; }
.page-hero h1 { max-width: 900px; font-size: clamp(46px, 6vw, 82px); }
.page-hero .lead { max-width: 640px; }
.claim { padding-bottom: clamp(64px, 8vw, 104px); display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.wizard { flex: 999 1 560px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 3.5vw, 44px); display: flex; flex-direction: column; gap: 28px; }
.wizard h2 { font-family: var(--serif); font-weight: 600; font-size: 34px; color: var(--navy); }
.progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.progress li { display: flex; flex-direction: column; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.progress li::before { content: ""; display: block; height: 6px; border-radius: 999px; background: var(--line); }
.progress li.is-reached { color: var(--navy); }
.progress li.is-reached::before { background: var(--gold); }
.progress li.is-current { font-weight: 700; }
.wstep { display: flex; flex-direction: column; gap: 20px; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.choices--wide { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.choice { text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 18px; min-height: 96px; border-radius: 18px; cursor: pointer; background: #FBFAF7; color: var(--navy); border: 1.5px solid var(--line); transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.choice:hover { transform: translateY(-2px); border-color: var(--gold); }
.choice[aria-pressed="true"] { background: var(--navy); color: var(--ivory); border-color: var(--navy); }
.choice b { font-size: 17px; }
.choice span { font-size: 13px; line-height: 1.45; opacity: 0.8; }
.summary { font-size: 15px; color: var(--text); }
.summary strong { color: var(--navy); }
.todo { flex: 1 1 340px; min-width: 0; background: var(--navy); color: var(--ivory); border-radius: 28px; padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.todo h2 { font-family: var(--serif); font-weight: 600; font-size: 30px; line-height: 1.1; }
.todo ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; counter-reset: todo; }
.todo li { display: flex; gap: 14px; align-items: flex-start; font-size: 15px; line-height: 1.55; color: var(--on-navy); counter-increment: todo; }
.todo li::before { content: counter(todo); flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(187,138,85,0.2); color: var(--gold-light); font-weight: 700; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.todo__note { font-size: 12px; line-height: 1.55; color: var(--on-navy-muted); border-top: 1px solid rgba(201,211,224,0.2); padding-top: 14px; }
.what .wrap { padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); display: flex; flex-direction: column; gap: 40px; }
.what h2 { max-width: 760px; }
.what__item { border-top: 2px solid var(--gold); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.what__item h3 { font-size: 19px; font-weight: 700; color: var(--navy); }
.what__item p { font-size: 15px; line-height: 1.6; color: var(--text); }

/* ---------- Trasparenza ---------- */
.legal-hero { padding-top: clamp(16px, 3vw, 32px); padding-bottom: 40px; display: flex; flex-direction: column; gap: 10px; }
.legal-hero h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.6vw, 46px); line-height: 1.05; color: var(--navy); }
.legal-hero p { font-size: 16px; line-height: 1.6; color: var(--text); max-width: 680px; }
.ids { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 24px 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px 40px; font-size: 14px; line-height: 1.55; color: var(--text); }
.ids > div { display: flex; flex-direction: column; gap: 4px; }
.ids__label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold-dark); }
.ids__name { font-weight: 700; color: var(--navy); }
.ids__note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); border-top: 1px solid var(--sand-2); padding-top: 14px; }
.docs .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 28px; }
.doc { text-decoration: none; border: 1.5px solid var(--line); border-radius: 18px; padding: 22px; display: flex; flex-direction: column; gap: 8px; min-height: 140px; }
.doc:hover { border-color: var(--gold); }
.doc small { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; color: var(--gold-dark); }
.doc b { font-size: 17px; color: var(--navy); }
.doc span { margin-top: auto; font-size: 14px; color: var(--text); }
.claims-sect { padding-top: 72px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 32px; }
.claims-sect .card .step__n { font-size: 48px; }
.notice { border: 1.5px dashed var(--field); border-radius: 18px; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.notice p { font-size: 15px; line-height: 1.6; color: var(--text); }
.privacy { background: var(--navy); color: var(--ivory); }
.privacy .wrap { padding-top: 64px; padding-bottom: 64px; display: flex; flex-wrap: wrap; gap: 32px 64px; align-items: flex-start; }
.privacy h2 { flex: 1 1 300px; font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.05; }
.privacy__text { flex: 2 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; font-size: 16px; line-height: 1.65; color: var(--on-navy); }
.privacy a { color: var(--gold-light); }

/* ---------- Documenti legali (privacy, cookie) ---------- */
.legal-doc { padding-bottom: 80px; }
.legal-doc__box { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 56px); max-width: 880px; }
.legal-doc h2 { font-family: var(--sans); font-size: 20px; font-weight: 700; color: var(--navy); margin: 36px 0 12px; }
.legal-doc h2:first-of-type { margin-top: 0; }
.legal-doc h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin: 20px 0 8px; }
.legal-doc p, .legal-doc li { font-size: 15.5px; line-height: 1.7; color: var(--text); }
.legal-doc p + p { margin-top: 10px; }
.legal-doc ul, .legal-doc ol { margin: 8px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.legal-doc .meta { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.legal-doc .toc { background: var(--ivory); border-radius: 16px; padding: 18px 22px; margin-bottom: 32px; }
.legal-doc .toc strong { font-size: 13px; letter-spacing: .12em; color: var(--gold-dark); }
.legal-doc .toc ol { margin-top: 10px; }
.legal-doc .toc a { text-decoration: none; }
.table-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--line); border-radius: 14px; }
.legal-doc table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px; }
.legal-doc th, .legal-doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); line-height: 1.5; }
.legal-doc th { background: var(--ivory); color: var(--navy); font-weight: 700; }
.legal-doc tr:last-child td { border-bottom: 0; }

@media (max-width: 480px) {
  .brand { gap: 10px; }
  .brand img { height: 42px; }
  .brand__name { font-size: 24px; letter-spacing: 0.16em; }
  .brand__tag { font-size: 8px; letter-spacing: 0.14em; }
  .topbar .wrap { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
