:root {
  --bg: #070708;
  --bg-soft: #0b0b0d;
  --surface: rgba(255, 255, 255, 0.025);
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.06);
  --text: #f2f5fa;
  --text-soft: #c4cdda;
  --text-muted: #7e8a9c;
  --accent: #10b981;
  --accent-soft: #34d399;
  --accent-deep: #0d9488;
  --radius: 12px;
  --maxw: 720px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ---------- Background ---------- */
.bg-decor {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(16, 185, 129, 0.10), transparent 60%),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: auto, 24px 24px;
}

.bg-decor .orb { display: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  padding: 1.5rem 1.5rem;
  background: transparent;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 35%, transparent 85%);
  mask-image: linear-gradient(to bottom, black 0%, black 35%, transparent 85%);
  pointer-events: none;
}

.nav {
  position: relative;
  z-index: 1;
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}

.nav-logo-img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.nav-logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: var(--hero-h, 100dvh);
  background-color: var(--bg);
  padding: 6rem 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32%;
  z-index: 2;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(5, 5, 5, 0.4);
  background-image:
    radial-gradient(ellipse 60% 52% at 50% 46%, rgba(0, 0, 0, 0.42), transparent 72%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.6) 0%, rgba(5, 5, 5, 0.42) 45%, rgba(5, 5, 5, 0.68) 100%);
}

