/* ═══════════════════════════════════════════
   QAUCE — style.css
   Design tokens, glassmorphism, 6 sections
═══════════════════════════════════════════ */

/* ─── TOKENS ─── */
:root {
  /* Colors */
  --clr-bg: #060b14;
  --clr-bg-2: #08101f;
  --clr-surface: rgba(255, 255, 255, 0.04);
  --clr-border: rgba(255, 255, 255, 0.09);
  --clr-cyan: #00d4ff;
  --clr-cyan-dim: rgba(0, 212, 255, 0.18);
  --clr-purple: #7c3aed;
  --clr-purple-dim: rgba(124, 58, 237, 0.22);
  --clr-white: #f0f4ff;
  --clr-muted: rgba(240, 244, 255, 0.55);
  --clr-accent: #00d4ff;

  /* Typography */
  --ff: 'Inter', system-ui, sans-serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi: 600;
  --fw-bold: 700;
  --fw-black: 800;

  /* Spacing */
  --sp-xs: .5rem;
  --sp-sm: 1rem;
  --sp-md: 2rem;
  --sp-lg: 4rem;
  --sp-xl: 8rem;

  /* Radius */
  --r-sm: .75rem;
  --r-md: 1.25rem;
  --r-lg: 2rem;

  /* Transitions */
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ─── RESET ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--ff);
  background: var(--clr-bg);
  color: var(--clr-white);
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 16px;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ─── UTILITY ─── */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--sp-md);
}

.eyebrow {
  display: inline-block;
  font-size: .72rem;
  font-weight: var(--fw-semi);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--clr-cyan);
  margin-bottom: var(--sp-sm);
}

.section-sub {
  color: var(--clr-muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin-inline: auto;
  margin-top: var(--sp-sm);
  line-height: 1.75;
}

/* Glassmorphism */
.glass {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-radius: var(--r-md);
}

.glass-strong {
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid rgba(0, 212, 255, 0.2);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--r-md);
}

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: .9rem 2.2rem;
  background: var(--clr-cyan);
  color: var(--clr-bg);
  font-weight: var(--fw-bold);
  font-size: .95rem;
  letter-spacing: .02em;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(0, 212, 255, 0.55);
  background: #33ddff;
}

.btn-secondary {
  display: inline-block;
  padding: .75rem 2rem;
  border: 1.5px solid var(--clr-cyan);
  color: var(--clr-cyan);
  border-radius: 100px;
  font-weight: var(--fw-semi);
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, color .2s, transform .25s var(--ease);
}

.btn-secondary:hover {
  background: var(--clr-cyan);
  color: var(--clr-bg);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-block;
  padding: .9rem 2.2rem;
  border: 1px solid var(--clr-border);
  color: var(--clr-muted);
  border-radius: 100px;
  font-size: .95rem;
  transition: border-color .2s, color .2s, transform .25s var(--ease);
}

.btn-ghost:hover {
  border-color: var(--clr-cyan);
  color: var(--clr-cyan);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.15rem 2.8rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
  text-align: center;
}

/* Glows */
.section-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .2;
  pointer-events: none;
  z-index: 0;
}

.glow-purple {
  background: var(--clr-purple);
  top: -200px;
  right: -200px;
}

.glow-teal {
  background: #00b4a0;
  bottom: 0;
  left: -150px;
}

/* Scroll animations */
.fade-up,
.fade-left,
.fade-right {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--delay, 0s);
}

.fade-left {
  transform: translateX(-36px);
}

.fade-right {
  transform: translateX(36px);
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
  opacity: 1;
  transform: none;
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  padding: 1.4rem 2rem;
  transition: padding .4s var(--ease), background .4s;
}

.navbar.scrolled {
  padding: .9rem 2rem;
  background: rgba(6, 11, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--clr-border);
}

.nav-inner {
  max-width: 1200px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.4rem;
  font-weight: var(--fw-black);
  letter-spacing: -.02em;
}

