/* ============================================================
   AXELERATE — DESIGN TOKENS
   ============================================================ */
:root {
  --black-deep: #050505;
  --black-graphite: #0B0D0E;
  --gray-dark: #17191B;
  --gray-border: #26292c;
  --white-soft: #F5F5F5;
  --white-dim: #b9bcbe;
  --lime: #B7FF16;
  --lime-dim: #8fd400;
  --red-status: #ff5757;
  --yellow-status: #ffcc33;
  --green-status: #7ee081;

  --font-title: 'Archivo Black', 'Arial Black', sans-serif;
  --font-body: 'Manrope', 'Inter', sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Escala pensada primero para celular */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.25rem;
  --space-4: 1.85rem;
  --space-5: 2.5rem;
  --space-6: 3rem;

  --container-w: min(1180px, 100% - 3rem);

  --dur-fast: 150ms;
  --dur-med: 320ms;
  --dur-slow: 900ms;
  --ease: cubic-bezier(.4,0,.2,1);

  --z-header: 100;
  --z-menu: 90;
  --z-modal: 200;
  --z-float: 80;
}

/* A partir de tablet, más aire entre bloques */
@media (min-width: 760px) {
  :root {
    --space-3: 1.5rem;
    --space-4: 2.5rem;
    --space-5: 4rem;
    --space-6: 5.5rem;
  }
}

@media (max-width: 640px) {
  :root { --container-w: min(1180px, 100% - 2rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

/* El header es fijo: los destinos de ancla se desplazan para no quedar tapados */
section[id], div[id="servicios"] { scroll-margin-top: 96px; }
body {
  margin: 0;
  background: var(--black-deep);
  color: var(--white-soft);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-title); line-height: 1.08; margin: 0; text-transform: uppercase; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
input, select { font-family: inherit; font-size: 1rem; }

.container { width: var(--container-w); margin-inline: auto; }
.text-center { text-align: center; }
.text-accent { color: var(--lime); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--lime); color: var(--black-deep);
  padding: 0.75rem 1.25rem; z-index: 999; font-weight: 700;
}
.skip-link:focus { left: 1rem; top: 1rem; }

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

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: var(--space-2);
}
.eyebrow-center { display: block; text-align: center; }

.section-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin-bottom: var(--space-3);
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--lime); color: var(--black-deep); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--white-soft); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost { background: transparent; color: var(--white-soft); border-color: var(--gray-border); }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--lime); color: var(--lime); }

.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }
.btn-header-cta { display: none; }
@media (min-width: 900px) { .btn-header-cta { display: inline-flex; } }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-header);
  padding: 1.1rem 0;
  transition: background var(--dur-med) var(--ease), padding var(--dur-med) var(--ease), backdrop-filter var(--dur-med) var(--ease);
}
.header.scrolled {
  background: rgba(5,5,5,0.82);
  backdrop-filter: blur(10px);
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--gray-border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: flex; align-items: center; gap: 0.3rem; font-family: var(--font-title); font-size: 1.1rem; }

.nav-desktop { display: none; gap: 1.75rem; font-size: 0.92rem; font-weight: 600; }
.nav-desktop a { color: var(--white-dim); transition: color var(--dur-fast) var(--ease); }
.nav-desktop a:hover, .nav-desktop a:focus-visible { color: var(--white-soft); }
@media (min-width: 900px) { .nav-desktop { display: flex; } }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }

.hamburger {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 34px; height: 34px; background: none; border: none; padding: 0;
}
.hamburger span { display: block; height: 2px; background: var(--white-soft); border-radius: 2px; transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) { .hamburger { display: none; } }

