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

:root {
  --navy:       #000000;
  --navy-mid:   #111111;
  --navy-light: #1f1f1f;
  --cyan:       #4169E1;
  --cyan-dark:  #2D4DB8;
  --cyan-soft:  #ECF0FE;
  --cyan-rgb:   65, 105, 225;
  --blue-soft:  #EAF1F8;
  --blue-mid:   #BEDAEF;
  --slate:      #4E6E97;
  --border:     #E2E8EE;
  --text:       #111111;
  --muted:      #6C757D;
  --white:      #FFFFFF;
  --off-white:  #F8F9FA;
  --yellow:     #FFB903;
  --radius:     12px;
  --radius-sm:  8px;
  --font-body:  'Montserrat', 'Helvetica Neue', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--navy-light); border-radius: 10px; }

/* ── HEADER ── */
.header { background: var(--navy); position: sticky; top: 0; z-index: 100; border-bottom: 2px solid var(--navy-light); }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; height: 66px; display: flex; align-items: center; justify-content: space-between; }
.logo-group { display: flex; align-items: center; gap: 1rem; cursor: pointer; }
.logo-group img { height: 34px; filter: brightness(0) invert(1); }
.logo-divider { width: 1px; height: 26px; background: rgba(255,255,255,0.18); }
.logo-text strong { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: white; line-height: 1.2; }
.logo-text span { font-size: 10px; color: rgba(255,255,255,0.4); }
.header-nav { display: flex; align-items: center; gap: 0.2rem; }
.nav-btn { background: none; border: none; color: rgba(255,255,255,0.6); font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer; padding: 0.4rem 0.9rem; border-radius: 6px; transition: all 0.2s; }
.nav-btn:hover { background: rgba(255,255,255,0.08); color: white; }
.nav-btn.active { color: white; background: rgba(255,255,255,0.12); font-weight: 600; }
.menu-toggle { background: none; border: none; color: white; cursor: pointer; display: flex; align-items: center; gap: 6px; padding: 0.45rem 0.6rem; transition: all 0.2s; }
.menu-toggle:hover { opacity: 0.75; }
.hamburger { display: flex; flex-direction: column; gap: 4px; width: 16px; }
.hamburger span { display: block; height: 1.5px; background: white; border-radius: 2px; }

/* ── SIDE MENU (nav) ── */
.overlay { position: fixed; inset: 0; background: rgba(0,15,35,0.5); z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.overlay.open { opacity: 1; pointer-events: all; }
.side-menu { position: fixed; top: 0; right: 0; width: 290px; height: 100%; background: white; z-index: 201; transform: translateX(100%); transition: transform 0.32s cubic-bezier(0.4,0,0.2,1); display: flex; flex-direction: column; overflow-y: auto; }
.side-menu.open { transform: translateX(0); }
.side-menu-header { background: var(--navy); padding: 1.25rem 1.5rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid var(--navy-light); flex-shrink: 0; }
.side-menu-header span { color: white; font-weight: 600; font-size: 13px; letter-spacing: 0.04em; }
.close-btn { background: rgba(255,255,255,0.1); border: none; border-radius: 6px; color: white; cursor: pointer; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: background 0.2s; }
.close-btn:hover { background: rgba(255,255,255,0.2); }
.side-nav { padding: 1.4rem; flex: 1; }
.side-nav-section { margin-bottom: 1.75rem; }
.side-nav-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem; display: block; }
.side-nav-link-big { display: block; padding: 0.5rem 0; text-decoration: none; color: var(--navy); font-size: 15px; font-weight: 600; border-bottom: 1px solid var(--border); margin-bottom: 0.3rem; transition: color 0.2s; }
.side-nav-link-big:hover { color: var(--navy-light); }
.side-nav-link { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0.85rem; border-radius: var(--radius-sm); color: var(--text); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; border: none; background: none; width: 100%; text-align: left; text-decoration: none; }
.side-nav-link:hover { background: var(--blue-soft); color: var(--navy); }
.side-nav-link .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--border); flex-shrink: 0; transition: background 0.2s; }
.side-nav-link:hover .dot { background: var(--navy-light); }

/* ── HELP DRAWER ── */
.help-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 300;
  background: var(--navy-light);
  color: white;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 1rem 0.65rem;
  border-radius: 10px 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  transition: background 0.2s, right 0.35s;
  box-shadow: -3px 0 16px rgba(0,35,71,0.15);
}
.help-tab:hover { background: var(--navy-mid); }
.help-tab svg { transform: rotate(90deg); flex-shrink: 0; }

