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

:root {

    --azul-principal: #004171;
    --azul-secundario1: #0d5575;
    --azul-secundario2: #297ba2;
    --azul-secundario3: #389eb0;
    --color-destacado: #FF9154;
    --gris-fondo: #f9f9f9;
    --gris-borde: #e5e5e5;
    --texto: #222222;
}
/* =========================
   HERO HOME
========================= */

.hero-home {
    position: relative;
    width: 100%;
    overflow: hidden;
    min-height: 500px;
    object-fit: contain;
}

.hero-swiper {
    width: 100%;
    height: clamp(500px, 75vh, 760px);
}

.hero-swiper .swiper-wrapper {
    height: 100%;
}

.hero-swiper .swiper-slide {
    height: clamp(500px, 75vh, 760px);
}

.hero-slide {
    position: relative;
    display: flex;
    width: 100%;
    height: 100%;
    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #004171 0%,
            #005d9f 50%,
            #0d7bd3 100%
        );
}

.hero-no-image {
    height: 460px;
}

.hero-no-image .hero-content {
    align-items: center;
    padding: 4rem 2rem;
}

.hero-no-image .hero-text {
    max-width: 900px;
}

.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        135deg,
        rgba(0, 34, 61, 0.82) 0%,
        rgba(0, 52, 89, 0.62) 45%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    backface-visibility: hidden;
    filter: saturate(1.02) contrast(1.02);
}

.hero-content {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: flex-end;
    padding: 2rem 2rem 8rem;
    color: #ffffff;
}

.hero-content .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-icon {
    position: absolute;
    top: clamp(20px, 3vw, 40px);
    right: clamp(20px, 3vw, 40px);
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255,255,255,.25);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 24px;
    padding: 1.2rem;

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

.hero-icon img {
    width: clamp(180px, 18vw, 320px);
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 0 10px rgba(255,255,255,.9))
        drop-shadow(0 0 20px rgba(255,255,255,.6))
        drop-shadow(0 8px 20px rgba(0,0,0,.18));
    opacity: .96;
}

.hero-text {
    max-width: 850px;
}

.hero-title {
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight:bold;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 8px rgba(0,0,0,.35);
    transition:
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-title::after {
    content: '';
    display: block;
    width: 90px;
    height: 4px;
    margin-top: 1.5rem;
    border-radius: 999px;
    background: var(--color-destacado);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 1.6vw, 1.45rem);
    line-height: 1.8;
    color: rgba(255,255,255,.92);
    font-weight: bold;
    transition:
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    margin-top: 2.5rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: .5px;
    transition:
        .3s ease,
        transform 1s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-btn:hover {
    background: #ffffff;
    color: var(--azul-principal);
    transform: translateY(-3px);
}

.swiper-slide-active .hero-title {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .35s;
}

.swiper-slide-active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .55s;
}

.swiper-slide-active .hero-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .75s;
}

.swiper-slide {
    flex-shrink: 0;
}

.hero-bg {
    z-index: 0;
}

.hero-slide {
    isolation: isolate;
}

/* =============
   ACCESOS HOME 
   =========== */
.paginas-home {
    padding: 0;
    background: var(--gris-fondo); 
}

.paginas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); 
    gap: 24px; 
    padding: 20px 0;
}

.pagina-card {
    position: relative;
    display: flex;
    flex-direction: row; 
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--gris-borde);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    min-height: 220px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pagina-card:hover {
    transform: translateY(-3px); 
    border-color: var(--azul-secundario2);
    box-shadow: 0 10px 20px rgba(0, 65, 113, 0.06);
}

.pagina-card-img {
    position: relative;
    width: 50%; 
    min-width: 150px;
    height: 100%;
    background: linear-gradient(135deg, var(--azul-principal), var(--azul-secundario2));
    overflow: hidden;
    flex-shrink: 0;
}

.pagina-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: transform 0.5s ease;
}

