/* =========================================================
   CEPUNS - Hoja de estilos principal
   Estructura: assets/css/style.css
   ========================================================= */

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

  :root {
    --azul: #B11116;
    --azul-oscuro: #7A0C10;
    --azul-claro: #D81920;
    --dorado: #1f1f1f;
    --dorado-claro: #F5D7B8;
    --dorado-oscuro: #000000;
    --blanco: #ffffff;
    --gris-claro: #faf7f7;
    --gris-medio: #f0e2e2;
    --gris-texto: #5a4848;
    --texto-oscuro: #241313;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Inter', sans-serif;
    color: var(--texto-oscuro);
    background: var(--blanco);
    line-height: 1.6;
  }

  /* ── BARRA SUPERIOR ── */
  .topbar {
    background: var(--azul-oscuro);
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    padding: 6px 0;
  }
  .topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
  }
  .topbar a { color: rgba(255,255,255,0.8); text-decoration: none; }
  .topbar a:hover { color: var(--dorado-claro); }
  .topbar-links { display: flex; gap: 20px; align-items: center; }
  .topbar-links i { margin-right: 5px; font-size: 13px; }

  /* ── NAVBAR ── */
  nav {
    background: var(--azul);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  }
  .nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
  }
  .logo-escudo {
    width: 48px;
    height: 48px;
    background: var(--dorado);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    color: var(--blanco);
    flex-shrink: 0;
  }
  .logo-text { display: flex; flex-direction: column; }
  .logo-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--blanco);
    letter-spacing: 1px;
  }
  .logo-sub {
    font-size: 11px;
    color: var(--dorado-claro);
    font-weight: 500;
    letter-spacing: 0.5px;
  }
  .nav-links {
    display: flex;
    gap: 4px;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
  }
  .nav-links a:hover { background: rgba(255,255,255,0.12); color: var(--dorado-claro); }
  .btn-inscribir {
    background: var(--dorado) !important;
    color: var(--azul-oscuro) !important;
    font-weight: 700 !important;
    padding: 9px 20px !important;
    border-radius: 6px !important;
    transition: background 0.2s !important;
  }
  .btn-inscribir:hover { background: var(--dorado-claro) !important; }

  /* ── HERO ── */
  .hero {
    background: none;
    min-height: 580px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
  }

  .hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
    position: relative;
    z-index: 1;
  }
  .hero-badge {
    display: inline-block;
    
    border: 1px solid var(--dorado);
    color: var(--dorado-claro);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    color: var(--blanco);
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 700px;
  }
  .hero h1 span { color: var(--dorado-claro); }
  .hero p {
    font-size: 18px;
    color: rgba(255,255,255,0.82);
    max-width: 560px;
    margin-bottom: 36px;
    line-height: 1.7;
  }
  .hero-btns { display: flex; gap: 16px; flex-wrap: wrap; position:absolute;
    left:1090px;   /* POSICION DEL BOTON CLICK AQUI , DEL FORMULARIO */
    top:355px; }

  .hero-btns_1 { display: flex;
    gap: 16px;
    flex-wrap: wrap;

    position: absolute;

    left: 68%;
    top: 80%;

    transform: translate(-50%, -50%); }  
  .btn-primary {
    background: #CF0039;
    color: #FFFFFF;

    min-width: 416px;
    height: 70px;
    padding: 0 25px;

    text-decoration: none;
    font-weight: 700;
    font-size: clamp(16px, 1.3vw, 24px);

    border-radius: 8px;
    border: 2px solid #CF0039;

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

    transition: all .25s ease;
    box-sizing: border-box;
    
  }
   .btn-asistente {
    
    background:#CF0039;
    color:#FFFFFF;
    width:238px;      /* Ancho del botón */
    height:50px; 
    text-decoration:none;
    font-weight:700;
    font-size:15px;
    border-radius:8px;
    display:inline-block;
    transition:all .25s ease;
    border:2px solid #CF0039;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    margin: 0 auto;
    
  }
   .btn-descargar {
    background: var(--azul);
    color:#FFFFFF;
    width:115px;      /* Ancho del botón */
    height:40px; 
    text-decoration:none;
    padding: 8px 13px;
    font-size: 13px;
    font-weight: 700;
    margin-top: 6px;
    border-radius: 8px;
    
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    
  }

  .btn-slider1{
    background:#D61222;
     /*
    margin-left: -20px;
    margin-top: 45px;
    */
    font-size:26px;
    width:380px;      /* Ancho del botón */
    height:70px;
}
  .btn-primary:hover { background:#CF0039;
    border-color:#CF0039;
    color:#FFFFFF; transform: translateY(-1px); }
.btn-slider1:hover { background:#D61222;
    border-color:#D61222;
    color:#FFFFFF; transform: translateY(-1px); }    
  .btn-secondary {
    background: transparent;
    color: var(--blanco);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 28px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.2s;
    display: inline-block;
  }
  .btn-secondary:hover { border-color: var(--blanco); background: rgba(255,255,255,0.08); }
  
.hero-slider {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0;
    margin: 0;
}

.slide {
    display: none;
    width: 100%;
    aspect-ratio: 4050 / 1400;
    padding: 0;
    margin: 0;
    position: relative;
    overflow: hidden;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    animation: fadeSlide 0.8s ease;
}

.slide.active {
    display: block;
}
/* ── ESTE ES EL CODIGO PARA QUITAR EL FONDO ROSA DEL CADA SLIDER Y QUE LA IMAGEN TE MUESTRE TAL CUAL ── */
.hero-slider,
.hero-slider .slide,
.hero-slider .slide.active,
.hero-slider .hero-inner{
    background-color: transparent !important;
}

.hero-slider .slide-1 {
    background-image: url("../images/slider/Portada1.png") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-slider .slide-2 {
    background-image: url("../images/slider/Portada2.png") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
/*
.hero-slider .slide-3{
    background-image: url("../images/slider/Portada2.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
/*
.hero-slider .slide-4{
    background-image: url("../images/slider/Portada3.png") !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}
    */
.hero-slider .slide::before,
.hero-slider .slide::after{
    display: none !important;
    content: none !important;
    background: none !important;
}


@keyframes fadeSlide {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #CF0039;
  color: white;
  border: none;
  font-size: 42px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
}

.slider-btn:hover {
  background: rgba(255,255,255,0.32);
}

.prev { left: 24px; }
.next { right: 24px; }

.slider-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.dot {
  width: 11px;
  height: 11px;
  background: rgba(255,255,255,0.45);
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background: var(--dorado-claro);
}
  /* ── STATS BAR ── */
  .stats-bar {
    background: var(--blanco);
    border-bottom: 3px solid var(--dorado);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }
  .stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }
  .stat-item {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--gris-medio);
  }
  .stat-item:last-child { border-right: none; }
  .stat-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--azul);
    line-height: 1;
    margin-bottom: 6px;
  }
  .stat-num span { color: var(--dorado); }
  .stat-label {
    font-size: 13px;
    color: var(--gris-texto);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

/*==========================
   PAGINACIÓN
==========================*/

.pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    margin:35px 0;
    user-select:none;
    font-family:Arial, Helvetica, sans-serif;
}

