﻿/* ================= LANDING HOME – SOLO PALETA OFICIAL ================= */

.landing {
    background: #FEFEFE;
    color: #1D2648;
}

/* ---------- HERO SLIDER FULL-WIDTH ---------- */

.hero-slider {
    background: linear-gradient(180deg, #A5C83C 0%, #FEFEFE 40%, #FEFEFE 100%);
    padding-top: 0;
}

.hero-slider-inner {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.hero-slides {
    position: relative;
    width: 100%;
}

/* ================= HERO SLIDE CON FONDO DIFUMINADO (OPCIÓN 1) ================= */

.hero-slide {
    display: none;
    position: relative;
    overflow: hidden;
    /* Se setea desde JS: --slide-bg: url('...') */
    --slide-bg: none;
    background-color: #A5C83C; /* fallback */
}

    .hero-slide.is-active {
        display: block;
    }

    /* Fondo difuminado del mismo banner (rellena los lados) */
    .hero-slide::before {
        content: "";
        position: absolute;
        inset: -60px;
        background-image: var(--slide-bg);
        background-size: cover;
        background-position: center;
        filter: blur(34px);
        transform: scale(1.2);
        opacity: 0.60;
        z-index: 1;
    }

    /* Capa leve para que el blur no “ensucie” demasiado */
    .hero-slide::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(165, 200, 60, 0.22), rgba(165, 200, 60, 0.10) 30%, rgba(165, 200, 60, 0.10) 70%, rgba(165, 200, 60, 0.22) );
        z-index: 2;
        pointer-events: none;
    }

    .hero-slide img {
        position: relative;
        z-index: 3;
        display: block;
        width: 100vw; /* EXTREMO A EXTREMO */
      
        height: clamp(320px, 38vw, 520px);
        object-fit: cover; /* SE VE TODA LA IMAGEN */
        object-position: center;
        margin: 0 auto;
    }
@media (max-width: 768px) {
    .hero-slide img {
        height: clamp(240px, 70vw, 420px);
    }
}

/* Flechas */

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid rgba(254, 254, 254, 0.85);
    background: rgba(29, 38, 72, 0.15);
    border-radius: 999px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FEFEFE;
    box-shadow: 0 4px 18px rgba(29, 38, 72, 0.4);
    cursor: pointer;
    transition: background .15s, color .15s, transform .15s, box-shadow .15s, border-color .15s;
    z-index: 6;
}

    .hero-arrow span {
        font-size: 1.6rem;
        line-height: 1;
    }

.hero-arrow-left {
    left: 16px;
}

.hero-arrow-right {
    right: 16px;
}

.hero-arrow:hover {
    background: #1D2648;
    color: #FEFEFE;
    border-color: #FEFEFE;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 8px 22px rgba(29, 38, 72, 0.5);
}

@media (max-width: 575.98px) {
    .hero-arrow {
        width: 32px;
        height: 32px;
        top: calc(50% - 8px);
    }

        .hero-arrow span {
            font-size: 1.3rem;
        }
}

/* Dots */

.hero-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 12px 0 18px;
}

    .hero-dots button {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        border: 1px solid #1D2648;
        background: rgba(254, 254, 254, 0.8);
        padding: 0;
        cursor: pointer;
        transition: background .15s, transform .15s, border-color .15s, box-shadow .15s;
    }

        .hero-dots button.is-active {
            background: #A5C83C;
            transform: scale(1.25);
            border-color: #1D2648;
            box-shadow: 0 0 0 4px rgba(165, 200, 60, 0.4);
        }

/* ---------- INTRO BAJO EL BANNER ---------- */

.intro-band {
    background: #FEFEFE;
    padding: 2.75rem 0 2.25rem;
    border-bottom: 1px solid rgba(29, 38, 72, 0.08);
}

.intro-title {
    font-weight: 800;
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    color: #1D2648;
}

.intro-sub {
    font-size: 1rem;
    color: rgba(29, 38, 72, 0.8);
    max-width: 34rem;
}

