
    @import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap');

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

    :root {
      --navy:    #0A2D5E;
      --blue:    #0A4790;
      --sky:     #88d7f9;
      --green:   #19B767;
      --white:   #FFFFFF;
      --offwhite:#F4F6FA;
      --gray:    #8A96A8;
      --dark:    #0D1420;
      --gold:    #C8A040;
      --radius:  10px;
      --font-head: 'Quicksand', 'Nunito', 'Varela Round', ui-rounded, sans-serif;
      --font-body: 'Quicksand', 'Nunito', 'Varela Round', ui-rounded, sans-serif;
      --font-mono: 'Quicksand', 'Nunito', monospace;
    }

    html { scroll-behavior: smooth; }
    body { font-family: var(--font-body); color: var(--dark); background: var(--white); overflow-x: hidden; }

    a { text-decoration: none; color: inherit; }
    img { display: block; max-width: 100%; }

    /* ══════════════════════════════════
       TOP BAR
    ══════════════════════════════════ */
    .topbar {
      background: var(--navy);
      color: rgba(255,255,255,0.8);
      font-size: 12px;
      font-family: var(--font-mono);
      letter-spacing: 0.02em;
      padding: 7px 0;
    }
     .topbar .small{font-size: 12px;} 
     .topbar a:hover{color:var(--sky) !important;}
    .topbar-inner {
      max-width: 1200px; margin: 0 auto; padding: 0 24px;
      display: flex; justify-content: space-between; align-items: center; gap: 12px;
    }
    .topbar-left { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
    .topbar-left a { color: rgba(255,255,255,0.75); transition: color .2s; }
    .topbar-left a:hover { color: var(--sky); }
    .topbar-right { display: flex; gap: 14px; font-size: 15px; }
    .topbar-right a { color: rgba(255,255,255,0.7); transition: color .2s; }
    .topbar-right a:hover { color: var(--sky); }
    @media (max-width: 640px) {
      .topbar-left { font-size: 10px; gap: 10px; }
      .topbar-right { font-size: 13px; gap: 10px; }
    }
    @media (max-width: 400px) { .topbar { display: none; } }

    /* ══════════════════════════════════
       NAVBAR
    ══════════════════════════════════ */
    .navbar {
      background: var(--blue);
      position: sticky; top: 0; z-index: 900;
      box-shadow: 0 2px 20px rgba(10,45,94,0.35);
    }
    .nav-inner {
      max-width: 1200px; margin: 0 auto; padding: 0 24px;
      display: flex; align-items: center; justify-content: space-between;
      height: 64px;
    }
    .nav-logo {
      display: flex; align-items: center; gap: 12px; color: var(--white);
    }
    .nav-logo-icon {
      width: 42px; height: 42px; background: var(--white);
      border-radius: 8px; display: flex; align-items: center; justify-content: center;
      font-size: 22px; font-weight: 900; color: var(--blue);
      font-family: var(--font-head); line-height: 1;
    }
    .nav-logo-text { line-height: 1.15; }
    .nav-logo-text .sub { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); font-family: var(--font-mono); }
    .nav-logo-text .name { font-size: 18px; font-weight: 700; font-family: var(--font-head); }

    .nav-links { display: flex; align-items: center; gap: 4px; }
    .nav-links a {
      color: rgba(255,255,255,0.85); font-size: 13.5px; font-weight: 500;
      padding: 8px 14px; border-radius: 6px; transition: background .2s, color .2s;
      letter-spacing: 0.01em;
    }
    .nav-links a:hover { background: rgba(255,255,255,0.12); color: var(--white); }

    .nav-link {
      display: flex; align-items: center; gap: 4px; 
      color: rgba(255,255,255,0.85); font-size: 13.5px; font-weight: 500;
      padding: 8px 14px; border-radius: 6px; transition: background .2s, color .2s;
      letter-spacing: 0.01em;
      margin: 0 12px;
    }
     .nav-link:hover { background: rgba(255,255,255,0.12); color: var(--white); }
      .nav-link .btn-success  {
      background: var(--green) !important; color: var(--white);
      padding: 8px 18px; border-radius: 20px; 
      margin-left: 8px;
      font-size: 13px !important;
    } 

   
    .nav-item .btn-mi-colegio {
      background: var(--green); color: var(--white);
      padding: 8px 18px; border-radius: 20px; font-weight: 600;
      margin-left: 8px;
      font-size: 13.5px !important;
    }
    .nav-item .btn-mi-colegio:hover { background: #16a05a; }

   
    .nav-links .btn-mi-colegio {
      background: var(--green); color: var(--white);
      padding: 8px 18px; border-radius: 20px; font-weight: 600;
      margin-left: 8px;
      font-size: 13.5px !important;
    }
    .nav-links .btn-mi-colegio:hover { background: #16a05a; }

    .nav-burger {
      display: none; flex-direction: column; gap: 5px; cursor: pointer;
      padding: 6px; border: none; background: none;
    }
    .nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s; }

    .nav-mobile {
      display: none; flex-direction: column;
      background: var(--navy); padding: 16px 24px 20px;
    }
    .nav-mobile a {
      color: rgba(255,255,255,0.85); padding: 12px 0; font-size: 15px; font-weight: 500;
      border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    .nav-mobile a:last-child { border-bottom: none; }
    .nav-mobile.open { display: flex; }

    @media (max-width: 768px) {
      .nav-links { display: none; }
      .nav-burger { display: flex; }
    }

    /* ══════════════════════════════════
       CARRUSEL HERO
    ══════════════════════════════════ */
    .hero { position: relative; overflow: hidden; }
    .slides-track { display: flex; transition: transform 0.7s cubic-bezier(.77,0,.18,1); }
    .slide {
      min-width: 100%; height: 88vh; position: relative;
      background-size: cover; background-position: center; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
    }
    @media (max-width: 768px) { .slide { height: 65vh; } }
    @media (max-width: 480px) { .slide { height: 58vh; } }

    .slide-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(160deg, rgba(10,45,94,0.15) 0%, rgba(10,45,94,0.72) 55%, rgba(10,29,64,0.92) 100%);
    }
    .slide-content {
      position: relative; z-index: 2; text-align: center;
      color: var(--white); padding: 0 24px; max-width: 760px;
      animation: fadeUp 0.8s ease both;
    }
    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    .slide-tag {
      display: inline-block; background: var(--sky); color: var(--navy);
      font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em;
      text-transform: uppercase; padding: 5px 14px; border-radius: 20px;
      margin-bottom: 18px; font-weight: 600;
    }
    .slide-content h1 {
      font-family: var(--font-head); font-size: clamp(26px, 5vw, 52px);
      font-weight: 700; line-height: 1.12; margin-bottom: 16px;
      text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    }
    .slide-content p {
      font-size: clamp(14px, 2vw, 18px); line-height: 1.6;
      color: rgba(255,255,255,0.88); max-width: 580px; margin: 0 auto 28px;
    }
    .slide-btn {
      display: inline-block; border: 2px solid var(--white);
      color: var(--white); padding: 12px 36px; border-radius: 30px;
      font-weight: 600; font-size: 14px; letter-spacing: 0.04em;
      transition: background .25s, color .25s;
    }
    .slide-btn:hover { background: var(--white); color: var(--blue); }
    .slide-btn.filled { background: var(--green); border-color: var(--green); margin-left: 10px; }
    .slide-btn.filled:hover { background: #13a05a; border-color: #13a05a; color: #fff; }

    /* flechas */
    .hero-prev, .hero-next {
      position: absolute; top: 50%; transform: translateY(-50%);
      z-index: 10; background: rgba(255,255,255,0.15); border: none; cursor: pointer;
      width: 46px; height: 46px; border-radius: 50%; color: var(--white);
      font-size: 20px; display: flex; align-items: center; justify-content: center;
      transition: background .2s; backdrop-filter: blur(4px);
    }
    .hero-prev { left: 20px; }
    .hero-next { right: 20px; }
    .hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,0.3); }
    @media (max-width: 480px) { 
      .hero-prev, .hero-next { width: 36px; height: 36px; font-size: 16px; } 
      .slide-tag {font-size: 18px; display: none; }
      .slide-content{ width: 90%;}
    }

    /* dots */
    .hero-dots {
      position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
      display: flex; gap: 8px; z-index: 10;
    }
    .dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: rgba(255,255,255,0.4); cursor: pointer; transition: all .3s;
      border: none;
    }
    .dot.active { background: var(--white); width: 24px; border-radius: 4px; }

    /* access buttons */
    .access-bar {
      background: var(--navy); display: flex;
      height: 104px;
    }
    .access-btn {
      flex: 1; display: flex; align-items: center; justify-content: center; gap: 14px;
      padding: 18px 24px; cursor: pointer; transition: background .25s;
      text-decoration: none;
    }
    .access-btn:first-child { background: var(--sky); color: var(--navy); border-right: 1px solid rgba(0,0,0,0.08); }
    .access-btn:last-child  { background: var(--blue); color: var(--white); }
    .access-btn:first-child:hover { background: #4daacc; }
    .access-btn:last-child:hover  { background: #083c7a; }
    .access-icon { font-size: 28px; flex-shrink: 0; display: flex; align-items: center; }
    .access-icon svg { stroke: currentColor; }
    .access-icon img{ width: 86px;}
    .access-text h5 { font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1.2; }
    .access-text p  { font-size: 14px; opacity: 0.75; margin-top: 2px; line-height: 1.3; }
    @media (max-width: 480px) {
      .access-bar { flex-direction: row;}
      .access-text p { display: none; }
      .access-btn { padding: 14px 16px; gap: 10px;}
      .access-icon { font-size: 22px; }
      .access-icon img{ width: 54px;}
      .access-text{ padding-top: 12px;}
      .access-text h5 { font-size: 14px; }
    }

    /* ══════════════════════════════════
       SECCIÓN: SOBRE EL COLEGIO
    ══════════════════════════════════ */
    .section { padding: 80px 24px; }
    .section-inner { max-width: 1200px; margin: 0 auto; }

    .section-label {
      font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
      text-transform: uppercase; color: var(--blue); font-weight: 600;
      display: block; margin-bottom: 12px;
    }
    .section-title {
      font-family: var(--font-head); font-size: clamp(28px, 4vw, 44px);
      font-weight: 700; line-height: 1.15; color: var(--navy);
    }
    .section-title span { color: var(--blue); }
    .section-divider {
      width: 56px; height: 3px; background: var(--blue);
      margin: 18px 0 24px; border-radius: 2px;
    }
    .section-divider.green { background: var(--green); }

    /* Sobre el colegio */
    .about-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
    }
    @media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

    .about-text p {
      font-size: 15.5px; line-height: 1.8; color: #3a4560; margin-bottom: 18px;
    }
    .about-text strong { color: var(--navy); }
    .about-stats {
      display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px;
    }
    .stat-card {
      background: var(--offwhite); border-radius: var(--radius);
      padding: 20px; border-left: 3px solid var(--blue);
    }
    .stat-num {
      font-family: var(--font-head); font-size: 36px; font-weight: 700;
      color: var(--blue); line-height: 1;
    }
    .stat-label { font-size: 12px; color: var(--gray); margin-top: 4px; font-weight: 500; }

    .about-image-wrap { position: relative; }
    .about-image-wrap img {
      width: 100%; height: 420px; object-fit: cover;
      border-radius: 16px; box-shadow: 0 20px 60px rgba(10,45,94,0.2);
    }
    .about-badge {
      position: absolute; bottom: -20px; left: -20px;
      background: var(--blue); color: var(--white);
      border-radius: 12px; padding: 18px 24px;
      box-shadow: 0 8px 32px rgba(10,45,94,0.3);
    }
    .about-badge .num { font-family: var(--font-head); font-size: 36px; font-weight: 700; line-height: 1; }
    .about-badge .txt { font-size: 11px; letter-spacing: 0.08em; opacity: 0.8; margin-top: 2px; text-transform: uppercase; }
    @media (max-width: 900px) {
      .about-badge { bottom: 16px; left: 16px; }
      .about-image-wrap img { height: 280px; }
    }

     @media (max-width: 428px) {
      .about-badge { bottom: 16px; left: 16px; }
      .about-image-wrap img { height: 280px; }
  
    }

    /* ══════════════════════════════════
       VALORES EDUCATIVOS
    ══════════════════════════════════ */
    .valores { background: var(--navy); }
    .valores .section-title { color: var(--white); }
    .valores .section-label { color: var(--sky); }
    .valores .section-divider { background: var(--green); }

    .valores-intro { max-width: 580px; }
    .valores-intro p { color: rgba(255,255,255,0.72); font-size: 15px; line-height: 1.75; }

    .valores-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px; margin-top: 48px;
    }
    @media (max-width: 900px) { .valores-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 480px) { .valores-grid { grid-template-columns: 1fr; } }

    .valor-card {
      background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
      border-radius: 14px; padding: 28px 24px;
      transition: background .3s, transform .3s, border-color .3s;
      cursor: default;
    }
    .valor-card:hover {
      background: rgba(100,187,225,0.12);
      border-color: rgba(100,187,225,0.4);
      transform: translateY(-4px);
    }
    .valor-icon {
      width: 52px; height: 52px; border-radius: 12px;
      background: linear-gradient(135deg, var(--blue), var(--sky));
      display: flex; align-items: center; justify-content: center;
      margin-bottom: 18px;
      box-shadow: 0 4px 16px rgba(100,187,225,0.3);
    }
    .valor-icon svg { stroke: #fff; }
    .valor-card h3 {
      font-family: var(--font-head); font-size: 18px; font-weight: 700;
      color: var(--white); margin-bottom: 8px;
    }
    .valor-card p { font-size: 13px; color: rgba(255,255,255,0.62); line-height: 1.65; }

    /* ══════════════════════════════════
       NOTICIAS
    ══════════════════════════════════ */
    .noticias { background: var(--offwhite); }
    .noticias-header {
      display: flex; align-items: flex-end; justify-content: space-between;
      margin-bottom: 40px; gap: 20px; flex-wrap: wrap;
    }
    .ver-mas {
      font-size: 13px; font-weight: 600; color: var(--blue);
      border: 1.5px solid var(--blue); padding: 9px 22px; border-radius: 20px;
      transition: background .2s, color .2s; white-space: nowrap;
      font-family: var(--font-mono); letter-spacing: 0.04em;
    }
    .ver-mas:hover { background: var(--blue); color: var(--white); }

    .news-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
    }
    @media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
    @media (max-width: 480px) { .news-grid { grid-template-columns: 1fr; } }

    .news-card {
      background: var(--white); border-radius: 12px;
      overflow: hidden; box-shadow: 0 2px 12px rgba(10,45,94,0.08);
      transition: transform .3s, box-shadow .3s;
    }
    .news-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(10,45,94,0.15); }
    .news-img {
      width: 100%; height: 170px; object-fit: cover; background: #ccd6e8;
      display: flex; align-items: center; justify-content: center;
      font-size: 40px; color: rgba(10,45,94,0.2);
    }
    .news-img img { width: 100%; height: 100%; object-fit: cover; }
    .news-body { padding: 18px 16px 20px; }
    .news-date { font-family: var(--font-mono); font-size: 10.5px; color: var(--gray); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 8px; }
    .news-body h4 { font-family: var(--font-head); font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.35; margin-bottom: 12px; }
    .leer-mas { font-size: 12.5px; font-weight: 600; color: var(--blue); font-family: var(--font-mono); }
    .leer-mas:hover { text-decoration: underline; }

    /* ══════════════════════════════════
       UBICACIÓN
    ══════════════════════════════════ */
    .ubicacion { background: var(--blue); color: var(--white); }
    .ubicacion .section-title { color: var(--white); }
    .ubicacion .section-label { color: var(--sky); }
    .ubicacion .section-divider { background: var(--white); }

    .ubicacion-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start;
    }
    @media (max-width: 900px) { .ubicacion-grid { grid-template-columns: 1fr; gap: 40px; } }

    .ubicacion-text p { font-size: 15px; line-height: 1.75; color: rgba(255,255,255,0.8); margin-bottom: 16px; }
    .ubicacion-address {
      background: rgba(255,255,255,0.1); border-radius: 10px;
      padding: 20px 24px; margin: 24px 0;
      border-left: 3px solid var(--sky);
    }
    .ubicacion-address p { margin: 0; color: rgba(255,255,255,0.9); font-size: 14px; line-height: 1.9; }
    .ubicacion-address strong { color: var(--white); font-size: 16px; }

    .map-btns { display: flex; gap: 12px; flex-wrap: wrap; }
    .map-btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 11px 22px; border-radius: 24px; font-size: 13px; font-weight: 600;
      transition: all .2s;
    }
    .map-btn.outline { border: 1.5px solid rgba(255,255,255,0.6); color: var(--white); }
    .map-btn.outline:hover { background: rgba(255,255,255,0.15); }
    .map-btn.filled { background: var(--white); color: var(--blue); }
    .map-btn.filled:hover { background: var(--sky); }

    .map-frame {
      width: 100%; height: 340px; border-radius: 14px; overflow: hidden;
      box-shadow: 0 8px 32px rgba(0,0,0,0.3); border: 3px solid rgba(255,255,255,0.2);
    }
    .map-frame iframe { width: 100%; height: 100%; border: none; }
    @media (max-width: 900px) { .map-frame { height: 240px; } }

    /* ══════════════════════════════════
       FOOTER
    ══════════════════════════════════ */
    footer {
      background: var(--dark); color: rgba(255,255,255,0.6);
      padding: 32px 24px; font-size: 12.5px;
    }
    .footer-inner {
      max-width: 1200px; margin: 0 auto;
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 16px;
    }
    .footer-left { line-height: 1.8; }
    .footer-left a { color: rgba(255,255,255,0.6); }
    .footer-left a:hover { color: var(--sky); }
    .footer-social { display: flex; gap: 14px; font-size: 18px; }
    .footer-social a { color: rgba(255,255,255,0.5); transition: color .2s; }
    .footer-social a:hover { color: var(--sky); }

    /* btn volver arriba */
    .btn-top {
      position: fixed; bottom: 24px; right: 20px; z-index: 800;
      width: 42px; height: 42px; background: var(--blue); color: var(--white);
      border-radius: 50%; display: flex; align-items: center; justify-content: center;
      font-size: 18px; box-shadow: 0 4px 16px rgba(10,45,94,0.35);
      cursor: pointer; transition: background .2s, opacity .3s;
      opacity: 0; pointer-events: none;
      text-decoration: none;
    }
    .btn-top.visible { opacity: 1; pointer-events: auto; }
    .btn-top:hover { background: var(--navy); }

    /* scroll reveal — parte visible, anima al entrar */
    .reveal { opacity: 1; transform: translateY(0); transition: opacity .65s ease, transform .65s ease; }
    .reveal.hidden { opacity: 0; transform: translateY(32px); }
  

    /* ══════════════════════════════════
   FIX: Botones del slide en móvil
══════════════════════════════════ */
.slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.slide-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 0;
}
/* quitar el margin-left del .filled que ya no se necesita con flex+gap */
.slide-btn.filled { margin-left: 0; }

