/* ============================================================
  ISTRA - STYLE.CSS (LIGHT + ELEGANTE)
  - Fondo claro, sobrio y moderno
  - Acentos del logo (amarillo/rojo) de forma controlada
  - Animaciones suaves y ordenadas
============================================================ */

/* ============================================================
  1) VARIABLES / BASE
============================================================ */
:root{
  --bg: #f6f7fb;
  --bg-2: #ffffff;
  --card: #ffffff;
  --border: rgba(16, 24, 40, .12);

  --text: #0f172a;
  --muted: rgba(15, 23, 42, .72);

  /* Acentos (controlados) */
  --accent: #f2c94c;   /* amarillo */
  --accent-2: #d92d20; /* rojo elegante */
  --accent-3: #111111; /* negro/neutral */

  --shadow: 0 18px 45px rgba(2, 6, 23, .12);
  --shadow-sm: 0 10px 22px rgba(2, 6, 23, .08);

  --radius: 18px;
  --radius-sm: 12px;

  --container: 1120px;
  --ease: cubic-bezier(.2,.8,.2,1);

  --headerH: 76px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 18% 0%, rgba(242,201,76,.18), transparent 60%),
    radial-gradient(900px 520px at 85% 14%, rgba(217,45,32,.10), transparent 60%),
    var(--bg);
  color: var(--text);
}

/* ============================================================
  2) UTILIDADES GENERALES
============================================================ */
.container{
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}
a{ color: inherit; text-decoration: none; }
a:hover{ opacity: .92; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  transition: transform .18s var(--ease), background .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
  user-select: none;
  font-weight: 600;
}
.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: linear-gradient(180deg, rgba(242,201,76,1), rgba(242,201,76,.82));
  color: #111;
  border-color: rgba(242,201,76,.55);
  box-shadow: 0 12px 26px rgba(242,201,76,.18);
}
.btn-primary:hover{ transform: translateY(-1px); box-shadow: 0 16px 34px rgba(242,201,76,.26); }

.btn-ghost{
  background: rgba(255,255,255,.70);
}
.btn-ghost:hover{
  background: rgba(255,255,255,.95);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.btn-block{ width: 100%; }

.badge{
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.78);
  color: rgba(15,23,42,.70);
  font-size: 13px;
}

/* ============================================================
  3) HEADER / NAVBAR
============================================================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(246,247,251,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(16, 24, 40, .08);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
  min-height: var(--headerH);
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-logo{
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand-text{ display: flex; flex-direction: column; line-height: 1.05; }
.brand-title{ font-weight: 800; letter-spacing: .6px; }
.brand-subtitle{ font-size: 12px; color: var(--muted); }

.nav{
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav a{
  font-size: 14px;
  color: rgba(15,23,42,.80);
  padding: 10px 10px;
  border-radius: 12px;
  transition: background .18s var(--ease);
}
.nav a:hover{ background: rgba(15,23,42,.06); }

.nav-toggle{
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.72);
}
.nav-toggle span{
  display: block;
  width: 18px;
  height: 2px;
  background: rgba(15,23,42,.86);
  margin: 4px auto;
  border-radius: 99px;
}
/* ============================================================
  NAV - LINK ACTIVO
============================================================ */
.nav a.is-active{
  background: rgba(244, 195, 66, .35);
  border: 1px solid rgba(244, 195, 66, .55);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
}
/* ============================================================
  4) HERO (ahora con banner)
============================================================ */
/* ============================================================
  HERO BANNER (FULL WIDTH)
  - Tipo plantilla institucional (como ejemplos)
  - Imagen de fondo + overlay
  - Panel login sólido y elegante
============================================================ */

/* ============================================================
  HERO BANNER (IMAGEN 100% VISIBLE + CONTENIDO ABAJO)
============================================================ */

.heroBanner{
  position: relative;
  padding: 0 0 38px;
}

/* --- Banner solo imagen --- */
.heroBanner-image{
  height: clamp(260px, 38vw, 420px);
  background-image: url("../img/hero-banner.jpg");
  background-size: cover;
  background-repeat: no-repeat;

  /* 👇 BAJA LA IMAGEN (ajustable) */
  background-position: center 18%;

  position: relative;
  border-bottom: 1px solid rgba(16,24,40,.10);
}

/* overlay suave para que el banner no quede “crudo” */
.heroBanner-image::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(900px 420px at 30% 10%, rgba(242,201,76,.14), transparent 60%),
              linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.10));
}

