﻿.features-section {
    font-family: 'Montserrat', sans-serif;
}

.scroll-top-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1200;
    display: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(220, 224, 227, 0.55);
    color: #007268;
    font-size: 25px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.18);
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(6px) saturate(120%);
    -webkit-backdrop-filter: blur(6px) saturate(120%);
    transition: transform .16s ease, box-shadow .16s ease, background .12s ease;
}


    .scroll-top-fab:hover,
    .scroll-top-fab:focus {
        transform: translateY(-3px);
        box-shadow: 0 10px 24px rgba(0,0,0,0.16);
        background: rgba(220,224,227,0.70);
        outline: none;
    }

@supports not ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
    .scroll-top-fab {
        background: rgba(210,214,217,0.78);
    }
}

.container {
    max-width: 95%;
    margin-top: -15px;
    margin-bottom: -15px;
}

.section-title-micrositios {
    text-align: center;
    margin-bottom: 60px;
}

    .section-title-micrositios h2 {
        font-size: 28px;
        font-weight: 700;
        color: #004182;
        letter-spacing: .4px;
    }

.title-divider {
    width: 130px;
    height: 5px;
    margin: 10px auto 0 auto;
    background: linear-gradient(90deg,#007268,#00a58f);
    border-radius: 4px;
}


.features-wrapper {
    background: #e6effd;
    padding: 36px;
    border-radius: 12px;
    display: flex;
    gap: 24px;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    min-width: 0;
    margin-top: -40px;
}

.feat-card {
    /*background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));*/
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
    min-width: 0;
    overflow: hidden;
    text-align: left;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

    .feat-card img {
        width: 80px;
        margin-top: 10px;
    }



    .feat-card.rotate {
        animation: spinY 2s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    }

@keyframes spinY {
    0% {
        transform: rotateY(0deg);
        filter: brightness(1);
    }

    25% {
        transform: rotateY(270deg);
        filter: brightness(0.9);
    }

    50% {
        transform: rotateY(540deg);
        filter: brightness(1.1);
    }

    75% {
        transform: rotateY(810deg);
        filter: brightness(0.9);
    }

    100% {
        transform: rotateY(1080deg);
        filter: brightness(1);
    }
}

.feat-card:hover {
    transform: translateY(-8px) scale(1.04);
    box-shadow: 0 12px 24px rgba(0, 165, 130, 0.25);
    background: linear-gradient(180deg, rgba(0,200,80,0.12), rgba(255,255,255,0.03));
}

.feat-link {
    text-decoration: none;
    color: inherit;
}

@media (min-width: 1200px) {
    .feat-card {
        flex: 1 1 calc((100% - 4 * 24px) / 5);
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .feat-card {
        flex: 1 1 calc((100% - 3 * 24px) / 4);
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .feat-card {
        flex: 1 1 calc((100% - 1 * 24px) / 2);
    }
}


@media (max-width: 575.98px) {
    .feat-card {
        flex: 1 1 100%;
    }
}

.feat-media img {
    width: 100%;
    height: 130px;
    display: block;
    margin: 5px 0px;
    border-radius: 10px;
    object-fit: cover;
}

.feat-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #19325b;
    margin: 5px 0px;
    text-align: center;
    letter-spacing: .6px;
    letter-spacing: .6px;
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: center;
}




.card-1 {
    order: 1;
}

.card-2 {
    order: 2;
}

.card-3 {
    order: 3;
}

.card-4 {
    order: 4;
}

.card-5 {
    order: 5;
}


@media (max-width: 1199.98px) {
    .card-5 {
        order: 999;
    }
}

@media (max-width: 991.98px) {
    .card-4 {
        order: 998;
    }
}

@media (max-width: 767.98px) {
    .card-3 {
        order: 997;
    }
}

@media (max-width: 575.98px) {
    .card-2 {
        order: 996;
    }
}


.card-1 .feat-card, .card-1 {
}

.card-2 .feat-card, .card-2 {
}

.card-3 .feat-card, .card-3 {
}

.card-4 .feat-card, .card-4 {
}

.card-5 .feat-card, .card-5 {
}

.feat-card .inner-box {
    background: rgba(0,114,104,0.25);
    padding: 12px;
    border-radius: 8px;
}

.features-wrapper {
    overflow: hidden;
}

.card {
    background-color: #e6f0f7;
    transition: transform 0.2s ease-in-out;
}

    .card:hover {
        transform: translateY(-12px);
        box-shadow: 0px 8px 20px rgba(0, 65, 130, 0.2);
        background-color: #d9ebf6;
    }

.card-title {
    font-size: 1.2rem;
}

.card-text {
    font-size: 0.95rem;
    color: #333;
}

.btn {
    border-radius: 10px;
    font-weight: 600;
    transition: background-color 0.25s ease, transform 0.2s ease;
}


.feat-actions {
    margin-top: auto;
    display: flex;
    justify-content: center;

}

.btn-ingresar {
    background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border-radius: 10px;
    padding: 6px 20px;
    font-weight: 600;
}

.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #007268;
    background: rgba(0,114,104,.08);
    border-radius: 50%;
}

    .icon-box i {
        font-size: 32px;
    }

.card-body {
    display: flex;
    flex-direction: column;
}

    .card-body .btn {
        margin-top: auto;
    }

.feat-card {
    display: flex;
    flex-direction: column;
}

.feat-desc {
    font-size: .92rem;
    line-height: 1.4;
    color: #19325b;
    margin: 0;
    text-align: center;
    flex-grow: 1;
}

.btn-ingresar {
    background-color: #19325b !important;
    border-color: #19325b !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.25s ease;
}

    .btn-ingresar:hover,
    .btn-ingresar:focus,
    .btn-ingresar:active {
        background-color: #2d4f86 !important;
        border-color: #2d4f86 !important;
        color: #ffffff !important;
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(25, 50, 91, 0.25);
    }

.access-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .access-card .card-body {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .access-card .card-title {
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-bottom: 14px;
    }

    .access-card .card-text,
    .access-card .cert-list {
        flex-grow: 1;
    }


.cert-list {
    list-style-position: inside;
    text-align: center;
    padding-left: 0;
}

    .cert-list li {
        margin-bottom: 4px;
        text-align: center;
        padding-left: 0;
    }

.access-card .btn {
    margin-top: auto;
    border-radius: 10px;
    font-weight: 600;
}

.hero-carousel-section {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

#homeInfoCarousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-banner-img {
    width: 100%;
    height: 420px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 7px 0;
}

.custom-carousel-indicators {
    bottom: 18px;
    margin-bottom: 0;
}

    .custom-carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(255,255,255,.65);
        border: 1px solid rgba(0,0,0,.15);
        margin: 0 5px;
    }

    .custom-carousel-indicators .active {
        background-color: #ffffff;
        transform: scale(1.08);
    }


.carousel-counter {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
}

.custom-carousel-arrow {
    background-color: rgba(0, 0, 0, 0.35);
    border-radius: 50%;
    padding: 18px;
    background-size: 55% 55%;
}

.carousel-item {
    transition: transform 1.1s ease-in-out, opacity 1s ease-in-out;
}

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

    .carousel-fade .carousel-item.active {
        opacity: 1;
    }

.custom-carousel-indicators {
    bottom: 20px;
}

    .custom-carousel-indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background-color: rgba(255,255,255,.85);
        border: 0.5px solid rgba(0,0,0,.25);
        margin: 0 6px;
        transition: all .35s ease;
        opacity: .9;
    }

    .custom-carousel-indicators .active {
        background-color: #007268;
        border-color: #ffffff;
        transform: scale(1.25);
        box-shadow: 0 0 6px rgba(0,0,0,.35);
    }

    .custom-carousel-indicators [data-bs-target]:hover {
        background-color: #005f55;
    }

@media (max-width: 1800px) {
    .carousel-banner-img {
        height: 100%;
        object-fit: contain;
    }
}

@media (max-width: 992px) {
    .carousel-banner-img {
        height: 100%;
        object-fit: contain;
    }

    .carousel-counter {
        top: 14px;
        right: 16px;
        font-size: 13px;
        padding: 5px 10px;
    }
}

@media (max-width: 768px) {
    .carousel-banner-img {
        height: 100%;
        object-fit: contain;
    }

    .custom-carousel-arrow {
        padding: 14px;
    }
}

@media (max-width: 576px) {
    .carousel-banner-img {
        height: 100%;
        object-fit: contain;
    }

    .carousel-counter {
        font-size: 12px;
        padding: 4px 9px;
    }

    .custom-carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

#modalPqrsdf .modal-dialog {
    max-width: 620px;
    margin: 2rem auto;
}

#modalPqrsdf .modal-content {
    border-radius: 1.2rem;
    border: none;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    animation: modalFadeInPqrsdf 0.30s ease-out;
    position: relative;
}