.pagina-card:hover .pagina-card-img img {
    transform: scale(1.03); 
}

.pagina-card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 41, 113, 0.03); 
    transition: background 0.3s ease;
}

.pagina-card:hover .pagina-card-img::after {
    background: rgba(0, 0, 0, 0.1);
}

.pagina-card.no-image .card-placeholder-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.4);
    font-size: 32px;
}

.pagina-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    flex: 1;
}

.pagina-card-content h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 8px 0;
    color: var(--azul-principal);
    transition: color 0.25s ease;
}

.pagina-card:hover .pagina-card-content h3 {
    color: var(--azul-secundario1);
}

.pagina-card-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--texto);
    opacity: 0.85;
    margin: 0 0 16px 0;
}

.pagina-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 13px;
    color: var(--azul-principal);
    background: #fff;
    border: 1px solid var(--azul-secundario2);
    padding: 6px 14px;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.pagina-btn::after {
    transition: transform 0.25s ease;
}

.pagina-card:hover .pagina-btn {
    background: var(--azul-principal);
    border-color: var(--azul-principal);
    color: #ffffff;
}

.pagina-card:hover .pagina-btn::after {
    transform: translateX(3px);
}

/* ==================================================
                SISTEMAS HOME
================================================== */

.sistemas-home {
    padding:0;
    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #ffffff 100%
        );
}

.section-heading {
    position: relative;
    max-width: 1300px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    padding: 3.5rem;
    border-radius: 32px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            rgba(0,65,113,.04) 0%,
            rgba(13,123,211,.06) 100%
        );

    border: 1px solid rgba(0,65,113,.08);
}

.section-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background:
        linear-gradient(
            180deg,
            var(--azul-principal),
            var(--color-destacado)
        );
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    margin-bottom: 1.5rem;
    padding: .7rem 1.2rem;
    border-radius: 999px;
    background: rgba(0,65,113,.08);
    color: var(--azul-principal);
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading h2 {
    font-size: clamp(2.8rem, 2.8rem, 5rem);
    line-height: 1.05;
    letter-spacing: -1px;
    color: var(--azul-principal);
    margin-bottom: 1.8rem;
    max-width: 820px;
}

.section-heading h2::after {
    content: '';
    display: block;
    width: 110px;
    height: 5px;
    margin-top: 1.5rem;
    border-radius: 999px;
    background: var(--color-destacado);
}

.section-heading p {
    font-size: 1.18rem;
    line-height: 1.9;
    color: #526170;
}

.sistema-row {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 7rem;
}

.sistema-row:last-child {
    margin-bottom: 0;
}

.sistema-row.reverse .sistema-media {
    order: 2;
}

.sistema-row.reverse .sistema-info {
    order: 1;
}

.sistema-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 2.5rem;
    border-radius: 32px;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            var(--azul-principal) 0%,
            #005d9f 55%,
            #0d7bd3 100%
        );
    box-shadow:
        0 20px 60px rgba(0,0,0,.08);
    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.sistema-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at top right,
            rgba(255,255,255,.18),
            transparent 45%
        );
    pointer-events: none;
}

.sistema-media img {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 520px;
    max-height: 320px;
    object-fit: contain;
    display: block;
    border-radius: 18px;
    background: #ffffff;
    padding: .5rem;
    box-shadow:
        0 18px 50px rgba(0,0,0,.18);
    transition:
        transform .6s ease,
        box-shadow .45s ease;
}

.sistema-row:hover .sistema-media {
    transform: translateY(-6px);
    box-shadow:
        0 30px 80px rgba(0,0,0,.12);
}

.sistema-row:hover .sistema-media img {
    transform: scale(1.02);
}

.sistema-info {
    max-width: 560px;
}

.sistema-info h3 {
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--azul-principal);
}

.sistema-info p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #556270;
    margin-bottom: 2.5rem;
}

