/* =========================================================
   HANGAR CREATIVO — v2 (Stripe × Linear direction)
   ========================================================= */

/* -------- Reset / Base -------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }

/* -------- Tokens — Hangar Creativo brand palette -------- */
:root {
  /* Brand palette (from official brandbook) */
  --aubergine: #210C1F;   /* texto oscuro / fondos profundos */
  --morado:    #9A3A93;   /* morado secundario */
  --magenta:   #DA5CD0;   /* magenta vibrante (rosa del logo) */
  --lavanda:   #C7A9FB;   /* lavanda pastel */
  --navy:      #001C3F;   /* navy profundo */
  --azul-mid:  #3480DB;   /* azul medio (azul del logo) */
  --azul-vivo: #4E9DFB;   /* azul vibrante */
  --azul-claro:#95C5FF;   /* azul pastel */

  /* Surfaces */
  --bg: #FAF7FB;          /* blanco con tinte muy ligero lavanda */
  --bg-alt: #F1ECF3;      /* fondo alterno con tinte rosa pastel */
  --surface: #FFFFFF;
  --border: #ECE2EE;
  --border-strong: #D9CAE0;

  /* Text */
  --text: var(--aubergine);
  --text-muted: #5C4A5C;
  --text-soft: #847385;

  /* Accent shortcuts (semantic) */
  --accent: var(--magenta);          /* color principal */
  --accent-dark: var(--morado);
  --accent-blue: var(--azul-mid);

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
  --space-7: 6rem;
  --space-8: 8rem;

  /* Radius */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Layout */
  --container: 1200px;

  /* Type — Plus Jakarta Sans is the official brand font */
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* -------- Base typography -------- */
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--text);
  text-wrap: balance; /* Equilibra automáticamente las líneas */
}

h1 {
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.12;
}
h2 {
  font-size: clamp(1.625rem, 2.8vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1.18;
}
h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }

p { color: var(--text-muted); }

.highlight {
  /* Gradient brand: magenta → morado → azul (same as logo) */
  background: linear-gradient(120deg, var(--magenta) 0%, var(--morado) 50%, var(--azul-mid) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: inherit;
}

/* Tag / eyebrow — brand-colored section marker */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(218, 92, 208, 0.14) 0%, rgba(52, 128, 219, 0.14) 100%);
  color: var(--morado);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-family: var(--font);
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  border: 1px solid rgba(154, 58, 147, 0.28);
  box-shadow:
    0 4px 14px -6px rgba(154, 58, 147, 0.22),
    0 0 0 4px rgba(218, 92, 208, 0.04);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 0 3px rgba(218, 92, 208, 0.22), 0 0 12px rgba(218, 92, 208, 0.85);
  animation: eyebrowPulse 2.4s ease-in-out infinite;
}
@keyframes eyebrowPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(218, 92, 208, 0.22), 0 0 12px rgba(218, 92, 208, 0.85); }
  50%      { box-shadow: 0 0 0 6px rgba(218, 92, 208, 0.12), 0 0 16px rgba(218, 92, 208, 1); }
}

/* Section header with eyebrow gets extra spacing accent */
.section-header .eyebrow {
  margin-bottom: var(--space-3);
}

/* -------- Layout helpers -------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-5);
}
.section-header .eyebrow { margin-bottom: var(--space-3); }
.section-header h2 { margin-bottom: var(--space-2); }
.section-header p:not(.eyebrow) { color: var(--text-muted); font-size: 1.0625rem; }

/* -------- Buttons -------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  /* Brand gradient: magenta → morado → azul medio */
  background: linear-gradient(135deg, var(--magenta) 0%, var(--morado) 55%, var(--azul-mid) 100%);
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.25) inset,
    0 0 0 1px rgba(154, 58, 147, 0.4),
    0 8px 24px -10px rgba(154, 58, 147, 0.55);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.3) inset,
    0 0 0 1px rgba(154, 58, 147, 0.5),
    0 14px 30px -12px rgba(218, 92, 208, 0.6);
  filter: brightness(1.06);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover {
  background: var(--surface);
  border-color: var(--text-soft);
}
.btn-sm { padding: 0.55rem 1rem; font-size: 0.875rem; border-radius: 8px; }
.btn-lg { padding: 0.95rem 1.8rem; font-size: 1rem; border-radius: 12px; }