.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: var(--black-graphite);
  padding: 6.5rem 1.75rem 2rem;
  transform: translateY(-100%);
  visibility: hidden;              /* cerrado: fuera del recorrido del tabulador */
  transition: transform var(--dur-med) var(--ease), visibility 0s linear var(--dur-med);
  overflow-y: auto;
}
.mobile-menu[data-open="true"] {
  transform: translateY(0);
  visibility: visible;
  transition: transform var(--dur-med) var(--ease), visibility 0s;
}
.mobile-menu nav { display: flex; flex-direction: column; gap: 1.6rem; }
.mobile-menu nav a { font-size: 1.3rem; font-weight: 700; }
.mobile-menu nav .btn { margin-top: 1rem; }
@media (min-width: 900px) { .mobile-menu { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 3rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(183,255,22,0.08), transparent 60%),
    linear-gradient(180deg, var(--black-graphite) 0%, var(--black-deep) 55%);
}
.hero-bg { position: absolute; inset: 0; opacity: 0.35; pointer-events: none; }
.hero-lines { width: 100%; height: 100%; }
.pitch-line { stroke: var(--lime); stroke-width: 1; opacity: 0.5; }

.hero-inner { position: relative; z-index: 1; max-width: 780px; }
.hero-title { font-size: clamp(2.1rem, 6.5vw, 4rem); margin-bottom: var(--space-2); }
.hero-text { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--white-dim); max-width: 46ch; margin-bottom: var(--space-3); }

.hero-path {
  display: inline-flex; gap: 0.6rem; align-items: center;
  font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; font-size: 0.85rem;
  color: var(--lime); margin-bottom: var(--space-3);
}
.hero-path-sep { color: var(--white-dim); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: var(--space-3); }

/* ============================================================
   PROBLEMA
   ============================================================ */

/* ============================================================
   RUTA / CANCHA INTERACTIVA
   ============================================================ */
.ruta { padding-block: var(--space-6); background: var(--black-graphite); position: relative; }
.ruta-sub { text-align: center; color: var(--white-dim); max-width: 50ch; margin-inline: auto; }

.pitch-nav {
  position: relative;
  margin-top: var(--space-4);
  display: grid;                 /* visible en todos los tamaños, también en celular */
  grid-template-columns: 1fr;
  gap: var(--space-3);
  align-items: start;
}
@media (min-width: 900px) {
  .pitch-nav { grid-template-columns: 0.85fr 1.15fr; gap: var(--space-4); }
}

.pitch-nav-col {
  position: relative;
  max-width: 340px;              /* en celular la cancha no ocupa toda la pantalla */
  margin-inline: auto;
  width: 100%;
}
@media (min-width: 900px) { .pitch-nav-col { max-width: none; } }

.pitch { width: 100%; height: auto; max-height: 380px; color: var(--lime); display: block; }
@media (min-width: 900px) { .pitch { max-height: 560px; } }
.pitch-outline { stroke: rgba(245,245,245,0.25); stroke-width: 1.5; fill: none; }
.pitch-route { stroke: var(--lime); stroke-width: 2; fill: none; stroke-dasharray: 6 8; opacity: 0.7; }
.pitch-marker {
  fill: var(--lime);
  filter: drop-shadow(0 0 6px rgba(183,255,22,0.9));
  offset-path: path('M 250 610 C 350 520, 150 420, 250 350 C 350 280, 150 180, 250 90');
  offset-distance: 0%;
  transition: offset-distance 1s var(--ease);
}
.pitch-route.is-active { stroke: var(--lime); opacity: 1; }

.zona-hotspot.is-dimmed { opacity: 0.4; transition: opacity var(--dur-fast) var(--ease); }

