﻿*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --rose-50:  #fff0f3;
  --rose-100: #ffd6df;
  --rose-200: #ffadc0;
  --rose-400: #f472a0;
  --rose-500: #e05585;
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --slate-50:  #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --font: 'Plus Jakarta Sans', sans-serif;
  --r: 14px;
  --r-lg: 24px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.07), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.09);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--slate-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── UTILITIES ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 2.5rem); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.28rem 0.75rem; border-radius: 50px;
}
.tag-blue  { background: var(--blue-100);  color: var(--blue-600); }
.tag-rose  { background: var(--rose-100);  color: var(--rose-500); }
.tag-slate { background: var(--slate-100); color: var(--slate-600); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  padding: 12px clamp(1rem,4vw,2rem);
  background: transparent;
  pointer-events: none;
  display: flex; justify-content: center;
}

/* Pill centrado y compacto — ancho automático, no full width */
.nav-topbar {
  display: inline-flex; align-items: center; gap: 2px;
  height: 48px;
  background: #f3f6fa;
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid #d1d9e4; border-radius: 100px;
  padding: 0 6px;
  box-shadow: 0 2px 20px rgba(15,23,42,.07), 0 1px 4px rgba(15,23,42,.04);
  transition: background .25s, box-shadow .25s, border-radius .25s;
  pointer-events: auto;
  max-width: 90vw;
}
nav.mega-open .nav-topbar {
  border-bottom-left-radius: 0; border-bottom-right-radius: 0;
  border-bottom-color: transparent; background: #f8fafc;
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

/* Links nivel 1 */
.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; height: 48px; }
.nav-menu > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav-menu > li > a,
.nav-menu > li > button.nav-trigger {
  display: flex; align-items: center; gap: 4px;
  height: auto; padding: .42rem .8rem;
  font-family: var(--font); font-size: .8rem; font-weight: 600;
  color: #475569; text-decoration: none; background: none; border: none; cursor: pointer;
  border-radius: 50px; transition: background .15s, color .15s; white-space: nowrap;
}
.nav-menu > li > a:hover,
.nav-menu > li > button.nav-trigger:hover { background: rgba(59,130,246,.08); color: #2563eb; }
.nav-menu > li.is-open > button.nav-trigger { background: rgba(59,130,246,.1); color: #2563eb; }
/* ── Home icon in index nav ── */
.nav-home-icon {
  display: flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 10px;
  color: #7dd3fc; transition: color .15s, background .15s;
}
.nav-home-icon svg { width: 28px; height: 28px; }
.nav-home-icon:hover { color: #38bdf8; background: rgba(125,211,252,.1); }
.nav-chevron { width: 12px; height: 12px; stroke: currentColor; fill: none; flex-shrink: 0; transition: transform .22s; }
.nav-menu > li.is-open .nav-chevron { transform: rotate(180deg); }

/* Separador visual entre links y CTA */
.nav-sep {
  width: 1px; height: 20px; background: #d1d9e4;
  flex-shrink: 0; margin: 0 4px;
}

/* CTA */
.nav-cta {
  background: #3b82f6; color: #fff !important;
  padding: .46rem 1.1rem; border-radius: 50px;
  font-size: .8rem; font-weight: 700; text-decoration: none;
  white-space: nowrap; flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(59,130,246,.3);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.nav-cta:hover { background: #2563eb; transform: translateY(-1px); box-shadow: 0 4px 18px rgba(59,130,246,.4); }

/* ── Contacto dropdown ── */
.contact-dropdown { min-width: 220px !important; }
.contact-dd-link {
  display: flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 600; color: #334155;
  text-decoration: none; padding: .3rem .2rem;
  transition: color .15s;
}
.contact-dd-link svg { width: 15px; height: 15px; flex-shrink: 0; stroke: #64748b; }
.contact-dd-link:hover { color: #2563eb; }
.contact-dd-link:hover svg { stroke: #2563eb; }
.contact-dd-sep { height: 1px; background: #e2e8f0; margin: .7rem 0; }
.contact-dd-label {
  font-size: .7rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #94a3b8; margin-bottom: .45rem;
}
.contact-dd-social { display: flex; gap: 4px; }

/* ── Shared social icon button (dropdown + mobile) ── */
.soc-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 9px;
  color: #64748b; flex-shrink: 0;
  transition: color .15s, background .15s;
  text-decoration: none;
}
.soc-icon svg { width: 18px; height: 18px; fill: currentColor; }
.soc-icon:hover { background: rgba(0,0,0,.05); }
.nsb-fb:hover { color: #1877f2; }
.nsb-ig:hover { color: #e1306c; }
.nsb-tk:hover { color: #111; }
.nsb-li:hover { color: #0a66c2; }

/* ── Mobile drawer social row ── */
.mob-social-row {
  padding: .8rem 1.1rem;
  border-top: 1px solid #f1f5f9;
}
.mob-social-label {
  display: block; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: #94a3b8; margin-bottom: .5rem;
}
.mob-social-icons {
  display: flex; gap: 4px;
}
.mob-social-icons .soc-icon { background: #f8fafc; }
.mob-social-icons .soc-icon:hover { background: #f1f5f9; }

/* Responsive */
/* Marca móvil — visible solo en móvil */
.nav-mob-brand {
  display: none;
  font-family: var(--font); font-size: .85rem; font-weight: 800;
  color: #0f172a; letter-spacing: -.01em; text-decoration: none;
  white-space: nowrap;
}
.nav-mob-brand:hover { color: #2563eb; }

/* Home link en drawer móvil */
.mob-home-link {
  display: flex; align-items: center; gap: .6rem;
  padding: .9rem 1.2rem;
  font-size: .9rem; font-weight: 700; color: #7dd3fc;
  text-decoration: none; border-bottom: 1px solid #e2e8f0;
  background: rgba(125,211,252,.06);
  transition: background .15s, color .15s;
}
.mob-home-link:hover { background: rgba(125,211,252,.12); color: #38bdf8; }
.mob-home-link svg { width: 20px; height: 20px; flex-shrink: 0; }

@media (max-width: 680px) {
  nav { padding: 10px 1rem; }
  .nav-menu, .nav-cta, .nav-sep { display: none !important; }
  .hamburger { display: flex; }
  .nav-topbar {
    width: 100%; justify-content: space-between;
    padding: 0 8px 0 16px; gap: 0;
    border-radius: 100px;
  }
  .nav-mob-brand { display: block; }
  .nav-home { display: none !important; }
}

/* ── MEGA PANEL — conectado a la pill ── */
.mega-panel {
  display: none;
  position: fixed;
  top: calc(12px + 48px);
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, calc(100vw - 2rem));
  z-index: 290;
  background: #f8fafc;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid #d1d9e4;
  border-top: none;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 0 20px 48px rgba(15,23,42,.12);
  animation: megaIn .18s ease both;
}
@keyframes megaIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-menu > li.is-open .mega-panel { display: block; }

.mega-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(1rem,4vw,2rem);
  display: grid;
}

.mega-inner.no-cats {
  grid-template-columns: 1fr;
  padding-top: 20px; padding-bottom: 20px;
}

/* Barra de categorías */
.mega-cats {
  border-right: 1px solid #f1f5f9;
  padding: 16px 12px 16px 0;
  display: flex; flex-direction: column; gap: 2px;
  overflow-y: auto;
}
.mega-cat-btn {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 9px 12px; border-radius: 10px;
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: .83rem; font-weight: 600;
  color: #64748b; text-align: left;
  transition: background .15s, color .15s;
}
.mega-cat-btn:hover  { background: #f8fafc; color: #1e293b; }
.mega-cat-btn.active { background: #eff6ff; color: #3b82f6; }
.mega-cat-icon { font-size: 1.1rem; flex-shrink: 0; }
.mega-cat-count {
  margin-left: auto; font-size: .7rem; font-weight: 700;
  background: #f1f5f9; color: #94a3b8;
  padding: 1px 7px; border-radius: 50px;
}
.mega-cat-btn.active .mega-cat-count { background: #dbeafe; color: #3b82f6; }

/* Panel de ítems */
.mega-items-wrap {
  padding: 16px 10px 24px 16px;
  overflow-y: scroll;
  min-width: 0;
  scrollbar-width: thin;
  scrollbar-color: #3b82f6 #dde3ec;
}
.mega-items-wrap::-webkit-scrollbar { width: 8px; }
.mega-items-wrap::-webkit-scrollbar-track { background: #dde3ec; border-radius: 50px; margin: 8px 0; }
.mega-items-wrap::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 50px; min-height: 40px; }
.mega-items-wrap::-webkit-scrollbar-thumb:hover { background: #2563eb; }
.mega-section { display: none; }
.mega-section.active { display: block; }

/* Grid de programas */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2px;
}
.mega-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px;
  text-decoration: none;
  transition: background .15s;
}
.mega-item:hover { background: #f1f5f9; }

/* Dot de color — codifica el TIPO de programa */
.mega-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}
.mega-dot.esp  { background: #3b82f6; }   /* Especialidad — azul   */
.mega-dot.dip  { background: #f472b6; }   /* Diplomado    — rosa   */
.mega-dot.mst  { background: #8b5cf6; }   /* Maestría     — violeta*/

.mega-item-name { font-size: .80rem; font-weight: 600; color: #1e293b; line-height: 1.3; overflow-wrap: break-word; }
.mega-item-tag  { font-size: .71rem; color: #94a3b8; margin-top: 1px; }

/* Leyenda de dots */
.mega-legend {
  display: flex; gap: 14px; align-items: center;
  padding: 0 2px 10px; margin-bottom: 4px;
  border-bottom: 1px solid #f1f5f9;
}
.mega-legend-item { display: flex; align-items: center; gap: 5px; font-size: .7rem; font-weight: 600; color: #94a3b8; }
.mega-legend-dot  { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* Sidebar de categorías — SVG icons en lugar de emojis */
.mega-cat-icon { flex-shrink: 0; }
.mega-cat-icon svg { width: 15px; height: 15px; display: block; }

/* Columna promo */
.mega-promo-col {
  border-left: 1px solid #f0f4f8;
  padding: 16px 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(160deg, #f8faff 0%, #fdf4fb 100%);
  min-width: 0;
  overflow-y: auto;
  min-height: 0;
}
.mega-promo-label {
  font-size: .68rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: #3b82f6;
}
.mega-promo-card {
  background: #fff; border: 1px solid #e8edf3;
  border-radius: 12px; padding: 13px;
  text-decoration: none; display: block;
  transition: box-shadow .18s, border-color .18s;
}
.mega-promo-card:hover { box-shadow: 0 4px 16px rgba(15,23,42,.08); border-color: #bfdbfe; }
.mega-promo-badge {
  display: inline-flex; align-items: center; gap: 4px;
  background: #eff6ff; color: #3b82f6;
  font-size: .65rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 7px; border-radius: 50px; margin-bottom: 7px;
}
.mega-promo-name { font-size: .78rem; font-weight: 700; color: #1e293b; line-height: 1.35; margin-bottom: 4px; overflow-wrap: break-word; }
.mega-promo-desc { font-size: .70rem; color: #64748b; line-height: 1.5; margin-bottom: 6px; overflow-wrap: break-word; }
.mega-promo-cta  { font-size: .75rem; font-weight: 700; color: #3b82f6; display: flex; align-items: center; gap: 3px; }

/* Próximas fechas en mega-menu */
.mega-fechas { display: flex; flex-direction: column; gap: 6px; }
.mega-fecha-item {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
  background: #fff; border: 1px solid #e8edf3;
  border-radius: 10px; padding: 8px 10px;
  transition: background .15s, border-color .15s;
}
.mega-fecha-item:hover { background: #f1f5f9; border-color: #cbd5e1; }
.mega-fecha-box {
  min-width: 40px; text-align: center;
  background: #3b82f6; border-radius: 8px;
  padding: 4px 6px; color: #fff;
  font-size: .65rem; font-weight: 800; line-height: 1.2;
}
.mega-fecha-box span { font-size: 1rem; font-weight: 900; display: block; }
.mega-fecha-item:nth-child(2) .mega-fecha-box { background: #8b5cf6; }
.mega-fecha-item:nth-child(3) .mega-fecha-box { background: #f59e0b; }
.mega-fecha-name { font-size: .78rem; font-weight: 700; color: #1e293b; }
.mega-fecha-tag  { font-size: .68rem; color: #64748b; }

/* has-cats con promo: 3 columnas */
.mega-inner.has-cats {
  grid-template-columns: 200px 1fr 220px;
  grid-template-rows: minmax(260px, 520px);
  overflow: hidden;
}
/* Los hijos se estiran al alto del row → overflow-y funciona */
.mega-cats,
.mega-items-wrap { min-height: 0; align-self: stretch; }

/* Simple list (sin categorías) */
.mega-simple-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 4px;
}

/* Overlay */
.nav-overlay {
  display: none; position: fixed; inset: 0; top: 72px; z-index: 280;
  background: rgba(15,23,42,.18);
}
.nav-overlay.on { display: block; }

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px; background: #f1f5f9;
  border: 1px solid #e2e8f0; border-radius: 50%;
  cursor: pointer; padding: 0; flex-shrink: 0;
  transition: background .15s, border-color .15s;
}
.hamburger:hover { background: #e2e8f0; border-color: #cbd5e1; }
.hamburger span {
  display: block; width: 16px; height: 2px;
  background: #475569; border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Elimina el delay de 300ms en móvil para todos los elementos interactivos del nav */
.hamburger,
.nav-trigger,
.mob-accord-trigger,
.mob-home-link,
.mob-prog-item,
.mob-cat-tab,
.mob-cta-wrap a,
.nav-cta,
.nav-mob-brand {
  touch-action: manipulation;
}

/* ── MOBILE DRAWER ── */
.mob-drawer {
  position: fixed;
  top: 78px; left: 0; right: 0; bottom: 0; z-index: 295;
  background: #fff;
  overflow-y: auto;
  padding: 0 0 2rem;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .2s cubic-bezier(.4,0,.2,1), visibility .2s;
  pointer-events: none;
}
.mob-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* Acordeón mobile */
.mob-accord { border-bottom: 1px solid #f1f5f9; }
.mob-accord-trigger {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 16px clamp(1rem,4vw,1.5rem);
  background: none; border: none; cursor: pointer;
  font-family: var(--font); font-size: .95rem; font-weight: 700;
  color: #1e293b;
}
.mob-accord-trigger svg { flex-shrink: 0; stroke: #94a3b8; fill: none; transition: transform .22s; }
.mob-accord.open .mob-accord-trigger svg { transform: rotate(180deg); }
.mob-accord-body {
  display: none;
  padding: 0 clamp(1rem,4vw,1.5rem) 16px;
  overflow: visible;
}
.mob-accord.open .mob-accord-body { display: block; }

/* Tabs de categoría en mobile */
.mob-cat-tabs {
  display: flex; gap: 6px; flex-wrap: nowrap;
  overflow-x: auto; padding-bottom: 10px; margin-bottom: 10px;
  scrollbar-width: none;
}
.mob-cat-tabs::-webkit-scrollbar { display: none; }
.mob-cat-tab {
  display: inline-flex; align-items: center; flex-shrink: 0;
  padding: 5px 14px; border-radius: 50px;
  border: 1.5px solid #e2e8f0; background: #fff;
  font-family: var(--font); font-size: .75rem; font-weight: 700;
  color: #64748b; cursor: pointer; transition: all .15s;
  white-space: nowrap;
}
.mob-cat-tab.active { border-color: #3b82f6; background: #eff6ff; color: #3b82f6; }

/* Lista de programas mobile */
.mob-prog-section { display: none; }
.mob-prog-section.active { display: block; }
.mob-prog-list { display: flex; flex-direction: column; gap: 2px; }
.mob-prog-item {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 10px; border-radius: 10px;
  text-decoration: none; color: #374151;
  transition: background .15s;
}
.mob-prog-item:hover, .mob-prog-item:active { background: #f1f5f9; }
.mob-prog-item-icon {
  width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; flex-shrink: 0;
}
.mob-prog-name { font-size: .82rem; font-weight: 600; color: #1e293b; line-height: 1.3; }
.mob-prog-tag  { font-size: .7rem; color: #94a3b8; }

/* Enlace directo mobile */
.mob-direct {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(1rem,4vw,1.5rem);
  text-decoration: none; font-size: .95rem; font-weight: 700;
  color: #1e293b; border-bottom: 1px solid #f1f5f9;
  transition: background .15s;
}
.mob-direct:hover { background: #f8fafc; }
.mob-cta-wrap { padding: clamp(1rem,4vw,1.5rem); }
.mob-cta-btn {
  display: block; width: 100%; text-align: center;
  background: #3b82f6; color: #fff;
  padding: .9rem; border-radius: 14px;
  font-size: .95rem; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 16px rgba(59,130,246,.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .nav-menu, .nav-cta { display: none !important; }
  .hamburger { display: flex; }
}

/* ── HERO ── */
.hero {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-video-bg {
  position: absolute; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.hero-video-bg video {
  position: absolute; top: 50%; left: 50%;
  width: 177.78vh; min-width: 100%;
  height: 56.25vw; min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover; border: none;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 120% 80% at 10% 0%, rgba(255,255,255,.22) 0%, transparent 50%),
    radial-gradient(ellipse 80% 60% at 85% 5%, rgba(147,197,253,.28) 0%, transparent 45%),
    linear-gradient(180deg,
      rgba(0,0,0,0)   0%,
      rgba(0,0,0,.08) 25%,
      rgba(0,0,0,.35) 65%,
      rgba(0,0,0,.55) 100%);
}

/* ── LOGOS CENTRADOS — portada de revista ── */
.hero-logos {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  padding: calc(78px + 1.8rem) clamp(1rem,5vw,3rem) 0;
}
.hero-logo-item {
  display: block;
  flex-shrink: 0;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 36px rgba(0,0,0,.40), 0 2px 8px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
  cursor: pointer;
}
.hero-logo-item:hover { transform: translateY(-3px); box-shadow: 0 14px 44px rgba(0,0,0,.5); }
.hero-logo-item img { display: block; object-fit: cover; }
.hli-ep     { width: 96px;  height: 96px;  border-radius: 14px; }
.hli-aniv   { width: 96px;  height: 96px;  border-radius: 50%; }
.hli-campus { width: 210px; height: 66px;  border-radius: 12px; background: #0f172a; display: flex; align-items: center; justify-content: center; }
.hli-campus img { width: 100%; height: 100%; object-fit: contain; filter: brightness(1.1); }
/* fondo negro de ep/aniv desaparece con multiply sobre el blanco */
.hli-ep   img { mix-blend-mode: multiply; width: 100%; height: 100%; }
.hli-aniv img { mix-blend-mode: multiply; width: 100%; height: 100%; }

/* Separador vertical entre logos */
.hero-logo-sep {
  width: 1px; height: 56px; flex-shrink: 0; margin: 0 18px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.4), transparent);
}

/* ── Hero topbar — pill "inscripciones" alineado a la derecha ── */
.hero-topbar {
  position: absolute; z-index: 4;
  top: calc(78px + .8rem);
  right: clamp(1rem,5vw,3rem);
}
.hero-pill-live {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.25);
  color: #fff; font-size: .72rem; font-weight: 700;
  padding: 5px 14px; border-radius: 50px;
}
.hero-pill-live .live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e; flex-shrink: 0;
  animation: livePulse 2s infinite;
}
@keyframes livePulse { 0%,100%{opacity:1} 50%{opacity:.25} }

/* Botón play */
.hero-play-btn {
  position: absolute; z-index: 3;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 70px; height: 70px; border-radius: 50%;
  background: rgba(255,255,255,.18); backdrop-filter: blur(10px);
  border: 2px solid rgba(255,255,255,.35);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s, opacity .3s;
  box-shadow: 0 0 48px rgba(255,255,255,.12);
}
.hero-play-btn:hover { background: rgba(255,255,255,.28); transform: translate(-50%,-50%) scale(1.1); }
.hero-play-btn.hidden { opacity: 0; pointer-events: none; }
.hero-play-icon {
  width: 0; height: 0; border-style: solid;
  border-width: 11px 0 11px 20px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}

/* ── Copy central ── */
.hero-content {
  position: relative; z-index: 3;
  text-align: center;
  padding: 24px clamp(1rem,5vw,3rem) 0;
  display: flex; flex-direction: column; align-items: center;
  margin-top: auto;
  margin-bottom: 2rem;
}
.hero-eyebrow {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 16px; flex-wrap: wrap;
}
.tag-glass {
  background: rgba(255,255,255,.14); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25); color: #fff;
  font-size: .68rem; font-weight: 800; padding: 3px 10px; border-radius: 50px;
  letter-spacing: .07em; text-transform: uppercase;
}
.tag-blue-glass {
  background: rgba(59,130,246,.28); backdrop-filter: blur(8px);
  border: 1px solid rgba(59,130,246,.45); color: #bfdbfe;
  font-size: .68rem; font-weight: 800; padding: 3px 10px; border-radius: 50px;
  letter-spacing: .07em; text-transform: uppercase;
}
.hero-h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 900; line-height: 1.1; color: #fff;
  letter-spacing: -.03em; margin-bottom: 2px;
  text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.hero-h1-accent {
  display: block;
  font-size: clamp(3rem, 6.5vw, 5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 16px;
  background: linear-gradient(120deg, #bfdbfe 0%, #ddd6fe 50%, #fbcfe8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  text-shadow: none;
}
.hero-p {
  font-size: .95rem; color: rgba(255,255,255,.75); font-weight: 300;
  line-height: 1.65; max-width: 540px; margin-bottom: 18px;
  text-shadow: 0 1px 10px rgba(0,0,0,.3);
}
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 22px; }
.btn-primary {
  display: flex; align-items: center; gap: 8px;
  background: #fff; color: #1e293b;
  padding: 0.72rem 1.5rem; border-radius: 50px;
  font-size: .88rem; font-weight: 800; text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  transition: transform .18s, box-shadow .18s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.4); }
.btn-primary-arrow {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(15,23,42,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem; flex-shrink: 0;
}
.btn-ghost {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,.3); color: #fff;
  padding: 0.72rem 1.3rem; border-radius: 50px;
  font-size: .88rem; font-weight: 600; text-decoration: none;
  transition: background .18s, border-color .18s;
}
.btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.hero-stats {
  display: flex; gap: 0; justify-content: center;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12);
  width: 100%; max-width: 500px;
}
.stat { flex: 1; padding: 0 16px; border-right: 1px solid rgba(255,255,255,.1); }
.stat:last-child { border: none; }
.stat-n { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 900; color: #fff; line-height: 1; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.stat-n span { color: #93c5fd; }
.stat-l { font-size: .65rem; color: rgba(255,255,255,.45); font-weight: 700; margin-top: 2px; letter-spacing: .05em; text-transform: uppercase; }

/* Trust bar */
.hero-trust {
  position: relative; z-index: 3;
  background: #fff; border-top: 3px solid #3b82f6;
  padding: 13px clamp(1.5rem,5vw,4rem);
  display: flex; align-items: center; gap: 0; flex-wrap: wrap; justify-content: center;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  padding: 3px 24px 3px 0; margin-right: 24px;
  border-right: 1px solid #f1f5f9;
  font-size: .78rem; color: #64748b; font-weight: 600; white-space: nowrap;
}
.trust-item:last-child { border: none; padding: 0; margin: 0; }
.trust-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* Responsive */
@media (max-width: 700px) {
  .hero-logos { gap: 0; padding-top: calc(78px + 1.2rem); }
  .hli-ep     { width: 72px; height: 72px; }
  .hli-aniv   { width: 72px; height: 72px; }
  .hli-campus { width: 150px; height: 50px; }
  .hero-logo-sep { margin: 0 10px; height: 40px; }
  .hero-content { text-align: center; padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
  .hero-trust { gap: 8px; padding: 10px clamp(1rem,4vw,1.5rem); }
  .trust-item { border: none; padding: 0; margin: 0; font-size: .72rem; }
}
@media (max-width: 480px) {
  .hero-stats {
    flex-wrap: wrap;
    max-width: 100%;
    padding: 12px 0;
    gap: 0;
  }
  .stat {
    min-width: 50%;
    flex: 0 0 50%;
    padding: 8px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .stat:nth-child(odd)  { border-right: 1px solid rgba(255,255,255,.1); }
  .stat:nth-child(3),
  .stat:nth-child(4)    { border-bottom: none; }
  .stat-n { font-size: 1.7rem; }
  .stat-l { font-size: .6rem; }
}

/* ── SECTION HEADER ── */
.sec-head { text-align: center; margin-bottom: 3rem; }
.sec-head .tag { margin-bottom: 0.8rem; }
.sec-h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800;
  color: var(--slate-900); letter-spacing: -0.02em; line-height: 1.2;
  margin-bottom: 0.8rem;
}
.sec-sub {
  font-size: 1rem; color: var(--slate-500); font-weight: 300;
  max-width: 520px; margin: 0 auto; line-height: 1.7;
}

/* ── FEATURES (WHY) ── */
.features {
  padding: clamp(4rem,8vw,6rem) 0;
  background: linear-gradient(180deg, #fff 0%, #f1f5f9 100%);
}

.feat-circles {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 24px;
}
.feat-circle {
  width: 196px; height: 196px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 24px; text-align: center; position: relative;
  background: transparent;
  border: 2.5px solid #1e3a6e;
  transition: all .28s cubic-bezier(.4,0,.2,1);
}
.feat-circle:hover {
  transform: translateY(-6px);
  background: #1e3a6e;
  box-shadow: 0 16px 40px rgba(30,58,110,.2);
}
.feat-circle:hover .fc-num   { color: rgba(255,255,255,.5); }
.feat-circle:hover .fc-title { color: #fff; }
.feat-circle:hover .fc-desc  { color: rgba(255,255,255,.65); }

.fc-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 14px; }
.fc-num {
  font-size: .58rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #94a3b8; transition: color .28s;
}
.fc-title {
  font-size: 1.05rem; font-weight: 800; color: #1e3a6e;
  line-height: 1.2; text-align: center; transition: color .28s;
}
.fc-desc {
  font-size: .76rem; font-weight: 400; color: var(--slate-500);
  line-height: 1.35; text-align: center; transition: color .28s;
}

@media (max-width: 860px) {
  .feat-circles { gap: 16px; }
  .feat-circle { width: 164px; height: 164px; padding: 20px; }
  .fc-title { font-size: .92rem; }
  .fc-desc  { font-size: .68rem; }
}
@media (max-width: 480px) {
  .feat-circle { width: 146px; height: 146px; padding: 16px; }
  .fc-title { font-size: .82rem; }
  .fc-desc  { display: none; }
}

/* ── PROGRAMS ── */
.programs {
  padding: clamp(4rem,8vw,6rem) 0;
  background: linear-gradient(180deg, #162032 0%, #0c1428 18%);
}
.programs .sec-h2 { color: #fff; }
.programs .sec-sub { color: rgba(255,255,255,.55); }
.programs .tag-rose { background: rgba(244,114,182,.15); color: #f9a8d4; border: none; }

/* Filtros */
.prog-filter {
  display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem;
}
.pf-btn {
  display: flex; align-items: center; gap: 6px;
  padding: .5rem 1.2rem; border-radius: 50px;
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05); color: rgba(255,255,255,.6);
  font-family: var(--font); font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: all .18s;
}
.pf-btn:hover { border-color: rgba(255,255,255,.25); color: #fff; background: rgba(255,255,255,.08); }
.pf-btn.on { background: rgba(59,130,246,.25); border-color: rgba(59,130,246,.5); color: #93c5fd; }
.pf-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }

/* Layout: gráfico izquierda + pastillas derecha */
.prog-layout {
  display: grid; grid-template-columns: 220px 1fr; gap: 3rem; align-items: start;
}

/* Gráfico circular */
.prog-dial-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
  position: sticky; top: 90px;
}
.prog-dial {
  width: 180px; height: 180px; border-radius: 50%;
  background: conic-gradient(#bfdbfe 0deg 49deg, #fecdd3 49deg 271deg, #ddd6fe 271deg 360deg);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(0,0,0,.4);
  transition: background .4s ease;
}
.prog-dial-inner {
  width: 108px; height: 108px; border-radius: 50%; background: #0c1428;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  border: 1px solid rgba(255,255,255,.08);
}
.pdi-num { font-size: 1.8rem; font-weight: 900; color: #fff; line-height: 1; }
.pdi-lbl { font-size: .62rem; font-weight: 700; color: rgba(255,255,255,.4); text-transform: uppercase; letter-spacing: .08em; }

/* Leyenda */
.prog-legend { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.prog-legend-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 600; color: rgba(255,255,255,.55);
}
.prog-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.prog-legend-count { margin-left: auto; font-size: .75rem; color: rgba(255,255,255,.3); font-weight: 600; }

/* Grid de pastillas */
.prog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 7px;
}

/* Pastilla apaisada */
.prog-card {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 60px;
  padding: 9px 16px 9px 9px;
  text-decoration: none; transition: all .18s;
}
.prog-card:hover {
  background: rgba(59,130,246,.12); border-color: rgba(59,130,246,.3);
  transform: translateX(3px); box-shadow: 0 4px 20px rgba(59,130,246,.1);
}

/* Avatar circular — solo iniciales, sin íconos */
.prog-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: .65rem; font-weight: 900; letter-spacing: .04em;
}
.pa-esp {
  background: linear-gradient(135deg, rgba(59,130,246,.3), rgba(37,99,235,.15));
  border: 1px solid rgba(59,130,246,.3); color: #93c5fd;
}
.pa-dip {
  background: linear-gradient(135deg, rgba(244,114,182,.3), rgba(219,39,119,.15));
  border: 1px solid rgba(244,114,182,.3); color: #fbcfe8;
}
.pa-mst {
  background: linear-gradient(135deg, rgba(139,92,246,.3), rgba(109,40,217,.15));
  border: 1px solid rgba(139,92,246,.3); color: #ddd6fe;
}

.prog-info { flex: 1; min-width: 0; }
.prog-type-label { font-size: .65rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.ptl-esp { color: #60a5fa; }
.ptl-dip { color: #f9a8d4; }
.ptl-mst { color: #c4b5fd; }
.prog-name {
  font-size: .85rem; font-weight: 700; color: #e2e8f0;
  line-height: 1.25; margin-bottom: 3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.prog-meta-row { display: flex; gap: 4px; flex-wrap: wrap; }
.prog-meta-pill {
  font-size: .65rem; color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.05); padding: 1px 7px; border-radius: 50px;
}
.prog-arrow { color: rgba(255,255,255,.2); font-size: 1rem; flex-shrink: 0; transition: color .18s; }
.prog-card:hover .prog-arrow { color: #60a5fa; }

.prog-ver-todos {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1.5px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7); padding: .8rem 1.8rem; border-radius: 50px;
  font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: border-color .18s, color .18s;
}
.prog-ver-todos:hover { border-color: rgba(255,255,255,.35); color: #fff; }

@media (max-width: 860px) {
  .prog-layout { grid-template-columns: 1fr; gap: 2rem; }
  .prog-dial-wrap { flex-direction: row; align-items: center; position: static; }
  .prog-dial { width: 120px; height: 120px; flex-shrink: 0; }
  .prog-dial-inner { width: 72px; height: 72px; }
  .pdi-num { font-size: 1.2rem; }
  .prog-legend { gap: 6px; }
}
@media (max-width: 480px) {
  .prog-grid { grid-template-columns: 1fr; }
  .prog-dial-wrap { flex-direction: column; }
  .prog-name { white-space: normal; }
}

/* ── INSTALACIONES ── */
.instalaciones-sec {
  padding: clamp(4rem,8vw,6rem) 0;
  background: var(--slate-50);
}

/* Slider wrapper */
.inst-slider-wrap {
  position: relative; margin-top: 2.5rem;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 12px 48px rgba(0,0,0,.12);
  user-select: none;
}

/* Track de slides */
.inst-track {
  display: flex;
  transition: transform .55s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.inst-slide {
  min-width: 100%; position: relative;
  height: clamp(320px, 55vw, 560px);
  flex-shrink: 0; overflow: hidden;
}
.inst-slide img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.inst-slide.active img { transform: scale(1.03); }

/* Overlay degradado */
.inst-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(0,0,0,.05) 0%,
    rgba(0,0,0,.1)  40%,
    rgba(0,0,0,.55) 100%);
}

/* Caption dentro del slide */
.inst-slide-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px 28px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.inst-slide-label {
  font-size: .78rem; font-weight: 700; color: rgba(255,255,255,.7);
  letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.1); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.15);
  padding: 4px 12px; border-radius: 50px;
}
.inst-slide-counter {
  font-size: .72rem; font-weight: 700; color: rgba(255,255,255,.5);
}

/* Flechas de navegación */
.inst-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.15); backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff; font-size: 1.2rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .18s, transform .18s;
  z-index: 2;
}
.inst-btn:hover { background: rgba(255,255,255,.3); }
.inst-btn.prev { left: 16px; }
.inst-btn.next { right: 16px; }
.inst-btn.prev:hover { transform: translateY(-50%) translateX(-2px); }
.inst-btn.next:hover { transform: translateY(-50%) translateX(2px); }

/* Dots */
.inst-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 7px; z-index: 2;
}
.inst-dot {
  height: 4px; border-radius: 2px; cursor: pointer;
  background: rgba(255,255,255,.4);
  transition: width .35s ease, background .25s;
  width: 20px;
}
.inst-dot.active { width: 36px; background: #fff; }

/* Thumbnails abajo */
.inst-thumbs {
  display: flex; gap: 8px; margin-top: 10px;
}
.inst-thumb {
  flex: 1; height: 72px; border-radius: 10px; overflow: hidden;
  cursor: pointer; position: relative;
  border: 2.5px solid transparent;
  transition: border-color .2s, opacity .2s;
  opacity: .55;
}
.inst-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.inst-thumb.active { border-color: var(--blue-500); opacity: 1; }
.inst-thumb:hover { opacity: .85; }
/* Placeholder cuando no hay imagen */
.inst-thumb-ph {
  width: 100%; height: 100%;
}

@media (max-width: 600px) {
  .inst-slide { height: 260px; }
  .inst-thumbs { gap: 5px; }
  .inst-thumb { height: 52px; }
  .inst-btn { width: 36px; height: 36px; font-size: 1rem; }
}

/* ── CONTACT ── */
.contact-sec {
  padding: clamp(3rem,8vw,6rem) 0;
  background: linear-gradient(135deg, var(--blue-50) 0%, #fff 50%, var(--rose-50) 100%);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem,5vw,4rem);
  align-items: start;
}
.contact-left .sec-h2 { text-align: left; }
.contact-left p { font-size: 0.95rem; color: var(--slate-500); line-height: 1.75; font-weight: 300; margin-top: 0.8rem; margin-bottom: 1.5rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.cd-icon {
  width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.cd-icon.blue { background: var(--blue-100); }
.cd-icon.rose { background: var(--rose-100); }
.cd-text strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--slate-800); }
.cd-text span { font-size: 0.82rem; color: var(--slate-500); }
.form-card {
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: var(--r-lg); padding: clamp(1.2rem,4vw,2rem);
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--slate-900); margin-bottom: 0.3rem; }
.form-card .fc-sub { font-size: 0.85rem; color: var(--slate-500); margin-bottom: 1.5rem; }
.fg { margin-bottom: 1rem; }
.fg label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--slate-700); margin-bottom: 0.3rem; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--slate-200); border-radius: 10px;
  font-family: var(--font); font-size: 0.88rem; color: var(--slate-800);
  outline: none; transition: border-color .18s;
  background: var(--slate-50);
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--blue-400); background: #fff; }
.fg textarea { resize: vertical; min-height: 80px; }
.fg-counter { font-size: .72rem; color: var(--slate-400); text-align: right; margin-top: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }

/* ── VENTANA EMERGENTE DE ÉXITO ── */
.ep-success-overlay {
  display: none; position: fixed; inset: 0; z-index: 10500;
  background: rgba(15,23,42,.55); backdrop-filter: blur(4px);
  align-items: center; justify-content: center; padding: 1rem;
}
.ep-success-overlay.open { display: flex; }
.ep-success-card {
  background: #fff; border-radius: 24px;
  padding: 2.5rem 2rem; max-width: 380px; width: 100%;
  text-align: center;
  box-shadow: 0 32px 80px rgba(0,0,0,.22);
  animation: ep-smc-in .32s cubic-bezier(.34,1.56,.64,1);
}
@keyframes ep-smc-in {
  from { transform: scale(.82); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.ep-success-icon {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.3rem;
  box-shadow: 0 10px 28px rgba(34,197,94,.38);
}
.ep-success-title {
  font-size: 1.35rem; font-weight: 800; color: var(--slate-900); margin-bottom: .5rem;
}
.ep-success-sub {
  font-size: .88rem; color: var(--slate-500); line-height: 1.6; margin-bottom: 1.6rem;
}
.ep-success-btn {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff; border: none; border-radius: 50px;
  padding: .72rem 2rem; font-family: var(--font);
  font-size: .92rem; font-weight: 700; cursor: pointer;
  transition: opacity .15s, transform .15s;
}
.ep-success-btn:hover { opacity: .9; transform: translateY(-1px); }
.form-submit {
  width: 100%; padding: 0.85rem;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff; border: none; border-radius: 50px;
  font-family: var(--font); font-size: 0.92rem; font-weight: 700;
  cursor: pointer; margin-top: 0.5rem;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 18px rgba(59,130,246,.25);
}
.form-submit:hover { opacity: 0.92; transform: translateY(-1px); }

/* ── CONTACT RESPONSIVE ── */
@media (max-width: 768px) {
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .contact-left .sec-h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
}
@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 1.2rem; }
  .contact-detail { gap: 0.6rem; }
  .cd-icon { width: 36px; height: 36px; font-size: .9rem; }
}

/* ── CAMPUS SECTION ── */
.campus-sec {
  background:
    linear-gradient(135deg, #0a0f1e 0%, #0d1f3c 35%, #0f172a 65%, #0a1628 100%);
  padding: 5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}
/* capa de color ambiental */
.campus-sec::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 50%, rgba(167,139,250,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 85% 40%, rgba(244,114,182,.10) 0%, transparent 55%),
    radial-gradient(ellipse 55% 45% at 50% 0%,  rgba(37,99,235,.22)  0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 70% 90%, rgba(52,211,153,.08)  0%, transparent 55%);
  pointer-events: none;
}
/* línea decorativa superior */
.campus-sec::after {
  content: '';
  position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,179,237,.4) 30%, rgba(167,139,250,.5) 50%, rgba(244,114,182,.4) 70%, transparent);
  pointer-events: none;
}
.campus-sec .sec-head { text-align: center; position: relative; }
.campus-sec .tag-blue {
  background: rgba(59,130,246,.18);
  color: #93c5fd;
  border: 1px solid rgba(59,130,246,.3);
  border-radius: 50px;
  padding: 4px 16px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
.campus-sec .sec-h2 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
}
.campus-sec .sec-sub {
  color: #94a3b8;
  max-width: 520px;
  margin: .8rem auto 0;
  font-size: 1rem;
  line-height: 1.6;
}

/* ── MEXICO MAP ── */
.mex-map-wrap {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  background: #06101e;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: 0 0 80px rgba(37,99,235,.12), 0 24px 60px rgba(0,0,0,.5);
  position: relative;
}
.mex-svg { display: block; width: 100%; height: auto; }

/* All states base */
.mex-state {
  fill: #162438;
  stroke: #243d58;
  stroke-width: .7;
  cursor: default;
  transition: fill .18s ease;
}
.mex-state:hover { fill: #1e3452; }

/* Campus states — slightly brighter base + color on hover */
.mex-campus {
  cursor: pointer;
  transition: fill .2s ease, stroke .2s ease, stroke-width .2s ease;
}
.state-nl  { fill: #162d4e; stroke: #2563eb; stroke-width: 1; }
.state-jal { fill: #2e1e08; stroke: #f59e0b; stroke-width: 1; }
.state-pue { fill: #1e1640; stroke: #a78bfa; stroke-width: 1; }
.state-yuc { fill: #2e0e20; stroke: #f472b6; stroke-width: 1; }

.state-nl:hover  { fill: #1e4080; stroke: #60a5fa; stroke-width: 1.5; }
.state-jal:hover { fill: #523010; stroke: #fbbf24; stroke-width: 1.5; }
.state-pue:hover { fill: #352270; stroke: #c4b5fd; stroke-width: 1.5; }
.state-yuc:hover { fill: #5a1538; stroke: #f9a8d4; stroke-width: 1.5; }

/* SVG callout pins — always visible, highlighted on state hover */
.campus-ptr { transition: opacity .2s ease; opacity: .72; }
.campus-ptr.cp-active { opacity: 1; }
.campus-ptr text { stroke: none; }
.ptr-link { cursor: pointer; }
.ptr-link:hover { opacity: .8; }

/* Campus Virtual card */
.campus-virtual-wrap {
  max-width: 920px;
  margin: 1.4rem auto 0;
}
.campus-virtual-card {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: linear-gradient(135deg, rgba(14,165,233,.12) 0%, rgba(99,102,241,.1) 100%);
  border: 1px solid rgba(99,102,241,.35);
  border-radius: 14px;
  padding: 1rem 1.6rem;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.campus-virtual-card:hover {
  background: linear-gradient(135deg, rgba(14,165,233,.2) 0%, rgba(99,102,241,.18) 100%);
  border-color: rgba(99,102,241,.6);
  box-shadow: 0 0 28px rgba(99,102,241,.18);
}
.cv-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(14,165,233,.25), rgba(99,102,241,.25));
  border: 1px solid rgba(99,102,241,.4);
  border-radius: 12px;
  color: #a5b4fc;
}
.cv-icon svg { width: 22px; height: 22px; }
.cv-body { flex: 1; min-width: 0; }
.cv-label { font-size: .95rem; font-weight: 700; color: #c7d2fe; }
.cv-sub   { font-size: .76rem; color: rgba(165,180,252,.55); margin-top: .15rem; }
.cv-btn {
  flex-shrink: 0;
  font-size: .76rem; font-weight: 700; letter-spacing: .06em;
  color: #a5b4fc;
  text-decoration: none;
  background: rgba(99,102,241,.18);
  border: 1px solid rgba(99,102,241,.4);
  border-radius: 8px;
  padding: .45rem 1rem;
  transition: color .16s, background .16s, border-color .16s;
  white-space: nowrap;
}
.cv-btn:hover { color: #fff; background: rgba(99,102,241,.35); border-color: rgba(99,102,241,.7); }

@media (max-width: 640px) {
  .campus-sec { padding: 3rem 0 2.5rem; }
  .campus-virtual-card { flex-wrap: wrap; gap: .9rem; }
  .cv-btn { width: 100%; text-align: center; }
}

/* ── PRÓXIMOS INICIOS ── */
.prox-sec {
  background: #f8fafc;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  padding: 3rem 0;
}
.prox-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 1.8rem;
}
.prox-card {
  display: flex; align-items: center; gap: 12px;
  background: #fff; border: 1px solid var(--slate-200);
  border-radius: 12px; padding: 11px 14px;
  text-decoration: none;
  transition: box-shadow .18s, border-color .18s, transform .18s;
}
.prox-card:hover {
  box-shadow: 0 4px 18px rgba(15,23,42,.08);
  border-color: #bfdbfe;
  transform: translateY(-1px);
}
.prox-fecha {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 42px; height: 46px; border-radius: 10px;
  color: #fff; flex-shrink: 0;
}
.prox-dia  { font-size: 1.15rem; font-weight: 900; line-height: 1; }
.prox-mes  { font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.prox-body { flex: 1; min-width: 0; }
.prox-tipo  { font-size: .62rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 3px; }
.prox-nombre { font-size: .95rem; font-weight: 700; color: var(--slate-800); line-height: 1.25; }
.prox-cta {
  font-size: .72rem; font-weight: 700; color: #3b82f6;
  white-space: nowrap; flex-shrink: 0;
  opacity: 0; transition: opacity .18s;
}
.prox-card:hover .prox-cta { opacity: 1; }

/* collapse */
@media (max-width: 760px) {
  .prox-grid { grid-template-columns: 1fr; gap: 8px; }
  .prox-cta  { display: none; }
}
@media (max-width: 480px) {
  .prox-card { padding: 10px 12px; gap: 10px; }
}

/* ── TIKTOK REELS ── */
.reels-sec {
  background: linear-gradient(145deg, var(--rose-50) 0%, #fff 45%, #fdf4f7 100%);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  position: relative;
}
.reels-sec::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 65% 45% at 50% 100%, rgba(224,85,133,.1) 0%, transparent 65%);
  pointer-events: none;
}
.reels-coverflow {
  position: relative;
  height: 360px;
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px;
  margin-top: .5rem;
}
/* Carta base */
.reel-cf-card {
  position: absolute;
  width: 195px; height: 308px;
  border-radius: 18px;
  background: var(--slate-800) center/cover no-repeat;
  border: 1px solid rgba(255,255,255,.08);
  cursor: pointer;
  transition: all .55s cubic-bezier(.4,0,.2,1);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* Overlay suave encima del thumbnail */
.reel-cf-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.28) 100%);
  border-radius: inherit;
  pointer-events: none;
}
.reel-cf-card[data-pos="center"] {
  transform: translateX(0) scale(1) rotateY(0deg);
  z-index: 5; opacity: 1;
  border-color: var(--rose-400);
  box-shadow: 0 0 0 2px rgba(224,85,133,.25),
              0 24px 56px rgba(224,85,133,.2),
              0 6px 24px rgba(0,0,0,.6);
}
.reel-cf-card[data-pos="right"] {
  transform: translateX(230px) scale(.82) rotateY(-20deg);
  z-index: 3; opacity: .55;
}
.reel-cf-card[data-pos="left"] {
  transform: translateX(-230px) scale(.82) rotateY(20deg);
  z-index: 3; opacity: .55;
}
.reel-cf-card[data-pos="far-right"] {
  transform: translateX(400px) scale(.64) rotateY(-32deg);
  z-index: 1; opacity: .25;
}
.reel-cf-card[data-pos="far-left"] {
  transform: translateX(-400px) scale(.64) rotateY(32deg);
  z-index: 1; opacity: .25;
}
.reel-cf-card[data-pos="hidden"] {
  transform: translateX(0) scale(.35);
  z-index: 0; opacity: 0; pointer-events: none;
}
.reel-cf-inner {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 14px;
  position: relative; z-index: 2;
}
.reel-cf-play {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255,255,255,.6);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s, background .25s, border-color .25s;
}
.reel-cf-card[data-pos="center"] .reel-cf-play {
  width: 62px; height: 62px;
  background: rgba(255,255,255,.25);
  border-color: rgba(255,255,255,.8);
}
.reel-cf-card[data-pos="center"]:hover .reel-cf-play {
  transform: scale(1.1);
  background: rgba(224,85,133,.45);
  border-color: rgba(255,255,255,.9);
}

/* Dots */
.reels-dots {
  display: flex; justify-content: center; align-items: center; gap: 6px;
  margin-top: 2.4rem;
}
.reel-dot {
  height: 6px; width: 6px; border-radius: 3px;
  background: var(--rose-200);
  border: none; cursor: pointer; padding: 0;
  transition: background .35s, width .35s;
}
.reel-dot.active { background: var(--rose-500); width: 24px; }

/* Modal — tamaño moderado, NO pantalla completa */
.reel-modal {
  display: none; position: fixed; inset: 0; z-index: 9999;
  background: rgba(15,23,42,.75); backdrop-filter: blur(10px);
  align-items: center; justify-content: center;
  padding: 16px;
}
.reel-modal.open { display: flex; }
.reel-modal-wrap {
  position: relative;
  width: 340px;
  animation: reelPop .25s ease;
}
@keyframes reelPop {
  from { transform: scale(.92); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.reel-modal-close {
  position: absolute; top: -14px; right: -14px;
  background: var(--rose-500); border: none;
  border-radius: 50%; width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 1;
  box-shadow: 0 4px 14px rgba(224,85,133,.5);
  transition: transform .2s, background .2s;
}
.reel-modal-close:hover { background: var(--rose-400); transform: scale(1.1); }
.reel-modal-inner {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
@media (max-width: 640px) {
  .reels-coverflow { height: 310px; }
  .reel-cf-card { width: 168px; height: 268px; }
  .reel-cf-card[data-pos="right"]     { transform: translateX(148px) scale(.78) rotateY(-16deg); }
  .reel-cf-card[data-pos="left"]      { transform: translateX(-148px) scale(.78) rotateY(16deg); }
  .reel-cf-card[data-pos="far-right"] { transform: translateX(262px) scale(.6) rotateY(-26deg); opacity: .2; }
  .reel-cf-card[data-pos="far-left"]  { transform: translateX(-262px) scale(.6) rotateY(26deg); opacity: .2; }
  .reel-modal-wrap { width: 300px; }
}

/* ── FOOTER ── */
footer {
  background: #1A1B38;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 2.5rem clamp(1.5rem,5vw,4rem) 1.5rem;
}
.footer-inner {
  max-width: 1160px; margin: 0 auto;
  display: grid; grid-template-columns: 260px 1fr auto;
  gap: 3rem; align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Brand */
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo-img {
  height: 100px;
  max-width: 400px;
  width: auto; object-fit: contain;
  filter: saturate(0) brightness(100) opacity(0.85);
}
.footer-tagline { font-size: .8rem; color: rgba(255,255,255,.35); line-height: 1.7; font-weight: 300; }
.footer-sep-pill {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.25);
  border-radius: 50px; padding: 3px 10px;
  font-size: .68rem; font-weight: 700; color: #60a5fa; width: fit-content;
}
.fsp-dot { width: 5px; height: 5px; border-radius: 50%; background: #3b82f6; flex-shrink: 0; }

/* ── SOCIAL ICONS — animación continua flotante + hover color ── */
.footer-social { display: flex; gap: 10px; margin-top: 4px; }

/* Animación de flotación continua escalonada */
@keyframes float1 { 0%,100%{transform:translateY(0)}  50%{transform:translateY(-5px)} }
@keyframes float2 { 0%,100%{transform:translateY(-3px)} 50%{transform:translateY(3px)} }
@keyframes float3 { 0%,100%{transform:translateY(0)}  50%{transform:translateY(-4px)} }
@keyframes float4 { 0%,100%{transform:translateY(-2px)} 50%{transform:translateY(4px)} }

/* Glow pulse continuo */
@keyframes glowPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(96,165,250,0); }
  50%      { box-shadow: 0 0 12px 3px rgba(96,165,250,.25); }
}

.soc-btn {
  position: relative; width: 42px; height: 42px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; overflow: hidden;
  background: transparent;
  border: 1.5px solid rgba(96,165,250,.45);
  transition: border-color .22s, transform .22s;
}
.soc-btn svg {
  width: 18px; height: 18px; fill: rgba(96,165,250,.8);
  transition: fill .22s, transform .22s;
  position: relative; z-index: 1; flex-shrink: 0;
}
/* Fondo de color en hover */
.soc-btn::before {
  content: ''; position: absolute; inset: 0; opacity: 0;
  transition: opacity .22s; border-radius: 9px;
}
.soc-btn:hover { border-color: transparent; transform: translateY(-4px) scale(1.1) !important; animation: none !important; }
.soc-btn:hover svg { fill: #fff; transform: scale(1.1); }
.soc-btn:hover::before { opacity: 1; }

/* Colores hover */
.sb-fb::before { background: #1877f2; box-shadow: 0 0 20px rgba(24,119,242,.5); }
.sb-ig::before { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sb-tk::before { background: #111; }
.sb-li::before { background: #0a66c2; }

/* Animación flotante continua — cada uno con fase distinta */
.soc-btn:nth-child(1) { animation: float1 2.8s ease-in-out infinite, glowPulse 2.8s ease-in-out infinite; }
.soc-btn:nth-child(2) { animation: float2 3.1s ease-in-out infinite .4s, glowPulse 3.1s ease-in-out infinite .4s; }
.soc-btn:nth-child(3) { animation: float3 2.5s ease-in-out infinite .8s, glowPulse 2.5s ease-in-out infinite .8s; }
.soc-btn:nth-child(4) { animation: float4 3.4s ease-in-out infinite .2s, glowPulse 3.4s ease-in-out infinite .2s; }

/* Barra flotante de redes sociales */
.social-float {
  position: fixed;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 940;
}
.social-float .soc-btn {
  background: rgba(15,23,42,.82);
}
@media (max-width: 680px) {
  .social-float { display: none; }
}

/* Links cols */
.footer-cols { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.footer-col { min-width: 90px; }
.footer-col-h {
  font-size: .65rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: .8rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .38rem; }
.footer-col a { font-size: .8rem; color: rgba(255,255,255,.3); text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: #60a5fa; }

/* CTA */
.footer-cta-col { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.footer-cta-btn {
  background: #fff; color: #1A1B38;
  padding: .68rem 1.4rem; border-radius: 50px;
  font-size: .8rem; font-weight: 800; text-decoration: none;
  transition: background .15s, transform .15s; white-space: nowrap;
}
.footer-cta-btn:hover { background: #f1f5f9; transform: translateY(-1px); }
.footer-wa-btn {
  display: flex; align-items: center; gap: 6px;
  border: 1.5px solid rgba(34,197,94,.4); color: #86efac;
  background: rgba(34,197,94,.06);
  padding: .6rem 1.2rem; border-radius: 50px;
  font-size: .78rem; font-weight: 700; text-decoration: none;
  transition: background .15s; white-space: nowrap;
}
.footer-wa-btn:hover { background: rgba(34,197,94,.14); }

/* Bottom */
.footer-bottom {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.2rem; flex-wrap: wrap; gap: .5rem;
}
.footer-bottom span { font-size: .72rem; color: rgba(255,255,255,.2); }
.footer-bottom-links { display: flex; gap: 1.2rem; }
.footer-bottom-links a { font-size: .72rem; color: rgba(255,255,255,.2); text-decoration: none; transition: color .15s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.5); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-cta-col { align-items: flex-start; flex-direction: row; flex-wrap: wrap; grid-column: 1/-1; }
}
@media (max-width: 540px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── REVEAL ON SCROLL ── */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.rv.in { opacity: 1; transform: translateY(0); }

/* ── STICKY MOBILE CTA BAR ── */
.mob-cta-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 400;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -4px 24px rgba(15,23,42,.1);
  gap: 10px;
}
@media (max-width: 860px) {
  .mob-cta-bar { display: flex; }
}
.mob-cta-bar-wa {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  flex: 1; padding: .75rem;
  background: #22c55e; color: #fff;
  border-radius: 14px; text-decoration: none;
  font-size: .88rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(34,197,94,.3);
  transition: background .15s, transform .15s;
}
.mob-cta-bar-wa:active { background: #16a34a; transform: scale(.97); }
.mob-cta-bar-ins {
  display: flex; align-items: center; justify-content: center;
  flex: 1; padding: .75rem;
  background: #3b82f6; color: #fff;
  border-radius: 14px; text-decoration: none;
  font-size: .88rem; font-weight: 700;
  box-shadow: 0 4px 14px rgba(59,130,246,.3);
  transition: background .15s, transform .15s;
}
.mob-cta-bar-ins:active { background: #2563eb; transform: scale(.97); }


/* ── TESTIMONIOS ── (chatbot eliminado) */
/* ── TESTIMONIOS ── */
.testimonios-sec {
  padding: clamp(4rem, 8vw, 6rem) 0;
  background: linear-gradient(180deg, #162032 0%, #0c1428 18%);
  border-top: 1px solid rgba(255,255,255,.06);
}
.testimonios-sec .sec-h2 { color: #fff; }
.testimonios-sec .sec-sub { color: rgba(255,255,255,.55); }
.testimonios-sec .tag-rose { background: rgba(244,114,182,.15); color: #f9a8d4; border: none; }

/* ── SHORTS / TIKTOK TESTIMONIOS ── */
.shorts-grid {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  padding: .5rem 0 1.5rem;
  margin-top: 3rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.18) transparent;
}
.shorts-grid::-webkit-scrollbar { height: 5px; }
.shorts-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,.2); border-radius: 50px; }
.short-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .65rem;
}
.short-frame {
  width: 300px;
  height: 530px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  flex-shrink: 0;
}
.short-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.short-cta-box {
  width: 300px;
  height: 530px;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(20,184,166,.12), rgba(59,130,246,.1));
  border: 1px solid rgba(99,102,241,.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  padding: 2rem;
  text-align: center;
  text-decoration: none;
  color: #fff;
  transition: background .25s, border-color .25s, transform .25s;
}
.short-cta-box:hover {
  background: linear-gradient(145deg, rgba(20,184,166,.22), rgba(59,130,246,.18));
  border-color: rgba(99,102,241,.6);
  transform: translateY(-4px);
}
.short-cta-box svg { color: rgba(255,255,255,.7); }
.short-cta-box p { font-size: .95rem; font-weight: 600; color: rgba(255,255,255,.9); line-height: 1.5; margin: 0; }
.short-cta-box span { font-size: .82rem; color: #7dd3fc; font-weight: 700; letter-spacing: .04em; }

.test-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.test-card {
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--r-lg);
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 8px 32px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.test-card:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,.12);
  box-shadow: 0 16px 48px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.15);
}
.test-stars { display: flex; gap: 3px; }
.test-stars span { color: #fbbf24; font-size: 1rem; }
.test-quote {
  font-size: .93rem; line-height: 1.7;
  color: rgba(255,255,255,.8);
  flex: 1;
  position: relative;
}
.test-quote::before {
  content: '\201C';
  font-size: 3.8rem; line-height: 1;
  color: rgba(96,165,250,.45);
  font-family: Georgia, serif;
  position: absolute; top: -0.7rem; left: -0.3rem;
  pointer-events: none;
}
.test-quote p {
  padding-left: 1.2rem;
  border-left: 2px solid rgba(96,165,250,.35);
}
.test-author { display: flex; align-items: center; gap: .9rem; }
.test-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-400), var(--rose-400));
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,.2);
}
.test-info strong { display: block; font-size: .9rem; font-weight: 700; color: #fff; }
.test-info span { font-size: .78rem; color: rgba(255,255,255,.45); }
.test-badge {
  display: inline-flex; align-items: center;
  font-size: .67rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: .2rem .6rem; border-radius: 50px;
  background: rgba(59,130,246,.2);
  color: #93c5fd;
  border: 1px solid rgba(59,130,246,.3);
  margin-top: .25rem;
}

@media (max-width: 900px) {
  .test-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .test-grid { grid-template-columns: 1fr; }
  .test-card { padding: 1.5rem; }
}

/* ── BANDERA PRÓXIMOS EVENTOS ── */
.events-flag {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: linear-gradient(160deg, #059669 0%, #10b981 100%);
  color: #fff;
  text-decoration: none;
  padding: .9rem .55rem;
  border-radius: 12px 0 0 12px;
  box-shadow: -3px 0 20px rgba(16,185,129,.35);
  z-index: 900;
  transition: transform .2s, box-shadow .2s;
  animation: flag-peek 4s ease-in-out infinite;
}
/* Peek in/out + glow cycle */
@keyframes flag-peek {
  0%        { transform: translateY(-50%) translateX(0);    box-shadow: -3px 0 20px rgba(16,185,129,.35); }
  8%        { transform: translateY(-50%) translateX(-10px); box-shadow: -8px 0 32px rgba(16,185,129,.6); }
  18%       { transform: translateY(-50%) translateX(0);    box-shadow: -3px 0 20px rgba(16,185,129,.35); }
  100%      { transform: translateY(-50%) translateX(0);    box-shadow: -3px 0 20px rgba(16,185,129,.35); }
}
.events-flag:hover {
  animation: none;
  transform: translateY(-50%) translateX(-10px) !important;
  box-shadow: -8px 0 32px rgba(16,185,129,.6);
}
/* Sheen sweep */
.events-flag::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: 200% 0;
  animation: flag-sheen 4s ease-in-out infinite;
}
@keyframes flag-sheen {
  0%,15% { background-position: 200% 0; }
  30%    { background-position: -200% 0; }
  100%   { background-position: -200% 0; }
}
.events-flag-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #fff;
  animation: flag-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
@keyframes flag-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); }
  50%     { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}
.events-flag-text {
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-align: center;
  line-height: 1.35;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  position: relative; z-index: 1;
}
.events-flag-arrow {
  width: 14px; height: 14px;
  transform: rotate(-90deg);
  flex-shrink: 0;
  position: relative; z-index: 1;
  animation: flag-bounce 4s ease-in-out infinite;
}
@keyframes flag-bounce {
  0%,12%,20%,100% { transform: rotate(-90deg) translateX(0); }
  16%             { transform: rotate(-90deg) translateX(3px); }
}
@media (max-width: 860px) {
  .events-flag {
    top: auto;
    bottom: calc(72px + env(safe-area-inset-bottom));
    transform: none;
    animation: flag-peek-mob 4s ease-in-out infinite;
  }
  @keyframes flag-peek-mob {
    0%   { transform: translateX(0); }
    8%   { transform: translateX(-10px); }
    18%  { transform: translateX(0); }
    100% { transform: translateX(0); }
  }
  .events-flag:hover { animation: none; transform: translateX(-10px) !important; }
}
/* ═══════════════════════════════════════════
   LLEVAMOS TU PROGRAMA — Banner institucional
═══════════════════════════════════════════ */
.hosp-sec {
  background: #0a0f1c;
  border-top: 1px solid rgba(255,255,255,.05);
  padding: clamp(3.5rem,6vw,5.5rem) 0;
  position: relative;
  overflow: hidden;
}

/* Textura fondo */
.hosp-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

/* Glow derecho */
.hosp-sec::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,.08) 0%, transparent 65%);
  pointer-events: none;
}

/* Layout split */
.hosp-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem,4vw,3rem);
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* ── IZQUIERDA ── */
.hosp-left {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.hosp-ico-wrap {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(37,99,235,.12);
  border: 1px solid rgba(37,99,235,.25);
  display: flex; align-items: center; justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: .2rem;
}

.hosp-eyebrow {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #3b82f6;
  margin-bottom: .6rem;
}

.hosp-h2 {
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 800;
  color: #f1f5f9;
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}

.hosp-sub {
  font-size: .88rem;
  color: #94a3b8;
  line-height: 1.75;
  max-width: 44ch;
  margin-bottom: 1.25rem;
}

/* Pills de características */
.hosp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.hosp-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  padding: .3rem .8rem;
  border-radius: 50px;
}
.hosp-pill svg { color: #3b82f6; flex-shrink: 0; }

/* ── DERECHA: tarjeta de contacto ── */
.hosp-right { display: flex; justify-content: flex-end; }

.hosp-card {
  background: #111827;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 1.75rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

/* Borde superior azul */
.hosp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #3b82f6, transparent);
}

.hosp-card-head {
  display: flex;
  align-items: center;
  gap: .85rem;
}

.hosp-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(37,99,235,.18);
  border: 1px solid rgba(37,99,235,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  color: #60a5fa;
  letter-spacing: .04em;
  flex-shrink: 0;
}

.hosp-card-name {
  font-size: .92rem;
  font-weight: 700;
  color: #e2e8f0;
  line-height: 1.2;
}
.hosp-card-role {
  font-size: .7rem;
  color: #64748b;
  margin-top: 2px;
}

.hosp-card-msg {
  font-size: .82rem;
  color: #94a3b8;
  line-height: 1.65;
  padding-top: .25rem;
  border-top: 1px solid rgba(255,255,255,.05);
}

/* Botón email */
.hosp-cta {
  display: flex;
  align-items: center;
  gap: .6rem;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  padding: .8rem 1.2rem;
  border-radius: 12px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .01em;
  transition: background .2s, transform .2s;
  word-break: break-all;
}
.hosp-cta:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}
.hosp-cta svg { flex-shrink: 0; }

.hosp-card-note {
  font-size: .68rem;
  color: #64748b;
  text-align: center;
  font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .hosp-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hosp-right { justify-content: stretch; }
}

@media (max-width: 540px) {
  .hosp-left { flex-direction: column; gap: 1rem; }
  .hosp-ico-wrap { width: 44px; height: 44px; }
  .hosp-h2 { font-size: 1.35rem; }
}

/* ════════════════════════════════════════
   MASCOTAS
════════════════════════════════════════ */
.mascotas-sec {
  padding: 5rem 0 6rem;
  background: linear-gradient(170deg, #fff8f0 0%, #fff 45%, #eff6ff 100%);
  position: relative;
  overflow: hidden;
}
.mascotas-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 15% 60%, rgba(251,191,36,.10) 0%, transparent 70%),
    radial-gradient(ellipse 55% 55% at 85% 35%, rgba(59,130,246,.08) 0%, transparent 70%);
  pointer-events: none;
}
.mascotas-head {
  text-align: center;
  margin-bottom: 3.5rem;
  position: relative;
}
.mascotas-head .tag { margin-bottom: .85rem; }
.mascotas-head h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -.035em;
  line-height: 1.12;
  margin-bottom: .7rem;
}
.mascotas-head p {
  font-size: .97rem;
  color: var(--slate-500);
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}
.mascotas-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 860px;
  margin: 0 auto;
  position: relative;
}
.mascota-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.06);
}
.mascota-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(0,0,0,.12);
}
.mascota-stage {
  position: relative;
  height: 310px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}
.mc-enf .mascota-stage { background: linear-gradient(160deg, #dbeafe 0%, #bfdbfe 40%, #93c5fd 100%); }
.mc-med .mascota-stage { background: linear-gradient(160deg, #fef3c7 0%, #fde68a 40%, #fbbf24 100%); }
.mascota-stage::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: inherit;
  filter: blur(0);
}
.mascota-stage::after {
  content: '';
  position: absolute;
  bottom: -2px; left: -5%; right: -5%;
  height: 80px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 40px 40px 0 0;
}
.mascota-img {
  position: relative;
  z-index: 2;
  height: 280px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.15));
  transition: transform .3s ease;
}
.mascota-card:hover .mascota-img { transform: scale(1.04) translateY(-4px); }
.mascota-info {
  padding: 1.1rem 1.75rem 1.75rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .45rem;
}
.mascota-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .3rem .85rem;
  border-radius: 50px;
  margin-bottom: .15rem;
}
.mc-enf .mascota-badge { background: #dbeafe; color: #1d4ed8; }
.mc-med .mascota-badge { background: #fef3c7; color: #b45309; }
.mascota-nombre {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
}
.mc-enf .mascota-nombre { color: #1e40af; }
.mc-med .mascota-nombre { color: #92400e; }
.mascota-rol {
  font-size: .8rem;
  font-weight: 600;
  color: var(--slate-500);
  letter-spacing: .01em;
}
.mascota-desc {
  font-size: .84rem;
  color: var(--slate-500);
  line-height: 1.7;
  font-weight: 300;
  margin-top: .25rem;
}
.mascota-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .8rem;
  font-weight: 700;
  padding: .5rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  margin-top: .5rem;
  transition: background .18s, color .18s;
}
.mc-enf .mascota-link { background: #dbeafe; color: #1d4ed8; }
.mc-enf .mascota-link:hover { background: #bfdbfe; }
.mc-med .mascota-link { background: #fef3c7; color: #b45309; }
.mc-med .mascota-link:hover { background: #fde68a; }
.mascotas-tagline {
  text-align: center;
  margin-top: 2.8rem;
  position: relative;
}
.mascotas-tagline p {
  font-size: .88rem;
  color: var(--slate-400);
  font-style: italic;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
@media (max-width: 640px) {
  .mascotas-duo { grid-template-columns: 1fr; max-width: 380px; gap: 1.5rem; }
  .mascota-stage { height: 260px; }
  .mascota-img { height: 230px; }
  .mascota-nombre { font-size: 1.35rem; }
}

/* ── Buscar programa ── */
.prog-search-wrap { margin-bottom: .85rem; text-align: center; }
.prog-search-input {
  width: 100%; max-width: 420px;
  padding: .6rem 1.1rem .6rem 2.5rem;
  border: 1.5px solid var(--slate-200);
  border-radius: 50px;
  font-family: var(--font);
  font-size: .85rem;
  color: var(--slate-800);
  background: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='6.5' cy='6.5' r='4'/%3E%3Cpath d='m11 11 3 3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: .85rem center;
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.prog-search-input:focus {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(147,197,253,.25);
}
.prog-search-input::placeholder { color: var(--slate-400); }
.prog-ver-mas-wrap { text-align: center; padding: 1rem 0 .25rem; }
.prog-ver-mas-btn {
  font-family: var(--font); font-size: .85rem; font-weight: 700;
  color: var(--slate-700);
  background: #fff;
  border: 1.5px solid var(--slate-200);
  border-radius: 50px;
  padding: .6rem 1.8rem;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.prog-ver-mas-btn:hover { background: var(--slate-50); border-color: var(--slate-400); }
.prog-no-results {
  grid-column: 1/-1; text-align: center;
  padding: 2rem 1rem;
  font-size: .85rem; color: var(--slate-400);
}

/* ════════════════════════════════════════
   IN-COMPANY
════════════════════════════════════════ */
.incompany-sec {
  padding: 5rem 0 6rem;
  background: #f8faff;
  position: relative;
  overflow: hidden;
}
.incompany-sec::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(59,130,246,.1) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: .45;
}
.incompany-sec::after {
  content: '';
  position: absolute;
  top: -160px; right: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,.12) 0%, transparent 65%);
  pointer-events: none;
}
.incompany-body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}
.incompany-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.incompany-feat {
  background: #fff;
  border: 1.5px solid rgba(59,130,246,.1);
  border-radius: 18px;
  padding: 1.3rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.incompany-feat:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(37,99,235,.1);
  border-color: rgba(37,99,235,.25);
}
.incompany-feat-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border: 1px solid #bfdbfe;
  display: flex; align-items: center; justify-content: center;
}
.incompany-feat-text strong {
  display: block;
  font-size: .88rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: .22rem;
  letter-spacing: -.01em;
}
.incompany-feat-text span {
  font-size: .78rem;
  color: var(--slate-500);
  line-height: 1.6;
}
.incompany-card {
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.07);
  border-radius: 24px;
  box-shadow: 0 16px 48px rgba(37,99,235,.12), 0 2px 8px rgba(0,0,0,.05);
  overflow: hidden;
  position: relative;
  z-index: 1;
}
.incompany-card-top {
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #3b82f6 100%);
  padding: 1.6rem 1.8rem 1.4rem;
  position: relative;
  overflow: hidden;
}
.incompany-card-top::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.incompany-card-top::after {
  content: '';
  position: absolute;
  bottom: -30px; left: 20px;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
@keyframes incompany-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.4); }
  50%       { box-shadow: 0 0 0 6px rgba(255,255,255,0); }
}
.incompany-card-top h3 {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: .35rem;
  letter-spacing: -.02em;
  position: relative;
  z-index: 1;
}
.incompany-card-top h3::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #fff;
  flex-shrink: 0;
  animation: incompany-pulse 2s ease-in-out infinite;
}
.incompany-card-top p {
  font-size: .78rem;
  color: rgba(255,255,255,.75);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}
.incompany-card-body {
  font-size: .84rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 1.4rem;
  padding: 1.5rem 1.8rem 0;
}
.incompany-card-footer { padding: 0 1.8rem 1.8rem; }
.incompany-email-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  width: 100%;
  background: #2563eb;
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  padding: .85rem 1rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background .15s, transform .15s, box-shadow .15s;
  margin-bottom: .75rem;
  letter-spacing: -.01em;
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}
.incompany-email-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37,99,235,.38);
}
.incompany-card-note {
  font-size: .7rem;
  color: var(--slate-400);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
}
@media (max-width: 900px) {
  .incompany-body { grid-template-columns: 1fr; gap: 2rem; }
  .incompany-card { max-width: 460px; }
}
@media (max-width: 560px) {
  .incompany-features { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════
   BANDERA SOLICITA INFORMES
════════════════════════════════════════ */
.info-flag {
  position: fixed;
  right: 0;
  top: calc(50% + 96px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: linear-gradient(160deg, #1d4ed8 0%, #2563eb 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  padding: .9rem .55rem;
  border-radius: 12px 0 0 12px;
  box-shadow: -3px 0 20px rgba(37,99,235,.4);
  z-index: 900;
  transition: transform .2s, box-shadow .2s;
  font-family: var(--font);
  animation: infoflag-peek 5s ease-in-out infinite;
}
@keyframes infoflag-peek {
  0%       { transform: translateX(0);     box-shadow: -3px 0 20px rgba(37,99,235,.4); }
  10%      { transform: translateX(-10px); box-shadow: -8px 0 32px rgba(37,99,235,.65); }
  22%      { transform: translateX(0);     box-shadow: -3px 0 20px rgba(37,99,235,.4); }
  100%     { transform: translateX(0);     box-shadow: -3px 0 20px rgba(37,99,235,.4); }
}
.info-flag:hover {
  animation: none;
  transform: translateX(-10px);
  box-shadow: -8px 0 32px rgba(37,99,235,.65);
}
.info-flag::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.2) 50%, transparent 70%);
  background-size: 200% 100%;
  background-position: 200% 0;
  animation: infoflag-sheen 5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes infoflag-sheen {
  0%,18% { background-position: 200% 0; }
  35%    { background-position: -200% 0; }
  100%   { background-position: -200% 0; }
}
.info-flag-icon { position: relative; z-index: 1; flex-shrink: 0; }
.info-flag-text {
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  text-align: center;
  line-height: 1.35;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  position: relative; z-index: 1;
}
.info-flag-arrow {
  width: 14px; height: 14px;
  transform: rotate(-90deg);
  flex-shrink: 0;
  position: relative; z-index: 1;
  animation: infoflag-bounce 5s ease-in-out infinite;
}
@keyframes infoflag-bounce {
  0%,14%,24%,100% { transform: rotate(-90deg) translateX(0); }
  19%             { transform: rotate(-90deg) translateX(3px); }
}
@media (max-width: 600px) {
  .info-flag { display: none; }
  @keyframes infoflag-peek-mob {
    0%   { transform: translateX(0); }
    10%  { transform: translateX(-10px); }
    22%  { transform: translateX(0); }
    100% { transform: translateX(0); }
  }
  .info-flag:hover { animation: none; transform: translateX(-10px); }
}

/* ════════════════════════════════════════
   MODAL SOLICITA INFORMES — floating card
════════════════════════════════════════ */
.info-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,23,42,.45);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.info-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
/* Floating card — same look as .form-card */
.info-modal-drawer {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%) translateX(calc(-100% - 40px));
  width: min(420px, calc(100vw - 48px));
  max-height: min(92vh, 720px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.2), 0 4px 20px rgba(37,99,235,.1);
  padding: clamp(1.4rem,4vw,2rem);
  z-index: 1101;
  opacity: 0;
  transition: transform .35s cubic-bezier(.4,0,.2,1), opacity .3s ease;
}
.info-modal-overlay.open .info-modal-drawer {
  transform: translateY(-50%) translateX(0);
  opacity: 1;
}
.info-modal-close {
  position: absolute;
  top: .85rem;
  right: .85rem;
  background: var(--slate-100);
  border: none;
  border-radius: 8px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--slate-500);
  transition: background .15s, color .15s;
}
.info-modal-close:hover { background: var(--slate-200); color: var(--slate-800); }
.im-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--blue-100);
  color: var(--blue-600);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  border-radius: 100px;
  padding: .3rem .75rem;
  margin-bottom: .85rem;
}
.info-modal-drawer h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -.02em;
  margin-bottom: .3rem;
}
.info-modal-drawer .fc-sub {
  font-size: .85rem;
  color: var(--slate-500);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}
@media (max-width: 600px) {
  .info-modal-drawer {
    left: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(-50%) translateY(30px);
    width: min(480px, 100vw);
    max-height: 90vh;
    border-radius: 20px 20px 0 0;
    opacity: 0;
  }
  .info-modal-overlay.open .info-modal-drawer {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/* ── WhatsApp FAB ── */
.wa-fab {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  z-index: 950;
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.wa-fab:hover { transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,.55); }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }

/* ── COOKIE CONSENT ── */
.cookie-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #1e293b;
  color: rgba(255,255,255,.8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .9rem 1.5rem;
  z-index: 9990;
  font-size: .78rem;
  line-height: 1.5;
  box-shadow: 0 -4px 24px rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.06);
}
.cookie-bar-text { flex: 1; }
.cookie-bar-text a { color: #60a5fa; text-decoration: underline; }
.cookie-bar-btn {
  background: #3b82f6;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: .48rem 1.3rem;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: background .15s, transform .15s;
  flex-shrink: 0;
}
.cookie-bar-btn:hover { background: #2563eb; transform: translateY(-1px); }
@media (max-width: 540px) {
  .cookie-bar { flex-direction: column; align-items: flex-start; gap: .7rem; padding: 1rem; }
  .cookie-bar-btn { align-self: flex-end; }
}
@media (max-width: 860px) { .wa-fab { display: none; } }