.logo-q {
  color: var(--clr-cyan);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-size: .9rem;
  font-weight: var(--fw-medium);
  color: var(--clr-muted);
  transition: color .2s;
}

.nav-links a:hover {
  color: var(--clr-white);
}

.nav-cta {
  padding: .55rem 1.4rem !important;
  background: var(--clr-cyan) !important;
  color: var(--clr-bg) !important;
  border-radius: 100px;
  font-weight: var(--fw-bold) !important;
  font-size: .88rem !important;
  transition: background .2s, transform .2s, box-shadow .2s !important;
  box-shadow: 0 0 16px rgba(0, 212, 255, 0.25);
}

.nav-cta:hover {
  background: #33ddff !important;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/images/hero-bg.png') center/cover no-repeat;
  opacity: .35;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.glow-1 {
  width: 700px;
  height: 700px;
  background: rgba(0, 212, 255, 0.12);
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
}

.glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.18);
  bottom: 50px;
  right: 10%;
}

.particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--clr-cyan);
  border-radius: 50%;
  opacity: 0;
  animation: float var(--dur, 8s) ease-in-out var(--delay, 0s) infinite;
}

@keyframes float {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  20% {
    opacity: .6;
  }

  80% {
    opacity: .3;
  }

  100% {
    opacity: 0;
    transform: translateY(-80px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: var(--sp-md);
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: var(--fw-black);
  line-height: 1.1;
  letter-spacing: -.03em;
  margin-bottom: var(--sp-md);
}

.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--clr-cyan), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--clr-muted);
  line-height: 1.75;
  margin-bottom: var(--sp-lg);
}

.hero-sub strong {
  color: var(--clr-white);
  font-weight: var(--fw-semi);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(var(--clr-cyan), transparent);
  animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {

  0%,
  100% {
    opacity: .5;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

/* ─── MANIFESTO ─── */
.manifesto {
  padding: var(--sp-xl) 0;
  background: linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-bg-2) 100%);
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: start;
}

.manifesto-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: var(--fw-black);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: var(--sp-md);
}

.manifesto-text p {
  color: var(--clr-muted);
  line-height: 1.8;
  margin-bottom: var(--sp-sm);
}

.manifesto-divider {
  width: 40px;
  height: 2px;
  background: var(--clr-cyan);
  margin: var(--sp-md) 0;
}

.manifesto-bold {
  color: var(--clr-white) !important;
  font-size: 1.05rem;
}

.manifesto-bold strong {
  color: var(--clr-cyan);
}

.manifesto-pillars {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.pillar-card {
  padding: var(--sp-md);
  transition: transform .3s var(--ease), border-color .3s;
}

.pillar-card:hover {
  transform: translateX(6px);
  border-color: rgba(0, 212, 255, 0.35);
}

.pillar-icon {
  font-size: 1.6rem;
  margin-bottom: .6rem;
}

.pillar-card h3 {
  font-size: 1rem;
  font-weight: var(--fw-semi);
  margin-bottom: .4rem;
  color: var(--clr-white);
}

.pillar-card p {
  font-size: .9rem;
  color: var(--clr-muted);
}

/* ─── COACH ─── */
.coach {
  position: relative;
  padding: var(--sp-xl) 0;
  overflow: hidden;
  background: var(--clr-bg);
  text-align: center;
}

.coach-header {
  margin-bottom: var(--sp-lg);
}

.coach-header h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: var(--fw-black);
  letter-spacing: -.03em;
  margin-bottom: .5rem;
}

.coach-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-sm);
  flex-wrap: wrap;
  margin-bottom: var(--sp-lg);
}

.flow-step {
  padding: var(--sp-md) var(--sp-sm);
  width: 220px;
  text-align: center;
  transition: transform .3s var(--ease), border-color .3s;
}

.flow-step:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.35);
}

.flow-icon {
  font-size: 2rem;
  margin-bottom: .75rem;
}

.flow-step h4 {
  font-size: 1rem;
  font-weight: var(--fw-semi);
  margin-bottom: .4rem;
  color: var(--clr-white);
}

