/* ============================================================
   GLOBAL EDUCATION & MIGRATION PATHWAY — Design tokens
   Colores confirmados desde los assets de marca (Daniela, UX/UI):
   anthracite #26303a · lime #cced00
============================================================ */
:root {
  --ink: #26303a;
  --ink-soft: #495563;
  --ink-muted: #7a8390;
  --lime: #cced00;
  --lime-dark: #a9b800;
  --bg: #fafaf7;
  --bg-alt: #f2f2ed;
  --white: #ffffff;
  --border: #e4e4dd;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 10px rgba(38, 48, 58, .06);
  --shadow-md: 0 12px 32px rgba(38, 48, 58, .10);

  --wrap: 1180px;
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 88px 0; }
section.tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--lime-dark);
  margin-bottom: 14px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(26px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -.01em;
}
.section-head p {
  margin-top: 12px;
  color: var(--ink-muted);
  font-size: 16px;
  line-height: 1.55;
}

/* ============================================================
   BOTONES
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--lime); color: var(--ink); }
.btn-primary:hover { background: var(--lime-dark); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.btn-outline-light:hover { border-color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: 12px; }

.icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s ease;
  flex-shrink: 0;
}
.icon-circle svg { width: 16px; height: 16px; }
a:hover .icon-circle, button:hover .icon-circle { background: var(--lime); }

/* ============================================================
   PLACEHOLDER DE IMÁGENES
   Marca los espacios donde faltan fotos reales de Daniela.
   En cuanto el archivo exista en la ruta indicada, se muestra
   solo — no hay que tocar nada de código.
============================================================ */
.ph-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--bg-alt) 0%, #e8e8e0 100%);
}
.ph-frame img { width: 100%; height: 100%; object-fit: cover; }
.ph-frame::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-muted);
  background: repeating-linear-gradient(45deg, var(--bg-alt), var(--bg-alt) 10px, #ececE4 10px, #ececE4 20px);
}
.ph-frame:has(img.img-error)::before { display: flex; }
.ph-frame:has(img.img-error) img { display: none; }

/* ============================================================
   HEADER
============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 247, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand img { width: 34px; height: 34px; }
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.brand-text span { display: block; font-size: 9px; font-weight: 600; letter-spacing: .06em; color: var(--ink-muted); text-transform: uppercase; }

.nav-main {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-main a {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color .15s ease;
}
.nav-main a:hover { color: var(--ink); }

.hd-right { display: flex; align-items: center; gap: 12px; }
.wa-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.wa-btn svg { width: 18px; height: 18px; }

.menu-toggle { display: none; }

/* ============================================================
   HERO
============================================================ */
.hero { padding: 72px 0 96px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--lime-dark); }
.hero-sub {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 460px;
}
.hero-bullets { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.hero-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero-bullets li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
  flex-shrink: 0;
}
.hero-ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; }
.hero-visual .ph-frame {
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
}
.hero-card {
  position: absolute;
  left: -20px;
  bottom: -24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  max-width: 260px;
  line-height: 1.7;
}

/* ============================================================
   3 NIVELES DE ASESORÍA
============================================================ */
.niveles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.nivel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow .15s ease, transform .15s ease;
}
.nivel-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.nivel-num {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--lime-dark);
  background: var(--bg-alt);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.nivel-card h3 { font-size: 18px; font-weight: 800; }
.nivel-card .nivel-sub { font-size: 12px; color: var(--ink-muted); margin-top: 4px; }
.nivel-price { font-size: 24px; font-weight: 800; margin-top: 18px; }
.nivel-desc { font-size: 13px; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }
.nivel-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   ¿A DÓNDE QUIERES IR? — carrusel de destinos
============================================================ */
.destinos-carousel-wrap { position: relative; }
.destinos-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.destinos-track::-webkit-scrollbar { display: none; }
.destino-card {
  scroll-snap-align: start;
  flex: 0 0 200px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.destino-card .ph-frame { aspect-ratio: 3 / 4; }
.destino-card-body { padding: 14px 16px 18px; }
.destino-card-body h4 { font-size: 13px; font-weight: 800; letter-spacing: .03em; }
.destino-card-body p { font-size: 12px; color: var(--ink-muted); margin-top: 4px; line-height: 1.4; }

.carousel-nav {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.carousel-nav button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.carousel-nav button:hover { background: var(--lime); border-color: var(--lime); }

.section-cta { text-align: center; margin-top: 40px; }

/* ============================================================
   RUTAS DE CONVERSIÓN PRINCIPALES
============================================================ */
.rutas-band { background: var(--bg-alt); }
.rutas-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}
.ruta-item { display: flex; align-items: center; gap: 10px; text-align: left; }
.ruta-item span { font-size: 13px; font-weight: 700; }
.ruta-arrow { color: var(--ink-muted); font-size: 18px; }

/* ============================================================
   QUÉ PUEDES ESTUDIAR
============================================================ */
.estudiar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.estudiar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}
.estudiar-card .icon-circle { width: 46px; height: 46px; background: var(--bg-alt); margin-bottom: 18px; }
.estudiar-card .icon-circle svg { width: 20px; height: 20px; }
.estudiar-card h3 { font-size: 15px; font-weight: 800; }
.estudiar-card p { font-size: 13px; color: var(--ink-muted); margin-top: 6px; line-height: 1.5; }

