/* ==========================================================================
   ICFES PREPÁRATE - ESTILOS GLOBALES MAESTROS
   ========================================================================== */

/* ── 1. VARIABLES Y RESET ── */
:root {
  --ink:    #09080a;
  --paper:  #f6f3ee;
  --warm:   #faf7f2;
  --accent: #004ca6;
  --teal:   #00bda6;
  --coral:  #ff6d34;
  --dim:    #8a8480;
  --line:   #e2ddd6;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Permitir scroll global por defecto en el sitio */
html {
  height: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
}

body {
  background: var(--warm);
  font-family: 'DM Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}

button:not(:disabled),
[role="button"]:not(:disabled) { cursor: pointer; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4.5rem;
  z-index: 2000;
  background: var(--accent);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 0.8rem; }

body.subpage:not(.landing) {
  min-height: 100vh;
  min-height: 100dvh;
}

/* ── 2. ELEMENTOS COMPARTIDOS Y TIPOGRAFÍA ── */
.lining-num {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum";
}

.banda {
  height: 4px;
  flex-shrink: 0;
  background: linear-gradient(to right, #004ca6 0%, #00bda6 25%, #ff6d34 50%, #00bda6 75%, #004ca6 100%);
  background-size: 200%;
  animation: bandaSlide 6s linear infinite;
}

.banda.banda-sticky { position: sticky; top: 0; z-index: 95; }

@keyframes bandaSlide {
  0%, 100% { background-position: 0%; }
  50% { background-position: 200%; }
}

.titulo-seccion {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -.02em;
  color: var(--ink);
}

.titulo-seccion em { font-style: italic; font-weight: 400; color: var(--accent); }

.texto-base {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--dim);
  margin-bottom: 1.2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.9rem;
  border: 1px solid rgba(0, 76, 166, 0.14);
  background: rgba(0, 76, 166, 0.04);
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
  width: fit-content;
}

.eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--teal);
  box-shadow: 0 0 0 6px rgba(0, 189, 166, 0.12);
  animation: dotPulse 2.4s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(0, 189, 166, 0.12); }
  50% { box-shadow: 0 0 0 10px rgba(0, 189, 166, 0.05); }
}

/* ── 3. NAVEGACIÓN PRINCIPAL ── */
.nav-pill-wrap {
  position: sticky;
  top: 4px;
  z-index: 90;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 14px 0 10px;
  background: var(--warm);
}

.nav-row-top, .nav-row-bottom { display: contents; }

.nav-pill {
  position: relative;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  padding: 0.3rem 0.4rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18), 0 1px 0 rgba(255, 255, 255, 0.5) inset;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}

.nav-pill a {
  display: inline-flex; align-items: center; justify-content: center;
  height: 30px; padding: 0 0.8rem; border-radius: 999px;
  text-decoration: none; font-family: 'DM Mono', monospace; font-size: 0.56rem;
  font-weight: 400; letter-spacing: .12em; text-transform: uppercase;
  color: var(--dim); transition: background 0.2s ease, color 0.2s ease; white-space: nowrap;
}

.nav-pill a:hover { color: var(--accent); background: rgba(0, 76, 166, 0.07); }
.nav-pill a.active { color: #fff; background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%); box-shadow: 0 2px 10px rgba(0, 76, 166, 0.35); }
.nav-pill a.nav-premium { color: #fff !important; background: linear-gradient(135deg, var(--coral) 0%, #e65520 100%) !important; font-weight: 700; box-shadow: 0 2px 10px rgba(255, 109, 52, 0.35); margin-left: 0.2rem; }
.nav-pill a.nav-premium:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(255, 109, 52, 0.45); }

/* Menú Desplegable */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: inline-flex; align-items: center; gap: 0.35em; height: 30px; padding: 0 0.8rem;
  border-radius: 999px; border: none; background: transparent; cursor: pointer;
  font-family: 'DM Mono', monospace; font-size: 0.56rem; font-weight: 400;
  letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
  transition: all 0.2s ease; white-space: nowrap;
}
.nav-dropdown-btn:hover { color: var(--accent); }
.nav-dropdown-btn.active { color: #fff; background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%); }

.nav-arrow { width: 10px; height: 10px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; transition: transform 0.25s ease; }
.nav-dropdown-btn.open .nav-arrow { transform: scaleY(-1); }

.nav-dropdown-menu {
  position: absolute; top: calc(100% + 4px); left: 0; background: white; border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12); min-width: 180px; overflow: hidden;
  opacity: 0; pointer-events: none; transform: translateY(-4px); transition: opacity 0.2s ease, transform 0.2s ease; z-index: 300;
}
.nav-dropdown-menu.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown-menu a { display: block; padding: 0.7rem 1rem; text-decoration: none; font-family: 'DM Mono', monospace; font-size: 0.54rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid rgba(226, 221, 214, 0.5); transition: all 0.2s ease; height: auto; }
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: rgba(0, 76, 166, 0.06); color: var(--accent); }

/* Hamburguesa (Oculto en desktop) */
.nav-pill-wrap .nav-toggle { display: none; }


/* ── 4. FOOTER PRINCIPAL (Ajuste de Padding Reducido) ── */
.fi-wrap {
  width: 100%; flex-shrink: 0; background: var(--ink); color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.08); position: relative; z-index: 20;
}
.fi-bottom { width: 100%; }

.fi-bottom-inner {
  width: 100%;
  min-height: auto; /* Ajustado para que el padding mande */
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.8rem clamp(1.4rem, 4vw, 3rem); /* <-- PADDING REDUCIDO AQUÍ (Arriba/Abajo) */
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
}

.fi-bottom-left { min-width: 0; display: flex; align-items: center; gap: .75rem; justify-content: flex-start; }
.fi-brand-sm { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.05rem; color: #fff; white-space: nowrap; }

/* Letras más claras y legibles */
.fi-bottom-left > span:not(.fi-brand-sm), .fi-bottom-center, .fi-bottom-right { 
  font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7); 
}

.fi-sep { color: rgba(255, 255, 255, 0.22) !important; }
.fi-bottom-center { min-width: 0; text-align: center; line-height: 1.4; }
.fi-bottom-right { min-width: 0; display: flex; align-items: center; justify-content: flex-end; gap: 1.4rem; white-space: nowrap; }

.fi-contact-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 40px; padding: 0 1.15rem; border-radius: 999px; text-decoration: none;
  font-family: 'DM Mono', monospace; font-size: .75rem; font-weight: 700; letter-spacing: .06em;
  white-space: nowrap; background: linear-gradient(135deg, #25d366 0%, #1da851 100%); color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.30); transition: transform .2s ease, box-shadow .2s ease;
}
.fi-contact-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(37, 211, 102, 0.42); }
.fi-contact-btn svg { width: 15px; height: 15px; flex-shrink: 0; fill: #fff; }


/* ── 5. DISEÑO BASE DE SUBPÁGINAS Y CONTENIDOS ── */
#app, main.area-main { flex: 1; display: grid; grid-template-columns: 50% 50%; min-height: 0; }
.col-left { display: flex; flex-direction: column; padding: 2.6rem 2.4rem 2rem 3rem; overflow-y: auto; overflow-x: hidden; background: var(--warm); border-right: 1px solid var(--line); min-height: 0; scrollbar-width: none; -ms-overflow-style: none; }
.col-left::-webkit-scrollbar { display: none; }
.col-right { display: flex; align-items: center; justify-content: center; background: var(--warm); overflow: hidden; padding: 1.8rem 2.2rem; position: relative; min-height: 0; }
.col-left .marca-logo { width: 100%; max-width: clamp(180px, 25vw, 350px); height: auto; display: block; margin-bottom: 1.6rem; opacity: 0; animation: sU .7s ease .2s forwards; }

.quote-box { border-left: 2px solid var(--coral); padding-left: 1.3rem; max-width: 520px; margin-bottom: 1.3rem; }
.quote-box p { font-family: 'Playfair Display', serif; font-style: italic; font-size: 0.96rem; line-height: 1.55; color: var(--ink); }

.area-facts { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-bottom: 1.3rem; }
.area-facts--operation { width: 100%; max-width: 100%; gap: .55rem; }
.fact-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.35rem 0.75rem; background: white; border: 1px solid var(--line); border-radius: 8px; }
.fact-chip-total { width: auto; min-width: 0; flex: 1 1 auto; }
.fc-label { font-family: 'DM Mono', monospace; font-size: 0.55rem; letter-spacing: .15em; text-transform: uppercase; color: var(--dim); }
.fc-val { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 600; color: var(--accent); }
.fact-operator { display: flex; align-items: center; justify-content: center; min-width: 20px; height: auto; flex-shrink: 0; font-family: 'DM Mono', monospace; font-size: 1.35rem; font-weight: 700; line-height: 1; color: var(--accent); }

