/* ============================================================
   LANDING-V02 — main.css
   Paleta: Orange-500 + Pink-500 + Slate
   Tipografía: System UI
   Estética: art-v01 (rounded-3xl, backdrop-blur, dot pattern)
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand colors */
  --color-orange:        #f97316;
  --color-orange-dark:   #ea6a0a;
  --color-orange-light:  #fff7ed;
  --color-orange-100:    #ffedd5;
  --color-pink:          #ec4899;
  --color-pink-dark:     #db2777;
  --color-pink-light:    #fdf2f8;

  /* Gradient */
  --gradient-brand:      linear-gradient(135deg, #f97316 0%, #ec4899 100%);
  --gradient-brand-soft: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 100%);
  --gradient-hero-bg:    linear-gradient(135deg, #f97316 0%, #ec4899 60%, #a855f7 100%);

  /* Slate palette */
  --color-slate-900:     #0f172a;
  --color-slate-800:     #1e293b;
  --color-slate-700:     #334155;
  --color-slate-600:     #475569;
  --color-slate-500:     #64748b;
  --color-slate-400:     #94a3b8;
  --color-slate-200:     #e2e8f0;
  --color-slate-100:     #f1f5f9;
  --color-slate-50:      #f8fafc;
  --color-white:         #ffffff;

  /* Semantic */
  --color-bg:            var(--color-slate-50);
  --color-surface:       var(--color-white);
  --color-text:          var(--color-slate-900);
  --color-text-muted:    var(--color-slate-600);  /* ~5.7:1 on white */
  --color-text-light:    var(--color-slate-500);  /* ~4.6:1 on white */
  --color-border:        var(--color-slate-200);

  /* Typography */
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Scale */
  --text-xs:    0.75rem;
  --text-sm:    0.875rem;
  --text-base:  1rem;
  --text-lg:    1.125rem;
  --text-xl:    1.25rem;
  --text-2xl:   1.5rem;
  --text-3xl:   1.875rem;
  --text-4xl:   2.25rem;
  --text-5xl:   3rem;
  --text-6xl:   3.75rem;

  /* Weight */
  --font-normal:    400;
  --font-medium:    500;
  --font-semibold:  600;
  --font-bold:      700;
  --font-extrabold: 800;

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-5:   1.25rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Radii */
  --radius-sm:   0.375rem;
  --radius-md:   0.5rem;
  --radius-lg:   0.75rem;
  --radius-xl:   1rem;
  --radius-2xl:  1.5rem;
  --radius-3xl:  1.875rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:  0 1px 2px rgba(0,0,0,.06);
  --shadow-md:  0 4px 12px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 30px rgba(0,0,0,.12);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.14);
  --shadow-orange: 0 8px 30px rgba(249,115,22,.3);
  --shadow-pink:   0 8px 30px rgba(236,72,153,.25);

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   250ms ease;
  --transition-slow:   350ms ease;

  /* Layout */
  --nav-height:    72px;
  --max-width:     1200px;
  --section-py:    var(--space-24);
}

/* scroll offset for fixed nav */
html {
  scroll-padding-top: calc(var(--nav-height) + 16px);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: var(--font-normal);
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

::selection {
  background: var(--color-orange);
  color: var(--color-white);
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.text-xs    { font-size: var(--text-xs); }
.text-sm    { font-size: var(--text-sm); }
.text-base  { font-size: var(--text-base); }
.text-lg    { font-size: var(--text-lg); }
.text-xl    { font-size: var(--text-xl); }
.text-2xl   { font-size: var(--text-2xl); }
.text-3xl   { font-size: var(--text-3xl); }
.text-4xl   { font-size: var(--text-4xl); }
.text-5xl   { font-size: var(--text-5xl); }
.text-6xl   { font-size: var(--text-6xl); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--section-py) 0;
}

.section--alt {
  background-color: var(--color-surface);
}

.section--dark {
  background: var(--gradient-hero-bg);
  color: var(--color-white);
}

.section-header {
  margin-bottom: var(--space-16);
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-3);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  line-height: 1.15;
  color: var(--color-slate-900);
  margin-bottom: var(--space-4);
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   COMPONENTS — BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  line-height: 1;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  box-shadow: 0 12px 40px rgba(249,115,22,.4);
}

.btn-secondary {
  background: var(--color-surface);
  color: var(--color-slate-700);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-slate-100);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,.5);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.9);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: var(--text-lg);
}