.sistema-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 999px;
    background: var(--azul-principal);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition:
        transform .3s ease,
        background .3s ease,
        box-shadow .3s ease;
}

.sistema-btn:hover {
    transform: translateY(-3px);
    background: var(--azul-secundario1);
    box-shadow:
        0 12px 30px rgba(0,0,0,.12);
}

.sistema-row {
    opacity: 0;
    transform: translateY(80px);
    transition:
        opacity .9s ease,
        transform .9s cubic-bezier(.22,1,.36,1);
}

.sistema-row:nth-child(even) {
    transform: translateX(80px);
}

.sistema-row:nth-child(odd) {
    transform: translateX(-80px);
}

.sistema-row.visible {
    opacity: 1;
    transform: translate(0,0);
}

.sistema-media img {
    transform: scale(.94);
    transition:
        transform 1.2s ease,
        box-shadow .5s ease;
}

.sistema-row.visible .sistema-media img {
    transform: scale(1);
}

.sistema-info h3,
.sistema-info p,
.sistema-btn {
    opacity: 0;
    transform: translateY(25px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.sistema-row.visible .sistema-info h3 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .15s;
}

.sistema-row.visible .sistema-info p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .3s;
}

.sistema-row.visible .sistema-btn {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .45s;
}

.sistema-icono-preview {
    position: relative;
    z-index: 2;
    width: 220px;
    height: 220px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    box-shadow:
        0 18px 50px rgba(0,0,0,.18);
    transition:
        transform .45s ease,
        box-shadow .45s ease;
}

.sistema-icono-preview i {
    font-size: 6rem;
    color: #ffffff;
    line-height: 1;
}

.sistema-row:hover .sistema-icono-preview {
    transform: scale(1.04);
}

.sistemas-categoria-heading {
    margin-top: 8rem;
}

.sistemas-categoria-heading:first-child {
    margin-top: 1rem;
}

.sistemas-divider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8rem 0 6rem;
}

.sistemas-divider::before {
    content: '';
    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(0,93,159,.18) 20%,
            rgba(0,93,159,.35) 50%,
            rgba(0,93,159,.18) 80%,
            transparent 100%
        );
}

.sistemas-divider span {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--azul-principal);
    border: 5px solid #ffffff;
    box-shadow:
        0 0 0 1px rgba(0,93,159,.12),
        0 8px 20px rgba(0,0,0,.08);
}

.sistemas-categoria-heading {
    position: relative;
    margin-bottom: 4.5rem;
    padding-bottom: 1.8rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
}

.sistemas-categoria-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 90px;
    height: 4px;
    border-radius: 999px;
    background: var(--azul-principal);
}

.sistemas-categoria-heading h2 {
    margin: 0 0 1rem 0;
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: var(--azul-principal);
}

.sistemas-categoria-heading p {
    max-width: 1200px;
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.9;
    color: #5b6773;
}

.sistemas-categoria-heading:not(:first-child) {
    margin-top: 7rem;
}

.sistemas-categoria-heading {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity .9s ease,
        transform .9s ease;
}

.sistemas-categoria-heading.visible {
    opacity: 1;
    transform: translateY(0);
}

