/* =========================================================================
   /siti, /siti/inizia, /siti/materiali — tema chiaro
   Solo queste pagine lo usano (non caricano /style.css): home, privacy ed
   /en/ restano scure. Fraunces 400/500 + corsivo 400 per titoli e prezzi,
   Inter 400–600 per il resto. Mobile first, un solo contenitore da 1120px.
   ========================================================================= */

/* ---------- Fonts ----------
   Serviti da /assets/fonts, solo sottoinsieme latino. File diversi da quelli
   della home, che usa Fraunces 700–900. */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/assets/fonts/fraunces-v38-latin-400-500.woff2") format("woff2");
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/fraunces-v38-latin-italic-400.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url("/assets/fonts/inter-v20-latin.woff2") format("woff2");
}

/* ---------- Tokens ---------- */
:root {
  --bg:           #faf8f4;
  --surface:      #ffffff;
  --border:       #e6e0d6;
  --border-input: #d9d2c6;
  --text:         #1a1714;
  --text-2:       #5c564e;   /* unico grigio per i testi secondari */
  --accent:       #C2410C;   /* pulsanti (testo bianco), check, badge */
  --accent-ink:   #a8380a;   /* accent per testo su --accent-tint: #C2410C lì non passa AA */
  --accent-tint:  #fbe9e1;
  --segmented:    #efeae2;
  --panel:        #f3efe8;   /* pannello beige accanto ai prezzi */
  --panel-border: #e3dcd0;
  --dark:        #1a1714;
  --dark-text:    #faf8f4;
  --dark-text-2:  #d8d2c8;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --shadow-on: 0 1px 3px rgba(26, 23, 20, 0.12);
  --shadow-lift: 0 18px 36px -22px rgba(26, 23, 20, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, ol, ul, fieldset { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
a { color: var(--text); }
a:hover { color: #000000; }
button, input, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }

::selection { background: var(--accent-tint); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus-visible { transform: none; color: #ffffff; }

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
              transform 0.45s var(--ease);
}
.button:hover { color: #ffffff; background: var(--accent-ink); }
.button:disabled { opacity: 0.6; cursor: progress; }

.button--outline {
  background: transparent;
  border: 1.5px solid var(--text);
  color: var(--text);
}
.button--outline:hover { background: var(--text); color: var(--bg); }

/* pillola bianca: "Chiedi l'anteprima", "Preferisci WhatsApp?" */
.button--light {
  height: 46px;
  padding: 0 20px;
  background: var(--surface);
  border: 1.5px solid var(--text);
  color: var(--text);
  font-size: 15px;
}
.button--light:hover { background: var(--surface); color: #000000; }

.button svg { flex: 0 0 auto; }

.req { color: var(--accent); }

/* ---------- Header ---------- */
.header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding-block: 22px;
}
.brand {
  margin-right: auto;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 24px;
  font-size: 14px;
}
.nav a { text-decoration: none; color: var(--text-2); }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--text); font-weight: 600; }
.nav__lang { color: var(--text-2); }
.header__cta {
  padding: 9px 16px;
  border: 1px solid var(--border-input);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
  text-decoration: none;
}

/* ---------- Sezioni ---------- */
.section { padding-bottom: 96px; }

.title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 40px);
  line-height: 1.1;
}
.title + .lead { margin-top: 8px; }
.lead { color: var(--text-2); }

/* ---------- Arrivo da una demo ---------- */
.demo-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--accent-tint);
  font-size: 15px;
}
.demo-note__link {
  font-weight: 600;
  color: var(--accent-ink);
  text-decoration: none;
  white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 64px;
  padding-block: 56px 80px;
}
.hero__text {
  flex: 1 1 500px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.hero__kicker { font-size: 13px; font-weight: 600; color: var(--accent); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.hero__title em { color: var(--accent); }
.hero__sub {
  max-width: 500px;
  font-size: 18px;
  color: var(--text-2);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
/* riga del prezzo: prende il posto di .price-box sul telefono */
.hero__from { display: none; font-size: 15px; color: var(--text-2); }
.hero__from strong { font-weight: 600; color: var(--text); }
.hero__actions .button--outline { padding: 0 22px; }

.price-box {
  flex: 0 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
.price-box__label { font-size: 14px; color: var(--text-2); }
.price-box__price { display: flex; align-items: baseline; gap: 10px; }
.price-box__amount { font-family: var(--font-display); font-size: 52px; line-height: 1; }
.price-box__price s { font-size: 17px; color: var(--text-2); }
.price-box__alt { font-size: 15px; color: var(--text-2); }
.price-box__foot {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-2);
}

/* ---------- Come funziona / Cosa succede dopo ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.steps__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
}
.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent-ink);
  font-size: 15px;
  font-weight: 600;
}
.steps__title { margin-top: 6px; font-size: 18px; font-weight: 600; }
.steps__text { font-size: 15px; color: var(--text-2); }

/* ---------- Prezzi ---------- */
.pricing__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

/* selettore a pillola: tab del prezzo e scelte del modulo */
.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--segmented);
}
.segmented__tab,
.segmented__opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.segmented__tab[aria-selected="true"],
.segmented__opt input:checked + span {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-on);
}
.segmented__tab:hover,
.segmented__opt span:hover { color: var(--text); }