/* ========================================================
   HEADER
   ======================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 251, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  transition: transform 0.28s ease, box-shadow 0.2s ease;
  will-change: transform;
}
/* Hide-on-scroll-down behavior */
.site-header.is-hidden {
  transform: translateY(-100%);
}
.site-header.is-scrolled {
  box-shadow: 0 4px 14px -10px rgba(33, 12, 31, 0.15);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
}
.logo-img {
  height: 32px;
  width: auto;
  display: block;
}

.site-nav ul {
  display: flex;
  gap: var(--space-4);
}
.site-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--text); }

.nav-toggle {
  display: none;
  width: 38px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ========================================================
   HERO — Stripe-style with gradient mesh
   ======================================================== */
.hero {
  position: relative;
  padding: var(--space-7) 0 var(--space-7);
  overflow: hidden;
}
.hero::before {
  /* Brand gradient mesh: magenta + lavanda + azul */
  content: "";
  position: absolute;
  inset: -10% -5%;
  z-index: 0;
  background:
    radial-gradient(60% 50% at 18% 30%, rgba(218, 92, 208, 0.22) 0%, transparent 60%),
    radial-gradient(50% 40% at 80% 20%, rgba(199, 169, 251, 0.22) 0%, transparent 60%),
    radial-gradient(45% 35% at 75% 75%, rgba(52, 128, 219, 0.18) 0%, transparent 60%),
    radial-gradient(50% 35% at 30% 80%, rgba(149, 197, 255, 0.20) 0%, transparent 60%);
  filter: blur(8px);
  opacity: 0.95;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--space-6);
  align-items: center;
}
.hero-title { margin-bottom: var(--space-3); }
.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
  max-width: 540px;
  line-height: 1.55;
}
.hero-ctas {
  display: inline-flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}
.hero-note {
  margin-top: var(--space-3);
  font-size: 0.8125rem;
  color: var(--text-soft);
  font-family: var(--font-mono);
}
.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 5 / 4;
  background: #14142B;
  box-shadow:
    0 1px 0 rgba(255,255,255,0.05) inset,
    0 20px 60px -20px rgba(20, 20, 43, 0.35),
    0 0 0 1px var(--border);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20, 20, 43, 0.5) 100%);
  pointer-events: none;
}
/* Floating "live" badge over hero image */
.hero-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(10, 10, 15, 0.75);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #FF3D5C;
  box-shadow: 0 0 8px rgba(255, 61, 92, 0.7);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

/* ========================================================
   LOGOS
   ======================================================== */
.logos { padding: var(--space-5) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); position: relative; z-index: 1; background: var(--bg); }
.logos-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: var(--space-3);
  text-align: center;
}
.logos-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}
.logo-placeholder {
  height: 28px;
  background: linear-gradient(90deg, transparent 0%, rgba(10,10,15,0.08) 50%, transparent 100%);
  border-radius: 4px;
  position: relative;
}
.logo-placeholder::after {
  content: "LOGO";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  color: var(--text-soft);
  letter-spacing: 0.15em;
}

/* ========================================================
   PROBLEMA
   ======================================================== */
.problem { padding: var(--space-7) 0 var(--space-6); }
.problem-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--space-6);
  align-items: center;
  margin-bottom: var(--space-5);
}
.problem-card-bg {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  position: relative;
  background: #14142B;
  box-shadow:
    0 20px 60px -20px rgba(20, 20, 43, 0.3),
    0 0 0 1px var(--border);
}
.problem-card-bg img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.problem-content h2 { margin-bottom: var(--space-3); }
.problem-content p {
  font-size: 1.0625rem;
  margin-bottom: var(--space-2);
  line-height: 1.65;
}
.problem-emphasis {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 760px;
  margin: var(--space-6) auto 0;
  line-height: 1.5;
  padding: var(--space-2) 0 var(--space-2) var(--space-4);
  border-left: 3px solid;
  border-image: linear-gradient(180deg, #635BFF 0%, #F472B6 100%) 1;
  letter-spacing: -0.015em;
}
.problem-emphasis strong { color: var(--text); font-weight: 600; }

/* ========================================================
   BENEFICIOS — Bento grid (Linear-style)
   ======================================================== */
.benefits { padding: var(--space-7) 0; }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.benefit-card::before {
  /* Top accent gradient bar — uses brand palette across the 4 cards */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--magenta) 0%, var(--lavanda) 100%);
}
.benefit-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--morado) 0%, var(--magenta) 100%);
}
.benefit-card:nth-child(3)::before {
  background: linear-gradient(90deg, var(--azul-mid) 0%, var(--azul-vivo) 100%);
}
.benefit-card:nth-child(4)::before {
  background: linear-gradient(90deg, var(--azul-vivo) 0%, var(--azul-claro) 100%);
}
.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(10, 10, 15, 0.1);
  border-color: var(--border-strong);
}
.benefit-card h3 { font-size: 1.0625rem; margin-bottom: 0.25rem; }
.benefit-card p { font-size: 0.9375rem; line-height: 1.55; }

