/* ============================================================
   GROVEN LANDING — Estilos
   Mobile-first · Poppins · Paleta de marca
   ============================================================ */

/* ── 1. TOKENS ─────────────────────────────────────────────── */
:root {
  /* Marca */
  --navy:       #012583;
  --blue:       #0056FC;
  --orange:     #FF5B00;
  --gray-light: #E8E9EA;
  --black:      #000000;

  /* Texto */
  --text-primary:   #0a0a0a;
  --text-secondary: #4b5563;
  --text-muted:     #9ca3af;
  --text-white:     #ffffff;
  --text-white-70:  rgba(255,255,255,0.7);
  --text-white-50:  rgba(255,255,255,0.5);

  /* Superficies */
  --bg-white:   #ffffff;
  --bg-surface: #f8f9fb;
  --bg-dark:    #010E2F;
  --bg-border:  rgba(0,0,0,0.08);

  /* Radios */
  --r-sm:  8px;
  --r-md:  14px;
  --r-lg:  20px;
  --r-xl:  28px;

  /* Sombras */
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:   0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:   0 20px 48px rgba(0,0,0,0.09), 0 8px 20px rgba(0,0,0,0.06);
  --shadow-form: 0 32px 80px rgba(1,37,131,0.10), 0 8px 24px rgba(0,0,0,0.06);

  /* Transiciones */
  --t-fast:   150ms cubic-bezier(0.4,0,0.2,1);
  --t-base:   250ms cubic-bezier(0.4,0,0.2,1);
  --t-slow:   450ms cubic-bezier(0.4,0,0.2,1);
  --t-spring: 400ms cubic-bezier(0.34,1.56,0.64,1);
}

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

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
fieldset { border: none; }

/* ── 3. UTILIDADES ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--navy);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  transition: top var(--t-fast);
}
.skip-link:focus { top: 1rem; }

/* Honeypot */
.hp-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

/* ── 4. ANIMACIONES ────────────────────────────────────────── */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.65s cubic-bezier(0.16,1,0.3,1),
    transform 0.65s cubic-bezier(0.16,1,0.3,1);
  will-change: opacity, transform;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Variantes de animación */
[data-animate="fade-left"] {
  transform: translateX(-32px);
}
[data-animate="fade-left"].is-visible {
  transform: translateX(0);
}
[data-animate="fade-right"] {
  transform: translateX(32px);
}
[data-animate="fade-right"].is-visible {
  transform: translateX(0);
}
[data-animate="scale-up"] {
  transform: scale(0.94) translateY(16px);
}
[data-animate="scale-up"].is-visible {
  transform: scale(1) translateY(0);
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes checkCircle {
  from { stroke-dashoffset: 160; }
  to   { stroke-dashoffset: 0; }
}
@keyframes checkMark {
  from { stroke-dashoffset: 60; }
  to   { stroke-dashoffset: 0; }
}
@keyframes pulseOrb {
  0%,100% { transform: scale(1); opacity: 0.06; }
  50%     { transform: scale(1.08); opacity: 0.1; }
}

/* ── 5. NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.125rem 1.25rem;
  transition: background var(--t-base), box-shadow var(--t-base), padding var(--t-base);
}

.nav.nav--scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
  padding: 0.875rem 1.25rem;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.nav__logo-text {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--navy);
  transition: color var(--t-fast);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: var(--orange);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.625rem 1.125rem;
  border-radius: var(--r-sm);
  letter-spacing: 0.01em;
  transition: opacity var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
}

.nav__cta:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,91,0,0.28);
}
.nav__cta:active { transform: translateY(0); }

/* ── 6. HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  padding: 6.5rem 0 4rem;
  display: flex;
  align-items: center;
  background:
    radial-gradient(ellipse 80% 70% at 75% 40%, rgba(0,86,252,0.055) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 20% 80%, rgba(1,37,131,0.04) 0%, transparent 55%),
    var(--bg-white);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero__text {
  order: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.125rem;
}

.hero__heading {
  font-size: clamp(2rem, 6vw, 3.625rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.hero__subheading {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 1.75rem;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  padding: 0.3125rem 0.75rem;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

.hero__form-wrap {
  order: 2;
  width: 100%;
}

.hero__bg-accent {
  position: absolute;
  top: -10%;
  right: -15%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,86,252,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulseOrb 8s ease-in-out infinite;
}

/* ── 7. FORM CARD ──────────────────────────────────────────── */
.form-card {
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: var(--r-xl);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-form);
}

.form-card__header {
  margin-bottom: 1.75rem;
}

.form-card__title {
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 0.375rem;
}

