/* ============================================================
   Domina Tu Examen — Estilos compartidos
   Extraído del diseño original. Define tokens, tipografía,
   botones, nav, hero, secciones, footer y responsividad.
   ============================================================ */

:root {
  --ink: #0B1F3D;
  --ink-2: #122a4f;
  --coral: #E63946;
  --coral-soft: #f7c4c8;
  --gold: #F2B544;
  --gold-soft: #fde7b6;
  --cream: #FBF8F2;
  --cream-2: #F4EFE3;
  --line: #E7E0CF;
  --muted: #5B6478;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(11,31,61,0.04), 0 1px 1px rgba(11,31,61,0.03);
  --shadow-md: 0 12px 32px -16px rgba(11,31,61,0.18), 0 4px 12px -6px rgba(11,31,61,0.08);
  --shadow-lg: 0 32px 64px -32px rgba(11,31,61,0.28), 0 16px 32px -16px rgba(11,31,61,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
}

.display {
  font-family: 'Bricolage Grotesque', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-family: 'Manrope', sans-serif; font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 9px 16px; font-size: 13.5px; }
.btn-primary { background: var(--ink); color: var(--cream); box-shadow: 0 8px 20px -8px rgba(11,31,61,0.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(11,31,61,0.55); background: var(--ink-2); }
.btn-coral { background: var(--coral); color: var(--white); box-shadow: 0 8px 20px -8px rgba(230,57,70,0.55); }
.btn-coral:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(230,57,70,0.6); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink); font-weight: 600; font-size: 14px;
  text-decoration: none; background: none; border: none; cursor: pointer; padding: 0;
}
.btn-link:hover { color: var(--coral); }
.btn-link .arrow { transition: transform 0.2s ease; }
.btn-link:hover .arrow { transform: translateX(3px); }

/* --- NAV (landing pública) --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,248,242,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(11,31,61,0.06);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo-mark { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark .word { font-family: 'Bricolage Grotesque', serif; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; line-height: 1; }
.logo-mark .word span {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--coral); text-transform: uppercase; margin-top: 4px;
}
.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 14.5px;
  position: relative; transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--coral); }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 0; height: 2px; background: var(--coral); transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }

/* --- HERO --- */
.hero { padding: 80px 0 100px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 80px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; background: var(--white);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 12.5px; font-weight: 600; color: var(--ink);
  letter-spacing: 0.02em; box-shadow: var(--shadow-sm);
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px rgba(230,57,70,0.18); }
.hero h1 { font-size: clamp(44px, 5.4vw, 76px); margin-top: 24px; }
.hero h1 .accent { color: var(--coral); position: relative; display: inline-block; }
.hero h1 .accent::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 4px;
  height: 10px; background: var(--gold); opacity: 0.35; z-index: -1; border-radius: 4px;
}
.hero .lede { font-size: 19px; color: var(--muted); margin: 22px 0 36px; max-width: 520px; line-height: 1.55; }
.hero-ctas { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.stat .num { font-family: 'Bricolage Grotesque', serif; font-weight: 700; font-size: 32px; color: var(--ink); letter-spacing: -0.02em; }
.stat .label { font-size: 13px; color: var(--muted); margin-top: 2px; }

.hero-art {
  position: relative; aspect-ratio: 1 / 1.05; border-radius: 32px;
  background: linear-gradient(155deg, #0B1F3D 0%, #122a4f 55%, #1a3768 100%);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-art .grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at 30% 40%, black, transparent 70%);
}
.hero-art .blob { position: absolute; width: 280px; height: 280px; border-radius: 50%; filter: blur(60px); opacity: 0.5; }
.hero-art .blob.gold { background: var(--gold); top: -60px; right: -40px; }
.hero-art .blob.coral { background: var(--coral); bottom: -60px; left: -30px; opacity: 0.35; }
.floating-card {
  position: absolute; background: var(--white); border-radius: 18px;
  padding: 16px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  animation: float 5s ease-in-out infinite;
}
.floating-card .icon-box { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.floating-card .meta { font-size: 11px; color: var(--muted); font-weight: 500; }
.floating-card .title { font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 2px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.card-fc-1 { top: 8%; left: -28px; animation-delay: 0s; }
.card-fc-2 { bottom: 14%; right: -32px; animation-delay: 1.5s; }
.card-fc-3 { bottom: 38%; left: -16px; animation-delay: 0.8s; }
.center-mark { position: absolute; inset: 0; display: grid; place-items: center; }
.center-mark svg { width: 56%; height: auto; }
.progress-ring {
  position: absolute; bottom: 6%; left: 50%; transform: translateX(-50%);
  width: 78%; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px); border-radius: 20px; padding: 18px 22px; color: var(--white);
}
.progress-ring .row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.progress-ring .lbl { font-size: 12.5px; opacity: 0.7; letter-spacing: 0.02em; }
.progress-ring .val { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 18px; }
.progress-ring .bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.12); overflow: hidden; position: relative; }
.progress-ring .bar-fill {
  position: absolute; left: 0; top: 0; height: 100%; width: 82%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--coral) 100%); border-radius: 3px;
}