.pagination ul{
    display:flex;
    padding:0;
    margin:0;
    list-style:none;
    border:1px solid #d8d8d8;
    border-radius:4px;
    overflow:hidden;
}

.pagination li{
    border-right:1px solid #d8d8d8;
}

.pagination li:last-child{
    border-right:none;
}

.pagination a{
    display:flex;
    justify-content:center;
    align-items:center;
    min-width:42px;
    height:42px;
    padding:0 16px;
    text-decoration:none;
    color:#555;
    background:#fff;
    transition:.25s;
    font-size:15px;
}

.pagination a:hover{
    background:#f3f3f3;
}

.pagination .active a{
    background:#1565d8;
    color:#fff;
    font-weight:bold;
}

.pagination .disabled a{
    color:#bdbdbd;
    pointer-events:none;
    background:#fafafa;
}

  /* ── SECTIONS GENÉRICO ── */
  section { padding: 80px 24px; }
  .section-inner { max-width: 1200px; margin: 0 auto; }
  .section-label {
    display: inline-block;
    background: rgba(0,48,135,0.08);
    color: var(--azul);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  .section-title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    color: var(--texto-oscuro);
    margin-bottom: 14px;
    line-height: 1.2;
  }
  .section-title span { color: var(--azul); }
  .section-sub {
    font-size: 17px;
    color: var(--gris-texto);
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 48px;
  }

    /* ── ESTILO TABLA ── */
  .grupo-facultad{
    padding:0;
    text-align:center;
    vertical-align:middle;
}