.benefits-footer {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
  color: var(--text-muted);
  font-size: 1.0625rem;
}
.benefits-footer strong { color: var(--text); font-weight: 600; }

/* ========================================================
   SERVICIOS (6 pasos) — Stripe-style 3 cols
   ======================================================== */
.services { padding: var(--space-7) 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -16px rgba(10,10,15,0.08);
}
.service-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.75rem;
  background: linear-gradient(120deg, var(--magenta) 0%, var(--morado) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.service-card h3 { padding-right: 0; }
.service-card p { font-size: 0.9375rem; line-height: 1.6; }

/* ========================================================
   PROCESO TIMELINE — Linear-style vertical
   ======================================================== */
.process { padding: var(--space-7) 0; }
.process-list {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding-left: 0;
}
.process-list::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: linear-gradient(180deg, var(--magenta) 0%, var(--morado) 50%, rgba(52, 128, 219, 0.2) 100%);
  border-radius: 2px;
}
.process-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-3) 0;
  position: relative;
}
.process-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--magenta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--magenta);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg), 0 6px 20px -8px rgba(218, 92, 208, 0.45);
}
.process-list h3 { margin-bottom: 4px; padding-top: 0.5rem; }
.process-list p { font-size: 0.9375rem; line-height: 1.6; }

/* ========================================================
   ENCAJA / NO ENCAJA — Glass cards
   ======================================================== */
.fit { padding: var(--space-7) 0; }
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.fit-card {
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  min-height: 380px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}
.fit-yes {
  /* "Encaja contigo si..." → azul (lado positivo de la paleta) */
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(78, 157, 251, 0.20) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FAFD 100%);
}
.fit-no {
  /* "No es para ti..." → magenta/morado (lado descarte) */
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(218, 92, 208, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #FCF8FB 100%);
}
.fit-card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.fit-yes h3::before {
  content: "✓";
  display: inline-flex;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--azul-vivo) 0%, var(--azul-mid) 100%);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.fit-no h3::before {
  content: "✕";
  display: inline-flex;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--morado) 100%);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.fit-card ul { display: flex; flex-direction: column; gap: var(--space-2); }
.fit-card li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.fit-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--text-soft);
}

/* ========================================================
   VISIÓN DE NEGOCIO
   ======================================================== */
.vision { padding: var(--space-7) 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.vision-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--border);
}
.vision-card h3 { margin-bottom: var(--space-2); font-size: 1.0625rem; }
.vision-card p { font-size: 0.9375rem; line-height: 1.6; }

/* ========================================================
   CTA FINAL
   ======================================================== */
.cta-final {
  padding: var(--space-7) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final .eyebrow {
  /* Force pill to center under text-align center container */
  display: inline-flex;
}
.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 50% at 50% 50%, rgba(218, 92, 208, 0.14) 0%, transparent 70%),
    radial-gradient(40% 40% at 30% 30%, rgba(199, 169, 251, 0.16) 0%, transparent 70%),
    radial-gradient(40% 40% at 70% 70%, rgba(52, 128, 219, 0.12) 0%, transparent 70%);
  z-index: 0;
}
.cta-final > .container { position: relative; z-index: 1; }
.cta-final h2 { margin-bottom: var(--space-3); }
.cta-sub { max-width: 540px; margin: 0 auto var(--space-4); font-size: 1.0625rem; }
.cta-note { margin-top: var(--space-3); font-size: 0.8125rem; color: var(--text-soft); font-family: var(--font-mono); }

/* ========================================================
   FOOTER
   ======================================================== */
.site-footer { padding: var(--space-4) 0; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}
.footer-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; letter-spacing: 0.02em; font-weight: 700; }
.footer-icon { height: 26px; width: auto; display: block; }
.footer-copy { font-size: 0.75rem; color: var(--text-soft); font-family: var(--font-mono); }

/* ========================================================
   THANK YOU PAGE (/llamadaagendada)
   ======================================================== */
