/* =========================================================
   FLUIDA — foglio di stile principale
   Brand Manual V1.0 · maggio 2025 — colori, Manrope, pattern a onde
   ========================================================= */

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-var-ext.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Colori principali */
  --rosa: #FF5CAB;          /* Rosa Energia */
  --rosa-fluido: #FF8DCB;   /* Rosa Fluido */
  --lilla: #C8B6FF;         /* Lilla Fluida */
  --azzurro: #E6F3FF;       /* Azzurro Fluido */
  /* Neutri */
  --nero: #0A0A0A;          /* Nero Profondo */
  --nero-ass: #000000;
  --grigio-scuro: #1A1A1A;
  --grigio-medio: #333333;
  --grigio-chiaro: #666666;
  --bianco: #FFFFFF;
  /* Derivati per le superfici chiare */
  --linea: #E8E6EF;
  --fondo-chiaro: #F6F7FB;
  --rosa-tint: #FFF0F7;
  --testo-rosa: #E63F92;    /* rosa leggermente scurito per testi piccoli su bianco */

  /* Gradienti */
  --grad-principale: linear-gradient(90deg, #FF5CAB 0%, #C8B6FF 100%);
  --grad-btn: linear-gradient(90deg, #FF5CAB 0%, #C8B6FF 100%);
  --grad-secondario: linear-gradient(90deg, #FF5CAB 0%, #C8B6FF 100%);
  --grad-diag: linear-gradient(135deg, #FF5CAB 0%, #C8B6FF 100%);

  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 12px 34px rgba(10, 10, 10, .08);
  --container: 1200px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65;
  color: var(--nero); background: var(--bianco); -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 600; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.3rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
.muted { color: var(--grigio-chiaro); }
.small { font-size: .88rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: #fff; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--rosa); outline-offset: 3px; }

.kicker {
  display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--testo-rosa); margin-bottom: 14px;
}
.on-dark .kicker, .cta-band .kicker { color: var(--rosa-fluido); }
.accent { background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Wordmark (segnaposto finché non arriva il file logo originale) ---------- */
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--bianco); line-height: 1; }
.wordmark b { font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em; }
.wordmark b span { background: var(--grad-secondario); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark small { font-size: .62rem; font-weight: 500; letter-spacing: .02em; color: #BDBDBD; margin-top: 4px; }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-size: .9rem; font-weight: 600; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-rosa { background: var(--grad-btn); color: #fff; box-shadow: 0 8px 24px rgba(255, 92, 171, .30); }
.btn-rosa:hover { box-shadow: 0 10px 30px rgba(255, 92, 171, .42); }
.btn-scuro { background: var(--nero); color: #fff; }
.btn-scuro:hover { background: var(--grigio-scuro); }
.btn-outline { border-color: var(--nero); color: var(--nero); background: transparent; }
.btn-outline:hover { background: var(--nero); color: #fff; }
.btn-light { border-color: rgba(255,255,255,.55); color: #fff; background: rgba(255,255,255,.04); backdrop-filter: blur(6px); }
.btn-light:hover { background: #fff; color: var(--nero); }
.btn-lg { padding: 17px 34px; font-size: 1rem; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .2s; color: var(--rosa); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Header (scuro, come da brand manual) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(10,10,10,.92);
  backdrop-filter: saturate(1.3) blur(12px); border-bottom: 1px solid rgba(255,255,255,.06);
}
.home .site-header { position: fixed; left: 0; right: 0; background: transparent; border-bottom-color: transparent; transition: background .3s, border-color .3s; }
.home .site-header.scrolled, .home .site-header.open { background: rgba(10,10,10,.92); border-bottom-color: rgba(255,255,255,.06); }
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }
.logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.main-nav { flex: 1; }
.main-nav ul { list-style: none; display: flex; gap: 28px; margin: 0; padding: 0; }
.main-nav a {
  text-decoration: none; font-size: .9rem; font-weight: 500; color: #BDBDBD;
  padding: 6px 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--rosa); }
.header-cta { display: flex; gap: 10px; }
.header-cta .btn { padding: 10px 18px; font-size: .82rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero con video ---------- */
.hero-video {
  position: relative; min-height: min(92vh, 860px); display: grid; place-items: center; text-align: center;
  background: var(--nero) url("../img/hero-poster-720.jpg") center / cover no-repeat; color: #fff; overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
}
.hero-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-video::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse at center, rgba(10,10,10,.35) 0%, rgba(10,10,10,.65) 70%), linear-gradient(180deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,0) 25%, rgba(10,10,10,0) 75%, rgba(10,10,10,.85) 100%);
}
.hero-video .hero-content { position: relative; z-index: 2; max-width: 900px; }
.hero-video h1 { color: #fff; margin-bottom: 36px; font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 600; letter-spacing: -.03em; }
.hero-video .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.video-toggle {
  position: absolute; right: 24px; bottom: 24px; z-index: 3; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.35); background: rgba(10,10,10,.4); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.video-toggle svg { width: 16px; height: 16px; }

.page-hero { background: var(--nero); color: #fff; padding: 90px 0 70px; position: relative; overflow: hidden; }
.page-hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: url("../img/pattern-onde.svg") center / 115% auto no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
@media (max-width: 900px) { .page-hero::after { background-size: 260% auto; opacity: .4; } }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .kicker { color: var(--rosa-fluido); }
.page-hero .lead { font-size: 1.12rem; color: #C9C9C9; max-width: 680px; }
.page-hero.center { text-align: center; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.page-hero a:not(.btn) { color: var(--rosa-fluido); }

/* ---------- Sezioni ---------- */
.section { padding: 96px 0; }
.section-gray { background: var(--fondo-chiaro); }
.section-dark { background: var(--nero); color: #fff; }
.section-dark .muted { color: #A8A8A8; }
.boxed { background: #fff; border-radius: 28px; padding: 70px 60px; box-shadow: var(--shadow); }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: start; }
.split > * { min-width: 0; }
.split > .intro { position: sticky; top: 120px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }

/* ---------- Split Casa / Azienda ---------- */
.audience { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-card { border-radius: 28px; padding: 48px 44px; position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 520px; }
.aud-card > * { position: relative; z-index: 1; }
.aud-casa { background: var(--azzurro); color: var(--nero); }
.aud-casa::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; right: -160px; top: -170px; background: radial-gradient(circle, rgba(255,141,203,.55), rgba(200,182,255,.0) 70%); }
.aud-azienda { background: var(--nero); color: #fff; }
.aud-azienda::before { content: ""; position: absolute; inset: auto -20% -30% -20%; height: 75%; background: url("../img/pattern-onde.svg") center / cover no-repeat; opacity: .9; }
.aud-card .label { font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.aud-casa .label { color: var(--testo-rosa); }
.aud-azienda .label { color: var(--rosa-fluido); }
.aud-card h3 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 14px; }
.aud-card h3 em { font-style: italic; font-weight: 500; }
.aud-card p { max-width: 440px; }
.aud-casa p { color: var(--grigio-medio); }
.aud-azienda p { color: #BDBDBD; }
.aud-figures { display: flex; gap: 34px; margin: 18px 0 30px; flex-wrap: wrap; }
.aud-figures div { display: flex; flex-direction: column; }
.aud-figures strong { font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.aud-figures span { font-size: .82rem; opacity: .75; }
.aud-card ul.checks { margin: 0 0 30px; }
.aud-card .actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Infografica ---------- */
.infografica { max-width: 460px; margin-top: 30px; }

/* ---------- Card offerta (home) ---------- */
.offer-cards { display: grid; gap: 26px; }
.offer-card { display: grid; grid-template-columns: 210px 1fr; border: 1px solid var(--linea); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.offer-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.offer-visual { display: grid; place-items: center; min-height: 240px; position: relative; overflow: hidden; }
.offer-visual.luce { background: var(--grad-diag); }
.offer-visual.gas { background: var(--nero); }
.offer-visual.gas::after { content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") center / 260% no-repeat; opacity: .8; }
.offer-visual svg { width: 88px; height: 88px; color: #fff; position: relative; z-index: 1; }
.offer-body { padding: 32px 34px; }
.offer-body h3 { margin-bottom: 10px; }
.offer-body p { color: var(--grigio-chiaro); font-size: .97rem; }

/* ---------- Schede offerta ---------- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.plans > * { min-width: 0; }
.plan { border: 1px solid var(--linea); border-radius: 24px; padding: 38px 36px; background: #fff; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 1.5px solid var(--rosa); box-shadow: 0 16px 40px rgba(255,92,171,.14); }
.plan.dark { background: var(--nero); color: #fff; border-color: var(--nero); }
.plan.dark .target, .plan.dark .price-row span { color: #A8A8A8; }
.plan.dark .price-box { background: var(--grigio-scuro); }
.plan.dark .price-row { border-bottom-color: var(--grigio-medio); }
.plan.dark .docs { border-top-color: var(--grigio-medio); }
.plan.dark .docs a { color: #BDBDBD; }
.plan .tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--rosa-tint); color: var(--testo-rosa); margin-bottom: 18px; }
.plan.dark .tag { background: rgba(255,92,171,.16); color: var(--rosa-fluido); }
.plan h3 { font-size: 1.8rem; margin-bottom: 6px; }
.plan h3 em { font-weight: 500; }
.plan .target { color: var(--grigio-chiaro); margin-bottom: 22px; }
.price-box { background: var(--fondo-chiaro); border-radius: var(--radius-sm); padding: 18px 22px; margin-bottom: 22px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--linea); }
.price-row:last-child { border-bottom: 0; }
.price-row span { color: var(--grigio-chiaro); font-size: .92rem; }
.price-row strong { font-size: 1.1rem; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plan ul.checks { margin: 0 0 26px; }
.plan .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.plan .docs { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--linea); display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; }
.plan .docs a { color: var(--grigio-chiaro); }
.plan .code { font-size: .78rem; color: var(--grigio-chiaro); margin-top: 10px; word-break: break-all; }

/* Blocco gas su richiesta */
.gas-request { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; background: var(--nero); color: #fff; border-radius: 28px; padding: 60px; position: relative; overflow: hidden; }
.gas-request::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") right bottom / 90% no-repeat; opacity: .55; }
.gas-request > * { position: relative; z-index: 1; min-width: 0; }
.gas-request p { color: #BDBDBD; }
.gas-request .form label { color: #fff; }
.gas-request .form .check { color: #BDBDBD; }
.gas-request .form .check a { color: #fff; }

ul.checks { list-style: none; padding: 0; }
ul.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
ul.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad-btn); }
ul.checks li::after { content: ""; position: absolute; left: 6px; top: 8px; width: 6px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---------- Feature ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature { background: #fff; border: 1px solid var(--linea); border-radius: var(--radius); padding: 30px 28px; color: var(--nero); }
.section-gray .feature { border-color: transparent; }
.feature .ico { width: 52px; height: 52px; border-radius: 14px; background: var(--rosa-tint); color: var(--rosa); display: grid; place-items: center; margin-bottom: 18px; }
.feature .ico svg { width: 26px; height: 26px; }
.feature h4 { margin-bottom: 8px; }
.feature p { color: var(--grigio-chiaro); font-size: .95rem; margin: 0; }

/* ---------- Steps ---------- */
.how { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: center; }
.how > * { min-width: 0; }
.steps { display: grid; gap: 18px; counter-reset: step; }
.steps.row { grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { border: 1px solid var(--linea); border-radius: var(--radius); padding: 26px 28px 26px 92px; position: relative; background: #fff; }
.step::before {
  counter-increment: step; content: "0" counter(step); position: absolute; left: 26px; top: 22px;
  font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; line-height: 1;
  background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h4 { margin-bottom: 6px; }
.step p { color: var(--grigio-chiaro); margin: 0; font-size: .95rem; }
.steps.row .step { padding: 30px 28px; }
.steps.row .step::before { position: static; display: block; margin-bottom: 12px; font-size: 2.5rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--linea); border-radius: var(--radius-sm); transition: border-color .2s; }
.faq details[open] { border-color: var(--rosa-fluido); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 300; color: var(--rosa); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .answer { padding: 0 24px 22px; color: var(--grigio-medio); }
.faq .answer ul { padding-left: 20px; margin: 0 0 1em; }
.faq-group { margin-bottom: 50px; }
.faq-group h3 { margin-bottom: 18px; }

/* ---------- Contatti ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: #fff; border-radius: var(--radius); padding: 34px 30px; border: 1px solid var(--linea); min-width: 0; }
.contact-card .ico { width: 48px; height: 48px; border-radius: 14px; background: var(--grad-btn); color: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card .big { font-size: 1.5rem; font-weight: 600; margin: 6px 0 10px; display: block; text-decoration: none; overflow-wrap: anywhere; }
.contact-card p { color: var(--grigio-chiaro); font-size: .94rem; }

/* ---------- Form ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 6px; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 16px; border: 1px solid var(--linea);
  border-radius: var(--radius-sm); background: #fff; color: var(--nero); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--rosa); box-shadow: 0 0 0 4px rgba(255,92,171,.14); }
.form textarea { min-height: 130px; resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; font-weight: 400; color: var(--grigio-chiaro); }
.form .check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--rosa); flex-shrink: 0; }
.hp { position: absolute; left: -9999px; }
.radio-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.radio-pills label { margin: 0; }
.radio-pills input { position: absolute; opacity: 0; }
.radio-pills span { display: inline-block; padding: 10px 18px; border: 1px solid var(--linea); border-radius: 999px; font-weight: 500; cursor: pointer; }
.radio-pills input:checked + span { border-color: var(--rosa); background: var(--rosa-tint); color: var(--testo-rosa); }
.radio-pills input:focus-visible + span { box-shadow: 0 0 0 3px rgba(255,92,171,.25); }
.cta-band .radio-pills span, .gas-request .radio-pills span { border-color: rgba(255,255,255,.25); color: #fff; }
.cta-band .radio-pills input:checked + span, .gas-request .radio-pills input:checked + span { background: rgba(255,92,171,.18); border-color: var(--rosa); color: #fff; }

/* ---------- Banda CTA ---------- */
.cta-band { background: var(--nero); color: #fff; border-radius: 28px; padding: 60px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") left bottom / 90% no-repeat; opacity: .45; }
.cta-band > * { position: relative; z-index: 1; min-width: 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #BDBDBD; }
.cta-band .form label { color: #fff; }
.cta-band .form .check { color: #BDBDBD; }
.cta-band .form .check a { color: #fff; }
.phone-line { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.phone-line .num { font-size: 1.6rem; font-weight: 600; color: #fff; text-decoration: none; }

/* ---------- Documenti ---------- */
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.doc-list a { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border: 1px solid var(--linea); border-radius: var(--radius-sm); text-decoration: none; background: #fff; transition: border-color .2s, transform .2s; }
.doc-list a:hover { border-color: var(--rosa); transform: translateX(3px); }
.doc-list .pdf { flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px; background: var(--rosa-tint); color: var(--testo-rosa); display: grid; place-items: center; font-size: .7rem; font-weight: 700; }
.doc-list small { display: block; color: var(--grigio-chiaro); }

/* ---------- Testo lungo ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--testo-rosa); }
.note { background: var(--rosa-tint); border-left: 4px solid var(--rosa); padding: 18px 22px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; }
.note p:last-child { margin: 0; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; margin: 18px 0 28px; font-size: .94rem; }
table.data th, table.data td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--linea); }
table.data th { background: var(--fondo-chiaro); font-weight: 600; }

/* Segnaposto da compilare (cerca "ph" nel codice) */
.ph { background: #FFF6C7; color: #6B5300; border-radius: 4px; padding: 0 4px; font-style: normal; }

/* ---------- Footer ---------- */
.site-footer { background: var(--nero); color: #BDBDBD; position: relative; overflow: hidden; }
.site-footer::before { content: ""; display: block; height: 3px; background: var(--grad-principale); }
.footer-top { padding: 70px 0 50px; display: grid; grid-template-columns: 1.45fr repeat(4, 1fr); gap: 36px; }
.footer-top > * { min-width: 0; }
.footer-brand p { font-size: .9rem; color: #8C8C8C; margin-top: 18px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 16px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { text-decoration: none; color: #A8A8A8; font-size: .92rem; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid var(--grigio-scuro); padding: 26px 0 34px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .82rem; color: #8C8C8C; }
.footer-bottom nav { display: flex; gap: 18px; flex-wrap: wrap; }
.arera-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.arera-strip a { border: 1px solid var(--grigio-medio); border-radius: 999px; padding: 6px 14px; font-size: .8rem; }

/* ---------- Animazioni ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.ribbon-anim { animation: flow 9s ease-in-out infinite alternate; transform-origin: center; }
@keyframes flow { from { transform: translateY(-6px) rotate(-1deg); } to { transform: translateY(6px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .ribbon-anim { animation: none !important; }

}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav ul { gap: 18px; }
  .header-cta .btn span.lbl { display: none; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .nav-toggle { display: block; }
  .main-nav, .header-cta { display: none; }
  .site-header.open .main-nav, .site-header.open .header-cta { display: block; }
  .site-header.open .header-inner { flex-wrap: wrap; height: auto; padding: 14px 24px 24px; }
  .site-header.open .main-nav { flex-basis: 100%; order: 3; }
  .site-header.open .main-nav ul { flex-direction: column; gap: 4px; }
  .site-header.open .main-nav a { display: block; padding: 12px 0; font-size: 1.05rem; }
  .site-header.open .header-cta { flex-basis: 100%; order: 4; display: flex; }
  .site-header.open .header-cta .btn span.lbl { display: inline; }
  .site-header.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split, .cta-band, .how, .gas-request, .audience { grid-template-columns: 1fr; gap: 36px; }
  .audience { gap: 18px; }
  .split > .intro { position: static; }
  .plans, .contact-cards, .steps.row { grid-template-columns: 1fr; }
  .boxed { padding: 44px 26px; border-radius: 22px; }
  .cta-band, .gas-request { padding: 40px 26px; }
  .aud-card { min-height: 0; padding: 38px 28px; }
  .section { padding: 64px 0; }
  .infografica { margin: 10px auto 0; }
}
@media (max-width: 560px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .offer-card { grid-template-columns: 1fr; }
  .offer-visual { min-height: 150px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .plan { padding: 30px 22px; }
  .header-cta { flex-direction: column; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .price-row strong { white-space: normal; }
  .page-hero { padding: 56px 0 44px; }
  .step { padding: 24px 20px 24px 76px; }
  .step::before { left: 20px; font-size: 1.8rem; }
  .hero-video .actions .btn { width: 100%; }
  .aud-figures { gap: 22px; }
}

/* ---------- Logo ufficiale e icona ---------- */
.logo-img { height: 34px; width: auto; }
.footer-logo { display: inline-flex; flex-direction: column; gap: 8px; }
.footer-logo img { height: 38px; width: auto; }
.footer-logo small { font-size: .78rem; color: #A8A8A8; letter-spacing: .02em; }
.brand-mark { position: absolute; pointer-events: none; z-index: 0; }
.aud-azienda .brand-mark { width: 210px; right: -70px; bottom: -80px; }
.aud-azienda::before { opacity: .55; }
.aud-azienda .actions, .aud-azienda ul, .aud-azienda .aud-figures { position: relative; z-index: 1; }
.page-hero.center .hero-mark { width: 72px; margin: 0 auto 26px; }

/* ---------- Banda con video (onde) ---------- */
.cta-band.has-video::after { display: none; }
.band-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-band.has-video::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(10,10,10,.55) 0%, rgba(10,10,10,.25) 55%, rgba(10,10,10,.6) 100%); }
@media (prefers-reduced-motion: reduce) { .band-video { display: none; } .cta-band.has-video { background: var(--nero) url("../img/onde-poster.jpg") center / cover; } }
@media (max-width: 900px) { .aud-azienda .brand-mark { width: 150px; right: -50px; bottom: -60px; } .logo-img { height: 30px; } }

/* ---------- Numero Verde (grafica classica) ---------- */
.nv {
  display: inline-flex; align-items: stretch; text-decoration: none; border: 2px solid #00A04B; border-radius: 10px;
  overflow: hidden; background: #fff; line-height: 1; box-shadow: 0 6px 18px rgba(0,160,75,.18); transition: transform .15s;
}
.nv:hover { transform: translateY(-1px); }
.nv-label {
  display: flex; align-items: center; gap: 7px; background: #00A04B; color: #fff; padding: 8px 12px 8px 10px;
  font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; line-height: 1.05;
}
.nv-label svg { width: 20px; height: 20px; flex-shrink: 0; }
.nv-num { display: flex; align-items: center; padding: 8px 14px; color: #00A04B; font-size: 1.45rem; font-weight: 800; letter-spacing: .01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nv-dark { box-shadow: none; }
.footer-nv { margin: 18px 0 6px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-nv small { font-size: .78rem; color: #8C8C8C; }
.nv-block { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.nv-block small { font-size: .8rem; color: #A8A8A8; }
.contact-card .nv { margin: 6px 0 12px; }

/* ---------- WhatsApp fisso in basso a sinistra ---------- */
.wa-float {
  position: fixed; left: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px 0 14px; border-radius: 999px;
  background: #25D366; color: #fff; text-decoration: none; font-weight: 700; font-size: .9rem;
  box-shadow: 0 10px 28px rgba(37,211,102,.38); transition: transform .2s, box-shadow .2s;
}
.wa-float svg { width: 28px; height: 28px; flex-shrink: 0; }
.wa-float:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 14px 34px rgba(37,211,102,.5); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37,211,102,.55); animation: wa-pulse 2.8s infinite; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
@media (max-width: 700px) { .wa-float { width: 56px; padding: 0; justify-content: center; } .wa-float .wa-label { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }

/* ---------- Pagina Offerte: versione dinamica ---------- */
.js .reveal { transition-delay: var(--d, 0s); }
.offer-hero { position: relative; overflow: hidden; background: var(--nero); color: #fff; padding: 110px 0 120px; }
.offer-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.offer-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(10,10,10,.85) 0%, rgba(10,10,10,.5) 55%, rgba(10,10,10,.2) 100%); }
.offer-hero .container { position: relative; z-index: 2; }
.offer-hero h1 { max-width: 760px; }
.offer-hero .lead { font-size: 1.12rem; color: #C9C9C9; max-width: 600px; margin-bottom: 30px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; background: rgba(255,255,255,.05); backdrop-filter: blur(6px); transition: background .2s, border-color .2s, transform .2s; }
.chip:hover { background: rgba(255,92,171,.18); border-color: var(--rosa); transform: translateY(-2px); }
.chip svg { width: 18px; height: 18px; color: var(--rosa-fluido); }

.marquee { background: var(--grad-btn); color: #fff; overflow: hidden; white-space: nowrap; padding: 18px 0; }
.marquee-track { display: inline-flex; gap: 48px; padding-left: 48px; animation: marquee 32s linear infinite; font-weight: 700; font-size: 1.05rem; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .8; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.section-azzurro { background: var(--azzurro); }
.section-grad { background: var(--grad-diag); color: #fff; }
.section-grad .kicker { color: #fff; opacity: .85; }
.section-grad h2 { color: #fff; }

.plan { transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(10,10,10,.12); }
.plan.casa { background: linear-gradient(160deg, #fff 0%, var(--azzurro) 100%); border: 0; box-shadow: 0 16px 40px rgba(200,182,255,.25); }
.plan.dark { overflow: hidden; }
.plan.dark::before { content: ""; position: absolute; inset: auto -30% -20% -30%; height: 60%; background: url("../img/pattern-onde.svg") center / cover no-repeat; opacity: .5; pointer-events: none; }
.plan > * { position: relative; z-index: 1; }
.plan .plan-mark { position: absolute; width: 150px; right: -40px; top: -40px; z-index: 0; opacity: .9; }
.plan .big-price { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 4px; }
.plan .big-price strong { font-size: clamp(2.4rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.03em; line-height: 1; background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.plan .big-price span { color: var(--grigio-chiaro); font-weight: 500; }
.plan.dark .big-price span { color: #A8A8A8; }
.plan .price-note { font-size: .86rem; color: var(--grigio-chiaro); margin-bottom: 20px; }
.plan.dark .price-note { color: #A8A8A8; }
.plan.casa .price-box { background: rgba(255,255,255,.7); }

.price-parts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-parts > * { min-width: 0; }
.part { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); border-radius: var(--radius); padding: 28px 26px; backdrop-filter: blur(6px); position: relative; }
.part .op { position: absolute; right: -16px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--rosa); display: grid; place-items: center; font-weight: 800; z-index: 2; }
.part .tagline { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.part h4 { font-size: 1.3rem; margin: 8px 0; color: #fff; }
.part p { color: rgba(255,255,255,.9); margin: 0; font-size: .95rem; }
.part .lock { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: .8rem; font-weight: 700; background: rgba(10,10,10,.25); padding: 6px 10px; border-radius: 999px; }
.part .lock svg { width: 14px; height: 14px; }

.features.dark .feature { background: var(--grigio-scuro); border-color: var(--grigio-medio); color: #fff; transition: transform .3s, border-color .3s; }
.features.dark .feature:hover { transform: translateY(-4px); border-color: var(--rosa); }
.features.dark .feature p { color: #A8A8A8; }
.features.dark .feature .ico { background: rgba(255,92,171,.14); color: var(--rosa-fluido); }

@media (max-width: 900px) {
  .price-parts { grid-template-columns: 1fr; gap: 26px; }
  .part .op { right: 50%; top: auto; bottom: -24px; transform: translateX(50%); }
  .offer-hero { padding: 70px 0 80px; }
}
.footer-nv .nv-num { font-size: 1.2rem; padding: 7px 12px; }
.footer-nv .nv-label { padding: 7px 10px 7px 9px; font-size: .62rem; }
/* Card "come si compone il prezzo": bianche su gradiente per massima leggibilità */
.part { background: #fff; border: 0; color: var(--nero); box-shadow: 0 18px 40px rgba(120, 40, 120, .18); backdrop-filter: none; transition: transform .3s; }
.part:hover { transform: translateY(-4px); }
.part .tagline { color: var(--testo-rosa); opacity: 1; }
.part h4 { color: var(--nero); }
.part p { color: var(--grigio-medio); }
.part .lock { background: var(--rosa-tint); color: var(--testo-rosa); }
.part .op { background: var(--nero); color: #fff; }
@media (max-width: 560px) { .plan .plan-mark { width: 96px; right: -34px; top: -34px; } }

/* ---------- Numero Verde: alone pulsante per far capire che è cliccabile ---------- */
.nv { position: relative; overflow: visible; animation: nv-glow 2.4s ease-in-out infinite; }
.nv .nv-label { border-radius: 8px 0 0 8px; }
.nv .nv-num { border-radius: 0 8px 8px 0; }
.nv::after {
  content: ""; position: absolute; inset: -6px; border-radius: 14px; border: 2px solid rgba(0,160,75,.55);
  animation: nv-ring 2.4s ease-out infinite; pointer-events: none;
}
.nv:hover { box-shadow: 0 0 0 4px rgba(0,160,75,.25), 0 10px 30px rgba(0,160,75,.45); }
@keyframes nv-glow { 0%,100% { box-shadow: 0 0 14px rgba(0,160,75,.35), 0 6px 18px rgba(0,160,75,.2); } 50% { box-shadow: 0 0 26px rgba(0,200,95,.65), 0 6px 22px rgba(0,160,75,.35); } }
@keyframes nv-ring { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .nv, .nv::after { animation: none; } }

/* ---------- Offerte: icona in hero ---------- */
.offer-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.offer-hero-grid > * { min-width: 0; }
.hero-icon { justify-self: center; width: min(300px, 80%); position: relative; }
.hero-icon img { width: 100%; filter: drop-shadow(0 20px 60px rgba(255,92,171,.45)); animation: float 6s ease-in-out infinite; }
.hero-icon::before { content: ""; position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255,92,171,.35), rgba(200,182,255,.12) 55%, transparent 70%); filter: blur(30px); }
@keyframes float { 0%,100% { transform: translateY(-10px) rotate(-2deg); } 50% { transform: translateY(10px) rotate(2deg); } }
@media (prefers-reduced-motion: reduce) { .hero-icon img { animation: none; } }
@media (max-width: 900px) { .offer-hero-grid { grid-template-columns: 1fr; } .hero-icon { width: 92px; justify-self: start; order: -1; margin-bottom: 4px; } }

.fine-print { font-size: .64rem; line-height: 1.5; color: #B4B4BA; margin: 26px 0 0; max-width: 900px; }
.fine-print a { color: inherit; }

/* ---------- Offerte: come si compone il prezzo ---------- */
.price-section { background: var(--nero); color: #fff; position: relative; overflow: hidden; }
.price-section::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") center 70% / 120% auto no-repeat; opacity: .35; pointer-events: none; }
.price-section .container { position: relative; z-index: 1; }
.price-section h2 { color: #fff; }
.price-section .muted { color: #A8A8A8; }
.price-bar { display: flex; height: 64px; border-radius: 999px; overflow: hidden; background: var(--grigio-scuro); border: 1px solid var(--grigio-medio); margin: 10px 0 14px; }
.seg { width: var(--w); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .9rem; color: var(--nero); white-space: nowrap; overflow: hidden; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.js .price-bar.reveal .seg { width: 0; }
.js .price-bar.reveal.in .seg { width: var(--w); }
.js .price-bar.reveal.in .seg-spread { transition-delay: .35s; }
.js .price-bar.reveal.in .seg-quota { transition-delay: .7s; }
.seg-pun { background: repeating-linear-gradient(-45deg, #C8B6FF 0 14px, #D6C8FF 14px 28px); background-size: 40px 40px; animation: stripes 1.6s linear infinite; }
.seg-spread { background: var(--rosa); color: #fff; }
.seg-quota { background: var(--rosa-fluido); }
@keyframes stripes { from { background-position: 0 0; } to { background-position: 40px 0; } }
.price-legend { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; font-size: .85rem; color: #BDBDBD; margin-bottom: 46px; }
.price-legend span { display: inline-flex; align-items: center; gap: 8px; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dot-pun { background: var(--lilla); }
.dot-fixed { background: var(--grad-secondario); }
.price-section .part { background: var(--grigio-scuro); border: 1px solid var(--grigio-medio); color: #fff; box-shadow: none; padding: 30px 28px; overflow: visible; transition: transform .3s, border-color .3s, box-shadow .3s; }
.price-section .part:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(255,92,171,.15); }
.price-section .part-pun:hover { border-color: var(--lilla); }
.price-section .part-spread:hover { border-color: var(--rosa); }
.price-section .part-quota:hover { border-color: var(--rosa-fluido); }
.part::before { content: ""; position: absolute; left: 28px; right: 28px; top: -1px; height: 3px; border-radius: 0 0 3px 3px; }
.part-pun::before { background: var(--lilla); }
.part-spread::before { background: var(--rosa); }
.part-quota::before { background: var(--rosa-fluido); }
.part-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 16px; }
.part-ico svg { width: 24px; height: 24px; }
.part-pun .part-ico { background: rgba(200,182,255,.15); color: var(--lilla); }
.part-spread .part-ico { background: rgba(255,92,171,.15); color: var(--rosa); }
.part-quota .part-ico { background: rgba(255,141,203,.15); color: var(--rosa-fluido); }
.price-section .part .tagline { color: #A8A8A8; }
.price-section .part h4 { color: #fff; }
.price-section .part p { color: #BDBDBD; }
.price-section .part p strong { color: #fff; }
.price-section .part .lock { background: rgba(255,92,171,.14); color: var(--rosa-fluido); }
.price-section .part .op { background: var(--grad-btn); color: #fff; width: 36px; height: 36px; right: -18px; font-size: 1.1rem; box-shadow: 0 0 0 6px var(--nero); }
@media (prefers-reduced-motion: reduce) { .seg-pun { animation: none; } .js .price-bar.reveal .seg { width: var(--w); transition: none; } }
@media (max-width: 560px) { .seg { font-size: .7rem; } .price-bar { height: 52px; } .seg span { display: none; } .seg-pun span { display: inline; } }

/* ---------- Offerte: valori ---------- */
.values-section { background: #fff; position: relative; overflow: hidden; }
.values-section::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: -180px; top: -200px; background: radial-gradient(circle, rgba(255,141,203,.35), transparent 65%); pointer-events: none; }
.values-section::after { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -200px; bottom: -260px; background: radial-gradient(circle, rgba(200,182,255,.45), transparent 65%); pointer-events: none; }
.values-section .container { position: relative; z-index: 1; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.values > * { min-width: 0; }
.value {
  position: relative; border-radius: 22px; padding: 32px 28px; background: #fff; border: 1px solid var(--linea);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, color .35s; overflow: hidden; isolation: isolate;
}
.value::before { content: ""; position: absolute; inset: 0; background: var(--grad-diag); opacity: 0; transition: opacity .35s; z-index: -1; }
.value:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(255,92,171,.25); color: #fff; border-color: transparent; }
.value:hover::before { opacity: 1; }
.value h4 { margin: 0 0 8px; }
.value p { margin: 0; color: var(--grigio-chiaro); font-size: .95rem; transition: color .35s; }
.value:hover p { color: rgba(255,255,255,.92); }
.v-ico { width: 56px; height: 56px; border-radius: 16px; background: var(--grad-btn); color: #fff; display: grid; place-items: center; margin-bottom: 20px; box-shadow: 0 10px 24px rgba(255,92,171,.3); transition: background .35s, transform .35s; }
.v-ico svg { width: 26px; height: 26px; }
.value:hover .v-ico { background: rgba(255,255,255,.22); transform: rotate(-6deg) scale(1.05); box-shadow: none; }
@media (max-width: 1000px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Offerte: Valori v2 (tab animate con avanzamento automatico) ---------- */
.values-v2 { background: var(--nero); color: #fff; position: relative; overflow: hidden; }
.values-v2::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") center 30% / 140% auto no-repeat; opacity: .25; pointer-events: none; }
.vals { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
.vals > * { min-width: 0; }
.vals-left h2 { color: #fff; }
.vals-left .muted { color: #A8A8A8; margin-bottom: 30px; max-width: 420px; }
.vals-tabs { display: grid; gap: 6px; }
.vtab {
  position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 4px 12px; text-align: left;
  background: transparent; border: 0; color: #8C8C8C; font: inherit; padding: 18px 18px 22px; border-radius: 16px; cursor: pointer;
  transition: background .3s, color .3s;
}
.vtab:hover { color: #fff; background: rgba(255,255,255,.04); }
.vtab.is-active { color: #fff; background: var(--grigio-scuro); }
.vt-num { font-weight: 700; font-size: .9rem; color: var(--grigio-chiaro); font-variant-numeric: tabular-nums; transition: color .3s; }
.vtab.is-active .vt-num { color: var(--rosa); }
.vt-title { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
.vt-bar { position: absolute; left: 18px; right: 18px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.08); overflow: hidden; }
.vt-bar i { display: block; height: 100%; width: 0; background: var(--grad-btn); border-radius: inherit; }
.vtab.is-active .vt-bar i { animation: vfill 5.5s linear forwards; }
.vals.paused .vtab.is-active .vt-bar i { animation-play-state: paused; }
.vals.static .vtab.is-active .vt-bar i { animation: none; width: 100%; }
@keyframes vfill { from { width: 0; } to { width: 100%; } }

.vals-stage {
  position: relative; min-height: 440px; border-radius: 30px; background: var(--grad-diag); overflow: hidden;
  padding: 52px 48px; display: flex; align-items: flex-end; box-shadow: 0 30px 80px rgba(255,92,171,.25);
}
.ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); pointer-events: none; }
.ring.r1 { width: 420px; height: 420px; right: -140px; top: -160px; animation: ring-pulse 7s ease-in-out infinite; }
.ring.r2 { width: 260px; height: 260px; right: -40px; top: -60px; border-color: rgba(255,255,255,.5); animation: ring-pulse 7s ease-in-out infinite reverse; }
@keyframes ring-pulse { 0%,100% { transform: scale(1); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
.vp-mark { position: absolute; width: 130px; right: 40px; top: 40px; opacity: .95; filter: drop-shadow(0 10px 30px rgba(10,10,10,.25)); animation: float 6s ease-in-out infinite; }
.vpanel { position: relative; z-index: 1; color: #fff; max-width: 520px; }
.vpanel[hidden] { display: none; }
.vpanel.is-active { animation: vpanel-in .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes vpanel-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.vp-ico { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.22); backdrop-filter: blur(6px); display: grid; place-items: center; margin-bottom: 26px; border: 1px solid rgba(255,255,255,.4); }
.vpanel.is-active .vp-ico { animation: vico-in .8s cubic-bezier(.2,.8,.2,1) both .1s; }
@keyframes vico-in { from { opacity: 0; transform: scale(.6) rotate(-12deg); } to { opacity: 1; transform: none; } }
.vp-ico svg { width: 30px; height: 30px; color: #fff; }
.vp-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 10px; }
.vpanel h3 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 700; letter-spacing: -.03em; color: #fff; margin-bottom: 14px; }
.vpanel p { font-size: 1.05rem; color: rgba(255,255,255,.94); margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .vpanel.is-active, .vpanel.is-active .vp-ico, .ring, .vp-mark { animation: none; }
}
@media (max-width: 900px) {
  .vals { grid-template-columns: 1fr; gap: 30px; }
  .vals-tabs { grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
  .vtab { scroll-snap-align: start; }
  .vt-title { font-size: 1rem; }
  .vals-stage { min-height: 380px; padding: 36px 28px; }
  .vp-mark { width: 84px; right: 24px; top: 24px; }
  .ring.r1 { width: 300px; height: 300px; }
  .ring.r2 { width: 180px; height: 180px; }
}
.vals.offscreen .vtab.is-active .vt-bar i { animation-play-state: paused; }
.vp-mark { filter: brightness(0) invert(1) drop-shadow(0 10px 30px rgba(10,10,10,.18)); opacity: .9; }

/* ---------- Offerte: Valori con personaggi (stile oggetti di casa con faccine) ---------- */
.buddies-section { background: linear-gradient(180deg, #fff 0%, var(--azzurro) 100%); position: relative; overflow: hidden; }
.buddies-section::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,92,171,.18) 2px, transparent 2.5px); background-size: 28px 28px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent); mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent); pointer-events: none; }
.buddies-section .container { position: relative; z-index: 1; }
.buddies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.buddies > * { min-width: 0; }
.buddy {
  position: relative; border-radius: 28px; padding: 74px 24px 28px; text-align: center; outline: none;
  transition: transform .35s cubic-bezier(.3,1.6,.5,1), box-shadow .35s; box-shadow: 0 14px 30px rgba(10,10,10,.06);
}
.buddy.c1 { background: #FFE7F2; }
.buddy.c2 { background: #EFE9FF; }
.buddy.c3 { background: #fff; }
.buddy.c4 { background: #FFF0F7; }
.buddy:hover, .buddy:focus-visible { transform: translateY(-10px) rotate(-1.5deg); box-shadow: 0 26px 50px rgba(255,92,171,.22); }
.buddy:nth-child(even):hover, .buddy:nth-child(even):focus-visible { transform: translateY(-10px) rotate(1.5deg); }
.buddy h4 { font-size: 1.15rem; margin: 6px 0 8px; }
.buddy p { color: var(--grigio-medio); font-size: .93rem; margin: 0; }

.bubble {
  position: absolute; left: 18px; right: 18px; top: -18px; z-index: 2; background: var(--nero); color: #fff;
  font-weight: 700; font-size: .92rem; line-height: 1.35; padding: 12px 16px; border-radius: 18px; text-wrap: balance;
  box-shadow: 0 10px 24px rgba(10,10,10,.18); transform-origin: 50% 100%;
}
.bubble::after { content: ""; position: absolute; left: 50%; bottom: -9px; width: 18px; height: 18px; background: var(--nero); transform: translateX(-50%) rotate(45deg); border-radius: 3px; }
.js .buddy.reveal .bubble { opacity: 0; transform: scale(.6) translateY(10px); transition: opacity .4s, transform .5s cubic-bezier(.3,1.6,.5,1); transition-delay: calc(var(--d, 0s) + .45s); }
.js .buddy.reveal.in .bubble { opacity: 1; transform: none; }
.buddy:hover .bubble { animation: wobble .6s ease; }
@keyframes wobble { 0%,100% { transform: rotate(0); } 25% { transform: rotate(-3deg); } 75% { transform: rotate(3deg); } }

.buddy-art { width: min(190px, 82%); margin: 0 auto 10px; }
.char { width: 100%; height: auto; overflow: visible; animation: bob 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.c2 .char { animation-delay: -.8s; } .c3 .char { animation-delay: -1.6s; } .c4 .char { animation-delay: -2.4s; }
@keyframes bob { 0%,100% { transform: translateY(0) scaleY(1); } 50% { transform: translateY(-8px) scaleY(1.02); } }
.buddy:hover .char { animation: hop .7s cubic-bezier(.3,1.6,.5,1); }
@keyframes hop { 0% { transform: translateY(0) scale(1, 1); } 30% { transform: translateY(4px) scale(1.06, .92); } 60% { transform: translateY(-18px) scale(.96, 1.05); } 100% { transform: translateY(0) scale(1); } }

.char .eyes { transform-box: fill-box; transform-origin: center; animation: blink 5s infinite; }
.c2 .char .eyes { animation-delay: 1.2s; } .c3 .char .eyes { animation-delay: 2.4s; } .c4 .char .eyes { animation-delay: 3.3s; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.char .cheek { transition: opacity .3s; }
.buddy:hover .char .cheek { opacity: 1; }

.char .glow { transform-box: fill-box; transform-origin: center; animation: glow 2.6s ease-in-out infinite; }
@keyframes glow { 0%,100% { opacity: .6; transform: scale(.94); } 50% { opacity: 1; transform: scale(1.06); } }
.char .rays path { animation: ray 2.6s ease-in-out infinite; }
@keyframes ray { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.char .waves path { animation: wave 1.8s ease-out infinite; }
.char .waves path:nth-child(2), .char .waves path:nth-child(4) { animation-delay: .3s; }
@keyframes wave { 0% { opacity: 0; } 40% { opacity: 1; } 100% { opacity: 0; } }
.char .sparks path { transform-box: fill-box; transform-origin: center; animation: twinkle 2.2s ease-in-out infinite; }
.char .sparks path:nth-child(2) { animation-delay: 1.1s; }
@keyframes twinkle { 0%,100% { transform: scale(.4) rotate(0); opacity: .3; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
.char .heat path { animation: heat 2.4s ease-in-out infinite; }
.char .heat path:nth-child(2) { animation-delay: .4s; } .char .heat path:nth-child(3) { animation-delay: .8s; }
@keyframes heat { 0% { transform: translateY(10px); opacity: 0; } 40% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .char, .char *, .bubble { animation: none !important; }
}
@media (max-width: 1000px) { .buddies { grid-template-columns: repeat(2, 1fr); row-gap: 46px; } }
@media (max-width: 560px) { .buddies { grid-template-columns: 1fr; row-gap: 44px; } .buddy-art { width: 160px; } }

/* ---------- Valori: "Casa Fluida" (casetta con tetto, comignolo e pavimento) ---------- */
.buddies-section { background: linear-gradient(180deg, #DCEEFF 0%, var(--azzurro) 55%, #fff 100%); }
.buddies-section::before { display: none; }
.cloud { position: absolute; background: #fff; border-radius: 999px; opacity: .9; z-index: 0; animation: drift 38s linear infinite; }
.cloud::before, .cloud::after { content: ""; position: absolute; background: #fff; border-radius: 50%; }
.cloud::before { width: 55%; height: 160%; left: 14%; bottom: 20%; }
.cloud::after { width: 38%; height: 120%; right: 14%; bottom: 25%; }
.cl1 { width: 160px; height: 44px; top: 70px; left: -180px; }
.cl2 { width: 110px; height: 32px; top: 190px; left: -140px; animation-duration: 52s; animation-delay: -20s; opacity: .7; }
.cl3 { width: 200px; height: 52px; top: 330px; left: -220px; animation-duration: 64s; animation-delay: -40s; opacity: .6; }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(calc(100vw + 300px)); } }

.house { max-width: 1160px; margin: 0 auto; position: relative; }
.house-roof { position: relative; margin: 0 -20px -2px; }
.house-roof svg { display: block; width: 100%; height: clamp(110px, 17vw, 210px); }
.attic { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); width: clamp(58px, 8vw, 92px); aspect-ratio: 1; border-radius: 50%; background: var(--azzurro); border: 5px solid #fff; display: grid; place-items: center; box-shadow: 0 0 0 5px var(--nero), 0 0 30px rgba(255,92,171,.5); }
.attic img { width: 64%; animation: float 5s ease-in-out infinite; }
.smoke { position: absolute; left: 74.5%; top: 6%; width: 26px; height: 26px; border-radius: 50%; background: #fff; opacity: 0; animation: smoke 4.5s ease-out infinite; z-index: 1; }
.smoke.s2 { animation-delay: 1.5s; } .smoke.s3 { animation-delay: 3s; }
@keyframes smoke { 0% { transform: translate(0, 0) scale(.5); opacity: 0; } 15% { opacity: .95; } 100% { transform: translate(40px, -120px) scale(2.2); opacity: 0; } }

.house-body {
  position: relative; background-color: #fff; border: 6px solid var(--nero); border-top: 0; border-radius: 0 0 40px 40px;
  padding: 64px 36px 0; overflow: hidden;
  background-image: radial-gradient(rgba(255,92,171,.14) 2px, transparent 2.5px), radial-gradient(rgba(200,182,255,.22) 2px, transparent 2.5px);
  background-size: 34px 34px, 34px 34px; background-position: 0 0, 17px 17px;
}
.house-sign {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%) rotate(-2deg); background: var(--grad-btn); color: #fff;
  font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 16px; border-radius: 8px;
  box-shadow: 0 6px 14px rgba(255,92,171,.35); animation: sign 4s ease-in-out infinite; transform-origin: 50% -20px;
}
@keyframes sign { 0%,100% { transform: translateX(-50%) rotate(-2deg); } 50% { transform: translateX(-50%) rotate(2deg); } }
.house .buddies { position: relative; z-index: 1; padding-top: 22px; }
.house-floor {
  position: relative; margin: 48px -36px 0; height: 40px; border-top: 6px solid var(--nero);
  background: repeating-linear-gradient(90deg, #FF8DCB 0 70px, #FF9FD4 70px 72px, #FFB3DC 72px 140px, #FF9FD4 140px 142px);
}
.rug { position: absolute; left: 50%; top: -6px; transform: translateX(-50%); width: 46%; height: 16px; border-radius: 0 0 50% 50%; background: var(--lilla); border: 3px solid var(--nero); border-top: 0; }
@media (prefers-reduced-motion: reduce) { .cloud, .smoke, .attic img, .house-sign { animation: none; } .smoke { display: none; } }
@media (max-width: 900px) {
  .house-body { padding: 56px 18px 0; border-width: 5px; border-radius: 0 0 28px 28px; }
  .house-floor { margin: 40px -18px 0; }
  .house-roof { margin: 0 -10px -2px; }
}

/* ---------- Home: personaggi nelle card offerte ---------- */
.offer-visual { min-height: 250px; }
.offer-visual.luce { background: linear-gradient(160deg, #FFE7F2 0%, #FFD0E6 100%); }
.offer-visual.gas { background: var(--nero); }
.offer-visual.gas::after { opacity: .5; }
.offer-visual::before { border-color: rgba(255,255,255,.35); }
.offer-visual.gas::before { border-color: rgba(255,255,255,.06); }
.ov-char { position: relative; z-index: 1; width: 150px; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.offer-visual .ov-char svg.char { width: 100%; height: auto; color: inherit; }
.offer-card:hover .ov-char { transform: translateY(-6px) rotate(-3deg) scale(1.04); }
.offer-card:hover .char .cheek { opacity: 1; }
@media (max-width: 560px) { .offer-visual { min-height: 190px; } .ov-char { width: 120px; } }

/* ---------- Home: visual offerte in stile brand manual (anello gradiente + icona lineare) ---------- */
.offer-visual.luce { background: var(--nero); }
.offer-visual.luce::after { content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") center / 260% no-repeat; opacity: .7; }
.offer-visual.gas { background: var(--grad-diag); }
.offer-visual.gas::after { display: none; }
.offer-visual::before { display: none; }
.offer-visual svg.ov-ring { width: 150px; height: 150px; position: relative; z-index: 1; color: inherit; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.offer-card:hover .ov-ring { transform: rotate(18deg); }
@media (max-width: 560px) { .offer-visual svg.ov-ring { width: 120px; height: 120px; } }

/* Casa Fluida: oblò con l'icona ferma */
.attic img { animation: none; }

/* Offerte hero: solo titolo e chip */
.offer-hero-grid { grid-template-columns: 1fr; }
.offer-hero h1 { margin-bottom: 30px; }
.house .buddies { padding-top: 0; }
.house-body { padding-top: 56px; }

/* Come si compone il prezzo: "+" centrato tra le card su mobile */
@media (max-width: 900px) {
  .price-section .part .op { right: auto; left: 50%; top: auto; bottom: -31px; transform: translateX(-50%); }
  .price-section .price-parts { gap: 34px; }
}

/* Home: luce rosa, gas nero */
.offer-visual.luce { background: var(--grad-diag); }
.offer-visual.luce::after { display: none; }
.offer-visual.gas { background: var(--nero); }
.offer-visual.gas::after { display: block; content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") center / 260% no-repeat; opacity: .7; }

/* Divider sotto il sottotitolo delle sezioni (linea sfumata come nel brand manual) */
.section-head::after { content: ""; display: block; width: 88px; height: 3px; margin: 26px auto 0; border-radius: 3px; background: var(--grad-btn); }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Home: "Passare a Fluida, in tre passi" — timeline animata ---------- */
.steps-section { background: var(--nero); color: #fff; position: relative; overflow: hidden; }
.steps-section::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") center 85% / 130% auto no-repeat; opacity: .3; pointer-events: none; }
.steps-section .container { position: relative; z-index: 1; }
.steps-section h2 { color: #fff; }
.steps-section .muted { color: #A8A8A8; }
.steps-section .kicker { color: var(--rosa-fluido); }

.timeline { position: relative; margin-top: 10px; }
.tl-track { position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: 44px; height: 4px; border-radius: 4px; background: var(--grigio-medio); }
.tl-fill { position: absolute; inset: 0; width: 0; border-radius: inherit; background: var(--grad-btn); box-shadow: 0 0 18px rgba(255,92,171,.6); transition: width 1.8s cubic-bezier(.6,.05,.3,1) .2s; }
.timeline.in .tl-fill { width: 100%; }
.js .timeline:not(.reveal) .tl-fill, .no-js .tl-fill { width: 100%; }
.tl-spark { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,92,171,.35), 0 0 24px 6px rgba(255,141,203,.8); opacity: 0; }
.timeline.in .tl-spark { animation: spark 3.2s cubic-bezier(.45,0,.55,1) 2.2s infinite; }
@keyframes spark { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

.tl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; position: relative; }
.tl-steps > * { min-width: 0; }
.tl-step { text-align: center; padding: 0 10px; }
.tl-node {
  position: relative; width: 92px; height: 92px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grigio-scuro); border: 2px solid var(--grigio-medio); color: #8C8C8C;
  transition: background .5s, border-color .5s, color .5s, box-shadow .5s, transform .5s cubic-bezier(.3,1.6,.5,1);
  transition-delay: calc(.35s + var(--i) * .7s);
}
.tl-node svg { width: 36px; height: 36px; }
.timeline.in .tl-node { background: var(--grad-diag); border-color: transparent; color: #fff; box-shadow: 0 12px 34px rgba(255,92,171,.45); transform: scale(1.06); }
.tl-ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255,92,171,.55); opacity: 0; }
.timeline.in .tl-ring { animation: tl-ring 2.6s ease-out infinite; animation-delay: calc(1.2s + var(--i) * .7s); }
@keyframes tl-ring { 0% { transform: scale(.9); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.tl-num { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--rosa-fluido); margin-bottom: 6px; }
.tl-step h4 { color: #fff; font-size: 1.25rem; margin-bottom: 8px; }
.tl-step p { color: #BDBDBD; font-size: .95rem; margin: 0 auto 14px; max-width: 300px; }
.tl-tag { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(255,92,171,.14); color: var(--rosa-fluido); }
.tl-step h4, .tl-step p, .tl-step .tl-tag, .tl-num { transition: opacity .6s, transform .6s; transition-delay: calc(.5s + var(--i) * .7s); }
.js .timeline.reveal:not(.in) .tl-step h4, .js .timeline.reveal:not(.in) .tl-step p, .js .timeline.reveal:not(.in) .tl-tag, .js .timeline.reveal:not(.in) .tl-num { opacity: 0; transform: translateY(14px); }
.timeline.reveal { opacity: 1 !important; transform: none !important; }
.tl-step:hover .tl-node { transform: scale(1.12) rotate(-6deg); }
.tl-cta { display: flex; gap: 22px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 54px; }

@media (prefers-reduced-motion: reduce) {
  .tl-fill { transition: none; width: 100%; } .tl-spark { display: none; }
  .tl-node, .tl-step h4, .tl-step p, .tl-tag, .tl-num { transition: none; }
  .timeline.in .tl-ring { animation: none; }
}
@media (max-width: 760px) {
  .tl-track { left: 45px; right: auto; top: 46px; bottom: 60px; width: 4px; height: auto; }
  .tl-fill { width: 100% !important; height: 0; transition: height 1.8s cubic-bezier(.6,.05,.3,1) .2s; }
  .timeline.in .tl-fill { height: 100%; }
  .tl-spark { left: 50% !important; top: 0; margin: -7px 0 0 -7px; }
  @keyframes spark { 0% { top: 0; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
  .tl-steps { grid-template-columns: 1fr; gap: 34px; }
  .tl-step { display: grid; grid-template-columns: 92px 1fr; column-gap: 20px; text-align: left; padding: 0; }
  .tl-node { grid-row: 1 / span 4; margin: 0; }
  .tl-step p { margin: 0 0 12px; }
  .tl-tag { justify-self: start; }
}

/* Footer: link ARERA in basso */
.footer-bottom nav a[href*="arera"] { color: var(--rosa-fluido); }
.footer-bottom nav { margin-left: auto; }
@media (max-width: 700px) { .footer-bottom { padding-bottom: 96px; } .footer-bottom nav { margin-left: 0; } }

/* ---------- Numero Verde: variante H (tipografica) con bagliore ---------- */
.nvh {
  position: relative; isolation: isolate; display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 14px 26px 16px; border-radius: 22px; text-decoration: none; color: var(--nero);
  transition: transform .35s cubic-bezier(.3,1.6,.5,1);
}
.nvh small { font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--grigio-chiaro); }
.nvh strong { font-size: 2.2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nvh strong span { background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nvh-bar { width: 64px; height: 3px; border-radius: 3px; background: var(--grad-btn); transition: width .35s ease; }
.nvh-glow {
  position: absolute; inset: -6px -14px; z-index: -1; border-radius: 999px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(255,92,171,.55) 0%, rgba(200,182,255,.35) 45%, rgba(200,182,255,0) 72%);
  filter: blur(14px); opacity: .55; animation: nvh-pulse 2.6s ease-in-out infinite;
}
@keyframes nvh-pulse { 0%,100% { opacity: .35; transform: scale(.92); } 50% { opacity: .85; transform: scale(1.06); } }
.nvh:hover, .nvh:focus-visible { transform: translateY(-2px) scale(1.03); }
.nvh:hover .nvh-glow, .nvh:focus-visible .nvh-glow { opacity: 1; animation-play-state: paused; }
.nvh:hover .nvh-bar, .nvh:focus-visible .nvh-bar { width: 100%; }

/* su fondi scuri */
.site-footer .nvh, .cta-band .nvh, .steps-section .nvh, .gas-request .nvh, .price-section .nvh, .section-dark .nvh { color: #fff; }
.site-footer .nvh small, .cta-band .nvh small, .steps-section .nvh small { color: #A8A8A8; }

/* versione compatta (footer) e allineamenti */
.nvh-sm { padding: 10px 16px 12px; margin-left: -16px; }
.nvh-sm strong { font-size: 1.6rem; }
.nvh-sm .nvh-bar { width: 44px; }
.footer-nv { align-items: flex-start; }
.footer-nv .nvh { align-items: flex-start; }
.nv-block .nvh, .phone-line .nvh { align-items: flex-start; margin-left: -26px; }
.contact-card .nvh { align-items: flex-start; margin: 4px 0 10px -26px; }
.contact-card .nvh strong { font-size: 1.9rem; }
@media (prefers-reduced-motion: reduce) { .nvh-glow { animation: none; opacity: .6; } }
@media (max-width: 560px) { .nvh strong { font-size: 1.9rem; } }
.contact-card .nvh small { display: none; }

/* ---------- Footer: più aria sopra il logo ---------- */
.footer-top { padding-top: 92px; }
@media (max-width: 700px) { .footer-top { padding-top: 72px; } }

/* ---------- Chi siamo ---------- */
.about-hero { padding: 120px 0 110px; }
.about-hero h1 { max-width: 900px; }
.about-stats { display: flex; gap: 48px; flex-wrap: wrap; margin-top: 44px; }
.about-stats > div { display: flex; flex-direction: column; gap: 6px; padding-left: 18px; border-left: 3px solid; border-image: var(--grad-btn) 1; }
.about-stats strong { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.about-stats small { color: #BDBDBD; font-size: .88rem; line-height: 1.4; }

.story { display: grid; grid-template-columns: 1fr 1.25fr; gap: 70px; align-items: start; }
.story > * { min-width: 0; }
.story-intro { position: sticky; top: 120px; }
.story-intro blockquote { margin: 30px 0 0; padding: 26px 28px; border-radius: 22px; background: var(--nero); color: #fff; font-size: 1.15rem; line-height: 1.5; font-weight: 600; position: relative; overflow: hidden; }
.story-intro blockquote::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") center / 220% no-repeat; opacity: .35; }
.chapters { list-style: none; margin: 0; padding: 0 0 0 44px; position: relative; --p: 0; }
.chapters::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--linea); }
.chapters::after { content: ""; position: absolute; left: 11px; top: 8px; width: 3px; border-radius: 3px; height: calc((100% - 16px) * var(--p)); background: var(--grad-btn); box-shadow: 0 0 14px rgba(255,92,171,.5); }
.chapter { position: relative; padding: 0 0 54px; }
.chapter:last-child { padding-bottom: 0; }
.chapter::before { content: ""; position: absolute; left: -44px; top: 4px; width: 25px; height: 25px; border-radius: 50%; background: #fff; border: 3px solid var(--linea); transition: border-color .5s, background .5s, box-shadow .5s; z-index: 1; }
.chapter.in::before { border-color: var(--rosa); background: var(--rosa-tint); box-shadow: 0 0 0 6px rgba(255,92,171,.14); }
.ch-year { display: inline-block; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--testo-rosa); margin-bottom: 8px; }
.chapter h3 { font-size: 1.6rem; margin-bottom: 10px; }
.chapter p { color: var(--grigio-medio); font-size: 1.05rem; margin: 0; }

.manifesto { background: var(--nero); color: #fff; padding: 110px 0; position: relative; overflow: hidden; text-align: center; }
.manifesto::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") center / 140% auto no-repeat; opacity: .4; }
.manifesto .container { position: relative; z-index: 1; }
.manifesto .kicker { color: var(--rosa-fluido); }
.manifesto-words { margin: 10px 0 22px; display: flex; justify-content: center; gap: .35em; flex-wrap: wrap; font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
.manifesto-words span { display: inline-block; background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity .7s, transform .7s cubic-bezier(.2,.8,.2,1), filter .7s; }
.js .manifesto-words:not(.in) span { opacity: 0; transform: translateY(40px); filter: blur(8px); }
.manifesto-words span:nth-child(2) { transition-delay: .25s; }
.manifesto-words span:nth-child(3) { transition-delay: .5s; }
.manifesto-sub { color: #BDBDBD; max-width: 560px; margin: 0 auto; font-size: 1.08rem; }

.swaps { display: grid; gap: 14px; max-width: 980px; margin: 0 auto; }
.swap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; padding: 22px 28px; border-radius: 20px; background: #fff; border: 1px solid var(--linea); transition: box-shadow .3s, transform .3s; }
.swap:hover { box-shadow: 0 18px 40px rgba(255,92,171,.14); transform: translateY(-3px); }
.swap .old { position: relative; color: var(--grigio-chiaro); font-size: 1rem; justify-self: start; }
.swap .old::after { content: ""; position: absolute; left: 0; top: 52%; height: 2px; width: 0; background: var(--rosa); transition: width .7s cubic-bezier(.6,.05,.3,1) calc(var(--d, 0s) + .4s); }
.swap.in .old::after { width: 100%; }
.swap .arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-btn); color: #fff; font-weight: 800; transition: transform .5s cubic-bezier(.3,1.6,.5,1) calc(var(--d, 0s) + .7s); }
.js .swap:not(.in) .arrow { transform: scale(0) rotate(-90deg); }
.swap .new { font-weight: 700; font-size: 1.08rem; color: var(--nero); transition: opacity .6s calc(var(--d, 0s) + .85s), transform .6s calc(var(--d, 0s) + .85s); }
.js .swap:not(.in) .new { opacity: 0; transform: translateX(-14px); }

.pillars-section { background: linear-gradient(180deg, #fff 0%, var(--azzurro) 100%); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillars > * { min-width: 0; }
.pillar { position: relative; overflow: hidden; isolation: isolate; border-radius: 26px; padding: 40px 32px 36px; background: #fff; border: 1px solid var(--linea); transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, color .4s; }
.pillar::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-diag); opacity: 0; transition: opacity .4s; }
.pillar:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(255,92,171,.25); color: #fff; }
.pillar:hover::before { opacity: 1; }
.p-num { position: absolute; right: 22px; top: 12px; font-size: 4.6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--fondo-chiaro); transition: color .4s; z-index: -1; }
.pillar:hover .p-num { color: rgba(255,255,255,.2); }
.p-ico { width: 58px; height: 58px; border-radius: 16px; background: var(--grad-btn); color: #fff; display: grid; place-items: center; margin-bottom: 22px; box-shadow: 0 10px 24px rgba(255,92,171,.3); transition: background .4s, transform .4s; }
.p-ico svg { width: 28px; height: 28px; }
.pillar:hover .p-ico { background: rgba(255,255,255,.22); box-shadow: none; transform: rotate(-6deg); }
.pillar h3 { font-size: 1.6rem; margin-bottom: 10px; }
.pillar p { color: var(--grigio-medio); margin: 0; transition: color .4s; }
.pillar:hover p { color: rgba(255,255,255,.94); }

@media (prefers-reduced-motion: reduce) {
  .manifesto-words span, .swap .old::after, .swap .arrow, .swap .new { transition: none; }
}
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 40px; }
  .story-intro { position: static; }
  .pillars { grid-template-columns: 1fr; }
  .swap { grid-template-columns: 1fr; gap: 10px; padding: 20px 22px; }
  .swap .arrow { width: 32px; height: 32px; transform: rotate(90deg); }
  .js .swap:not(.in) .arrow { transform: scale(0) rotate(0deg); }
  .about-stats { gap: 26px; }
  .about-hero { padding: 80px 0 70px; }
}

/* ---------- Chi siamo: "Il patto Fluida" ---------- */
.pact-section { background: var(--nero); color: #fff; position: relative; overflow: hidden; }
.pact-section::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") center 60% / 150% auto no-repeat; opacity: .35; pointer-events: none; }
.pact-section .container { position: relative; z-index: 1; }
.pact-section h2 { color: #fff; }
.pact-section .muted { color: #A8A8A8; }
.pact-section .kicker { color: var(--rosa-fluido); }
.pact {
  max-width: 820px; margin: 0 auto; background: #fff; color: var(--nero); border-radius: 26px; padding: 44px 52px 40px;
  box-shadow: 0 40px 90px rgba(255,92,171,.22), 0 0 0 1px rgba(255,255,255,.05); transform: rotate(-1deg);
  background-image: repeating-linear-gradient(180deg, transparent 0 39px, rgba(200,182,255,.18) 39px 40px);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.pact:hover { transform: rotate(0deg) translateY(-4px); }
.pact-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 22px; margin-bottom: 10px; border-bottom: 2px solid var(--nero); flex-wrap: wrap; }
.pact-logo { height: 32px; width: auto; filter: brightness(0); }
.pact-head span { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--grigio-chiaro); }
.pact-list { list-style: none; margin: 0; padding: 0; }
.pact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px dashed var(--linea); }
.pact-list li > * { min-width: 0; }
.pact-list h3 { font-size: 1.5rem; margin: 2px 0 6px; }
.pact-list p { margin: 0; color: var(--grigio-medio); font-size: 1.04rem; }
.pact-check { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--linea); display: grid; place-items: center; transition: background .4s, border-color .4s, box-shadow .4s; transition-delay: calc(.4s + var(--i) * .45s); }
.pact-check svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .5s ease; transition-delay: calc(.6s + var(--i) * .45s); }
.pact.in .pact-check { background: var(--grad-btn); border-color: transparent; box-shadow: 0 8px 20px rgba(255,92,171,.35); }
.pact.in .pact-check svg { stroke-dashoffset: 0; }
.pact-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; }
.pact-sign span { display: block; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--grigio-chiaro); }
.pact-sign strong { display: block; font-size: 1.6rem; font-weight: 700; font-style: italic; letter-spacing: -.02em; background: var(--grad-btn); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 4px; border-bottom: 2px solid var(--nero); }
.stamp { position: relative; width: 116px; height: 116px; color: var(--rosa); flex-shrink: 0; transform: rotate(-14deg); transition: transform .5s cubic-bezier(.3,1.6,.5,1) 1.9s, opacity .3s 1.9s; }
.js .pact:not(.in) .stamp { opacity: 0; transform: rotate(-14deg) scale(1.8); }
.stamp svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.stamp img { position: absolute; left: 50%; top: 50%; width: 40px; transform: translate(-50%, -50%); }
@media (prefers-reduced-motion: reduce) { .pact-check, .pact-check svg, .stamp { transition: none; } }
@media (max-width: 700px) {
  .pact { padding: 30px 22px 28px; transform: none; }
  .pact:hover { transform: none; }
  .pact-list li { grid-template-columns: 36px 1fr; gap: 14px; }
  .pact-check { width: 36px; height: 36px; }
  .pact-list h3 { font-size: 1.3rem; }
  .stamp { width: 92px; height: 92px; }
  .stamp img { width: 32px; }
}
.pact-logo { filter: none; }
.js .pact.reveal.in { transform: rotate(-1deg); }
.js .pact.reveal.in:hover { transform: rotate(0deg) translateY(-4px); }
@media (max-width: 700px) { .js .pact.reveal.in, .js .pact.reveal.in:hover { transform: none; } }

/* ---------- Chi siamo: "Accendi i valori" ---------- */
.rooms-section { background: var(--nero); color: #fff; position: relative; overflow: hidden; }
.rooms-section h2 { color: #fff; }
.rooms-section .muted { color: #8C8C8C; }
.rooms-section .kicker { color: var(--rosa-fluido); }
.rooms-section .section-head { margin-bottom: 26px; }
.rooms-cta { text-align: center; margin-bottom: 40px; }
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.room { position: relative; display: flex; flex-direction: column; align-items: flex-start; text-align: left; border-radius: 24px; padding: 30px 28px 34px; background: #101010; border: 1px solid #222; min-height: 330px; cursor: pointer; overflow: hidden; isolation: isolate; transition: border-color .5s, transform .3s; color: inherit; font: inherit; }
.room:hover { transform: translateY(-3px); }
.room::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: radial-gradient(circle at 50% 30%, rgba(255,92,171,.9), rgba(200,182,255,.55) 35%, transparent 62%); opacity: 0; transform: scale(.6); transition: opacity .6s, transform .8s cubic-bezier(.2,.8,.2,1); }
.room.on { border-color: transparent; }
.room.on::before { opacity: 1; transform: scale(1); }
.room-switch { width: 54px; height: 86px; border-radius: 16px; background: #1E1E1E; border: 2px solid #333; position: relative; margin-bottom: 34px; transition: background .4s, border-color .4s; }
.room-switch i { position: absolute; left: 8px; right: 8px; height: 34px; border-radius: 10px; background: #3A3A3A; top: 40px; transition: top .35s cubic-bezier(.3,1.6,.5,1), background .4s, box-shadow .4s; }
.room.on .room-switch { background: rgba(255,255,255,.25); border-color: rgba(255,255,255,.6); }
.room.on .room-switch i { top: 8px; background: #fff; box-shadow: 0 0 18px rgba(255,255,255,.9); }
.room-n { font-size: .72rem; font-weight: 800; letter-spacing: .16em; color: #555; transition: color .4s; }
.room-h { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 12px; color: #3A3A3A; transition: color .4s; line-height: 1.1; }
.room-p { color: #3A3A3A; line-height: 1.55; transition: color .4s; }
.room.on .room-n, .room.on .room-h { color: #fff; }
.room.on .room-p { color: rgba(255,255,255,.95); }
.room-tap { position: absolute; right: 22px; top: 26px; font-size: .75rem; font-weight: 700; color: #666; transition: opacity .3s; }
.room.on .room-tap { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .room::before, .room-switch i { transition: none; } }
@media (max-width: 900px) { .rooms { grid-template-columns: 1fr; } .room { min-height: 0; } }

/* ---------- Chi siamo: "Cosa abbiamo cambiato" con le notifiche ---------- */
.notif-section { background: var(--nero); color: #fff; position: relative; overflow: hidden; }
.notif-section::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") left 70% / 120% auto no-repeat; opacity: .25; pointer-events: none; }
.notif-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.notif-grid > * { min-width: 0; }
.notif-section .kicker { color: var(--rosa-fluido); }
.notif-section h2 { color: #fff; }
.notif-text { color: #BDBDBD; font-size: 1.08rem; max-width: 520px; margin-bottom: 26px; }
.lockscreen { width: 300px; max-width: 100%; height: 590px; margin: 0 auto; border-radius: 46px; border: 10px solid #1E1E1E; box-shadow: 0 0 0 2px #333, 0 40px 80px rgba(255,92,171,.25); overflow: hidden; position: relative; background: linear-gradient(180deg, #2B2B33, #0D0D10); transition: background 1s; }
.lockscreen.fl { background: var(--grad-diag); }
.lk-time { text-align: center; padding-top: 46px; font-size: 3.4rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.lk-date { text-align: center; font-size: .85rem; opacity: .75; margin-top: 6px; }
.lk-badge { position: absolute; top: 150px; left: 0; right: 0; text-align: center; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; opacity: 0; transition: opacity .5s; }
.lockscreen.fl .lk-badge { opacity: 1; }
.nots { position: absolute; left: 12px; right: 12px; bottom: 22px; top: 140px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; }
.nt { background: rgba(255,255,255,.14); backdrop-filter: blur(14px); border-radius: 18px; padding: 11px 14px; font-size: .8rem; display: grid; grid-template-columns: 30px 1fr; gap: 10px; align-items: center; animation: ntin .4s cubic-bezier(.3,1.6,.5,1) both; transition: transform .45s, opacity .4s; color: #fff; }
.nt .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; background: #3A3A3A; color: #fff; font-size: .75rem; }
.nt strong { display: block; font-size: .8rem; }
.nt span { opacity: .8; }
.nt.out { transform: translateX(120%); opacity: 0; }
.nt.fluida { background: rgba(255,255,255,.92); color: var(--nero); }
.nt.fluida .ic { background: var(--nero); }
.nt.fluida .ic img { width: 20px; }
@keyframes ntin { from { opacity: 0; transform: translateY(-14px) scale(.95); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .nt { animation: none; } }
@media (max-width: 900px) { .notif-grid { grid-template-columns: 1fr; gap: 36px; } .lockscreen { height: 540px; } }
/* notifiche su fondo chiaro, tra due sezioni nere */
.notif-section { background: linear-gradient(180deg, #fff 0%, var(--azzurro) 100%); color: var(--nero); }
.notif-section::before { opacity: .12; }
.notif-section h2 { color: var(--nero); }
.notif-section .kicker { color: var(--testo-rosa); }
.notif-text { color: var(--grigio-medio); }
.lockscreen { box-shadow: 0 0 0 2px #CFCFD6, 0 40px 80px rgba(255,92,171,.3); }
.lockscreen { color: #fff; }

/* =========================================================
   Caricamento e passaggio tra le pagine
   Fondo Nero Profondo, logo, barra con il gradiente del brand
   ========================================================= */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: var(--nero); opacity: 1; visibility: visible;
  transition: opacity .45s ease, visibility 0s linear 0s;
  animation: loader-failsafe 0s linear 6s forwards;
}
.js .loader img { width: 150px; height: auto; animation: loader-in .6s cubic-bezier(.2,.8,.2,1) both; }
.loader-bar { position: relative; width: 140px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.1); overflow: hidden; }
.loader-bar i { position: absolute; top: 0; bottom: 0; left: 0; width: 45%; border-radius: inherit; background: var(--grad-btn); animation: loader-run 1.1s cubic-bezier(.65,0,.35,1) infinite; }
.js.is-loaded .loader { opacity: 0; visibility: hidden; transition: opacity .45s ease, visibility 0s linear .45s; }
.js.is-leaving .loader { opacity: 1; visibility: visible; animation: none; transition: opacity .25s ease, visibility 0s; }
.js.is-leaving .loader img { animation: none; }
@keyframes loader-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes loader-run { from { transform: translateX(-100%); } to { transform: translateX(225%); } }
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) {
  .loader-bar i { animation: none; width: 100%; }
  .js .loader img { animation: none; }
}

/* Spaziatura uniforme dopo l'intestazione delle pagine interne */
.section.after-hero { padding-top: 72px; }
@media (max-width: 900px) { .section.after-hero { padding-top: 52px; } }

/* Footer su mobile: distanza tra colonne e riga finale */
@media (max-width: 560px) {
  .footer-top { padding-bottom: 44px; }
  .footer-bottom { padding-top: 24px; }
}
html { scroll-padding-top: calc(var(--header-h) + 12px); }
@media (max-width: 560px) { .plan .big-price { flex-wrap: wrap; row-gap: 4px; } .plan .big-price span { line-height: 1.35; } }
.cta-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .cta-actions { justify-content: flex-start; } }

/* =========================================================
   Area clienti — schermata di accesso
   ========================================================= */
.login-section { position: relative; overflow: hidden; background: var(--nero); color: #fff; padding: 88px 0 104px; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; }
.login-section::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern-onde.svg") center 85% / 140% auto no-repeat; opacity: .4; pointer-events: none; }
.login-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 460px; gap: 72px; align-items: center; }
.login-intro .kicker { color: var(--rosa-fluido); }
.login-intro h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.login-intro > p { color: #BDBDBD; font-size: 1.06rem; max-width: 460px; }
.login-list { margin-top: 26px; }
.login-list li { color: #E6E6E6; }
.login-card { background: #fff; color: var(--nero); border-radius: 26px; padding: 44px 40px 34px; box-shadow: 0 30px 80px rgba(255,92,171,.18); }
.login-card h2 { font-size: 1.9rem; margin-bottom: 6px; }
.login-card > .muted { font-size: .92rem; margin-bottom: 24px; }
.btn-block { width: 100%; justify-content: center; }
.pass-field { position: relative; }
.pass-field input { padding-right: 86px; }
.pass-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: var(--rosa-tint); color: var(--testo-rosa); font: inherit; font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.login-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.login-row .check { align-items: center; }
.login-row .check input { margin-top: 0; }
.login-row a { font-size: .86rem; font-weight: 600; color: var(--testo-rosa); text-decoration: none; }
.login-row a:hover { text-decoration: underline; }
.login-msg { margin: 0; padding: 14px 16px; border-radius: 14px; background: var(--rosa-tint); color: var(--grigio-scuro); font-size: .88rem; line-height: 1.5; }
.login-msg a { color: var(--testo-rosa); font-weight: 600; }
.login-foot { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--linea); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: .9rem; color: var(--grigio-chiaro); }
.login-foot a { color: var(--nero); font-weight: 700; text-decoration: none; }
@media (max-width: 960px) {
  .login-grid { grid-template-columns: 1fr; gap: 40px; }
  .login-card { max-width: 520px; width: 100%; }
}
@media (max-width: 560px) {
  .login-section { padding: 52px 0 72px; min-height: 0; }
  .login-card { padding: 32px 22px 26px; border-radius: 22px; }
  .login-list { display: none; }
}