/* senza JavaScript si vedono entrambe le modalità, ognuna col suo titolo */
.pricing__panel + .pricing__panel { margin-top: 56px; }
.pricing__panel-title {
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
}
.is-tabbed .pricing__panel + .pricing__panel { margin-top: 0; }
.is-tabbed .pricing__panel-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 32px 28px 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
}
.plan--featured { border: 2px solid var(--accent); }
.plan__badge {
  position: absolute;
  top: -13px;
  left: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}
.plan__name {
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 26px;
}
.plan__lead { font-size: 15px; color: var(--text-2); }
.plan__prices { display: flex; flex-direction: column; gap: 6px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 10px; }
.plan__amount { font-family: var(--font-display); font-size: 46px; line-height: 1; }
.plan__price s { font-size: 16px; color: var(--text-2); }
.plan__unit { font-size: 14px; color: var(--text-2); }
.plan__launch { font-size: 13px; font-weight: 600; color: var(--accent); }
.plan__alt { font-size: 14px; color: var(--text-2); }
.plan .button { height: 50px; width: 100%; }

.ticks {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.ticks li { display: flex; gap: 10px; }
.ticks li::before {
  content: "";
  flex: 0 0 18px;
  height: 18px;
  margin-top: 3px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* terza colonna, pannello beige: manutenzione / abbonamento + Extra.
   È un <details>: su desktop resta aperto e il summary non si vede, sul
   telefono diventa una riga apribile come le FAQ (vedi "Telefono") */
.plans__side {
  padding: 28px;
  border-radius: 20px;
  background: var(--panel);
}
.plans__side-summary { display: none; }
.plans__side-body { display: flex; flex-direction: column; gap: 28px; }
.plans__side-body .side-block + .side-block {
  padding-top: 22px;
  border-top: 1px solid var(--panel-border);
}
.side-block { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.side-block__title { font-size: 17px; font-weight: 600; }
.side-block__text { color: var(--text-2); }
.side-block__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 18px;
  list-style: disc;
  color: var(--text-2);
}
.side-block strong { font-weight: 600; }
.side-block__row { display: flex; justify-content: space-between; gap: 16px; }
.side-block__row span:first-child { color: var(--text-2); }
.side-block__row span:last-child { white-space: nowrap; }

/* fascia color pesca: anteprima gratuita */
.preview {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: 16px;
  background: var(--accent-tint);
}
.preview__text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.preview__title { font-size: 17px; font-weight: 600; }
.preview__sub { font-size: 14px; color: var(--text-2); }

/* ---------- Domande frequenti ---------- */
.faq {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 80px;
}
.faq__intro {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about { display: flex; align-items: center; gap: 16px; }
/* segnaposto: da sostituire con la foto (56×56, tonda) */
.about__photo {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--segmented);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--text-2);
  object-fit: cover;
}
.about__text { font-size: 15px; color: var(--text-2); }
.faq__wa { align-self: flex-start; padding: 0 18px; }

.faq__list {
  flex: 2 1 520px;
  min-width: 0;
  border-top: 1px solid var(--border);
}
.faq__item { border-bottom: 1px solid var(--border); }
.faq__item summary,
.plans__side-summary {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
  cursor: pointer;
}
.faq__item summary {
  display: flex;
  padding: 18px 0;
  font-size: 17px;
  font-weight: 500;
}
.faq__item summary::-webkit-details-marker,
.plans__side-summary::-webkit-details-marker { display: none; }
.faq__item summary::after,
.plans__side-summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 22px;
  line-height: 1;
  color: var(--text-2);
  transition: transform 0.2s;
}
.faq__item[open] summary::after,
.plans__side[open] .plans__side-summary::after { transform: rotate(45deg); }
.faq__item p {
  max-width: 620px;
  margin-bottom: 20px;
  font-size: 15px;
  color: var(--text-2);
}