.help-drawer {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(100%);
  z-index: 299;
  width: 320px;
  background: white;
  border-radius: 14px 0 0 14px;
  box-shadow: -6px 0 30px rgba(0,35,71,0.14);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  max-height: 80vh;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-right: none;
}
.help-drawer.open {
  transform: translateY(-50%) translateX(0);
}
.help-drawer-header {
  background: var(--navy);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 14px 0 0 0;
  position: sticky;
  top: 0;
  z-index: 1;
}
.help-drawer-header h3 { color: white; font-size: 14px; font-weight: 700; }
.help-close { background: rgba(255,255,255,0.12); border: none; border-radius: 6px; color: white; cursor: pointer; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; font-size: 15px; transition: background 0.2s; }
.help-close:hover { background: rgba(255,255,255,0.22); }
.help-body { padding: 1.25rem 1.4rem; }
.help-section { margin-bottom: 1.5rem; }
.help-section-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.65rem; }
.help-item { display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.85rem 1rem; border: 1px solid var(--border); border-radius: 9px; margin-bottom: 0.5rem; cursor: pointer; transition: all 0.2s; text-decoration: none; }
.help-item:hover { border-color: var(--navy-light); background: var(--blue-soft); }
.help-item-icon { width: 32px; height: 32px; border-radius: 8px; background: var(--blue-soft); display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.help-item-text strong { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.help-item-text span { font-size: 12px; color: var(--slate); }
.help-divider { height: 1px; background: var(--border); margin: 1.25rem 0; }
.help-contact { background: var(--blue-soft); border-radius: 9px; padding: 1rem 1.1rem; }
.help-contact p { font-size: 13px; color: var(--navy); line-height: 1.6; margin-bottom: 0.75rem; }
.help-contact-row { display: flex; align-items: center; gap: 0.5rem; font-size: 13px; color: var(--slate); margin-bottom: 0.35rem; }
.help-contact-row strong { color: var(--navy); }

/* ── PAGE SYSTEM ── */
.page { display: none; }
.page.active { display: block; }
@keyframes fadeUp { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }
.page.active > section, .page.active .hero, .page.active .main, .page.active .page-hero, .page.active .page-body { animation: fadeUp 0.32s ease both; }

/* ── HERO ── */
/* Hero · Biblioteca EAFIT como fondo con opacidad reducida */
.hero {
  position: relative; overflow: hidden; padding: 5rem 2rem 4.5rem;
  background-color: var(--navy);
  /* Foto de la Biblioteca Luis Echavarría Villegas como fondo principal */
  background-image: url('./ADMISIONES-20260420T185845Z-3-001/ADMISIONES/Bliblioteca%20eafit.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}
.hero::before {
  /* Capa que reduce visualmente la opacidad de la imagen */
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: rgba(0, 0, 0, 0.65);
}
.hero::after {
  /* Halos cyan + línea inferior */
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(to top, var(--cyan) 0 2px, transparent 2px),
    radial-gradient(ellipse at 80% 20%, rgba(var(--cyan-rgb), 0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(var(--cyan-rgb), 0.18) 0%, transparent 50%);
}
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 2; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.13); color: rgba(255,255,255,0.55); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; padding: 5px 13px; border-radius: 50px; margin-bottom: 1.4rem; }
.hero h1 { font-size: clamp(2.6rem, 5.5vw, 4.2rem); font-weight: 700; color: white; line-height: 1.06; letter-spacing: -0.02em; margin-bottom: 0.8rem; text-shadow: 0 2px 16px rgba(0,0,0,0.45); }
.hero h1 em { font-style: normal; font-weight: 300; color: var(--cyan); }
.hero-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.85); max-width: 520px; line-height: 1.7; margin-bottom: 2rem; text-shadow: 0 1px 10px rgba(0,0,0,0.35); }

/* HERO SEARCH */
/* Hero search · Glassmorphism */
.hero-search {
  display: flex; align-items: center; max-width: 100%; margin-bottom: 4.5rem; overflow: hidden;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50px;
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transition: background 0.22s, border-color 0.22s, box-shadow 0.22s, backdrop-filter 0.22s;
}
.hero-search:focus-within {
  background: rgba(255,255,255,0.18);
  border-color: rgba(65,105,225,0.55);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 0 0 4px rgba(65,105,225,0.18), 0 8px 28px rgba(0,0,0,0.22);
}
.hero-search svg { margin-left: 1.2rem; color: rgba(255,255,255,0.7); flex-shrink: 0; }
.hero-search input { flex: 1; background: none; border: none; outline: none; padding: 0.85rem 0.95rem; font-family: var(--font-body); font-size: 14.5px; color: white; }
.hero-search input::placeholder { color: rgba(255,255,255,0.6); }
.hero-search button {
  background: var(--cyan); border: none; padding: 0.6rem 1.3rem; margin: 5px; border-radius: 50px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700; color: white; cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s; white-space: nowrap;
  box-shadow: 0 0 14px rgba(var(--cyan-rgb), 0.35);
}
.hero-search button:hover { background: white; color: var(--cyan-dark); box-shadow: 0 0 18px rgba(var(--cyan-rgb), 0.55); }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }

/* BUTTONS */
.btn-primary { background: white; color: var(--navy); border: none; padding: 0.7rem 1.55rem; min-height: 44px; border-radius: 50px; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none; }
.btn-primary:hover { background: var(--blue-soft); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.14); }
.btn-outline { background: transparent; color: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.24); padding: 0.7rem 1.55rem; min-height: 44px; border-radius: 50px; font-family: var(--font-body); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; }
.btn-outline:hover { border-color: rgba(255,255,255,0.5); color: white; background: rgba(255,255,255,0.06); }
.btn-navy { background: var(--navy); color: white; border: none; padding: 0.7rem 1.55rem; min-height: 44px; border-radius: 50px; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn-navy:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,35,71,0.22); }
.btn-light { background: var(--blue-soft); color: var(--navy); border: 1px solid var(--border); padding: 0.6rem 1.3rem; min-height: 44px; border-radius: 50px; font-family: var(--font-body); font-size: 13px; font-weight: 700; cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.btn-light:hover { background: var(--blue-mid); transform: translateY(-1px); }

/* MAIN */
.main { max-width: 1200px; margin: 0 auto; padding: 0 2rem 5rem; }

/* Stats bar */
.stats-bar { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: -2rem; margin-bottom: 3.5rem; background: white; box-shadow: 0 8px 30px rgba(0,35,71,0.09); position: relative; z-index: 10; }
.stat-item { padding: 1.4rem 1.75rem; border-right: 1px solid var(--border); transition: background 0.2s; }
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--off-white); }
.stat-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
.stat-value { font-size: 1.55rem; font-weight: 700; color: var(--navy); line-height: 1; }
.stat-sub { font-size: 12px; color: var(--slate); margin-top: 0.25rem; }