@media (max-width: 480px) {
  .slide-btn-group {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .slide-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 12px 24px;
    font-size: 13px;
  }
}



/* Altura del carrusel */
  #heroCarousel { background: #0a2d5e; }
  .hero-slide {
    height: 88vh;
    min-height: 480px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  @media (max-width: 768px) { .hero-slide { height: 65vh; } }
  @media (max-width: 480px) { .hero-slide { height: 58vh; } }

  /* Overlay */
  .hero-slide::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(10,45,94,0.15) 0%, rgba(10,45,94,0.72) 55%, rgba(10,29,64,0.92) 100%);
  }

  /* Contenido centrado sobre el overlay */
  .hero-slide .slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 24px;
    max-width: 760px;
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeUp 0.8s ease both;
  }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  /* Flechas personalizadas (reemplazan las de Bootstrap) */
  #heroCarousel .carousel-control-prev,
  #heroCarousel .carousel-control-next {
    width: 46px; height: 46px;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    top: 50%; transform: translateY(-50%);
    backdrop-filter: blur(4px);
    opacity: 1;
    transition: background .2s;
  }
  #heroCarousel .carousel-control-prev { left: 20px; }
  #heroCarousel .carousel-control-next { right: 20px; }
  #heroCarousel .carousel-control-prev:hover,
  #heroCarousel .carousel-control-next:hover { background: rgba(255,255,255,0.3); }
  #heroCarousel .carousel-control-prev-icon,
  #heroCarousel .carousel-control-next-icon { width: 18px; height: 18px; }

  /* Dots (indicators) personalizados */
  #heroCarousel .carousel-indicators {
    bottom: 22px; gap: 8px; margin: 0;
  }
  #heroCarousel .carousel-indicators [data-bs-target] {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none; padding: 0;
    transition: all .3s;
    flex-shrink: 0;
  }
  #heroCarousel .carousel-indicators .active {
    width: 24px;
    border-radius: 4px;
    background: #fff;
  }