.proceso-sep { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.proceso-sep-line { flex: 1; height: 1px; background: var(--line); }
.proceso-sep-label { font-family: 'DM Mono', monospace; font-size: 0.52rem; letter-spacing: .35em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }

.etiquetas { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.etiqueta { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.8rem; border: 1px solid var(--line); background: white; font-family: 'DM Sans', sans-serif; font-size: 0.78rem; font-weight: 400; color: var(--dim); cursor: pointer; transition: all .18s ease; border-radius: 8px; }
.etiqueta:hover { border-color: var(--accent); color: var(--ink); box-shadow: 0 2px 8px rgba(0, 76, 166, 0.1); transform: translateY(-1px); }
.etiqueta.active { border-color: var(--accent); color: var(--ink); font-weight: 500; background: rgba(0, 76, 166, 0.04); box-shadow: 0 4px 12px rgba(0, 76, 166, 0.12); }
.etiqueta-num { width: 26px; height: 26px; border-radius: 7px; background: rgba(0, 76, 166, 0.08); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: .85rem; font-style: italic; flex-shrink: 0; transition: background .18s, color .18s; }
.etiqueta.active .etiqueta-num { background: var(--accent); color: white; }

/* Panel Derecho (Componentes) */
.panel { width: 100%; max-width: 640px; height: 100%; min-height: 400px; background: white; border: 1.5px solid var(--line); border-radius: 20px; box-shadow: 0 4px 6px rgba(0,0,0,0.04), 0 10px 40px rgba(0,0,0,0.08), 0 1px 0 rgba(255,255,255,0.9) inset; display: flex; flex-direction: column; overflow: hidden; }
.panel-topbar { display: flex; align-items: center; justify-content: center; padding: 0.85rem 1.4rem; border-bottom: 1px solid var(--line); flex-shrink: 0; background: linear-gradient(135deg, #004ca6 0%, #00bda6 100%); animation: topbarBreathe 4s ease-in-out infinite; }
@keyframes topbarBreathe { 0%, 100% { opacity: .82; } 50% { opacity: 1; } }
.panel-label, .panel-counter { font-family: 'DM Mono', monospace; font-size: 0.6rem; font-weight: 300; letter-spacing: .2em; color: rgba(255,255,255,.92); text-transform: uppercase; text-align: center; }
.panel-body { flex: 1; display: flex; align-items: stretch; overflow: hidden; position: relative; min-height: 0; }
.carousel-btn { width: 44px; flex-shrink: 0; border: none; background: transparent; color: var(--dim); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .2s ease; position: relative; }
.carousel-btn::after { content: ''; position: absolute; inset: 8px 6px; border-radius: 8px; background: transparent; transition: background .2s; }
.carousel-btn:hover::after { background: rgba(0, 76, 166, 0.07); }
.carousel-btn svg { position: relative; z-index: 1; width: 20px; height: 20px; }
.carousel-btn:hover { color: var(--accent); }
.carousel-track { flex: 1; position: relative; overflow: hidden; min-width: 0; min-height: 0; }
.panel-slide { position: absolute; inset: 0; opacity: 0; transform: translateX(60px); transition: opacity .35s ease, transform .35s ease; pointer-events: none; display: flex; flex-direction: column; }
.panel-slide.active { opacity: 1; transform: translateX(0); pointer-events: auto; }
.panel-slide.prev { transform: translateX(-60px); }

/* PCard */
.pcard { width: 100%; height: 100%; display: flex; flex-direction: column; }
.pcard-header { display: flex; align-items: flex-start; gap: 1rem; padding: 1.4rem 1.6rem 1rem; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.pcard-num { width: 44px; height: 44px; border-radius: 12px; background: rgba(0, 76, 166, 0.08); color: var(--accent); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 1.2rem; font-style: italic; flex-shrink: 0; }
.pcard-title { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.25; margin-bottom: 0.25rem; }
.pcard-sub { font-family: 'DM Mono', monospace; font-size: 0.57rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.pcard-body { flex: 1; padding: 1.3rem 1.6rem; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.pcard-body::-webkit-scrollbar { width: 3px; }
.pcard-body::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.pcard-body p { font-size: 0.9rem; line-height: 1.8; color: var(--dim); margin-bottom: 0.8rem; }
.skill-list { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; margin-top: 0.6rem; }
.skill-item { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.84rem; color: #4a4540; line-height: 1.5; }
.skill-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 0.45rem; background: var(--teal); }
.pcard-footer { padding: 0.9rem 1.6rem; border-top: 1px solid var(--line); flex-shrink: 0; display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }
.pcard-note { flex: 1; font-family: 'DM Mono', monospace; font-size: 0.54rem; letter-spacing: .13em; text-transform: uppercase; color: var(--dim); line-height: 1.55; }
.pcard-note strong { color: var(--accent); }

/* Empty state & Formularios */
.empty-message { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem; padding: 2rem; opacity: 1; transition: opacity .3s; pointer-events: auto; z-index: 5; background: white; text-align: center; }
.empty-message.hidden { display: none !important; opacity: 0; pointer-events: none; }
.empty-icon { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg, rgba(0, 76, 166, 0.1), rgba(0, 189, 166, 0.05)); display: flex; align-items: center; justify-content: center; }
.empty-icon svg { width: 30px; height: 30px; stroke: var(--accent); stroke-width: 1.5; fill: none; }
.empty-title { font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.empty-subtitle { font-size: 0.84rem; color: var(--dim); max-width: 280px; line-height: 1.6; }

.form-sections { padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem; overflow-y: auto; height: 100%; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.form-sections::-webkit-scrollbar { width: 3px; }
.form-sections::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }
.form-section-card { background: white; border: 1.5px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; transition: all .2s ease; }
.form-section-card:hover { border-color: rgba(0, 76, 166, 0.35); box-shadow: 0 4px 14px rgba(0, 76, 166, 0.08); transform: translateY(-1px); }
.form-sec-header { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.7rem; }
.form-sec-ico { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.form-sec-ico svg { width: 18px; height: 18px; }
.form-sec-title { font-family: 'Playfair Display', serif; font-size: 0.96rem; font-weight: 700; color: var(--ink); }
.form-sec-desc { font-size: 0.83rem; color: var(--dim); line-height: 1.6; margin-bottom: 0.6rem; }
.form-sec-items { list-style: none; display: flex; flex-direction: column; gap: 0.3rem; }
.form-sec-items li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.79rem; color: #4a4540; line-height: 1.45; }
.form-sec-items li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--teal); flex-shrink: 0; margin-top: 0.43rem; }
.form-alert { display: flex; align-items: flex-start; gap: 0.85rem; background: rgba(0, 189, 166, 0.06); border: 1.5px solid rgba(0, 189, 166, 0.35); border-radius: 14px; padding: 1rem 1.2rem; }
.form-alert-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; background: rgba(0, 189, 166, 0.15); display: flex; align-items: center; justify-content: center; }
.form-alert-icon svg { width: 18px; height: 18px; }
.form-alert-txt strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ink); margin-bottom: 0.25rem; }
.form-alert-txt span { font-size: 0.81rem; color: var(--dim); line-height: 1.6; }

/* ── 6. EXTRAS Y RECOMENDACIONES ── */
.grupos { display: flex; flex-direction: column; gap: 1.2rem; opacity: 0; animation: sU .7s ease .7s forwards; flex: 1; min-height: 0; overflow-y: auto; padding-right: 4px; }
.grupo { display: flex; flex-direction: column; gap: .4rem; }
.grupo-label { font-family: 'DM Mono', monospace; font-size: .52rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); padding: .3rem .5rem; display: flex; align-items: center; gap: .6rem; }
.grupo-label::before { content: ''; display: block; width: 20px; height: 1px; background: var(--line); }
.grupo-label::after { content: ''; flex: 1; display: block; height: 1px; background: var(--line); }
.grupo-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; }

.cta-importancia { margin-top: 1.8rem; padding: 1.4rem; background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(246, 243, 238, 0.95) 100%); border: 1px solid var(--line); border-radius: 14px; transition: all .3s ease; position: relative; overflow: hidden; flex-shrink: 0; }
.cta-importancia::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--coral), var(--teal)); }
.cta-importancia:hover { background: #fff; border-color: rgba(255, 109, 52, 0.35); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06); transform: translateY(-2px); }
.cta-importancia-title { display: block; font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; line-height: 1.2; color: var(--ink); margin-bottom: .65rem; }
.cta-importancia p { font-size: .82rem; line-height: 1.65; color: var(--dim); margin-bottom: 1rem; }
.cta-importancia .cta-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .7rem 1rem; background: transparent; border: 1px solid var(--coral); border-radius: 8px; color: var(--coral); text-decoration: none; font-family: 'DM Mono', monospace; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; transition: all .25s ease; }
.cta-importancia .cta-btn svg { width: 13px; height: 13px; }
.cta-importancia .cta-btn:hover { background: var(--coral); border-color: var(--coral); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 109, 52, 0.25); }