.zona-hotspot {
  position: absolute; left: 8%; transform: translateY(-50%);
  background: none; border: none; color: var(--white-soft);
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.75rem 0.9rem;       /* área de toque cómoda en celular */
  min-height: 48px;
  border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  cursor: pointer;
}
.zona-hotspot:active .zona-dot { transform: scale(1.35); background: var(--lime); }
.zona-dot {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0;
  background: rgba(183,255,22,0.25); border: 2px solid var(--lime);
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.zona-hotspot:hover .zona-dot, .zona-hotspot:focus-visible .zona-dot, .zona-hotspot[aria-expanded="true"] .zona-dot {
  background: var(--lime); transform: scale(1.3);
}
.zona-label {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.04em; white-space: nowrap;
  background: rgba(5,5,5,0.82); padding: 0.2rem 0.55rem; border-radius: 4px;
}
@media (min-width: 900px) { .zona-label { font-size: 0.8rem; letter-spacing: 0.05em; } }
.zona-hotspot[aria-expanded="true"] .zona-label { color: var(--lime); }

/* Panel dinámico junto a la cancha */
.pitch-panel {
  background: var(--black-deep); border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg); padding: 1.4rem;
}
@media (min-width: 900px) { .pitch-panel { padding: 1.85rem; min-height: 420px; } }
.pitch-panel-eyebrow { color: var(--lime); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; }
.pitch-panel-title { font-size: 1.6rem; margin-block: 0.4rem 0.7rem; }
.pitch-panel-lead { font-style: italic; color: var(--white-dim); margin-bottom: 1.2rem; }
.pitch-panel-block { margin-bottom: 1rem; }
.pitch-panel-label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--white-dim); margin-bottom: 0.25rem; }
.pitch-panel-block p { font-size: 0.94rem; }
.pitch-panel-options { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.6rem 0 1.4rem; }
.pitch-panel-options button {
  background: var(--gray-dark); border: 1px solid var(--gray-border); color: var(--white-soft);
  border-radius: 999px; padding: 0.55rem 1rem; font-size: 0.85rem; font-weight: 700;
  transition: border-color var(--dur-fast) var(--ease);
}
.pitch-panel-options button:hover, .pitch-panel-options button:focus-visible { border-color: var(--lime); color: var(--lime); }

/* ============================================================
   SELECTOR
   ============================================================ */
.selector-opt {
  background: var(--black-graphite); border: 1px solid var(--gray-border);
  color: var(--white-soft); border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem; text-align: left; font-size: 0.98rem; font-weight: 600;
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.selector-opt:hover, .selector-opt:focus-visible { border-color: var(--lime); background: var(--gray-dark); }
.selector-opt.active { border-color: var(--lime); background: var(--gray-dark); }
.selector-opt-alt { grid-column: 1 / -1; text-align: center; color: var(--white-dim); }

/* ============================================================
   SERVICIOS
   ============================================================ */

.acordeon { border-top: 1px solid var(--gray-border); margin-bottom: var(--space-4); }
.acordeon-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; color: var(--white-soft); padding: 1.1rem 0;
  font-size: 1rem; font-weight: 700; text-align: left; border-bottom: 1px solid var(--gray-border);
}
.acordeon-icon { color: var(--lime); font-size: 1.3rem; transition: transform var(--dur-fast) var(--ease); }
.acordeon-trigger[aria-expanded="true"] .acordeon-icon { transform: rotate(45deg); }
.acordeon-panel { padding: 1rem 0 1.4rem; color: var(--white-dim); }

/* Acelerar */

/* Conectar */

/* ============================================================
   MÉTODO — TRES PRIORIDADES
   ============================================================ */
@keyframes prioridadIn { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   EZEQUIEL
   ============================================================ */
.ezequiel { padding-block: var(--space-6); background: var(--black-graphite); }
.ezequiel-grid { display: grid; gap: var(--space-4); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 860px) { .ezequiel-grid { grid-template-columns: 0.85fr 1.15fr; } }
.ezequiel-photo { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--gray-border); }
.ezequiel-photo img { width: 100%; height: 100%; object-fit: cover; }
.ezequiel-text { color: var(--white-dim); font-size: 1.05rem; margin-bottom: var(--space-3); max-width: 56ch; }
.ezequiel-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: var(--space-3); }
.chip { background: var(--black-deep); border: 1px solid var(--gray-border); border-radius: 999px; padding: 0.5rem 1rem; font-size: 0.82rem; font-weight: 600; }

