/* MyHouse — Blackout Agency
   Foglio di stile unico del sito. */

/* ---------- Font (in locale, nessuna chiamata esterna) ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2");
  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;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2");
  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;
}

/* ---------- Variabili ---------- */
:root {
  --ink: #151515;
  --muted: #555558;
  --bg: #ffffff;
  --soft: #f4f4f4;
  --line: #d2d2d2;
  --line-soft: #e6e6e6;
  --dark: #111111;
  --dark-2: #1d1d1f;
  --dark-line: #3a3a3d;
  --on-dark: #ffffff;
  --on-dark-muted: #b4b4b8;
  --red: #d92000;
  --red-hover: #b81b00;
  --red-bright: #ff5a3c;
  --focus: #1a5fd0;
  --wrap: 1120px;
  --gutter: 24px;
  --r-card: 24px;
  --r-big: 28px;
  --nav-h: 60px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: "Geist", system-ui, -apple-system, "Helvetica Neue", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; }
.skip:focus { top: 12px; }

/* ---------- Tipografia ---------- */
.eyebrow { font-size: 15px; font-weight: 600; color: var(--red); letter-spacing: 0.02em; }
.h1 { font-size: clamp(34px, 5vw, 68px); line-height: 1.07; letter-spacing: -0.04em; font-weight: 600; text-wrap: balance; }
.h1--xl { font-size: clamp(38px, 5.4vw, 76px); line-height: 1.04; }
.h1 span { display: block; }
.h2 { font-size: clamp(30px, 4.4vw, 60px); line-height: 1.07; letter-spacing: -0.035em; font-weight: 600; text-wrap: balance; max-width: 860px; }
.h2 span { display: block; }
.h2--sm { font-size: clamp(28px, 3.2vw, 44px); }
.h3 { font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.45; color: var(--muted); text-wrap: pretty; max-width: 760px; }
.accent { color: var(--red); }
.small { font-size: 14px; line-height: 1.5; color: var(--muted); }
.fine { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* ---------- Pulsanti e link ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 980px;
  font-size: 17px; font-weight: 500; line-height: 1.2; text-align: center;
  background: var(--red); color: #fff;
  transition: background-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--red-hover); text-decoration: none; }
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--md { min-height: 48px; padding: 0 24px; }
.btn--ink { background: var(--ink); }
.btn--ink:hover { background: #333336; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #e9e9e9; }
.btn--block { display: flex; width: 100%; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 500; }
.more::after { content: "›"; margin-left: 6px; transition: transform 0.2s var(--ease); }
.more:hover::after { transform: translateX(3px); }
.more--light { color: #fff; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; }
.actions--center { justify-content: center; }

/* ---------- Barra superiore e navigazione ---------- */
.topbar { background: var(--dark); color: #d6d6d6; font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0 16px; min-height: 44px; }
.topbar a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; }
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line-soft);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 0 24px; min-height: var(--nav-h); }
.nav__brand { display: inline-flex; align-items: center; min-height: 44px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.nav__brand:hover { text-decoration: none; }
.nav__links { display: flex; align-items: center; gap: 0 28px; font-size: 15px; }
.nav__links a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.nav__links a[aria-current="page"] { font-weight: 600; }

/* ---------- Sezioni ---------- */
.section { padding-block: clamp(64px, 7vw, 104px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark-2 { background: var(--dark-2); color: var(--on-dark); }
.section--dark .lead, .section--dark-2 .lead { color: var(--on-dark-muted); }
.section--dark .eyebrow, .section--dark-2 .eyebrow { color: var(--red-bright); }
.stack { display: flex; flex-direction: column; gap: 56px; }
.stack--sm { gap: 40px; }
.head { display: flex; flex-direction: column; gap: 18px; }
.head--center { align-items: center; text-align: center; }
.head--center .h2, .head--center .lead { margin-inline: auto; }

/* ---------- Hero home ---------- */
.hero { padding-top: clamp(56px, 7vw, 96px); text-align: center; overflow: hidden; }
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 24px; max-width: 980px; margin-inline: auto; }
.browser {
  max-width: 1040px; margin: clamp(40px, 5vw, 64px) auto 0; text-align: left;
  border-radius: 20px 20px 0 0; overflow: hidden; background: #fff;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.browser__bar { display: flex; align-items: center; gap: 16px; height: 44px; padding: 0 16px; background: var(--soft); border-bottom: 1px solid #e3e3e3; }
.browser__dots { display: flex; gap: 7px; width: 47px; flex: none; }
.browser__dots i { width: 11px; height: 11px; border-radius: 50%; background: #cfcfcf; }
.browser__url { flex: 1; max-width: 420px; margin-inline: auto; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 8px; background: #fff; border: 1px solid #e3e3e3; font-size: 12px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.browser__bar::after { content: ""; width: 47px; flex: none; }
.browser__view { position: relative; }
.browser__view img { width: 100%; aspect-ratio: 16 / 9; min-height: 340px; object-fit: cover; }
.browser__view::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.72) 100%); }
.browser__top { position: absolute; z-index: 1; inset: 0 0 auto 0; padding: 20px 28px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #fff; font-size: 14px; }
.browser__top strong { font-size: 17px; font-weight: 600; }
.browser__top span { display: flex; gap: 24px; }
.browser__top i { font-style: normal; }
.browser__bottom { position: absolute; z-index: 1; inset: auto 28px 28px 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.browser__claim { color: #fff; font-size: clamp(26px, 3.4vw, 46px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.bookbar { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; padding: 10px 10px 10px 22px; background: #fff; border-radius: 18px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25); }
.bookbar div { display: flex; flex-direction: column; gap: 2px; }
.bookbar small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.bookbar b { font-size: 15px; font-weight: 600; }
.bookbar em { font-style: normal; background: var(--red); color: #fff; padding: 13px 20px; border-radius: 12px; font-size: 15px; font-weight: 500; }

/* ---------- Righe "cosa cambia" ---------- */
.rows { border-bottom: 1px solid var(--line); }
.rows > li { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 12px 56px; align-items: start; padding-block: 30px; border-top: 1px solid var(--line); }
.rows h3 { font-size: clamp(26px, 3vw, 40px); line-height: 1.1; letter-spacing: -0.035em; font-weight: 600; }
.rows p { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); text-wrap: pretty; }

/* ---------- Numeri ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 32px 40px; }
.stat { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); }
.stat b { font-size: clamp(34px, 3.6vw, 52px); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.stat span { color: var(--muted); line-height: 1.45; }
.stats--dark .stat { padding-top: 24px; border-color: var(--dark-line); gap: 12px; }
.stats--dark .stat b { font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -0.04em; }
.stats--dark .stat span { color: var(--on-dark-muted); }
.stats--dark .stat b.hot { color: var(--red-bright); }

/* ---------- Il conto dei portali ---------- */
.ota { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px 56px; align-items: start; }
.ota__facts { display: flex; flex-direction: column; gap: 40px; }
.ota__fact { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--dark-line); }
.ota__fact b { font-size: clamp(48px, 5.4vw, 76px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.ota__fact span { color: var(--on-dark-muted); line-height: 1.45; }
.ota__src { font-size: 13px; line-height: 1.5; color: #9a9a9f; }
.calc { display: flex; flex-direction: column; gap: 26px; padding: clamp(24px, 3vw, 40px); background: var(--dark-2); border-radius: var(--r-big); }
.calc h3 { font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.calc__field { display: flex; flex-direction: column; gap: 6px; }
.calc__label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.calc__label label { font-size: 15px; color: var(--on-dark-muted); }
.calc__label output { font-size: 19px; font-weight: 600; white-space: nowrap; }
.calc input[type="range"] { width: 100%; height: 28px; margin: 0; accent-color: #ff2600; }
.calc__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 24px; padding-top: 24px; border-top: 1px solid var(--dark-line); }
.calc__out div { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--on-dark-muted); }
.calc__out b { font-size: clamp(30px, 3vw, 42px); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: #fff; }
.calc__out b.hot { color: var(--red-bright); }
.calc .fine { color: #9a9a9f; }

/* ---------- Schede ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 20px; }
.cards--2 { grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr)); }
.card { display: flex; flex-direction: column; gap: 12px; padding: 32px; border-radius: var(--r-card); background: #fff; }
.card p { color: var(--muted); }
.card--soft { background: var(--soft); }
.card .h3--lg { font-size: 26px; }

/* ---------- Le due soluzioni ---------- */
.duo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 24px; }
.plan { display: flex; flex-direction: column; border-radius: var(--r-big); overflow: hidden; background: var(--soft); }
.plan img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.plan__body { display: flex; flex-direction: column; gap: 20px; flex: 1; padding: clamp(24px, 3vw, 40px); }
.plan__tag { align-self: flex-start; padding: 6px 12px; border-radius: 980px; font-size: 13px; font-weight: 600; background: #fff; color: var(--red); }
.plan__name { font-size: clamp(30px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 600; }
.plan__claim { margin-top: 8px; font-size: 21px; line-height: 1.3; font-weight: 500; }
.plan__for { color: var(--muted); }
.plan__foot { display: flex; flex-direction: column; gap: 16px; margin-top: auto; padding-top: 12px; }
.plan__price { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; }
.plan__price small { font-size: 16px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.plan--dark { background: var(--dark); color: #fff; }
.plan--dark .plan__tag { background: #333336; color: #fff; }
.plan--dark .plan__for, .plan--dark .plan__price small { color: var(--on-dark-muted); }

.ticks { display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.45; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.42em; width: 13px; height: 7px; border-left: 2.5px solid var(--red); border-bottom: 2.5px solid var(--red); transform: rotate(-45deg); }
.ticks--sm { font-size: 15px; line-height: 1.4; }
.ticks--sm li { padding-left: 26px; }
.on-dark .ticks li::before, .plan--dark .ticks li::before { border-color: var(--red-bright); }

/* ---------- Selettore "dicci chi sei" ---------- */
.picker { display: flex; flex-direction: column; gap: 24px; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-big); background: var(--soft); }
.picker h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
.picker__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 12px; }
.picker__opts button { min-height: 60px; padding: 16px 20px; text-align: left; font-size: 17px; font-weight: 500; line-height: 1.3; border-radius: 16px; border: 2px solid #fff; background: #fff; color: var(--ink); transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease); }
.picker__opts button:hover { border-color: var(--ink); }
.picker__opts button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.picker__out { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(20px, 2.4vw, 32px); border-radius: 20px; background: #fff; }
.picker__out strong { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; }
.picker__out p { max-width: 820px; color: var(--muted); }

/* ---------- Servizi spiegati ---------- */
.services { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.service { display: flex; flex-direction: column; gap: 20px; padding: 28px; border-radius: var(--r-card); background: #fff; }
.service__demo { display: flex; flex-direction: column; justify-content: center; gap: 12px; height: 200px; padding: 20px; border-radius: 16px; background: var(--soft); }
.service__text { display: flex; flex-direction: column; gap: 10px; }
.service__text p { color: var(--muted); }
.mini-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.mini-cal span { display: flex; align-items: center; justify-content: center; height: 30px; border-radius: 8px; font-size: 12px; font-weight: 500; background: #fff; }
.mini-cal .busy { background: var(--ink); color: #fff; }
.legend { display: flex; gap: 16px; font-size: 12px; color: var(--muted); }
.legend span { display: flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; background: #fff; border: 1px solid #c9c9c9; }
.legend i.busy { background: var(--ink); border-color: var(--ink); }
.mini-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 12px; background: #fff; font-size: 14px; }
.mini-row span { color: var(--muted); }
.mini-row b { font-weight: 600; }
.mini-btn { padding: 12px 16px; border-radius: 12px; background: var(--red); color: #fff; font-size: 15px; font-weight: 500; text-align: center; }
.sync { align-items: center; gap: 0; }
.sync b { padding: 9px 14px; border-radius: 10px; background: #fff; font-size: 13px; font-weight: 600; text-align: center; line-height: 1.25; white-space: nowrap; }
.sync b.hub { background: var(--ink); color: #fff; }
.sync i { flex: none; width: 2px; height: 16px; background: #b9b9b9; }
.sync div { display: flex; gap: 6px; }
.sync div b { padding: 8px 9px; font-size: 12px; font-weight: 500; }

/* ---------- Chi c'è dietro ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 40px 64px; align-items: center; }
.split__text { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.split__text p:not([class]) { font-size: clamp(17px, 1.4vw, 19px); color: var(--muted); text-wrap: pretty; }
.split img, .photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-big); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 500; }
.chips li { padding: 8px 14px; border-radius: 980px; background: var(--soft); }

/* ---------- Fascia finale ---------- */
.band { text-align: center; }
.band .wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.band .h2 { margin-inline: auto; }
.band__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; text-align: left; }
.band__row > div { flex: 1 1 480px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- Footer ---------- */
.footer { padding: 56px 0 64px; background: var(--dark); color: var(--on-dark-muted); font-size: 14px; line-height: 1.6; }
.footer .wrap { display: flex; flex-direction: column; gap: 32px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 32px; }
.footer__cols > div { display: flex; flex-direction: column; gap: 2px; }
.footer__brand { margin-bottom: 4px; color: #fff; font-size: 17px; font-weight: 600; }
.footer a { display: inline-flex; align-items: center; min-height: 32px; color: #fff; }
.footer__note { padding-top: 20px; border-top: 1px solid var(--dark-line); font-size: 13px; color: #9a9a9f; }

/* ---------- Pagina Smart ---------- */
.hero-split { padding-block: clamp(56px, 7vw, 96px); background: var(--soft); }
.hero-split .split__text { gap: 22px; }
.hero-split .lead { font-size: clamp(18px, 1.5vw, 21px); }
.tagline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.pill { padding: 5px 12px; border-radius: 980px; background: #fff; color: var(--red); font-size: 13px; font-weight: 600; }
.price-big { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.price-big small { font-size: 17px; font-weight: 400; letter-spacing: 0; color: var(--muted); }

.config { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 32px; }
.config__steps { flex: 1.6 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 40px; }
.config__group { border: 0; min-width: 0; }
.config__group > legend, .config__title { margin-bottom: 14px; padding: 0; font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.config__list { display: flex; flex-direction: column; gap: 10px; }
.config__list + .config__list { margin-top: 20px; }
.opt { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; min-height: 72px; padding: 14px 20px; border-radius: 18px; background: #fff; border: 2px solid #fff; cursor: pointer; transition: border-color 0.2s var(--ease); }
.opt:hover { border-color: #bdbdbd; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt__mark { flex: none; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #8a8a8f; background: #fff; box-shadow: inset 0 0 0 3px #fff; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease); }
.opt input[type="checkbox"] + .opt__mark { border-radius: 7px; }
.opt__text { flex: 1 1 240px; display: flex; flex-direction: column; gap: 3px; }
.opt__text b { font-size: 17px; font-weight: 600; line-height: 1.25; }
.opt__text span { font-size: 15px; line-height: 1.4; color: var(--muted); }
.opt__price { flex: none; margin-left: auto; font-size: 16px; font-weight: 600; white-space: nowrap; }
.opt:has(input:checked) { border-color: var(--ink); }
.opt input:checked + .opt__mark { background: var(--red); border-color: var(--red); }
.opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 3px; }
.opt--static { cursor: default; justify-content: space-between; }
.opt--static:hover { border-color: #fff; }
.stepper { display: flex; align-items: center; gap: 14px; }
.stepper button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid #8a8a8f; background: #fff; font-size: 22px; line-height: 1; color: var(--ink); transition: background-color 0.2s var(--ease); }
.stepper button:hover { background: var(--soft); }
.stepper button:disabled { opacity: 0.35; cursor: default; }
.stepper output { min-width: 28px; text-align: center; font-size: 22px; font-weight: 600; }

.summary { flex: 1 1 340px; min-width: 0; position: sticky; top: calc(var(--nav-h) + 20px); display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-big); background: #fff; }
.summary h3 { font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.summary__lines { display: flex; flex-direction: column; gap: 12px; }
.summary__lines li { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; line-height: 1.4; }
.summary__lines span { color: var(--muted); }
.summary__lines b { font-weight: 600; white-space: nowrap; }
.summary__total { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid #d9d9d9; font-size: 14px; color: var(--muted); }
.summary__total b { font-size: clamp(40px, 4vw, 54px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: var(--ink); }
.summary__meta { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border-radius: 16px; background: var(--soft); font-size: 15px; line-height: 1.4; }
.summary__meta div { display: flex; justify-content: space-between; gap: 16px; }
.summary__meta span { color: var(--muted); }
.summary__meta b { font-weight: 600; text-align: right; }
.summary__note { padding: 12px 14px; border: 1px solid var(--red); border-radius: 14px; font-size: 14px; line-height: 1.45; }
.summary form { margin: 0; }

.totalbar { position: fixed; z-index: 40; inset: auto 0 0 0; display: none; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, 0.94); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line-soft); transform: translateY(110%); transition: transform 0.3s var(--ease); }
.totalbar.is-on { transform: none; }
.totalbar div { display: flex; flex-direction: column; font-size: 12px; color: var(--muted); line-height: 1.3; }
.totalbar b { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 32px 28px; counter-reset: passo; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--ink); counter-increment: passo; }
.steps li::before { content: "Passo " counter(passo); font-size: 14px; font-weight: 600; color: var(--red); }
.steps h3 { font-size: 22px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 600; }
.steps p { font-size: 16px; color: var(--muted); }

/* ---------- Pagina Pro ---------- */
.hero-dark { padding-block: clamp(56px, 7vw, 96px); background: var(--dark); color: #fff; text-align: center; }
.hero-dark .hero__inner { max-width: 940px; gap: 22px; }
.hero-dark .eyebrow { color: var(--red-bright); }
.hero-dark .lead { color: var(--on-dark-muted); }
.hero-dark .photo { max-width: 1040px; margin: clamp(40px, 5vw, 64px) auto 0; aspect-ratio: 16 / 9; }
.levels { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 16px; align-items: stretch; }
.level { display: flex; flex-direction: column; gap: 20px; padding: 28px 24px; border-radius: var(--r-card); background: #fff; }
.level__head { display: flex; flex-direction: column; gap: 8px; }
.level__n { font-size: 13px; font-weight: 600; color: var(--muted); }
.level__name { font-size: 28px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; }
.level__head p { font-size: 16px; line-height: 1.4; color: var(--muted); }
.level__foot { display: flex; flex-direction: column; gap: 16px; margin-top: auto; }
.level__time { padding-top: 16px; border-top: 1px solid #e3e3e3; font-size: 14px; color: var(--muted); }
.level__time b { font-weight: 600; color: var(--ink); }
.level--top { background: var(--dark); color: #fff; }
.level--top .level__n { color: var(--red-bright); }
.level--top .level__head p, .level--top .level__time { color: var(--on-dark-muted); }
.level--top .level__time { border-color: var(--dark-line); }
.level--top .level__time b { color: #fff; }
.level--top .ticks li::before { border-color: var(--red-bright); }
.extras { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 40px; }
.extras li { display: flex; flex-direction: column; gap: 8px; padding: 22px 0 26px; border-top: 1px solid var(--line); }
.extras h3 { font-size: 20px; letter-spacing: -0.015em; font-weight: 600; }
.extras p { font-size: 16px; color: var(--muted); }
.table-box { overflow-x: auto; padding: 8px 28px 16px; border-radius: var(--r-card); background: #fff; }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 16px; line-height: 1.45; text-align: left; }
.compare th, .compare td { padding: 16px 16px 16px 0; vertical-align: top; border-top: 1px solid #e3e3e3; }
.compare thead th { padding-block: 22px 18px; border-top: 0; font-size: 22px; letter-spacing: -0.02em; font-weight: 600; }
.compare tbody th { width: 22%; font-weight: 500; color: var(--muted); }
.compare td { width: 39%; }
.compare td:first-child { width: 22%; }
.compare tr > :last-child { padding-right: 0; }
.ticks strong { font-weight: 600; }
.compare .strong td { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; padding: 22px 0; list-style: none; cursor: pointer; font-size: clamp(19px, 1.7vw, 23px); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 28px; font-weight: 400; line-height: 1; color: var(--red); transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 44px 26px 0; line-height: 1.55; color: var(--muted); }

/* ---------- Modulo ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: 40px 64px; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 22px; }
.contact__lines { display: flex; flex-direction: column; gap: 4px; }
.contact__lines a { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; color: var(--ink); font-weight: 600; }
.contact__lines span { color: var(--muted); }
.formbox { padding: clamp(24px, 3vw, 40px); border-radius: var(--r-big); background: #fff; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 20px 16px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .form legend { font-size: 15px; font-weight: 500; }
.field label .small { font-weight: 400; }
.field > input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #8a8a8f; border-radius: 12px; background: #fff; font-size: 17px; }
.field textarea { padding: 14px 16px; line-height: 1.45; resize: vertical; }
.field select { padding-inline: 12px; }
.field > input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; }
.field > [aria-invalid="true"] { border-color: var(--red); border-width: 2px; }
.field .check--top { font-size: 14px; font-weight: 400; }
.field__err { font-size: 14px; font-weight: 500; color: var(--red); }
.form fieldset { border: 0; display: flex; flex-direction: column; gap: 4px; }
.form legend { margin-bottom: 8px; padding: 0; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--red); }
.check--top { align-items: flex-start; font-size: 14px; line-height: 1.45; color: var(--muted); }
.check--top input { margin-top: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.quote { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; border-radius: 16px; background: var(--soft); }
.quote b { font-size: 15px; font-weight: 600; }
.quote pre { margin: 0; font: inherit; font-size: 15px; line-height: 1.5; color: var(--muted); white-space: pre-wrap; }
.notice { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; }
.notice strong { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.notice p { color: var(--muted); }
.alert { padding: 14px 16px; border: 2px solid var(--red); border-radius: 14px; font-size: 15px; line-height: 1.45; }

/* ---------- Comparsa allo scorrimento ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Schermi piccoli ---------- */
@media (max-width: 860px) {
  .summary { position: static; }
  .totalbar { display: flex; }
  body.has-totalbar { padding-bottom: 84px; }
}
@media (max-width: 760px) {
  :root { --gutter: 20px; --nav-h: 96px; }
  .topbar span { display: none; }
  .nav .wrap { flex-wrap: wrap; row-gap: 0; padding-block: 6px 2px; }
  .nav__links { display: contents; }
  .nav__links a:not(.btn) { order: 3; }
  .nav__links .btn { order: 2; margin-left: auto; min-height: 40px; padding: 0 16px; }
  .nav__brand { order: 1; }
  .nav .wrap::after { content: ""; order: 2; flex-basis: 100%; height: 0; }
  .nav__links a:not(.btn) { flex: 1; justify-content: center; }
  .browser__top span, .bookbar { display: none; }
  .browser__view img { min-height: 260px; }
  .card { padding: 26px; }
  .faq p { padding-right: 0; }
  .table-box { padding-inline: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print {
  .nav, .topbar, .totalbar, .skip { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
