/* =========================================================
   RESET
========================================================= */

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

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;
    background:#f3f5f8;
    color:#1f2937;
    overflow-x:hidden;

}

a{
    text-decoration:none;
    color:inherit;
}

img{
    display:block;
    max-width:100%;
}

/* =========================================================
   CONTAINER
========================================================= */

.container{

    width:100%;
    max-width:1180px;
    margin:auto;
    padding:0 16px;

}

/* =========================================================
   TOPBAR
========================================================= */

.topbar{

    background:#003e83;
    height:32px;

    display:flex;
    align-items:center;

}

.topbar .container{

    display:flex;
    justify-content:flex-end;
    gap:24px;

}

.topbar a{

    color:#fff;
    font-size:11px;
    font-weight:700;

}

/* =========================================================
   HEADER
========================================================= */

.header{

    background:#fff;
    border-bottom:1px solid #e5e7eb;

    position:sticky;
    top:0;
    z-index:999;

}

.header-inner{

    min-height:110px;

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

}

/* =========================================================
   LOGO
========================================================= */

.logo img{

    width:320px;
    height:auto;

}

/* =========================================================
   NAV
========================================================= */

.main-nav{

    display:flex;
    align-items:center;
    gap:28px;

}

.main-nav a{

    color:#003e83;
    font-size:15px;
    font-weight:800;

    line-height:1.1;

    transition:.25s;

}

.main-nav a:hover{

    transform:translateY(-2px);

}

.main-nav a small{

    display:block;

    margin-top:5px;

    color:#6b7280;

    font-size:11px;
    font-weight:500;

}

.main-nav .active{

    background:#003e83;
    color:#fff;

    padding:15px 18px;

    border-radius:18px;

}

.main-nav .active small{

    color:#fff;

}

/* =========================================================
   HERO
========================================================= */

.hero-modern{

    padding:24px 0 30px;

}

.hero-layout{

    display:grid;

    grid-template-columns:
        minmax(0,1fr)
        320px;

    gap:18px;

    align-items:start;

}

/* =========================================================
   HERO LEFT
========================================================= */

.hero-left{

    display:grid;

    grid-template-areas:
        "slider"
        "banners"
        "schools";

    gap:14px;

}

/* =========================================================
   SLIDER
========================================================= */

.hero-slider-box{

    grid-area:slider;

}

.hero-slider{

    position:relative;

    height:390px;

    overflow:hidden;

    border-radius:28px;

    background:#003e83;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.hero-slide{

    position:absolute;
    inset:0;

    opacity:0;
    visibility:hidden;

    transition:.5s;

}

.hero-slide.active{

    opacity:1;
    visibility:visible;

}

.hero-slide img{

    width:100%;
    height:100%;

    object-fit:cover;

}

/* =========================================================
   OVERLAY
========================================================= */

.hero-overlay{

    position:absolute;
    inset:0;

    background:
    linear-gradient(
        90deg,
        rgba(0,44,110,.92) 0%,
        rgba(0,44,110,.72) 40%,
        rgba(0,44,110,.10) 100%
    );

    z-index:2;

}

/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content{

    position:absolute;

    left:34px;
    top:42px;

    z-index:5;

    max-width:400px;

}

.hero-dots-top{

    display:flex;
    gap:10px;

    margin-bottom:28px;

}

.hero-dots-top button{

    width:10px;
    height:10px;

    border-radius:50%;

    border:2px solid rgba(255,255,255,.9);

    background:transparent;

}

.hero-dots-top button.active{

    background:#fff;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    min-height:40px;

    padding:0 18px;

    border-radius:999px;

    border:2px solid rgba(255,255,255,.45);

    color:#fff;

    font-size:11px;
    font-weight:800;

    letter-spacing:.5px;

    background:rgba(255,255,255,.08);

}

.hero-content h1{

    color:#fff;

    font-size:54px;
    line-height:.92;

    font-weight:900;

    margin:14px 0 14px;

}

.hero-content p{

    color:#fff;

    font-size:15px;
    line-height:1.6;

    margin-bottom:18px;

}

.hero-button{

    display:inline-flex;

    align-items:center;
    gap:12px;

    background:#fff;
    color:#003e83;

    min-height:50px;

    padding:0 22px;

    border-radius:16px;

    font-size:15px;
    font-weight:800;

}

/* =========================================================
   ARROWS
========================================================= */

.hero-arrows{

    position:absolute;

    right:22px;
    bottom:22px;

    z-index:8;

    display:flex;
    gap:10px;

}

.hero-arrows button{

    width:50px;
    height:50px;

    border:none;

    border-radius:50%;

    background:#fff;

    color:#003e83;

    font-size:26px;
    font-weight:800;

    cursor:pointer;

}

/* =========================================================
   MINI BANNERS
========================================================= */

.hero-mini-banners{

    grid-area:banners;

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:14px;

}