.grupo-facultad .texto-vertical{
    display:flex;
    justify-content:center;
    align-items:center;
    width:100%;
    height:100%;

    background:linear-gradient(180deg,#1976d2,#0d47a1);
    color:#fff;

    font-size:20px;
    font-weight:700;
    letter-spacing:2px;

    border-radius:10px;
}

.contenedor-facultad{
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


  /* ── ABOUT ── */
  .about { background: var(--gris-claro); }
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  .about-requisitos{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
  .about-visual {
    background: var(--azul);
    border-radius: 16px;
    padding: 48px 40px;
    color: var(--blanco);
    position: relative;
    overflow: hidden;
  }
.nota-requisito{
    font-size: 14px;
    font-weight: 400;
    color: var(--blanco);
    margin-bottom: 4px;
    
}
 .cuadro_requisitos {
    background: var(--azul-claro);
    border-radius: 16px;
    padding: 18px 26px;
    color: var(--blanco);
    position: relative;
    overflow: hidden;
    height: 630px;
    
    max-width: 490px;
    justify-self: center;
}
 .cuadro_requisitos::before {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: rgba(200,164,0,0.15);
  }

  .about-visual::before {
    content: '';
    position: absolute;
    bottom: -40px; right: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(200,164,0,0.15);
  }
  .about-visual h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dorado-claro);
  }
  .about-list { list-style: none; }
  .about-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    font-size: 15px;
    color: rgba(255,255,255,0.9);
  }
  .about-list li:last-child { border-bottom: none; }
  .about-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--dorado);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
  }
  .about-icon svg { width: 14px; height: 14px; }
  .tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
  .tab-btn {
    padding: 8px 20px;
    border-radius: 6px;
    border: 2px solid var(--gris-medio);
    background: var(--blanco);
    color: var(--gris-texto);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
  }
  .tab-btn.active {
    background: var(--azul);
    color: var(--blanco);
    border-color: var(--azul);
  }
  .tab-content { display: none; font-size: 15px; color: var(--gris-texto); line-height: 1.8; }
  .tab-content.active { display: block; }



  .aviso-pago {
    width: 750px;
    height: 160px;
    padding: 14px 18px;

    margin-top: -150px;
    margin-left: 0;

    border: 1px solid #b9b9b9;
    border-left: 4px solid #c81018;

    background: #fff;

    border-radius: 6px;

    font-size: 16px;
    line-height: 1.5;

    box-shadow: 0 3px 10px rgba(0,0,0,.06);
}

.aviso-titulo {
    font-weight: 700;
    color: #c81018;
    margin-bottom: 4px;
    font-size: 17px;
}