.flow-step p {
  font-size: .85rem;
  color: var(--clr-muted);
}

.flow-arrow {
  font-size: 1.5rem;
  color: var(--clr-cyan);
  opacity: .6;
  flex-shrink: 0;
}

.coach-visual {
  margin-bottom: var(--sp-lg);
}

.coach-glass-frame {
  display: inline-block;
  padding: 1rem;
  max-width: 700px;
  width: 100%;
}

.coach-glass-frame img {
  border-radius: var(--r-sm);
  width: 100%;
  height: auto;
  /* respeta proporciones originales */
}

.coach-benefit {
  display: flex;
  justify-content: center;
}

.benefit-card {
  padding: var(--sp-lg) var(--sp-xl);
  text-align: center;
  max-width: 600px;
}

.benefit-stat {
  display: block;
  font-size: 5rem;
  font-weight: var(--fw-black);
  letter-spacing: -.05em;
  background: linear-gradient(135deg, var(--clr-cyan), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--sp-sm);
}

.benefit-card p {
  color: var(--clr-muted);
  margin-bottom: var(--sp-md);
  font-size: 1.05rem;
  line-height: 1.7;
}

.benefit-card p strong {
  color: var(--clr-white);
}

/* ─── FOR WHO ─── */
.for-who {
  padding: var(--sp-xl) 0;
  background: linear-gradient(180deg, var(--clr-bg-2) 0%, var(--clr-bg) 100%);
  text-align: center;
}

.for-who-header {
  margin-bottom: var(--sp-lg);
}

.for-who-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: var(--fw-black);
  letter-spacing: -.03em;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.profile-card {
  padding: var(--sp-md);
  text-align: left;
  transition: transform .3s var(--ease), border-color .3s;
  position: relative;
}

.profile-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 212, 255, 0.3);
}

.profile-icon {
  font-size: 2rem;
  margin-bottom: var(--sp-sm);
}

.profile-card h3 {
  font-size: 1.05rem;
  font-weight: var(--fw-semi);
  margin-bottom: .6rem;
}

.profile-card p {
  font-size: .9rem;
  color: var(--clr-muted);
  line-height: 1.65;
}

.profile-tag {
  display: inline-block;
  margin-top: var(--sp-sm);
  font-size: .75rem;
  font-weight: var(--fw-semi);
  color: var(--clr-cyan);
  letter-spacing: .05em;
}

.for-who-disclaimer {
  margin-top: var(--sp-lg);
  padding: var(--sp-md);
  border-top: 1px solid var(--clr-border);
}

.for-who-disclaimer p {
  color: var(--clr-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.for-who-disclaimer strong {
  color: var(--clr-white);
}

/* ─── LAB ─── */
.lab {
  position: relative;
  padding: var(--sp-xl) 0;
  background: var(--clr-bg);
  overflow: hidden;
  text-align: center;
}

.lab-header {
  margin-bottom: var(--sp-lg);
}

.lab-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: var(--fw-black);
  letter-spacing: -.03em;
}

.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  gap: var(--sp-sm);
}

.lab-card {
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s;
  text-align: left;
  position: relative;
  z-index: 1;
}

.lab-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 212, 255, 0.25);
}

.lab-card:first-child {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
}

.lab-img-wrap {
  flex: 1;
  overflow: hidden;
}

.lab-img {
  width: 100%;
  height: auto;
  /* proporciones libres */
  max-height: 260px;
  object-fit: cover;
  object-position: center;
  transition: transform .4s var(--ease);
}

.lab-card:hover .lab-img {
  transform: scale(1.04);
}

.lab-content {
  padding: var(--sp-md);
}

.lab-content-full {
  padding: var(--sp-md) var(--sp-md) var(--sp-md);
  height: 100%;
}

.lab-icon {
  font-size: 1.8rem;
  margin-bottom: .75rem;
}

.lab-card h3 {
  font-size: 1.1rem;
  font-weight: var(--fw-semi);
  margin-bottom: .5rem;
}