#modalPqrsdf .modal-header {
    background-color: #003F75;
    color: #fff;
    border-bottom: none;
    padding: 1.1rem 1.4rem;
    position: relative;
}

#modalPqrsdf .modal-title {
    font-weight: 600;
    letter-spacing: 0.4px;
    width: 100%;
    text-align: center;
    font-size: 1.15rem;
    text-transform: uppercase;
}

#modalPqrsdf .modal-body {
    padding: 1.5rem;
    background: #f8fafc;
    color: #333;
    font-size: 0.97rem;
    text-align: justify;
    line-height: 1.5rem;
}

#modalPqrsdf .modal-footer {
    background: #f1f5f9;
    border-top: none;
    padding: 0.75rem 1.2rem;
    justify-content: center;
}

.pqrsdf-divider {
    width: 90px;
    height: 4px;
    margin: 0 auto 1.4rem auto;
    background: #003F75;
    border-radius: 4px;
}

.pqrsdf-card {
    background: #ffffff;
    border: 1px solid #cce0f0;
    border-left: 4px solid #003F75;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 63, 117, 0.07);
    transition: box-shadow 0.2s ease;
}

    .pqrsdf-card:hover {
        box-shadow: 0 4px 14px rgba(0, 63, 117, 0.14);
    }

.pqrsdf-card:last-child {
    margin-bottom: 0;
}