/* ============================================================
   COMPONENTS — NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(248,250,252,.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,.6);
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.navbar.scrolled {
  background: rgba(255,255,255,.92);
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.navbar-brand-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.navbar-brand-icon svg {
  width: 100%;
  height: 100%;
}

.navbar-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.navbar-brand-name {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-slate-900);
  line-height: 1.2;
}

.navbar-brand-sub {
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-10);
}

.navbar-links a {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-slate-700);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.navbar-links a:hover {
  color: var(--color-orange);
}

.navbar-btn {
  padding: 0.625rem 1.5rem !important;
  font-size: var(--text-sm) !important;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-slate-700);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-6);
  z-index: 999;
  flex-direction: column;
  gap: var(--space-4);
  box-shadow: var(--shadow-lg);
}

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

.mobile-nav a {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  color: var(--color-slate-700);
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover { color: var(--color-orange); }
.mobile-nav a:last-child { border-bottom: none; }

/* ============================================================
   COMPONENTS — BADGE PILL
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
}

.badge-gradient {
  background: var(--gradient-brand-soft);
  border: 1px solid rgba(249,115,22,.2);
  color: var(--color-orange-dark);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
}

/* ============================================================
   COMPONENTS — CARDS
   ============================================================ */
.card {
  background: var(--color-surface);
  border-radius: var(--radius-3xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-2xl);
  margin-bottom: var(--space-5);
  background: var(--gradient-brand-soft);
}

/* ============================================================
   SECTION: HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-hero-bg);
  padding-top: var(--nav-height);
}

/* Dot pattern background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.15) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Glow blobs */
.hero-blob-1 {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  top: -200px;
  right: -100px;
  filter: blur(60px);
  pointer-events: none;
}

.hero-blob-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(168,85,247,.2);
  bottom: -100px;
  left: -50px;
  filter: blur(60px);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  padding: var(--space-20) 0;
}

.hero-content { color: var(--color-white); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: rgba(255,255,255,.9);
  margin-bottom: var(--space-6);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #86efac;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(134,239,172,.3);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: var(--font-extrabold);
  line-height: 1.08;
  color: var(--color-white);
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: var(--text-xl);
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  margin-bottom: var(--space-10);
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* Hero image area */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-image-wrapper {
  position: relative;
  width: 575px;
  max-width: 100%;
  /* padding creates safe zone for the stat cards on each side */
  padding: 50px 20px 60px 20px;
}

.hero-image-bg {
  position: absolute;
  /* inset matches the padding area where the image sits */
  top: 50px;
  left: 20px;
  right: 20px;
  bottom: 60px;
  background: rgba(255,255,255,.12);
  border-radius: var(--radius-3xl);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.2);
}

.hero-image {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius-3xl);
  animation: float 6s ease-in-out infinite;
}

.hero-stat-card {
  position: absolute;
  background: rgba(255,255,255,.97);
  border-radius: var(--radius-2xl);
  padding: var(--space-3) var(--space-4);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10;
  min-width: 160px;
}

/* Top-left: sits on the top-left corner of the image */
.hero-stat-card--tl {
  top: 15px;
  left: 0;
}

/* Bottom-right: sits on the bottom-right corner of the image */
.hero-stat-card--br {
  bottom: 15px;
  right: 0;
}

.hero-stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-lg);
  background: var(--gradient-brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  flex-shrink: 0;
}

.hero-stat-text strong {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-bold);
  color: var(--color-slate-900);
  line-height: 1.3;
}

.hero-stat-text span {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

/* ============================================================
   SECTION: PROBLEMA
   ============================================================ */
.problema-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.problema-card {
  background: var(--color-surface);
  border-radius: var(--radius-3xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.problema-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-5);
}

.problema-icon--1 { background: #fff7ed; }
.problema-icon--2 { background: #fdf2f8; }
.problema-icon--3 { background: #f5f3ff; }

.problema-card h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-slate-900);
  margin-bottom: var(--space-3);
}

.problema-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Quote + image split layout */
.problema-quote-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.problema-quote-text {
  background: var(--gradient-brand);
  padding: var(--space-12);
  display: flex;
  align-items: center;
  color: var(--color-white);
}

.problema-quote-text blockquote {
  font-size: var(--text-2xl);
  font-weight: var(--font-semibold);
  line-height: 1.55;
  font-style: italic;
}

.problema-quote-image {
  overflow: hidden;
  max-height: 360px;
}

.problema-quote-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* ============================================================
   SECTION: PROCESO
   ============================================================ */
.proceso-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
  position: relative;
}

/* Horizontal connector */
.proceso-steps::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
  z-index: 0;
}

