/* Vetta, sistema visual (23-sep-2026).
   Tipografia Geist (SIL OFL) alojada aqui: nada se pide a terceros.
   Radios: botones en pildora, tarjetas 16px, campos 10px. Siempre asi.
   Contraste medido: tinta/fondo 16,4 · blanco/verde profundo 12,2 ·
   tinta/coral 6,3 · verde/blanco 6,5 · gris/blanco 7,3 (WCAG AA). */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4f7f5;
  --surface: #fcfdfc;
  --surface-2: #eaf1ed;
  --ink: #0d1b16;
  --ink-2: #4b5a53;
  --line: #d6e0da;
  --brand: #0e6b4e;
  --brand-deep: #0b3d2e;
  --brand-tint: #e3efe8;
  --accent: #ff6a4d;
  --accent-ink: #0d1b16;
  --accent-deep: #d2391f;
  --mint: #7ce0b8;
  --warn-bg: #fff4ec;
  --warn-line: #f3c7b3;
  --warn-ink: #8a2e14;
  --ok-bg: #e6f4ec;
  --danger: #b3261e;
  --shadow: 0 1px 2px rgb(11 61 46 / .06), 0 12px 32px -18px rgb(11 61 46 / .28);
  --radius: 16px;
  --radius-field: 10px;
  --head-h: 68px;
  --wrap: 1240px;
  --prose: 44rem;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a1712;
    --surface: #0f211a;
    --surface-2: #132b22;
    --ink: #e7f1ec;
    --ink-2: #a8bbb2;
    --line: #22433a;
    --brand: #4cc79a;
    --brand-deep: #06140f;
    --brand-tint: #123126;
    --accent: #ff7a5f;
    --accent-ink: #0d1b16;
    --accent-deep: #ff9a84;
    --mint: #7ce0b8;
    --warn-bg: #2a1a12;
    --warn-line: #5b3222;
    --warn-ink: #ffc4ad;
    --ok-bg: #12301f;
    --danger: #ff8a80;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 16px 40px -20px rgb(0 0 0 / .6);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.6 "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-thickness: 2.5px; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 700; letter-spacing: -.028em; line-height: 1.12; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 4.2vw + .8rem, 3.9rem); letter-spacing: -.04em; line-height: 1.04; }