.aviso-texto {
    color: #333;
}

  /* ── CICLOS ── */
  .ciclos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
  .ciclo-card {
    background: var(--blanco);
    border-radius: 14px;
    border: 1px solid var(--gris-medio);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    /* ── ADAPATAR EL TAMAÑO DEL RECUADRO DE ACUERDO A SU CONTENIDO── */
    height: fit-content;
  }
  .ciclo-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,48,135,0.12); }
  .ciclo-header {
    background: var(--azul);
    padding: 24px;
    color: var(--blanco);
  }
  .ciclo-header.dorado { background: var(--dorado); }
  .ciclo-header.dorado .ciclo-nombre,
  .ciclo-header.dorado .ciclo-periodo { color: var(--blanco); }
  .ciclo-tipo {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dorado-claro);
    margin-bottom: 8px;
  }
  .titulo_pasos{
    font-size: 18px !important;
  }
  .ciclo-tipo_nuevo{
    font-size: 15px;
    }
  .ciclo-header.dorado .ciclo-tipo { color: var(--dorado-claro); }
  .ciclo-nombre {
    font-size: 22px;
    font-weight: 600;
    color: var(--blanco);
    margin-bottom: 4px;
  }
  .ciclo-periodo {
    font-size: 14px;
    color: rgba(255,255,255,0.75);
  }
  .ciclo-body { padding: 24px; }
  .ciclo-features { list-style: none; margin-bottom: 20px; }
  .ciclo-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 0;
    font-size: 14px;
    color: var(--gris-texto);
    border-bottom: 1px solid var(--gris-claro);
  }
  .ciclo-features li:last-child { border-bottom: none; }
  .check {
    width: 20px; height: 20px;
    border-radius: 50%;
    background: rgba(0,48,135,0.08);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: var(--azul);
    font-size: 12px;
    font-weight: 700;
  }
  .btn-card {
    display: block;
    text-align: center;
    background: var(--azul);
    color: var(--blanco);
    text-decoration: none;
    padding: 11px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    transition: background 0.2s;
  }
  .btn-card + .btn-card {
    margin-top: 6px;
}
  .btn-card:hover { background: var(--azul-oscuro); }
  .btn-card.dorado-btn { background: var(--dorado); color: var(--blanco); }
  .btn-card.dorado-btn:hover { background: var(--dorado-oscuro); }

  /* ── VACANTES ── */
  .vacantes { background: var(--gris-claro); }
  .vacantes-table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.07); }
  table { width: 100%; border-collapse: collapse; background: var(--blanco); font-size: 14px; }
  thead { background: var(--azul); color: var(--blanco); }
  thead th { padding: 16px 18px; text-align: left; font-weight: 600; font-size: 13px; letter-spacing: 0.3px; }
  tbody tr { border-bottom: 1px solid var(--gris-claro); transition: background 0.15s; }
  tbody tr:hover { background: rgba(0,48,135,0.04); }
  tbody td { padding: 14px 18px; color: var(--gris-texto); }
  tbody td:first-child { font-weight: 600; color: var(--texto-oscuro); }
  .vacantes-badge {
    display: inline-block;
    background: rgba(200,164,0,0.15);
    color: var(--dorado-oscuro);
    font-size: 12px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
  }
  .vacantes-badge.azul {
    background: rgba(0,48,135,0.10);
    color: var(--azul);
  }
  .vacantes-badge.verde {
    background: rgba(100, 214, 144, 0.466);
    color: var(--gris-texto);
  }
/* =====================================================
   GALERÍA DE COLEGIOS VISITADOS
===================================================== */

.colegios-visitas {
    padding: 70px 0;
    background: #ffffff;
}

.colegios-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 40px;
}

.colegios-header .section-label {
    display: inline-block;
    margin-bottom: 15px;
}

.colegios-header .section-title {
    margin-bottom: 12px;
}

.colegios-header p {
    color: #5c3d3d;
    font-size: 16px;
    line-height: 1.7;
}


/* 3 PARTES EXACTAMENTE IGUALES */

.colegios-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    width: 100%;
}


/* TARJETA */

.colegio-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #eadede;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.06);
}


/* CARRUSEL */

.colegio-carousel {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #eeeeee;
}


.colegio-slide {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    display: none;
    overflow: hidden;

    background: #eeeeee;
}


.colegio-slide.active {
    display: block;
}


/* =========================================
   FOTO DESENFOCADA DEL FONDO
========================================= */

.colegio-fondo {
    position: absolute;

    top: -20px;
    left: -20px;

    width: calc(100% + 40px);
    height: calc(100% + 40px);

    object-fit: cover;
    object-position: center;

    filter: blur(18px);

    transform: scale(1.08);

    opacity: 0.65;

    z-index: 1;
}


/* =========================================
   FOTO ORIGINAL COMPLETA
========================================= */

.colegio-foto {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    z-index: 2;
}


/* FLECHAS */

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    border: none;
    border-radius: 50%;

    background: rgba(0, 0, 0, 0.55);
    color: white;

    font-size: 20px;
    cursor: pointer;

    z-index: 5;
}

.carousel-prev {
    left: 12px;
}

.carousel-next {
    right: 12px;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #c41218;
}


/* INFORMACIÓN */