/* --- Contenido BAJO el banner --- */
.heroBanner-content{
  margin-top: -90px; /* hace que la tarjeta “suba” un poco sobre el banner */
  position: relative;
  z-index: 2;
}

/* Tarjeta grande */
.heroContent-card{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: start;

  border: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.94);
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* Copy */
.heroContent-copy{
  padding: 34px 28px;
}

.heroBadge{
  background: rgba(255,255,255,.92);
}

.heroBanner-title{
  margin: 14px 0 10px;
  font-size: clamp(32px, 3.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.8px;
}

.heroBanner-subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 58ch;
}

.heroBanner-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

/* lista con bullets elegantes */
.heroList{
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(15,23,42,.78);
  line-height: 1.9;
  font-size: 13px;
}
.heroList li::marker{
  color: rgba(242,201,76,.95);
}

/* Panel de acceso */
.heroContent-panel{
  padding: 26px;
  border-left: 1px solid rgba(16,24,40,.10);
  background: #ffffff;
}

/* Responsive */
@media (max-width: 980px){
  .heroBanner-content{ margin-top: -60px; }
  .heroContent-card{ grid-template-columns: 1fr; }
  .heroContent-panel{
    border-left: 0;
    border-top: 1px solid rgba(16,24,40,.10);
  }
}


.hero{
  padding: 38px 0 14px;
}

/* bloque hero con imagen */
.hero-wrap{
  border: 1px solid rgba(16,24,40,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.70));
  border-radius: 26px;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 0;
  align-items: stretch;
}

.hero-copy{
  padding: 34px 28px;
}

.hero-title{
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.0vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.7px;
}
.hero-subtitle{
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.hero-mini{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mini-card{
  border: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.85);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.mini-kpi{
  width: 30px;
  height: 30px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(242,201,76,.18);
  border: 1px solid rgba(242,201,76,.30);
  color: #6b4b00;
  font-weight: 800;
}
.mini-text{
  font-size: 13px;
  color: rgba(15,23,42,.82);
  line-height: 1.3;
}

/* banner (derecha) */
/* ------------------------------------------------------------
  HERO - MEDIA (banner decorativo sin contaminar el login)
------------------------------------------------------------ */
.hero-media{
  position: relative;
  min-height: 340px;
  border-left: 1px solid rgba(16,24,40,.08);

  /* Fondo limpio (sin imagen aquí) */
  background: linear-gradient(180deg, rgba(15,23,42,.06), rgba(255,255,255,0));

  overflow: hidden;
}
/* ------------------------------------------------------------
  HERO - OVERLAY DEL BANNER (más suave + sin ruido)
------------------------------------------------------------ */
.hero-media::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.98),
    rgba(255,255,255,.80)
  );
}
/* franja decorativa a la derecha */
.hero-media::before{
  content:"";
  position:absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 55%;

  background: url("../img/hero-istra.jpg") center/cover no-repeat;

  opacity: .35;
  filter: blur(1.5px) saturate(.95) contrast(.95);
}