.sistemas-categoria-heading h2,
.sistemas-categoria-heading p {
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.sistemas-categoria-heading h2 {
    opacity: 0;
    transform: translateY(12px);
    transition-delay: .15s;
}

.sistemas-categoria-heading p {
    opacity: 0;
    transform: translateY(12px);
    transition-delay: .3s;
}

.sistemas-categoria-heading.visible h2,
.sistemas-categoria-heading.visible p {
    opacity: 1;
    transform: translateY(0);
    text-align: justify;
}

/* ==================================================
                CARRUSEL HOME
================================================== */

.carrusel-home {
    padding: 6rem 0;
    background:
        linear-gradient(
            180deg,
            #f7f9fc 0%,
            #ffffff 100%
        );
}

.carrusel-heading {
    margin-bottom: 3rem;
}

.carrusel-heading h2 {
    margin: 0 0 1rem 0;
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.1;
    color: var(--azul-principal);
}

.carrusel-heading p {
    font-size: 1.08rem;
    line-height: 1.9;
    color: #5d6875;
    text-align: justify;
}


.carrusel-swiper {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    overflow: hidden;
}

.carrusel-home .swiper-slide {
    display: flex;
    justify-content: center;
}

.slide-card {
    position: relative;
    width: 100%;
    height: 560px;
    border-radius: 30px;
    overflow: visible;
    margin-bottom: 40px;
    background: #edf2f7;
    box-shadow:
        0 20px 60px rgba(0,0,0,.10);
}

.slide-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition:
        transform 1.2s ease;
}
.slide-card img {
    border-radius: 30px;
    background: #fff;
}
.slide-card:hover img {
    transform: scale(1.02);
}

.slide-overlay {
    position: absolute;
    left: 50%;
    bottom: -22px;
    transform: translateX(-50%);
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(12px);
    padding: 14px 28px;
    border-radius: 999px;
    box-shadow:
        0 10px 30px rgba(0,0,0,.15);
    z-index: 2;
}

.slide-overlay h3 {
    margin: 0;
    color: var(--azul-principal);
    font-size: clamp(
        1rem,
        2vw,
        2.5rem
    );
    font-weight: 700;
    text-align: center;
    text-shadow: none;
}

.slide-overlay p {
    display: none;
}
.carrusel-prev,
.carrusel-next {
    width: 64px !important;
    height: 64px !important;
    border-radius: 50%;
    background: #ffffff;
    color: var(--azul-principal) !important;
    box-shadow:
        0 10px 30px rgba(0,0,0,.16);
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}

.carrusel-prev {
    left: 24px !important;
}

.carrusel-next {
    right: 24px !important;
}

.carrusel-prev:hover,
.carrusel-next:hover {
    transform: scale(1.08);
    background: var(--azul-principal);
    color: #ffffff !important;
    box-shadow:
        0 16px 40px rgba(0,0,0,.20);
}

.carrusel-prev::after,
.carrusel-next::after {
    font-size: 1.1rem !important;
    font-weight: 900;
}

/*FLOTANTE*/
.capacitaciones-float{
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    width: 60px;
    height: 60px;
    overflow: hidden;
    background: #fff;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,.08);
    text-decoration: none;
    box-shadow:
        0 8px 20px rgba(0,0,0,.12),
        0 0 0 4px rgba(255,255,255,.35);

    transition:
        width .35s ease,
        transform .35s ease;
}

.capacitaciones-logo{
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
    margin: 0 9px;
}

.capacitaciones-texto{
    white-space: nowrap;
    opacity: 0;
    padding-right: 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--azul-principal);
    transition: opacity .2s ease;
}

.capacitaciones-float:hover{
    width: 220px;
    transform: translateY(-3px);
    box-shadow:
        0 12px 28px rgba(0,0,0,.18),
        0 0 0 4px rgba(255,255,255,.5);
}

.capacitaciones-float:hover .capacitaciones-texto{
    opacity: 1;
}

/* ==================================================
                MOBILE
================================================== */