/* ============================================================
   HISTORIAS
   ============================================================ */

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding-block: var(--space-6); }
.faq-list { max-width: 800px; margin-inline: auto; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.cta-final {
  padding-block: var(--space-6);
  background: linear-gradient(180deg, var(--black-graphite), var(--black-deep));
  text-align: center;
}
.cta-final-inner { max-width: 640px; margin-inline: auto; }
.cta-final h2 { font-size: clamp(1.8rem, 4.5vw, 2.6rem); margin-bottom: var(--space-2); }
.cta-final p { color: var(--white-dim); margin-bottom: var(--space-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding: var(--space-4) 0; border-top: 1px solid var(--gray-border); }
.footer-inner { display: flex; flex-direction: column; gap: 1.25rem; align-items: center; text-align: center; }
@media (min-width: 780px) { .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-brand { font-family: var(--font-title); font-size: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: center; font-size: 0.85rem; color: var(--white-dim); }
.footer-links a:hover { color: var(--white-soft); }
.footer-social { display: flex; gap: 0.9rem; }
.footer-social a { color: var(--white-dim); font-size: 0.85rem; font-weight: 600; }
.footer-legal { font-size: 0.78rem; color: var(--white-dim); }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.whatsapp-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: var(--z-float);
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--lime); color: var(--black-deep); border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  transition: transform var(--dur-fast) var(--ease);
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ============================================================
   MODAL FORMULARIO
   ============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(5,5,5,0.75);
  display: flex; align-items: flex-end; justify-content: center;
  backdrop-filter: blur(3px);
}
.modal-overlay[hidden] { display: none !important; }
@media (min-width: 700px) { .modal-overlay { align-items: center; } }

.modal {
  position: relative;
  background: var(--gray-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  width: 100%;
  max-width: 520px;
  max-height: 92svh;
  overflow-y: auto;
  padding: 2rem 1.75rem 2.25rem;
}
@media (min-width: 700px) { .modal { border-radius: var(--radius-lg); } }

.modal-close { position: absolute; top: 1rem; right: 1.1rem; background: none; border: none; color: var(--white-dim); font-size: 1.6rem; line-height: 1; }
.modal-close:hover { color: var(--white-soft); }

.modal-steps { display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 1.5rem; }
.modal-step-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gray-border); }
.modal-step-dot.active { background: var(--lime); }
.modal-title { font-size: 1.3rem; text-transform: none; margin-bottom: 1.4rem; }

.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; font-size: 0.88rem; font-weight: 600; color: var(--white-dim); }
.field input[type="text"], .field input[type="number"], .field input[type="tel"], .field select {
  background: var(--black-deep); border: 1px solid var(--gray-border); border-radius: var(--radius-sm);
  padding: 0.8rem 0.9rem; color: var(--white-soft); font-size: 0.95rem;
}
.field input:focus, .field select:focus { border-color: var(--lime); }
.field-error { color: var(--red-status); font-size: 0.78rem; min-height: 1em; }
.field-checkbox { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.field-checkbox input { margin-top: 0.2rem; accent-color: var(--lime); width: 16px; height: 16px; flex-shrink: 0; }

.field-group-tutor { background: var(--black-deep); border: 1px solid var(--gray-border); border-radius: var(--radius-md); padding: 1.1rem; margin-bottom: 1.1rem; }

.form-actions { margin-top: 1.4rem; }
.form-actions-split { display: flex; gap: 0.8rem; }
.form-actions-split .btn-ghost { flex: 0 0 auto; }
.form-actions-split .btn-block { flex: 1; }

.form-step[hidden] { display: none; }

/* ============================================================
   ANIMACIONES DE APARICIÓN
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
  .pitch-marker { transition: none; }
}

/* ============================================================
   PREGUNTAS QA POR SERVICIO
   ============================================================ */

/* ============================================================
   TARJETAS SELECCIONABLES (modalidad / plan)
   ============================================================ */

/* ============================================================
   CIRCUITO INTERACTIVO (Acelerar)
   ============================================================ */

/* ============================================================
   MÓDULO DE PREPARACIÓN (Conectar)
   ============================================================ */

/* ============================================================
   RESUMEN DE OFERTA (formulario)
   ============================================================ */
.offer-summary {
  background: var(--black-deep);
  border: 1px solid var(--lime);
  border-radius: var(--radius-md);
  padding: 1.2rem 1.4rem;
  margin-bottom: 1.4rem;
}
.offer-summary-label {
  display: block; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--white-dim); margin-bottom: 0.4rem;
}
.offer-summary-service { color: var(--lime); font-weight: 800; font-size: 1rem; margin-bottom: 0.15rem; }
.offer-summary-option { font-size: 0.95rem; margin-bottom: 0.3rem; }
.offer-summary-price { font-weight: 700; font-size: 0.9rem; margin-bottom: 0.4rem; }
.offer-summary-result { font-size: 0.82rem; color: var(--white-dim); font-style: italic; margin-bottom: 0.8rem; }
.offer-summary-change {
  background: none; border: 1px solid var(--gray-border); color: var(--white-soft);
  border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.78rem; font-weight: 700;
  transition: border-color var(--dur-fast) var(--ease);
}
.offer-summary-change:hover, .offer-summary-change:focus-visible { border-color: var(--lime); color: var(--lime); }