/* ---------- Blocco finale scuro ---------- */
.final {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 48px;
  padding: clamp(32px, 5vw, 56px);
  border-radius: 28px;
  background: var(--dark);
  color: var(--dark-text);
}
.final__text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.final__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.final__sub { max-width: 460px; font-size: 17px; color: var(--dark-text-2); }
.final__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.final__actions .button { padding: 0 28px; }
/* contorno chiaro su scuro: "Scrivimi su WhatsApp" */
.final__actions .button--outline { padding: 0 22px; border-color: var(--dark-text); color: var(--dark-text); }
.final__actions .button--outline:hover { background: var(--dark-text); color: var(--text); }
.final .button:focus-visible,
.final a:focus-visible,
.wa-card a:focus-visible { outline-color: var(--dark-text); }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 28px 44px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-2);
}
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.footer__name { font-family: var(--font-display); font-size: 18px; color: var(--text); }
.footer a { color: var(--text-2); }
.footer a:hover { color: var(--text); }

/* =========================================================================
   /siti/inizia e /siti/materiali — moduli
   ========================================================================= */
.page { padding-block: 32px 88px; }
.back { font-size: 14px; color: var(--text-2); text-decoration: none; }
.back:hover { color: var(--text); }

.page__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 40px;
}
.page__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.page__sub { max-width: 520px; font-size: 18px; color: var(--text-2); }

.page__layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px 56px;
}

/* /siti/inizia: modulo a sinistra su due righe, a destra il riquadro
   WhatsApp e subito sotto "Cosa succede dopo" (righe auto 1fr, così non
   scivola in basso). Sul telefono una colonna nell'ordine dell'HTML:
   WhatsApp, modulo, "Cosa succede dopo" */
.page__layout--inizia {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(0, 400px);
  grid-template-rows: auto 1fr;
  justify-content: space-between;
  align-items: start;
  gap: 28px 56px;
}
.page__layout--inizia .wa-card { grid-column: 2; grid-row: 1; }
.page__layout--inizia .form,
.page__layout--inizia .form-done { grid-column: 1; grid-row: 1 / span 2; max-width: none; }
.page__layout--inizia .next { grid-column: 2; grid-row: 2; }

.form {
  flex: 1 1 520px;
  min-width: 0;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.form__legend { margin-bottom: 12px; font-size: 15px; font-weight: 600; }

/* due card radio: "Cosa vuoi fare?" */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}
.card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--border-input);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
/* bordo da 2px senza spostare il contenuto */
.card:has(input:checked) {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.card input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}
.card__body { display: flex; flex-direction: column; gap: 2px; }
.card__title { font-weight: 600; }
.card__hint { font-size: 14px; color: var(--text-2); }

/* Pacchetto / Modalità (e "Hai un logo?") */
.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 12px;
}
.choice__legend { margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.choices .segmented { display: flex; width: 100%; }
.segmented__opt { flex: 1 1 0; position: relative; }
.segmented__opt span { padding: 0 12px; text-align: center; }
.segmented__opt input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.segmented__opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.segmented--small { max-width: 220px; }

.total { grid-column: 1 / -1; font-size: 14px; color: var(--text-2); }
.total strong { font-weight: 600; color: var(--text); }

.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}
.field--wide { grid-column: 1 / -1; }
.field__opt { font-weight: 400; color: var(--text-2); }
.field__input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid var(--border-input);
  border-radius: 12px;
  background: var(--surface);
  font-size: 16px;   /* niente zoom su iPhone */
  font-weight: 400;
  color: var(--text);
}
textarea.field__input {
  height: auto;
  min-height: 98px;
  padding: 12px 14px;
  resize: vertical;
}
.field__input::placeholder { color: var(--text-2); opacity: 0.8; }
.field__input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  cursor: pointer;
}
.check input {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--accent);
}

/* regole dell'anteprima, da prezzi.js */
.rules {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--accent-tint);
  font-size: 14px;
  color: var(--text-2);
}

.form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.form__submit .button { padding: 0 28px; }
.form__note { font-size: 14px; color: var(--text-2); }
.form__error { flex-basis: 100%; font-size: 14px; font-weight: 500; color: var(--accent-ink); }

.form__trap { display: none; }

.form-done {
  flex: 1 1 520px;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  font-size: 17px;
}

/* colonna destra di /siti/inizia */
.wa-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border-radius: 20px;
  background: var(--dark);
  color: var(--dark-text);
}
.wa-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
}
.wa-card__text { font-size: 15px; color: var(--dark-text-2); }
.wa-card__small { font-size: 13px; color: var(--dark-text-2); }
.wa-card .button {
  height: 50px;
  margin-top: 6px;
  background: var(--dark-text);
  color: var(--text);
}
.wa-card .button:hover { background: #ffffff; color: var(--text); }

.next { display: flex; flex-direction: column; gap: 14px; padding: 4px 4px 0; }
.next__title { font-size: 16px; font-weight: 600; }
.next__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  color: var(--text-2);
}
.next__list li { display: flex; gap: 12px; }
.next__list .num { width: 26px; height: 26px; font-size: 13px; }