.proceso-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.proceso-step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: var(--color-white);
  font-size: var(--text-2xl);
  font-weight: var(--font-extrabold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-5);
  box-shadow: var(--shadow-orange);
  position: relative;
}

.proceso-step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(249,115,22,.25);
}

.proceso-step h3 {
  font-size: var(--text-lg);
  font-weight: var(--font-bold);
  color: var(--color-slate-900);
  margin-bottom: var(--space-3);
}

.proceso-step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Session image banner between steps and includes */
.proceso-image-banner {
  position: relative;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  margin-bottom: var(--space-8);
  max-height: 320px;
  box-shadow: var(--shadow-md);
}

.proceso-image-banner img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.proceso-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(15,23,42,.7) 0%, transparent 100%);
  padding: var(--space-6) var(--space-8) var(--space-5);
  display: flex;
  align-items: center;
}

.proceso-image-caption span {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: rgba(255,255,255,.9);
}

/* Includes block */
.proceso-includes {
  background: var(--gradient-brand-soft);
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(249,115,22,.15);
  overflow: hidden;
}

.proceso-includes-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: stretch;
}

.proceso-includes-body {
  padding: var(--space-10) var(--space-12);
}

.proceso-includes h3 {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-slate-900);
  margin-bottom: var(--space-6);
}

.proceso-includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
}

.proceso-includes-image {
  width: 260px;
  overflow: hidden;
  flex-shrink: 0;
}

.proceso-includes-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.proceso-include-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.proceso-include-item::before {
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gradient-brand);
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

/* ============================================================
   SECTION: PROGRAMAS
   ============================================================ */
.programas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.programa-card {
  background: var(--color-surface);
  border-radius: var(--radius-3xl);
  padding: var(--space-8);
  border: 2px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.programa-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.programa-card--featured {
  background: var(--gradient-brand);
  border-color: transparent;
  color: var(--color-white);
  position: relative;
  transform: scale(1.03);
}

.programa-card--featured:hover {
  transform: scale(1.03) translateY(-6px);
  box-shadow: 0 24px 60px rgba(249,115,22,.4);
}

.programa-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.4);
  border-radius: var(--radius-full);
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  color: var(--color-white);
  margin-bottom: var(--space-5);
  width: fit-content;
}

.programa-name {
  font-size: var(--text-2xl);
  font-weight: var(--font-bold);
  color: var(--color-slate-900);
  margin-bottom: var(--space-2);
}

.programa-card--featured .programa-name { color: var(--color-white); }

.programa-sessions {
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  margin-bottom: var(--space-4);
}

.programa-sessions { color: var(--color-text-light); }
.programa-card--featured .programa-sessions { color: rgba(255,255,255,.75); }

.programa-price {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--color-slate-900);
  margin-bottom: var(--space-2);
  line-height: 1;
}

.programa-card--featured .programa-price { color: var(--color-white); }

.programa-saving {
  font-size: var(--text-xs);
  margin-bottom: var(--space-6);
}

.programa-saving { color: var(--color-text-light); }
.programa-card--featured .programa-saving { color: rgba(255,255,255,.7); }

.programa-description {
  font-size: var(--text-base);
  line-height: 1.65;
  margin-bottom: var(--space-6);
  flex-grow: 0;
}

.programa-description { color: var(--color-text-muted); }
.programa-card--featured .programa-description { color: rgba(255,255,255,.85); }

.programa-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: var(--space-6);
}

.programa-card--featured .programa-divider { background: rgba(255,255,255,.25); }

.programa-features {
  flex-grow: 1;
  margin-bottom: var(--space-8);
}

.programa-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  margin-bottom: var(--space-3);
}

.programa-features li { color: var(--color-text-muted); }
.programa-card--featured .programa-features li { color: rgba(255,255,255,.85); }

.programa-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 10px;
}

.programa-check { background: var(--color-orange-100); color: var(--color-orange-dark); }
.programa-card--featured .programa-check { background: rgba(255,255,255,.25); color: var(--color-white); }

.programa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  text-align: center;
}

.programa-btn:hover { transform: translateY(-2px); }