.hero-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.09) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 75% 72% at 50% 48%, transparent 0%, rgba(0, 0, 0, 0.1) 40%, #000 100%);
  mask-image: radial-gradient(ellipse 75% 72% at 50% 48%, transparent 0%, rgba(0, 0, 0, 0.1) 40%, #000 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--maxw);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.2rem;
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.32rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.eyebrow--hero {
  margin-top: 1.5rem;
}

.eyebrow-icon {
  display: inline-flex;
  width: 6px;
  height: 6px;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Title (Montserrat, letter-spacing -2px) ---------- */
.title {
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.03em;
}

.hero-title {
  position: relative;
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-title::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -6% 8%;
  background: radial-gradient(ellipse 46% 52% at 50% 48%, rgba(16, 185, 129, 0.15), transparent 68%);
  pointer-events: none;
}

.hero-title-line {
  display: block;
}

.hero-title-sub {
  font-size: clamp(1.1rem, 3.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-top: 0.9rem;
  color: #ffffff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.text-accent {
  color: var(--accent-soft);
}

.text-underline {
  color: #fff;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
}

.hero-sub {
  font-size: 1.05rem;
  color: #dfe6ef;
  font-weight: 400;
  line-height: 1.7;
  max-width: 540px;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.hero-sub strong {
  color: #ffffff;
  font-weight: 600;
}

/* ---------- Leaderboard ---------- */
.leaderboard {
  width: 100%;
  max-width: 560px;
  margin: 0.2rem auto 0;
}

.leaderboard-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 26px rgba(16, 185, 129, 0.18));
}

.leaderboard-caption {
  margin-top: 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- CTA ---------- */
.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.6rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #04140e;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  padding: 1rem 2.1rem;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.15) inset, 0 8px 24px -10px rgba(16, 185, 129, 0.5);
  transition: background 0.18s ease, transform 0.18s ease;
}

.btn-cta:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.btn-cta-icon {
  transition: transform 0.18s ease;
}

.btn-cta:hover .btn-cta-icon {
  transform: translate(2px, -2px);
}

.hero-cta-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* ---------- Scroll indicator ---------- */
.hero-scroll {
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.hero-scroll:hover {
  color: var(--accent-soft);
}

@media (max-height: 720px) {
  .hero-scroll {
    display: none;
  }
}

.hero-scroll-mouse {
  width: 24px;
  height: 38px;
}

.hero-scroll-dot {
  animation: heroScrollDot 1.9s ease-in-out infinite;
}

.hero-scroll-chevron {
  width: 17px;
  height: 17px;
  animation: heroScrollBounce 1.9s ease-in-out infinite;
}

@keyframes heroScrollDot {
  0% { transform: translateY(0); opacity: 0; }
  20% { opacity: 1; }
  65% { transform: translateY(11px); opacity: 0; }
  100% { transform: translateY(11px); opacity: 0; }
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(4px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-dot,
  .hero-scroll-chevron {
    animation: none;
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 1.25rem 1.25rem;
  }

  .nav {
    flex-wrap: nowrap;
    gap: 0.6rem;
  }

  .nav-logo-text {
    font-size: 1rem;
  }

  .nav-tagline {
    font-size: 0.6rem;
    white-space: nowrap;
  }

  .hero {
    padding: 2.5rem 1.25rem 3.5rem;
  }

  .hero-video {
    object-position: 43% center;
  }

  .hero-content {
    gap: 1.2rem;
  }

  .eyebrow {
    padding: 0.3rem 0.6rem;
    font-size: 0.55rem;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .hero-title {
    font-size: clamp(2rem, 9vw, 2.4rem);
  }

  .hero-title-sub {
    font-size: 1.02rem;
    margin-top: 0.7rem;
  }

  .hero-sub {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .btn-cta {
    font-size: 0.92rem;
    padding: 0.85rem 1.6rem;
  }

  .hero-cta-note {
    font-size: 0.75rem;
  }
}

/* ---------- Stats ---------- */
.stats {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 0 1.5rem 1rem;
}

.stats-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 1.4rem;
  position: relative;
}

.stat-tile + .stat-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  bottom: 1.2rem;
  width: 1px;
  background: var(--border);
}

.stat-graphic {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-graphic svg {
  width: 100%;
  height: auto;
}

.stat-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}

.stat-unit {
  color: var(--accent-soft);
  font-weight: 700;
}

.stat-label {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .stat-value { font-size: 1.6rem; }
  .stat-graphic { width: 46px; height: 46px; }
}

@media (max-width: 560px) {
  .stats { padding: 0 1.25rem 0.5rem; }
  .stat-tile {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    padding: 0.95rem 0.5rem;
  }
  .stat-graphic { width: 30px; height: 30px; }
  .stat-value { font-size: 1.2rem; }
  .stat-label { font-size: 0.6rem; line-height: 1.25; }
  .stat-tile + .stat-tile::before {
    top: 0.95rem;
    bottom: 0.95rem;
  }
}

/* ---------- Why / Differenza ---------- */
.why {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 5.5rem 1.5rem 6rem;
}

.why-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.why-head {
  max-width: 640px;
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.why-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.8rem, 4.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}

.why-sub {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 540px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
  }
}

.why-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(16, 185, 129, 0.07), transparent 60%),
    #080e0c;
  padding: 2.1rem 1.6rem 1.9rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ---- "Prima": EA spento / sconfitta ---- */
.why-card--dim {
  border-color: rgba(255, 255, 255, 0.05);
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(239, 68, 68, 0.06), transparent 62%),
    #0a0a0c;
}

.why-card--dim .why-card-title {
  color: #aeb6c1;
}

.why-card--dim .why-graphic svg {
  filter: drop-shadow(0 0 6px rgba(239, 68, 68, 0.14));
  opacity: 0.78;
}

/* ---- "Dopo": il nostro EA acceso / forza ---- */
.why-card--bright {
  border-color: rgba(16, 185, 129, 0.26);
  background:
    radial-gradient(ellipse 120% 95% at 50% -8%, rgba(16, 185, 129, 0.16), transparent 60%),
    #06130d;
}

.why-card--bright .why-graphic svg {
  filter: drop-shadow(0 0 15px rgba(16, 185, 129, 0.4));
}

.why-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1.3px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 35%, #000, transparent 75%);
  pointer-events: none;
}

.why-card > * {
  position: relative;
  z-index: 1;
}

.why-graphic {
  width: 100%;
  max-width: 540px;
  margin: 0 auto 1.4rem;
}

.why-graphic svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 9px rgba(16, 185, 129, 0.22));
}

.why-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.why-card-sub {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 680px;
}

.why-card-sub strong {
  color: #fff;
  font-weight: 700;
}

.why-highlight {
  margin-top: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  text-align: center;
  border-radius: 26px;
  border: 1px solid rgba(16, 185, 129, 0.28);
  background:
    radial-gradient(ellipse 100% 200% at 50% 50%, rgba(16, 185, 129, 0.10), transparent 70%),
    rgba(16, 185, 129, 0.04);
  padding: 1.5rem 1.7rem;
}

.why-highlight svg {
  width: 28px;
  height: 28px;
  color: var(--accent-soft);
  flex-shrink: 0;
}

.why-highlight p {
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-soft);
}

.why-highlight strong {
  color: var(--accent-soft);
  font-weight: 800;
}