/* Panel login por encima del banner */
.hero-panel{
  position: relative;
  z-index: 2;
  margin: 26px;
  border: 1px solid rgba(16,24,40,.12);
  background: #ffffff;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 18px 40px rgba(2,6,23,.12);
}
.panel-title{
  margin: 0 0 6px;
  font-size: 18px;
}
.panel-subtitle{
  margin: 0 0 16px;
  color: rgba(15,23,42,.70);
  font-size: 13px;
  line-height: 1.5;
}
.login-form{ display: grid; gap: 12px; }
.field span{
  display: block;
  font-size: 12px;
  color: rgba(15,23,42,.72);
  margin: 0 0 6px;
}
.field input, .field select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(16,24,40,.14);
  background: rgba(255,255,255,.96);
  color: rgba(15,23,42,.92);
  outline: none;
}
.field input:focus, .field select:focus{
  border-color: rgba(242,201,76,.75);
  box-shadow: 0 0 0 4px rgba(242,201,76,.22);
}
.panel-note{
  margin: 8px 0 0;
  color: rgba(15,23,42,.70);
  font-size: 12px;
}
.panel-note a{ color: #b45309; }

/* ============================================================
  5) SECCIONES GENERALES
============================================================ */
.section{
  padding: 54px 0;
  text-align: justify;
}
.section-alt{
  background: rgba(255,255,255,.72);
  border-top: 1px solid rgba(16, 24, 40, .08);
  border-bottom: 1px solid rgba(16, 24, 40, .08);
}
.section-head{ margin-bottom: 18px; }
.section-title{
  margin: 0 0 8px;
  font-size: 24px;
}
.section-text{
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.two-col{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items: start;
}

.highlights{
  display: grid;
  gap: 10px;
}
.highlight-card{
  border: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.92);
  border-radius: var(--radius-sm);
  padding: 14px;
  box-shadow: 0 10px 22px rgba(2,6,23,.05);
}
.highlight-card h3{ margin: 0 0 6px; font-size: 16px; }
.highlight-card p{ margin: 0; color: var(--muted); line-height: 1.6; font-size: 13px; }

/* ============================================================
  6) CARDS (OFERTA)
============================================================ */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.card{
  border: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.92);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 26px rgba(2,6,23,.05);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(2,6,23,.10);
}
.card-icon{
  width: 42px; height: 42px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(242,201,76,.18);
  border: 1px solid rgba(242,201,76,.35);
  color: #6b4b00;
  font-weight: 900;
  margin-bottom: 10px;
}
.card-title{ margin: 0 0 8px; font-size: 16px; }
.card-text{ margin: 0 0 12px; color: var(--muted); line-height: 1.6; font-size: 13px; }
.card-link{ color: #b45309; font-weight: 700; font-size: 13px; }

.section-cta{ margin-top: 16px; }

/* ============================================================
  7) PASOS (ADMISIONES)
============================================================ */
.steps{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.step{
  border: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.92);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 26px rgba(2,6,23,.05);
}
.step-num{
  width: 34px; height: 34px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(217,45,32,.10);
  border: 1px solid rgba(217,45,32,.22);
  color: rgba(15,23,42,.88);
  font-weight: 900;
  margin-bottom: 10px;
}
.step h3{ margin: 0 0 6px; font-size: 16px; }
.step p{ margin: 0; color: var(--muted); line-height: 1.6; font-size: 13px; }

/* ============================================================
  8) INVESTIGACIÓN
============================================================ */
.clean-list{
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  line-height: 1.85;
}
.callout{
  border: 1px solid rgba(242,201,76,.35);
  background: linear-gradient(180deg, rgba(242,201,76,.16), rgba(255,255,255,.92));
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 12px 26px rgba(2,6,23,.06);
}
.callout h3{ margin: 0 0 6px; }
.callout p{ margin: 0 0 12px; color: var(--muted); line-height: 1.6; }

/* ============================================================
  9) NOTICIAS
============================================================ */
.news-grid{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.news{
  border: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.92);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 12px 26px rgba(2,6,23,.05);
}
.news-date{ margin: 0 0 6px; font-size: 12px; color: rgba(15,23,42,.65); }
.news-title{ margin: 0 0 8px; font-size: 16px; }
.news-text{ margin: 0 0 12px; color: var(--muted); line-height: 1.6; font-size: 13px; }
.news-link{ color: #b45309; font-weight: 700; font-size: 13px; }

/* ============================================================
  10) FOOTER
============================================================ */
.site-footer{
  border-top: 1px solid rgba(16,24,40,.10);
  background: rgba(255,255,255,.75);
  padding: 40px 0 18px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 14px;
}
.footer-title{ margin: 0 0 10px; font-size: 14px; }
.footer-text{ margin: 0; color: var(--muted); line-height: 1.6; font-size: 13px; }
.footer-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}
.footer-list a{ color: rgba(15,23,42,.80); }
.footer-bottom{
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid rgba(16,24,40,.10);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: rgba(15,23,42,.65);
}
.to-top{
  width: 34px; height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(16,24,40,.12);
  background: rgba(255,255,255,.92);
  display: grid;
  place-items: center;
}
/* ============================================================
  FOOTER (NEGRO + BLANCO) - ISTRA
============================================================ */
.footer{
  background: #0B0F19; /* negro elegante */
  color: rgba(255,255,255,.88);
  border-top: 1px solid rgba(255,255,255,.08);
}

/* Links del footer */
.footer a{
  color: rgba(255,255,255,.88);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

.footer a:hover{
  color: #F2C94C; /* amarillo institucional */
}

/* Títulos del footer */
.footer h4,
.footer h5{
  color: #ffffff;
}

/* Texto pequeño */
.footer small{
  color: rgba(255,255,255,.65);
}

/* Separación / línea */
.footer .footer-bottom{
  border-top: 1px solid rgba(255,255,255,.10);
  margin-top: 24px;
  padding-top: 16px;
}

/* Iconos sociales (si los tienes como links) */
.footer .social a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
}

.footer .social a:hover{
  background: rgba(242,201,76,.14);
  border-color: rgba(242,201,76,.45);
}

/* ============================================================
  11) ANIMACIONES (Scroll Reveal)
============================================================ */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
  12) RESPONSIVE