.programa-btn--default {
  background: var(--gradient-brand);
  color: var(--color-white);
  box-shadow: var(--shadow-orange);
}

.programa-btn--default:hover { box-shadow: 0 12px 40px rgba(249,115,22,.4); }

.programa-btn--white {
  background: var(--color-white);
  color: var(--color-orange);
  box-shadow: var(--shadow-md);
}

.programa-btn--white:hover { box-shadow: var(--shadow-lg); }

/* ============================================================
   SECTION: QUIÉN SOY
   ============================================================ */
.quien-soy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.quien-soy-image-wrapper {
  position: relative;
  /* bottom padding to leave room for the 3 polaroid cards */
  padding-bottom: 90px;
  padding-right: 10px;
}

.quien-soy-image-bg {
  position: absolute;
  top: 20px;
  left: -20px;
  right: 10px;
  bottom: 90px;
  background: var(--gradient-brand-soft);
  border-radius: var(--radius-3xl);
  border: 2px solid rgba(249,115,22,.15);
}

.quien-soy-image {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  border-radius: var(--radius-3xl);
  animation: float 7s ease-in-out infinite;
  box-shadow: var(--shadow-xl);
}

/* Polaroid strip — 3 photos at the bottom of the image */
.quien-soy-polaroids {
  position: absolute;
  bottom: 0;
  left: -10px;
  right: 10px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: var(--space-3);
  z-index: 10;
}

.quien-soy-polaroid {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 7px 7px 26px;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  cursor: default;
}

.quien-soy-polaroid:hover {
  transform: rotate(0deg) scale(1.08) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
  z-index: 20;
}

.quien-soy-polaroid--left  { transform: rotate(-4deg) translateY(10px); }
.quien-soy-polaroid--center { transform: rotate(1deg); }
.quien-soy-polaroid--right  { transform: rotate(5deg) translateY(14px); }

.quien-soy-polaroid img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 2px);
  display: block;
}

.quien-soy-family-label {
  text-align: center;
  font-size: 10px;
  font-weight: var(--font-medium);
  color: var(--color-slate-500);
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
}

/* Interest pills */
.quien-soy-interests {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
  margin-bottom: var(--space-6);
}

.quien-soy-interest {
  background: var(--gradient-brand-soft);
  border: 1px solid rgba(249,115,22,.2);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-sm);
  font-weight: var(--font-medium);
  color: var(--color-slate-700);
  white-space: nowrap;
}

.quien-soy-content {}

.quien-soy-subtitle {
  font-size: var(--text-base);
  font-weight: var(--font-medium);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-6);
}

.quien-soy-title {
  font-size: var(--text-4xl);
  font-weight: var(--font-extrabold);
  color: var(--color-slate-900);
  margin-bottom: var(--space-6);
  line-height: 1.15;
}

.quien-soy-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: var(--space-4);
}

.quien-soy-quote {
  background: var(--gradient-brand);
  border-radius: var(--radius-2xl);
  padding: var(--space-6) var(--space-8);
  margin-top: var(--space-6);
  color: var(--color-white);
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  font-style: italic;
  line-height: 1.5;
}

/* ============================================================
   SECTION: TESTIMONIOS
   ============================================================ */
#testimonios { display: none; }

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.testimonio-card {
  background: var(--color-surface);
  border-radius: var(--radius-3xl);
  padding: var(--space-8);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.testimonio-quote-icon {
  font-size: var(--text-4xl);
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-4);
}

.testimonio-text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
  font-style: italic;
}

.testimonio-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonio-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: var(--font-bold);
  font-size: var(--text-base);
  flex-shrink: 0;
}

.testimonio-name {
  font-weight: var(--font-semibold);
  color: var(--color-slate-900);
  font-size: var(--text-sm);
}

.testimonio-meta {
  font-size: var(--text-xs);
  color: var(--color-text-light);
}

/* ============================================================
   SECTION: FAQ
   ============================================================ */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-6) 0;
  text-align: left;
  font-size: var(--text-lg);
  font-weight: var(--font-semibold);
  color: var(--color-slate-900);
  transition: color var(--transition-fast);
}

