/* PeekinCity Energia — palette dal logo */
:root {
  --navy: #1b2655;
  --navy-2: #283a7a;
  --mint: #53d2ad;
  --mint-dark: #25a07c;
  --mint-soft: #e7f8f2;
  --ink: #1d2433;
  --muted: #667085;
  --line: #e4e8f0;
  --bg: #ffffff;
  --bg-alt: #f5f8fc;
  --danger: #c0392b;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(27, 38, 85, .12);
  --shadow-sm: 0 6px 20px rgba(27, 38, 85, .07);
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Roboto', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--font-body); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; margin: 0; color: var(--navy); }
p { margin: 0; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }
.center { text-align: center; }
.ico { flex: none; }

/* ---------------- Navigazione */
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo img { display: block; width: 180px; height: auto; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: .98rem; }
.nav-links a:hover { color: var(--mint-dark); }
@media (max-width: 860px) { .nav-links { display: none; } .nav-in .btn { margin-left: auto; } }

/* ---------------- Bottoni */
.btn { font: 600 1.02rem var(--font-head); border: 0; border-radius: 14px; padding: 15px 24px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; transition: transform .12s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-cta { background: var(--mint); color: var(--navy); box-shadow: 0 10px 24px rgba(83, 210, 173, .38); }
.btn-cta:hover { background: #45c9a1; box-shadow: 0 14px 30px rgba(83, 210, 173, .5); }
.btn-cta:disabled { opacity: .6; }
.btn-soft { background: var(--bg-alt); color: var(--navy); border: 1px solid var(--line); }
.btn-soft:hover { background: #edf2f8; }
.btn-sm { padding: 11px 18px; font-size: .92rem; }
.btn-lg { padding: 18px 28px; font-size: 1.1rem; }
.btn-block { width: 100%; }
.link { background: none; border: 0; color: var(--muted); font: 500 .95rem var(--font-body); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 10px 4px; }
.link:hover { color: var(--navy); }
.link.small { font-size: .85rem; display: block; margin: 6px auto 0; }

/* ---------------- Hero */
.hero { position: relative; overflow: hidden; padding: 64px 0 80px; background:
  radial-gradient(900px 500px at 85% 10%, rgba(83, 210, 173, .22), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(40, 58, 122, .08), transparent 60%),
  linear-gradient(180deg, #f7fbff 0%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: start; }
.hero-copy { padding-top: 26px; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); color: var(--navy); font: 500 .88rem var(--font-body); padding: 7px 14px; border-radius: 99px; box-shadow: var(--shadow-sm); }
.pill .ico { color: var(--mint-dark); }
.hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); letter-spacing: -.025em; margin: 22px 0 18px; }
.hero h1 span { color: var(--mint-dark); }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 32em; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.hero-points li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--navy); }
.hero-points .ico { color: #fff; background: var(--mint-dark); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
@media (max-width: 960px) {
  .hero { padding: 32px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero h1 { margin: 16px 0 12px; }
  .hero-points { display: none; }
}

/* ---------------- Card calcolatore */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(228, 232, 240, .8); }
.app { padding: 34px 30px; position: relative; }
.app::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 90px; height: 90px; border-radius: 26px; background: var(--mint); opacity: .18; z-index: -1; transform: rotate(12deg); }
.step { animation: in .35s ease-out; }
@keyframes in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step > h2 { font-size: 1.55rem; margin-bottom: 6px; }
.step > .muted { margin-bottom: 22px; }
@media (max-width: 560px) { .app { padding: 26px 18px; } }

.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; border: 2px dashed #b8e7d8; background: linear-gradient(180deg, #f3fcf8, #fff); border-radius: 18px; padding: 30px 16px; cursor: pointer; transition: .2s; }
.drop:hover, .drop.drop-over { border-color: var(--mint-dark); background: var(--mint-soft); }
.drop strong { font: 600 1.15rem var(--font-head); color: var(--navy); }
.drop small { color: var(--muted); font-size: .9rem; }
.drop-ico { width: 60px; height: 60px; border-radius: 18px; background: var(--mint); color: var(--navy); display: grid; place-items: center; margin-bottom: 6px; box-shadow: 0 10px 20px rgba(83, 210, 173, .35); }
.start-illu { width: 76px; height: 76px; border-radius: 22px; background: var(--mint-soft); color: var(--mint-dark); display: grid; place-items: center; margin: 4px auto 22px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .88rem; margin: 16px 0; }
.or::before, .or::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.secure { display: flex; align-items: center; gap: 7px; justify-content: center; color: var(--muted); font-size: .8rem; margin-top: 18px; text-align: center; }
.secure.center { justify-content: center; }

/* Form */
.field { margin: 12px 0; position: relative; }
input:not([type=checkbox]):not([type=radio]) { width: 100%; height: 56px; font: 500 1.02rem var(--font-body); padding: 0 16px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
input:focus { outline: none; border-color: var(--mint-dark); box-shadow: 0 0 0 4px rgba(83, 210, 173, .18); }
.suffix { position: relative; }
.suffix span { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .92rem; pointer-events: none; }
.note { color: var(--muted); font-size: .94rem; margin: 0 0 14px; }
.form-error { color: var(--danger); font-size: .93rem; margin: 4px 0 10px; }
.form-links { display: flex; justify-content: space-between; margin-top: 6px; }
.hp { position: absolute !important; left: -9999px; }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 13px; padding: 4px; margin: 14px 0; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 11px 4px; border-radius: 10px; font: 600 .96rem var(--font-head); color: var(--muted); cursor: pointer; transition: .15s; }
.seg input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 2px 10px rgba(27, 38, 85, .1); }
.seg input:focus-visible + span { outline: 2px solid var(--mint-dark); }

.ac-list { position: absolute; z-index: 10; left: 0; right: 0; top: 100%; margin: 6px 0 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 250px; overflow: auto; }
.ac-list li { padding: 11px 12px; border-radius: 9px; cursor: pointer; }
.ac-list li[aria-selected=true], .ac-list li:hover { background: var(--mint-soft); }

.people { margin: 8px 0 18px; text-align: center; }
.people p { margin: 0 0 10px; color: var(--muted); font-size: .92rem; }
.chips { display: flex; justify-content: center; gap: 8px; }
.chips input { position: absolute; opacity: 0; }
.chips span { display: grid; place-items: center; width: 52px; height: 46px; border-radius: 11px; border: 1.5px solid var(--line); font: 600 1rem var(--font-head); color: var(--navy); cursor: pointer; background: #fff; transition: .15s; }
.chips input:checked + span { border-color: var(--mint-dark); background: var(--mint-soft); }
.chips input:focus-visible + span { outline: 2px solid var(--mint-dark); }

.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: .93rem; cursor: pointer; color: var(--ink); }
.check input { width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--mint-dark); flex: none; }

/* Lettura e calcolo */
.progress { height: 8px; border-radius: 99px; background: var(--bg-alt); overflow: hidden; margin: 18px 0; }
.progress span { display: block; height: 100%; width: 5%; background: linear-gradient(90deg, var(--mint), var(--mint-dark)); border-radius: 99px; transition: width .4s; }
.progress.indeterminate span { width: 40%; animation: slide 1.1s infinite ease-in-out; }
@keyframes slide { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.readlist { list-style: none; padding: 0; margin: 0; min-height: 140px; }
.readlist li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); animation: in .3s ease-out; }
.readlist li span { color: var(--muted); }
.readlist li b { color: var(--navy); font-weight: 500; text-align: right; }