.form-card__subtitle {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Alerta de error del servidor */
.form-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 0.875rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.form-alert--error {
  background: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FECACA;
}

.form-alert svg { flex-shrink: 0; margin-top: 2px; }

/* Form base */
.form { display: flex; flex-direction: column; gap: 1.125rem; }

.form-group { display: flex; flex-direction: column; gap: 0.375rem; }

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.form-required { color: var(--orange); margin-left: 2px; }

/* Inputs */
.form-input {
  width: 100%;
  height: 48px;
  padding: 0 1rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--bg-white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  -webkit-appearance: none;
  appearance: none;
}

.form-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.form-input:hover {
  border-color: rgba(0,86,252,0.3);
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3.5px rgba(0,86,252,0.12);
  background: var(--bg-white);
}

/* Input con prefijo */
.input-prefix-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-prefix {
  position: absolute;
  left: 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  pointer-events: none;
  user-select: none;
  z-index: 1;
}

.input-with-prefix {
  padding-left: 1.875rem;
}

/* Evitar zoom en iOS */
@media (max-width: 768px) {
  .form-input { font-size: 16px; }
}

/* Number input sin flechas */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; }
input[type="number"] { -moz-appearance: textfield; }

/* Estados validación visual */
.form-group.has-error .form-input {
  border-color: #DC2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.form-group.is-valid .form-input {
  border-color: #16A34A;
}

/* Error inline */
.form-error {
  font-size: 0.78125rem;
  color: #DC2626;
  font-weight: 500;
  min-height: 1.1em;
  line-height: 1.4;
  display: block;
}

/* Hint */
.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

/* Fieldset / Radio */
.form-fieldset { width: 100%; }

.form-fieldset .form-label {
  display: block;
  margin-bottom: 0.625rem;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--r-md);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.radio-label:hover {
  border-color: rgba(0,86,252,0.3);
  background: rgba(0,86,252,0.025);
}

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

.radio-custom {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-light);
  border-radius: 50%;
  background: var(--bg-white);
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  position: relative;
}

.radio-custom::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%) scale(0);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  transition: transform var(--t-spring);
}

.radio-input:checked + .radio-custom {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,86,252,0.12);
}

.radio-input:checked + .radio-custom::after {
  transform: translate(-50%,-50%) scale(1);
}

.radio-input:checked ~ .radio-text {
  font-weight: 600;
  color: var(--navy);
}

.radio-label:has(.radio-input:checked) {
  border-color: var(--blue);
  background: rgba(0,86,252,0.035);
}

.radio-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: color var(--t-fast), font-weight var(--t-fast);
}

/* Grupo monto (condicional) */
.form-group--monto {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: -0.5rem;
  transition:
    max-height 0.38s ease,
    opacity 0.28s ease 0.06s,
    margin-top 0.38s ease;
  pointer-events: none;
}

.form-group--monto.active {
  max-height: 110px;
  opacity: 1;
  margin-top: 0;
  pointer-events: auto;
}

/* Botón submit */
.btn-submit {
  position: relative;
  width: 100%;
  height: 52px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: var(--r-md);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  margin-top: 0.25rem;
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast), opacity var(--t-fast);
  -webkit-tap-highlight-color: transparent;
}

.btn-submit:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 10px 28px rgba(255,91,0,0.32);
}

.btn-submit:active { transform: translateY(0); box-shadow: none; }

.btn-submit:disabled {
  opacity: 0.75;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-submit__text,
.btn-submit__loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  transition: opacity var(--t-base);
}

.btn-submit__loading { opacity: 0; }

.btn-submit.is-loading .btn-submit__text   { opacity: 0; }
.btn-submit.is-loading .btn-submit__loading { opacity: 1; }

.spinner { animation: spin 0.8s linear infinite; }

/* Privacy note */
.form-privacy {
  font-size: 0.73rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

/* ── 8. SECCIONES GENERALES ────────────────────────────────── */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-eyebrow--light { color: rgba(0,86,252,0.6); }

.section-heading {
  font-size: clamp(1.625rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
}

.section-heading--white { color: var(--text-white); }

.section-subheading {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
}

/* ── 9. VALORES ────────────────────────────────────────────── */
.section--values {
  background: var(--bg-surface);
}

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

.value-card {
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.value-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(0,86,252,0.07);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.125rem;
}

.value-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.value-card__text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── 10. METODOLOGÍA ───────────────────────────────────────── */
.section--method { background: var(--bg-white); }

.method-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.method-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  border-radius: var(--r-lg);
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.method-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Colores individuales por paso */
.method-step:nth-child(1) {
  background: #EEF4FF;
  border: 1px solid rgba(0,86,252,0.12);
}

.method-step:nth-child(2) {
  background: #F0F2FA;
  border: 1px solid rgba(1,37,131,0.1);
}

.method-step:nth-child(3) {
  background: #FFF4EE;
  border: 1px solid rgba(255,91,0,0.12);
}

.method-step__number {
  flex-shrink: 0;
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  min-width: 60px;
  padding-top: 2px;
}

.method-step:nth-child(1) .method-step__number { color: rgba(0,86,252,0.22); }
.method-step:nth-child(2) .method-step__number { color: rgba(1,37,131,0.18); }
.method-step:nth-child(3) .method-step__number { color: rgba(255,91,0,0.22); }

.method-step__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin-bottom: 0.5rem;
}

.method-step__text {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ── 11. POR QUÉ GROVEN ────────────────────────────────────── */
.section--why {
  background: linear-gradient(135deg, #010E2F 0%, #012583 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.section--why::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(0,86,252,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.why__description {
  font-size: 0.9375rem;
  color: var(--text-white-70);
  line-height: 1.7;
  max-width: 500px;
  margin: 1.25rem 0 2rem;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.why__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-white-70);
  line-height: 1.5;
}

.why__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(255,91,0,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

/* Metric cards (decorativas) */
.why__visual {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.metric-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.5rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.metric-card--accent {
  background: rgba(0,86,252,0.18);
  border-color: rgba(0,86,252,0.3);
}

.metric-card__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-white-50);
  margin-bottom: 0.375rem;
}

.metric-card__value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
}

/* ── 12. CTA FINAL ─────────────────────────────────────────── */
.section--cta { background: var(--bg-white); }

.cta-inner {
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}

.cta-heading {
  font-size: clamp(1.875rem, 4.5vw, 2.875rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.cta-subtext {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--navy);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: var(--r-md);
  letter-spacing: 0.01em;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
}

.btn-cta:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,86,252,0.28);
}