============================================================ */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-panel{ margin: 18px; }
  .hero-media{ min-height: 260px; border-left: 0; border-top: 1px solid rgba(16,24,40,.08); }
  .two-col{ grid-template-columns: 1fr; }
  .cards, .steps, .news-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px){
  /* NAV MÓVIL */
  .nav-toggle{ display: inline-block; }
  .nav{
    position: absolute;
    top: 68px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-radius: var(--radius);
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(16,24,40,.12);
    box-shadow: var(--shadow-sm);
  }
  .nav.is-open{ display: flex; }
  .nav a{ width: 100%; }
}

/* ============================================================
  TOPBAR (opcional)
============================================================ */
.topbar{
  background: rgba(242,201,76,.95);
  border-bottom: 1px solid rgba(16,24,40,.10);
  color: #111;
  font-size: 13px;
}
.topbar-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
}
.topbar-left{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.topbar-right{
  display: flex;
  gap: 12px;
}
.topbar a{
  color: #111;
  font-weight: 700;
}

/* ============================================================
  OFERTA ACADÉMICA (Cards con imagen)
============================================================ */

.section-head{
  margin-bottom: 16px;
}
.section-head h2{
  margin: 0 0 6px;
}
.section-head p{
  margin: 0;
  color: var(--muted);
}

.programs-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.program-card{
  border: 1px solid rgba(16,24,40,.10);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(2,6,23,.06);
  transition: transform .22s ease, box-shadow .22s ease;
}

.program-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(2,6,23,.10);
}

.program-card__head{
  background: rgba(15,23,42,.90);
  color: #fff;
  padding: 16px 18px;
}

.program-card__head h3{
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: .2px;
}

.program-card__media{
  height: 210px; /* controla el alto de la foto */
  background: #eee;
}

.program-card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.program-card__body{
  padding: 16px 18px 18px;
}

.program-card__body p{
  margin: 0 0 14px;
  color: rgba(15,23,42,.72);
  line-height: 1.6;
  min-height: 52px; /* mantiene equilibrio visual */
}

/* Botón pequeño reutilizando tu estilo */
.btn-small{
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 980px){
  .programs-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px){
  .programs-grid{ grid-template-columns: 1fr; }
  .program-card__media{ height: 220px; }
}
/* ============================================================
  SECCIÓN: ADMISIONES (PARALLAX)
  - Fondo parallax (desktop)
  - Overlay para legibilidad
  - Tarjeta elegante encima
============================================================ */

.admissionsParallax{
  position: relative;
  padding: 90px 0;
  min-height: 520px;
  display: flex;
  align-items: center;         /* CENTRA vertical */
  overflow: hidden;
  border-top: 1px solid rgba(16,24,40,.08);
  border-bottom: 1px solid rgba(16,24,40,.08);
}

/* --- Fondo parallax --- */
/* ------------------------------------------------------------
  ADMISIONES - FONDO (PARALLAX VIA JS)
------------------------------------------------------------ */
#admisiones{
  background: url('../img/admisiones_parallax.jpg') 30% 0 no-repeat fixed;
}
#admisiones{
  margin: 0 auto;
  max-width: 1920px;
  min-height: 900px;
  position: relative;
  width: 100%;
  background-size: cover;
}
#admisiones{
  box-shadow: 0 0 20px rgba(0,0,0,0.2);
}

/* Contenido */
.admissionsParallax__content{
  position: relative;
  z-index: 2;
}

/* Tarjeta */
.admissionsParallax__card{
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 28px 70px rgba(2,6,23,.26);
  overflow: hidden;
}

/* Lado izquierdo */
.admissionsParallax__copy{
  padding: 30px 28px;
}
.admissionsParallax__copy h2{
  margin: 10px 0 10px;
  font-size: 28px;
  letter-spacing: -0.4px;
}
.admissionsParallax__copy p{
  margin: 0 0 14px;
  color: rgba(15,23,42,.76);
  line-height: 1.7;
}