.tip-num { font-family: 'Playfair Display', serif; font-size: 4rem; font-weight: 900; font-style: italic; line-height: 1; color: rgba(0, 76, 166, 0.08); flex-shrink: 0; width: 56px; text-align: right; margin-top: -0.3rem; }
.tip-counter { font-family: 'DM Mono', monospace; font-size: 0.58rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 0.5rem; }
.tip-counter span { color: var(--accent); font-weight: 500; }
.tip-progress { display: flex; gap: 0.3rem; margin-top: 1.4rem; }
.tip-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .25s, width .25s; cursor: pointer; }
.tip-dot.active { background: var(--accent); width: 20px; border-radius: 3px; }


/* ── 7. LANDING PAGES (COLEGIOS Y PADRES) ── */
body.subpage.landing { position: relative; inset: auto; overflow: visible; height: auto; min-height: 100vh; background-color: var(--warm); }
.animate-up { animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.delay-1 { animation-delay: 0.15s; } .delay-2 { animation-delay: 0.3s; } .delay-3 { animation-delay: 0.45s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 3rem); }
body.subpage.landing section { padding: clamp(4rem, 8vw, 6rem) 0; }

/* B2B: Colegios */
.hero { padding-top: clamp(6rem, 12vw, 8rem); padding-bottom: clamp(4rem, 8vw, 6rem); background: radial-gradient(circle at top right, rgba(0, 76, 166, 0.04), transparent 50%), radial-gradient(circle at top left, rgba(0, 189, 166, 0.03), transparent 50%); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(3rem, 6vw, 4rem); align-items: center; }
.eyebrow-premium { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--accent); background: rgba(0, 76, 166, 0.06); border: 1px solid rgba(0, 76, 166, 0.12); padding: 6px 14px; border-radius: 999px; margin-bottom: 1.5rem; font-weight: 600; }
.hero-title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(2.2rem, 4.2vw, 3.8rem); line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); margin-bottom: 1.5rem; }
.hero-title em { font-style: italic; font-weight: 400; color: var(--accent); }
.hero-sub { font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.7; color: var(--dim); max-width: 580px; margin-bottom: 2.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.7rem; padding: 1rem 1.8rem; background: linear-gradient(135deg, var(--accent) 0%, #003a80 100%); color: #fff; text-decoration: none; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; box-shadow: 0 10px 25px rgba(0, 76, 166, 0.25); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); border: none; cursor: pointer; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0, 76, 166, 0.35); }
.btn-secondary { display: inline-flex; align-items: center; gap: 0.7rem; padding: 1rem 1.8rem; background: white; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; transition: all 0.2s ease; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); background: rgba(0, 76, 166, 0.03); }
.btn-note { font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); margin-top: 0.7rem; display: block; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; border-top: 1px solid var(--line); padding-top: 1.5rem; }
.proof-item { display: inline-flex; align-items: center; gap: 0.5rem; font-family: 'DM Sans', sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--dim); }
.proof-item svg { width: 18px; height: 18px; color: var(--teal); }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.55rem 1rem; background: var(--ink); color: #fff; border-radius: 999px; margin-bottom: 1.2rem; font-family: 'DM Mono', monospace; font-size: 0.62rem; letter-spacing: .08em; text-transform: uppercase; }
.hero-badge strong { color: var(--teal); font-weight: 700; }
.hero-badge svg { width: 14px; height: 14px; color: var(--coral); flex-shrink: 0; }