@media (max-width: 768px) {
     .carrusel-home {
        padding: 4rem 0;
    }

    .slide-card {
        height: 360px;

        border-radius: 22px;
    }

    .slide-overlay {
        padding: 2rem;
    }

    .slide-overlay h3 {
        font-size: 2rem;
    }

    .slide-overlay p {
        font-size: .95rem;

        line-height: 1.6;
    }

    .carrusel-prev,
    .carrusel-next {
        width: 52px !important;
        height: 52px !important;
    }

    .carrusel-prev {
        left: 12px !important;
    }

    .carrusel-next {
        right: 12px !important;
    }


    .slide-card {
        height: 320px;

        border-radius: 20px;
    }

    .slide-overlay {
        padding: 2rem;
    }

    .slide-overlay h3 {
        font-size: 1.6rem;
    }

    .carrusel-prev,
    .carrusel-next {
        width: 42px !important;
        height: 42px !important;
    }
    .sistemas-categoria-heading {
        margin-bottom: 3rem;
        padding-bottom: 1.2rem;
    }

    .sistemas-categoria-heading:not(:first-child) {
        margin-top: 5rem;
    }

    .sistemas-categoria-heading h2 {
        font-size: 2rem;
    }

    .sistemas-categoria-heading p {
        font-size: 1rem;
        line-height: 1.75;
    }

    .sistemas-categoria-heading::after {
        width: 70px;
        height: 3px;
    }

}