.admissionsParallax__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

/* Mini pasos */
.admissionsParallax__mini{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.miniItem{
  display: flex;
  align-items: center;     /* ✅ centra vertical */
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: 0 12px 22px rgba(2,6,23,.06);
}


/* ------------------------------------------------------------
  ADMISIONES - NUMEROS (PASOS)
------------------------------------------------------------ */
.miniIcon *{
  margin: 0 !important;
  padding: 0 !important;
}
.miniIcon{
  width: 56px;
  height: 56px;
  border-radius: 999px;
  flex: 0 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 900;
  font-size: 20px;
  line-height: 1;
  color: rgba(15,23,42,.92);

  background: linear-gradient(180deg, rgba(247,215,106,.98), rgba(242,201,76,.78));
  border: 1px solid rgba(242,201,76,.55);
  box-shadow: 0 14px 28px rgba(2,6,23,.14);
}

.miniItem strong{
  display: block;
  font-size: 13px;
}
.miniItem span{
  display: block;
  font-size: 12px;
  color: rgba(15,23,42,.68);
}

/* Lado derecho */
.admissionsParallax__info{
  padding: 26px;
  background: rgba(255,255,255,.94);
  border-left: 1px solid rgba(16,24,40,.10);
}

.admissionsParallax__info h3{
  margin: 0 0 10px;
  font-size: 16px;
}

.admissionsList{
  margin: 0 0 14px;
  padding-left: 18px;
  color: rgba(15,23,42,.72);
  line-height: 1.85;
  font-size: 13px;
}
.admissionsList li::marker{
  color: rgba(242,201,76,.95);
}

.admissionsNote{
  border: 1px solid rgba(242,201,76,.35);
  background: rgba(242,201,76,.12);
  border-radius: 16px;
  padding: 12px;
  margin: 12px 0 14px;
  color: rgba(15,23,42,.74);
  font-size: 13px;
  line-height: 1.6;
}

/* Responsive (móvil) */
@media (max-width: 980px){
  .admissionsParallax{
    padding: 60px 0;
  }
  .admissionsParallax__card{
    grid-template-columns: 1fr;
  }
  .admissionsParallax__mini{
    grid-template-columns: 1fr;
  }
  .admissionsParallax__info{
    border-left: 0;
    border-top: 1px solid rgba(16,24,40,.10);
  }

  /* En móvil, background-attachment fixed suele fallar/lag: lo desactivamos */
  .admissionsParallax__bg{
    background-attachment: scroll;
  }
}
/* ------------------------------------------------------------
  ADMISIONES - PASOS (1,2,3)
------------------------------------------------------------ */
.stepCard{
  display:flex;
  align-items:center;
  gap:12px;
}

.stepNum{
  width:38px;
  height:38px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:800;
  font-size:14px;
  color:#111827;
  background: linear-gradient(180deg, #F7D76A, #F2C94C);
  box-shadow: 0 8px 18px rgba(242,201,76,.25);
  flex:0 0 auto;
}
/* ============================================================
  FOOTER (NEGRO + BLANCO) - ISTRA
  Aplica a: <footer class="site-footer">
============================================================ */
.site-footer{
  background: #0B0F19; /* negro elegante */
  color: rgba(255,255,255,.88);
  border-top: 1px solid rgba(255,255,255,.10);
}

/* Títulos */
.site-footer .footer-title{
  color: #ffffff;
}

/* Texto normal */
.site-footer .footer-text{
  color: rgba(255,255,255,.78);
}

/* Listas */
.site-footer .footer-list{
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer .footer-list li{
  color: rgba(255,255,255,.78);
  margin: 8px 0;
}

/* Links */
.site-footer a{
  color: rgba(255,255,255,.88);
  text-decoration: none;
  transition: color .2s ease, opacity .2s ease;
}

.site-footer a:hover{
  color: #F2C94C; /* amarillo ISTRA */
}

/* Grid y separaciones (por si tu CSS actual no lo define) */
.site-footer .footer-grid{
  padding: 36px 0;
}

/* Franja inferior */
.site-footer .footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  border-top: 1px solid rgba(255,255,255,.10);
  padding: 16px 0;
}

.site-footer small{
  color: rgba(255,255,255,.65);
}

/* Botón volver arriba */
.site-footer .to-top{
  width: 40px;
  height: 40px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
}

.site-footer .to-top:hover{
  background: rgba(242,201,76,.18);
  border-color: rgba(242,201,76,.45);
  color: #F2C94C;
}
/* ============================================================
  FOOTER - LOGO Y COPYRIGHT AMARILLO CENTRADO
============================================================ */
.site-footer .footer-brand{
  text-align: center;
}

.site-footer .footer-logo{
  display: block;
  margin: 14px auto 0 auto;
  width: 40px;           /* ajustable */
  height: auto;
  opacity: .95;
}

/* Copyright centrado y amarillo */
.site-footer .footer-bottom{
  position: relative;
  justify-content: center;   /* centra el contenido */
}

.site-footer .footer-copy{
  color: #F2C94C;            /* amarillo ISTRA */
  text-align: center;
  font-weight: 600;
}

/* Botón subir queda flotando a la derecha */
.site-footer .to-top{
  position: absolute;
  right: 0;
}
/* ============================================================
  CARRERAS - HERO
============================================================ */
.hero-carreras{
  padding-top: 120px;
  padding-bottom: 60px;
}

.hero-carreras-content{
  max-width: 820px;
}

/* ============================================================
  LISTADO DE CARRERAS - CARDS GRID
============================================================ */
.cards-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 24px;
}

@media (max-width: 1024px){
  .cards-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .cards-grid{
    grid-template-columns: 1fr;
  }
}

/* ============================================================
  CARD CARRERA (ESTILO TIPO BROCHURE)
============================================================ */
.career-card{
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(16,24,40,.10);
  box-shadow: 0 18px 40px rgba(2,6,23,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.career-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(2,6,23,.14);
}

.career-card-top{
  background: rgba(15,23,42,.88);
  padding: 18px 18px;
}

.career-title{
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.career-card-img{
  height: 230px;
  overflow: hidden;
}

.career-card-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.03);
  transition: transform .25s ease;
}

.career-card:hover .career-card-img img{
  transform: scale(1.08);
}

.career-card-body{
  padding: 18px 18px 22px 18px;
}

.career-text{
  margin: 0 0 14px 0;
  color: rgba(15,23,42,.72);
  line-height: 1.55;
}
/* ===== LOGIN PANEL MEJORADO ===== */
.login-panel {
  text-align: center;
}

.login-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.login-subtitle {
  font-size: 0.95rem;
  color: #f5c84c; /* amarillo institucional suave */
  margin-bottom: 20px;
}

/* Campos con iconos */
.field-icon {
  position: relative;
}

.field-icon input {
  padding-left: 42px;
  padding-right: 42px;
}

/* Iconos */
.icon-user,
.icon-lock {
  position: absolute;
  left: 14px;
  top: 28px;
  width: 24px;
  height: 24px;
  opacity: 0.6;
}

.icon-user {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23999' viewBox='0 0 24 24'%3E%3Cpath d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-5 0-9 2.5-9 5.5V22h18v-2.5C21 16.5 17 14 12 14Z'/%3E%3C/svg%3E") no-repeat center;
}

.icon-lock {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23999' viewBox='0 0 24 24'%3E%3Cpath d='M12 1a5 5 0 0 0-5 5v3H5a1 1 0 0 0-1 1v11a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1V10a1 1 0 0 0-1-1h-2V6a5 5 0 0 0-5-5Zm-3 8V6a3 3 0 0 1 6 0v3Z'/%3E%3C/svg%3E") no-repeat center;
}

/* Toggle password */
.toggle-pass{
  position: absolute;
  right: 2px;
  top: 32%;
  transform: translateY(10%); /* ajusta si tu input tiene altura distinta */
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(255,255,255,.95);
  cursor: pointer;
  display: grid;
  place-items: center;
  color: rgba(15,23,42,.65);
  transition: .15s transform, .15s box-shadow, .15s color;
}

.toggle-pass:hover{
  color: rgba(15,23,42,.95);
  box-shadow: 0 8px 18px rgba(0,0,0,.10);
  transform: translateY(10%) scale(1.02);
}

.toggle-pass:active{
  transform: translateY(10%) scale(.98);
}

/* íconos */
.toggle-pass .eye{
  width: 18px;
  height: 18px;
  display: none;
}

.toggle-pass .eye-closed{
  display: block;
}

/* estado activo */
.toggle-pass.is-on .eye-closed{
  display: none;
}
.toggle-pass.is-on .eye-open{
  display: block;
}