/* =========================================================
   MINI CARD
========================================================= */

.mini-banner{

    position:relative;

    overflow:hidden;

    border-radius:24px;

    min-height:180px;

    padding:22px;

    display:grid;

    grid-template-columns:1fr 140px;

    box-shadow:0 8px 24px rgba(0,0,0,.04);

}

.payments{

    background:
    linear-gradient(
        135deg,
        #edf3ff,
        #dfe9ff
    );

}

.security{

    background:
    linear-gradient(
        135deg,
        #ebfaf1,
        #d9f7e7
    );

}

.mini-banner-content{

    position:relative;
    z-index:2;

}

.mini-banner small{

    display:block;

    color:#003e83;

    font-size:10px;
    font-weight:800;

    letter-spacing:.5px;

    margin-bottom:10px;

}

.security small{

    color:#15803d;

}

.mini-banner h3{

    color:#003e83;

    font-size:22px;
    line-height:1.04;

    font-weight:900;

    margin-bottom:12px;

}

.mini-banner p{

    color:#4b5563;

    font-size:13px;
    line-height:1.7;

}

.mini-button{

    display:inline-flex;

    align-items:center;
    gap:8px;

    margin-top:18px;

    background:#003e83;
    color:#fff;

    min-height:40px;

    padding:0 16px;

    border-radius:14px;

    font-size:12px;
    font-weight:700;

}

.dark{

    background:#166534;

}

/* =========================================================
   PAYMENT GRAPHIC
========================================================= */

.payments-graphic{

    position:relative;

}

.payment-card{

    position:absolute;

    border-radius:18px;

}

.payment-card.blue{

    width:110px;
    height:72px;

    background:
    linear-gradient(
        135deg,
        #003e83,
        #4f93ff
    );

    top:24px;
    left:12px;

    transform:rotate(-12deg);

}

.payment-card.yellow{

    width:72px;
    height:50px;

    background:
    linear-gradient(
        135deg,
        #ffd54d,
        #ffb300
    );

    bottom:22px;
    right:12px;

    transform:rotate(10deg);

}

.payment-lock{

    position:absolute;

    right:28px;
    bottom:28px;

    width:48px;
    height:48px;

    border-radius:50%;

    background:#fff;

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

    font-size:20px;

    box-shadow:0 6px 14px rgba(0,0,0,.10);

}

/* =========================================================
   SECURITY GRAPHIC
========================================================= */

.security-graphic{

    position:relative;

}

.shield-circle{

    font-size:78px;

}

.helmet-circle{

    position:absolute;

    bottom:10px;
    right:8px;

    font-size:46px;

}

/* =========================================================
   SIDEBAR
========================================================= */

.hero-sidebar{

    width:100%;

}

.sidebar-card{

    background:#fff;

    border-radius:28px;

    padding:22px;

    box-shadow:0 8px 24px rgba(0,0,0,.05);

    overflow:hidden;

}

.sidebar-card small{

    display:block;

    color:#003e83;

    font-size:10px;
    font-weight:800;

    letter-spacing:.5px;

    margin-bottom:10px;

}

.sidebar-card h2{

    color:#003e83;

    font-size:38px;
    line-height:.95;

    font-weight:900;

    margin-bottom:16px;

}

.sidebar-card p{

    color:#6b7280;

    font-size:13px;
    line-height:1.7;

    margin-bottom:20px;

}

/* =========================================================
   SIDEBAR LINKS
========================================================= */

.sidebar-links{

    display:flex;
    flex-direction:column;
    gap:12px;

}

.sidebar-link{

    background:#fff;

    border:1px solid #e5e7eb;

    border-radius:20px;

    min-height:74px;

    padding:12px 14px;

    display:grid;

    grid-template-columns:44px 1fr 14px;

    align-items:center;

    gap:12px;

    transition:.25s;

}

.sidebar-link:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 18px rgba(0,0,0,.05);

}

.sidebar-icon{

    width:44px;
    height:44px;

    border-radius:14px;

    background:#003e83;

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

    color:#fff;

    font-size:18px;

}

.sidebar-info strong{

    display:block;

    color:#003e83;

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

    font-weight:800;

}

.sidebar-info span{

    display:block;

    color:#9ca3af;

    font-size:11px;

    margin-top:4px;

}

.sidebar-arrow{

    color:#003e83;

    font-size:18px;
    font-weight:900;

}

/* =========================================================
   NUESTROS COLEGIOS
========================================================= */

.schools-section{

    grid-area:schools;

}

.schools-head{

    display:flex;

    justify-content:space-between;
    align-items:flex-end;

    gap:16px;

    margin-bottom:14px;

}

.schools-head small{

    display:block;

    color:#003e83;

    font-size:10px;
    font-weight:800;

    letter-spacing:.5px;

    margin-bottom:6px;

}