/* Dashboard Mockup */
.hero-mock { background: white; border: 1.5px solid var(--line); border-radius: 20px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 76, 166, 0.05); overflow: hidden; position: relative; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 1rem 1.2rem; background: var(--paper, var(--warm)); border-bottom: 1px solid var(--line); }
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-dot.red { background: #ff5f56; } .mock-dot.yellow { background: #ffbd2e; } .mock-dot.green { background: #27c93f; }
.mock-label { margin-left: auto; font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 5px; }
.mock-body { padding: 1.8rem 1.5rem; }
.mock-header-row { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.mock-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--ink); font-weight: 700; margin-bottom: 0.2rem;}
.mock-subtitle { font-family: 'DM Mono', monospace; font-size: 0.65rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.05em; }
.mock-bars { display: flex; flex-direction: column; gap: 1rem; }
.mock-bar-row { display: flex; align-items: center; gap: 1rem; }
.mock-bar-label { font-family: 'DM Sans', sans-serif; font-size: 0.8rem; color: var(--ink); font-weight: 600; width: 140px; flex-shrink: 0; }
.mock-bar-track { flex: 1; height: 8px; background: var(--paper, var(--warm)); border-radius: 10px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,0.05); }
.mock-bar-fill { height: 100%; border-radius: 10px; position: relative; }
.fill-blue { background: linear-gradient(90deg, #0070f3, var(--accent)); }
.fill-teal { background: linear-gradient(90deg, #20d4be, var(--teal)); }
.fill-coral { background: linear-gradient(90deg, #ff9066, var(--coral)); }
.fill-purple { background: linear-gradient(90deg, #9b51e0, #6f42c1); }
.fill-orange { background: linear-gradient(90deg, #f59e0b, #d97706); }
.mock-bar-val { font-family: 'DM Mono', monospace; font-size: 0.75rem; color: var(--accent); font-weight: 700; width: 35px; text-align: right; flex-shrink: 0; }

/* Inversión */
.invest-card { background: white; border: 1.5px solid var(--line); border-radius: 20px; padding: clamp(1.8rem, 3vw, 2.4rem); position: relative; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1), 0 10px 20px rgba(0, 76, 166, 0.05); }
.invest-tag { position: absolute; top: -14px; left: 2rem; background: var(--accent); color: #fff; font-family: 'DM Mono', monospace; font-weight: 600; font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0, 76, 166, 0.25); }
.invest-price { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 4vw, 3rem); font-weight: 800; color: var(--ink); line-height: 1; margin-top: 1.2rem; }
.invest-price span { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; color: var(--dim); margin-left: 0.4rem; }
.invest-desc { font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--dim); line-height: 1.6; margin-top: 0.8rem; padding-bottom: 1.4rem; border-bottom: 1px dashed var(--line); }
.invest-includes { list-style: none; display: flex; flex-direction: column; gap: 1rem; margin-top: 1.4rem; }
.invest-includes li { display: flex; align-items: flex-start; gap: 0.7rem; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--ink); line-height: 1.5; }
.invest-includes li svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; margin-top: 0.1rem; }

/* Reframe Problem vs Solution */
.section-head { max-width: 700px; margin: 0 auto 3.5rem; text-align: center; }
.titulo-seccion-center { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; color: var(--ink); line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.02em; }
.titulo-seccion-center em { font-style: italic; color: var(--accent); font-weight: 400; }
.texto-base-center { font-family: 'DM Sans', sans-serif; font-size: 1.05rem; color: var(--dim); line-height: 1.6; }
.reframe-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: stretch; }
.reframe-card { border-radius: 20px; padding: 2.5rem; border: 1.5px solid var(--line); display: flex; flex-direction: column; }
.reframe-card.old { background: var(--paper, var(--warm)); }
.reframe-card.new { background: white; border-color: var(--accent); box-shadow: 0 20px 40px rgba(0, 76, 166, 0.06); position: relative; }
.reframe-card.new::before { content: 'El Nuevo Estándar'; position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--accent) 0%, var(--teal) 100%); color: white; font-family: 'DM Mono', monospace; font-weight: 600; font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0, 76, 166, 0.2); }
.reframe-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
.reframe-card.new .reframe-header { border-bottom-color: rgba(0, 76, 166, 0.1); }
.reframe-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.old .reframe-icon { background: #e5e7eb; color: var(--dim); }
.new .reframe-icon { background: rgba(0, 76, 166, 0.08); color: var(--accent); }
.reframe-title { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--ink); }
.old .reframe-title { color: var(--dim); }
.reframe-list { list-style: none; display: flex; flex-direction: column; gap: 1.2rem; }
.reframe-list li { display: flex; align-items: flex-start; gap: 1rem; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; line-height: 1.5; color: var(--ink); }
.old .reframe-list li { color: var(--dim); }
.reframe-list li svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.old .reframe-list li svg { color: #d1d5db; }
.new .reframe-list li svg { color: var(--teal); }

/* Ecosistema / Roles */
.roles-section { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; }
.role-card { background: var(--warm); border: 1.5px solid var(--line); border-radius: 16px; padding: 1.8rem 1.5rem; transition: all 0.3s ease; display: flex; flex-direction: column; position: relative; }
.role-card:hover { background: white; border-color: var(--accent); box-shadow: 0 15px 30px rgba(0, 76, 166, 0.06); transform: translateY(-4px); }
.role-ico { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: white; box-shadow: 0 4px 6px rgba(0,0,0,0.03); margin-bottom: 1.2rem; border: 1px solid var(--line); }
.role-ico svg { width: 22px; height: 22px; color: var(--accent); }
.role-name { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.role-desc { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: var(--dim); line-height: 1.6; flex: 1; }
.role-gets { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px dashed var(--line); font-family: 'DM Mono', monospace; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal); }
.role-card.highlight { background: white; border-color: var(--teal); position: relative; box-shadow: 0 10px 20px rgba(0, 189, 166, 0.05); }
.role-card.highlight .role-ico svg { color: var(--teal); }
.badge-cero-carga { position: absolute; top: -10px; right: 1.5rem; background: var(--teal); color: white; font-size: 0.6rem; font-family: 'DM Mono', monospace; padding: 4px 10px; border-radius: 999px; font-weight: 600; letter-spacing: 0.05em; box-shadow: 0 4px 10px rgba(0, 189, 166, 0.2); }

/* Demo Block, Timeline, FAQ, Final CTA */
.demo-block { background: white; border-radius: 24px; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; border: 1.5px solid var(--accent); box-shadow: 0 20px 40px rgba(0, 76, 166, 0.08); position: relative; overflow: hidden; }
.demo-block::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 50%; background: linear-gradient(90deg, transparent, rgba(0, 76, 166, 0.03)); pointer-events: none; }
.demo-title { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; color: var(--ink); margin-bottom: 1rem; line-height: 1.15; }
.demo-text { font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--dim); line-height: 1.6; margin-bottom: 2rem; max-width: 480px; }
.demo-visual { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; background: var(--warm); padding: 2.5rem; border-radius: 20px; border: 1px dashed var(--line); text-align: center; }
.demo-time { font-family: 'DM Mono', monospace; font-size: 0.75rem; color: var(--accent); font-weight: 600; letter-spacing: 0.1em; background: rgba(0, 76, 166, 0.08); padding: 6px 16px; border-radius: 999px; }

.timeline { position: relative; max-width: 800px; margin: 0 auto; padding-left: 2rem; }
.timeline::before { content: ''; position: absolute; top: 0; bottom: 0; left: 6px; width: 2px; background: var(--line); }
.tl-row { position: relative; padding-bottom: 3rem; padding-left: 2.5rem; }
.tl-row:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; left: -2.3rem; top: 0.3rem; width: 14px; height: 14px; border-radius: 50%; background: white; border: 2px solid var(--line); box-shadow: 0 0 0 4px var(--warm); transition: all 0.3s; }
.tl-row:hover .tl-dot { border-color: var(--accent); background: var(--accent); box-shadow: 0 0 0 6px rgba(0, 76, 166, 0.1); }
.tl-when { font-family: 'DM Mono', monospace; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; display: block; }
.tl-what strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.3rem; font-weight: 700; color: var(--ink); margin-bottom: 0.5rem; }
.tl-what span { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--dim); line-height: 1.6; display: block; }
.tl-what ul { margin: 0.6rem 0 0; padding-left: 1.1rem; }
.tl-what ul li { font-family: 'DM Sans', sans-serif; font-size: 0.88rem; color: var(--dim); line-height: 1.7; }
.tl-alert { margin-top: 3rem; background: white; border: 1.5px solid var(--coral); border-left: 5px solid var(--coral); padding: 1.5rem; border-radius: 12px; display: flex; gap: 1rem; align-items: flex-start; max-width: 800px; margin-inline: auto; box-shadow: 0 10px 20px rgba(255, 109, 52, 0.05); }
.tl-alert svg { width: 24px; height: 24px; color: var(--coral); flex-shrink: 0; }
.tl-alert p { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--ink); margin: 0; line-height: 1.5; }

.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: white; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; transition: all 0.2s ease; }
.faq-item:hover { border-color: rgba(0, 76, 166, 0.3); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.5rem; background: none; border: none; cursor: pointer; text-align: left; font-family: 'DM Sans', sans-serif; font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.faq-q svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--dim); transition: transform 0.3s ease; }
.faq-item.open { border-color: var(--accent); box-shadow: 0 10px 25px rgba(0, 76, 166, 0.05); }
.faq-item.open .faq-q { color: var(--accent); }
.faq-item.open .faq-q svg { transform: rotate(180deg); color: var(--accent); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s cubic-bezier(0, 1, 0, 1); }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p { padding: 0 1.5rem 1.5rem; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--dim); line-height: 1.6; margin: 0; }

.final-cta { text-align: center; background: linear-gradient(135deg, var(--accent) 0%, #002855 100%); border-radius: 30px; padding: clamp(4rem, 8vw, 6rem) clamp(1.5rem, 5vw, 3rem); position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 76, 166, 0.2); }
.final-cta::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat; }
.final-content { position: relative; z-index: 2; max-width: 750px; margin: 0 auto; }
.final-title { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; color: white; margin-bottom: 1.2rem; line-height: 1.1; letter-spacing: -0.02em; }
.final-title em { color: var(--teal); font-style: italic; font-weight: 400; }
.final-sub { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 2.5rem; line-height: 1.6; }
.btn-white { display: inline-flex; align-items: center; gap: 0.7rem; padding: 1.1rem 2rem; background: white; color: var(--accent); text-decoration: none; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 700; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; cursor: pointer; border: none; }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2); }