.section { margin-bottom: 3.75rem; }
.section-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.5rem; gap: 1rem; flex-wrap: wrap; }
.section-title { font-size: 1.7rem; font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
.section-link { font-size: 13px; font-weight: 600; color: var(--slate); text-decoration: none; transition: color 0.2s; }
.section-link:hover { color: var(--navy); }

/* ── INSCRIPCIONES CARD ── */
.inscripciones-card { background: #000000; border-radius: var(--radius); padding: 3.25rem 3.5rem; display: flex; flex-direction: column; gap: 2rem; margin-bottom: 0; position: relative; overflow: hidden; border: 1px solid #1f1f1f; }
.inscripciones-card::before { content: ''; position: absolute; inset: 0; background: transparent; pointer-events: none; }
.inscripciones-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 1; }
.inscripciones-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 0.35rem; }
.inscripciones-title { font-size: 1.55rem; font-weight: 700; color: white; }
.inscripciones-subtitle { font-size: 13px; color: rgba(255,255,255,0.45); margin-top: 0.25rem; }
.inscripciones-buttons { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; position: relative; z-index: 1; }
.ins-btn { background: #0a0a0a; border: 1px solid #1f1f1f; border-radius: var(--radius); padding: 2.75rem 2.75rem 5.5rem; cursor: pointer; transition: all 0.22s; text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; min-height: 320px; position: relative; overflow: hidden; }
.ins-btn:hover { background: #111111; border-color: var(--cyan); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,0.35), 0 0 0 1px rgba(var(--cyan-rgb), 0.45), 0 0 28px rgba(var(--cyan-rgb), 0.22); }
.ins-btn:hover .ins-btn-icon { background: var(--cyan); color: white; transform: scale(1.05); box-shadow: 0 0 18px rgba(var(--cyan-rgb), 0.5); }
.ins-btn-content { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; width: 100%; min-width: 0; }
.ins-btn-icon { width: 60px; height: 60px; border-radius: 14px; background: rgba(65,105,225,0.18); border: 1px solid rgba(65,105,225,0.4); display: flex; align-items: center; justify-content: center; color: var(--cyan); flex-shrink: 0; transition: all 0.28s; }
.ins-btn-text { display: flex; flex-direction: column; align-items: flex-start; text-align: left; width: 100%; }
.ins-btn-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.ins-btn-title { font-size: 2.4rem; font-weight: 700; color: white; line-height: 1.1; letter-spacing: -0.01em; }
.ins-btn-desc { font-size: 14px; color: rgba(255,255,255,0.6); margin-top: 10px; line-height: 1.55; max-width: 90%; }
.ins-btn-arrow { position: absolute; right: 1.75rem; bottom: 1.75rem; width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; color: white; flex-shrink: 0; transition: all 0.22s; }
.ins-btn:hover .ins-btn-arrow { background: var(--cyan); border-color: var(--cyan); color: white; transform: translate(4px, -2px); }

/* ── CALENDARIO FULL-WIDTH ── */
.calendario-full {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 3.75rem;
}
.calendario-header {
  padding: 1.6rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-bottom: 1px solid var(--border);
  background: white;
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.calendario-header:hover { background: var(--off-white); }
.calendario-header-left h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.calendario-header-left p { font-size: 13px; color: var(--slate); margin-top: 2px; }
.cal-toggle-btn {
  display: flex; align-items: center; gap: 7px;
  background: var(--navy); color: white; border: none;
  padding: 0.55rem 1.2rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; pointer-events: none;
}
.calendario-header:hover .cal-toggle-btn { background: var(--navy-mid); }
.cal-toggle-icon { transition: transform 0.3s; }
.cal-toggle-icon.open { transform: rotate(180deg); }

.calendario-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
}
.calendario-body.open { max-height: 2000px; }
.calendario-body-inner { padding: 1.75rem 2rem; }

.cal-tabs { display: flex; gap: 0.5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.cal-tab { padding: 0.45rem 1.1rem; border-radius: 50px; border: 1px solid var(--border); background: white; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--slate); cursor: pointer; transition: all 0.2s; }
.cal-tab.active { background: var(--navy); color: white; border-color: var(--navy); }

.cal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cal-event { background: white; border: 1px solid var(--border); border-radius: 10px; padding: 1.15rem 1.3rem; transition: all 0.2s; border-left: 3px solid var(--navy-light); }
.cal-event:hover { box-shadow: 0 4px 14px rgba(0,35,71,0.08); transform: translateY(-1px); }
.cal-event-date { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-light); margin-bottom: 4px; }
.cal-event-title { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.35; margin-bottom: 4px; }
.cal-event-desc { font-size: 12px; color: var(--slate); line-height: 1.5; }
.cal-event.highlight { border-left-color: var(--navy); background: var(--blue-soft); }

/* Cards */
.card-grid { display: grid; gap: 1rem; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.6rem; transition: all 0.2s; cursor: pointer; }
.card:hover { border-color: var(--navy-light); box-shadow: 0 6px 20px rgba(0,35,71,0.08); transform: translateY(-2px); }
.card-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.45rem; }
.card-title { font-size: 1rem; font-weight: 600; color: var(--navy); margin-bottom: 0.45rem; line-height: 1.3; }
.card-desc { font-size: 13px; color: var(--slate); line-height: 1.6; margin-bottom: 1.1rem; }
.card-action { font-size: 12px; font-weight: 700; color: var(--navy-light); letter-spacing: 0.06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 4px; text-decoration: none; transition: gap 0.2s; }
.card:hover .card-action { gap: 8px; }
.card-icon { width: 40px; height: 40px; border-radius: 9px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; font-size: 18px; background: var(--blue-soft); }

/* Tabs */
.tabs { display: flex; background: var(--off-white); border: 1px solid var(--border); border-radius: 50px; padding: 3px; gap: 2px; }
.tab-btn { padding: 0.45rem 1.2rem; border-radius: 50px; border: none; background: transparent; font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--slate); cursor: pointer; transition: all 0.2s; }
.tab-btn.active { background: var(--navy); color: white; box-shadow: 0 2px 8px rgba(0,35,71,0.18); }

/* Search bar */
.search-bar { position: relative; flex: 1; }
.search-bar input { width: 100%; padding: 0.72rem 1rem 0.72rem 2.5rem; border: 1px solid var(--border); border-radius: 50px; font-family: var(--font-body); font-size: 13.5px; color: var(--text); background: white; outline: none; transition: border-color 0.2s; }
.search-bar input:focus { border-color: var(--navy-light); }
.search-bar svg { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }

/* Tramites */
.tramites-container { background: white; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.tramites-toolbar { padding: 1.1rem 1.4rem; background: var(--off-white); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.tramites-grid { padding: 1.4rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
.tramite-card { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; transition: all 0.2s; cursor: pointer; }
.tramite-card:hover { border-color: var(--navy-light); box-shadow: 0 5px 14px rgba(0,35,71,0.08); transform: translateY(-2px); }
.tramite-type { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-light); margin-bottom: 0.4rem; }
.tramite-title { font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 1.1rem; line-height: 1.4; min-height: 2.6rem; }
.tramite-link { font-size: 11px; font-weight: 800; color: var(--navy-light); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; display: flex; align-items: center; gap: 4px; transition: gap 0.2s; }
.tramite-card:hover .tramite-link { gap: 8px; }

/* ── INNER PAGE HERO ── */
.page-hero { background: var(--navy); padding: 3.5rem 2rem 4.25rem; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: var(--navy-light); }
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; font-size: 12px; color: rgba(255,255,255,0.38); }
.breadcrumb a { color: rgba(255,255,255,0.38); text-decoration: none; cursor: pointer; transition: color 0.2s; }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.38); }
.page-hero h2 { font-size: clamp(1.9rem,4vw,2.9rem); font-weight: 700; color: white; }
.page-hero p { color: rgba(255,255,255,0.48); margin-top: 0.6rem; font-size: 15px; }
.page-body { max-width: 1200px; margin: 0 auto; padding: 2.75rem 2rem 5rem; }