.intro-cta .btn-success {
    background-color: #A5C83C;
    border-color: #A5C83C;
    box-shadow: 0 10px 22px rgba(29, 38, 72, 0.22);
    color: #1D2648;
}

    .intro-cta .btn-success:hover {
        background-color: rgba(165, 200, 60, 0.9);
        border-color: rgba(165, 200, 60, 0.9);
    }

.intro-cta .btn-outline-success {
    border-color: #A5C83C;
    color: #1D2648;
    background-color: #FEFEFE;
}

    .intro-cta .btn-outline-success:hover {
        color: #1D2648;
        background-color: rgba(165, 200, 60, 0.12);
    }

/* Cajita "¿Por qué Intelectus?" */

.intro-highlight {
    background: rgba(254, 254, 254, 0.96);
    border-radius: 1rem;
    border: 1px solid rgba(29, 38, 72, 0.10);
    padding: 1.3rem 1.5rem;
    box-shadow: 0 10px 25px rgba(29, 38, 72, 0.12);
    position: relative;
    overflow: hidden;
}

    .intro-highlight::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(135deg, rgba(165, 200, 60, 0.22), transparent);
        pointer-events: none;
    }

    .intro-highlight > * {
        position: relative;
        z-index: 1;
    }

    .intro-highlight h6 {
        font-weight: 700;
        color: #1D2648;
        margin-bottom: .5rem;
    }

    .intro-highlight ul {
        padding-left: 1.1rem;
        margin-bottom: 0;
        color: rgba(29, 38, 72, 0.8);
        font-size: .95rem;
    }

/* ---------- FEATURE TILES ---------- */

.feature-band {
    background: #FEFEFE;
    padding: 2.5rem 0 2.2rem;
}

.feature-tiles .tile {
    background: rgba(254, 254, 254, 0.96);
    border: 1px solid rgba(29, 38, 72, 0.10);
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(29, 38, 72, 0.10);
    padding: 1rem 1.1rem;
    display: flex;
    gap: .9rem;
    align-items: flex-start;
    transition: transform .15s, box-shadow .15s, border-color .15s;
    backdrop-filter: blur(6px);
}

    .feature-tiles .tile:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 30px rgba(29, 38, 72, 0.18);
        border-color: rgba(165, 200, 60, 0.8);
    }

.tile .icn {
    flex: 0 0 44px;
    height: 44px;
    width: 44px;
    display: grid;
    place-items: center;
    border-radius: .8rem;
    background: rgba(165, 200, 60, 0.18);
    box-shadow: inset 0 0 0 1px rgba(165, 200, 60, 0.6);
}

.tile h5 {
    margin: 0 0 .25rem;
    color: #1D2648;
    font-weight: 800;
}

.tile p {
    margin: 0;
    color: rgba(29, 38, 72, 0.75);
}

/* ---------- KPIs SOLO LANDING ---------- */

.landing .kpi-pro {
    background: #FEFEFE;
    padding: 2.5rem 0 2.2rem;
    border-top: 1px solid rgba(29, 38, 72, 0.06);
}

.landing .kpi-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.6rem;
}

.landing .kpi-item {
    min-width: 140px;
    padding: .9rem 1.3rem;
    border-radius: .9rem;
    background: rgba(254, 254, 254, 0.96);
    border: 1px solid rgba(29, 38, 72, 0.12);
    text-align: center;
    box-shadow: 0 10px 22px rgba(29, 38, 72, 0.10);
    backdrop-filter: blur(6px);
}

.landing .kpi-num {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #1D2648;
}

.landing .kpi-lbl {
    display: block;
    font-size: .9rem;
    color: rgba(29, 38, 72, 0.75);
}

.landing .kpi-cta .btn-success {
    background-color: #A5C83C;
    border-color: #A5C83C;
    color: #1D2648;
}

    .landing .kpi-cta .btn-success:hover {
        background-color: rgba(165, 200, 60, 0.9);
        border-color: rgba(165, 200, 60, 0.9);
    }