/* B2C: Padres */
.hero-padres { padding-top: clamp(7rem, 13vw, 9rem); padding-bottom: clamp(4rem, 8vw, 6rem); background: radial-gradient(circle at 80% 15%, rgba(0, 189, 166, 0.16), transparent 32%), radial-gradient(circle at 10% 90%, rgba(0, 76, 166, 0.14), transparent 32%), linear-gradient(135deg, #001b3d 0%, #002855 55%, #003a80 100%); color: #fff; position: relative; overflow: hidden; }
.hero-padres::before { content: ''; position: absolute; width: 480px; height: 480px; border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 50%; right: -160px; top: -200px; }
.hero-padres::after { content: ''; position: absolute; width: 640px; height: 640px; border: 1px solid rgba(0, 189, 166, 0.08); border-radius: 50%; left: -380px; bottom: -440px; }
.hero-padres-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(3rem, 6vw, 4.5rem); align-items: center; }
.eyebrow-padres { display: inline-flex; align-items: center; gap: 8px; font-family: 'DM Mono', monospace; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: #9ff5e9; background: rgba(0, 189, 166, 0.12); border: 1px solid rgba(0, 189, 166, 0.4); padding: 7px 14px; border-radius: 999px; margin-bottom: 1.5rem; font-weight: 700; }
.hero-padres-title { font-family: 'Playfair Display', serif; font-weight: 800; font-size: clamp(2.1rem, 4.4vw, 3.7rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 1.4rem; color: #fff; }
.hero-padres-title em { font-style: italic; font-weight: 400; color: #7ce8dc; }
.hero-padres-sub { font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.7; color: #d9e8f8; max-width: 560px; margin-bottom: 2.2rem; }
.hero-padres-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.6rem; }
.btn-teal { display: inline-flex; align-items: center; gap: 0.7rem; padding: 1rem 1.8rem; background: var(--teal); color: #032d31; text-decoration: none; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 700; box-shadow: 0 12px 28px rgba(0, 189, 166, 0.28); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); border: none; cursor: pointer; }
.btn-teal:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(0, 189, 166, 0.38); }
.btn-ghost-light { display: inline-flex; align-items: center; gap: 0.7rem; padding: 1rem 1.8rem; background: rgba(255, 255, 255, 0.08); border: 1.5px solid rgba(255, 255, 255, 0.28); color: #fff; text-decoration: none; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 600; transition: all 0.2s ease; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.4); }

.diag-card { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 22px; padding: clamp(1.6rem, 3vw, 2rem); box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22); backdrop-filter: blur(10px); position: relative; }
.diag-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-top: 0.4rem; }
.diag-score { margin: 1.3rem 0; padding: 1.1rem; border-radius: 15px; background: rgba(0, 0, 0, 0.18); }
.diag-score-value { margin-top: 0.2rem; font-family: 'Playfair Display', serif; font-size: 2.6rem; line-height: 1; font-weight: 900; color: #fff; }
.diag-score-value span { font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: #9eb4c9; font-weight: 600; }
.diag-subject { margin-top: 0.9rem; }
.diag-subject-head { display: flex; justify-content: space-between; color: #dce8f3; font-family: 'DM Sans', sans-serif; font-size: 0.78rem; margin-bottom: 0.4rem; }
.diag-progress { height: 7px; background: rgba(255, 255, 255, 0.14); border-radius: 20px; overflow: hidden; }
.diag-progress span { display: block; height: 100%; border-radius: 20px; }

.op-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.op-card { border: 1.5px solid var(--line); border-radius: 18px; padding: 1.8rem; background: #fff; box-shadow: 0 8px 25px rgba(15, 23, 42, 0.05); transition: all 0.2s ease; }
.op-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09); border-color: rgba(0, 76, 166, 0.3); }
.op-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: rgba(0, 76, 166, 0.08); color: var(--accent); margin-bottom: 1.2rem; }
.op-icon svg { width: 22px; height: 22px; }
.op-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.op-card p { font-family: 'DM Sans', sans-serif; font-size: 0.88rem; color: var(--dim); line-height: 1.6; }

.stat-banner { margin-top: 2.2rem; background: linear-gradient(135deg, rgba(0, 76, 166, 0.05), rgba(0, 189, 166, 0.05)); border: 1px solid rgba(0, 76, 166, 0.14); border-radius: 20px; padding: clamp(1.8rem, 3vw, 2.4rem); display: grid; grid-template-columns: 160px 1fr; gap: 1.8rem; align-items: center; }
.stat-banner-num { font-family: 'Playfair Display', serif; font-size: 3.2rem; line-height: 1; font-weight: 900; color: var(--accent); }
.stat-banner-text { font-family: 'DM Sans', sans-serif; color: var(--dim); font-size: 0.95rem; line-height: 1.6; }

.areas-padres { background: var(--paper, var(--warm)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.area-grid-padres { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.area-card-p { background: #fff; border: 1.5px solid var(--line); border-radius: 15px; padding: 1.4rem 1rem; text-align: center; transition: all 0.2s ease; }
.area-card-p:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 76, 166, 0.06); }
.area-card-p-icon { width: 40px; height: 40px; margin: 0 auto 0.8rem; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: rgba(0, 76, 166, 0.08); color: var(--accent); }
.area-card-p-icon svg { width: 20px; height: 20px; }
.area-card-p h3 { font-family: 'DM Sans', sans-serif; font-size: 0.85rem; font-weight: 700; color: var(--ink); margin-bottom: 0.4rem; }
.area-card-p p { font-family: 'DM Sans', sans-serif; font-size: 0.75rem; color: var(--dim); line-height: 1.5; }

.why-grid-padres { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.check-list-padres { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.9rem; }
.check-padres { display: flex; gap: 0.8rem; align-items: flex-start; }
.check-padres-icon { flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; background: rgba(0, 189, 166, 0.12); color: var(--teal); display: flex; align-items: center; justify-content: center; }
.check-padres-icon svg { width: 13px; height: 13px; }
.check-padres span { font-family: 'DM Sans', sans-serif; font-size: 0.92rem; color: var(--ink); line-height: 1.5; }

.quote-padres { background: linear-gradient(145deg, #002855, var(--accent)); color: #fff; border-radius: 22px; padding: clamp(1.8rem, 3vw, 2.4rem); box-shadow: 0 25px 55px rgba(0, 76, 166, 0.18); }
.quote-padres-mark { font-family: 'Playfair Display', serif; font-size: 3.6rem; line-height: 0.5; color: #7ce8dc; }
.quote-padres h3 { font-family: 'Playfair Display', serif; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.2; margin: 1.4rem 0 0.9rem; font-weight: 700; }
.quote-padres p { color: #cfe0f0; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; line-height: 1.6; }

.diagnosis-padres { background: var(--warm); }
.steps-padres { display: grid; gap: 0.8rem; }
.step-padres { display: grid; grid-template-columns: 46px 1fr; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; transition: all 0.2s ease; }
.step-padres:hover { border-color: var(--accent); box-shadow: 0 6px 16px rgba(0, 76, 166, 0.06); }
.step-padres-num { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: rgba(0, 76, 166, 0.08); color: var(--accent); font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1rem; font-style: italic; }
.step-padres h3 { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--ink); }
.step-padres p { font-family: 'DM Sans', sans-serif; font-size: 0.8rem; color: var(--dim); margin-top: 0.15rem; }

.parents-grid-padres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.parent-card-padres { padding: 1.7rem; border-radius: 16px; background: var(--warm); border: 1.5px solid var(--line); transition: all 0.2s ease; }
.parent-card-padres:hover { border-color: var(--teal); background: #fff; box-shadow: 0 10px 22px rgba(0, 189, 166, 0.07); }
.parent-card-padres h3 { font-family: 'Playfair Display', serif; font-size: 1.08rem; font-weight: 700; color: var(--ink); margin-bottom: 0.6rem; }
.parent-card-padres p { font-family: 'DM Sans', sans-serif; font-size: 0.86rem; color: var(--dim); line-height: 1.6; }

.inscripcion-block { background: #fff; border-radius: 24px; padding: clamp(2rem, 4.5vw, 3rem); border: 1.5px solid var(--accent); box-shadow: 0 20px 45px rgba(0, 76, 166, 0.08); display: grid; grid-template-columns: 1.2fr 1fr; gap: 2.5rem; align-items: center; position: relative; overflow: hidden; }
.inscripcion-badge { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: var(--ink); color: #fff; border-radius: 999px; margin-bottom: 1.1rem; font-family: 'DM Mono', monospace; font-size: 0.6rem; letter-spacing: .08em; text-transform: uppercase; }
.inscripcion-badge strong { color: var(--teal); font-weight: 700; }
.inscripcion-badge svg { width: 13px; height: 13px; color: var(--coral); flex-shrink: 0; }
.inscripcion-title { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; color: var(--ink); line-height: 1.15; margin-bottom: 0.8rem; }
.inscripcion-text { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--dim); line-height: 1.6; margin-bottom: 1.6rem; }
.inscripcion-ctas { display: flex; flex-direction: column; gap: 0.8rem; }
.inscripcion-price-card { background: var(--warm); border: 1.5px solid var(--line); border-radius: 16px; padding: 1.6rem; text-align: center; }
.inscripcion-price { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 800; color: var(--ink); }
.inscripcion-price span { font-family: 'DM Sans', sans-serif; font-size: 0.82rem; font-weight: 600; color: var(--dim); display: block; margin-top: 0.2rem; }
.btn-accent-full, .btn-wa-full { display: flex; align-items: center; justify-content: center; gap: 0.7rem; width: 100%; padding: 0.95rem 1.6rem; color: #fff; text-decoration: none; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.9rem; font-weight: 700; transition: all 0.3s ease; }
.btn-accent-full { background: linear-gradient(135deg, var(--accent) 0%, #003a80 100%); box-shadow: 0 10px 22px rgba(0, 76, 166, 0.22); margin-top: 0.9rem; }
.btn-accent-full:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0, 76, 166, 0.3); }
.btn-wa-full { background: linear-gradient(135deg, #25d366 0%, #1da851 100%); box-shadow: 0 10px 22px rgba(37, 211, 102, 0.22); }
.btn-wa-full:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(37, 211, 102, 0.3); }

.final-cta-padres { text-align: center; background: linear-gradient(135deg, #001b3d 0%, #002855 100%); border-radius: 28px; padding: clamp(3.5rem, 7vw, 5.5rem) clamp(1.5rem, 5vw, 3rem); position: relative; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 76, 166, 0.2); }
.final-cta-padres::before { content: ''; position: absolute; inset: 0; background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>') repeat; }
.final-cta-padres-content { position: relative; z-index: 2; max-width: 700px; margin: 0 auto; }
.final-cta-padres-title { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; color: #fff; margin-bottom: 1rem; line-height: 1.15; }
.final-cta-padres-title em { color: var(--teal); font-style: italic; font-weight: 400; }
.final-cta-padres-sub { font-family: 'DM Sans', sans-serif; font-size: 1.02rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 1.3rem; line-height: 1.6; }
.final-cta-padres-deadline { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background: rgba(255, 109, 52, 0.16); border: 1px solid rgba(255, 109, 52, 0.4); border-radius: 999px; color: #ffb08c; font-family: 'DM Mono', monospace; font-size: 0.65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 2rem; }
.final-cta-padres-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-white-padres { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 1.7rem; background: #fff; color: var(--accent); text-decoration: none; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 700; white-space: nowrap; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12); transition: all 0.3s ease; }
.btn-white-padres:hover { transform: translateY(-3px); box-shadow: 0 15px 32px rgba(0, 0, 0, 0.2); }
.btn-wa-outline { display: inline-flex; align-items: center; gap: 0.6rem; padding: 1rem 1.7rem; background: rgba(37, 211, 102, 0.14); border: 1.5px solid rgba(37, 211, 102, 0.5); color: #fff; text-decoration: none; border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.88rem; font-weight: 700; white-space: nowrap; transition: all 0.3s ease; }
.btn-wa-outline:hover { background: rgba(37, 211, 102, 0.22); transform: translateY(-3px); }

/* ── 8. PÁGINA PRINCIPAL / HOME (INDEX.HTML) ── */
body.pagina-inicio { background: var(--warm); font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
#intro { position: fixed; inset: 0; z-index: 500; background: #07050a; display: flex; align-items: center; justify-content: center; animation: introOut 0.8s cubic-bezier(0.77, 0, 0.18, 1) 1.5s forwards; }
@keyframes introOut { to { opacity: 0; pointer-events: none; } }

.splash { position: absolute; inset: 0; overflow: hidden; }
.drop { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0; animation: dA var(--dur) ease var(--del) forwards; }
@keyframes dA { 0% { opacity: 0; transform: scale(0.08); } 45% { opacity: var(--pk); transform: scale(1.25); } 100% { opacity: 0.09; transform: scale(1); } }
.d1 { width: 620px; height: 620px; background: #004ca6; top: -160px; left: -140px; --dur: 1.4s; --del: 0.2s; --pk: 0.7; }
.d2 { width: 500px; height: 500px; background: #00bda6; top: 20%; right: -120px; --dur: 1.3s; --del: 0.4s; --pk: 0.65; }
.d3 { width: 460px; height: 460px; background: #ff6d34; bottom: -120px; left: 18%; --dur: 1.2s; --del: 0.5s; --pk: 0.6; }
.d4 { width: 380px; height: 380px; background: #004ca6; bottom: 10%; left: -80px; --dur: 1.4s; --del: 0.3s; --pk: 0.55; }
.d5 { width: 350px; height: 350px; background: #00bda6; top: 5%; right: 8%; --dur: 1.3s; --del: 0.6s; --pk: 0.55; }
.d6 { width: 280px; height: 280px; background: #ff6d34; top: 45%; left: 40%; --dur: 1.1s; --del: 0.45s; --pk: 0.45; }

.bw { position: relative; z-index: 10; text-align: center; }
.bi {
  font-family: 'DM Sans', sans-serif; font-size: clamp(3.5rem, 12vw, 9rem); font-weight: 900;
  letter-spacing: -0.03em; line-height: 0.92; background-size: 300% 300%;
  background: linear-gradient(145deg, #fff 0%, #b3e8e5 18%, #00bda6 32%, #fff 46%, #ffd3b8 60%, #ff6d34 75%, #fff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  padding: 0 0.15em; opacity: 0; transform: translateY(32px) scale(0.95);
  animation: bIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards, sh 5s linear 0.9s infinite;
  filter: drop-shadow(0 0 70px rgba(0, 189, 166, 0.65));
}
@keyframes bIn { 0% { opacity: 0; transform: translateY(32px) scale(0.95); } 65% { opacity: 1; transform: translateY(-6px) scale(1.03); filter: drop-shadow(0 0 90px rgba(0, 189, 166, 0.9)); } 100% { opacity: 1; transform: translateY(0) scale(1); filter: drop-shadow(0 0 45px rgba(0, 189, 166, 0.55)); } }
@keyframes sh { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.bl { width: 0; height: 1px; margin: 1.6rem auto 0; background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.45), transparent); animation: lG .4s ease .3s forwards; }
@keyframes lG { to { width: 68%; } }

.bs {
  font-family: 'DM Mono', monospace; font-size: clamp(1rem, 2.5vw, 1.5rem); font-weight: 700;
  letter-spacing: 0.5em; text-transform: uppercase; color: #ffffff;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.2);
  margin-top: 1.4rem; opacity: 0; animation: fI .4s ease .4s forwards;
}
.bs span.lining-num { font-variant-numeric: lining-nums; font-weight: 500; }
@keyframes fI { to { opacity: 1; } }

#site {
  position: relative;
  z-index: 100;
  background: var(--warm);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  isolation: isolate;
}
body.pagina-inicio.has-splash #site {
  opacity: 0;
  pointer-events: none;
  animation: sIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) 1.55s forwards;
}
@keyframes sIn { to { opacity: 1; pointer-events: all; } }

.zona { flex: 1; display: grid; grid-template-columns: 1fr 1px 1fr; min-height: 0; }
.col-l { display: flex; flex-direction: column; justify-content: flex-start; margin-top: 10px; padding: clamp(1.5rem, 4vw, 4rem) clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 5rem); overflow-y: auto; scrollbar-width: none; -ms-overflow-style: none; }
.col-l::-webkit-scrollbar { display: none; }
.marca { display: inline-flex; align-items: center; gap: 0.08em; font-family: 'DM Sans', sans-serif; font-size: clamp(2.4rem, 4.5vw, 4.2rem); font-weight: 900; color: var(--ink); padding-left: clamp(0.6rem, 1.5vw, 1.1rem); position: relative; margin-bottom: 1.8rem; letter-spacing: -0.02em; opacity: 0; animation: sU .7s ease .4s forwards; }
.col-l .marca-logo { width: 100%; max-width: clamp(160px, 22vw, 280px); height: auto; display: block; }
.promesa { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 2.8vw, 2.6rem); font-weight: 700; line-height: 1.12; color: var(--ink); letter-spacing: -.02em; margin-bottom: 1.4rem; opacity: 0; animation: sU .9s cubic-bezier(0.16, 1, 0.3, 1) .55s forwards; }
.promesa em { font-style: italic; font-weight: 400; color: var(--accent); }
.sep { width: 36px; height: 2px; background: var(--coral); margin-bottom: 1.4rem; opacity: 0; animation: sU .6s ease .75s forwards; }
.puntos { display: flex; flex-direction: column; gap: .95rem; opacity: 0; animation: sU .8s ease .9s forwards; flex-shrink: 0; }
.punto { display: flex; align-items: flex-start; gap: .8rem; }
.punto-ico { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.punto-ico.p1 { background: rgba(0, 76, 166, 0.1); }
.punto-ico.p3 { background: rgba(0, 189, 166, 0.1); }
.punto-txt strong { display: block; font-size: clamp(.82rem, 1.2vw, .92rem); font-weight: 500; color: var(--ink); margin-bottom: .1rem; }
.punto-txt span { font-size: clamp(.75rem, 1vw, .82rem); color: var(--dim); line-height: 1.5; }

@keyframes sU { 0% { opacity: 0; transform: translateY(16px); } 100% { opacity: 1; transform: translateY(0); } }

.div-v { background: var(--line); position: relative; }
.div-v::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 6px; height: 6px; border-radius: 50%; background: var(--accent); opacity: 0.5; }

.col-r { display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(0.5rem, 2vw, 1.5rem) clamp(1.5rem, 5vw, 5rem) clamp(2rem, 5vw, 4rem) clamp(1.5rem, 4vw, 4rem); overflow-y: auto; opacity: 0; animation: sU .9s ease .7s forwards; scrollbar-width: none; -ms-overflow-style: none; }
.col-r::-webkit-scrollbar { display: none; }
.areas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; flex-shrink: 0; }
.area-card { display: flex; align-items: center; gap: .65rem; padding: .65rem .85rem; background: rgba(255, 255, 255, 0.65); border: 1px solid var(--line); border-radius: 11px; text-decoration: none; transition: all .2s ease; backdrop-filter: blur(8px); }
.area-card:hover { border-color: var(--accent); background: #fff; box-shadow: 0 6px 18px rgba(0, 76, 166, 0.1); transform: translateY(-2px); }
.area-ico { width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.area-ico svg { width: 16px; height: 16px; }
.area-name { font-family: 'DM Sans', sans-serif; font-size: .82rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.facts-row { display: flex; flex-wrap: wrap; gap: .75rem 1.3rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(226, 221, 214, 0.7); flex-shrink: 0; }
.fact-item { display: inline-flex; align-items: center; gap: .4rem; font-family: 'DM Mono', monospace; font-size: .54rem; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }


/* ==========================================================================
   9. MODAL GLOBAL
   ========================================================================== */
.modal-overlay { position: fixed; inset: 0; background: rgba(7, 5, 10, 0.6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; padding: 1rem; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-box { background: #fff; width: 100%; max-width: 650px; max-height: 85vh; border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25); position: relative; transform: translateY(30px) scale(0.95); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; }
.modal-overlay.active .modal-box { transform: translateY(0) scale(1); }
.modal-close { position: absolute; top: 15px; right: 15px; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(226, 221, 214, 0.5); color: var(--dim); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; z-index: 10; }
.modal-close:hover { background: var(--coral); color: #fff; transform: rotate(90deg); }
.modal-content { padding: 2.5rem; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.modal-title { font-family: 'Playfair Display', serif; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.15; color: var(--ink); margin-bottom: 1.2rem; padding-right: 2rem; }
.modal-text { font-size: 0.95rem; line-height: 1.6; color: var(--dim); margin-bottom: 1rem; }
.modal-subtitle { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--accent); margin: 1.8rem 0 1rem; }
.score-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.9rem; }
.score-table th { background: rgba(0, 76, 166, 0.05); color: var(--accent); font-weight: 700; padding: 0.8rem 1rem; border-bottom: 2px solid var(--accent); }
.score-table td { padding: 0.8rem 1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
.score-table .highlight-row td { background: rgba(0, 189, 166, 0.06); font-weight: 600; color: var(--teal); }
.modal-divider { border: none; height: 1px; background: var(--line); margin: 2rem 0; }
.modal-list { list-style-position: inside; padding-left: 0.5rem; }
.modal-list li { font-size: 0.9rem; line-height: 1.6; color: var(--dim); margin-bottom: 0.8rem; }
.icon-list { list-style-type: none; padding: 0; }
.icon-list li { position: relative; padding-left: 1.5rem; font-weight: 500; }
.icon-list li::before { content: '→'; position: absolute; left: 0; color: var(--coral); font-weight: 700; }
.modal-alert { margin-top: 2rem; padding: 1.2rem; background: linear-gradient(135deg, rgba(255, 109, 52, 0.08) 0%, rgba(255, 109, 52, 0.02) 100%); border-left: 4px solid var(--coral); border-radius: 0 8px 8px 0; }
.modal-alert strong { display: block; font-family: 'DM Mono', monospace; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coral); margin-bottom: 0.5rem; }
.modal-alert p { font-size: 0.85rem; line-height: 1.5; color: var(--ink); margin: 0; }


/* ==========================================================================
   10. MEDIA QUERIES GLOBALES & CONSOLIDADOS RESPONSIVE
   ========================================================================== */

/* ── 1024px: Laptops pequeñas y Tablets Horizontales ── */
@media (max-width: 1024px) {
  html, body, body.pagina-inicio, body.subpage.landing {
    height: auto; min-height: 100vh; min-height: 100dvh; overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  
  body.subpage, #site {
    position: relative; inset: auto; overflow: visible; min-height: 100vh; min-height: 100dvh;
  }

  /* Padding Reducido en Footer para Tablet */
  .fi-bottom-inner {
    grid-template-columns: 1fr; justify-items: center; gap: 0.8rem;
    padding: 0.8rem 1.2rem; /* <-- AJUSTADO */
    text-align: center;
  }
  .fi-bottom-left, .fi-bottom-right { justify-content: center; }
  .fi-bottom-center { order: 2; }
  .fi-bottom-right { order: 3; flex-wrap: wrap; gap: 0.75rem; }

  #app, main.area-main { display: block; height: auto; }
  .col-left, .col-right { width: 100%; height: auto; min-height: 0; overflow: visible; }
  .col-left { padding: 2rem 1.4rem 1.4rem; border-right: none; border-bottom: 1px solid var(--line); overflow: visible; }
  .grupos { flex: none; overflow: visible; max-height: none; }
  .col-right { padding: 1.4rem 1rem 2rem; min-height: 480px; align-items: flex-start; }
  .panel { height: 72vh; min-height: 460px; max-width: 100%; }
  .titulo-seccion { font-size: clamp(1.8rem, 6vw, 2.5rem); }
  .etiquetas { flex-wrap: wrap; }
  input, textarea, select { font-size: 16px; }
  .form-sections { height: auto; max-height: none; padding: 1rem; }

  .zona { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  body.pagina-inicio .col-l { overflow-y: visible; padding: 1.5rem 1.4rem 1rem; justify-content: flex-start; }
  body.pagina-inicio .col-r { overflow-y: visible; padding: 1rem 1.4rem 2.5rem; justify-content: flex-start; }
  .div-v { height: 1px; width: auto; background: var(--line); margin: 0 1.4rem; }
  .div-v::after { display: none; }
  .areas-grid { grid-template-columns: 1fr; }
}

/* ── 992px: Landing Pages en Tablets ── */
@media (max-width: 992px) {
  .hero-grid, .hero-padres-grid, .why-grid-padres, .inscripcion-block { grid-template-columns: 1fr; text-align: center; }
  .hero-sub, .hero-padres-sub { margin-left: auto; margin-right: auto; }
  .hero-ctas, .hero-proof, .hero-padres-ctas { justify-content: center; }
  .reframe-grid, .demo-block { grid-template-columns: 1fr; gap: 2rem; }
  .section-head { text-align: center; margin-inline: auto; }
  .check-padres { text-align: left; }
  .op-grid, .parents-grid-padres { grid-template-columns: 1fr 1fr; }
  .area-grid-padres { grid-template-columns: repeat(3, 1fr); }
  .stat-banner { grid-template-columns: 1fr; text-align: center; }
  .inscripcion-ctas { align-items: stretch; }
}

/* ── 768px: Menú en Celulares (2 Renglones) ── */
@media (max-width: 768px) {
  .nav-pill { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px; border-radius: 20px; width: 94%; max-width: 420px; margin: 0 auto; height: auto; }
  .nav-row-top, .nav-row-bottom { display: flex; justify-content: center; align-items: center; gap: 6px; width: 100%; }
  .nav-dropdown { display: flex; justify-content: center; align-items: center; gap: 6px; width: 100%; }
  .nav-pill a, .nav-dropdown-btn { flex: 1; text-align: center; justify-content: center; white-space: nowrap; font-size: 0.65rem; padding: 0 0.5rem; }
  .nav-row-bottom a.nav-premium { margin-left: 0 !important; }
  .nav-dropdown-menu { left: 50%; transform: translate(-50%, -4px); width: max-content; }
}

/* ── 640px: Pantallas pequeñas y Landings móviles ── */
@media (max-width: 640px) {
  .roles-grid, .op-grid, .parents-grid-padres { grid-template-columns: 1fr 1fr; }
  .badge-cero-carga { right: 1rem; }
  .area-grid-padres { grid-template-columns: 1fr 1fr; }
  .final-cta-padres-actions { flex-direction: column; align-items: stretch; }
  .btn-white-padres, .btn-wa-outline { justify-content: center; }
  .inscripcion-block { padding: 1.6rem; gap: 1.6rem; }
  .inscripcion-price-card { padding: 1.3rem; }
  .btn-accent-full, .btn-wa-full { padding: 0.95rem 1rem; font-size: 0.85rem; }
}

/* ── 480px: Celulares Estándar y Pequeños ── */
@media (max-width: 480px) {
  .modal-content { padding: 2rem 1.5rem; }
  .modal-title { font-size: 1.4rem; }
  .score-table th, .score-table td { padding: 0.6rem; font-size: 0.85rem; }
  
  /* Padding Reducido en Footer y fuentes legibles para Móvil */
  .fi-bottom-inner { 
    min-height: auto; 
    padding: 0.8rem 1rem; /* <-- AJUSTADO */
    gap: 0.7rem; 
  }
  .fi-bottom-left > span:not(.fi-brand-sm), .fi-bottom-center, .fi-bottom-right span { 
    font-size: 0.85rem !important; /* Mantiene legibilidad, evita fuentes diminutas */
  }
  .fi-bottom-left { gap: 0.5rem; }
  .fi-bottom-right { width: 100%; flex-direction: column; gap: 0.6rem; }
  .fi-contact-btn { width: 100%; max-width: 260px; min-height: 42px; }
}


/* ==========================================================================
   11. V6 — FOOTER, SPLASH SKIP, LEGAL, A11Y
   ========================================================================== */
.splash-skip {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.splash-skip:hover { background: rgba(255,255,255,.2); }

.fi-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem clamp(1.4rem, 4vw, 3rem) 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.fi-brand-lg {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: .45rem;
}
.fi-tag {
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(255,255,255,.65);
  max-width: 280px;
}
.fi-col h3 {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8rem;
}
.fi-col a {
  display: block;
  color: rgba(255,255,255,.78);
  text-decoration: none;
  font-size: 0.88rem;
  padding: 0.22rem 0;
}
.fi-col a:hover { color: #fff; }
.fi-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: center;
  padding: 0.55rem 1rem 0;
  font-size: 0.78rem;
}
.fi-legal a { color: rgba(255,255,255,.55); text-decoration: none; }
.fi-legal a:hover { color: #fff; }

.crumb {
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1rem;
}
.crumb a { color: var(--accent); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }

.cta-price {
  display: block;
  margin-top: 0.55rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
}

@media (min-width: 1025px) {
  body.subpage:not(.landing) {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  body.subpage:not(.landing) header,
  body.subpage:not(.landing) .fi-wrap { flex-shrink: 0; }
  body.subpage:not(.landing) #app,
  body.subpage:not(.landing) main.area-main { min-height: 0; }
  body.subpage:not(.landing) .fi-main { display: none; }
}

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.4rem 4rem;
}
.legal-page h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.6rem;
}
.legal-page .meta {
  font-family: 'DM Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 2rem;
}
.legal-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin: 1.8rem 0 0.6rem;
  color: var(--accent);
}
.legal-page p, .legal-page li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4a4540;
  margin-bottom: 0.8rem;
}
.legal-page ul { padding-left: 1.2rem; margin-bottom: 1rem; }

.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.4rem;
}
.notfound h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 0.6rem;
}

.premium-headline {
  background: #fff;
  padding: 70px 0 38px;
  text-align: center;
  border-bottom: 1px solid rgba(0,0,0,.05);
}
.headline-label {
  display: inline-block;
  margin-bottom: 18px;
  padding: 10px 18px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(0,76,166,.06);
  border: 1px solid rgba(0,76,166,.18);
  border-radius: 999px;
  font-family: 'DM Mono', monospace;
}
.headline-title {
  margin: 0;
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: .95;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.headline-title span { color: var(--accent); font-style: italic; }
.headline-subtitle {
  max-width: 820px;
  margin: 22px auto 0;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.5;
  color: var(--dim);
  font-weight: 500;
}
.legal-note {
  max-width: 760px;
  margin: 1.6rem auto 0;
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--dim);
  text-align: center;
}
.legal-note strong { color: var(--ink); }

@media (max-width: 1024px) {
  .fi-main { grid-template-columns: 1fr 1fr; }
  body.pagina-inicio.has-splash #site { animation-duration: 0.6s; }
  body.subpage:not(.landing) { height: auto; overflow: auto; }
}
@media (max-width: 768px) {
  .premium-headline { padding: 48px 20px 28px; }
}
@media (max-width: 640px) {
  .fi-main { grid-template-columns: 1fr; gap: 1.4rem; }
  .nav-pill a, .nav-dropdown-btn { min-height: 40px; height: auto; padding: 0.45rem 0.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  #intro { display: none !important; }
  body.pagina-inicio.has-splash #site { opacity: 1; pointer-events: auto; animation: none; }
}


/* ==========================================================================
   12. ICON SAFETY + TABLET / PHONE (v6.1)
   ========================================================================== */
svg {
  display: block;
  flex-shrink: 0;
  overflow: visible;
}
/* Cualquier SVG sin width/height nativo se queda en 20px — evita iconos gigantes en tablet */
svg:not([width]) {
  width: 20px;
  height: 20px;
}

.btn-accent-full svg,
.btn-wa-full svg,
.btn-wa-outline svg,
.btn-white-padres svg,
.btn-white svg,
.btn-primary svg,
.btn-secondary svg,
.cta-btn svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px;
  max-height: 18px;
}
.final-cta-padres-deadline svg,
.inscripcion-badge svg,
.hero-badge svg {
  width: 14px !important;
  height: 14px !important;
  max-width: 14px;
  max-height: 14px;
}
.nav-arrow {
  width: 11px !important;
  height: 11px !important;
  max-width: 11px;
  max-height: 11px;
}
.carousel-btn svg {
  width: 20px !important;
  height: 20px !important;
}
.area-ico svg { width: 16px !important; height: 16px !important; }
.punto-ico svg { width: 13px !important; height: 13px !important; }
.role-ico svg { width: 22px !important; height: 22px !important; }
.reframe-icon svg { width: 22px !important; height: 22px !important; }
.op-icon svg { width: 22px !important; height: 22px !important; }
.area-card-p-icon svg { width: 20px !important; height: 20px !important; }
.check-padres-icon svg { width: 13px !important; height: 13px !important; }
.form-sec-ico svg,
.form-alert-icon svg { width: 18px !important; height: 18px !important; }
.faq-q svg { width: 20px !important; height: 20px !important; }
.tl-alert svg { width: 22px !important; height: 22px !important; }
.reframe-list li svg,
.invest-includes li svg,
.proof-item svg { width: 18px !important; height: 18px !important; }
.fi-contact-btn svg { width: 16px !important; height: 16px !important; }

.btn-wa-full,
.btn-accent-full {
  min-height: 48px;
  max-width: 100%;
}
.final-cta-padres-deadline {
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
  line-height: 1.4;
}

/* Tablet landscape / iPad */
@media (max-width: 1200px) {
  .inscripcion-block,
  .hero-padres-grid,
  .why-grid-padres,
  .hero-grid,
  .reframe-grid,
  .demo-block { grid-template-columns: 1fr; }
  .nav-pill { max-width: calc(100vw - 1.5rem); }
  .headline-title { font-size: clamp(2rem, 5vw, 3.4rem); }
  .fi-main { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .roles-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .parents-grid-padres { grid-template-columns: 1fr; }
  .final-cta-padres-actions { flex-direction: column; align-items: stretch; }
  .btn-white-padres, .btn-wa-outline { justify-content: center; width: 100%; }
}

@media (max-width: 640px) {
  .areas-grid { grid-template-columns: 1fr; }
  .roles-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .nav-pill { width: calc(100% - 1.2rem); }
}

@media (max-width: 380px) {
  .nav-pill a, .nav-dropdown-btn { font-size: 0.68rem; padding: 0.4rem 0.55rem; }
  .inscripcion-price { font-size: 1.7rem; }
  .btn-wa-full, .btn-accent-full { font-size: 0.82rem; padding: 0.85rem 0.9rem; }
}