/* Steps */
.step-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.step-item { background: white; padding: 1.3rem 1.55rem; display: flex; gap: 1.1rem; align-items: flex-start; transition: background 0.2s; }
.step-item:hover { background: var(--off-white); }
.step-num { width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: white; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step-content { flex: 1; }
.step-title { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.step-desc { font-size: 13px; color: var(--slate); line-height: 1.6; }
.step-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; padding: 3px 9px; border-radius: 50px; background: var(--blue-soft); color: var(--navy-light); flex-shrink: 0; margin-top: 3px; }

/* Info boxes */
.info-box { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.3rem; }
.info-box-title { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 0.65rem; display: flex; align-items: center; gap: 0.4rem; }
.info-box ul { list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
.info-box ul li { font-size: 13px; color: var(--slate); display: flex; gap: 0.5rem; }
.info-box ul li::before { content: '—'; color: var(--muted); flex-shrink: 0; }

/* ── PROGRAM PAGES ── */
.prog-layout { display: flex; gap: 2rem; align-items: flex-start; flex-wrap: wrap; margin-bottom: 2.5rem; }
.prog-info-box {
  flex: 0 0 280px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.75rem;
  color: white;
  position: sticky;
  top: 86px;
}
.prog-info-box .pib-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.38); margin-bottom: 0.4rem; }
.prog-info-box .pib-title { font-size: 1.45rem; font-weight: 700; color: white; margin-bottom: 0.75rem; line-height: 1.2; }
.prog-info-box .pib-desc { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-bottom: 1.25rem; }
.pib-stat { display: flex; align-items: center; gap: 0.6rem; padding: 0.65rem 0; border-top: 1px solid rgba(255,255,255,0.1); font-size: 13px; color: rgba(255,255,255,0.7); }
.pib-stat strong { color: white; font-weight: 600; margin-left: auto; }
.pib-cta { margin-top: 1.25rem; display: flex; flex-direction: column; gap: 0.5rem; }

.prog-right { flex: 1; min-width: 280px; }

/* Program search + filters */
.prog-search-bar {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}
.prog-search-bar .search-bar { min-width: 220px; }
.prog-filter-select {
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text);
  background: white;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s;
  min-width: 170px;
}
.prog-filter-select:focus { border-color: var(--navy-light); }
.prog-filter-btn {
  background: var(--navy); color: white; border: none;
  padding: 0.6rem 1.25rem; border-radius: 50px;
  font-family: var(--font-body); font-size: 13px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.prog-filter-btn:hover { background: var(--navy-mid); }

/* Program grid */
.prog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.prog-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex; flex-direction: column;
  transition: all 0.2s;
}
.prog-card:hover { border-color: var(--navy-light); box-shadow: 0 6px 20px rgba(0,35,71,0.09); transform: translateY(-2px); }
.prog-card-area { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-light); margin-bottom: 0.45rem; }
.prog-card-title { font-size: 14.5px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 0.85rem; flex: 1; }
.prog-card-meta { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.1rem; }
.prog-meta-item { display: flex; align-items: center; gap: 0.45rem; font-size: 12px; color: var(--slate); }
.prog-meta-item svg { flex-shrink: 0; color: var(--muted); }
.prog-card-btn {
  width: 100%; padding: 0.6rem 1rem; border-radius: 8px;
  background: var(--blue-soft); color: var(--navy);
  border: 1px solid var(--border); font-family: var(--font-body);
  font-size: 12.5px; font-weight: 700; cursor: pointer;
  transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 5px;
}
.prog-card-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }
.no-results { grid-column: 1/-1; text-align: center; padding: 3rem; color: var(--muted); font-size: 15px; }

/* Forms */
.form-group { margin-bottom: 1.1rem; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 0.45rem; }
.form-control { width: 100%; padding: 0.72rem 1rem; border: 1.5px solid var(--border); border-radius: 9px; font-family: var(--font-body); font-size: 14px; color: var(--text); background: white; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.form-control:focus { border-color: var(--navy-light); box-shadow: 0 0 0 3px rgba(0,79,150,0.08); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; padding: 0.88rem; background: var(--navy); color: white; border: none; border-radius: 9px; font-family: var(--font-body); font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 0.6rem; }
.form-submit:hover { background: var(--navy-mid); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0,35,71,0.2); }
.success-msg { display: none; background: #E8F5E9; border: 1px solid #A5D6A7; color: #2E7D32; border-radius: 9px; padding: 0.9rem 1.1rem; font-size: 14px; font-weight: 600; margin-top: 0.9rem; text-align: center; }
.contact-aside { background: var(--navy); border-radius: var(--radius); padding: 1.75rem; color: white; }
.contact-aside h3 { font-size: 15px; font-weight: 600; margin-bottom: 1.25rem; padding-bottom: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-item { display: flex; gap: 0.7rem; margin-bottom: 1.05rem; align-items: flex-start; }
.contact-item-icon { width: 30px; height: 30px; background: rgba(255,255,255,0.09); border-radius: 7px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; }
.contact-item-text { font-size: 13px; color: rgba(255,255,255,0.72); }
.contact-item-text strong { display: block; color: rgba(255,255,255,0.36); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 2px; }

/* ── FLOATING BUTTONS ── */
.fab-stack { position: fixed; bottom: 2rem; right: 1.75rem; display: flex; flex-direction: column; gap: 0.7rem; z-index: 500; }
.fab-btn { width: 48px; height: 48px; min-width: 44px; min-height: 44px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.12); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,0.2); transition: transform 0.2s, box-shadow 0.2s, border-radius 0.2s; position: relative; }
.fab-btn:hover { transform: translateY(-2px) scale(1.07); box-shadow: 0 8px 22px rgba(0,0,0,0.24); }
.fab-btn:hover .fab-tooltip { opacity: 1; transform: translateX(0); }
.fab-wa { background: #25D366; }
.fab-acc { background: var(--navy); }
.fab-tr { background: var(--navy-mid); }
.fab-tooltip { position: absolute; right: calc(100% + 10px); background: var(--navy); color: white; font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transform: translateX(5px); transition: opacity 0.2s, transform 0.2s; }
.fab-tooltip::after { content: ''; position: absolute; right: -5px; top: 50%; transform: translateY(-50%); border: 5px solid transparent; border-right: none; border-left-color: var(--navy); }

/* Footer */
.footer { background: var(--off-white); border-top: 1px solid var(--border); padding: 3.75rem 2rem 2rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.75rem; margin-bottom: 2.75rem; }
.footer-logo img { height: 36px; margin-bottom: 1.1rem; }
.footer-address { font-size: 13px; color: var(--slate); line-height: 1.85; }
.footer-heading { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--navy); margin-bottom: 1.1rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 13px; color: var(--slate); text-decoration: none; transition: color 0.2s; cursor: pointer; }
.footer-links a:hover { color: var(--navy); }
.social-row { display: flex; gap: 0.45rem; margin-bottom: 1.1rem; }
.social-btn { width: 34px; height: 34px; border-radius: 50%; background: white; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 10.5px; font-weight: 700; color: var(--navy); cursor: pointer; transition: all 0.2s; text-decoration: none; }
.social-btn:hover { background: var(--navy); color: white; border-color: var(--navy); }
.footer-bottom { padding-top: 1.4rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-legal { font-size: 11px; color: var(--muted); display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-legal a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: var(--navy); }
.footer-copy { font-size: 11px; color: var(--muted); }

/* ── USER TYPE SELECTOR ── */
.user-type-selector { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; margin-top: 3.5rem; padding-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.08); margin-bottom: 0; position: relative; }
.user-type-selector::before { content: 'Continúa según tu perfil'; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--cyan); padding: 5px 16px; border-radius: 50px; border: 1px solid rgba(255,255,255,0.25); font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: white; box-shadow: 0 4px 14px rgba(var(--cyan-rgb), 0.5), 0 0 0 3px rgba(var(--cyan-rgb), 0.15); }
/* User type cards · Glassmorphism */
.utc {
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius); padding: 1.6rem 1.4rem;
  cursor: pointer; text-align: left; width: 100%;
  background: rgba(255,255,255,0.1);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  backdrop-filter: blur(10px) saturate(150%);
  box-shadow: 0 4px 18px rgba(0,0,0,0.12);
  transition: background 0.28s, border-color 0.28s, transform 0.28s, box-shadow 0.28s, backdrop-filter 0.28s;
}
.utc:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.45);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
}
.utc.selected {
  background: rgba(255,255,255,0.22);
  border-color: var(--cyan);
  box-shadow: 0 0 0 1px var(--cyan), 0 12px 32px rgba(0,0,0,0.28);
}
.utc-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(65,105,225,0.18);
  border: 1px solid rgba(65,105,225,0.4);
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); margin-bottom: 0.9rem;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: all 0.28s;
}
.utc-icon svg { width: 22px; height: 22px; stroke-width: 1.8; }
.utc:hover .utc-icon { background: var(--cyan); color: white; border-color: var(--cyan); }
.utc-title { font-size: 1.05rem; font-weight: 700; color: white; margin-bottom: 0.4rem; display: block; text-shadow: 0 1px 8px rgba(0,0,0,0.28); }
.utc-desc { font-size: 12.5px; color: rgba(255,255,255,0.78); line-height: 1.6; text-shadow: 0 1px 6px rgba(0,0,0,0.22); }