/* ============================================================
   SELECTOR DE MOTIVO (modal "¿Por qué querés contactarnos?")
   ============================================================ */
.modal-sm { max-width: 460px; }
.reason-options { display: grid; gap: 0.8rem; }
.reason-suboptions[hidden] { display: none; }
.reason-back { margin-bottom: 1rem; }
.reason-suboptions-list { display: grid; gap: 0.7rem; }
.reason-suboptions-list button {
  background: var(--black-graphite); border: 1px solid var(--gray-border); color: var(--white-soft);
  border-radius: var(--radius-md); padding: 0.9rem 1.1rem; text-align: left; font-size: 0.92rem; font-weight: 600;
  transition: border-color var(--dur-fast) var(--ease);
}
.reason-suboptions-list button:hover, .reason-suboptions-list button:focus-visible { border-color: var(--lime); color: var(--lime); }

/* ============================================================
   BARRA STICKY DE SELECCIÓN
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  .selectable-card, .circuito-step, .offer-summary-change, .reason-suboptions-list button { transition: none; }
}

/* ============================================================
   NOTA METODOLÓGICA (observado vs. inferido)
   ============================================================ */

/* ============================================================
   TARJETA DESTACADA (opción más completa)
   ============================================================ */

/* ============================================================
   TESTIMONIOS EN VIDEO
   ============================================================ */

/* ============================================================
   CONSENTIMIENTO OPCIONAL (imagen / testimonio)
   ============================================================ */
.field-optional {
  border-top: 1px solid var(--gray-border);
  padding-top: 1rem;
  margin-top: 0.4rem;
}
.field-optional span { font-size: 0.85rem; color: var(--white-dim); }
.field-optional em { color: var(--white-dim); opacity: 0.8; }
.field-checkbox a { color: var(--lime); text-decoration: underline; }

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */
.legal { padding-block: calc(var(--space-5) + 3rem) var(--space-5); max-width: 72ch; }
.legal-title { font-size: clamp(1.8rem, 5vw, 2.6rem); margin-bottom: 0.4rem; }
.legal-updated { color: var(--white-dim); font-size: 0.85rem; margin-bottom: var(--space-4); }
.legal h2 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: var(--space-4);
  margin-bottom: 0.7rem;
  color: var(--lime);
}
.legal p { color: var(--white-dim); margin-bottom: 1rem; }
.legal-data { list-style: none; display: grid; gap: 0.5rem; margin-bottom: 1rem; }
.legal-data li { color: var(--white-dim); font-size: 0.94rem; }
.legal-data strong { color: var(--white-soft); }

/* ============================================================
   COMPLEMENTOS
   ============================================================ */
.ezequiel-content { display: flex; flex-direction: column; align-items: flex-start; }
.faq-item { margin-bottom: 0; }

/* ============================================================
   LOGO (imagen real)
   ============================================================ */
.logo-img {
  height: 34px;
  width: auto;
  display: block;
}
@media (min-width: 700px) { .logo-img { height: 40px; } }

.footer-logo-img {
  height: 88px;
  width: auto;
  display: block;
  margin-inline: auto;
}

/* ============================================================
   AVISOS Y LISTAS EN PÁGINAS LEGALES
   ============================================================ */
