/* ============================================================
   Spazio Sogno - Landing B2B Hospitality
   Design tokens
   ============================================================ */
:root {
  --bg: #ffffff;
  --ink: #141413;
  --muted: #4c4a45;
  --sand: #e6decb;
  --sand-deep: #dacfb4;
  --sand-deeper: #cdbf9f;
  --gold: #b9a06f;
  --line: rgba(20, 20, 19, 0.16);
  --line-strong: rgba(20, 20, 19, 0.32);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(56px, 9vw, 124px);

  --step-sm: clamp(0.82rem, 0.79rem + 0.12vw, 0.9rem);
  --step-base: clamp(0.98rem, 0.95rem + 0.18vw, 1.075rem);
  --h-display: clamp(1.55rem, 1.05rem + 2.3vw, 2.7rem);
  --h-hero: clamp(1.65rem, 1rem + 3.1vw, 3.7rem);
  --num: clamp(2.4rem, 1.5rem + 4vw, 4rem);

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

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--step-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; }

h1, h2, h3, p, ul, figure { margin: 0; }

ul { padding: 0; list-style: none; }

button { font: inherit; }

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

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 50;
  background: var(--ink);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 2px;
  text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* Shared typographic helpers */
.h-display {
  font-size: var(--h-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
.center { text-align: center; }

.muted {
  color: var(--muted);
  max-width: 60ch;
}

.link-underline {
  display: inline-block;
  font-size: var(--step-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--ink);
  transition: opacity 0.2s var(--ease);
}
.link-underline:hover { opacity: 0.55; }

.link-inline { color: inherit; text-underline-offset: 3px; }

/* ============================================================
   1. HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: clamp(520px, 86vh, 860px);
  display: flex;
  isolation: isolate;
  color: #fff;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    url("https://images.unsplash.com/photo-1611892440504-42a792e24d32?auto=format&fit=crop&w=2000&q=80")
    center / cover no-repeat;
  transform: scale(1.04);
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 8, 7, 0.55) 0%, rgba(8, 8, 7, 0.22) 32%, rgba(8, 8, 7, 0.4) 100%);
}
.hero {
  display: block;
}
.hero__inner {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: clamp(520px, 86vh, 860px);
  max-width: var(--maxw);
  margin-inline: auto;
  padding: clamp(36px, 6vh, 72px) var(--gutter) clamp(48px, 8vh, 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(2rem, 8vh, 6rem);
}
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.6rem, 3vh, 2.4rem);
}
.hero__title {
  width: 100%;
  font-size: var(--h-hero);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* Brand wordmark */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}
.brand__mark {
  font-size: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand__mark sup { font-size: 0.42em; top: -0.9em; font-weight: 500; }
.brand__tagline {
  margin-top: 0.45em;
  font-size: clamp(0.6rem, 0.55rem + 0.2vw, 0.72rem);
  font-weight: 400;
  letter-spacing: 0.32em;
  text-transform: lowercase;
  opacity: 0.92;
}
.hero .brand { position: absolute; top: clamp(28px, 6vh, 60px); }

/* ============================================================
   Bands / sections
   ============================================================ */
.band { background: var(--sand); }
.section { padding-block: var(--section-y); }
.band { padding-block: var(--section-y); }

/* 2. INTRO BAND */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}
.intro__heading {
  font-size: clamp(1.1rem, 0.95rem + 0.9vw, 1.5rem);
  font-weight: 600;
  line-height: 1.28;
  margin-bottom: 1.8rem;
}
.intro__body p + p { margin-top: 1.1rem; }
.intro__body { color: #2a2925; }

/* Split layout (text + media) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split__text .h-display { margin-bottom: 1.4rem; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
}
.split__media--bw img { filter: grayscale(1) contrast(1.05); }
.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  aspect-ratio: 4 / 3.4;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--sand);
  color: var(--muted);
  text-align: center;
  padding: 1.5rem;
}
.media-placeholder svg { width: 48px; height: 48px; opacity: 0.7; }
.media-placeholder span {
  font-size: var(--step-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   4. PRODOTTI
   ============================================================ */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.6rem, 3.5vw, 3.2rem);
}
.product__media {
  aspect-ratio: 4 / 3.3;
  margin-bottom: 1.4rem;
  background: linear-gradient(150deg, #efeeec 0%, #d9d8d4 55%, #c9c8c3 100%);
  position: relative;
  overflow: hidden;
}
.product__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 58%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.5) 0 2px, transparent 2px 26px),
    linear-gradient(180deg, #f4f3f1, #e3e2de);
  border-top: 1px solid rgba(255,255,255,0.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
  clip-path: polygon(0 16%, 100% 0, 100% 100%, 0 100%);
}
.product__name {
  font-size: 1.15rem;
  font-weight: 500;
  margin-bottom: 0.15rem;
}
.product__name em {
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.product__type {
  font-weight: 500;
  margin-bottom: 1rem;
}
.product__specs li,
.product__desc {
  color: var(--muted);
  font-size: var(--step-sm);
  line-height: 1.55;
}
.product__specs li { padding-left: 1.1em; position: relative; }
.product__specs li::before {
  content: "\00B7";
  position: absolute; left: 0;
  font-weight: 700;
}
.badge {
  display: inline-block;
  margin-top: 1.3rem;
  background: var(--sand-deep);
  color: var(--ink);
  font-size: var(--step-sm);
  padding: 0.5rem 0.9rem;
}

/* ============================================================
   2b. COUNTER / NUMERI
   ============================================================ */
.counter__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.stat {
  text-align: center;
  padding: clamp(1.6rem, 3vw, 2.6rem) 0.75rem;
}
.stat + .stat { border-left: 1px solid var(--line); }
.stat__value {
  display: block;
  font-size: clamp(1.85rem, 1.1rem + 2.3vw, 2.95rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: 0.8rem;
  font-size: var(--step-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   4b. VALUE PROPOSITION / BENEFITS
   ============================================================ */
.benefits__title {
  margin-bottom: clamp(2.4rem, 5vw, 3.8rem);
}
.benefits__cta { text-align: center; margin-top: clamp(2.6rem, 5vw, 4rem); }
.prodotti__title {
  margin-bottom: clamp(2.4rem, 5vw, 3.8rem);
  text-align: center;
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: clamp(2rem, 4vw, 3.6rem);
  row-gap: clamp(2.2rem, 4vw, 3.4rem);
}
.benefit {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.benefit__icon { display: block; color: var(--ink); margin-bottom: 1.1rem; }
.benefit__icon svg { width: 30px; height: 30px; }
.benefit__title {
  font-size: clamp(1.02rem, 0.94rem + 0.4vw, 1.2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  text-wrap: balance;
}
.benefit p { color: var(--muted); font-size: var(--step-sm); line-height: 1.55; }

/* ============================================================
   8b. COME FUNZIONA / STEPS
   ============================================================ */
.steps__title {
  margin-bottom: clamp(2.4rem, 5vw, 3.8rem);
  text-align: center;
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}
.steps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.8rem, 3.5vw, 3rem);
  margin-block: 0;
  list-style: none;
}
.step {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.4rem;
  text-align: center;
}
.step__num {
  display: block;
  font-size: clamp(1.6rem, 1rem + 1.8vw, 2.4rem);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}
.step__title {
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.16rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  text-wrap: balance;
}
.step p { color: var(--muted); font-size: var(--step-sm); line-height: 1.55; }

/* ============================================================
   2c. PAIN AGITATOR
   ============================================================ */
.pain__head {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  column-gap: clamp(2rem, 5vw, 4.5rem);
  margin-bottom: clamp(2.4rem, 5vw, 3.6rem);
}
.pain__media { margin: 0; }
.pain__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  aspect-ratio: 4 / 3;
  border: 1.5px dashed var(--line-strong);
  border-radius: 12px;
  background: var(--sand);
  color: var(--muted);
  text-align: center;
  padding: 1.5rem;
}
.pain__placeholder svg { width: 46px; height: 46px; opacity: 0.7; }
.pain__placeholder span {
  font-size: var(--step-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.pain__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.pain__eyebrow {
  font-size: var(--step-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.pain__head .h-display { margin-bottom: clamp(1.4rem, 3vw, 2rem); }
.pain__copy p { color: var(--muted); }
.pain__copy p + p { margin-top: 0.9rem; }
.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.1rem, 2.4vw, 1.7rem);
}
.risk {
  --risk-c: var(--line-strong);
  border: 1px solid var(--line);
  border-top: 3px solid var(--risk-c);
  padding: clamp(1.3rem, 2.5vw, 1.9rem);
  background: var(--bg);
}
.risk--bad { --risk-c: #c0392b; }
.risk--warn { --risk-c: #b08400; }
.risk--good {
  --risk-c: #2f7d4f;
  background: var(--sand);
  border-color: var(--sand-deeper);
}
.risk__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}
.risk__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--risk-c);
}
.risk__mark svg { width: 19px; height: 19px; }
.risk__title {
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.15rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}
.risk__list { margin: 0; padding: 0; list-style: none; }
.risk__list li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: var(--step-sm);
  line-height: 1.5;
}
.risk__list li + li { margin-top: 0.6rem; }
.risk__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.52em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--risk-c);
}

/* ============================================================
   2d. IL RISCHIO CHE NON VEDI
   ============================================================ */
.risk-banner { background: var(--ink); color: #fff; }
.risk-banner__inner { text-align: center; }
.risk-banner__eyebrow {
  font-size: var(--step-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}
.risk-banner__statement {
  font-size: clamp(1.5rem, 1rem + 2.4vw, 2.8rem);
  font-weight: 300;
  line-height: 1.18;
  letter-spacing: -0.01em;
  text-wrap: balance;
  max-width: 22ch;
  margin: 0 auto;
}
.risk-banner__statement span { display: block; font-weight: 700; }
.risk-banner__cta { margin-top: clamp(1.8rem, 4vw, 2.6rem); }

/* ============================================================
   5. TIERS
   ============================================================ */
.tiers__head { text-align: center; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.tiers__cta { text-align: center; margin-top: clamp(2.2rem, 5vw, 3.4rem); }
.tiers__title { max-width: 22ch; margin-inline: auto; margin-bottom: 1.4rem; }
.tiers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.tier {
  text-align: center;
  padding: clamp(1.6rem, 3vw, 2.6rem) 1rem;
}
.tier + .tier { border-left: 1px solid var(--line); }
.tier__label {
  font-size: var(--step-sm);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.tier__value {
  font-size: var(--num);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.01em;
}

/* ============================================================
   7. CLIENTI
   ============================================================ */
.clienti__title { margin-bottom: clamp(2.6rem, 5vw, 4.2rem); }
.clienti__cta { text-align: center; margin-top: clamp(2.6rem, 5vw, 4rem); }
.logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  justify-items: center;
}
.logo { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.logo__circle {
  width: clamp(96px, 12vw, 138px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: var(--step-sm);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo__stars { color: var(--gold); letter-spacing: 0.3em; font-size: 0.85rem; }

/* ============================================================
   9. FORM
   ============================================================ */
.split--form { align-items: start; }
.form-intro .h-display { margin-bottom: 1.3rem; }
.form__eyebrow {
  font-size: var(--step-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.field { position: relative; margin-bottom: 0.4rem; }
.field input {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  background: transparent;
  padding: 1.5rem 0 0.6rem;
  font: inherit;
  color: var(--ink);
}
.field input:focus { outline: none; border-bottom-color: var(--ink); }
.field label {
  position: absolute;
  left: 0;
  top: 0.7rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.2s var(--ease);
}
.field input:placeholder-shown:not(:focus) + label {
  top: 1.5rem;
  font-size: 0.98rem;
  text-transform: none;
  letter-spacing: 0;
  color: #6b6963;
}
.field input:user-invalid { border-bottom-color: #9a2c2c; }

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  margin: 1.8rem 0 1.8rem;
  font-size: var(--step-sm);
  color: var(--muted);
  line-height: 1.5;
}
.consent input {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--ink);
}
.btn {
  display: inline-block;
  background: var(--sand-deep);
  color: var(--ink);
  border: 0;
  padding: 0.95rem 1.7rem;
  font-size: var(--step-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.15s var(--ease);
}
.btn:hover { background: var(--sand-deeper); }
.btn:active { transform: translateY(1px); }
.btn--light { background: #fff; }
.btn--light:hover { background: var(--sand); }
.form__success {
  margin-top: 1.2rem;
  color: #2f5d3a;
  font-size: var(--step-sm);
}

.wa-notice {
  margin-top: clamp(2.4rem, 5vw, 3.6rem);
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  flex-wrap: wrap;
  background: var(--sand-deep);
  border: 1px solid var(--sand-deeper);
  border-radius: 14px;
  padding: clamp(1.3rem, 3vw, 1.8rem) clamp(1.4rem, 3.5vw, 2.2rem);
}
.wa-notice__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
}
.wa-notice__icon svg { width: 30px; height: 30px; }
.wa-notice__body { flex: 1 1 240px; }
.wa-notice__title {
  font-size: var(--step-base);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.wa-notice__text {
  margin-top: 0.3rem;
  font-size: var(--step-sm);
  color: var(--muted);
}
.btn--wa {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
}
.btn--wa svg { width: 20px; height: 20px; }
.btn--wa:hover { background: #1ebe5a; }
@media (max-width: 560px) {
  .wa-notice { flex-direction: column; align-items: flex-start; }
  .btn--wa { width: 100%; justify-content: center; }
}

/* ============================================================
   10. AIUTO
   ============================================================ */
.aiuto__title { margin-bottom: clamp(2.4rem, 5vw, 3.8rem); }
.help-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.8rem, 3.5vw, 3rem);
}
.help__icon { display: block; color: var(--ink); margin-bottom: 1.1rem; }
.help__icon svg { width: 30px; height: 30px; }
.help__title {
  font-size: var(--step-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}
.help p { color: var(--muted); font-size: var(--step-sm); line-height: 1.55; }

/* ============================================================
   11. FAQ
   ============================================================ */
.faq__title { margin-bottom: clamp(2rem, 4vw, 3rem); }
.faq__list { max-width: 880px; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item h3 { margin: 0; font-weight: inherit; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: none;
  border: 0;
  padding: 1.2rem 0;
  text-align: left;
  cursor: pointer;
  font-size: clamp(0.95rem, 0.9rem + 0.3vw, 1.1rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
}
.faq__chevron {
  position: relative;
  width: 14px; height: 14px;
  flex: 0 0 auto;
  transition: transform 0.3s var(--ease);
}
.faq__chevron::before,
.faq__chevron::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 11px; height: 1.5px;
  background: var(--ink);
  transform-origin: center;
}
.faq__chevron::before { transform: translate(-50%, -50%) rotate(45deg) translateX(-3px); }
.faq__chevron::after { transform: translate(-50%, -50%) rotate(-45deg) translateX(3px); }
.faq__q[aria-expanded="true"] .faq__chevron { transform: rotate(180deg); }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > * { overflow: hidden; min-height: 0; }
.faq__a p {
  color: var(--muted);
  padding-bottom: 1.4rem;
  max-width: 80ch;
}

/* ============================================================
   12. FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: #e9e6df;
  padding-block: clamp(2.6rem, 5vw, 4rem);
}
.footer__inner {
  display: grid;
  gap: 1.6rem;
  align-items: center;
  grid-template-columns: auto 1fr auto;
}
.brand--footer .brand__tagline { opacity: 0.7; }
.footer__legal {
  font-size: 0.72rem;
  line-height: 1.6;
  color: #a7a399;
  max-width: 64ch;
}
.footer__social { display: flex; align-items: center; gap: 1rem; }
.footer__social-label {
  font-size: var(--step-sm);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer__social a {
  display: grid; place-items: center;
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: background 0.2s var(--ease);
}
.footer__social a:hover { background: rgba(255,255,255,0.12); }
.footer__social svg { width: 18px; height: 18px; }

/* ============================================================
   Motion / reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .intro__grid,
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media,
  .split--form .form { order: 0; }
  .split__media { order: 0; }
  .products { grid-template-columns: 1fr 1fr; }
  .benefits__grid { grid-template-columns: 1fr 1fr; }
  .steps__grid { grid-template-columns: 1fr 1fr; }
  .pain__grid { grid-template-columns: 1fr; }
  .pain__head { grid-template-columns: 1fr; row-gap: clamp(1.8rem, 5vw, 2.6rem); }
  .pain__media { max-width: 460px; }
  .help-grid { grid-template-columns: 1fr 1fr; }
  .counter__grid { grid-template-columns: 1fr 1fr; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .logos { grid-template-columns: repeat(4, 1fr); }
  .footer__inner { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 560px) {
  .products,
  .benefits__grid,
  .steps__grid,
  .tiers__grid,
  .counter__grid,
  .help-grid { grid-template-columns: 1fr; }
  .tier + .tier { border-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(even) { border-left: 0; }
  .stat + .stat { border-top: 1px solid var(--line); }
  .logos { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .split__media img { aspect-ratio: 4 / 3; }
}

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