/* --- Section header --- */
.section { padding: 110px 0; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(36px, 4vw, 52px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 17px; line-height: 1.6; }

/* --- Programas --- */
.programs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.program {
  background: var(--white); border: 1px solid var(--line);
  border-radius: 24px; padding: 32px 26px 28px;
  display: flex; flex-direction: column; gap: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative; overflow: hidden;
}
.program::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 0%, transparent 70%, var(--cream-2) 100%);
  opacity: 0; transition: opacity 0.3s ease; pointer-events: none;
}
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.program:hover::before { opacity: 1; }
.program-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; }
.program-icon svg { width: 28px; height: 28px; }
.program-tag { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 600; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }
.program h3 { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: -0.01em; }
.program p { color: var(--muted); font-size: 14.5px; line-height: 1.55; flex-grow: 1; }
.program-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px dashed var(--line); }
.program-meta { font-size: 12.5px; color: var(--muted); font-weight: 500; }

/* --- Benefits --- */
.benefits {
  background: var(--ink); color: var(--cream);
  border-radius: 36px; padding: 90px 80px;
  position: relative; overflow: hidden;
}
.benefits::before {
  content: ''; position: absolute; top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 60%);
  opacity: 0.15; border-radius: 50%;
}
.benefits::after {
  content: ''; position: absolute; bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, var(--coral) 0%, transparent 60%);
  opacity: 0.18; border-radius: 50%;
}
.benefits-head { position: relative; z-index: 1; max-width: 640px; margin-bottom: 64px; }
.benefits-head .eyebrow { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); color: var(--cream); }
.benefits-head h2 { font-size: clamp(36px, 4vw, 52px); margin-top: 16px; color: var(--cream); }
.benefits-head p { color: rgba(251,248,242,0.7); font-size: 17px; margin-top: 16px; line-height: 1.6; max-width: 540px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; z-index: 1; }
.benefit { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 26px; }
.benefit-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(242,181,68,0.15); border: 1px solid rgba(242,181,68,0.3);
  display: grid; place-items: center; margin-bottom: 22px;
}
.benefit-icon svg { width: 26px; height: 26px; color: var(--gold); }
.benefit h4 { font-family: 'Bricolage Grotesque'; font-weight: 600; font-size: 19px; margin-bottom: 8px; letter-spacing: -0.01em; }
.benefit p { color: rgba(251,248,242,0.65); font-size: 14.5px; line-height: 1.6; }

/* --- Testimonios --- */
.testimonios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonio {
  background: var(--white); border-radius: 24px;
  padding: 32px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 22px; position: relative;
}
.quote-mark { font-family: 'Bricolage Grotesque'; font-size: 80px; line-height: 0.7; color: var(--coral); height: 30px; }
.testimonio p { font-size: 16px; line-height: 1.6; color: var(--ink); flex-grow: 1; }
.testimonio-author { display: flex; align-items: center; gap: 14px; padding-top: 22px; border-top: 1px solid var(--line); }
.avatar {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 18px; color: var(--white);
}
.author-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.author-meta { font-size: 13px; color: var(--muted); margin-top: 2px; }
.stars { color: var(--gold); margin-left: auto; font-size: 14px; letter-spacing: 1px; }