.btn-cta:active { transform: translateY(0); }

/* ── 13. YOUTUBE ───────────────────────────────────────────── */
.section--youtube {
  background: var(--bg-surface);
}

.youtube-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 900px;
  margin: 0 auto;
}

.youtube-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: var(--shadow-md);
  transition: transform var(--t-base), box-shadow var(--t-base);
  aspect-ratio: 16 / 9;
  position: relative;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.youtube-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: var(--shadow-lg);
}

.youtube-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16,1,0.3,1), opacity var(--t-base);
}

.youtube-card:hover .youtube-card__thumb {
  transform: scale(1.04);
  opacity: 0.85;
}

.youtube-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-base);
}

.youtube-card:hover .youtube-card__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%);
}

.youtube-card__play {
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--t-spring), background var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.youtube-card:hover .youtube-card__play {
  transform: scale(1.12);
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.youtube-card__play svg {
  margin-left: 3px;
}

/* ── 14. FOOTER ────────────────────────────────────────────── */
.footer {
  background: #0a0a0a;
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  text-align: center;
}

.footer__logo {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.125rem;
}

.footer__tagline {
  font-size: 0.78125rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
}

.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
  margin-top: 0.5rem;
}

/* ── 14. PÁGINA GRACIAS ────────────────────────────────────── */
.body--gracias { min-height: 100vh; display: flex; flex-direction: column; }

.gracias-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7rem 1.25rem 4rem;
}

.gracias-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 480px;
  animation: fadeIn 0.6s ease both;
}

/* SVG checkmark animado */
.gracias-icon {
  margin-bottom: 2rem;
}

.checkmark {
  width: 76px;
  height: 76px;
}

.checkmark__circle {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: checkCircle 0.7s ease 0.2s forwards;
}

.checkmark__check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: checkMark 0.5s ease 0.85s forwards;
}

.gracias-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.gracias-heading {
  font-size: clamp(1.625rem, 4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.gracias-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.gracias-subtext {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--bg-border);
  border-radius: var(--r-md);
  transition: color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.btn-back:hover {
  color: var(--navy);
  border-color: rgba(1,37,131,0.3);
  transform: translateY(-1px);
}

/* ── 15. RESPONSIVE ────────────────────────────────────────── */

/* 480px+ */
@media (min-width: 480px) {
  .nav { padding: 1.25rem 2rem; }
  .nav.nav--scrolled { padding: 0.875rem 2rem; }

  .hero { padding: 7rem 0 4.5rem; }

  .form-card { padding: 2.25rem 2rem; }

  .radio-group { flex-direction: row; }
  .radio-label { flex: 1; }
}

/* 768px — Tablet */
@media (min-width: 768px) {
  .nav { padding: 1.25rem 2.5rem; }

  .hero { padding: 8rem 0 5rem; }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .youtube-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
    margin: 0 auto;
  }

  .why-inner {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  .why__visual { flex-direction: column; }
}

/* 1024px — Desktop */
@media (min-width: 1024px) {
  .nav { padding: 1.375rem 3rem; }
  .nav.nav--scrolled { padding: 1rem 3rem; }

  .hero {
    padding: 8.5rem 0 6rem;
    align-items: center;
  }

  .hero__inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
  }

  .hero__text { order: 1; }
  .hero__form-wrap { order: 2; }

  .hero__heading {
    font-size: clamp(2.5rem, 3.5vw, 3.625rem);
  }

  .hero__subheading { font-size: 1.0625rem; }

  .form-card {
    padding: 2.5rem;
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .method-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .method-step {
    flex-direction: column;
    padding: 2rem;
  }

  .method-step__number {
    font-size: 3rem;
    margin-bottom: 1.25rem;
  }

  .youtube-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-inner {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
  }

  .section { padding: 7rem 0; }
  .section--cta { padding: 8rem 0; }
}

/* 1280px — Large desktop */
@media (min-width: 1280px) {
  .container { padding: 0 32px; }

  .hero__inner { gap: 6rem; }

  .form-card { padding: 2.75rem; }
}

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

  [data-animate] {
    opacity: 1;
    transform: none;
  }
}

:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}