.pqrsdf-card-title {
    font-weight: 700;
    color: #003F75;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pqrsdf-icon {
    font-size: 1.15rem;
    color: #003F75;
    flex-shrink: 0;
}

.pqrsdf-virtual-title {
    color: #003F75;
}

.pqrsdf-card-text {
    font-size: 0.92rem;
    color: #444;
    margin-bottom: 0.6rem;
    line-height: 1.45;
}

.pqrsdf-email-block {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e0edf6;
    border: 1px solid #b3d0e8;
    border-radius: 8px;
    padding: 8px 14px;
    margin-top: 0.4rem;
}

.pqrsdf-email-icon {
    color: #003F75;
    font-size: 1rem;
    flex-shrink: 0;
}

.pqrsdf-email-text {
    color: #003F75;
    font-weight: 600;
    font-size: 0.88rem;
    word-break: break-all;
    flex: 1;
    min-width: 0;
    user-select: all;
    -webkit-user-select: all;
    cursor: text;
    transition: background 0.15s ease;
    border-radius: 4px;
    padding: 2px 4px;
}

    .pqrsdf-email-text:hover {
        background: rgba(0, 63, 117, 0.08);
    }

.pqrsdf-mailto-link {
    color: #003F75;
    text-decoration: none;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: color 0.2s ease, transform 0.15s ease;
    padding: 2px;
    border-radius: 4px;
}

    .pqrsdf-mailto-link:hover {
        color: #002d54;
        transform: scale(1.15);
    }

.pqrsdf-copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 6px;
    margin-left: auto;
    color: #003F75;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pqrsdf-copy-btn:hover {
        background: rgba(0, 63, 117, 0.12);
        color: #002d54;
        transform: scale(1.15);
    }

    .pqrsdf-copy-btn:active {
        background: rgba(0, 63, 117, 0.2);
        transform: scale(0.95);
    }

    .pqrsdf-copy-btn:focus-visible {
        outline: 2px solid #003F75;
        outline-offset: 2px;
    }

.pqrsdf-copy-icon {
    font-size: 1rem;
    pointer-events: none;
}

.pqrsdf-copy-btn.copied .pqrsdf-copy-icon {
    color: #005599;
}

.pqrsdf-toast {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #003F75;
    color: #fff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: 0 6px 20px rgba(0, 63, 117, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 10;
    white-space: nowrap;
}

    .pqrsdf-toast.show {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        pointer-events: auto;
    }

.pqrsdf-btn-cerrar {
    background: #003F75;
    color: #fff;
    border: none;
    padding: 8px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 18px rgba(0, 63, 117, 0.18);
    transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

    .pqrsdf-btn-cerrar:hover {
        background: #002d54;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(0, 63, 117, 0.25);
    }

    .pqrsdf-btn-cerrar:active {
        background: #001f3a;
        color: #fff;
        transform: translateY(0);
    }

    .pqrsdf-btn-cerrar:focus-visible {
        outline: 3px solid #005599;
        outline-offset: 2px;
    }

@keyframes modalFadeInPqrsdf {
    from {
        transform: translateY(-12px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    #modalPqrsdf .modal-dialog {
        max-width: 95%;
        margin: 1rem;
    }

    #modalPqrsdf .modal-header {
        padding: 0.9rem 1rem;
    }

    #modalPqrsdf .modal-title {
        font-size: 1rem;
    }

    #modalPqrsdf .modal-body {
        padding: 1rem;
    }

    .pqrsdf-card {
        padding: 0.8rem 1rem;
    }

    .pqrsdf-card-title {
        font-size: 0.93rem;
    }

    .pqrsdf-email-text {
        font-size: 0.82rem;
    }

    .pqrsdf-copy-btn {
        padding: 3px 5px;
    }

    .pqrsdf-copy-icon {
        font-size: 0.92rem;
    }

    .pqrsdf-btn-cerrar {
        padding: 7px 22px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    #modalPqrsdf .modal-dialog {
        max-width: 98%;
        margin: 0.5rem;
    }

    .pqrsdf-card {
        padding: 0.7rem 0.8rem;
    }

    .pqrsdf-email-block {
        padding: 6px 10px;
        gap: 6px;
    }

    .pqrsdf-copy-btn {
        padding: 2px 4px;
    }

    .pqrsdf-copy-icon {
        font-size: 0.85rem;
    }

    .pqrsdf-toast {
        font-size: 0.82rem;
        padding: 8px 16px;
        bottom: 60px;
    }
}