@media (max-width: 600px) {
  .why {
    padding: 3.5rem 1.25rem 4rem;
  }

  .why-head {
    margin-bottom: 2.2rem;
    gap: 0.85rem;
  }

  .why-title {
    font-size: clamp(1.55rem, 6.8vw, 1.95rem);
    line-height: 1.14;
  }

  .why-sub {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .why-card {
    padding: 1.8rem 1.4rem 1.6rem;
  }

  .why-card-title {
    font-size: 1.15rem;
  }

  .why-card-sub {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .why-highlight {
    padding: 1.3rem 1.4rem;
  }

  .why-highlight p {
    font-size: 0.92rem;
    line-height: 1.6;
  }
}

/* ---------- Testimonials / Feedback ---------- */
.testimonials {
  --t-bg: #f5f6f8;
  --t-text: #0b0d12;
  --t-text-soft: #46505f;
  --t-text-muted: #7b8494;
  --t-border: rgba(10, 14, 22, 0.10);
  --t-surface: #ffffff;
  position: relative;
  z-index: 1;
  background: var(--t-bg);
  padding: 5.5rem 0;
  box-shadow: inset 0 22px 26px -22px rgba(0, 0, 0, 0.7),
              inset 0 -22px 26px -22px rgba(0, 0, 0, 0.7);
}

.testimonials .eyebrow {
  border-color: var(--t-border);
  background: rgba(16, 185, 129, 0.08);
  color: var(--accent-deep);
  text-shadow: none;
}

.t-head {
  position: relative;
  z-index: 1;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.t-title {
  font-size: clamp(1.8rem, 4.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--t-text);
}

.t-title .text-accent {
  color: var(--accent-deep);
}

.t-sub {
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--t-text-soft);
}

.t-sub strong {
  color: var(--t-text);
  font-weight: 700;
}

.t-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.2rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--t-text-muted);
}

.t-hint svg {
  width: 16px;
  height: 16px;
  animation: tHintNudge 1.8s ease-in-out infinite;
}

@keyframes tHintNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.t-track {
  --t-h: clamp(440px, 62vh, 600px);
  --t-gap: 1rem;
  margin-top: 2.6rem;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, 1fr);
  grid-auto-columns: max-content;
  gap: var(--t-gap);
  height: var(--t-h);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 1.6rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(10, 14, 22, 0.22) transparent;
}

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

.t-track::-webkit-scrollbar {
  height: 6px;
}

.t-track::-webkit-scrollbar-track {
  background: transparent;
}

.t-track::-webkit-scrollbar-thumb {
  background: rgba(10, 14, 22, 0.2);
  border-radius: 999px;
}

.t-card {
  position: relative;
  height: 100%;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--t-surface);
  border: 1px solid var(--t-border);
  scroll-snap-align: center;
  box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.28);
}

.t-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.t-card--tall {
  grid-row: span 2;
  width: auto;
  aspect-ratio: 1080 / 2340;
}

.t-card--video {
  grid-row: span 2;
  width: auto;
  aspect-ratio: 192 / 426;
}

.t-card--sq {
  grid-row: span 1;
  width: auto;
  aspect-ratio: 1 / 1;
}

.t-scroller {
  position: relative;
}

.t-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--t-border);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--t-text);
  cursor: pointer;
  box-shadow: 0 12px 30px -14px rgba(15, 23, 42, 0.55);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.t-arrow svg {
  width: 22px;
  height: 22px;
}

.t-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #04140e;
}

.t-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.t-arrow--prev {
  left: 1.4rem;
}

.t-arrow--next {
  right: 1.4rem;
}

@media (min-width: 861px) {
  .t-arrow {
    display: inline-flex;
  }
}

.t-phone {
  position: absolute;
  inset: 0;
}

