/* =========================================================
   Navigabene - Verifica copertura v2
   ========================================================= */
:root {
    --blue: #0d5ba6;
    --blue-600: #0a4a88;
    --blue-50: #eaf3fc;
    --orange: #ff8c00;
    --orange-600: #e67a00;
    --orange-text: #b85a00;
    --orange-50: #fff4e5;
    --ink: #16202c;
    --ink-2: #4a5565;
    --ink-3: #7a8494;
    --line: #e3e8ef;
    --bg: #f4f6fa;
    --surface: #ffffff;
    --ok: #17914f;
    --ok-50: #e8f6ee;
    --ko: #cf3b3b;
    --ko-50: #fdecec;
    --radius: 18px;
    --radius-sm: 11px;
    --shadow-sm: 0 1px 2px rgba(16, 32, 56, .06), 0 1px 3px rgba(16, 32, 56, .08);
    --shadow: 0 18px 40px -18px rgba(16, 32, 56, .28), 0 2px 6px rgba(16, 32, 56, .06);
    --font: 'Exo 2', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main { flex: 1; }
/* immagini non trascinabili (Chrome/Edge/Safari; per Firefox ci pensa lo script) */
img { max-width: 100%; display: block; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
a { color: var(--blue); }
em { font-style: normal; color: var(--orange); }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.icon { width: 1.1em; height: 1.1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Topbar ---------- */
.topbar { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand img { height: 38px; width: auto; }
.topbar-link { font-weight: 600; font-size: 14px; text-decoration: none; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: center; }
.topbar-link:hover { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 600 15px/1 var(--font);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--btn-bd);
    background: var(--btn-bg); color: var(--btn-fg);
    cursor: pointer; text-decoration: none;
    transition: background-color .15s, border-color .15s, transform .1s, box-shadow .15s, opacity .15s;
    white-space: nowrap;
}
.btn:hover { --btn-bd: #cdd5e0; background: #f8fafc; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid rgba(13, 91, 166, .35); outline-offset: 2px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn-primary { --btn-bg: var(--blue); --btn-fg: #fff; --btn-bd: var(--blue); }
.btn-primary:hover { background: var(--blue-600); border-color: var(--blue-600); }
.btn-cta { --btn-bg: var(--orange); --btn-fg: #fff; --btn-bd: var(--orange); box-shadow: 0 8px 20px -10px rgba(255, 140, 0, .9); }
.btn-cta:hover { background: var(--orange-600); border-color: var(--orange-600); }
.btn-cta[disabled] { box-shadow: none; }
.btn-success { --btn-bg: var(--ok); --btn-fg: #fff; --btn-bd: var(--ok); }
.btn-success:hover { background: #127a42; border-color: #127a42; }
.btn-ghost { --btn-bg: transparent; --btn-bd: transparent; color: var(--blue); padding-left: 8px; padding-right: 8px; }
.btn-ghost:hover { background: var(--blue-50); border-color: transparent; }
.btn-lg { font-size: 17px; padding: 16px 22px; border-radius: 13px; }
.btn-block { width: 100%; }

/* ---------- Hero / search ---------- */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(900px 420px at 85% -10%, rgba(255, 140, 0, .14), transparent 60%),
        radial-gradient(800px 500px at -10% 110%, rgba(13, 91, 166, .14), transparent 60%),
        linear-gradient(180deg, #fff 0%, var(--bg) 100%);
    padding: 56px 0 64px;
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow {
    display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--blue); background: var(--blue-50); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 900; letter-spacing: -.02em; }
.hero-lead { margin-top: 16px; font-size: 18px; color: var(--ink-2); max-width: 30em; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.hero-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-2); }
.hero-points .icon { color: var(--ok); background: var(--ok-50); border-radius: 50%; padding: 4px; width: 26px; height: 26px; stroke-width: 3; }

.search-card {
    background: var(--surface);
    border-radius: 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(227, 232, 239, .8);
    padding: 30px;
}
.search-card h2 { font-size: 22px; font-weight: 800; }
.search-card .sub { color: var(--ink-3); font-size: 14px; margin: 4px 0 22px; }

.step { position: relative; padding-left: 46px; padding-bottom: 20px; transition: opacity .2s; }
.step::before { /* linea di collegamento */
    content: ""; position: absolute; left: 15px; top: 36px; bottom: 4px; width: 2px;
    background: var(--line); border-radius: 2px;
}
.step:last-of-type::before { display: none; }
.step.is-done::before { background: var(--ok); }
.step-n {
    position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 14px;
    background: var(--orange); color: #fff; transition: background-color .2s;
}
.step-n .icon { display: none; stroke-width: 3; width: 16px; height: 16px; }
.step.is-done .step-n { background: var(--ok); }
.step.is-done .step-n span { display: none; }
.step.is-done .step-n .icon { display: block; }
.step.is-disabled .step-n { background: #c9d1dc; }
.step.is-disabled label, .step.is-disabled .hint { opacity: .55; }
.step label { display: block; font-weight: 700; margin: 4px 0 8px; }

.ac { position: relative; }
.input {
    width: 100%;
    font: 500 16px/1.3 var(--font);
    color: var(--ink);
    padding: 14px 44px 14px 16px;
    border-radius: var(--radius-sm);
    border: 1.5px solid var(--line);
    background: #f8fafc;
    transition: border-color .15s, box-shadow .15s, background-color .15s;
    appearance: none;
}
.input::placeholder { color: #9aa3b1; }
.input:hover:not(:disabled) { border-color: #cbd3de; }
.input:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(13, 91, 166, .12); }
.input:disabled { cursor: not-allowed; background: #f1f3f6; }
.step.is-done .input { border-color: rgba(23, 145, 79, .45); background: #fff; }

.ac-spinner {
    position: absolute; right: 14px; top: 50%; width: 18px; height: 18px; margin-top: -9px;
    border-radius: 50%; border: 2.5px solid var(--line); border-top-color: var(--orange);
    animation: spin .7s linear infinite; display: none;
}
.ac.is-loading .ac-spinner { display: block; }

.ac-list {
    position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 6px);
    margin: 0; padding: 6px; list-style: none;
    background: #fff; border: 1px solid var(--line); border-radius: 13px;
    box-shadow: var(--shadow);
    max-height: 290px; overflow-y: auto; overscroll-behavior: contain;
}
.ac-list li {
    display: block; padding: 10px 12px; margin: 0; border-radius: 8px; cursor: pointer;
    font-size: 15px; letter-spacing: normal; word-spacing: normal; white-space: normal; text-align: left;
}
.ac-list li[aria-selected="true"] { background: var(--blue-50); color: var(--blue-600); }
.ac-list li.ac-empty { cursor: default; color: var(--ink-3); font-size: 14px; }
/* !important: neutralizza gli stili di <mark> di Bootstrap o del portale ospitante */
.ac-list mark {
    display: inline !important; padding: 0 !important; margin: 0 !important; border: 0 !important;
    background: none !important; color: inherit !important; font: inherit; font-weight: 800;
    letter-spacing: inherit !important; word-spacing: inherit !important;
}

.hint { font-size: 13px; color: var(--ink-3); margin-top: 7px; }
.status { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; margin-top: 7px; min-height: 20px; }
.status.is-loading { color: var(--ink-3); }
.status.is-ok { color: var(--ok); }
.status.is-error { color: var(--ko); }
.status .mini-spin { width: 13px; height: 13px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--orange); animation: spin .7s linear infinite; }

.search-card .btn-cta { margin-top: 6px; }
.search-note { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 13px; color: var(--ink-3); margin-top: 14px; }

/* ---------- Benefits ---------- */
.section { padding: 64px 0; }
.section-title { text-align: center; font-size: clamp(26px, 3.5vw, 36px); font-weight: 900; margin-bottom: 36px; }
.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.benefit {
    background: var(--surface); border-radius: var(--radius); padding: 28px;
    box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    transition: transform .2s, box-shadow .2s;
}
.benefit:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.benefit-ico { width: 64px; height: 64px; border-radius: 16px; background: var(--orange-50); display: grid; place-items: center; margin-bottom: 18px; }
.benefit-ico img { width: 44px; height: 44px; }
.benefit h3 { font-size: 20px; font-weight: 800; margin-bottom: 10px; }
.benefit p { color: var(--ink-2); font-size: 15px; }
.benefit p + p { margin-top: 10px; }

/* ---------- Che tecnologie supportiamo? ---------- */
:root { --fiber: #1fa45a; }
.tx-section { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tx-section .section-title { margin-bottom: 10px; }
.tx-lead { text-align: center; color: var(--ink-2); max-width: 36em; margin: 0 auto 32px; }
.tx { display: grid; gap: 16px; }
.tx-row {
    display: grid; grid-template-columns: minmax(260px, 340px) 1fr; gap: 32px; align-items: center;
    background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 26px;
}
.tx-info { display: flex; gap: 14px; align-items: flex-start; }
.tx-info img { width: 46px; height: 46px; flex: none; }
.tx-info h3 { font-size: 19px; font-weight: 900; }
.tx-info h3 span { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-left: 4px; }
.tx-info p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.tx-speed { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 800; color: var(--blue); background: var(--blue-50); padding: 3px 10px; border-radius: 999px; }
.tx-ends { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.tx-line svg { display: block; width: 100%; height: auto; overflow: visible; }
.tx-ico { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.tx-cab { stroke: var(--orange-600); }
.ln { fill: none; stroke-width: 7; stroke-linecap: round; }
.ln-fiber { stroke: var(--fiber); }
.ln-copper { stroke: var(--orange); }
/* radio: cerchi veri (non un tratteggio) così restano regolari anche rimpiccioliti su telefono;
   il gruppo scorre di un passo (16 unità) e si ripete, ritagliato tra antenna e casa */
.radio-dots { fill: var(--orange); animation: tx-radio 1s linear infinite; }
/* impulsi: le linee hanno pathLength=100; offset 5 = impulso prima dell'inizio, -105 = dopo la fine.
   Stesso ciclo (3.2s) per tutte, così FTTC parte in sequenza: fibra veloce, poi rame lento */
.pulse { fill: none; stroke: #fff; stroke-opacity: .9; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 5 200; stroke-dashoffset: 5; animation: 3.2s linear infinite; }
.p-ftth { animation-name: tx-ftth; }
.p-fiber { animation-name: tx-fiber; }
.p-copper { animation-name: tx-copper; }
/* fibra ~340 unità/s: FTTH percorre 488 unità in ~1.4s */
@keyframes tx-ftth { 0% { stroke-dashoffset: 5; } 44% { stroke-dashoffset: -105; } 100% { stroke-dashoffset: -105; } }
/* FTTC: fibra (220 unità) in ~0.65s, alla stessa velocità di FTTH... */
@keyframes tx-fiber { 0% { stroke-dashoffset: 5; } 20% { stroke-dashoffset: -105; } 100% { stroke-dashoffset: -105; } }
/* ...poi il rame parte solo quando la fibra è arrivata all'armadio, circa 3 volte più lento */
@keyframes tx-copper { 0%, 20% { stroke-dashoffset: 5; } 85% { stroke-dashoffset: -105; } 100% { stroke-dashoffset: -105; } }
@keyframes tx-radio { from { transform: translateX(0); } to { transform: translateX(16px); } }
.tx-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 20px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.tx-legend span { display: inline-flex; align-items: center; gap: 8px; }
/* 32px = 4 pallini interi da 8px per la radio (con 30px l'ultimo veniva tagliato) */
.tx-legend i { display: inline-block; width: 32px; height: 6px; border-radius: 3px; flex: none; }
.lg-fiber { background: var(--fiber); }
.lg-copper { background: var(--orange); }
/* radio: 4 pallini tondi e distanziati, come nello schema */
.lg-radio {
    border-radius: 0;
    background: radial-gradient(circle at 4px 3px, var(--orange) 2.6px, transparent 3px) 0 0 / 8px 6px repeat-x;
}

/* ---------- Results ---------- */
.results { padding: 28px 0 64px; }
.results-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 26px; }
.addr-chip {
    display: inline-flex; align-items: center; gap: 8px; max-width: 100%;
    background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
    padding: 9px 16px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm);
}
.addr-chip .icon { color: var(--orange); }
.addr-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.results-intro { text-align: center; margin-bottom: 30px; }
.results-intro .ok-badge { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok-50); color: var(--ok); margin-bottom: 14px; }
.results-intro .ok-badge .icon { width: 28px; height: 28px; stroke-width: 3; }
.results-intro h1 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; }
.results-intro p { color: var(--ink-2); margin-top: 8px; font-size: 17px; }

/* flex centrato: con 1 o 2 tecnologie le schede stanno al centro, max 3 per riga */
.tech-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.tech-card {
    flex: 1 1 290px; max-width: calc((100% - 40px) / 3);
    position: relative; display: flex; flex-direction: column;
    background: var(--surface); border-radius: var(--radius); padding: 24px;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .2s, box-shadow .2s, border-color .2s;
    animation: rise .4s both;
}
.tech-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.tech-card.is-top { border: 2px solid var(--orange); }
.top-flag {
    position: absolute; top: -12px; right: 18px; background: var(--orange); color: #fff;
    font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    padding: 5px 11px; border-radius: 999px; box-shadow: 0 6px 14px -6px rgba(255, 140, 0, .9);
}
.tech-head { display: flex; align-items: center; gap: 14px; }
.tech-head img { width: 54px; height: 54px; object-fit: contain; }
.tech-head h2 { font-size: 21px; font-weight: 900; }
.tech-head p { font-size: 14px; color: var(--ink-3); }
.tech-speed { margin: 22px 0 8px; display: flex; align-items: baseline; gap: 6px; }
.tech-speed small { color: var(--ink-3); font-weight: 600; font-size: 14px; }
.tech-speed strong { font-size: 44px; font-weight: 900; line-height: 1; color: var(--blue); letter-spacing: -.02em; }
.tech-speed span { font-weight: 700; color: var(--blue); }
.speed-bar { height: 8px; background: #edf1f6; border-radius: 99px; overflow: hidden; }
.speed-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), #2f8be0); transform-origin: left; animation: grow .9s cubic-bezier(.2, .7, .2, 1) both .15s; }
.tech-price { margin: 20px 0 4px; font-size: 15px; color: var(--ink-2); }
.tech-price strong { font-size: 28px; font-weight: 900; color: var(--orange-text); }
.tech-meta { font-size: 13px; color: var(--ink-3); margin-bottom: 18px; }
.tech-card .btn { margin-top: auto; }

.help-strip {
    margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
    background: linear-gradient(120deg, var(--blue) 0%, #1673c9 100%); color: #fff;
    border-radius: var(--radius); padding: 24px 28px;
}
.help-strip h3 { font-size: 20px; font-weight: 800; }
.help-strip p { opacity: .85; font-size: 15px; margin-top: 2px; }
.help-strip .btn { --btn-bg: #fff; --btn-fg: var(--blue); --btn-bd: #fff; }
.help-strip .btn:hover { background: var(--orange-50); }

/* Easter egg: sede Navigabene */
.egg {
    position: relative; overflow: hidden; max-width: 760px; margin: 0 auto 30px; text-align: center;
    background: linear-gradient(135deg, var(--blue-50) 0%, #fff 55%, var(--orange-50) 100%);
    border: 2px solid var(--orange); border-radius: 22px; padding: 30px 32px; box-shadow: var(--shadow);
    animation: rise .5s both;
}
.egg-ico { font-size: 44px; line-height: 1; display: inline-block; animation: egg-pulse 1.6s ease-in-out infinite; }
.egg h1 { font-size: clamp(22px, 3.4vw, 30px); font-weight: 900; margin: 12px 0 14px; }
.egg p { color: var(--ink-2); font-size: 16px; max-width: 38em; margin: 0 auto; }
.egg p + p { margin-top: 10px; }
.egg .egg-claim { margin-top: 16px; font-weight: 800; color: var(--blue); font-size: 17px; }
@keyframes egg-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }

/* No coverage */
.nocov { max-width: 680px; margin: 0 auto; background: var(--surface); border-radius: 22px; padding: 36px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.nocov-head { text-align: center; margin-bottom: 26px; }
.nocov-head img { margin: 0 auto 14px; height: 90px; width: auto; }
.nocov-head h1 { font-size: 30px; font-weight: 900; }
.nocov-head p { color: var(--ink-2); margin-top: 8px; }

/* ---------- Contact form ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.fld label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
.fld .input { padding-right: 16px; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%237a8494' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }
.input:user-invalid { border-color: var(--ko); }
.privacy { font-size: 13px; color: var(--ink-3); margin: 6px 0 2px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange); flex: none; }

/* ---------- Dialogs ---------- */
dialog {
    padding: 0; border: 0; border-radius: 22px; background: var(--surface); color: var(--ink);
    width: min(640px, calc(100% - 24px)); max-height: calc(100% - 32px);
    box-shadow: 0 30px 80px -20px rgba(10, 25, 50, .45);
}
dialog.dlg-wide { width: min(860px, calc(100% - 24px)); }
dialog.dlg-small { width: min(420px, calc(100% - 24px)); }
dialog::backdrop { background: rgba(14, 24, 40, .55); backdrop-filter: blur(3px); }
dialog[open] { animation: pop .22s cubic-bezier(.2, .8, .3, 1.1); }
dialog[open]::backdrop { animation: fade .2s ease; }
.dlg { display: flex; flex-direction: column; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); }
.dlg-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.dlg-head img { width: 44px; height: 44px; object-fit: contain; }
.dlg-head h2 { font-size: 20px; font-weight: 800; }
.dlg-head p { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.dlg-head > div { flex: 1; min-width: 0; }
.dlg-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f1f4f8; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; flex: none; }
.dlg-close:hover { background: #e4e9f0; color: var(--ink); }
.dlg-body { padding: 22px 24px 26px; overflow-y: auto; overscroll-behavior: contain; }
.dlg-body.is-muted { background: var(--bg); }

/* Offer card */
.offer {
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-sm);
    animation: rise .35s both;
}
.offer + .offer { margin-top: 16px; }
.offer-main { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.offer-main h3 { font-size: 19px; font-weight: 900; }
.offer-carrier { font-size: 13px; color: var(--ink-3); margin-top: 3px; }
.offer-carrier strong { color: var(--ink-2); }
.offer-price { font-size: 38px; font-weight: 900; color: var(--orange-text); line-height: 1; letter-spacing: -.02em; }
.offer-price small { font-size: 15px; color: var(--ink-3); font-weight: 600; letter-spacing: 0; }
.offer-price.is-request { font-size: 26px; }
.offer-activation { font-size: 13px; color: var(--ink-3); }
.offer-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.offer-actions .btn { flex: 1 1 auto; }
.offer-side { background: #f8fafc; border-left: 1px solid var(--line); padding: 22px; }
.speeds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.speed { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.speed-lbl { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-3); }
.speed-lbl .icon { color: var(--blue); stroke-width: 2.6; }
.speed-val { font-size: 24px; font-weight: 900; color: var(--blue); line-height: 1.1; margin-top: 4px; }
.speed-val small { font-size: 13px; font-weight: 700; margin-left: 2px; }
.features { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.features li { display: flex; gap: 8px; align-items: flex-start; }
.features .icon { margin-top: 2px; border-radius: 50%; padding: 3px; width: 19px; height: 19px; stroke-width: 3.2; }
.features .is-ok .icon { color: var(--ok); background: var(--ok-50); }
.features .is-ko .icon { color: var(--ko); background: var(--ko-50); }
.notice { margin-top: 16px; display: flex; gap: 10px; background: var(--orange-50); border: 1px solid #ffd9a8; color: #7a4100; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.notice .icon { color: var(--orange-600); margin-top: 2px; }

/* Vista semplice / tutte le offerte */
.offers-intro { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-2); margin-bottom: 14px; }
.offers-intro .icon { color: var(--ok); background: var(--ok-50); border-radius: 50%; padding: 3px; width: 22px; height: 22px; stroke-width: 3; }
.offers-toggle {
    display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 16px;
    font: 600 15px/1.3 var(--font); color: var(--blue); background: transparent;
    border: 1.5px dashed #c5d3e3; border-radius: var(--radius-sm); padding: 14px; cursor: pointer;
    transition: background-color .15s, border-color .15s;
}
.offers-toggle:hover { background: var(--blue-50); border-color: var(--blue); }
.offers-toggle:focus-visible { outline: 3px solid rgba(13, 91, 166, .35); outline-offset: 2px; }
.rec-chip {
    display: inline-block; vertical-align: middle; margin-left: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    color: #fff; background: var(--orange); padding: 3px 8px; border-radius: 999px;
}

/* Alert */
.alert-body { text-align: center; padding: 30px 26px 26px; }
.alert-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 16px; background: var(--ko-50); color: var(--ko); }
.alert-ico.is-warn { background: var(--orange-50); color: var(--orange-600); }
.alert-ico.is-ok { background: var(--ok-50); color: var(--ok); }
.alert-ico.is-ok .icon { stroke-width: 3; }
.alert-ico .icon { width: 30px; height: 30px; }
.alert-body h2 { font-size: 22px; font-weight: 800; }
.alert-body p { color: var(--ink-2); margin: 10px 0 22px; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(244, 246, 250, .86); backdrop-filter: blur(6px); animation: fade .2s ease; padding: 20px; }
.loader-card { text-align: center; max-width: 420px; }
.radar { position: relative; width: 120px; height: 120px; margin: 0 auto 24px; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 3px solid var(--orange); opacity: 0; animation: ripple 2.1s cubic-bezier(.2, .6, .4, 1) infinite; }
.radar span:nth-child(2) { animation-delay: .7s; }
.radar span:nth-child(3) { animation-delay: 1.4s; }
.radar b { position: absolute; inset: 34px; border-radius: 50%; background: var(--orange); display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -8px rgba(255, 140, 0, .9); }
.radar b .icon { width: 26px; height: 26px; }
.loader h2 { font-size: 24px; font-weight: 900; }
.loader p { color: var(--ink-2); margin-top: 6px; }
.loader .loader-step { font-size: 14px; color: var(--ink-3); margin-top: 14px; min-height: 22px; transition: opacity .25s; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding: 22px 0; font-size: 14px; color: var(--ink-3); }
.footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }

/* ---------- Animations ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes grow { from { transform: scaleX(0); } }
@keyframes ripple { 0% { transform: scale(.35); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .tech-card { max-width: calc((100% - 20px) / 2); }
    .hero { padding: 32px 0 44px; }
    .hero-inner { grid-template-columns: 1fr; gap: 28px; }
    .hero-points { display: none; }
    .benefit-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .tech-card { max-width: 100%; }
    .tx-row { grid-template-columns: 1fr; gap: 14px; padding: 18px; }
    .offer { grid-template-columns: 1fr; }
    .offer-side { border-left: 0; border-top: 1px solid var(--line); }
    .offer-actions { order: 5; }
}
@media (max-width: 560px) {
    .wrap { padding: 0 16px; }
    .topbar .wrap { height: 60px; }
    .brand img { height: 32px; }
    .topbar-link span { display: none; }
    .hero-lead { font-size: 16px; }
    .search-card { padding: 22px 18px; border-radius: 18px; }
    .section { padding: 44px 0; }
    .form-grid { grid-template-columns: 1fr; }
    .nocov { padding: 24px 18px; }
    .egg { padding: 24px 18px; }
    .results-head .addr-chip { width: 100%; }
    .dlg-head { padding: 16px 18px; }
    .dlg-body { padding: 18px; }
    dialog { width: calc(100% - 16px); border-radius: 18px; }
    .help-strip { padding: 22px; }
    .help-strip .btn { width: 100%; }
}