.thank-you {
  padding: var(--space-7) 0;
  position: relative;
  overflow: hidden;
  min-height: 70vh;
}
.thank-you::before {
  content: "";
  position: absolute;
  inset: -10% -5%;
  z-index: 0;
  background:
    radial-gradient(50% 40% at 20% 20%, rgba(218, 92, 208, 0.20) 0%, transparent 60%),
    radial-gradient(50% 40% at 80% 30%, rgba(199, 169, 251, 0.20) 0%, transparent 60%),
    radial-gradient(45% 35% at 50% 100%, rgba(52, 128, 219, 0.18) 0%, transparent 60%);
  filter: blur(10px);
  opacity: 0.95;
  pointer-events: none;
}
.thank-you-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  text-align: center;
}

.ty-hero { margin-bottom: var(--space-5); }
.ty-success-icon {
  width: 72px; height: 72px;
  margin: 0 auto var(--space-3);
  filter: drop-shadow(0 10px 24px rgba(218, 92, 208, 0.35));
  animation: tyPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.ty-success-icon svg { width: 100%; height: 100%; }
@keyframes tyPop {
  from { opacity: 0; transform: scale(0.4); }
  to   { opacity: 1; transform: scale(1); }
}
.ty-hero .eyebrow {
  display: inline-flex;
  margin-bottom: var(--space-2);
}
.ty-hero h1 {
  margin-bottom: var(--space-2);
  text-wrap: balance;
}
.ty-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* Booking card */
.booking-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin: var(--space-5) 0;
  text-align: left;
  box-shadow: 0 20px 40px -24px rgba(33, 12, 31, 0.12);
  position: relative;
  overflow: hidden;
}
.booking-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--magenta), var(--morado), var(--azul-mid));
}
.booking-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-soft);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}
.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.booking-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.booking-label {
  font-size: 0.8125rem;
  color: var(--text-soft);
}
.booking-item strong {
  font-size: 1.0625rem;
  color: var(--text);
  font-weight: 600;
}

/* Email notice */
.ty-info-card {
  background: linear-gradient(135deg, rgba(218, 92, 208, 0.06), rgba(52, 128, 219, 0.06));
  border: 1px solid rgba(154, 58, 147, 0.18);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-4);
  text-align: left;
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  margin-bottom: var(--space-5);
}
.ty-info-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }
.ty-info-card strong { display: block; color: var(--text); margin-bottom: 4px; }
.ty-info-card p { font-size: 0.9375rem; line-height: 1.55; margin: 0; }

/* Actions */
.ty-actions {
  display: inline-flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.ty-note {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-soft);
  margin-top: var(--space-3);
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .booking-grid { grid-template-columns: 1fr; }
  .ty-info-card { flex-direction: column; gap: var(--space-2); }
  .ty-actions { display: flex; flex-direction: column; width: 100%; }
  .ty-actions .btn { width: 100%; justify-content: center; }
}

/* ========================================================
   SCROLL ANIMATIONS
   ======================================================== */
@media (prefers-reduced-motion: no-preference) {
  .benefit-card, .service-card, .vision-card, .fit-card, .process-list li, .problem-content > *, .hero-content > * {
    animation: fadeUp 0.7s ease-out both;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* ========================================================
   RESPONSIVE — Tablet
   ======================================================== */
@media (max-width: 960px) {
  .hero-inner,
  .problem-inner { grid-template-columns: 1fr; gap: var(--space-5); }
  .hero-visual, .problem-card-bg { max-width: 480px; margin: 0 auto; width: 100%; aspect-ratio: 4/3; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .fit-grid, .vision-grid { grid-template-columns: 1fr; }
}

/* ========================================================
   RESPONSIVE — Mobile
   ======================================================== */
@media (max-width: 640px) {
  :root { --space-7: 4rem; --space-6: 2.5rem; }

  .site-nav, .site-header .btn { display: none; }
  .nav-toggle { display: flex; }
  .site-nav.is-open { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: var(--space-3); border-bottom: 1px solid var(--border); }
  .site-nav.is-open ul { flex-direction: column; gap: var(--space-2); }

  .hero { padding: var(--space-5) 0; }
  .benefits-grid, .services-grid { grid-template-columns: 1fr; }
  .fit-card, .vision-card { padding: var(--space-4); }
  .process-list::before { left: 19px; }
  .process-num { width: 40px; height: 40px; font-size: 0.8125rem; }
  .process-list li { grid-template-columns: 40px 1fr; }
}