.t-card--video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 600px) {
  .testimonials {
    padding: 4rem 0;
  }

  .t-head {
    padding: 0 1.25rem;
    gap: 0.85rem;
  }

  .t-title {
    font-size: clamp(1.55rem, 6.8vw, 1.95rem);
    line-height: 1.14;
  }

  .t-sub {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .t-track {
    --t-h: clamp(380px, 68vh, 520px);
    --t-gap: 0.7rem;
    margin-top: 2rem;
    padding: 1.4rem 1.25rem;
  }
}

/* ---------- FAQ ---------- */
.faq {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 4.5rem 0 5rem;
}

.faq-head {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.faq-title {
  font-size: clamp(1.8rem, 4.6vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

.faq-sub {
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.faq-sub strong {
  color: #fff;
  font-weight: 700;
}

.faq-list {
  max-width: 46rem;
  margin: 2rem auto 0;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.12);
}

.faq-item[open] {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
}

.faq-q {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  list-style: none;
  cursor: pointer;
  padding: 0.95rem 1.15rem;
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  transition: color 0.2s ease;
}

.faq-q-label {
  flex: 1 1 auto;
}

.faq-badge {
  flex: 0 0 auto;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-soft);
  border-radius: 999px;
  padding: 0.16rem 0.55rem;
  background: rgba(16, 185, 129, 0.1);
  white-space: nowrap;
}

.faq-q::-webkit-details-marker {
  display: none;
}

.faq-q:hover {
  color: #fff;
}

.faq-q:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
  border-radius: var(--radius);
}

.faq-chevron {
  flex: 0 0 auto;
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.25s ease, color 0.2s ease;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
  color: var(--accent-soft);
}

.faq-a {
  padding: 0 1.15rem 1.05rem;
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.65;
}

.faq-a p {
  margin: 0;
}

.faq-a p + p {
  margin-top: 0.55rem;
}

.faq-a strong {
  color: #fff;
  font-weight: 700;
}

.faq-item[open] .faq-a {
  animation: faqReveal 0.28s ease;
}

@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 600px) {
  .faq {
    padding: 4rem 0 4.5rem;
  }

  .faq-head {
    padding: 0 1.25rem;
    gap: 0.85rem;
  }

  .faq-title {
    font-size: clamp(1.55rem, 6.8vw, 1.95rem);
    line-height: 1.14;
  }

  .faq-sub {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  .faq-list {
    margin-top: 2rem;
    padding: 0 1.25rem;
  }

  .faq-q {
    padding: 1rem 1.05rem;
    font-size: 0.95rem;
  }

  .faq-a {
    padding: 0 1.05rem 1.1rem;
    font-size: 0.9rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-item[open] .faq-a {
    animation: none;
  }
  .faq-chevron {
    transition: color 0.2s ease;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 0 1.5rem 3.5rem;
}

.footer-card {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  padding: 3rem 3rem 2.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
}

.footer-logo-img {
  width: 36px;
  height: 36px;
  opacity: 0.95;
}

.footer-company {
  margin: 0.3rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
}

.footer-address {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

.footer-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
  border-bottom-color: var(--accent);
}

.footer-dot {
  color: var(--text-muted);
}

.footer-note {
  margin: 0.5rem 0 0;
  max-width: 40rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.footer-divider {
  height: 1px;
  background: var(--border);
  margin: 2rem 0;
}

.footer-disclaimer-title {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.footer-disclaimer p:not(.footer-disclaimer-title) {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.footer-disclaimer p:last-child {
  margin-bottom: 0;
}

.footer-copy {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 600px) {
  .site-footer {
    padding: 0 1.25rem 2.5rem;
  }
  .footer-card {
    border-radius: 14px;
    padding: 2.2rem 1.5rem 2rem;
  }
  .footer-company {
    font-size: 0.95rem;
  }
  .footer-address {
    font-size: 0.88rem;
  }
  .footer-note,
  .footer-disclaimer p:not(.footer-disclaimer-title) {
    font-size: 0.85rem;
  }
  .footer-divider {
    margin: 1.6rem 0;
  }
}

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--accent-soft);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 8px 28px -10px rgba(0, 0, 0, 0.6);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.wa-fab:hover {
  transform: translateY(-2px);
  color: #fff;
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.16);
}

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

.wa-fab-icon {
  width: 28px;
  height: 28px;
}

@media (max-width: 600px) {
  .wa-fab {
    right: 1.1rem;
    bottom: 1.1rem;
    width: 52px;
    height: 52px;
  }
  .wa-fab-icon {
    width: 26px;
    height: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab {
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  }
  .wa-fab:hover {
    transform: none;
  }
}

/* ---------- Legal pages (Terms / Privacy / Cookie) ---------- */
.legal-main {
  position: relative;
  z-index: 1;
  padding: 8rem 1.5rem 4rem;
}

.legal-shell {
  max-width: 820px;
  margin: 0 auto;
}

.legal-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-back:hover {
  color: var(--accent-soft);
}

.legal-back svg {
  width: 14px;
  height: 14px;
}

.legal-title {
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text);
}

.legal-updated {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

.legal-doc {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface);
  padding: 3rem 3rem 2.6rem;
}

.legal-lead {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-soft);
  margin-bottom: 1.8rem;
}

.legal-toc {
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.4rem;
}

.legal-toc-title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.legal-toc ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.45rem 1.5rem;
  counter-reset: toc;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  display: flex;
  gap: 0.5rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: var(--text-soft);
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-toc a::before {
  content: counter(toc) ".";
  color: var(--accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.legal-toc a:hover {
  color: var(--text);
}

.legal-section {
  scroll-margin-top: 7rem;
}

.legal-section + .legal-section {
  margin-top: 2.2rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--border-soft);
}

.legal-h {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 1rem;
}

.legal-h-num {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

.legal-sub {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-soft);
  margin: 1.3rem 0 0.7rem;
}

.legal-doc p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-soft);
}

.legal-doc p + p {
  margin-top: 0.9rem;
}

.legal-list {
  list-style: none;
  margin: 0.9rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.legal-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-soft);
}

.legal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.legal-doc a:not(.legal-back) {
  color: var(--accent-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(52, 211, 153, 0.3);
  transition: border-color 0.2s ease;
}

.legal-doc a:not(.legal-back):hover {
  border-bottom-color: var(--accent-soft);
}

.legal-callout {
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.05);
  padding: 1.2rem 1.4rem;
  margin-top: 1.6rem;
}

.legal-callout p {
  color: var(--text-soft);
}

.legal-contact {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text-soft);
}

.legal-contact strong {
  color: var(--text);
  font-weight: 700;
}

@media (max-width: 600px) {
  .legal-main {
    padding: 6.5rem 1.25rem 3rem;
  }
  .legal-doc {
    border-radius: 14px;
    padding: 1.8rem 1.4rem 1.6rem;
  }
  .legal-toc ol {
    grid-template-columns: 1fr;
  }
  .legal-h {
    font-size: 1.05rem;
  }
  .legal-doc p,
  .legal-list li,
  .legal-toc a {
    font-size: 0.9rem;
  }
}

/* ---------- Cookie consent ---------- */
.cc-banner {
  position: fixed;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 60;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.4rem 1.6rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(13, 13, 16, 0.42);
  backdrop-filter: blur(32px) saturate(150%);
  -webkit-backdrop-filter: blur(32px) saturate(150%);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.cc-banner.cc-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.cc-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.cc-text a {
  color: var(--accent-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(52, 211, 153, 0.3);
  transition: border-color 0.2s ease;
}

.cc-text a:hover {
  border-bottom-color: var(--accent-soft);
}

.cc-countdown {
  display: inline;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.cc-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
}

.cc-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.cc-btn {
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.62rem 1.15rem;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.cc-btn-reject:hover,
.cc-btn-settings:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.cc-btn-accept {
  background: var(--accent);
  border-color: var(--accent);
  color: #04130d;
  font-weight: 700;
}

.cc-btn-accept:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  transform: translateY(-1px);
}

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

.cc-actions .cc-btn-accept {
  margin-left: auto;
}

/* Settings overlay */
.cc-settings {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cc-settings.cc-settings-visible {
  opacity: 1;
  pointer-events: auto;
}

.cc-settings-panel {
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-soft);
  padding: 2.2rem 2.2rem 2rem;
  box-shadow: 0 30px 70px -25px rgba(0, 0, 0, 0.9);
  transform: translateY(14px);
  transition: transform 0.3s ease;
}

.cc-settings-visible .cc-settings-panel {
  transform: none;
}

.cc-settings-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.cc-settings-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 1.6rem;
}

.cc-category {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border-soft);
}

.cc-cat-info {
  flex: 1;
}

.cc-cat-name {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.cc-tag-required {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 5px;
  padding: 0.18rem 0.45rem;
}

.cc-cat-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.cc-settings-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

/* Toggle switch */
.cc-toggle {
  position: relative;
  display: inline-block;
  flex: none;
  width: 44px;
  height: 24px;
  margin-top: 0.1rem;
}

.cc-toggle input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.cc-toggle input:disabled {
  cursor: not-allowed;
}

.cc-toggle-track {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  transition: background 0.2s ease;
}

.cc-toggle-track::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
}

.cc-toggle input:checked + .cc-toggle-track {
  background: var(--accent);
}

.cc-toggle input:checked + .cc-toggle-track::before {
  transform: translateX(20px);
}

.cc-toggle input:disabled + .cc-toggle-track {
  opacity: 0.6;
}

/* Hide WhatsApp FAB while consent UI is open */
.cc-banner-open .wa-fab {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

@media (max-width: 600px) {
  .cc-banner {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    padding: 1.2rem 1.2rem;
    border-radius: 14px;
  }
  .cc-text {
    font-size: 0.85rem;
  }
  .cc-actions .cc-btn {
    flex: 1;
    text-align: center;
    padding: 0.62rem 0.6rem;
  }
  .cc-actions .cc-btn-accept {
    margin-left: 0;
    flex-basis: 100%;
  }
  .cc-settings-panel {
    padding: 1.7rem 1.4rem 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc-banner,
  .cc-settings,
  .cc-settings-panel,
  .cc-btn-accept:hover {
    transition: opacity 0.2s ease;
    transform: none;
  }
}

/* ---------- Lead form modal / bottom sheet ---------- */
body.lf-open {
  overflow: hidden;
}

.lf-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lf-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.lf-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--bg-soft);
  padding: 0 2rem 2.2rem;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  opacity: 0;
  transform: scale(0.95) translateY(-12px);
  transition: opacity 0.28s ease-out, transform 0.28s ease-out;
}

.lf-modal.is-open {
  opacity: 1;
  transform: scale(1) translateY(0);
}

@media (max-width: 600px) {
  .lf-overlay {
    align-items: flex-end;
    padding: 0;
  }
  .lf-modal {
    max-width: 100%;
    max-height: 92dvh;
    border-radius: 22px 22px 0 0;
    border-bottom: none;
    padding: 0 1.4rem 2.8rem;
    transform: translateY(100%);
    opacity: 1;
    transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .lf-modal.is-open {
    transform: translateY(0);
    opacity: 1;
  }
}

.lf-drag-handle {
  display: none;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.18);
  margin: 1.1rem auto 0;
}

@media (max-width: 600px) {
  .lf-drag-handle { display: block; }
}

/* Header */
.lf-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.4rem 0 1.2rem;
  position: sticky;
  top: 0;
  background: var(--bg-soft);
  z-index: 1;
}