.lab-card p {
  font-size: .9rem;
  color: var(--clr-muted);
  line-height: 1.7;
}

/* ─── CTA SECTION ─── */
.cta-section {
  position: relative;
  padding: var(--sp-xl) 0;
  text-align: center;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: var(--fw-black);
  letter-spacing: -.03em;
  margin-bottom: var(--sp-md);
}

.cta-sub {
  color: var(--clr-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--sp-lg);
}

.cta-actions {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-md);
}

.cta-note {
  font-size: .8rem;
  color: var(--clr-muted);
  letter-spacing: .06em;
}

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-lg) 0;
  background: var(--clr-bg);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

.footer-brand p {
  font-size: .85rem;
  color: var(--clr-muted);
  margin-top: .3rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: .85rem;
  color: var(--clr-muted);
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--clr-cyan);
}

.footer-copy {
  font-size: .78rem;
  color: rgba(240, 244, 255, 0.3);
  width: 100%;
  text-align: center;
  margin-top: var(--sp-sm);
}

/* ─── MODAL ─── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 11, 20, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-md);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  width: 100%;
  max-width: 460px;
  padding: var(--sp-lg) var(--sp-md);
  position: relative;
  text-align: left;
  transform: translateY(20px);
  transition: transform .35s var(--ease);
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--clr-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color .2s;
}

.modal-close:hover {
  color: var(--clr-white);
}

.modal h3 {
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  margin-bottom: .5rem;
}

.modal>p {
  color: var(--clr-muted);
  font-size: .9rem;
  margin-bottom: var(--sp-md);
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  color: var(--clr-white);
  font-family: var(--ff);
  font-size: .95rem;
  outline: none;
  transition: border-color .2s;
}

.modal-form select option {
  background: #0d1929;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: rgba(240, 244, 255, 0.3);
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: var(--clr-cyan);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
  }

  .profiles-grid {
    grid-template-columns: 1fr;
  }

  .lab-grid {
    grid-template-columns: 1fr;
  }

  .lab-card:first-child {
    grid-column: 1;
    grid-row: auto;
  }

  .coach-flow {
    gap: .5rem;
  }

  .flow-step {
    width: 180px;
  }
}

@media (max-width: 700px) {
  .nav-links {
    display: none;
    flex-direction: column;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 11, 20, 0.97);
    padding: var(--sp-md);
    border-bottom: 1px solid var(--clr-border);
  }

  .hamburger {
    display: flex;
  }

  .benefit-card {
    padding: var(--sp-md);
  }

  .benefit-stat {
    font-size: 4rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .coach-flow {
    flex-direction: column;
    align-items: center;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .flow-step {
    width: 100%;
    max-width: 300px;
  }
}

/* ─── LANG SWITCHER ─── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: .35rem;
  margin-left: .5rem;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--ff);
  font-size: .78rem;
  font-weight: var(--fw-semi);
  letter-spacing: .06em;
  color: var(--clr-muted);
  cursor: pointer;
  padding: .2rem .1rem;
  transition: color .2s;
  line-height: 1;
}

.lang-btn.active {
  color: var(--clr-cyan);
}

.lang-btn:hover {
  color: var(--clr-white);
}

.lang-sep {
  font-size: .7rem;
  color: var(--clr-border);
  user-select: none;
}

.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 1rem;
}

@media (max-width: 700px) {
  .nav-links .lang-switcher {
    display: none;
  }

  .nav-right-mobile {
    display: flex;
  }
}

/* Tap targets: min 44px para lang buttons */
.lang-btn {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ══════════════════════════════════════
   ACCESSIBILITY — A11y
══════════════════════════════════════ */

/* Skip Nav */
.skip-nav {
  position: absolute;
  top: -9999px;
  left: 1rem;
  padding: .75rem 1.5rem;
  background: var(--clr-cyan);
  color: #060b14;
  font-weight: 700;
  font-size: .9rem;
  border-radius: .75rem;
  z-index: 99999;
  text-decoration: none;
  transition: top .15s;
}

.skip-nav:focus {
  top: 1rem;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

/* Screen-reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Visible focus ring for all interactive elements */
:focus-visible {
  outline: 2px solid var(--clr-cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Better contrast for muted text (WCAG AA) */
:root {
  --clr-muted: rgba(240, 244, 255, 0.72);
}

/* Modal heading: h2 in HTML now */
.modal h2 {
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  margin-bottom: .5rem;
}

/* Form field wrapper */
.form-field {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

/* ══════════════════════════════════════
   FAQ SECTION
══════════════════════════════════════ */
.faq-section {
  padding: var(--sp-xl) 0;
  background: linear-gradient(180deg, var(--clr-bg) 0%, var(--clr-bg-2) 100%);
}

.faq-header {
  text-align: center;
  margin-bottom: var(--sp-lg);
}

.faq-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: var(--fw-black);
  letter-spacing: -.03em;
}

.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  padding: 0;
  overflow: hidden;
  transition: border-color .2s;
}

.faq-item[open] {
  border-color: rgba(0, 212, 255, 0.3);
}

.faq-item summary {
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  font-weight: var(--fw-semi);
  color: var(--clr-white);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  min-height: 44px;
  transition: color .2s;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--clr-cyan);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1);
  flex-shrink: 0;
  margin-left: 1rem;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--clr-cyan);
}