.colegio-info {
    padding: 18px 20px 16px;
    text-align: center;
}

.colegio-info h3 {
    margin: 0 0 5px;
    color: #171717;
    font-size: 18px;
}

.colegio-info p {
    margin: 0;
    color: #777;
    font-size: 14px;
}


/* PUNTITOS */

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 13px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d5d5d5;
}

.dot.active {
    background: #c41218;
}
.about-visual2 {
    width: 100%;
    max-width: 570px;
    justify-self: center;

    border-radius: 16px;
    overflow: hidden;
}

.about-visual2 img {
    width: 100%;
    height: auto;

    display: block;
    border-radius: 16px;
}
  /* ── DOCENTES ── */
  .docentes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
  }
  .docente-card {
    background: var(--blanco);
    border-radius: 14px;
    border: 1px solid var(--gris-medio);
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .docente-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,48,135,0.10); }
  .docente-avatar {
    width: 72px; height: 72px;
    border-radius: 50%;
    background: var(--azul);
    color: var(--dorado-claro);
    font-size: 22px;
    font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    border: 3px solid var(--dorado);
  }
  .docente-nombre { font-size: 15px; font-weight: 700; color: var(--texto-oscuro); margin-bottom: 4px; }
  .docente-curso { font-size: 13px; color: var(--azul); font-weight: 600; margin-bottom: 6px; }
  .docente-grado { font-size: 12px; color: var(--gris-texto); }

  /* ── CTA ── */
  .cta {
    background: linear-gradient(135deg, var(--azul-oscuro), var(--azul));
    color: var(--blanco);
    text-align: center;
    padding: 80px 24px;
  }
  .cta h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin-bottom: 16px; }
  .cta h2 span { color: var(--dorado-claro); }
  .cta p { font-size: 18px; color: rgba(255,255,255,0.82); max-width: 560px; margin: 0 auto 36px; line-height: 1.7; }
  .cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

  /* ── NOTICIAS ── */
  .noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
  .noticia-card {
    background: var(--blanco);
    border-radius: 14px;
    border: 1px solid var(--gris-medio);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .noticia-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,48,135,0.12); }
  .noticia-img {
    height: 180px;
    background: linear-gradient(135deg, var(--azul), var(--azul-claro));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
  }
  .noticia-body { padding: 20px; }
  .noticia-fecha { font-size: 12px; color: var(--gris-texto); margin-bottom: 8px; font-weight: 500; }
  .noticia-titulo { font-size: 16px; font-weight: 700; color: var(--texto-oscuro); margin-bottom: 10px; line-height: 1.4; }
  .noticia-resumen { font-size: 14px; color: var(--gris-texto); line-height: 1.6; margin-bottom: 16px; }
  .noticia-link { font-size: 14px; color: var(--azul); font-weight: 600; text-decoration: none; }
  .noticia-link:hover { color: var(--dorado); }

  /* ── CONTACTO ── */
  .contacto { background: var(--gris-claro); }
  .contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
  }
  .contacto-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--texto-oscuro);
    margin-bottom: 24px;
  }
  .info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
  }
  .info-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--azul);
    color: var(--dorado-claro);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
  }
  .info-label { font-size: 12px; color: var(--gris-texto); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
  .info-value { font-size: 15px; color: var(--texto-oscuro); font-weight: 400; }
  .social-links { display: flex; gap: 12px; margin-top: 28px; }
  .social-btn {
    width: 42px; height: 42px;
    border-radius: 10px;
    background: var(--azul);
    color: var(--blanco);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.2s;
  }
  .social-btn:hover { background: var(--dorado); color: var(--blanco); }


.btn-visitantes {
    width: 150px; height: 42px;
    border-radius: 10px;
    background: #333333;
    color: var(--blanco);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: background 0.2s;
}


.visitantes {
    font-size: 13px;
    font-weight: 500;
}


  /* FORMULARIO */
  .form-card {
    background: var(--blanco);
    border-radius: 14px;
    padding: 32px;
    border: 1px solid var(--gris-medio);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }
  .form-card h3 { font-size: 18px; font-weight: 700; color: var(--texto-oscuro); margin-bottom: 24px; }
  .form-group { margin-bottom: 18px; }
  .form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gris-texto); margin-bottom: 6px; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--gris-medio);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    color: var(--texto-oscuro);
    background: var(--blanco);
    transition: border-color 0.2s;
    outline: none;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus { border-color: var(--azul); }
  .form-group textarea { height: 100px; resize: vertical; }
  .btn-form {
    width: 100%;
    padding: 13px;
    background: var(--azul);
    color: var(--blanco);
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Inter', sans-serif;
  }
  .btn-form:hover { background: var(--azul-oscuro); }

  /* ── FOOTER ── */
  footer {
    background: var(--azul-oscuro);
    color: rgba(255,255,255,0.75);
    padding: 56px 24px 24px;
  }
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  .footer-brand h4 { font-size: 18px; font-weight: 800; color: var(--blanco); margin-bottom: 4px; }
  .footer-brand p { font-size: 13px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-top: 12px; }
  .footer-dorado { color: var(--dorado-claro) !important; }
  .footer-col h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--dorado-claro);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
  }
  .footer-col ul { list-style: none; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-col ul li a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.15s;
  }
  .footer-col ul li a:hover { color: var(--dorado-claro); }
  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.45);
    flex-wrap: wrap;
    gap: 8px;
  }
  .footer-bottom a { color: var(--dorado-claro); text-decoration: none; }