/* ==================== CICLOS – NUEVO ESTILO BLANCO/VERDE ==================== */

.ciclos-band {
    background: #FFFFFF;
    padding: 3.5rem 0 3rem;
    color: #1D2648;
    border-top: 1px solid rgba(29, 38, 72, 0.08);
}

.section-title {
    text-align: center;
    font-weight: 800;
    color: #1D2648;
    margin-bottom: 1.5rem;
}

    .section-title .rule {
        display: block;
        width: 80px;
        height: 5px;
        border-radius: 999px;
        background: #A5C83C;
        margin: .5rem auto 0;
    }

.ciclo-grid {
    row-gap: 2rem;
}

.cycle-card {
    border-radius: 1rem;
    overflow: hidden;
    background: #FFFFFF;
    border: 2px solid rgba(29, 38, 72, 0.09);
    box-shadow: 0 10px 32px rgba(29, 38, 72, 0.10);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .cycle-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px rgba(29, 38, 72, 0.16);
        border-color: #A5C83C;
    }

    .cycle-card .media-slot {
        width: 100%;
        background: rgba(29, 38, 72, 0.03);
    }

        .cycle-card .media-slot img {
            width: 100%;
            height: 160px;
            object-fit: cover;
        }

    .cycle-card .body {
        padding: 1.1rem;
        text-align: center;
    }

    .cycle-card h5 {
        font-weight: 800;
        margin-bottom: .2rem;
        color: #1D2648;
    }

    .cycle-card p {
        margin: 0 0 .6rem;
        font-size: .95rem;
        color: rgba(29, 38, 72, 0.8);
    }

    .cycle-card .btn.btn-outline-light,
    .cycle-card .btn {
        border-radius: 999px;
        padding-inline: 1.2rem;
        border-width: 2px;
        border-color: #A5C83C;
        color: #1D2648;
        background: #FFFFFF;
        transition: all .2s ease-in-out;
    }

        .cycle-card .btn:hover {
            background: #A5C83C;
            color: #FFFFFF;
            border-color: #A5C83C;
        }

/* ---------- SERVICIOS TECNOLÓGICOS ---------- */

.services-band {
    background: #FEFEFE;
    padding: 3rem 0;
}

.services-title {
    text-align: center;
    color: #1D2648;
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.service-pill {
    background: rgba(254, 254, 254, 0.96);
    border: 1px solid rgba(29, 38, 72, 0.10);
    border-radius: 1rem;
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    gap: .9rem;
    height: 100%;
    box-shadow: 0 10px 24px rgba(29, 38, 72, 0.10);
    transition: transform .15s, box-shadow .15s, border-color .15s;
    backdrop-filter: blur(6px);
}

    .service-pill:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 32px rgba(29, 38, 72, 0.18);
        border-color: rgba(165, 200, 60, 0.8);
    }

.service-icn {
    width: 44px;
    height: 44px;
    border-radius: .8rem;
    display: grid;
    place-items: center;
    background: rgba(165, 200, 60, 0.18);
    box-shadow: inset 0 0 0 1px rgba(165, 200, 60, 0.6);
}

.service-copy h5 {
    margin: 0;
    font-weight: 800;
    color: #1D2648;
}

.service-copy p {
    margin: 0;
    color: rgba(29, 38, 72, 0.75);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 991.98px) {
    .landing .kpi-item {
        min-width: 130px;
    }

    .intro-band {
        padding-top: 2.2rem;
        padding-bottom: 2rem;
    }
}

@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* ================= FOOTER PÚBLICO TIPO UPLA (HOME) ================= */

.landing-footer {
    margin-top: 0;
    color: #FEFEFE;
    background: #1D2648;
    font-size: .92rem;
}