h2 { font-size: clamp(1.65rem, 2vw + 1rem, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
small { font-size: .875rem; }
strong { font-weight: 650; }
::selection { background: var(--mint); color: var(--brand-deep); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--brand-deep); color: #fff; padding: 12px 16px; border-radius: 10px; }
.skip-link:focus { top: 10px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icona { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

/* ---------- Aviso de anteprima ---------- */
.anteprima { margin: 0; padding: 7px 16px; text-align: center; font-size: .8125rem; background: var(--brand-deep); color: #d8efe4; }

/* ---------- Cabecera ---------- */
.testata {
  position: sticky; top: 0; z-index: 40;
  height: var(--head-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(20px, calc((100vw - var(--wrap)) / 2));
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
@supports not (backdrop-filter: blur(1px)) { .testata { background: var(--bg); } }
.marchio { display: inline-flex; align-items: center; color: var(--brand); text-decoration: none; }
.marchio-logo { display: block; height: 30px; width: auto; }
@media (max-width: 720px) { .marchio-logo { height: 26px; } }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 520; font-size: .9688rem; }
.nav a:hover { color: var(--brand); }
.nav a[aria-current="page"] { color: var(--brand); }
.nav .bottone { padding: 10px 18px; min-height: 42px; font-size: .9375rem; }
.menu-mobile { display: none; }
.menu-mobile > summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); }
.menu-mobile > summary::-webkit-details-marker { display: none; }
.menu-mobile[open] > summary { background: var(--surface-2); }
.menu-mobile nav { position: absolute; right: 16px; top: calc(var(--head-h) - 6px); display: grid; gap: 4px; min-width: 240px; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.menu-mobile nav a { padding: 12px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 540; }
.menu-mobile nav a:hover { background: var(--surface-2); }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-mobile { display: block; }
}

/* ---------- Contenedores ---------- */
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.contenuto { width: min(100% - 40px, var(--prose)); margin: 0 auto; padding: 40px 0 88px; min-height: 50vh; }
.largo .contenuto { width: min(100% - 40px, 1320px); }
.home .contenuto, .ampio .contenuto { width: 100%; padding: 0; }
@media (max-width: 720px) { .contenuto { padding: 28px 0 64px; } }

/* ---------- Texto auxiliar ---------- */
.occhiello { margin: 0 0 14px; font-size: .8125rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.guida { font-size: 1.125rem; line-height: 1.65; color: var(--ink-2); margin-bottom: 28px; max-width: 62ch; }
.nota, .aiuto { font-size: .9375rem; color: var(--ink-2); }
.aiuto { display: block; font-weight: 400; margin-top: 4px; }
.mono { font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: .875rem; overflow-wrap: anywhere; }

/* ---------- Botones ---------- */
.bottone {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink);
  font: 650 1.0625rem/1.2 inherit; font-family: inherit; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s cubic-bezier(.2, .8, .2, 1), background-color .18s, box-shadow .18s;
  box-shadow: 0 8px 22px -12px rgb(210 57 31 / .7);
}
.bottone:hover { background: #ff7d63; }
.bottone:active { transform: translateY(1px) scale(.985); }
.bottone .icona { width: 1.2em; height: 1.2em; }
.bottone-secondario { background: transparent; color: var(--brand); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: none; }
.bottone-secondario:hover { background: var(--brand-tint); }
.bottone-pericolo { background: transparent; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, var(--line)); box-shadow: none; }
.bottone-pericolo:hover { background: var(--warn-bg); }
.bottone-piccolo { min-height: 40px; padding: 8px 16px; font-size: .9375rem; }
.bottoni { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.bottoni .bottone { flex: 1 1 200px; }
.text-button { background: none; border: 0; padding: 0; color: var(--brand); font: inherit; font-weight: 560; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; min-height: 44px; }

/* ---------- Formularios ---------- */
label { display: block; font-weight: 600; font-size: 1rem; margin: 22px 0 8px; }
input[type=text], input[type=tel], input[type=email], input[type=number], input[type=password], input[type=file], textarea, select {
  width: 100%; min-height: 52px; padding: 14px 16px;
  font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-field);
  transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
input::placeholder, textarea::placeholder { color: #66756e; opacity: 1; }
@media (prefers-color-scheme: dark) { input::placeholder, textarea::placeholder { color: #8fa39a; } }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 22%, transparent); }
.errore { padding: 14px 16px; border-radius: var(--radius-field); background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); font-weight: 520; }
.scelte { display: grid; gap: 10px; margin-top: 10px; }
.scelta { display: flex; align-items: flex-start; gap: 12px; margin: 0; padding: 16px 18px; font-weight: 520; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; transition: border-color .15s, background-color .15s; }
.scelta:hover { border-color: color-mix(in srgb, var(--brand) 40%, var(--line)); }
.scelta input { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--brand); }
.scelta:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.otp-input { text-align: center; letter-spacing: .4em; font-size: 1.8rem !important; font-weight: 650; }
.modulo { margin: 28px 0; padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.modulo h2 { font-size: 1.55rem; }
.form-note { margin: 12px 0 0; font-size: .9375rem; color: var(--ink-2); }
@media (max-width: 720px) { .modulo { padding: 20px 18px; } }

/* ---------- Tarjetas, avisos, distintivos ---------- */
.scheda { margin: 20px 0; padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.scheda > :last-child { margin-bottom: 0; }
.scheda-verde { background: var(--ok-bg); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.scheda-ambra { background: var(--warn-bg); border-color: var(--warn-line); }
.scheda-rossa { background: var(--warn-bg); border-color: color-mix(in srgb, var(--danger) 45%, var(--line)); }
.distintivo { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; line-height: 1.4; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink-2); }
.d-verde { background: var(--ok-bg); color: var(--brand); border-color: color-mix(in srgb, var(--brand) 30%, var(--line)); }
.d-ambra { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--warn-line); }
.d-rossa { background: var(--warn-bg); color: var(--danger); border-color: color-mix(in srgb, var(--danger) 40%, var(--line)); }
.d-grigia { background: var(--surface-2); color: var(--ink-2); }

/* ---------- Avance del formulario ---------- */
.avanzamento { width: min(100% - 40px, var(--prose)); margin: 26px auto -6px; }
.avanzamento-meta { display: flex; justify-content: space-between; font-size: .875rem; color: var(--ink-2); margin-bottom: 8px; font-weight: 520; }
.avanzamento-barra { height: 6px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.avanzamento-barra i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--mint)); }

/* ---------- Datos (panel y resumen) ---------- */
dl { margin: 0; }
.riga { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.riga:last-child { border-bottom: 0; }
.riga dt { color: var(--ink-2); font-size: .9375rem; }
.riga dd { margin: 0; overflow-wrap: anywhere; }
.miniature { display: flex; flex-wrap: wrap; gap: 10px; }
.miniature img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; }
table { width: 100%; border-collapse: collapse; font-size: .9375rem; background: var(--surface); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); background: var(--surface-2); font-weight: 650; }
.tabella-avvolgi { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.colonne { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.storia { list-style: none; padding: 0; margin: 0; font-size: .9375rem; }
.storia li { padding: 10px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.azioni, .inline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.inline input, .inline select { width: auto; flex: 1 1 120px; min-width: 0; }
.pannello { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 16px 0 28px; }
.cifra { padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.cifra b { display: block; font-size: 1.9rem; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cifra span { font-size: .875rem; color: var(--ink-2); }
.cifra-allarme { background: var(--warn-bg); border-color: var(--warn-line); }
.cifra-allarme b { color: var(--danger); }
.elenco-servizi { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.elenco-servizi li { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.elenco-servizi a { font-weight: 560; text-decoration: none; }
.elenco-servizi a:hover { text-decoration: underline; }
@media (max-width: 720px) {
  .riga { grid-template-columns: 1fr; gap: 4px; }
  .colonne { grid-template-columns: 1fr; }
}

/* ---------- Pie ---------- */
.pie { background: var(--brand-deep); color: #cfe4da; padding: 64px 0 36px; margin-top: 0; }
.pie a { color: #ffffff; text-decoration: none; }
.pie a:hover { text-decoration: underline; }
.pie-griglia { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.pie-griglia h3 { color: #ffffff; font-size: .9375rem; letter-spacing: 0; margin-bottom: 14px; }
.pie-griglia ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9688rem; }
.pie .marchio { color: #ffffff; }
.pie-motto { margin: 14px 0 0; font-size: 1rem; color: #cfe4da; max-width: 30ch; }
.pie-legale { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .875rem; color: #a9c8ba; }
@media (max-width: 900px) { .pie-griglia { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pie-griglia { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Portada: historia con la casa en 3D ---------- */
.storia3d { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); width: min(100% - 40px, var(--wrap)); margin-inline: auto; column-gap: 48px; }
.storia3d-testo { grid-column: 1; }
.palco { grid-column: 2; grid-row: 1; position: sticky; top: var(--head-h); height: calc(100dvh - var(--head-h)); align-self: start; }
.palco canvas { width: 100%; height: 100%; }
.palco-fondo { position: absolute; inset: 8% 4% 10%; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--mint) 45%, transparent), transparent 68%); filter: blur(4px); pointer-events: none; }
.palco-riposo { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .6s ease; }
.palco-riposo svg { width: min(58%, 320px); height: auto; opacity: .95; }
.palco.pronto .palco-riposo { opacity: 0; }
.eroe { min-height: calc(100dvh - var(--head-h)); display: flex; flex-direction: column; justify-content: center; padding: 40px 0 56px; }
.eroe h1 { max-width: 22ch; font-size: clamp(2.1rem, 2.4vw + 1.1rem, 3.3rem); text-wrap: balance; }
.eroe h1 .secondo { display: block; color: var(--brand); }
.eroe-sotto { font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); max-width: 36ch; margin: 18px 0 26px; }
.eroe-form { max-width: 520px; }
.eroe-form label { margin-top: 0; }
.eroe-form textarea { min-height: 120px; background: var(--surface); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--brand) 22%, var(--line)); }
.eroe-form .bottone { width: 100%; margin-top: 14px; justify-content: space-between; }
.nota-privacy { margin: 12px 0 0; font-size: .875rem; line-height: 1.5; color: var(--ink-2); }
.nota-privacy a, .pie-legale a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.passo { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; padding: 48px 0; }
.passo-icona { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--brand-tint); color: var(--brand); margin-bottom: 20px; }
.passo-icona .icona { width: 28px; height: 28px; }
.passo h2 { max-width: 16ch; }
.passo p { font-size: 1.125rem; color: var(--ink-2); max-width: 40ch; }
.passo { opacity: .35; transition: opacity .5s ease; }
.passo.attivo { opacity: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: .9375rem; font-weight: 520; cursor: pointer; text-align: left; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
@media (max-width: 900px) {
  .storia3d { grid-template-columns: 1fr; column-gap: 0; }
  .palco { grid-column: 1; grid-row: 1; position: relative; top: 0; height: clamp(200px, min(72vw, 36svh), 420px); margin-top: 4px; }
  .storia3d-testo { grid-column: 1; grid-row: 2; }
  .eroe { min-height: 0; padding: 12px 0 36px; }
  .passo { min-height: 0; padding: 28px 0; opacity: 1; border-top: 1px solid var(--line); }
}
@media (prefers-reduced-motion: reduce) { .passo { opacity: 1; transition: none; } }

/* ---------- Portada: problemas ---------- */
.sezione { padding: 96px 0; }
.sezione-scura { background: var(--brand-deep); color: #e7f1ec; }
.sezione-scura h2, .sezione-scura h3 { color: #ffffff; }
.sezione-scura p { color: #c7ddd2; }
.sezione-tinta { background: var(--surface-2); }
.intesta { max-width: 40rem; margin-bottom: 40px; }
.intesta p { font-size: 1.125rem; color: var(--ink-2); }
.problemi-griglia { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.problema-tile { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; min-height: 172px; padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .2s, box-shadow .25s; }
.problema-tile:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--brand) 45%, var(--line)); box-shadow: var(--shadow); }
.problema-tile .icona { width: 30px; height: 30px; color: var(--brand); }
.problema-tile strong { font-size: 1.1875rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.25; }
.problema-tile span { font-size: .9375rem; color: var(--ink-2); margin-top: auto; display: inline-flex; align-items: center; gap: 6px; }
.problema-tile.grande { grid-column: span 8; background: linear-gradient(135deg, var(--brand) 0%, var(--brand-deep) 100%); color: #ffffff; border-color: transparent; }
.problema-tile.grande .icona, .problema-tile.grande span { color: #d8efe4; }
.problema-tile.grande strong { font-size: 1.6rem; max-width: 22ch; }
@media (max-width: 900px) { .problema-tile, .problema-tile.grande { grid-column: span 6; } }
@media (max-width: 560px) { .problemi-griglia { grid-template-columns: 1fr; } .problema-tile, .problema-tile.grande { grid-column: 1; min-height: 0; } }

/* ---------- Portada: promesa en cifras ---------- */
.cifre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgb(255 255 255 / .16); }
.cifre > div { padding: 32px 28px 8px 0; }
.cifre > div + div { padding-left: 28px; border-left: 1px solid rgb(255 255 255 / .16); }
.cifre b { display: block; font-size: clamp(2.4rem, 3vw + 1rem, 3.6rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--mint); font-variant-numeric: tabular-nums; }
.cifre h3 { margin: 14px 0 8px; font-size: 1.125rem; }
.cifre p { font-size: 1rem; margin: 0; }
@media (max-width: 900px) { .cifre { grid-template-columns: 1fr 1fr; } .cifre > div:nth-child(3) { padding-left: 0; border-left: 0; } .cifre > div { border-top: 1px solid rgb(255 255 255 / .16); } }
@media (max-width: 560px) { .cifre { grid-template-columns: 1fr; } .cifre > div, .cifre > div + div { padding: 24px 0 8px; border-left: 0; } }

/* ---------- Portada: preguntas ---------- */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-size: 1.125rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand); transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -6px 0 22px; color: var(--ink-2); max-width: 60ch; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Portada: blog y profesionales ---------- */
.blog-fila { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card time { font-size: .875rem; color: var(--ink-2); }
.blog-card strong { font-size: 1.25rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.25; }
.blog-card p { color: var(--ink-2); font-size: 1rem; margin: 0; }
@media (max-width: 900px) { .blog-fila { grid-template-columns: 1fr; } }
.fascia-pro { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; align-items: center; gap: 32px; padding: 48px 52px; border-radius: 28px; background: radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--mint) 35%, transparent), transparent 55%), var(--brand-deep); color: #e7f1ec; }
.fascia-pro h2 { color: #ffffff; margin: 0 0 10px; }
.fascia-pro p { margin: 0; color: #c7ddd2; max-width: 52ch; }
@media (max-width: 720px) { .fascia-pro { grid-template-columns: 1fr; padding: 32px 24px; } }

/* ---------- Paginas de contenido (garanzia, chi siamo, blog) ---------- */
.pagina-eroe { padding: 72px 0 40px; }
.pagina-eroe h1 { max-width: 18ch; }
.pagina-eroe p { font-size: 1.1875rem; color: var(--ink-2); max-width: 52ch; }
.impegni { display: grid; gap: 18px; counter-reset: impegno; }
.impegno { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.impegno .passo-icona { margin: 0; }
.impegno h3 { margin-bottom: 6px; }
.impegno p { margin: 0; color: var(--ink-2); }
.articolo { font-size: 1.125rem; line-height: 1.75; }
.articolo h2 { font-size: 1.7rem; margin-top: 1.8em; }
.articolo h3 { font-size: 1.3rem; margin-top: 1.5em; }
.articolo ul, .articolo ol { padding-left: 1.3em; }
.articolo li { margin: .35em 0; }
.articolo blockquote { margin: 1.6em 0; padding: 18px 22px; border-left: 4px solid var(--brand); background: var(--brand-tint); border-radius: 0 12px 12px 0; }
.articolo table { margin: 1.4em 0; font-size: 1rem; }
.articolo-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--ink-2); font-size: .9375rem; margin-bottom: 28px; }
.articolo-cta { margin: 40px 0; }

/* ---------- Entrada suave al hacer scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rivela] { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .8, .2, 1), transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 70ms); }
  .js [data-rivela].visto { opacity: 1; transform: none; }
}