#costo {
    position: relative;
}

.button-resultado {
    
    display: flex;
    flex-direction: column;   /* texto arriba y flecha abajo */
    align-items: center;
    justify-content: center;

    position: absolute;
    left: 1000px;
    top: 270px;

    width: 180px;
    height: 180px;

    background: var(--azul);
    border-radius: 50%;

    
    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;
    transition: 0.3s ease;
}
.slide_resultados {
    cursor: pointer;
}
.button-resultado span {
    position: relative;
    color: white;
    top: 10px;
    left: 0px;
    font-size: 31px;
    font-weight: 700;
    text-align: center;
    line-height: 1.15;
}
.button-resultado:hover {
    background-color: #c8101a;
    transform: scale(1.06);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}
.button-resultado svg{
    position: relative;
    width: 75px;
    height: 75px;
    top: 0px;
    left: 5px;
    fill: none;
    stroke: white;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;

    animation: flechaAbajo 1.3s ease-in-out infinite;
  }
.scroll-down {
    position: fixed;

    top: 800px;
    left: 1600px;
    right: 40px;
    bottom: 35px;

    width: 51px;
    height: 51px;

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

    background: #c8101a;
    border-radius: 50%;

    text-decoration: none;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);

    z-index: 9999;
    cursor: pointer;
}

.scroll-down svg {
    width: 28px;
    height: 28px;

    fill: none;
    stroke: white;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;

    animation: flechaAbajo 1.3s ease-in-out infinite;
}