/* Risultato */
.win { text-align: center; padding: 4px 0 18px; }
.win .label { font: 600 1rem var(--font-head); color: var(--muted); }
.win .big { font: 700 clamp(3.2rem, 12vw, 4.2rem) var(--font-head); color: var(--mint-dark); line-height: 1.05; letter-spacing: -.03em; margin: 4px 0; }
.win .per { color: var(--muted); }
.best { border: 2px solid var(--mint); border-radius: 18px; padding: 20px; background: linear-gradient(180deg, #f5fcf9, #fff 60%); }
.best .tag { display: inline-block; font: 600 .76rem var(--font-head); background: var(--mint); color: var(--navy); padding: 5px 12px; border-radius: 99px; }
.best .seller { font: 600 1.3rem var(--font-head); color: var(--navy); margin: 12px 0 2px; }
.best .oname { color: var(--muted); font-size: .93rem; }
.best .price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 2px; }
.best .price strong { font: 700 2.2rem var(--font-head); color: var(--navy); }
.best .price span { color: var(--muted); }
.best .meta { color: var(--muted); font-size: .9rem; margin: 0 0 16px; }
.others-title { font: 600 .9rem var(--font-head); color: var(--muted); margin: 22px 0 8px; }
.others { list-style: none; padding: 0; margin: 0 0 16px; }
.others li { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 13px; padding: 13px 15px; margin-bottom: 8px; cursor: pointer; transition: .15s; }
.others li:hover { border-color: var(--mint); box-shadow: var(--shadow-sm); }
.others b { display: block; color: var(--navy); font-weight: 500; }
.others small { color: var(--muted); }
.others .amt { font: 600 1.02rem var(--font-head); color: var(--navy); white-space: nowrap; }
.fine { font-size: .76rem; color: var(--muted); margin: 14px 0 0; text-align: center; }

/* ---------------- Numeri */
.stats { background: var(--navy); color: #fff; padding: 38px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats strong { display: block; font: 700 clamp(1.8rem, 4vw, 2.4rem) var(--font-head); color: var(--mint); }
.stats span { color: #c9d3ea; font-size: .95rem; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px 12px; } }

/* ---------------- Sezioni */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow { font: 600 .85rem var(--font-head); color: var(--mint-dark); text-transform: uppercase; letter-spacing: .1em; text-align: center; }
.title { font-size: clamp(1.8rem, 3.5vw, 2.5rem); text-align: center; margin: 10px 0 48px; letter-spacing: -.015em; }
.title.left { text-align: left; margin-bottom: 18px; }
@media (max-width: 700px) { .section { padding: 60px 0; } .title { margin-bottom: 32px; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; box-shadow: var(--shadow-sm); }
.step-card .num { position: absolute; top: 22px; right: 24px; font: 700 2.4rem var(--font-head); color: var(--bg-alt); -webkit-text-stroke: 1px var(--line); }
.step-card h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.step-card p, .feature p { color: var(--muted); font-size: .98rem; }
.ico-wrap { width: 54px; height: 54px; border-radius: 16px; background: var(--mint-soft); color: var(--mint-dark); display: grid; place-items: center; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: #fff; border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.feature h3 { font-size: 1.08rem; margin: 16px 0 6px; }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split .eyebrow { text-align: left; }
.lead-dark { color: var(--muted); font-size: 1.1rem; margin-bottom: 26px; }
.notify-mock { position: relative; min-height: 260px; border-radius: 28px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); padding: 40px 28px; display: grid; align-content: center; gap: 16px; overflow: hidden; }
.notify-mock::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -80px; bottom: -110px; background: var(--mint); opacity: .25; }
.notify { position: relative; z-index: 1; display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 16px 30px rgba(0, 0, 0, .18); max-width: 360px; }
.notify-2 { margin-left: auto; }
.notify b { display: block; color: var(--navy); font-family: var(--font-head); font-weight: 600; }
.notify span { color: var(--muted); font-size: .9rem; }
.notify-ico { width: 42px; height: 42px; border-radius: 12px; background: #fff4d6; color: #b07d00; display: grid; place-items: center; flex: none; }
.notify-ico.mint { background: var(--mint-soft); color: var(--mint-dark); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } .notify-2 { margin-left: 0; } }

details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; margin: 12px 0; transition: box-shadow .2s; }
details[open] { box-shadow: var(--shadow-sm); }
summary { cursor: pointer; list-style: none; font: 600 1.02rem var(--font-head); color: var(--navy); padding: 20px 30px 20px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--mint-dark); font-weight: 500; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); padding: 0 0 20px; }