/* SUB-TYPE SELECTOR (Estudiante Activo) */
.subtype-selector { display: none; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1rem; margin-bottom: 0; }
.subtype-selector.visible { display: grid; animation: fadeUp 0.28s ease both; }
.stc { border: 1.5px solid rgba(255,255,255,0.15); border-radius: var(--radius); padding: 1.35rem 1.5rem; cursor: pointer; transition: all 0.2s; background: rgba(255,255,255,0.07); text-align: left; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.stc:hover { border-color: rgba(255,255,255,0.38); background: rgba(255,255,255,0.13); transform: translateY(-1px); }
.stc-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 3px; }
.stc-title { font-size: 1.05rem; font-weight: 700; color: white; }
.stc-desc { font-size: 12px; color: rgba(255,255,255,0.52); margin-top: 2px; line-height: 1.5; }

/* ── ACERCA DE LAYOUT ── */
.acerca-layout { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem; }

/* ── INS-BTN enlarged ── */

/* ── TRAMITE MODAL ── */
.tramite-overlay { position: fixed; inset: 0; background: rgba(0,15,35,0.5); z-index: 400; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.tramite-overlay.open { opacity: 1; pointer-events: all; }
.tramite-modal { position: fixed; bottom: 0; left: 0; right: 0; background: white; z-index: 401; border-radius: 20px 20px 0 0; max-height: 88vh; overflow-y: auto; transform: translateY(100%); transition: transform 0.38s cubic-bezier(0.4,0,0.2,1); }
.tramite-modal.open { transform: translateY(0); }
.tramite-modal-header { background: var(--navy); padding: 1.5rem 1.75rem; display: flex; align-items: center; justify-content: space-between; border-radius: 20px 20px 0 0; position: sticky; top: 0; z-index: 1; }
.tramite-modal-type { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.tramite-modal-title { font-size: 1.25rem; font-weight: 700; color: white; }
.tramite-modal-close { background: rgba(255,255,255,0.12); border: none; border-radius: 8px; color: white; cursor: pointer; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 17px; transition: background 0.2s; flex-shrink: 0; }
.tramite-modal-close:hover { background: rgba(255,255,255,0.22); }
.tramite-modal-body { padding: 1.75rem; max-width: 780px; margin: 0 auto; }
.tramite-modal-desc { font-size: 15px; color: var(--text); line-height: 1.75; margin-bottom: 1.75rem; }
.tramite-steps-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.tramite-steps { display: flex; flex-direction: column; gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-bottom: 1.5rem; }
.tramite-step { background: white; padding: 1.1rem 1.4rem; display: flex; gap: 1rem; align-items: flex-start; }
.tramite-step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: white; font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.tramite-step-text strong { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.tramite-step-text span { font-size: 13px; color: var(--slate); line-height: 1.55; }
.tramite-modal-footer { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* tramite-card clickable */
.tramite-card { cursor: pointer; }

/* Responsive */
@media (max-width: 900px) {
  .prog-layout { flex-direction: column; }
  .prog-info-box { flex: none; width: 100%; position: static; }
  .prog-grid { grid-template-columns: repeat(2, 1fr); }
  .cal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* Fixed background no funciona bien en móvil → usar scroll */
  .hero { background-attachment: scroll; padding: 3.5rem 1.5rem 3.5rem; }
  .page-hero.glass { background-attachment: scroll; }
  /* Guía aspirantes → vertical en móvil */
  .guia-track { flex-direction: column; gap: 1.5rem; align-items: flex-start; }
  .guia-step { flex-direction: row; align-items: center; gap: 1rem; padding: 0; min-width: 100%; text-align: left; }
  .guia-step h5 { margin-top: 0; max-width: none; flex: 1; text-align: left; }
  .guia-step:not(:last-child)::after { top: 60px; left: 30px; width: 2px; height: calc(100% - 30px); }
  .cta-inscribirse-band { padding: 1.75rem 1.5rem; flex-direction: column; align-items: flex-start; text-align: left; }
  .cta-inscribirse-btn { width: 100%; justify-content: center; }
  .acerca-stacked { padding: 0 1rem; }
  .acerca-stacked .card { padding: 1.5rem 1.25rem; }
  /* Forms apilados en móvil */
  .acerca-stacked form > div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
  /* CTAs apilados → ancho completo */
  .pib-cta { gap: 0.65rem; }
  .pib-cta button { width: 100%; }
  .big-section-title { padding: 0 1rem; margin: 2.5rem auto 1.5rem; }
  .stats-bar { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:last-child { border-bottom: none; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .tramites-grid, .prog-grid, .cal-grid { grid-template-columns: 1fr; }
  .inscripciones-buttons { grid-template-columns: 1fr; }
  .ins-btn { padding: 2rem 1.75rem 4.75rem; min-height: 260px; }
  .ins-btn-title { font-size: 1.85rem; }
  .ins-btn-icon { width: 52px; height: 52px; }
  .ins-btn-icon svg { width: 26px; height: 26px; }
  .ins-btn-arrow { right: 1.25rem; bottom: 1.25rem; width: 42px; height: 42px; }
  .ins-btn-desc { max-width: 100%; }
  .ins-btn-desc { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .header-nav { display: none; }
  .fab-stack { bottom: 1.25rem; right: 1rem; }
  .help-drawer { width: 290px; }
  .help-tab { display: none; }
  .user-type-selector { grid-template-columns: 1fr; }
  .subtype-selector { grid-template-columns: 1fr; }
  .tramite-modal { border-radius: 16px 16px 0 0; }
  .tramite-modal-body { padding: 1.25rem; }
  .acerca-layout { grid-template-columns: 1fr; }
  .acerca-info-sub { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
  .acerca-stats { grid-template-columns: 1fr !important; }
}

/* ════════════════════ FLUJO DE INSCRIPCIÓN (Wizard) ════════════════════ */
.flow-wrap { max-width: 1080px; margin: 0 auto; padding: 2.75rem 2rem 5rem; }
.flow-route-bar { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.4rem; font-size: 12px; color: var(--muted); }
.flow-route-bar strong { color: var(--navy); font-weight: 700; }
.flow-route-bar .pill { background: var(--cyan-soft); color: var(--cyan-dark); padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.flow-route-bar .pill.alt { background: #111; color: var(--cyan); }

/* Stepper */
.flow-stepper { display: flex; align-items: stretch; gap: 0; background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.5rem; margin-bottom: 1.75rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.flow-step { flex: 1 1 0; min-width: 130px; display: flex; align-items: center; gap: 0.65rem; padding: 0.7rem 0.85rem; border-radius: 9px; cursor: default; transition: background 0.18s; position: relative; }
.flow-step .fs-num { width: 26px; height: 26px; border-radius: 50%; background: white; border: 1.5px solid var(--border); color: var(--muted); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.2s; }
.flow-step .fs-label { font-size: 12px; font-weight: 600; color: var(--muted); line-height: 1.2; white-space: nowrap; }
.flow-step.active { background: white; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.flow-step.active .fs-num { background: var(--navy); border-color: var(--navy); color: white; }
.flow-step.active .fs-label { color: var(--navy); font-weight: 700; }
.flow-step.done { cursor: pointer; }
.flow-step.done .fs-num { background: var(--cyan); border-color: var(--cyan); color: white; }
.flow-step.done .fs-label { color: var(--text); }
.flow-step.done:hover { background: rgba(65,105,225,0.08); }
.flow-step + .flow-step::before { content: ''; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: var(--border); transform: translateY(-50%); }

/* Panel */
.flow-panel { background: white; border: 1px solid var(--border); border-radius: var(--radius); padding: 2.25rem 2.5rem; min-height: 360px; display: none; animation: fadeUp 0.3s ease both; }
.flow-panel.active { display: block; }
.flow-panel-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 0.4rem; }
.flow-panel h3 { font-size: 1.55rem; font-weight: 700; color: var(--navy); margin-bottom: 0.55rem; letter-spacing: -0.01em; }
.flow-panel > p.lead { font-size: 14.5px; color: var(--slate); line-height: 1.7; margin-bottom: 1.6rem; max-width: 640px; }

/* Option cards inside panels */
.flow-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.9rem; margin-bottom: 1.5rem; }
.flow-option { background: white; border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem 1.35rem; text-align: left; cursor: pointer; transition: all 0.2s; display: flex; gap: 0.85rem; align-items: flex-start; font-family: var(--font-body); }
.flow-option:hover { border-color: var(--cyan); background: rgba(65,105,225,0.05); transform: translateY(-2px); }
.flow-option.selected { border-color: var(--navy); background: var(--cyan-soft); }
.flow-option-icon { width: 38px; height: 38px; border-radius: 9px; background: var(--cyan-soft); border: 1px solid rgba(65,105,225,0.25); display: flex; align-items: center; justify-content: center; color: var(--cyan-dark); flex-shrink: 0; }
.flow-option-text strong { display: block; font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.flow-option-text span { font-size: 12.5px; color: var(--slate); line-height: 1.5; }

/* Info / Más información panel */
.flow-info-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.flow-info-card { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem 1.35rem; }
.flow-info-card h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 0.7rem; display: flex; align-items: center; gap: 0.4rem; }
.flow-info-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.45rem; }
.flow-info-card li { font-size: 13px; color: var(--slate); display: flex; gap: 0.5rem; }
.flow-info-card li::before { content: '—'; color: var(--cyan-dark); }

/* Footer actions */
.flow-actions { display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; padding-top: 1.4rem; border-top: 1px solid var(--border); margin-top: 1.5rem; }
.flow-btn { padding: 0.72rem 1.5rem; min-height: 44px; border-radius: 50px; border: 1px solid var(--border); background: white; font-family: var(--font-body); font-size: 13.5px; font-weight: 700; color: var(--navy); cursor: pointer; transition: all 0.2s; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.flow-btn:hover { border-color: var(--navy); }
.flow-btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.flow-btn.primary { background: var(--navy); color: white; border-color: var(--navy); }
.flow-btn.primary:hover { background: #000; }
.flow-btn.cyan { background: var(--cyan); color: white; border-color: var(--cyan); }
.flow-btn.cyan:hover { background: var(--cyan-dark); color: white; border-color: var(--cyan-dark); }

/* Feedback */
.flow-feedback { text-align: center; padding: 1rem 1rem 0.5rem; }
.flow-feedback-icon { width: 86px; height: 86px; margin: 0 auto 1.25rem; border-radius: 50%; background: var(--cyan-soft); border: 2px solid var(--cyan); display: flex; align-items: center; justify-content: center; color: var(--cyan-dark); }
.flow-feedback h3 { font-size: 1.6rem; }
.flow-feedback .ref { display: inline-block; margin-top: 0.5rem; padding: 6px 14px; border-radius: 50px; background: var(--off-white); border: 1px solid var(--border); font-family: monospace; font-size: 13px; color: var(--navy); letter-spacing: 0.04em; }
.flow-feedback-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin: 1.75rem auto 0; max-width: 620px; }
.flow-feedback-grid > div { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.85rem; text-align: left; }
.flow-feedback-grid strong { display: block; font-size: 11px; font-weight: 700; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.flow-feedback-grid span { font-size: 13px; color: var(--navy); font-weight: 600; }

/* ════════════════════ PAGE-HERO con glass + imagen (subpáginas) ════════════════════ */
.page-hero.glass {
  background-image: url('./ADMISIONES-20260420T185845Z-3-001/ADMISIONES/Bliblioteca%20eafit.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.page-hero.glass::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.65) 100%),
    radial-gradient(ellipse at 75% 25%, rgba(var(--cyan-rgb), 0.32) 0%, transparent 60%);
  z-index: 0;
}
.page-hero.glass .page-hero-inner { position: relative; z-index: 1; }
.page-hero.glass h2 { text-shadow: 0 2px 14px rgba(0,0,0,0.5); }
.page-hero.glass p { color: rgba(255,255,255,0.85); text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.page-hero.glass .breadcrumb a, .page-hero.glass .breadcrumb span { color: rgba(255,255,255,0.7); }

/* Big section title (entre hero y catálogo) */
.big-section-title {
  max-width: 1200px; margin: 3.5rem auto 2rem; padding: 0 2rem;
}
.big-section-title h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800; color: var(--navy); letter-spacing: -0.025em; line-height: 1.05;
}
.big-section-title p { font-size: 15px; color: var(--slate); margin-top: 0.7rem; max-width: 620px; line-height: 1.65; }

/* Guía de aspirantes (timeline visual) */
.guia-aspirantes { max-width: 1200px; margin: 4rem auto 4rem; padding: 0 2rem; text-align: center; }
.guia-aspirantes h3 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: var(--navy); letter-spacing: -0.02em; margin-bottom: 2.5rem; line-height: 1.1; }
.guia-track { display: flex; align-items: flex-start; justify-content: space-between; gap: 0; max-width: 1100px; margin: 0 auto; position: relative; }
.guia-step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0.5rem; position: relative; }
.guia-step-num { width: 60px; height: 60px; border-radius: 50%; background: white; border: 2.5px solid var(--navy); color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; flex-shrink: 0; transition: all 0.25s; position: relative; z-index: 2; }
.guia-step:hover .guia-step-num { background: var(--cyan); border-color: var(--cyan); color: white; box-shadow: 0 0 0 6px rgba(var(--cyan-rgb), 0.15), 0 6px 20px rgba(var(--cyan-rgb), 0.35); transform: scale(1.05); }
.guia-step h5 { font-size: 14px; font-weight: 600; color: var(--navy); margin-top: 1.1rem; line-height: 1.45; max-width: 200px; }
.guia-step:not(:last-child)::after { content: ''; position: absolute; top: 30px; left: calc(50% + 30px); width: calc(100% - 60px); height: 2px; background: var(--navy); z-index: 1; }
.guia-cta { margin-top: 2.75rem; }

/* Botón "Inscribirse" prominente (post-calendario) */
.cta-inscribirse-band {
  max-width: 1200px; margin: 0 auto 4rem; padding: 2.25rem 2.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius); border: 1px solid rgba(var(--cyan-rgb), 0.35);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
}
.cta-inscribirse-band h4 { font-size: 1.35rem; font-weight: 700; color: white; margin-bottom: 0.3rem; }
.cta-inscribirse-band p { font-size: 13.5px; color: rgba(255,255,255,0.7); }
.cta-inscribirse-btn {
  background: var(--cyan); color: white; border: none;
  padding: 1rem 2.5rem; min-height: 52px; border-radius: 50px; font-family: var(--font-body);
  font-size: 15px; font-weight: 800; cursor: pointer; letter-spacing: 0.02em;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  transition: all 0.22s; box-shadow: 0 0 0 1px rgba(var(--cyan-rgb), 0.4), 0 8px 24px rgba(var(--cyan-rgb), 0.35);
}
.cta-inscribirse-btn:hover { background: white; color: var(--cyan-dark); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--cyan), 0 12px 30px rgba(var(--cyan-rgb), 0.5); }

/* Acerca de + Form a ancho completo (apilado) */
.acerca-stacked { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.acerca-stacked .card { padding: 2.25rem 2.5rem; }

/* Trámites · hover con flecha animada */
.tramite-card { position: relative; padding-left: 1.8rem; transition: all 0.25s; overflow: hidden; }
.tramite-card::before {
  content: '→'; position: absolute; left: -28px; top: 50%; transform: translateY(-50%);
  font-size: 22px; font-weight: 800; color: var(--cyan); opacity: 0;
  transition: left 0.28s cubic-bezier(0.4,0,0.2,1), opacity 0.22s;
}
.tramite-card:hover::before { left: 0.65rem; opacity: 1; }
.tramite-card:hover { border-color: var(--cyan); box-shadow: 0 0 0 1px rgba(var(--cyan-rgb), 0.4), 0 12px 28px rgba(var(--cyan-rgb), 0.18); transform: translateY(-2px); padding-left: 2.4rem; }

/* Trámite expandible (flujo image_d45f7d.png integrado) */
.tramite-card .tramite-expand {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, margin 0.3s, padding 0.3s;
  background: var(--cyan-soft); border-radius: 9px; margin: 0; padding: 0 1rem;
}
.tramite-card.expanded .tramite-expand { max-height: 600px; margin-top: 0.9rem; padding: 1rem 1.1rem; }
.tramite-expand-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-dark); margin-bottom: 0.6rem; }
.tramite-expand-steps { display: flex; flex-direction: column; gap: 0.45rem; }
.tramite-expand-steps li { font-size: 12.5px; color: var(--navy); line-height: 1.55; display: flex; gap: 0.55rem; list-style: none; }
.tramite-expand-steps li strong { color: var(--cyan-dark); flex-shrink: 0; }

/* Búsqueda manual con lupa (selección de certificado/trámite) */
.flow-search { position: relative; margin-bottom: 1rem; }
.flow-search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.flow-search input { width: 100%; padding: 0.85rem 1rem 0.85rem 2.6rem; border: 1.5px solid var(--border); border-radius: 50px; font-family: var(--font-body); font-size: 14px; color: var(--text); background: white; outline: none; transition: border-color 0.2s, box-shadow 0.2s; }
.flow-search input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(65,105,225,0.12); }
.flow-search-meta { font-size: 12px; color: var(--muted); margin: 0.5rem 0 1rem; }

/* Lista de resultados (certificados/trámites) */
.flow-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 0.75rem; max-height: 380px; overflow-y: auto; padding: 2px; }
.flow-list::-webkit-scrollbar { width: 6px; }
.flow-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
.flow-list-empty { grid-column: 1/-1; text-align: center; padding: 2rem; color: var(--muted); font-size: 14px; }

/* Timeline (Información por pasos · Despliegue de línea de tiempo) */
.flow-timeline { position: relative; padding: 1rem 0 0.5rem; margin-bottom: 1.4rem; overflow-x: auto; }
.flow-timeline-track { display: flex; align-items: flex-start; gap: 0; min-width: max-content; padding: 0 0.5rem; }
.flow-tl-node { display: flex; flex-direction: column; align-items: center; min-width: 170px; max-width: 200px; text-align: center; position: relative; padding: 0 0.5rem; }
.flow-tl-dot { width: 38px; height: 38px; border-radius: 50%; background: white; border: 2px solid var(--border); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; flex-shrink: 0; transition: all 0.25s; position: relative; z-index: 1; }
.flow-tl-node.done .flow-tl-dot { background: var(--cyan); border-color: var(--cyan); color: white; }
.flow-tl-node.active .flow-tl-dot { background: var(--navy); border-color: var(--navy); color: white; box-shadow: 0 0 0 5px rgba(14,103,199,0.12); }
.flow-tl-node h5 { font-size: 13px; font-weight: 700; color: var(--navy); margin: 0.65rem 0 0.25rem; line-height: 1.3; }
.flow-tl-node p { font-size: 12px; color: var(--slate); line-height: 1.5; }
/* Línea conectora */
.flow-tl-node:not(:last-child)::after { content: ''; position: absolute; top: 19px; left: calc(50% + 19px); width: calc(100% - 38px); height: 2px; background: var(--border); z-index: 0; }
.flow-tl-node.done:not(:last-child)::after { background: var(--cyan); }

/* CTA grande para "Realizar Trámite" */
.flow-cta-card { background: var(--off-white); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; margin-top: 1.25rem; display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; }
.flow-cta-card .cta-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--cyan-soft); border: 1px solid rgba(65,105,225,0.25); color: var(--cyan-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.flow-cta-card .cta-text { flex: 1; min-width: 200px; }
.flow-cta-card .cta-text strong { display: block; font-size: 15px; color: var(--navy); margin-bottom: 3px; }
.flow-cta-card .cta-text span { font-size: 13px; color: var(--slate); line-height: 1.5; }

/* Responsive: stepper vertical en móvil */
@media (max-width: 768px) {
  .flow-wrap { padding: 2rem 1rem 4rem; }
  .flow-stepper { flex-direction: column; gap: 0.25rem; padding: 0.5rem; }
  .flow-step { min-width: 100%; }
  .flow-step + .flow-step::before { display: none; }
  .flow-step .fs-label { white-space: normal; }
  .flow-panel { padding: 1.5rem 1.25rem; min-height: 300px; }
  .flow-info-grid { grid-template-columns: 1fr; }
  .flow-feedback-grid { grid-template-columns: 1fr; }
  .flow-actions { flex-direction: column-reverse; }
  .flow-actions .flow-btn { width: 100%; justify-content: center; }
  /* Timeline → vertical */
  .flow-timeline { overflow: visible; }
  .flow-timeline-track { flex-direction: column; min-width: 0; gap: 0.6rem; padding: 0; }
  .flow-tl-node { flex-direction: row; align-items: flex-start; min-width: 100%; max-width: 100%; text-align: left; gap: 0.85rem; padding: 0.5rem 0; }
  .flow-tl-node h5 { margin-top: 0; }
  .flow-tl-node h5, .flow-tl-node p { text-align: left; }
  .flow-tl-node-text { flex: 1; }
  .flow-tl-node:not(:last-child)::after { top: 38px; left: 19px; width: 2px; height: calc(100% - 19px); }
  .flow-cta-card { flex-direction: column; align-items: flex-start; }
}

/* ════════════════════════════════════════════════════════════════════
   HERO SEARCH — Dropdown de sugerencias
   ════════════════════════════════════════════════════════════════════ */
.hero-search { position: relative; overflow: visible; }
.hero-suggest {
  position: absolute;
  top: calc(100% + 8px); left: 0; right: 0;
  background: white;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0,0,0,0.18), 0 4px 12px rgba(0,0,0,0.08);
  max-height: 420px;
  overflow-y: auto;
  z-index: 200;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity 0.18s, transform 0.18s;
  text-align: left;
}
.hero-suggest.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.hero-suggest-group {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); padding: 0.85rem 1.1rem 0.4rem;
  position: sticky; top: 0; background: white; z-index: 1;
}
.hero-suggest-group:not(:first-child) { border-top: 1px solid var(--border); margin-top: 0.25rem; padding-top: 0.85rem; }
.hero-suggest-item {
  display: flex; align-items: center; gap: 0.85rem;
  padding: 0.7rem 1.1rem;
  text-decoration: none; color: inherit;
  border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.hero-suggest-item:hover, .hero-suggest-item:focus {
  background: var(--off-white); border-left-color: var(--cyan); outline: none;
}
.hero-suggest-icon { font-size: 18px; width: 28px; text-align: center; flex-shrink: 0; }
.hero-suggest-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; flex: 1; }
.hero-suggest-text strong { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.3; }
.hero-suggest-sub { font-size: 12px; color: var(--slate); line-height: 1.4; }
.hero-suggest-empty {
  padding: 1.1rem 1.2rem; font-size: 13px; color: var(--slate); text-align: center;
}
.hero-suggest-empty strong { color: var(--navy); }

/* Responsive móvil */
@media (max-width: 768px) {
  .hero-suggest { max-height: 360px; }
  .hero-suggest-item { padding: 0.65rem 0.9rem; gap: 0.65rem; }
  .hero-suggest-text strong { font-size: 13.5px; }
  .hero-suggest-sub { font-size: 11.5px; }
}