@keyframes flechaAbajo {
    0%, 100% {
        transform: translateY(-2px);
    }

    50% {
        transform: translateY(4px);
    }
}
html {
    scroll-behavior: smooth;
}
  /* ── RESPONSIVE ── */
  @media (max-width: 768px) {

     nav {
        position: sticky;
        top: 0;
        z-index: 100;
        height: auto;
    }

    .nav-inner {
        width: 100%;
        height: auto;          /* ESTA ERA LA CLAVE */
        min-height: 0;

        padding: 8px 16px 10px;

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

        gap: 6px;
    }

    .logo {
        width: 100%;
        justify-content: center;
    }

    .nav-links {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;

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

        width: 100%;

        gap: 4px 8px;

        margin: 0;
        padding: 4px 0 0;
    }

    .nav-links li {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav-links a {
        display: block;

        color: white;
        font-size: 10px;
        line-height: 1;

        padding: 5px 6px;

        text-decoration: none;
        white-space: nowrap;
    }
    .aviso-pago {
    width: 330px;
    height: 280px;
    padding: 14px 18px;

    margin-top: 45px;
    margin-left: 0;

    border: 1px solid #b9b9b9;
    border-left: 4px solid #c81018;

    background: #fff;

    border-radius: 6px;

    font-size: 16px;
    line-height: 1.5;

    box-shadow: 0 3px 10px rgba(0,0,0,.06);
}

    .about-grid,
    .contacto-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
  
    .btn-primary.btn-slider1 {

    width: 120px !important;
    min-width: 120px !important;
    max-width: 120px !important;

    margin-top: 8px !important;
    height: 30px !important;

    padding: 0 4px !important;

    font-size: 8px !important;
    font-weight: 700 !important;

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

    white-space: nowrap !important;

    border-radius: 5px !important;
    box-sizing: border-box !important;
    }
    
    .stats-inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

   .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--gris-medio);
}
     .stat-num {
    font-size: 14px;
    font-weight: 800;
    color: var(--azul);
    line-height: 1;
    margin-bottom: 6px;
  }
  .stat-label {
    font-size: 10px;
    color: var(--gris-texto);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

  
     .hero-slider{
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        overflow: hidden;
    }
    .hero-btns {
        position: absolute;
        left: 63.5%;
        top: 59%;
        transform: translateX(-50%);
        display: flex;
        z-index: 20;
    }

    

    
    .button-resultado svg{
    position: relative;
    width: 35px;
    height: 35px;
    top: 2px;
    left: 2px;
    fill: none;
    stroke: white;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;

    animation: flechaAbajo 1.3s ease-in-out infinite;
  }
    .button-resultado {
    
    display: flex;
    flex-direction: column;   /* texto arriba y flecha abajo */
    align-items: center;
    justify-content: center;

    position: absolute;
    left: 225px;
    top: 100px;

    width: 70px;
    height: 70px;

    background: var(--azul);
    border-radius: 50%;

    
    text-transform: uppercase;
    text-decoration: none;

    cursor: pointer;
    transition: 0.3s ease;
}
.button-resultado span {
    position: relative;
    color: white;
    top: 10px;
    left: 0px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    line-height: 1.15;
}
    
     
    .hero-slider .slide{
        display: none;
        position: relative;

        width: 100%;
        height: auto !important;
        min-height: 0 !important;

        /* Cambia estos números por las dimensiones
           reales de Portada01movil.png */
        aspect-ratio: 7392 / 3696;

        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    .hero-slider .slide.active{
        display: block !important;
    }

    .hero-slider .slide-1{
    background-image: url("../images/slider/Portada1.png") !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    }
     .hero-slider .slide-2{
         background-image:
            url("../images/slider/Portada02movil.png") !important;
    }

    .hero-slider .slide-3{
        background-image:
            url("../images/slider/Portada02movil.png") !important;
    }

    .colegios-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .colegio-card {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }


    /* 
.hero-slider .slide-4{

    background-image:
            url("../images/slider/Portada03movil.png") !important;
    }
            */
    .hero-inner{
        display: none !important;
    }

    .slider-dots{
        bottom: 12px !important;
    }
  }

/* ── IMÁGENES DEL CARRUSEL ──
   Coloca tus imágenes en: assets/images/slider/
   Ejemplo: portada1.png, portada2.png, portada3.png
*/

/* ==========================
   CHATBOT CEPUNS
========================== */

.chatbot-button{
    position: fixed;
    top: 800px;
    right: 165px;
    bottom: 25px;

    width: 51px;
    height: 51px;

    border: none;
    border-radius: 50%;

    background: #d6002f;
    color: white;

    font-size: 26px;
    cursor: pointer;

    box-shadow: 0 5px 20px rgba(0,0,0,.20);

    z-index: 9999;

    transition: .3s;
}

.chatbot-button:hover{
    transform: scale(1.08);
}


/* VENTANA */



/* CABECERA */

.chatbot-header{
    background: #d6002f;
    color: white;

    padding: 16px 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header div{
    display: flex;
    flex-direction: column;
}

.chatbot-header strong{
    font-size: 17px;
}

.chatbot-header span{
    font-size: 12px;
    opacity: .9;
}

.chatbot-header button{
    border: none;
    background: transparent;
    color: white;

    font-size: 26px;
    cursor: pointer;
}


/* MENSAJES */

.chatbot-messages{
    padding: 18px;

    max-height: 430px;
    overflow-y: auto;

    background: #fafafa;
}

.bot-message{
    background: white;

    padding: 12px 14px;

    border-radius: 4px 14px 14px 14px;

    font-size: 14px;
    line-height: 1.5;

    box-shadow: 0 2px 8px rgba(0,0,0,.06);

    margin-bottom: 15px;
}


/* OPCIONES */

.chat-options{
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 8px;
}

.chat-options button{
    border: 1px solid #eeeeee;

    background: white;
    color: #333;

    padding: 11px 8px;

    border-radius: 9px;

    cursor: pointer;

    font-size: 13px;

    transition: .2s;
}

.chat-options button:hover{
    background: #d6002f;
    color: white;

    border-color: #d6002f;
}


/* WHATSAPP */
.contacto-grid { 
    display: grid; 
    grid-template-columns: 620px 350px; 
    gap: 40px; 
    align-items: start; 
    justify-content: start;
}

.chatbot-column {
    width: 100%;
}

.chatbot-box {
    position: static;

    width: 350px;
    height: 510px;

    background: white;
    border-radius: 16px;
    overflow: hidden;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
}
.chatbot-box2 {
    display: none;
}

.chatbot-box2.active {
    display: block;
}
.whatsapp-chat{
    display: block;

    background: #25D366;
    color: white;

    text-decoration: none;
    text-align: center;

    padding: 11px;

    border-radius: 8px;

    margin-top: 12px;

    font-weight: 600;
}

.whatsapp-chat:hover{
    background: #1ebe5b;
}
/* =========================
   RESULTADOS
========================= */

.resultados{
    background: #ffffff;
    padding: 25px 0 40px;
}

.resultados-contenedor{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}


/* TÍTULO Y FECHA */

.resultados-titulo{
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
}

.resultados-titulo h2{
    margin: 0;
    font-size: 25px;
    font-weight: 400;
    color: #777;
}

.resultados-fecha{
    font-size: 14px;
    color: #777;
    padding-left: 8px;
    border-left: 1px solid #777;
    white-space: nowrap;
}
.resultados-lista > a,
.claves-dropdown > summary {
    display: list-item;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    color: #000;
    text-decoration: none;
    margin: 0 0 18px 0;
}

/* Quitar estilos adicionales del summary */
.claves-dropdown > summary {
    cursor: pointer;
}
/* SUBRAYADO WHATSAPP */
.whatsapp-link {
    color: #000;
    text-decoration: none;
}
.whatsapp-link:hover {
    color: #c5161d;
}

/* Lista de canales */
.lista-canales {
    display: flex;
    flex-direction: row;
    gap: 18px;
    margin-top: 10px;
    padding-left: 18px;
    flex-wrap: wrap;
}

.lista-canales a {
    color: #000;
    font-size: 14px;
    text-decoration: underline !important;;
    cursor: pointer;
    margin: 0;
}

.lista-canales a:hover {
    color: #d6002f;
}

/* LISTA DE RESULTADOS */

.resultados-lista{
    display: flex;
    flex-direction: column;
}

.resultados-lista a{
    display: block;

    color: #111;
    text-decoration: none;

    font-size: 14px;
    font-weight: 400;

    padding: 8px 0;
}

.resultados-lista a:hover{
    color: #d6002f;
}

/* MÓVIL */

@media (max-width: 500px) {

    /* CONTACTO EN UNA SOLA COLUMNA */
    .contacto-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* ASISTENTE MÁS PEQUEÑO EN CELULAR */
    .chatbot-box {
        position: static;

        width: 290px;
        height: 410px;
        max-width: 90%;

        margin: 0 auto;

        border-radius: 14px;
    }

    /* CABECERA */
    .chatbot-header {
        padding: 12px 14px;
    }

    .chatbot-header strong {
        font-size: 15px;
    }

    .chatbot-header span {
        font-size: 11px;
    }

    /* CONTENIDO */
    .chatbot-messages {
        padding: 12px;
        max-height: 335px;
    }

    .bot-message {
        padding: 10px 12px;
        font-size: 13px;
    }

    /* BOTONES */
    .chat-options {
        gap: 6px;
    }

    .chat-options button {
        padding: 9px 5px;
        font-size: 12px;
    }
}