/* ---------- Pagine di conferma senza JavaScript ---------- */
.thanks {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  max-width: 640px;
  padding-block: 56px 96px;
}

/* =========================================================================
   Movimento — stesse classi della home, le muove /script.js
   .mask/.mask__i e .reveal-item: entrata scaglionata al caricamento
   ([data-delay]); .reveal: cascata quando il suo [data-reveal-group] entra
   nello schermo; .magnetic: il pulsante segue il mouse. Senza JavaScript il
   <noscript> della pagina mostra tutto.
   ========================================================================= */
.mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
.mask__i {
  display: block;
  transform: translate3d(0, 110%, 0) rotate(2deg);
  opacity: 0;
  will-change: transform;
}
.is-ready .mask__i {
  transform: none;
  opacity: 1;
  transition: transform 1.15s var(--ease), opacity 0.8s ease-out;
  transition-delay: calc(var(--d, 0) * 105ms + 120ms);
}

.reveal-item {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
.is-ready .reveal-item {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 105ms + 240ms);
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition: opacity 0.85s var(--ease), transform 0.95s var(--ease);
  transition-delay: calc(var(--i, 0) * 95ms);
}
.is-in .reveal { opacity: 1; transform: none; }

.magnetic { will-change: transform; }

/* card che si sollevano al passaggio del mouse: `translate` è separato dal
   `transform` della cascata, così l'hover non eredita il suo ritardo */
.lift {
  transition: opacity 0.85s var(--ease), transform 0.95s var(--ease),
              translate 0.45s var(--ease), box-shadow 0.45s var(--ease);
  transition-delay: calc(var(--i, 0) * 95ms), calc(var(--i, 0) * 95ms), 0s, 0s;
}
@media (hover: hover) and (pointer: fine) {
  .lift:hover { translate: 0 -4px; box-shadow: var(--shadow-lift); }
}

/* cambio Acquisto unico / Abbonamento e blocchi del modulo che compaiono */
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 14px, 0); }
}
.is-tabbed .pricing__panel:not([hidden]),
.form [data-only]:not([hidden]),
.form-done:not([hidden]) {
  animation: rise 0.55s var(--ease) both;
}

/* FAQ che si aprono in modo fluido, dove il browser lo supporta */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content,
  .plans__side::details-content {
    height: 0;
    overflow: clip;
    transition: height 0.45s var(--ease), content-visibility 0.45s allow-discrete;
  }
  .faq__item[open]::details-content,
  .plans__side[open]::details-content { height: auto; }
}

/* ---------- Tablet e telefono: /siti/inizia in una colonna ---------- */
@media (max-width: 760px) {
  .page__layout--inizia { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .page__layout--inizia .wa-card,
  .page__layout--inizia .form,
  .page__layout--inizia .form-done,
  .page__layout--inizia .next { grid-column: 1; grid-row: auto; }
  .wa-card { padding: 20px; }
  .wa-card__title { font-size: 22px; }
}

/* ---------- Telefono ---------- */
@media (max-width: 640px) {
  /* menu su una seconda riga, sotto nome e "Contatti" */
  .nav { order: 3; flex: 1 1 100%; gap: 4px 18px; }
  .header__cta { padding-block: 10px; }   /* 44px da toccare */

  .section { padding-bottom: 64px; }
  .hero { padding-block: 32px 56px; }
  .hero__actions .button { width: 100%; }
  .hero__from { display: block; }
  .price-box { display: none; }

  .final__actions { flex: 1 1 100%; }
  .final__actions .button { flex: 1 1 100%; }

  /* pannello beige: riga apribile, chiusa (la chiude siti.js) */
  .plans__side { padding: 0 20px; border-radius: 16px; }
  .plans__side-summary { display: flex; padding: 16px 0; font-size: 16px; font-weight: 600; }
  .plans__side-body { gap: 20px; padding-bottom: 20px; }
  .plans__side-body .side-block + .side-block { padding-top: 16px; }

  /* Come funziona: niente card, numero a sinistra e testo a destra */
  .steps { gap: 18px; }
  .steps__item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    column-gap: 14px;
    row-gap: 2px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .steps__item .num { grid-row: 1 / span 2; }
  .steps__title { margin-top: 4px; font-size: 17px; }
}

@media (max-width: 560px) {
  .form__submit .button { width: 100%; }
}

/* ---------- Movimento ridotto: tutto visibile, niente spostamenti ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0ms !important;
  }

  .mask__i,
  .reveal-item,
  .reveal { opacity: 1 !important; transform: none !important; }
}
