/* Orevia — sito di presentazione. Palette dal logo V8: blu notte, petrolio, azzurro.
   Nessuna risorsa esterna (font, script, immagini): la CSP del sito ammette solo file propri. */
:root {
  --navy: #012c56; --notte: #021a33; --notte-2: #062645; --teal: #028294; --teal-chiaro: #4fb6c4; --sky: #0081eb;
  --bg: #ffffff; --bg-2: #f4f7fb; --surface: #ffffff; --border: #dfe6ef; --border-forte: #c9d5e3;
  --text: #0a1b2e; --muted: #56697e; --link: #0067bd;
  --brand: var(--navy); --accent: var(--teal); --on-brand: #ffffff; --accent-50: #e2f4f6;
  --shadow: 0 1px 2px rgba(1,44,86,.05), 0 10px 30px -8px rgba(1,44,86,.14);
  --shadow-alta: 0 2px 6px rgba(1,26,51,.12), 0 30px 60px -20px rgba(1,26,51,.45);
  --radius: 16px; --radius-sm: 10px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #06111d; --bg-2: #0a1828; --surface: #0e1e30; --border: #1b3149; --border-forte: #27425f;
    --text: #e8eff7; --muted: #97abc0; --link: #6cb8ff;
    --brand: #4fb6c4; --accent: #4fb6c4; --on-brand: #04202b; --accent-50: #0f3341;
    --shadow: 0 1px 2px rgba(0,0,0,.35), 0 10px 30px -8px rgba(0,0,0,.5);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 17px/1.6 var(--font); background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: var(--link); }