.faq-item p {
  padding: 0 1.5rem 1.25rem;
  color: var(--clr-muted);
  font-size: .95rem;
  line-height: 1.75;
}

/* ══════════════════════════════════════
   RESPONSIVE — ENHANCED
══════════════════════════════════════ */

/* Tablet: 768px */
@media (max-width: 768px) {
  :root {
    --sp-xl: 5rem;
    --sp-lg: 3rem;
  }

  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  .profiles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lab-grid {
    grid-template-columns: 1fr;
  }

  .lab-card:first-child {
    grid-column: 1;
    grid-row: auto;
  }

  .benefit-card {
    padding: var(--sp-md);
  }

  .flow-step {
    width: 200px;
  }
}

/* Mobile: 600px */
@media (max-width: 600px) {
  .profiles-grid {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(6, 11, 20, 0.97);
    padding: var(--sp-sm) 0;
    border-bottom: 1px solid var(--clr-border);
    backdrop-filter: blur(20px);
  }

  /* Tap-friendly nav items */
  .nav-links li>a,
  .nav-links li>.nav-cta {
    display: block;
    padding: .9rem 1.5rem !important;
    min-height: 44px;
    font-size: .95rem !important;
    border-radius: 0 !important;
    width: 100%;
  }

  .hamburger {
    display: flex;
  }

  .benefit-card {
    padding: var(--sp-md) var(--sp-sm);
  }

  .benefit-stat {
    font-size: 4rem;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn-primary,
  .cta-actions .btn-ghost {
    width: 100%;
    max-width: 340px;
    text-align: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: var(--sp-sm);
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .coach-flow {
    flex-direction: column;
    align-items: center;
  }

  .flow-arrow {
    transform: rotate(90deg);
  }

  .flow-step {
    width: 100%;
    max-width: 300px;
  }

  .faq-item summary {
    padding: 1rem;
  }

  .faq-item p {
    padding: 0 1rem 1rem;
  }
}

/* Small mobile: 390px (iPhone SE) */
@media (max-width: 390px) {
  :root {
    --sp-xl: 4rem;
    --sp-lg: 2.5rem;
    --sp-md: 1.5rem;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-sub {
    font-size: .9rem;
  }

  .btn-large {
    padding: 1rem 1.4rem;
    font-size: .9rem;
  }

  .benefit-stat {
    font-size: 3.2rem;
  }

  .modal {
    padding: var(--sp-sm);
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .fade-up,
  .fade-left,
  .fade-right {
    opacity: 1;
    transform: none;
  }

  .particle {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }
}