.faq-btn:hover {
  color: var(--color-orange);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gradient-brand-soft);
  border: 1px solid rgba(249,115,22,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.faq-btn.open .faq-icon {
  background: var(--gradient-brand);
  transform: rotate(45deg);
}

.faq-icon svg {
  width: 16px;
  height: 16px;
  transition: color var(--transition-fast);
}

.faq-icon svg path { transition: stroke var(--transition-fast); }
.faq-btn.open .faq-icon svg path { stroke: white; }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer.open {
  max-height: 2000px;
}

.faq-answer-inner {
  padding-bottom: var(--space-6);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.75;
}

/* ============================================================
   SECTION: CTA FINAL
   ============================================================ */
.cta-final {
  background: var(--gradient-hero-bg);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.12) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.cta-final-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  padding: var(--space-32) 0;
}

.cta-final-title {
  font-size: var(--text-5xl);
  font-weight: var(--font-extrabold);
  margin-bottom: var(--space-4);
  line-height: 1.1;
}

.cta-final-subtitle {
  font-size: var(--text-xl);
  color: rgba(255,255,255,.85);
  margin-bottom: var(--space-10);
}

.cta-final-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.cta-final-contact {
  font-size: var(--text-base);
  color: rgba(255,255,255,.75);
}

.cta-final-note {
  font-size: var(--text-sm);
  color: rgba(255,255,255,.6);
  margin-top: var(--space-2);
}

/* ============================================================
   SECTION: FOOTER
   ============================================================ */
.footer {
  background: var(--color-slate-900);
  color: var(--color-slate-400);
  padding: var(--space-16) 0 var(--space-10);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand-name {
  font-size: var(--text-xl);
  font-weight: var(--font-bold);
  color: var(--color-white);
  margin-bottom: var(--space-2);
}

.footer-tagline {
  font-size: var(--text-sm);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: var(--font-medium);
  margin-bottom: var(--space-4);
}

.footer-description {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-slate-400);
}

.footer-col-title {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-5);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-links a {
  font-size: var(--text-sm);
  color: var(--color-slate-400);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  border-top: 1px solid var(--color-slate-800);
  padding-top: var(--space-8);
  font-size: var(--text-sm);
  color: var(--color-slate-500);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-18px); }
}

/* Fade-in on scroll */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE — TABLET (≤1023px)
   ============================================================ */
@media (max-width: 1023px) {
  :root {
    --section-py: var(--space-20);
  }

  .navbar-links { display: none; }
  .navbar-cta .btn { display: none; }

  .mobile-menu-btn { display: flex; }

  .navbar-cta .btn-primary { display: inline-flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
  }

  .hero-title { font-size: var(--text-5xl); }

  .hero-subtitle { margin: 0 auto var(--space-10); }

  .hero-actions { justify-content: center; }

  .hero-visual { order: -1; }

  .hero-image-wrapper { width: 360px; padding: 40px 16px 50px 16px; }
  .hero-image-bg { top: 40px; left: 16px; right: 16px; bottom: 50px; }

  .hero-stat-card--tl { top: -10px; left: -10px; }
  .hero-stat-card--br { bottom: 10px; right: -10px; }

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

  .proceso-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
  }

  .proceso-steps::before { display: none; }

  .proceso-includes-grid { grid-template-columns: 1fr; }

  .programas-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

  .programa-card--featured { transform: scale(1); }
  .programa-card--featured:hover { transform: translateY(-6px); }

  .quien-soy-inner {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .quien-soy-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤767px)
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --section-py: var(--space-16);
  }

  .container { padding: 0 var(--space-4); }

  .section-title { font-size: var(--text-3xl); }

  .section-subtitle { font-size: var(--text-base); }

  .hero-title { font-size: var(--text-4xl); }

  .hero-subtitle { font-size: var(--text-lg); }

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

  .problema-quote { padding: var(--space-8) var(--space-6); }
  .problema-quote blockquote { font-size: var(--text-xl); }

  .proceso-steps { grid-template-columns: 1fr; }

  .proceso-includes-inner { grid-template-columns: 1fr; }
  .proceso-includes-image { display: none; }
  .proceso-includes-body { padding: var(--space-8) var(--space-6); }
  .problema-quote-split { grid-template-columns: 1fr; }
  .problema-quote-image { max-height: 220px; }

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

  .cta-final-title { font-size: var(--text-3xl); }
  .cta-final-subtitle { font-size: var(--text-lg); }
  .cta-final-inner { padding: var(--space-24) 0; }

  .footer-inner { grid-template-columns: 1fr; gap: var(--space-8); }

  .hero-stat-card { display: none; }
}

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