.schools-head h2{

    color:#003e83;

    font-size:24px;
    line-height:1;

    font-weight:900;

}

.schools-head p{

    color:#6b7280;

    font-size:12px;

}

/* =========================================================
   SCHOOLS GRID
========================================================= */

.schools-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:12px;

}

/* =========================================================
   SCHOOL CARD
========================================================= */

.school-card{

    position:relative;

    height:130px;

    border-radius:20px;

    overflow:hidden;

    background:#fff;

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

}

.school-card img{

    width:100%;
    height:100%;

    object-fit:cover;

    transition:.3s;

}

.school-card:hover img{

    transform:scale(1.05);

}

.school-overlay{

    position:absolute;
    inset:0;

    background:
    linear-gradient(
        to top,
        rgba(0,44,110,.90),
        rgba(0,44,110,.15)
    );

}

.school-name{

    position:absolute;

    left:14px;
    bottom:12px;

    color:#fff;

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

    z-index:4;

}

/* =========================================================
   QUICK ACCESS
========================================================= */

.quick-access{

    margin-top:28px;

}

.quick-access-head{

    margin-bottom:18px;

}

.quick-access-head small{

    display:block;

    color:#003e83;

    font-size:10px;
    font-weight:800;

    margin-bottom:6px;

}

.quick-access-head h2{

    color:#003e83;

    font-size:24px;
    line-height:1;

    font-weight:900;

    margin-bottom:8px;

}

.quick-access-head p{

    color:#6b7280;

    font-size:12px;

}

.quick-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:16px;

}

.quick-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 8px 24px rgba(0,0,0,.04);

    transition:.25s;

}

.quick-card:hover{

    transform:translateY(-3px);

}

.quick-card img{

    width:100%;
    height:150px;

    object-fit:cover;

}

.quick-card-content{

    padding:18px;

}

.quick-card-content h3{

    color:#003e83;

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

    font-weight:800;

    margin-bottom:10px;

}

.quick-card-content p{

    color:#6b7280;

    font-size:12px;
    line-height:1.7;

}

/* =========================================================
   FOOTER
========================================================= */

.footer{

    margin-top:40px;

    background:#fff;

    border-top:1px solid #e5e7eb;

}

.footer-grid{

    display:grid;

    grid-template-columns:1.3fr 1fr 1fr;

    gap:30px;

    padding:36px 0;

}

.footer-logo{

    width:180px;

}

.footer-text{

    margin-top:14px;

    color:#6b7280;

    font-size:12px;
    line-height:1.8;

}

.footer h4{

    color:#003e83;

    font-size:16px;
    font-weight:800;

    margin-bottom:12px;

}

.footer-links{

    display:flex;
    flex-direction:column;
    gap:8px;

}

.footer-links a{

    color:#6b7280;

    font-size:12px;
    font-weight:600;

}

.footer-bottom{

    border-top:1px solid #e5e7eb;

    padding:14px;

    text-align:center;

    color:#9ca3af;

    font-size:11px;

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1100px){

    .hero-layout{

        grid-template-columns:1fr;

    }

    .schools-grid,
    .quick-grid{

        grid-template-columns:1fr 1fr;

    }

}

@media(max-width:768px){

    .header-inner{

        min-height:auto;

        flex-direction:column;

        gap:20px;

        padding:20px 0;

    }

    .main-nav{

        flex-wrap:wrap;
        justify-content:center;

        gap:18px;

    }

    .hero-slider{

        height:480px;

    }

    .hero-content{

        left:24px;
        top:32px;

        max-width:85%;

    }

    .hero-content h1{

        font-size:42px;

    }

    .hero-mini-banners{

        grid-template-columns:1fr;

    }

}

@media(max-width:600px){

    .topbar{

        display:none;

    }

    .logo img{

        width:240px;

    }

    .schools-grid,
    .quick-grid{

        grid-template-columns:1fr;

    }

    .hero-content h1{

        font-size:36px;

    }

    .sidebar-card h2{

        font-size:30px;

    }

}


/* =========================================================
   FIX HEADER
========================================================= */

.header{

    width:100%;
    background:#fff;

    position:relative;
    z-index:999;

    border-bottom:1px solid #e5e7eb;

}

.header-inner{

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

    min-height:110px;

}

.main-nav{

    display:flex;
    align-items:center;
    gap:30px;

}

.main-nav a{

    display:flex;
    flex-direction:column;

    color:#003e83 !important;

    font-size:15px;
    font-weight:800;

    line-height:1.1;

}

.main-nav a small{

    margin-top:5px;

    color:#6b7280 !important;

    font-size:11px;
    font-weight:500;

}

.main-nav a.active{

    background:#003e83;

    color:#fff !important;

    padding:14px 18px;

    border-radius:18px;

}

.main-nav a.active small{

    color:#fff !important;

}