.legal-notice {
  border-radius: var(--radius-md);
  padding: 0.9rem 1.2rem;
  margin-bottom: var(--space-4);
  font-size: 0.86rem;
  color: var(--white-dim);
  background: var(--black-deep);
  border: 1px solid var(--gray-border);
}
.legal-notice[hidden] { display: none; }
.legal-notice code {
  background: var(--gray-dark);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  font-size: 0.9em;
}
.legal-list { list-style: none; display: grid; gap: 0.45rem; margin-bottom: 1rem; }
.legal-list li { color: var(--white-dim); font-size: 0.94rem; padding-left: 1.1rem; position: relative; }
.legal-list li::before { content: '—'; position: absolute; left: 0; color: var(--lime); }
.legal a { color: var(--lime); text-decoration: underline; }

/* ============================================================
   BANDA DE ORIENTACIÓN (puerta de entrada, no una cuarta etapa)
   ============================================================ */

/* ============================================================
   SECCIÓN "SIN CLARIDAD, NO HAY AVANCE"
   Educa sobre el diagnóstico como punto de partida.
   ============================================================ */

/* ============================================================
   PRUEBA VISUAL POR SERVICIO (videos y fotos)
   ============================================================ */

/* ============================================================
   BLOQUE 2 — PRUEBA REAL (video y experiencias)
   ============================================================ */

/* ============================================================
   BLOQUE 4 — SERVICIOS Y PRECIOS
   ============================================================ */