img { max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; color: var(--text); letter-spacing: -.025em; font-weight: 750; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.6rem); margin: 0 0 .45em; }
h2 { font-size: clamp(1.75rem, 3.8vw, 2.7rem); margin: 0 0 .5em; }
h3 { font-size: 1.15rem; margin: 0 0 .4em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.contenitore { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.salta { position: absolute; left: -999px; }
.salta:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.icona-svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Testata */
.testata { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.testata .contenitore { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 70px; }
.marchio img { height: 40px; width: auto; display: block; }
.menu { display: flex; gap: 26px; align-items: center; }
.menu a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.menu a:hover { color: var(--accent); }
.menu .bottone { padding: 10px 18px; font-size: 15px; }
@media (max-width: 900px) { .menu a:not(.bottone) { display: none; } }

/* Bottoni */
.bottone { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 12px; background: var(--brand); color: var(--on-brand) !important; text-decoration: none; font-weight: 650; font-size: 16px; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, filter .15s; }
.bottone:hover { filter: brightness(1.1); transform: translateY(-1px); }
.bottone.secondario { background: transparent; color: var(--brand) !important; box-shadow: inset 0 0 0 1.5px var(--border-forte); }
.bottone.secondario:hover { box-shadow: inset 0 0 0 1.5px var(--brand); }
.bottone[disabled], .bottone[aria-disabled="true"] { opacity: .5; cursor: not-allowed; filter: none; transform: none; }
.bottone .freccia { transition: transform .15s; }
.bottone:hover .freccia { transform: translateX(3px); }

/* Sezioni (comuni a tutte le pagine) */
section { padding: 96px 0; }
section.alterna { background: var(--bg-2); }
.eroe { padding: 88px 0 72px; background: radial-gradient(900px 480px at 88% -20%, var(--accent-50), transparent 70%), var(--bg); border-bottom: 1px solid var(--border); }
.eroe .griglia-2 { align-items: center; }
.sopratitolo { display: inline-block; color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12.5px; margin-bottom: 14px; }
.eroe p.lead, p.lead { font-size: 1.2rem; color: var(--muted); max-width: 36em; }
.azioni { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.griglia-2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; }
.griglia-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .griglia-2, .griglia-3 { grid-template-columns: 1fr; gap: 32px; } section { padding: 72px 0; } }
.scheda { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.scheda .icona { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent); font-size: 22px; margin-bottom: 12px; }
.spunte { list-style: none; padding: 0; margin: 0 0 1em; }
.spunte li { padding-left: 30px; position: relative; margin-bottom: 10px; }
.spunte li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 14px; height: 8px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.titolo-sezione { max-width: 760px; margin-bottom: 44px; }
.titolo-sezione p { font-size: 1.12rem; }

/* Finto telefono (pagine interne) */
.telefono { width: 280px; max-width: 100%; margin: 0 auto; border-radius: 40px; border: 10px solid #0b1f33; background: var(--surface); box-shadow: var(--shadow-alta); padding: 24px 18px; }
.telefono .ora { font-size: 46px; font-weight: 750; text-align: center; font-variant-numeric: tabular-nums; color: var(--text); letter-spacing: -.02em; }
.telefono .data { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.telefono .timbra { display: block; width: 100%; padding: 16px; border-radius: 16px; background: var(--teal); color: #fff; font-weight: 700; text-align: center; margin-bottom: 14px; }
.telefono .riga { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-top: 1px solid var(--border); }

/* Passi (pagine interne) */
.passi { counter-reset: passo; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.passi li { list-style: none; counter-increment: passo; }
.passi li::before { content: counter(passo); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-weight: 700; margin-bottom: 10px; }
@media (max-width: 900px) { .passi { grid-template-columns: 1fr; } }
ol.passi { padding: 0; margin: 0; }

/* Domande frequenti */
details { border-bottom: 1px solid var(--border); padding: 20px 0; }
details:first-of-type { border-top: 1px solid var(--border); }
summary { cursor: pointer; font-weight: 650; font-size: 1.06rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--accent); line-height: 1; transition: transform .2s; flex: none; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 12px 0 0; color: var(--muted); max-width: 60ch; }

/* Fascia finale (pagine interne) */
.fascia { background: var(--notte); color: #fff; text-align: center; }
.fascia h2 { color: #fff; }
.fascia p { color: #c4d6ea; }
.fascia .bottone { background: #fff; color: var(--navy) !important; }

/* Piede */
.piede { padding: 44px 0; font-size: 14px; color: var(--muted); border-top: 1px solid var(--border); }
.piede .contenitore { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.piede a { color: var(--muted); }
.da-completare { background: #fff3cd; color: #6b4d00; padding: 0 4px; border-radius: 4px; }

/* =========================================================================
   Home — stile chiaro, apertura sul marchio e schermate reali
   ========================================================================= */
.home { background: var(--bg); }
.home .testata { background: color-mix(in srgb, var(--bg) 80%, transparent); }

/* Apertura: il marchio al centro */
.h-apertura { position: relative; min-height: calc(100svh - 70px); display: grid; place-items: center; text-align: center; padding: 72px 0 96px; overflow: hidden;
  background:
    radial-gradient(640px 420px at 18% 22%, color-mix(in srgb, var(--teal) 14%, transparent), transparent 70%),
    radial-gradient(720px 480px at 84% 78%, color-mix(in srgb, var(--sky) 12%, transparent), transparent 70%),
    var(--bg); }
.h-apertura::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(color-mix(in srgb, var(--navy) 16%, transparent) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 60% 55% at 50% 45%, #000 20%, transparent 75%); pointer-events: none; }
.h-apertura .contenitore { position: relative; }
.h-sigillo { display: inline-block; position: relative; margin-bottom: 44px; }
.h-sigillo img { display: block; width: min(560px, 82vw); height: auto; }
.h-sigillo::after { content: ""; position: absolute; left: 50%; bottom: -26px; width: 64px; height: 2px; transform: translateX(-50%); border-radius: 2px; background: linear-gradient(90deg, var(--teal), var(--sky)); }
.h-apertura h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.1; max-width: 18em; margin: 0 auto 18px; }
.h-apertura h1 em { font-style: normal; color: var(--accent); }
.h-apertura .lead { margin: 0 auto; max-width: 38em; font-size: clamp(1.05rem, 1.5vw, 1.22rem); }
.h-apertura .azioni { justify-content: center; margin-top: 32px; }
.h-garanzie { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; list-style: none; padding: 0; margin: 28px 0 0; font-size: 14.5px; color: var(--muted); }
.h-garanzie li { display: inline-flex; align-items: center; gap: 8px; }
.h-garanzie .icona-svg { width: 18px; height: 18px; color: var(--accent); }
.h-scorri { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: grid; justify-items: center; gap: 6px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.h-scorri i { width: 1px; height: 34px; background: linear-gradient(var(--muted), transparent); }
@media (max-width: 640px) { .h-apertura { min-height: auto; padding: 56px 0 72px; } .h-scorri { display: none; } }

/* Vetrina: schermata reale in una finestra, con il telefono accanto */
.h-vetrina { padding: 24px 0 110px; background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.h-palcoscenico { position: relative; max-width: 1080px; margin: 0 auto; padding-right: 90px; }
.finestra { border-radius: 14px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 1px 2px rgba(1,44,86,.06), 0 30px 80px -30px rgba(1,44,86,.35); overflow: hidden; }
.finestra .barra { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.finestra .barra i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-forte); }
.finestra .barra span { margin-left: 12px; font-size: 12px; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 3px 12px; }
.finestra img { display: block; width: 100%; height: auto; }
.cornice-telefono { width: 250px; border-radius: 40px; padding: 9px; background: #0c1726; box-shadow: 0 30px 70px -25px rgba(1,26,51,.55), inset 0 0 0 1.5px #2a3a50; }
.cornice-telefono .schermo { border-radius: 32px; overflow: hidden; aspect-ratio: 390 / 800; background: #fff; }
.cornice-telefono img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.h-palcoscenico .cornice-telefono { position: absolute; right: 0; bottom: -44px; }
.h-didascalia { text-align: center; color: var(--muted); font-size: 14px; margin: 70px 0 0; }
@media (max-width: 860px) { .h-palcoscenico { padding-right: 0; } .h-palcoscenico .cornice-telefono { position: relative; right: auto; bottom: auto; margin: -80px 16px 0 auto; width: 190px; } .h-didascalia { margin-top: 32px; } }

/* Cosa sostituisce */
.h-sostituisce { padding: 30px 0; border-block: 1px solid var(--border); background: var(--bg); }
.h-sostituisce .contenitore { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 34px; font-size: 15.5px; color: var(--muted); }
.h-sostituisce strong { color: var(--text); font-weight: 650; }
.h-sostituisce s { text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); text-decoration-thickness: 2px; }

/* Funzioni a righe alterne con schermate */
.h-righe { display: grid; gap: 120px; }
.h-riga { display: grid; grid-template-columns: 1fr 1.25fr; gap: 64px; align-items: center; }
.h-riga.inversa { grid-template-columns: 1.25fr 1fr; }
.h-riga.inversa .h-riga-testo { order: 2; }
.h-riga h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; margin-bottom: 14px; }
.h-riga p { color: var(--muted); font-size: 1.06rem; }
.h-riga .spunte { margin-top: 18px; }
.h-riga .spunte li { color: var(--text); font-size: 16px; }
.h-riga .collega { font-weight: 650; text-decoration: none; color: var(--accent); }
.h-riga .doppio { display: flex; justify-content: center; gap: 22px; align-items: flex-end; }
.h-riga .doppio .cornice-telefono:first-child { transform: translateY(28px); }
@media (max-width: 920px) { .h-riga, .h-riga.inversa { grid-template-columns: 1fr; gap: 32px; } .h-riga.inversa .h-riga-testo { order: 0; } .h-righe { gap: 80px; } .h-riga .doppio .cornice-telefono { width: 44%; } }

/* Altre funzioni */
.h-altre { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; margin-top: 110px; padding-top: 56px; border-top: 1px solid var(--border); }
.h-altre div { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 0 14px; }
.h-altre .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-50); color: var(--accent); grid-row: span 2; }
.h-altre h3 { font-size: 1.02rem; margin: 2px 0 4px; }
.h-altre p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 960px) { .h-altre { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .h-altre { grid-template-columns: 1fr; } }

/* Come funziona */
.h-passi { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: p; }
.h-passi li { counter-increment: p; position: relative; padding-top: 74px; }
.h-passi li::before { content: "0" counter(p); position: absolute; top: 0; left: 0; font-size: 52px; font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 25%, transparent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-passi li::after { content: ""; position: absolute; top: 26px; left: 86px; right: -12px; height: 1px; background: var(--border-forte); }
.h-passi li:last-child::after { display: none; }
.h-passi p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .h-passi { grid-template-columns: 1fr; gap: 36px; } .h-passi li::after { display: none; } }

/* Per chi */
.h-perchi { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.h-perchi article { position: relative; border-radius: 22px; padding: 36px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; }
.h-perchi article::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--teal), var(--sky)); }
.h-perchi h3 { font-size: 1.45rem; margin-bottom: 12px; }
.h-perchi p { color: var(--muted); }
.h-perchi .collega { font-weight: 650; text-decoration: none; color: var(--accent); }
@media (max-width: 900px) { .h-perchi { grid-template-columns: 1fr; } }

/* Sicurezza, versione chiara */
.h-garanzie-griglia { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.h-garanzie-griglia div { background: var(--surface); padding: 26px; }
.h-garanzie-griglia .icona-svg { color: var(--accent); width: 26px; height: 26px; margin-bottom: 14px; }
.h-garanzie-griglia b { display: block; font-size: 1.02rem; margin-bottom: 6px; }
.h-garanzie-griglia span { font-size: 15px; color: var(--muted); }
@media (max-width: 960px) { .h-garanzie-griglia { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .h-garanzie-griglia { grid-template-columns: 1fr; } }

/* Domande */
.h-domande { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .h-domande { grid-template-columns: 1fr; gap: 24px; } }

/* Invito finale, chiaro con il simbolo del marchio */
.h-invito { padding: 0 0 110px; }
.h-invito .pannello { position: relative; overflow: hidden; border-radius: 28px; padding: clamp(44px, 7vw, 84px); text-align: center; border: 1px solid var(--border);
  background: radial-gradient(520px 260px at 50% 0%, color-mix(in srgb, var(--teal) 16%, transparent), transparent 70%), var(--surface); box-shadow: var(--shadow); }
.h-invito .simbolo { width: 64px; height: 64px; margin: 0 auto 22px; display: block; }
.h-invito h2 { font-size: clamp(2rem, 4.4vw, 3rem); letter-spacing: -.035em; max-width: 16em; margin: 0 auto .4em; }
.h-invito p { color: var(--muted); font-size: 1.15rem; max-width: 34em; margin: 0 auto 30px; }
.h-invito .bottone { padding: 15px 28px; font-size: 17px; }

/* =========================================================================
   Pagina acquisto
   ========================================================================= */
.avviso-bozza { background: #fff3cd; color: #5c4200; border: 1px solid #f0d27a; border-radius: var(--radius); padding: 14px 18px; margin-bottom: 28px; font-size: 15px; }
.piani { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 32px; }
@media (max-width: 900px) { .piani { grid-template-columns: 1fr; } }
.piano { position: relative; cursor: pointer; }
.piano input { position: absolute; opacity: 0; }
.piano .scheda { height: 100%; transition: border-color .15s; }
.piano input:checked + .scheda { border: 2px solid var(--accent); }
.piano input:focus-visible + .scheda { outline: 3px solid var(--sky); }
.prezzo { font-size: 1.6rem; font-weight: 700; margin: 6px 0 12px; }
.modulo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .modulo { grid-template-columns: 1fr; } }
.modulo label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.modulo .intera { grid-column: 1 / -1; }
.modulo input, .modulo select { font: inherit; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); }
.modulo .spunta { flex-direction: row; align-items: flex-start; font-weight: 400; }
.riepilogo { margin-top: 28px; }
.riepilogo table { width: 100%; border-collapse: collapse; }
.riepilogo td { padding: 8px 0; border-bottom: 1px solid var(--border); }
.riepilogo td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.riepilogo tr.totale td { font-weight: 700; border-bottom: 0; }
.segmenti { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; padding: 4px; margin-bottom: 20px; }
.segmenti label { padding: 6px 16px; border-radius: 999px; cursor: pointer; font-size: 15px; }
.segmenti input { position: absolute; opacity: 0; }
.segmenti label:has(input:checked) { background: var(--brand); color: var(--on-brand); }


/* Notizie (pagina generata da strumenti/genera_notizie.py) */
.elenco-notizie { max-width: 860px; display: grid; gap: 18px; }
.notizia h2 { font-size: 1.25rem; margin: 10px 0 8px; }
.notizia h2 a { color: var(--text); text-decoration: none; }
.notizia h2 a:hover { color: var(--accent); }
.notizia-testa { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 14px; }
.notizia-testa time { font-weight: 600; }
.etichetta { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--accent-50); color: var(--accent); }
.etichetta-app { background: #e6f1fd; color: #0067bd; }
.etichetta-importante { background: #fff3cd; color: #6b4d00; }
.aggiornamenti { margin: 12px 0 0; padding-left: 20px; }
.aggiornamenti li { margin-bottom: 10px; color: var(--text); font-size: 15px; }

/* =========================================================================
   Gruppo A (22/10/2026): prodotto subito visibile, senza GPS, confronto,
   ultime notizie in home, pagine interne con lo stesso stile della home
   ========================================================================= */
.menu a[aria-current="page"] { color: var(--accent); }

/* Apertura più bassa: il prodotto entra nella prima schermata */
.h-apertura.compatta { min-height: auto; padding: 72px 0 36px; }
.h-apertura.compatta + .h-vetrina { padding-top: 8px; }

/* Senza GPS: fascia scura */
.h-nogps { background: var(--notte); color: #dbe7f3; position: relative; overflow: hidden; }
.h-nogps::before { content: ""; position: absolute; inset: 0; background: radial-gradient(620px 360px at 85% 20%, color-mix(in srgb, var(--teal) 30%, transparent), transparent 70%); pointer-events: none; }
.h-nogps .contenitore { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.h-nogps h2 { color: #fff; }
.h-nogps .sopratitolo { color: var(--teal-chiaro); }
.h-nogps p { color: #b9cde2; font-size: 1.08rem; }
.h-nogps .punti { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 16px; }
.h-nogps .punti li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.h-nogps .punti .icona-svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(79,182,196,.14); color: var(--teal-chiaro); }
.h-nogps .punti b { color: #fff; display: block; }
.h-nogps .bottone { background: #fff; color: var(--navy) !important; }
.h-nogps .cornice-telefono { margin: 0 auto; }
@media (max-width: 900px) { .h-nogps .contenitore { grid-template-columns: 1fr; gap: 40px; } }

/* Confronto: perché Orevia */
.confronto-box { overflow-x: auto; border: 1px solid var(--border); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow); }
.confronto { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
.confronto th, .confronto td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.confronto tr:last-child td { border-bottom: 0; }
.confronto thead th { font-size: 14px; color: var(--muted); font-weight: 650; background: var(--bg-2); }
.confronto thead th.noi { color: var(--accent); }
.confronto td.noi { background: color-mix(in srgb, var(--accent) 7%, transparent); font-weight: 600; }
.confronto tbody th { font-weight: 650; width: 26%; }
.confronto .si { color: var(--accent); font-weight: 700; }
.confronto .no { color: var(--muted); }
.nota { font-size: 14px; color: var(--muted); margin-top: 14px; }

/* Ultime notizie in home */
.h-notizie { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-notizie a { display: block; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 24px; transition: transform .15s, box-shadow .15s; }
.h-notizie a:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.h-notizie time { font-size: 13.5px; color: var(--muted); }
.h-notizie b { display: block; margin: 10px 0 8px; font-size: 1.05rem; line-height: 1.3; color: var(--text); }
.h-notizie span { color: var(--muted); font-size: 15px; }
.h-tutte { margin-top: 22px; font-weight: 650; text-decoration: none; color: var(--accent); display: inline-block; }
@media (max-width: 900px) { .h-notizie { grid-template-columns: 1fr; } }

/* Pagine interne con lo stile della home */
.p-apertura { padding: 80px 0 72px; border-bottom: 1px solid var(--border);
  background: radial-gradient(640px 420px at 10% 0%, color-mix(in srgb, var(--teal) 12%, transparent), transparent 70%),
              radial-gradient(720px 480px at 95% 100%, color-mix(in srgb, var(--sky) 10%, transparent), transparent 70%), var(--bg); }
.p-apertura .contenitore { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.p-apertura h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); }
.p-apertura h1 em { font-style: normal; color: var(--accent); }
.p-apertura .visual { display: flex; justify-content: center; gap: 20px; align-items: flex-end; }
.p-apertura .visual .cornice-telefono:nth-child(2) { transform: translateY(-26px); }
.p-apertura .h-garanzie { justify-content: flex-start; }
@media (max-width: 900px) { .p-apertura .contenitore { grid-template-columns: 1fr; gap: 40px; } .p-apertura .visual .cornice-telefono { width: 46%; } }
.testo-lungo { max-width: 780px; }
.testo-lungo h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 1.6em; }
.testo-lungo h2:first-child { margin-top: 0; }
.testo-lungo p, .testo-lungo li { color: var(--muted); font-size: 1.05rem; }
.testo-lungo strong { color: var(--text); }
.citazione { border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; margin: 18px 0; color: var(--text); font-style: italic; }
.avvertenza { background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px; padding: 16px 20px; font-size: 15px; color: var(--muted); }
.registra { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.registra > div { border: 1px solid var(--border); border-radius: 18px; padding: 24px; background: var(--surface); }
.registra h3 { display: flex; gap: 10px; align-items: center; }
.registra .icona-svg { color: var(--accent); }
.registra ul { margin: 0; padding-left: 20px; }
@media (max-width: 760px) { .registra { grid-template-columns: 1fr; } }
.confronto.piano-turni { min-width: 0; font-size: 13px; }
.confronto.piano-turni th, .confronto.piano-turni td { padding: 9px 10px; white-space: nowrap; }
.p-apertura .contenitore > * { min-width: 0; }
.scorri-x { overflow-x: auto; }
/* Logo della home in formato ridotto (scelta del 22/10/2026): marchio in evidenza, prodotto ancora visibile */
.h-apertura.compatta { padding-top: 56px; }
.h-apertura.compatta .h-sigillo { margin-bottom: 34px; }
.h-apertura.compatta .h-sigillo img { width: min(300px, 62vw); }
.h-apertura.compatta .h-sigillo::after { bottom: -18px; width: 48px; }
/* Punto finale del titolo nell'azzurro del logo (#0081EB); più chiaro nel tema scuro per restare leggibile */
.punto { color: var(--sky); }
@media (prefers-color-scheme: dark) { .punto { color: #4ba8ff; } }