/* ============================================================
   CÓMO FUNCIONA
============================================================ */
.pasos-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
}
.pasos-row::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.paso-item { position: relative; z-index: 1; text-align: center; padding: 0 8px; }
.paso-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--lime);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  margin: 0 auto 14px;
}
.paso-item p { font-size: 13px; font-weight: 700; color: var(--ink-soft); line-height: 1.4; }

/* ============================================================
   CONFIANZA QUE NOS RESPALDA
============================================================ */
.stats-band { background: var(--ink); color: var(--white); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-num { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; color: var(--lime); }
.stat-label { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.72); margin-top: 6px; }

/* ============================================================
   HISTORIAS QUE INSPIRAN
============================================================ */
.testimonio-card {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.testimonio-card .ph-frame { width: 140px; height: 140px; border-radius: 50%; }
.testimonio-quote { font-size: 16px; line-height: 1.6; font-style: italic; color: var(--ink-soft); }
.testimonio-author { margin-top: 16px; }
.testimonio-author strong { display: block; font-size: 14px; font-weight: 800; }
.testimonio-author span { font-size: 12px; color: var(--ink-muted); }
.testimonio-nav { display: flex; justify-content: center; gap: 20px; margin-top: 24px; align-items: center; }
.testimonio-nav a { font-size: 12px; font-weight: 700; text-decoration: underline; }

/* ============================================================
   CTA FINAL
============================================================ */
.cta-final {
  text-align: center;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 56px 32px;
}
.cta-final h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; }
.cta-final .cta-buttons { margin-top: 26px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   FOOTER
============================================================ */
footer { background: var(--ink); color: rgba(255,255,255,.82); padding-top: 64px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 32px;
  padding-bottom: 48px;
}
.footer-brand .brand-text strong { color: var(--white); }
.footer-brand .brand-text span { color: rgba(255,255,255,.55); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 16px; line-height: 1.6; max-width: 260px; }
.footer-col h4 { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--white); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.68); transition: color .15s ease; }
.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
}
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--white); }

/* ============================================================
   PÁGINAS DE DESTINO
============================================================ */
.breadcrumbs {
  padding: 18px 0 0;
  font-size: 12px;
  color: var(--ink-muted);
}
.breadcrumbs a { color: var(--ink-muted); }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs span.sep { margin: 0 6px; }
.breadcrumbs span.current { color: var(--ink); font-weight: 600; }

.destino-hero { padding: 28px 0 48px; }
.destino-hero h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.12; max-width: 820px; }
.destino-hero .hero-sub { max-width: 680px; margin-top: 18px; }
.destino-hero .micro { font-size: 12px; color: var(--ink-muted); margin-top: 10px; }

.geo-answer {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 26px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 900px;
}
.geo-answer strong { color: var(--ink); }

.resumen-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}
.resumen-item { background: var(--white); padding: 20px; text-align: center; }
.resumen-item .label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-muted); margin-bottom: 6px; }
.resumen-item .value { font-size: 13px; font-weight: 700; line-height: 1.4; }

.notice-box {
  background: #fff8e6;
  border: 1px solid #eddca0;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-top: 18px;
}
.notice-box strong { color: var(--ink); }

.para-quien-list { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.para-quien-list li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
.para-quien-list li::before { content: "✓"; color: var(--lime-dark); font-weight: 800; flex-shrink: 0; }

.cursos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.curso-card { border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.curso-card h3 { font-size: 14px; font-weight: 800; }
.curso-card p { font-size: 13px; color: var(--ink-muted); margin-top: 6px; line-height: 1.5; }

.escuelas-list { display: flex; flex-wrap: wrap; gap: 10px; }
.escuelas-list span { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 999px; padding: 8px 16px; font-size: 12px; color: var(--ink-soft); }

.acompanamiento-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; max-width: 820px; }
.acompanamiento-list li { display: flex; gap: 10px; font-size: 13px; color: var(--ink-soft); line-height: 1.5; }
.acompanamiento-list li::before { content: "→"; color: var(--lime-dark); font-weight: 800; flex-shrink: 0; }

.inversion-box { background: var(--ink); color: rgba(255,255,255,.9); border-radius: 16px; padding: 28px 30px; max-width: 900px; }
.inversion-box p { font-size: 14px; line-height: 1.7; }
.inversion-box .btn { margin-top: 18px; }

.editorial-signature { font-size: 11px; color: var(--ink-muted); border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px; line-height: 1.6; }

.destinos-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 980px) {
  .nav-main { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--white);
  }
  .nav-main.nav-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px 16px;
  }
  .nav-main.nav-open a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav-main.nav-open a:last-child { border-bottom: none; }
  header .hd { position: relative; flex-wrap: wrap; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 420px; margin: 0 auto; }
  .niveles-grid { grid-template-columns: 1fr; }
  .estudiar-grid { grid-template-columns: repeat(2, 1fr); }
  .pasos-row { grid-template-columns: 1fr; gap: 24px; }
  .pasos-row::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .testimonio-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .resumen-bar { grid-template-columns: repeat(2, 1fr); }
  .cursos-grid { grid-template-columns: 1fr; }
  .acompanamiento-list { grid-template-columns: 1fr; }
  .destinos-hub-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  section { padding: 56px 0; }
  .hero { padding: 40px 0 56px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .estudiar-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .rutas-row { flex-direction: column; align-items: flex-start; }
  .ruta-arrow { display: none; }
  .resumen-bar { grid-template-columns: 1fr; }
  .destinos-hub-grid { grid-template-columns: 1fr; }
}