.lf-back,
.lf-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font: inherit;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.lf-back:hover,
.lf-close:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.lf-back[hidden] {
  visibility: hidden;
  pointer-events: none;
}

.lf-progress {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.lf-progress-track {
  width: 100%;
  max-width: 180px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.lf-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.lf-progress-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Steps */
.lf-intro {
  margin-bottom: 1.3rem;
}

.lf-intro.is-hidden {
  display: none;
}

.lf-intro-title {
  font-size: clamp(1.25rem, 4.5vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.lf-intro-sub {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.lf-step {
  display: none;
}

.lf-step.is-active {
  display: block;
  animation: lf-fadein 0.22s ease-out;
}

@keyframes lf-fadein {
  from { opacity: 0; transform: translateX(14px); }
  to   { opacity: 1; transform: none; }
}

.lf-title {
  font-size: clamp(1.2rem, 4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.lf-subtitle {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.3rem;
}

/* Quiz options */
.lf-opts {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.lf-opt {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  user-select: none;
}

.lf-opt:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.lf-opt.is-selected {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.09);
}

.lf-opt-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.lf-opt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  flex: none;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.lf-opt.is-selected .lf-opt-icon {
  border-color: var(--accent);
  background: var(--accent);
}

.lf-opt-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #04130d;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.lf-opt.is-selected .lf-opt-dot {
  opacity: 1;
}

.lf-opt-text {
  flex: 1;
  text-align: left;
  font-size: 0.93rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-soft);
}

.lf-opt.is-selected .lf-opt-text {
  color: var(--text);
  font-weight: 600;
}

/* Contact form */
.lf-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lf-form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.lf-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.lf-input {
  font: inherit;
  font-size: 0.97rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.78rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.lf-input::placeholder { color: var(--text-muted); }

.lf-input:focus {
  border-color: var(--accent);
  background: rgba(16, 185, 129, 0.05);
}

/* Phone prefix group */
.lf-phone-wrap {
  display: flex;
  position: relative;
}

.lf-prefix-btn {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.75rem;
  flex: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 10px 0 0 10px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
  min-height: 46px;
}

.lf-prefix-btn:hover { color: var(--text); }

.lf-prefix-chevron {
  width: 13px;
  height: 13px;
  transition: transform 0.2s ease;
}

.lf-prefix-btn[aria-expanded="true"] .lf-prefix-chevron {
  transform: rotate(180deg);
}

.lf-phone-wrap .lf-input {
  border-radius: 0 10px 10px 0;
  flex: 1;
  min-width: 0;
}

.lf-prefix-dropdown {
  position: fixed;
  width: 260px;
  max-width: calc(100vw - 2rem);
  max-height: 240px;
  z-index: 12000;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #111113;
  box-shadow: 0 14px 35px -10px rgba(0, 0, 0, 0.85);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.lf-prefix-dropdown[hidden] {
  display: none;
}

.lf-country-search {
  font: inherit;
  font-size: 0.88rem;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-soft);
  padding: 0.65rem 0.9rem;
  outline: none;
  flex: none;
  width: 100%;
}

.lf-country-search::placeholder { color: var(--text-muted); }

.lf-country-list {
  list-style: none;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.lf-country-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.52rem 0.9rem;
  cursor: pointer;
  font-size: 0.86rem;
  color: var(--text-soft);
  transition: background 0.12s ease, color 0.12s ease;
}

.lf-country-item:hover { background: rgba(255, 255, 255, 0.06); color: var(--text); }
.lf-country-item.is-active { background: rgba(16, 185, 129, 0.1); color: var(--accent-soft); }

.lf-country-code {
  font-weight: 700;
  color: var(--text-muted);
  min-width: 2.6rem;
  font-size: 0.82rem;
}

/* Privacy */
.lf-privacy {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
}

.lf-privacy-check {
  width: 16px;
  height: 16px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}

.lf-privacy-text {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.lf-privacy-text a {
  color: var(--accent-soft);
  text-decoration: none;
  border-bottom: 1px solid rgba(52, 211, 153, 0.3);
}

/* Error */
.lf-error {
  display: none;
  font-size: 0.87rem;
  line-height: 1.5;
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 8px;
  padding: 0.65rem 0.9rem;
}

.lf-error.is-visible { display: block; }

/* Submit */
.lf-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  font: inherit;
  font-size: 0.97rem;
  font-weight: 700;
  padding: 0.88rem 1.4rem;
  border: none;
  border-radius: 11px;
  background: var(--accent);
  color: #04130d;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.lf-submit:hover:not(:disabled) {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.lf-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.lf-submit-spinner {
  display: inline-block;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(4, 19, 13, 0.3);
  border-top-color: #04130d;
  border-radius: 50%;
  animation: lf-spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 0.4rem;
}

@keyframes lf-spin { to { transform: rotate(360deg); } }

/* Blocked message */
.lf-blocked {
  text-align: center;
  padding: 1.2rem 0;
  line-height: 1.65;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.lf-blocked strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--text);
}

.lf-blocked a {
  color: var(--accent-soft);
  border-bottom: 1px solid rgba(52, 211, 153, 0.3);
  text-decoration: none;
}

@media (max-width: 600px) {
  .lf-title { font-size: 1.22rem; }
  .lf-opt { padding: 0.82rem 0.9rem; }
  .lf-opt-text { font-size: 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lf-modal,
  .lf-step.is-active,
  .lf-opt,
  .lf-submit,
  .lf-progress-fill {
    transition: opacity 0.2s ease;
    transform: none !important;
    animation: none;
  }
}

/* ── Thank-you page ─────────────────────────────────────────── */

.ty-main {
  min-height: 100dvh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8rem 1.5rem 4rem;
}

.ty-shell {
  max-width: 560px;
  width: 100%;
  text-align: center;
}

.ty-eyebrow {
  margin: 0 auto 0.8rem;
}

.ty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  animation: ty-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes ty-pop {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

.ty-back {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ty-back svg {
  width: 16px;
  height: 16px;
}

.ty-back:hover { color: var(--text); }

/* ---- Thank-you · leva Telegram ---- */
.ty-unlock {
  position: relative;
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(16, 185, 129, 0.10), transparent 70%),
    rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.04), 0 24px 60px -28px rgba(16, 185, 129, 0.35);
  padding: 1.5rem 1.4rem 1.3rem;
  margin-bottom: 2rem;
  text-align: center;
}

.ty-unlock-tag {
  display: inline-block;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.ty-unlock-perks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.ty-perk {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.ty-perk-num {
  font-size: clamp(2rem, 7vw, 2.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}

.ty-perk-unit {
  font-size: 0.42em;
  font-weight: 800;
  color: var(--accent-soft);
  margin-left: 0.12em;
}

.ty-perk-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.ty-perk-plus {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.7;
}

.ty-unlock-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 40ch;
  margin: 0 auto 1.1rem;
}

.ty-unlock-text strong { color: var(--text); font-weight: 800; }

/* Telegram CTA */
.ty-tg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.6rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #2aabee, #229ed9);
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow: 0 14px 34px -12px rgba(34, 158, 217, 0.7);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.ty-tg:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 40px -12px rgba(34, 158, 217, 0.8);
}

.ty-tg-icon {
  width: 22px;
  height: 22px;
  flex: none;
}

.ty-tg-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.55rem;
}

@media (max-width: 480px) {
  .ty-icon { margin-left: auto; margin-right: auto; }
  .ty-eyebrow { margin-left: auto; margin-right: auto; }
  .ty-unlock-perks { gap: 0.9rem; }
  .ty-back { justify-content: center; }
}

/* ======================================================================
   Scroll reveal + SVG animations
   Attivo solo con .js-anim (JS on). Senza JS i contenuti restano visibili.
   ====================================================================== */

.js-anim [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}

.js-anim [data-reveal="fade"]  { transform: none; }
.js-anim [data-reveal="scale"] { transform: scale(0.94); }
.js-anim [data-reveal="left"]  { transform: translateX(-40px); }
.js-anim [data-reveal="right"] { transform: translateX(40px); }

.js-anim [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* ---- SVG: linee disegnate (stroke draw-on) — usa pathLength="1" ---- */
.js-anim .anim-draw {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}
.js-anim .is-revealed .anim-draw {
  animation: avDraw 0.9s cubic-bezier(0.65, 0, 0.35, 1) 0.1s forwards;
}
.js-anim .is-revealed .anim-draw--1    { animation-delay: 0.15s; }
.js-anim .is-revealed .anim-draw--2    { animation-delay: 0.55s; }
.js-anim .is-revealed .anim-draw--3    { animation-delay: 0.8s; }
.js-anim .is-revealed .anim-draw--slow { animation-duration: 1.4s; animation-delay: 0.2s; }

@keyframes avDraw {
  to { stroke-dashoffset: 0; }
}

/* ---- SVG: arco donut (riempimento progressivo) ---- */
.js-anim .anim-donut { stroke-dashoffset: 124.1; }
.js-anim .is-revealed .anim-donut {
  animation: avDonut 1.1s cubic-bezier(0.34, 1.2, 0.64, 1) 0.2s forwards;
}
@keyframes avDonut {
  from { stroke-dashoffset: 124.1; }
  to   { stroke-dashoffset: 0; }
}

/* ---- SVG: riempimento area sotto la curva ---- */
.js-anim .anim-fill { opacity: 0; }
.js-anim .is-revealed .anim-fill {
  animation: avFade 0.8s ease 0.35s forwards;
}
@keyframes avFade {
  to { opacity: 1; }
}

/* ---- SVG: punti / nodi che spuntano (pop) ---- */
.js-anim .anim-pop,
.js-anim .anim-node {
  opacity: 0;
  transform: scale(0);
  transform-box: fill-box;
  transform-origin: center;
}
.js-anim .is-revealed .anim-pop,
.js-anim .is-revealed .anim-node {
  animation: avPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.js-anim .is-revealed .anim-pop        { animation-delay: 0.55s; }
.js-anim .is-revealed .anim-pop--1     { animation-delay: 0.55s; }
.js-anim .is-revealed .anim-node--1    { animation-delay: 0.2s; }
.js-anim .is-revealed .anim-node--2    { animation-delay: 0.38s; }
.js-anim .is-revealed .anim-node--3    { animation-delay: 0.56s; }
.js-anim .is-revealed .anim-node--4    { animation-delay: 0.74s; }

@keyframes avPop {
  0%   { opacity: 0; transform: scale(0); }
  60%  { opacity: 1; transform: scale(1.18); }
  100% { opacity: 1; transform: scale(1); }
}

/* ---- Idle pulse sui pallini eyebrow ---- */
.js-anim .eyebrow-dot {
  animation: avDotPulse 2.4s ease-in-out infinite;
}
@keyframes avDotPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45); }
  50%      { box-shadow: 0 0 0 5px rgba(16, 185, 129, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .js-anim [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .js-anim .anim-draw,
  .js-anim .anim-donut,
  .js-anim .anim-fill,
  .js-anim .anim-pop,
  .js-anim .anim-node {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    opacity: 1;
    transform: none;
    animation: none !important;
  }
  .js-anim .eyebrow-dot { animation: none; }
}