/* --- CTA --- */
.cta-section { padding: 60px 0 110px; }
.cta-card {
  background: linear-gradient(135deg, var(--coral) 0%, #c92935 100%);
  border-radius: 36px; padding: 80px 80px; color: var(--white);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center;
}
.cta-card::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 360px; height: 360px; border-radius: 50%;
  background: var(--gold); opacity: 0.22; filter: blur(30px);
}
.cta-card h2 { font-size: clamp(40px, 4.5vw, 60px); line-height: 1.05; margin-bottom: 18px; }
.cta-card .sub { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,0.88); margin-bottom: 32px; max-width: 460px; }
.cta-card .btn-coral { background: var(--cream); color: var(--ink); box-shadow: 0 8px 28px -10px rgba(0,0,0,0.4); }
.cta-card .btn-coral:hover { background: var(--white); }
.cta-card .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.4); }
.cta-card .btn-ghost:hover { background: rgba(255,255,255,0.12); color: var(--white); }
.cta-side { position: relative; z-index: 1; }
.cta-side-card {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
  border-radius: 24px; padding: 28px; backdrop-filter: blur(12px);
}
.cta-side-card .lbl { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.cta-side-card .big { font-family: 'Bricolage Grotesque'; font-weight: 700; font-size: 44px; line-height: 1; margin: 6px 0 14px; }
.cta-side-card .small { font-size: 14px; opacity: 0.85; }
.cta-bullets { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.cta-bullets li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; opacity: 0.92; }
.cta-bullets .check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,0.18); display: grid; place-items: center; flex-shrink: 0;
}

/* --- Footer --- */
footer.site-foot { background: var(--ink); color: var(--cream); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 50px; margin-bottom: 64px; }
.footer-brand .word-mark { font-family: 'Bricolage Grotesque'; font-weight: 800; font-size: 22px; line-height: 1; color: var(--cream); }
.footer-brand .tagline { color: rgba(251,248,242,0.7); margin-top: 18px; font-size: 14.5px; line-height: 1.6; max-width: 320px; }
.footer-socials { display: flex; gap: 10px; margin-top: 24px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  display: grid; place-items: center; color: var(--cream);
  text-decoration: none; transition: background 0.2s ease, transform 0.2s ease;
}
.footer-socials a:hover { background: var(--coral); transform: translateY(-2px); border-color: var(--coral); }
.footer-col h5 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-weight: 600; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a, .footer-col li {
  color: rgba(251,248,242,0.78); text-decoration: none;
  font-size: 14.5px; transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--cream); }
.footer-contact-row { display: flex; align-items: flex-start; gap: 10px; color: rgba(251,248,242,0.78); font-size: 14.5px; }
.footer-contact-row svg { flex-shrink: 0; margin-top: 2px; color: var(--gold); }
.whatsapp-row {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: white;
  padding: 10px 16px; border-radius: 999px;
  text-decoration: none; font-weight: 600; font-size: 14px;
  margin-top: 12px; transition: transform 0.2s ease;
}
.whatsapp-row:hover { transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(251,248,242,0.5); font-size: 13px; flex-wrap: wrap; gap: 16px;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(251,248,242,0.5); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--cream); }

/* --- Responsive --- */
@media (max-width: 1080px) {
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-card { grid-template-columns: 1fr; padding: 60px 40px; }
  .benefits { padding: 64px 40px; }
}
@media (max-width: 760px) {
  .container { padding: 0 22px; }
  .nav-links { display: none; }
  .hero { padding: 50px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .section { padding: 70px 0; }
  .hero-stats { gap: 26px; flex-wrap: wrap; }
  .programs-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .floating-card { display: none; }
  .benefits { padding: 50px 26px; }
}