.landing-footer-top {
    padding: 2.5rem 0 2rem;
    background: radial-gradient(140% 160% at 0% 0%, #1D2648 0%, rgba(29, 38, 72, 0.92) 55%, #1D2648 100%);
}

.landing-footer-title {
    font-weight: 800;
    color: #FEFEFE;
}

.landing-footer-text {
    color: rgba(254, 254, 254, 0.82);
}

.landing-footer-logo {
    width: 64px;
    height: auto;
    flex-shrink: 0;
    filter: drop-shadow(0 6px 16px rgba(29, 38, 72, .7));
}

.landing-footer-subtitle {
    font-weight: 700;
    color: #FEFEFE;
    text-transform: uppercase;
    font-size: .9rem;
    letter-spacing: .08em;
}

.landing-footer-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .landing-footer-list li {
        margin-bottom: .75rem;
        color: rgba(254, 254, 254, 0.82);
    }

    .landing-footer-list strong {
        color: #FEFEFE;
    }

.landing-footer-label {
    font-weight: 600;
    color: #FEFEFE;
}

/* Redes sociales */

.landing-footer-social {
    display: flex;
    gap: .6rem;
    font-size: 1.1rem;
}

    .landing-footer-social a {
        width: 32px;
        height: 32px;
        border-radius: 999px;
        display: grid;
        place-items: center;
        background: rgba(29, 38, 72, 0.9);
        color: #FEFEFE;
        border: 1px solid rgba(254, 254, 254, 0.32);
        transition: background .15s, transform .15s, border-color .15s, color .15s;
    }

        .landing-footer-social a:hover {
            background: #A5C83C;
            border-color: #FEFEFE;
            color: #1D2648;
            transform: translateY(-1px);
        }

/* Banda inferior */

.landing-footer-bottom {
    padding: .75rem 0;
    background: #1D2648;
    border-top: 1px solid rgba(254, 254, 254, 0.25);
}

.landing-footer-badge {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: linear-gradient(135deg, #A5C83C, #FEFEFE);
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(29, 38, 72, .6);
    overflow: hidden;
    flex-shrink: 0;
}

.landing-footer-badge-logo {
    width: 32px;
    height: auto;
}

.landing-footer-bottom-text {
    color: #FEFEFE;
}

@media (max-width: 767.98px) {
    .landing-footer-top {
        padding: 2rem 0 1.6rem;
    }

    .landing-footer-logo {
        width: 56px;
    }

    .landing-footer-bottom {
        text-align: center;
    }
}

/* ================= FIX HERO FULL-BLEED (EXTREMO A EXTREMO) ================= */
/* (AGREGADO SIN QUITAR LO DEMÁS) */

/* evita scroll horizontal por 100vw */
html, body {
    overflow-x: hidden;
}

/* hace que el HERO sea de extremo a extremo aunque esté dentro de un contenedor */
.hero-slider {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* asegura que el inner no limite */
.hero-slider-inner {
    width: 100%;
    max-width: 100%;
}

/* mejora altura en móvil manteniendo imagen completa */
@media (max-width: 768px) {
    .hero-slide img {
        height: clamp(240px, 60vw, 420px);
    }
}
/* ==========================================================
   MATRÍCULAS: FORZAR FONDO CLARO (sin afectar intranet)
   ========================================================== */

/* Fondo base de páginas públicas */
/* Solo landing (no todo el sitio) */
body.page-Home-Index {
    background: #F7F3EA !important;
}


/* Si algún contenedor global pone fondo oscuro */
main, .container, .container-fluid {
    background: transparent;
}

/* Página Matrículas (si tu vista envuelve con .matricula-page) */
.matricula-page {
    min-height: 100vh;
    background: #F7F3EA;
    padding: 3rem 0;
}

/* Tarjeta principal */
.matricula-card {
    background: #FEFEFE;
    border: 1px solid rgba(29, 38, 72, 0.10);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(29, 38, 72, 0.12);
}

/* Caja de pago */
.pago-box {
    background: #E9FBFF;
    border: 1px solid rgba(29, 38, 72, 0.10);
    border-radius: 16px;
}

/* QR */
.qr-box {
    background: #FFFFFF;
    border: 1px solid rgba(29, 38, 72, 0.14);
    border-radius: 16px;
    padding: .75rem;
    display: inline-block;
}