@media (max-width: 600px) {
    .paginas-grid {
        grid-template-columns: 1fr;
        padding: 10px 16px;
    }

    .pagina-card {
        flex-direction: column;
        min-height: auto;
    }

    .pagina-card-img {
        width: 100%;
        height: auto;
    }
    
    .pagina-card-content {
        padding: 20px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .banner-swiper {
        height: 360px;
    }

    .banner-img {
        object-fit: cover;
        object-position: center;
    }
}

@media (min-width: 1025px) and (max-width: 1350px) {
    .banner-swiper {
        height: 460px;
    }

    .banner-img {
        object-fit: cover;
        object-position: center;
    }
    .sistema-row,
    .sistema-row.reverse {
        grid-template-columns: 1fr;

        gap: 2rem;
    }

    .sistema-row.reverse .sistema-media,
    .sistema-row.reverse .sistema-info {
        order: initial;
    }

    .sistema-info {
        max-width: 100%;
    }

    .sistema-info h3 {
        font-size: 2rem;
    }

    .sistema-row {
        margin-bottom: 5rem;
    }
    
}

@media (max-width: 768px) {
   
    .hero-content {
        padding: 2rem 1.5rem 5rem;
    }

    .hero-icon {
        top: 20px;
        right: 20px;
    }

    .hero-icon img {
        width: 70px;
    }

    .hero-title {
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.7;
    }
 
    .hero-icon {
        top: 15px;
        right: 15px;
        padding: .8rem;
    }

    .hero-icon img {
        width: 180px;
        max-width: none;
    }
    .hero-content {
        padding-top: 110px;
    }
        .sistemas-home {
        padding: 5rem 0;
    }

    .section-heading {
        margin-bottom: 4rem;
    }

    .section-heading h2 {
        font-size: 2.3rem;
    }

    .section-heading p {
        font-size: 1rem;
    }

    .sistema-media img {
        border-radius: 20px;
    }

    .sistema-info p {
        line-height: 1.75;
    }

    .sistema-btn {
        width: 100%;
    }

    .carrusel-home {
        padding: 3rem 0;
    }

    .carrusel-heading {
        margin-bottom: 2rem;
    }

    .slide-card {
        height: 320px;
        border-radius: 20px;
        margin-bottom: 35px;
    }

    .slide-card img {
        border-radius: 20px;
        padding: 10px;
    }

    .slide-overlay {
        max-width: 90%;
        width: fit-content;

        bottom: -18px;

        padding: 10px 18px;

        border-radius: 999px;
    }

    .slide-overlay h3 {
        font-size: 1rem;
        line-height: 1.3;
        white-space: normal;
    }

    .capacitaciones-float{
        width: 55px;
        height: 55px;

        bottom: 20px;
        right: 50px;

        left: auto;

        padding: 0;

        justify-content: center;

        transform: none;
    }

    .capacitaciones-float i{
        width: auto;
        min-width: auto;
        font-size: 22px;
    }

    .capacitaciones-texto{
        display: none;
    }

    .capacitaciones-float:hover{
        width: 55px;
        transform: none;
    }

}


@media (max-width: 480px) {

    .banner-swiper {
        height: 180px;
    }

    .banner-img {

        object-fit: cover;

        object-position: center;
    }

    .swiper-slide-active .banner-img {
        transform: scale(1.01);
    }

    .banner-slide::after {
        background: linear-gradient(
            to bottom,
            rgba(0,0,0,0.06),
            rgba(0,0,0,0.24)
        );
    }
     .banner-swiper {
        height: 340px;
    }

    .banner-content {
        align-items: center; 
        text-align: center;  
        padding: 1.25rem;
    }

    .banner-title {
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .banner-description {
        margin-top: 1.5rem;
    }

    .banner-btn {
        padding: 0.9rem 2rem;
        width: 100%; 
        max-width: 280px; 
    }

    .swiper-slide-active .banner-img {
        transform: scale(1.02);
    }

    .slide-card {
        height: 260px;
    }

    .slide-overlay {
        max-width: 95%;
        padding: 8px 14px;
    }

    .slide-overlay h3 {
        font-size: .9rem;
    }

    .carrusel-prev,
    .carrusel-next {
        display: none;
    }

}

@media (max-width: 1024px) {
    .banner-swiper {
        height: 420px; 
    }
}


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

@media (max-width: 1100px) {

    .sistema-row {
        gap: 2.5rem;
    }

    .sistema-info h3 {
        font-size: 2.2rem;
    }

}

/* TABLET */
@media (max-width: 900px) {

    .sistemas-home {
        padding: 4rem 0;
    }

    .section-heading {
        margin-bottom: 3rem;
    }

    .sistemas-categoria-heading {
        text-align: center;
    }

    .sistemas-categoria-heading h2 {
        font-size: 2.2rem;
    }

    .sistema-row,
    .sistema-row.reverse {

        grid-template-columns: 1fr;

        gap: 2rem;

        margin-bottom: 5rem;
    }

    /* reset orden alternado */

    .sistema-row.reverse .sistema-media,
    .sistema-row.reverse .sistema-info {
        order: initial;
    }

    .sistema-media {

        min-height: 320px;

        padding: 2rem;

        border-radius: 24px;
    }

    .sistema-media img {

        max-width: 100%;

        max-height: 240px;
    }

    .sistema-icono-preview {

        width: 180px;
        height: 180px;
    }

    .sistema-icono-preview i {
        font-size: 5rem;
    }

    .sistema-info {
        max-width: 100%;
    }

    .sistema-info h3 {

        font-size: 2rem;

        margin-bottom: 1rem;
    }

    .sistema-info p {

        font-size: 1rem;

        line-height: 1.7;

        margin-bottom: 2rem;
    }

}

/* MOBILE */
@media (max-width: 600px) {

    .sistemas-home {
        padding: 3rem 0;
    }

    .section-heading {
        margin-bottom: 2.5rem;
    }

    .section-kicker {

        font-size: .9rem;

        letter-spacing: 1px;
    }

    .sistemas-categoria-heading h2 {

        font-size: 1.8rem;

        line-height: 1.2;
    }

    .sistemas-categoria-heading p {

        font-size: 1rem;

        line-height: 1.7;
    }

    .sistema-row {
        margin-bottom: 4rem;
    }

    .sistema-media {

        min-height: 240px;

        padding: 1.5rem;

        border-radius: 20px;
    }

    .sistema-media img {

        max-height: 180px;

        border-radius: 14px;
    }

    .sistema-icono-preview {

        width: 140px;
        height: 140px;

        border-radius: 24px;
    }

    .sistema-icono-preview i {
        font-size: 3.5rem;
    }

    .sistema-info {
        text-align: center;
    }

    .sistema-info h3 {

        font-size: 1.6rem;

        margin-bottom: 1rem;
    }

    .sistema-info p {

        font-size: .98rem;

        line-height: 1.7;
    }

    .sistema-btn {

        width: 100%;

        justify-content: center;

        padding: .95rem 1.5rem;
    }

}