.final { padding: 20px 0 90px; }
.final-in { background: linear-gradient(135deg, var(--navy), var(--navy-2)); border-radius: 30px; padding: 60px 24px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.final-in::before { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; left: -120px; top: -160px; background: var(--mint); opacity: .18; }
.final h2 { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.4rem); position: relative; }
.final p { color: #c9d3ea; margin: 10px 0 28px; position: relative; }
.final .btn { position: relative; }

/* ---------------- Footer */
.footer { border-top: 1px solid var(--line); padding: 40px 0 110px; background: #fff; }
.footer-in { display: grid; grid-template-columns: 1fr auto; gap: 18px 40px; align-items: start; }
.footer-logo { display: block; }
.footer-in > div > p { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--navy); text-decoration: none; font-size: .95rem; }
.footer-note { grid-column: 1 / -1; color: var(--muted); font-size: .8rem; border-top: 1px solid var(--line); padding-top: 18px; }
@media (min-width: 761px) { .footer { padding-bottom: 40px; } }
@media (max-width: 600px) { .footer-in { grid-template-columns: 1fr; } }

.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(to top, #fff 70%, rgba(255, 255, 255, 0)); z-index: 30; }
@media (min-width: 761px) { .sticky-cta { display: none !important; } }

/* ---------------- Modale */
.modal { border: 0; border-radius: var(--radius); padding: 0; width: min(430px, calc(100vw - 24px)); box-shadow: var(--shadow); }
.modal::backdrop { background: rgba(20, 28, 60, .55); backdrop-filter: blur(2px); }
.modal-in { padding: 32px 26px 26px; position: relative; }
.modal-in h3 { font-size: 1.5rem; }
.modal-in > .muted { margin: 6px 0 20px; }
.modal-in input:not([type=checkbox]) { margin-bottom: 10px; }
.modal-ico { width: 50px; height: 50px; border-radius: 15px; background: var(--mint-soft); color: var(--mint-dark); display: grid; place-items: center; margin-bottom: 14px; }
.modal-x { position: absolute; right: 12px; top: 10px; background: none; border: 0; font-size: 1.9rem; color: var(--muted); cursor: pointer; line-height: 1; padding: 6px 10px; }
.ok { width: 70px; height: 70px; border-radius: 50%; background: var(--mint); color: var(--navy); display: grid; place-items: center; margin: 4px auto 16px; }
.modal-ok .muted { margin: 6px 0 20px; }

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

/* ================= Aggiunte v4 ================= */
.eyebrow.left { text-align: left; }
.toast { position: fixed; top: 86px; left: 50%; transform: translateX(-50%); z-index: 50; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 99px; display: flex; gap: 8px; align-items: center; box-shadow: var(--shadow); animation: in .4s ease-out; font-size: .95rem; }
.toast .ico { color: var(--mint); }

/* Risultato: partner e trasparenza */
.best-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.partner-logo { max-height: 30px; max-width: 110px; object-fit: contain; }
.best.is-partner .tag { background: var(--navy); color: #fff; }
.exit { font-size: .82rem; color: #8a5a00; background: #fff5dd; border-radius: 8px; padding: 6px 10px; margin: -6px 0 14px; display: inline-block; cursor: help; }
.disclosure { font-size: .76rem; color: var(--muted); margin-top: 10px; line-height: 1.4; }

/* Loghi venditori */
.brands { padding: 34px 0 40px; border-bottom: 1px solid var(--line); }
.brands-title { text-align: center; color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.brand-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 22px 44px; }
.brand-row img { height: 34px; max-width: 120px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .2s, opacity .2s; }
.brand-row img:hover { filter: none; opacity: 1; }
.brands-note { text-align: center; color: #9aa1ad; font-size: .72rem; margin-top: 20px; }
@media (max-width: 600px) { .brand-row { gap: 18px 28px; } .brand-row img { height: 26px; max-width: 90px; } }

/* Partner */
.partner-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 18px; }
.partner-card { width: 200px; height: 100px; background: #fff; border: 1px solid var(--line); border-radius: 18px; display: grid; place-items: center; padding: 18px; box-shadow: var(--shadow-sm); }
.partner-card img { max-width: 100%; max-height: 56px; object-fit: contain; }

/* Come funziona con schermate reali */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.how-item { text-align: center; position: relative; }
.how-item h3 { font-size: 1.15rem; margin: 14px 0 6px; }
.how-item p { color: var(--muted); max-width: 290px; margin: 0 auto; }
.phone { width: 240px; margin: 0 auto; background: #0f1633; border-radius: 34px; padding: 10px; box-shadow: 0 30px 60px rgba(27, 38, 85, .22); position: relative; }
.phone::before { content: ""; position: absolute; top: 16px; left: 50%; width: 70px; height: 6px; border-radius: 9px; background: #2a3563; transform: translateX(-50%); z-index: 2; }
.phone img { display: block; width: 100%; border-radius: 26px; aspect-ratio: 9 / 17; object-fit: cover; object-position: top; background: #fff; }
.num-badge { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--mint); color: var(--navy); font: 700 1rem var(--font-head); margin-top: -18px; position: relative; box-shadow: 0 6px 14px rgba(83, 210, 173, .5); }
@media (max-width: 860px) { .how { grid-template-columns: 1fr; gap: 50px; } }

/* Consulente */
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 500; color: var(--navy); }
.ticks .ico { color: #fff; background: var(--mint-dark); border-radius: 50%; padding: 3px; width: 24px; height: 24px; }
.call-mock { position: relative; padding: 30px 10px; }
.call-card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 24px; max-width: 400px; margin: 0 auto; }
.call-head { display: flex; gap: 14px; align-items: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.call-avatar { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: var(--mint); display: grid; place-items: center; }
.call-head b { display: block; font-family: var(--font-head); color: var(--navy); }
.live { font-size: .85rem; color: var(--mint-dark); display: flex; align-items: center; gap: 6px; }
.live i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint-dark); animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.call-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.call-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.call-steps li .ico { color: #fff; background: var(--mint-dark); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.call-steps li span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.call-steps li.done { color: var(--navy); }
.call-steps li.now { color: var(--navy); font-weight: 500; }
.call-steps li.now span { border-color: var(--mint); background: radial-gradient(circle, var(--mint) 40%, transparent 45%); }
.saved-chip { position: absolute; right: 0; bottom: 0; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 14px; display: flex; gap: 8px; align-items: center; font: 500 .9rem var(--font-head); box-shadow: var(--shadow); }
.saved-chip .ico { color: var(--mint); }

/* Recensioni reali */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.stars { color: #f5b400; display: flex; gap: 2px; margin-bottom: 12px; }
.stars .ico { fill: currentColor; }
.review blockquote { margin: 0 0 14px; color: var(--ink); }
.review figcaption b { display: block; color: var(--navy); }
.review figcaption span { color: var(--mint-dark); font-size: .9rem; }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* FAQ per categorie */
.faq-wrap { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.faq-side { position: sticky; top: 100px; }
.faq-nav { display: grid; gap: 6px; margin-top: 24px; }
.faq-nav a { text-decoration: none; color: var(--navy); font-weight: 500; padding: 10px 14px; border-radius: 12px; background: var(--bg-alt); }
.faq-nav a:hover { background: var(--mint-soft); }
.faq-cat { font-size: 1.05rem; margin: 30px 0 4px; scroll-margin-top: 100px; }
.faq-cat:first-child { margin-top: 0; }
@media (max-width: 900px) { .faq-wrap { grid-template-columns: 1fr; gap: 20px; } .faq-side { position: static; } .faq-nav { grid-auto-flow: column; overflow-x: auto; } .faq-nav a { white-space: nowrap; } }

/* Mobile: evita sforamenti orizzontali */
.hero-grid > *, .split > *, .faq-wrap > *, .how > * { min-width: 0; }
.btn-block { white-space: normal; }
@media (max-width: 420px) { .nav-in { gap: 12px; } .nav-in .btn-sm { padding: 10px 12px; font-size: .85rem; } }

/* ================= Aggiunte v5 ================= */
.preview-bar { position: sticky; top: 0; z-index: 60; background: #fff4d6; color: #6b4a00; text-align: center; font-size: .9rem; padding: 9px 16px; border-bottom: 1px solid #f1dfa8; }
.preview-bar a { font-weight: 600; margin-left: 8px; }

/* Loghi a scorrimento */
.brands { padding: 34px 0 30px; border-bottom: 1px solid var(--line); overflow: hidden; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { flex: none; width: 190px; height: 64px; display: grid; place-items: center; padding: 0 26px; }
.marquee-item img { max-height: 38px; max-width: 140px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .25s, opacity .25s; }
.marquee-item:hover img { filter: none; opacity: 1; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width: 600px) { .marquee-item { width: 140px; padding: 0 16px; } .marquee-item img { max-height: 30px; max-width: 110px; } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; } }

/* Come funziona in 4 passaggi */
.how-4 { grid-template-columns: repeat(4, 1fr); gap: 26px; }
.how-4 .phone { width: 210px; }
@media (max-width: 1100px) { .how-4 { grid-template-columns: repeat(2, 1fr); gap: 50px 26px; } }
@media (max-width: 560px) { .how-4 { grid-template-columns: 1fr; } }

/* Recensioni */
.reviews-head { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 50px auto 8px; flex-wrap: wrap; text-align: left; }
.score { background: var(--navy); color: #fff; border-radius: 20px; padding: 14px 22px; display: flex; align-items: baseline; gap: 6px; }
.score b { font: 700 2.4rem var(--font-head); color: var(--mint); line-height: 1; }
.score span { color: #c9d3ea; }
.reviews-head p { color: var(--muted); margin-top: 4px; }
.stars.big { gap: 4px; margin: 0; }
.star { color: #d9dee8; display: inline-flex; }
.star .ico { fill: currentColor; }
.star.on { color: #f5b400; }
.star.half { color: #f5b400; opacity: .55; }
.reviews { grid-template-columns: repeat(3, 1fr); }
.review figcaption { display: flex; gap: 12px; align-items: center; }
.review figcaption small { display: block; color: var(--muted); font-size: .85rem; }
.avatar-i { width: 40px; height: 40px; border-radius: 50%; background: var(--mint-soft); color: var(--mint-dark); display: grid; place-items: center; font: 600 1rem var(--font-head); flex: none; }

/* Footer */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.footer-grid b { display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: 10px; }
.footer-grid a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; font-size: .95rem; }
.footer-grid a:hover { color: var(--navy); }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 10px; max-width: 260px; }
.footer-grid .footer-note { grid-column: 1 / -1; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Pagine legali */
.legal { max-width: 860px; padding: 40px 20px 60px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-top: 26px; }
.legal h2 { font-size: 1.25rem; margin: 38px 0 12px; scroll-margin-top: 90px; }
.legal h3 { font-size: 1.02rem; margin: 0 0 8px; }
.legal p, .legal li { color: #39414f; line-height: 1.7; }
.legal p + p { margin-top: 10px; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal a { color: var(--mint-dark); }
.legal-updated { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.legal-intro { background: var(--mint-soft); border-radius: 18px; padding: 20px 22px; margin: 22px 0; }
.legal-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.legal-tabs a { text-decoration: none; color: var(--navy); background: var(--bg-alt); border: 1px solid var(--line); padding: 8px 14px; border-radius: 99px; font-size: .9rem; }
.legal-tabs a.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.legal-toc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px; }
.legal-toc ol { columns: 2; column-gap: 30px; margin: 10px 0 0; padding-left: 20px; }
.legal-toc li { margin: 4px 0; break-inside: avoid; }
@media (max-width: 640px) { .legal-toc ol { columns: 1; } }
.purposes { display: grid; gap: 12px; }
.purpose { border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; background: #fff; }
.purpose p { margin-top: 6px; }
mark.todo { background: #fff1c2; color: #7a5200; padding: 1px 5px; border-radius: 5px; }
.cookie-table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ct-row { display: grid; grid-template-columns: 1.1fr 1fr 2.2fr 1fr; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); font-size: .93rem; }
.ct-head { background: var(--bg-alt); border-top: 0; font-weight: 600; color: var(--navy); }
@media (max-width: 700px) { .ct-row { grid-template-columns: 1fr; gap: 4px; } .ct-head { display: none; } }
.legal-back { margin-top: 40px; }
.alert-visual { position: relative; min-height: 460px; display: grid; place-items: center; border-radius: 30px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); padding: 40px 20px; overflow: hidden; }
.alert-visual::after { content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%; right: -90px; bottom: -120px; background: var(--mint); opacity: .22; }
.phone-tilt { transform: rotate(-4deg); z-index: 1; }
.alert-visual .notify { position: absolute; z-index: 2; max-width: 260px; }
.float-1 { top: 34px; left: 18px; }
.float-2 { bottom: 34px; right: 18px; }
@media (max-width: 560px) { .alert-visual .notify { position: relative; inset: auto; margin-top: 14px; } .alert-visual { display: flex; flex-direction: column; } }
.alert-visual { justify-items: end; padding-right: 60px; }
.alert-visual .float-1 { top: auto; bottom: 150px; left: 22px; max-width: 230px; }
.alert-visual .float-2 { bottom: 26px; right: 22px; }
.legal-page .nav-in .btn { margin-left: auto; }
@media (max-width: 560px) { .alert-visual { padding-right: 20px; justify-items: center; } }

/* ================= Hero v6: immagine esplicativa nel modulo ================= */
.hero-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; text-decoration: none; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px 8px 12px; box-shadow: var(--shadow-sm); }
.hero-rating .hr-stars { display: inline-flex; gap: 1px; }
.hero-rating .star .ico { width: 17px; height: 17px; }
.hero-rating b { font-family: var(--font-head); }
.hero-rating span:last-child { color: var(--muted); font-size: .92rem; }
@media (max-width: 960px) { .hero-rating { margin-top: 14px; } }

.start > .muted { margin-bottom: 16px; }
.hero-visual { position: relative; display: block; height: 238px; margin: 0 0 18px; border-radius: 18px; overflow: hidden; cursor: pointer;
  background: radial-gradient(260px 200px at 85% 20%, rgba(83, 210, 173, .45), transparent 70%), linear-gradient(135deg, #eef6ff 0%, #e8f8f2 100%); }
.hero-visual:hover .hv-bill { transform: rotate(-6deg) translateY(-3px); }

.hv-bill { position: absolute; left: 22px; top: 26px; width: 178px; height: 196px; background: #fff; border-radius: 12px; padding: 14px 13px; box-shadow: 0 14px 30px rgba(27, 38, 85, .16); transform: rotate(-6deg); transition: transform .3s; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.hv-bill-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.hv-bill-head b { font: 600 .74rem var(--font-head); color: var(--navy); }
.hv-bill-head i { font-style: normal; font-size: .62rem; color: var(--muted); }
.hv-line { display: block; height: 6px; border-radius: 4px; background: #edf1f6; }
.hv-line.w80 { width: 80%; } .hv-line.w60 { width: 60%; } .hv-line.w70 { width: 70%; }
.hv-row { display: flex; justify-content: space-between; gap: 6px; font-size: .62rem; padding: 4px 6px; border-radius: 6px; }
.hv-row em { font-style: normal; color: var(--muted); }
.hv-row strong { color: var(--navy); font-weight: 600; }
.hv-hl { background: rgba(83, 210, 173, .22); box-shadow: inset 0 0 0 1px rgba(37, 160, 124, .35); }
.hv-total { margin-top: auto; background: #f5f8fc; }
.hv-total strong { font-size: .7rem; }
.hv-scan { position: absolute; left: 0; right: 0; top: 0; height: 36px; background: linear-gradient(180deg, transparent, rgba(83, 210, 173, .35) 70%, rgba(37, 160, 124, .8) 100%); border-bottom: 2px solid var(--mint-dark); animation: scan 2.8s ease-in-out infinite; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(-40px); } 55% { transform: translateY(190px); } 100% { transform: translateY(190px); opacity: 0; } }

.hv-arrow { position: absolute; left: 196px; top: 104px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--mint); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(27, 38, 85, .3); z-index: 2; }
.hv-phone { position: absolute; right: 26px; top: 16px; width: 124px; height: 246px; background: #0f1633; border-radius: 22px; padding: 6px; box-shadow: 0 18px 36px rgba(27, 38, 85, .28); transform: rotate(4deg); }
.hv-phone img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 17px; background: #fff; }

.hv-chip { position: absolute; display: inline-flex; align-items: center; gap: 5px; background: #fff; color: var(--navy); font: 600 .72rem var(--font-head); padding: 6px 10px; border-radius: 99px; box-shadow: 0 6px 16px rgba(27, 38, 85, .14); z-index: 3; animation: bob 4s ease-in-out infinite; }
.hv-chip .ico { color: var(--mint-dark); }
.hv-chip-1 { left: 150px; top: 14px; }
.hv-chip-2 { left: 176px; top: 176px; animation-delay: -2s; }
.hv-save { right: 110px; bottom: 16px; flex-direction: column; align-items: flex-start; gap: 0; padding: 7px 12px; border-radius: 12px; background: var(--navy); color: #fff; animation-delay: -1s; }
.hv-save small { font: 500 .6rem var(--font-body); color: #c9d3ea; }
.hv-save b { color: var(--mint); font-size: .86rem; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

.drop-hint { text-align: center; color: var(--muted); font-size: .82rem; margin: 8px 0 12px; }
#drop.drop-over { outline: 3px dashed var(--mint-dark); outline-offset: 4px; }

@media (max-width: 480px) {
  .hero-visual { height: 210px; }
  .hv-bill { left: 12px; top: 22px; width: 150px; height: 172px; padding: 11px 10px; gap: 6px; }
  .hv-row { font-size: .56rem; padding: 3px 4px; }
  .hv-arrow { left: 150px; top: 92px; width: 30px; height: 30px; }
  .hv-phone { right: 12px; width: 104px; height: 210px; border-radius: 18px; }
  .hv-chip-1 { left: 118px; top: 8px; }
  .hv-chip-2 { left: 130px; top: 160px; }
  .hv-save { right: 70px; bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .hv-scan, .hv-chip { animation: none; } }
/* posizioni chip: niente sovrapposizioni con la bolletta */
.hv-chip-2 { left: auto; right: 150px; top: 18px; }
.hv-chip-1 { left: 14px; top: 12px; }
.hv-save { right: 12px; bottom: 14px; }
.hv-bill { top: 40px; }
@media (max-width: 480px) {
  .hv-chip-1 { left: 8px; top: 8px; }
  .hv-chip-2 { left: auto; right: 120px; top: 10px; }
  .hv-save { right: 8px; bottom: 10px; }
  .hv-bill { top: 36px; height: 164px; }
}
@media (max-width: 860px) { .reviews { grid-template-columns: minmax(0, 1fr); } }

/* ================= Hero: invito a caricare / trascinare sull'immagine ================= */
.hero-visual { outline: 2px dashed transparent; outline-offset: -8px; transition: outline-color .2s, box-shadow .2s; }
.hv-drop { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; background: rgba(27, 38, 85, .0); transition: background .2s; pointer-events: none; }
.hv-drop-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--navy); font: 600 .92rem var(--font-head); padding: 11px 18px; border-radius: 99px; box-shadow: 0 10px 26px rgba(27, 38, 85, .22); opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .2s, transform .2s; }
.hv-drop-pill .ico { color: var(--mint-dark); }
.hv-touch { display: none; }
.hero-visual:hover, .hero-visual:focus-within, .hero-visual.drop-over { outline-color: var(--mint-dark); box-shadow: 0 0 0 4px rgba(83, 210, 173, .18); }
.hero-visual:hover .hv-drop, .hero-visual.drop-over .hv-drop { background: rgba(27, 38, 85, .28); }
.hero-visual:hover .hv-drop-pill, .hero-visual.drop-over .hv-drop-pill { opacity: 1; transform: none; }
.hero-visual.drop-over .hv-drop-pill { background: var(--mint); }
.hero-visual.drop-over .hv-drop-pill .ico { color: var(--navy); }
/* Su touch non esiste l'hover: invito sempre visibile, piccolo, in basso */
@media (hover: none) {
  .hero-visual { outline-color: rgba(37, 160, 124, .45); }
  .hv-desk { display: none; }
  .hv-touch { display: inline; }
  .hv-drop { place-items: end start; padding: 10px; }
  .hv-drop-pill { opacity: 1; transform: none; font-size: .74rem; padding: 7px 11px; gap: 5px; }
  .hv-drop-pill .ico { width: 14px; height: 14px; }
  .hv-chip-1 { top: 8px; }
  .hv-save { bottom: 10px; }
}

/* ================= Recensioni: carosello su due righe ================= */
.reviews-marquee { display: grid; gap: 18px; margin-top: 40px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rm-row { overflow: hidden; }
.rm-track { display: flex; gap: 18px; width: max-content; animation: rm-scroll var(--dur, 120s) linear infinite; padding: 4px 0 8px; }
.rm-reverse .rm-track { animation-direction: reverse; }
.reviews-marquee:hover .rm-track { animation-play-state: paused; }
.rm-dup { display: contents; }
.rm-track .review { width: 340px; flex: none; display: flex; flex-direction: column; gap: 12px; padding: 20px 22px; }
.rm-track .review blockquote { margin: 0; flex: 1; font-size: .96rem; line-height: 1.55; color: #39414f; }
.review .stars { display: flex; gap: 2px; }
.review .stars .st { display: block; }
@keyframes rm-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
@media (max-width: 640px) { .rm-track .review { width: 280px; padding: 18px; } .reviews-marquee { gap: 14px; } }
@media (prefers-reduced-motion: reduce) {
  .rm-track { animation: none; }
  .rm-row { overflow-x: auto; scroll-snap-type: x mandatory; }
  .rm-dup { display: none; }
}

/* ================= Navigazione: area clienti ================= */
.nav-area { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--navy); font-weight: 500; font-size: .95rem; }
.nav-area:hover { color: var(--mint-dark); }
@media (max-width: 960px) { .nav-area { margin-left: auto; } }
@media (max-width: 480px) { .nav-area span { display: none; } .nav-area { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--line); border-radius: 12px; } }
.field-hint { font-size: .8rem; color: var(--muted); margin: -4px 0 4px 4px; }

/* ================= Area clienti ================= */
.area-page { background: var(--bg-alt); }
.area { padding: 36px 20px 70px; min-height: 70vh; }
.area-out { margin-left: auto; color: var(--navy); font-weight: 500; text-decoration: none; }
.area .card, .auth.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.auth { max-width: 440px; margin: 20px auto; padding: 34px 30px; }
.auth h1 { font-size: 1.7rem; margin-bottom: 8px; }
.auth form { display: grid; gap: 8px; margin-top: 20px; }
.auth .lbl { font-weight: 500; color: var(--navy); font-size: .92rem; margin-top: 6px; }
.auth input[type=email], .auth input[type=password], .auth input[type=text], .area-pw input { width: 100%; height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 1rem; background: #fff; }
.auth input:focus, .area-pw input:focus { outline: none; border-color: var(--mint-dark); box-shadow: 0 0 0 3px rgba(83, 210, 173, .22); }
.auth .btn { margin-top: 12px; }
.auth .ok { margin: 0 0 14px; }
.auth-foot { margin-top: 18px; text-align: center; }
.auth-foot a { color: var(--mint-dark); font-weight: 500; }
.auth-note { margin-top: 10px; text-align: center; color: var(--muted); font-size: .85rem; }
.pw { position: relative; }
.pw input { padding-right: 80px !important; }
.pw-eye { position: absolute; right: 8px; top: 8px; height: 34px; border: 0; background: var(--bg-alt); border-radius: 8px; padding: 0 10px; font: 500 .82rem var(--font-body); color: var(--navy); cursor: pointer; }
.area-flash { background: var(--mint-soft); color: var(--navy); border: 1px solid rgba(37, 160, 124, .3); padding: 12px 16px; border-radius: 14px; margin-bottom: 20px; font-weight: 500; }
.area-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.area-head h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); }
.area-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.area-side { display: grid; gap: 20px; }
.area-card { padding: 24px; }
.area-card h2 { font-size: 1.15rem; margin-bottom: 12px; }
.area-sub { font-size: .95rem; margin: 20px 0 8px; }
.req { border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin-top: 12px; }
.req-top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.req-top b { color: var(--navy); }
.req-offer { color: #39414f; margin-top: 4px; font-size: .95rem; }
.req-save { color: var(--mint-dark); margin-top: 4px; font-size: .92rem; }
.req-closed { color: var(--muted); margin-top: 8px; font-size: .88rem; }
.steps-track { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0; margin: 14px 0 0; }
.steps-track li { position: relative; padding-top: 14px; font-size: .78rem; color: var(--muted); line-height: 1.3; }
.steps-track li::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 6px; background: var(--line); }
.steps-track li.done { color: var(--navy); font-weight: 500; }
.steps-track li.done::before { background: var(--mint); }
.area-state { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.area-state i { width: 10px; height: 10px; border-radius: 50%; background: #c5ccd8; }
.area-state.on { color: var(--mint-dark); }
.area-state.on i { background: var(--mint); box-shadow: 0 0 0 4px rgba(83, 210, 173, .25); }
.area-card form { display: grid; gap: 10px; margin-top: 14px; }
.area-card .check { align-items: flex-start; }
.opps { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.opps li { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; font-size: .88rem; border-top: 1px solid var(--line); padding-top: 8px; }
.opps b { color: var(--mint-dark); }
.opps a { grid-column: 1 / -1; color: var(--navy); font-weight: 600; }
.area-dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 12px; font-size: .94rem; }
.area-dl dt { color: var(--muted); }
.area-dl dd { margin: 0; color: var(--navy); font-weight: 500; overflow-wrap: anywhere; }
.area-pw { margin: 6px 0 12px; }
.area-pw summary { cursor: pointer; color: var(--mint-dark); font-weight: 500; }
.area-pw input { height: 44px; }
.area-card a { color: var(--mint-dark); }
@media (max-width: 860px) { .area-grid { grid-template-columns: minmax(0, 1fr); } .area-head .btn { width: 100%; } }

/* ================= Chat ================= */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; font-size: 15px; }
body:has(#stickyCta:not([hidden])) .chat { bottom: 92px; }
.chat-fab { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: var(--navy); color: #fff; font: 600 .95rem var(--font-head); padding: 14px 18px; border-radius: 99px; box-shadow: 0 12px 30px rgba(27, 38, 85, .32); transition: transform .15s; }
.chat-fab:hover { transform: translateY(-2px); }
.chat-fab .ico { color: var(--mint); }
.chat.open .chat-fab span { display: none; }
.chat-teaser { background: #fff; color: var(--navy); border: 1px solid var(--line); padding: 10px 14px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow-sm); cursor: pointer; font-weight: 500; animation: bob 4s ease-in-out infinite; }
.chat-panel { width: 370px; height: min(560px, calc(100vh - 110px)); background: #fff; border-radius: 22px; box-shadow: 0 30px 70px rgba(27, 38, 85, .28); border: 1px solid var(--line); display: flex; flex-direction: column; overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--navy); color: #fff; }
.chat-head b { display: block; font-family: var(--font-head); }
.chat-head small { display: flex; align-items: center; gap: 6px; color: #c9d3ea; font-size: .78rem; }
.chat-head small i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.chat-av { width: 40px; height: 40px; border-radius: 50%; background: var(--mint); color: var(--navy); display: grid; place-items: center; font: 600 1.05rem var(--font-head); flex: none; }
.chat-x { margin-left: auto; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 34px; height: 34px; border-radius: 10px; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--bg-alt); overscroll-behavior: contain; }
.chat-msg { max-width: 84%; padding: 10px 13px; border-radius: 16px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-msg.bot { background: #fff; color: var(--ink); border: 1px solid var(--line); border-bottom-left-radius: 4px; align-self: flex-start; }
.chat-msg.me { background: var(--navy); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.chat-msg.typing { display: inline-flex; gap: 4px; padding: 13px 14px; }
.chat-msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #aab3c3; animation: typing 1s infinite; }
.chat-msg.typing i:nth-child(2) { animation-delay: .15s; }
.chat-msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-quick { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; background: var(--bg-alt); }
.chat-quick button { border: 1px solid rgba(37, 160, 124, .45); background: #fff; color: var(--mint-dark); border-radius: 99px; padding: 7px 12px; font: 500 .84rem var(--font-body); cursor: pointer; }
.chat-quick button:hover { background: var(--mint-soft); }
.chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 14px; padding: 11px 13px; font: inherit; font-size: 16px; line-height: 1.35; max-height: 110px; min-height: 44px; }
.chat-form textarea:focus { outline: none; border-color: var(--mint-dark); }
.chat-form button { width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--mint); color: var(--navy); display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-manual { display: grid; gap: 7px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; max-height: 46%; overflow-y: auto; }
.chat-manual input, .chat-manual textarea { border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font: inherit; font-size: 16px; }
.chat-note { font-size: .7rem; color: var(--muted); text-align: center; padding: 0 12px 10px; }
.chat-note a { color: inherit; }
@media (max-width: 520px) {
  .chat { right: 12px; bottom: 12px; }
  .chat-fab span { display: none; }
  .chat-fab { padding: 15px; }
  .chat.open { inset: 0; right: 0; bottom: 0; gap: 0; }
  .chat.open .chat-fab { display: none; }
  .chat-panel { width: 100vw; height: 100dvh; border-radius: 0; border: 0; }
}
.chat-panel { order: -1; }
.chat-manual:not([hidden]) ~ .chat-form { display: none; }
.chat-manual { max-height: 62%; gap: 6px; }
.chat-manual input { padding: 8px 11px; }
.chat-manual .check { margin: 2px 0; }
.chat-msg a { color: inherit; font-weight: 600; text-decoration: underline; overflow-wrap: anywhere; }
.hr-stars .st, .stars.big .st { display: block; }
.stars.big { display: flex; gap: 3px; }
.all-offers { margin: -4px 0 16px; }
.all-offers summary { cursor: pointer; color: var(--mint-dark); font-weight: 600; font-size: .92rem; padding: 6px 0; }
.all-offers[open] summary { margin-bottom: 6px; }
.all-offers .others { margin-top: 8px; max-height: 360px; overflow-y: auto; padding-right: 2px; }

/* ================= Risultati: loghi e prezzo energia ================= */
.best-seller { display: flex; align-items: center; gap: 12px; margin: 12px 0 2px; }
.best-seller .seller { margin: 0; }
.best-logo, .row-logo { flex: none; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.best-logo { width: 64px; height: 44px; padding: 6px; }
.row-logo { width: 52px; height: 38px; padding: 5px; }
.best-logo img, .row-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.best-logo.mono, .row-logo.mono { font: 600 1.1rem var(--font-head); color: var(--navy); background: var(--bg-alt); }
.headline { font-size: .92rem; color: #39414f; margin: 2px 0 4px; }
.headline b { color: var(--navy); font-weight: 600; }
.others li { justify-content: flex-start; }
.others li .row-txt { flex: 1; min-width: 0; }
.others li .row-txt b, .others li .row-txt small { display: block; }
.others li .amt { margin-left: auto; white-space: nowrap; }
.row-price { color: var(--navy) !important; opacity: .8; }
@media (max-width: 400px) { .row-logo { width: 42px; height: 32px; } .others li { gap: 9px; padding: 11px 12px; } }
/* Schermi molto stretti (≤ 360px) */
@media (max-width: 360px) {
  .container { padding: 0 14px; }
  .nav-in { gap: 8px; }

  .nav-in .btn-sm { padding: 9px 10px; font-size: .78rem; }
  .nav-area { width: 36px; height: 36px; }
  .hero-visual { height: 190px; }
  .hv-chip-1, .hv-chip-2 { display: none; }
  .hv-bill { left: 8px; top: 16px; width: 128px; height: 160px; padding: 9px 8px; }
  .hv-bill-head b { font-size: .64rem; }
  .hv-row { font-size: .5rem; }
  .hv-arrow { left: 122px; top: 80px; width: 28px; height: 28px; }
  .hv-phone { right: 8px; top: 10px; width: 92px; height: 186px; border-radius: 16px; padding: 4px; }
  .hv-save { right: 6px; bottom: 8px; padding: 5px 9px; }
  .hv-save b { font-size: .74rem; }
}
@media (max-width: 480px) {
  .all-offers { padding-left: 10px; padding-right: 10px; }
  .all-offers .others li { flex-wrap: wrap; padding: 10px 11px; gap: 4px 10px; }
  .all-offers .others li .row-txt { flex: 1 1 calc(100% - 62px); }
  .all-offers .others li .amt { flex-basis: 100%; text-align: right; font-size: .95rem; }
  .all-offers .others li small { display: inline; }
  .all-offers .others li small.row-price { display: block; }
}

/* ================= Correzioni mobile (revisione pre-lancio) ================= */
@media (max-width: 560px) {
  .alert-visual { min-height: 0; padding: 28px 16px 22px; gap: 0; align-items: center; }
  .alert-visual .notify, .alert-visual .float-1, .alert-visual .float-2 { position: relative; inset: auto; top: auto; right: auto; bottom: auto; left: auto; width: 100%; max-width: 300px; margin: 12px auto 0; }
  .alert-visual .float-1 { margin-top: -54px; }
  .alert-visual .phone { max-width: 250px; }
  .reviews-head { flex-direction: column; text-align: center; gap: 12px; margin-top: 36px; }
  .reviews-head .stars.big { justify-content: center; }
}

/* ================= Piattaforma: home con i verticali ================= */
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 12px; }
.hub-hero { position: relative; overflow: hidden; padding: 70px 0 84px; background:
  radial-gradient(900px 500px at 85% 10%, rgba(83, 210, 173, .22), transparent 60%),
  radial-gradient(700px 500px at 0% 100%, rgba(40, 58, 122, .08), transparent 60%),
  linear-gradient(180deg, #f7fbff 0%, #fff 100%); }
.hub-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hub-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -.025em; margin: 22px 0 18px; }
.hub-hero h1 span { color: var(--mint-dark); }
.hub-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hub-cta .btn .ico { color: var(--navy); }
.hub-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hub-tile { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--navy); transition: transform .15s, box-shadow .2s; min-height: 124px; }
.hub-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.hub-tile.active { border-color: var(--mint); box-shadow: 0 14px 34px rgba(83, 210, 173, .28); }
.ht-ico, .vcard-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); }
.ht-name { font: 600 1rem/1.25 var(--font-head); }
.ht-badge, .vcard-badge { position: absolute; top: 14px; right: 14px; font: 600 .7rem var(--font-head); padding: 4px 9px; border-radius: 99px; background: #eef2f7; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.hub-tile.active .ht-badge, .vcard.on .vcard-badge { background: var(--mint); color: var(--navy); }

.vcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.vcard { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.vcard.on { border: 2px solid var(--mint); box-shadow: 0 18px 40px rgba(83, 210, 173, .22); }
.vcard-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.vcard-badge { position: static; }
.vcard h3 { font-size: 1.25rem; margin-bottom: 6px; }
.vcard h3 a { text-decoration: none; color: inherit; }
.vcard > p { color: var(--muted); font-size: .98rem; }
.vcard ul { list-style: none; padding: 0; margin: 14px 0 20px; display: grid; gap: 8px; flex: 1; }
.vcard li { display: flex; gap: 8px; align-items: flex-start; font-size: .94rem; color: #39414f; }
.vcard li .ico { color: var(--mint-dark); margin-top: 3px; }
.vcard .btn { margin-top: auto; }
.vcards-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 22px; }

.hub-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: s; }
.hub-steps li { display: flex; gap: 16px; background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.hs-n { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--mint); display: grid; place-items: center; font: 700 1.1rem var(--font-head); }
.hub-steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.hub-steps p { color: var(--muted); font-size: .96rem; }
.hub .faq-list details { margin: 10px 0; }

/* Pagine «in arrivo» */
.soon-hero { padding: 56px 0 70px; background: radial-gradient(800px 420px at 90% 0%, color-mix(in srgb, var(--c) 18%, transparent), transparent 60%), linear-gradient(180deg, #f7fbff, #fff); }
.soon-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--mint-dark); text-decoration: none; }
.vcard-badge.big { display: inline-block; font-size: .78rem; padding: 6px 12px; background: color-mix(in srgb, var(--c) 16%, #fff); color: var(--navy); }
.soon-hero h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.02em; margin: 16px 0 14px; }
.soon-points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.soon-points li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--navy); }
.soon-points .ico { color: var(--mint-dark); }
.soon-card { padding: 30px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.soon-card .vcard-ico { width: 56px; height: 56px; margin-bottom: 14px; }
.soon-card h2 { font-size: 1.4rem; margin-bottom: 6px; }
.soon-card form { display: grid; gap: 10px; margin-top: 18px; }
.soon-card input[type=email] { height: 50px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; }
.soon-card input[type=email]:focus { outline: none; border-color: var(--mint-dark); box-shadow: 0 0 0 3px rgba(83, 210, 173, .22); }
.soon-ok { text-align: center; margin-top: 16px; }
.soon-tag { font: 600 .65rem var(--font-head); background: #eef2f7; color: var(--muted); padding: 2px 6px; border-radius: 6px; text-transform: uppercase; vertical-align: 1px; }

/* Nuovo sito / 404 */
.sunset { padding: 60px 20px 80px; min-height: 60vh; display: grid; place-items: center; }
.sunset-card { max-width: 720px; padding: 42px 40px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.sunset-card h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 18px 0 14px; letter-spacing: -.02em; }
.sunset-card p + p { margin-top: 14px; color: #39414f; }
.sunset-timer { margin-top: 18px; }
.sunset-timer .link { background: none; border: 0; color: var(--mint-dark); text-decoration: underline; cursor: pointer; font: inherit; }

@media (max-width: 960px) {
  .hub-hero-grid, .soon-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .vcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-steps { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .hub-hero { padding: 40px 0 56px; }
  .hub-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hub-tile { padding: 14px 12px; min-height: 104px; gap: 8px; border-radius: 16px; }
  .ht-ico { width: 40px; height: 40px; border-radius: 12px; }
  .ht-name { font-size: .9rem; }
  .ht-badge { top: 10px; right: 10px; font-size: .6rem; padding: 3px 7px; }
  .vcards { grid-template-columns: minmax(0, 1fr); }
  .hub-cta .btn { flex: 1 1 100%; }
  .sunset-card { padding: 28px 20px; }
  .soon-card { padding: 24px 18px; }
}
.nav-in > .logo + .nav-area { margin-left: auto; }
.vcard > p + .btn { margin-top: 18px; }
/* Logo 180px ovunque: sui telefoni il pulsante in alto lascia spazio al logo (il comparatore è subito sotto) */
@media (max-width: 480px) { .nav-in > .btn-sm { display: none; } .nav-in > .nav-area { margin-left: auto; } }

/* ================= Centro privacy ================= */
.toggle-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.toggle-row:first-of-type { border-top: 0; }
.toggle-row.locked { cursor: default; align-items: center; }
.toggle-row b { display: block; color: var(--navy); font-family: var(--font-head); font-size: .98rem; }
.toggle-row small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.45; margin-top: 3px; }
.switch { position: relative; flex: none; width: 48px; height: 28px; margin-top: 2px; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch i { position: absolute; inset: 0; background: #d5dbe5; border-radius: 99px; transition: background .2s; pointer-events: none; }
.switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(27, 38, 85, .25); transition: transform .2s; }
.switch input:checked + i { background: var(--mint-dark); }
.switch input:checked + i::after { transform: translateX(20px); }
.switch input:focus-visible + i { box-shadow: 0 0 0 3px rgba(83, 210, 173, .35); }
.area-select { width: 100%; height: 46px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; background: #fff; }
.area-card textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 15px; resize: vertical; }
.plain-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.plain-links a { color: var(--mint-dark); }
.consent-log { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-height: 420px; overflow-y: auto; }
.consent-log li { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 12px; align-items: start; border-top: 1px solid var(--line); padding-top: 10px; }
.consent-log li:first-child { border-top: 0; padding-top: 0; }
.cl-date { color: var(--muted); font-size: .8rem; white-space: nowrap; }
.cl-what small { display: block; color: var(--muted); font-size: .82rem; }
.status { display: inline-block; font: 600 .72rem var(--font-head); padding: 3px 9px; border-radius: 99px; text-transform: uppercase; letter-spacing: .03em; white-space: nowrap; }
.status.st-won { background: var(--mint-soft); color: #1c7c60; }
.status.st-lost { background: #fdecea; color: #a5352a; }
.privacy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 26px 0 34px; }
.privacy-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.privacy-card h2 { font-size: 1.2rem; margin-bottom: 10px; }
.privacy-form { display: grid; gap: 10px; margin-top: 10px; }
.privacy-form input[type=email] { height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; }
.privacy-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.privacy-list b { display: block; color: var(--navy); }
.privacy-list span { color: var(--muted); font-size: .94rem; }
.notice-ok { display: flex; gap: 8px; align-items: center; background: var(--mint-soft); color: #1c7c60; border-radius: 12px; padding: 12px 14px; margin-top: 12px; font-size: .94rem; }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: minmax(0, 1fr); } .consent-log li { grid-template-columns: 1fr auto; } .cl-date { grid-column: 1 / -1; } }

/* ================= Banner cookie ================= */
.cookie-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -18px 40px rgba(27, 38, 85, .16); padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); transform: translateY(110%); transition: transform .25s ease; }
.cookie-bar.in { transform: none; }
.cb-in { max-width: 1160px; margin: 0 auto; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cb-text b { display: block; font-family: var(--font-head); color: var(--navy); margin-bottom: 2px; }
.cb-text p { color: var(--muted); font-size: .9rem; max-width: 70ch; }
.cb-text a { color: var(--mint-dark); }
.cb-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cb-prefs { max-width: 1160px; margin: 14px auto 0; border-top: 1px solid var(--line); padding-top: 8px; max-height: 46vh; overflow-y: auto; }
.cb-prefs .toggle-row { padding: 12px 0; }
.cb-prefs .cb-actions { justify-content: flex-end; margin-top: 10px; }
body:has(#stickyCta:not([hidden])) .cookie-bar { bottom: 74px; }
@media (max-width: 720px) {
  .cookie-bar { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
  .cb-in { gap: 12px; }
  .cb-actions { width: 100%; }
  .cb-actions .btn { flex: 1 1 auto; }
  .cb-text p { font-size: .84rem; }
}
/* Banner cookie: «Accetta tutti» è il pulsante principale, «Solo necessari» resta un clic solo e della stessa dimensione (lo chiede il Garante) */
.cb-actions { align-items: center; }
.cb-primary { box-shadow: 0 8px 22px rgba(83, 210, 173, .45); }
.cb-link { background: none; border: 0; color: var(--muted); text-decoration: underline; font: inherit; font-size: .88rem; cursor: pointer; padding: 6px 4px; }
.cb-link:hover { color: var(--navy); }
.cb-actions .btn { min-width: 150px; }
@media (max-width: 720px) { .cb-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; } .cb-actions .btn { min-width: 0; } .cb-link { grid-column: 1 / -1; } }

/* ================= Portale editori ================= */
.partner-nav { display: flex; gap: 22px; margin-left: 30px; }
.partner-nav a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: .96rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.partner-nav a.on { border-color: var(--mint); color: var(--mint-dark); }
.partner-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.partner-stats .stat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; box-shadow: var(--shadow-sm); }
.partner-stats .stat span { display: block; color: var(--muted); font-size: .86rem; }
.partner-stats .stat b { font: 700 1.7rem var(--font-head); color: var(--navy); }
.partner-stats .stat b.money { color: var(--mint-dark); }
.ptable { display: grid; gap: 2px; }
.pt-row { display: grid; grid-template-columns: 1.6fr 90px 140px 100px 120px; gap: 10px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.pt-head { font: 600 .78rem var(--font-head); color: var(--muted); text-transform: uppercase; letter-spacing: .04em; border-bottom: 2px solid var(--line); }
.campagna { margin-bottom: 18px; }
.camp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.camp-payout { text-align: right; }
.camp-payout span { display: block; color: var(--muted); font-size: .8rem; }
.camp-payout b { font: 700 1.5rem var(--font-head); color: var(--mint-dark); }
.camp-terms { background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; color: #39414f; font-size: .92rem; margin: 12px 0; }
.copy-row { display: flex; gap: 8px; margin: 6px 0 4px; }
.copy-row input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; font-size: .92rem; background: var(--bg-alt); }
.creatives { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.creative { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 6px; }
.creative small { color: var(--muted); font-size: .82rem; }
.creative textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px; font: inherit; font-size: .85rem; }
.fields-inline { display: flex; gap: 14px; align-items: flex-end; flex-wrap: wrap; }
.fields-inline input[type=date] { height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; margin-left: 8px; }
.partner-page .area-card input:not([type=checkbox]), .partner-page .area-card textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: .95rem; }
@media (max-width: 860px) {
  .partner-nav { display: none; }
  .partner-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pt-row { grid-template-columns: 1fr 1fr; gap: 4px 10px; }
  .pt-head { display: none; }
}
@media (max-width: 860px) {
  .pt-row { grid-template-columns: 1fr; gap: 2px; padding: 14px 4px; }
  .pt-row span[data-l]::before { content: attr(data-l) ": "; color: var(--muted); font-size: .82rem; }
  .pt-row span:first-child { font-weight: 600; color: var(--navy); }
}

/* ================= Collabora ================= */
.collab-list { list-style: none; padding: 0; margin: 0 0 10px; display: grid; gap: 6px; }
.collab-list b { color: var(--navy); }
.collab-card { padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); margin: 18px 0 30px; }
.collab-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.collab-grid label { display: grid; gap: 5px; font-size: .9rem; color: var(--navy); font-weight: 500; }
.collab-grid .span2 { grid-column: 1 / -1; }
.collab-grid input, .collab-grid select, .collab-grid textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 16px; background: #fff; }
.collab-grid input:focus, .collab-grid select:focus, .collab-grid textarea:focus { outline: none; border-color: var(--mint-dark); box-shadow: 0 0 0 3px rgba(83, 210, 173, .2); }
.collab-ok { text-align: center; padding: 10px 0; }
@media (max-width: 640px) { .collab-grid { grid-template-columns: minmax(0, 1fr); } }

/* ================= Pagina riservata ai venditori ================= */
.sales-page { background: #fff; }
.sales-tag { margin-left: auto; margin-right: 16px; font: 600 .78rem var(--font-head); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.sales-hero { background: linear-gradient(180deg, #f7fbff, #fff); padding: 56px 0 44px; border-bottom: 1px solid var(--line); }
.sales-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.02em; max-width: 20ch; }
.sales-hero .lead { margin: 18px 0 26px; max-width: 62ch; }
.sales-facts { margin-top: 22px; color: var(--muted); font-size: .92rem; }
.sales-sec { padding: 40px 20px; border-bottom: 1px solid var(--line); }
.sales-sec h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 16px; }
.sales-sec h3 { font-size: 1.05rem; margin: 22px 0 10px; }
.sales-steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 12px; margin: 0 0 14px; }
.sales-steps li { position: relative; padding-left: 42px; color: #39414f; }
.sales-steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: -2px; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--mint); display: grid; place-items: center; font: 700 .9rem var(--font-head); }
.sales-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.sales-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.sales-card.primary { border: 2px solid var(--mint); background: var(--mint-soft); }
.sales-card b { display: block; color: var(--navy); font-family: var(--font-head); margin-bottom: 4px; }
.sales-card span { color: var(--muted); font-size: .92rem; }
.sales-list { padding-left: 20px; display: grid; gap: 8px; color: #39414f; }
.sales-list.check { list-style: none; padding-left: 0; }
.sales-list.check li { position: relative; padding-left: 26px; }
.sales-list.check li::before { content: "✓"; position: absolute; left: 0; color: var(--mint-dark); font-weight: 700; }
.sales-quality { background: var(--bg-alt); }
.sales-legal p { margin: 4px 0; color: #39414f; }
.sales-faq { display: grid; gap: 14px; }
.sales-qa b { display: block; color: var(--navy); font-family: var(--font-head); margin-bottom: 4px; }
.sales-qa p { color: #39414f; }
.sales-final { border-bottom: 0; }
.sales-contact { display: flex; align-items: center; gap: 16px; margin: 18px 0; flex-wrap: wrap; }
.only-print { display: none; }
mark.todo { background: #fff3c4; color: #7a5b00; padding: 1px 6px; border-radius: 4px; font-style: normal; }
@media (max-width: 760px) { .sales-cards { grid-template-columns: minmax(0, 1fr); } .sales-tag { display: none; } }

/* Versione stampabile: la «scheda partner» da allegare alle email */
@media print {
  .no-print, .nav, .footer, .chat, .cookie-bar, .sticky-cta { display: none !important; }
  .only-print { display: block !important; }
  body.sales-page { background: #fff; font-size: 11pt; }
  .sales-hero { padding: 0 0 18px; background: none; border-bottom: 2px solid #1b2655; }
  .sales-hero h1 { font-size: 22pt; max-width: none; }
  .sales-sec { padding: 16px 0; break-inside: avoid; border-bottom: 1px solid #ddd; }
  .sales-sec h2 { font-size: 14pt; }
  .container { max-width: none; padding: 0; }
  .sales-cards { grid-template-columns: repeat(3, 1fr); }
  .sales-card.primary { background: #eef9f5 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  a[href^="http"]::after { content: ""; }
  .sales-quality { background: none; }
  mark.todo { background: none; border: 1px dashed #b58900; }
}
/* Indirizzi email ricomposti dal browser (anti raccolta automatica) */
.em, .em-txt { overflow-wrap: anywhere; }
a.em { color: var(--mint-dark); }
.em .at, .em-txt .at { font-size: .92em; }