.servicios { padding-block: var(--space-5); }
.servicios-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: var(--space-4); }
@media (min-width: 860px) { .servicios-grid { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

.svc-card {
  position: relative;
  background: var(--black-deep);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
}
.svc-num {
  color: var(--lime); font-family: var(--font-title);
  font-size: 0.8rem; letter-spacing: 0.1em;
}
.svc-card h3 {
  font-family: var(--font-title); font-size: 1.35rem;
  text-transform: uppercase; margin-block: 0.3rem 0.6rem;
}
.svc-desc { color: var(--white-dim); font-size: 0.92rem; margin-bottom: 1rem; }

.svc-incluye { list-style: none; display: grid; gap: 0.45rem; margin-bottom: 1.2rem; }
.svc-incluye li {
  color: var(--white-soft); font-size: 0.88rem;
  padding-left: 1.1rem; position: relative;
}
.svc-incluye li::before { content: '—'; position: absolute; left: 0; color: var(--lime); }

.svc-opciones { display: grid; gap: 0.6rem; margin-top: auto; }
.svc-opcion {
  display: flex; align-items: center; justify-content: space-between; gap: 0.8rem;
  width: 100%; min-height: 52px;
  background: var(--gray-dark);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  text-align: left;
  color: var(--white-soft);
  transition: border-color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  touch-action: manipulation;
}
.svc-opcion:hover, .svc-opcion:focus-visible { border-color: var(--lime); background: rgba(183,255,22,0.06); }
.svc-opcion-nombre { font-size: 0.88rem; font-weight: 700; }
.svc-opcion-nombre em { font-style: normal; color: var(--lime); font-weight: 600; font-size: 0.8rem; }
.svc-opcion-precio { font-size: 0.9rem; font-weight: 800; color: var(--lime); white-space: nowrap; }
.svc-opcion-destacada { border-color: rgba(183,255,22,0.45); }

.svc-nota { font-size: 0.78rem; color: var(--white-dim); margin-top: 1rem; line-height: 1.5; }
.svc-nota-legal {
  border-top: 1px solid var(--gray-border);
  padding-top: 0.8rem;
}

.servicios-orientacion {
  text-align: center; margin-top: var(--space-4);
  color: var(--white-dim); font-size: 0.92rem;
}
.link-btn {
  background: none; border: none; padding: 0;
  color: var(--lime); font-weight: 700; font-size: inherit;
  text-decoration: underline; cursor: pointer;
}

/* ============================================================
   VIDEO DE PRESENTACIÓN (portada)
   ============================================================ */
.hero-video { margin-bottom: var(--space-3); }
.hero-video[hidden] { display: none; }

.video-marco {
  position: relative;
  width: 100%;
  max-width: 300px;                 /* vertical: no debe comerse la pantalla */
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--gray-border);
  background: var(--black-deep);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}
@media (min-width: 520px) { .video-marco { max-width: 340px; } }

.video-marco video {
  width: 100%;
  height: auto;
  display: block;
  background: var(--black-deep);
}

/* Botón de reproducción sobre la portada */
.video-play {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(180deg, rgba(5,5,5,0.15) 0%, rgba(5,5,5,0.55) 100%);
  border: none;
  cursor: pointer;
  transition: opacity var(--dur-fast) var(--ease);
}
.video-marco.is-reproduciendo .video-play {
  opacity: 0;
  pointer-events: none;             /* con el video andando, no estorba los controles */
}

.video-play-icono {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(183,255,22,0.35);
  transition: transform var(--dur-fast) var(--ease);
}
.video-play-icono::before {
  content: '';
  width: 0; height: 0;
  margin-left: 5px;
  border-left: 20px solid var(--black-deep);
  border-top: 13px solid transparent;
  border-bottom: 13px solid transparent;
}
.video-play:hover .video-play-icono,
.video-play:focus-visible .video-play-icono { transform: scale(1.08); }
.video-play:focus-visible { outline: 2px solid var(--lime); outline-offset: -4px; }

.video-play-texto {
  color: var(--white-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

/* En escritorio, portada a dos columnas: texto y video */
@media (min-width: 900px) {
  .hero-inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: var(--space-4); align-items: center; }
  .hero-video { grid-column: 2; grid-row: 1 / span 5; margin-bottom: 0; justify-self: end; }
  .video-marco { max-width: 330px; }
}

@media (prefers-reduced-motion: reduce) {
  .video-play, .video-play-icono { transition: none; }
}

/* ============================================================
   VIDEOS
   Sin reproducción automática: portada + controles nativos.
   preload="none" evita descargar nada hasta que el usuario toca play.
   ============================================================ */
.video-figura { margin: 0 0 var(--space-3); }
.video-titulo {
  font-family: var(--font-title);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.7rem;
  color: var(--white-soft);
}
.video-axe {
  display: block;
  width: 100%;
  height: auto;                 /* nunca deforma: respeta la proporción real */
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-border);
  background: var(--black-deep);
}
/* Vertical: se limita la altura para que no ocupe toda la pantalla del celular */
.video-vertical .video-axe { max-width: 340px; max-height: 62vh; margin-inline: auto; }
@media (min-width: 760px) { .video-vertical .video-axe { max-width: 380px; max-height: 70vh; } }
.video-horizontal .video-axe { max-width: 100%; }

.video-pie {
  color: var(--white-dim);
  font-size: 0.78rem;
  margin-top: 0.6rem;
  text-align: center;
}
.video-horizontal .video-pie, .svc-card .video-pie { text-align: left; }

/* ============================================================
   GALERÍA DE CONECTAR
   ============================================================ */
.galeria-conectar { margin-bottom: 1.2rem; }
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.galeria-grid figure { margin: 0; }
.galeria-grid img {
  width: 100%;
  height: auto;                 /* neutraliza el atributo height del HTML */
  aspect-ratio: 3 / 4;
  object-fit: cover;            /* recorta al encuadre, nunca estira */
  object-position: center 30%;  /* prioriza las caras, no los pies */
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-border);
  display: block;
}
.galeria-pie {
  color: var(--white-dim);
  font-size: 0.78rem;
  margin-top: 0.7rem;
}

/* Marco de video horizontal (demostración del informe) */
.video-marco-ancho { max-width: 100%; }
@media (min-width: 520px) { .video-marco-ancho { max-width: 100%; } }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testimonios { padding-block: var(--space-5); background: var(--black-graphite); }
.testimonios-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
  justify-items: center;
}
@media (min-width: 760px) { .testimonios-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); } }
.testimonios-nota {
  text-align: center;
  color: var(--white-dim);
  font-size: 0.78rem;
  margin-top: var(--space-3);
  max-width: 60ch;
  margin-inline: auto;
}
