 :root {
     --viital-blue: #00a9df;
     --viital-dark: #003047;
     --viital-teal: #007f99;
     --viital-light: #f4f9fb;
     --viital-text: #1f2d35;
 }

 * {
     box-sizing: border-box;
 }

 body {
     font-family: Arial, Helvetica, sans-serif;
     color: var(--viital-text);
     background-color: #ffffff;
     margin: 0;
 }

 .hero {
     min-height: 680px;
     background:
         linear-gradient(90deg, rgba(0, 48, 71, 0.96), rgba(0, 169, 223, 0.78)),
         url("../bg-esterilizacion.jpg");
     background-size: cover;
     background-position: center;
     color: #ffffff;
     display: flex;
     align-items: center;
     position: relative;
     overflow: hidden;
 }

.hero::after {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    animation: floatCircleOne 9s ease-in-out infinite;
    pointer-events: none;
}

.hero::before {
    content: "";
    position: absolute;
    right: 80px;
    bottom: -160px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: floatCircleTwo 12s ease-in-out infinite;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
    .hero::before,
    .hero::after {
        animation: none;
    }
}

@keyframes floatCircleOne {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translate(-18px, 22px) scale(1.04);
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
}

@keyframes floatCircleTwo {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translate(24px, -18px) scale(1.03);
        opacity: 0.95;
    }

    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.7;
    }
}

        .logo {
            max-width: 260px;
            margin-bottom: 45px;
        }

        .hero h1 {
            font-size: clamp(3rem, 7vw, 6rem);
            font-weight: 800;
            line-height: 1.05;
            margin-bottom: 25px;
        }

        .hero p {
            font-size: 1.35rem;
            max-width: 880px;
            margin-bottom: 35px;
        }

        .btn-primary-custom {
            background-color: var(--viital-blue);
            border: 2px solid var(--viital-blue);
            color: #ffffff;
            padding: 15px 32px;
            border-radius: 35px;
            font-weight: 700;
            text-decoration: none;
            display: inline-block;
            transition: all 0.3s ease;
        }

        .btn-primary-custom:hover {
            background-color: #ffffff;
            color: var(--viital-dark);
            border-color: #ffffff;
        }

        .btn-outline-custom {
            border: 2px solid #ffffff;
            color: #ffffff;
            padding: 15px 32px;
            border-radius: 35px;
            font-weight: 700;
            text-decoration: none;
            display: inline-block;
            margin-left: 12px;
            transition: all 0.3s ease;
        }

        .btn-outline-custom:hover {
            background-color: #ffffff;
            color: var(--viital-dark);
        }

        section {
            padding: 85px 0;
        }

        .section-title {
            color: var(--viital-dark);
            font-size: clamp(2rem, 4vw, 3.2rem);
            font-weight: 800;
            margin-bottom: 18px;
        }

        .section-subtitle {
            font-size: 1.15rem;
            color: #5d6b73;
            max-width: 900px;
        }

.feature-card {
    height: 100%;
    padding: 35px;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 10px 35px rgba(0, 48, 71, 0.08);
    border: 1px solid #e8f1f5;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 169, 223, 0.95), rgba(0, 127, 153, 0.95));
    opacity: 0;
    transition: all 0.35s ease;
    z-index: 1;
}

.feature-card::after {
    content: "\F63E";
    font-family: "bootstrap-icons";
    position: absolute;
    top: 38px;
    right: 38px;
    font-size: 4.5rem;
    color: rgba(255, 255, 255, 0.22);
    opacity: 0;
    transform: translateY(15px) scale(0.9);
    transition: all 0.35s ease;
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0, 48, 71, 0.18);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover::after {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-card > * {
    position: relative;
    z-index: 3;
}

.feature-card:hover h3,
.feature-card:hover p {
    color: #ffffff;
}

.feature-card:hover .icon-box {
    background: #ffffff;
    color: var(--viital-teal);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.22);
}

.feature-card:hover .card-btn {
    background: #ffffff;
    color: var(--viital-dark);
    box-shadow: 0 12px 28px rgba(0, 48, 71, 0.18);
}

.feature-card:hover .card-btn i {
    transform: translateX(4px);
}

.card-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--viital-blue), var(--viital-teal));
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 28px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 169, 223, 0.22);
    transition: all 0.3s ease;
    width: fit-content;
}

.card-btn i {
    font-size: 1.4rem;
    line-height: 1;
    transition: all 0.3s ease;
}

        .icon-box {
            width: 72px;
            height: 72px;
            border-radius: 22px;
            background: linear-gradient(135deg, var(--viital-blue), var(--viital-teal));
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 25px;
            box-shadow: 0 12px 26px rgba(0, 169, 223, 0.25);
        }

        .icon-box i {
            font-size: 34px;
            line-height: 1;
        }

        .feature-card h3 {
            color: var(--viital-dark);
            font-weight: 800;
            margin-bottom: 15px;
            font-size: 1.45rem;
        }

.feature-card p {
    color: #5d6b73;
    margin-bottom: 32px;
    line-height: 1.65;
}

        .bg-light-custom {
            background-color: var(--viital-light);
        }

        .category-list {
            list-style: none;
            padding-left: 0;
            margin-top: 25px;
            margin-bottom: 0;
        }

        .category-list li {
            padding: 13px 0;
            border-bottom: 1px solid #dcebf0;
            font-size: 1.05rem;
        }

        .category-list li::before {
            content: "✓";
            color: var(--viital-blue);
            font-weight: 800;
            margin-right: 10px;
        }

        .support-box {
            background: linear-gradient(135deg, var(--viital-dark), var(--viital-teal));
            color: #ffffff;
            border-radius: 28px;
            padding: 50px;
            position: relative;
            overflow: hidden;
        }

        .support-box::after {
            content: "";
            position: absolute;
            right: -90px;
            bottom: -90px;
            width: 260px;
            height: 260px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.07);
        }

        .support-box h2 {
            font-size: clamp(2rem, 4vw, 3.2rem);
            font-weight: 800;
            margin-bottom: 20px;
        }

        .support-box p {
            font-size: 1.12rem;
            color: rgba(255, 255, 255, 0.9);
            line-height: 1.7;
        }

        .support-box .category-list li {
            border-bottom: 1px solid rgba(255, 255, 255, 0.18);
            color: #ffffff;
        }

        .support-box .category-list li::before {
            color: #ffffff;
        }

        .brand-pill {
            display: inline-block;
            padding: 12px 22px;
            background-color: #ffffff;
            color: var(--viital-dark);
            border-radius: 35px;
            margin: 6px;
            font-weight: 700;
            box-shadow: 0 8px 20px rgba(0, 48, 71, 0.08);
        }

        .cta {
            background:
                linear-gradient(90deg, rgba(0, 48, 71, 0.96), rgba(0, 169, 223, 0.84)),
                url("../bg-central-esterilizacion.jpg");
            background-size: cover;
            background-position: center;
            color: #ffffff;
            text-align: center;
        }

        .cta h2 {
            font-size: clamp(2.2rem, 5vw, 4rem);
            font-weight: 800;
            margin-bottom: 22px;
        }

        .cta p {
            max-width: 820px;
            margin: 0 auto 35px;
            font-size: 1.2rem;
            line-height: 1.7;
        }

        footer {
            background-color: var(--viital-dark);
            color: #ffffff;
            padding: 28px 0;
            text-align: center;
        }

        @media (max-width: 768px) {
            .hero {
                min-height: auto;
                padding: 80px 0;
            }

            .hero p {
                font-size: 1.1rem;
            }

            .btn-outline-custom {
                margin-left: 0;
                margin-top: 12px;
            }

            .support-box {
                padding: 32px;
            }

            .logo {
                max-width: 220px;
            }

            section {
                padding: 65px 0;
            }
        }

.card-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, var(--viital-blue), var(--viital-teal));
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 28px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(0, 169, 223, 0.22);
    transition: all 0.3s ease;
    width: fit-content;
}

.card-btn:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(0, 169, 223, 0.32);
}

.card-btn i {
    font-size: 1.4rem;
    line-height: 1;
}


.problem-card {
    height: 100%;
    padding: 34px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e8f1f5;
    box-shadow: 0 10px 35px rgba(0, 48, 71, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.problem-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 169, 223, 0.96), rgba(0, 127, 153, 0.96));
    opacity: 0;
    transition: all 0.35s ease;
    z-index: 1;
}

.problem-card::after {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(0, 169, 223, 0.08);
    transition: all 0.35s ease;
    z-index: 0;
}

.problem-card > * {
    position: relative;
    z-index: 2;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(0, 48, 71, 0.16);
}

.problem-card:hover::before {
    opacity: 1;
}

.problem-card:hover::after {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.2);
}

.problem-icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--viital-blue), var(--viital-teal));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 12px 26px rgba(0, 169, 223, 0.25);
    transition: all 0.3s ease;
}

.problem-icon i {
    font-size: 34px;
    line-height: 1;
}

.problem-card h3 {
    color: var(--viital-dark);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.problem-card p {
    color: #5d6b73;
    line-height: 1.65;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.problem-card:hover .problem-icon {
    background: #ffffff;
    color: var(--viital-teal);
    box-shadow: 0 12px 28px rgba(255, 255, 255, 0.22);
}

.problem-card:hover h3,
.problem-card:hover p {
    color: #ffffff;
}


/* =========================================================
   PROCESO DE SOLICITUD DE SOPORTE
========================================================= */

.support-process {
    --support-primary: #163b65;
    --support-secondary: #1c78b7;
    --support-accent: #1aa7a1;
    --support-success: #198754;
    --support-warning: #d98b15;
    --support-dark: #10253e;
    --support-text: #546477;
    --support-border: #dce5ee;
    --support-light: #f4f8fb;
    --support-white: #ffffff;

    position: relative;
    overflow: hidden;
    padding: 100px 20px;
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(28, 120, 183, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 85%,
            rgba(26, 167, 161, 0.08),
            transparent 30%
        ),
        #f8fafc;
}

.support-process *,
.support-process *::before,
.support-process *::after {
    box-sizing: border-box;
}

.support-process__container {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.support-process__header {
    max-width: 780px;
    margin: 0 auto 75px;
    text-align: center;
}

.support-process__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 8px 15px;
    border: 1px solid rgba(28, 120, 183, 0.2);
    border-radius: 50px;
    background: rgba(28, 120, 183, 0.07);
    color: var(--support-secondary);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.support-process__header h2 {
    margin: 0 0 18px;
    color: var(--support-dark);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 750;
    line-height: 1.12;
}

.support-process__header p {
    margin: 0;
    color: var(--support-text);
    font-size: 1.05rem;
    line-height: 1.8;
}

.support-process__header strong {
    color: var(--support-primary);
}

/* Línea de tiempo */

.support-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.support-timeline::before {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    width: 3px;
    border-radius: 20px;
    background: linear-gradient(
        to bottom,
        var(--support-secondary),
        var(--support-accent),
        var(--support-primary)
    );
    content: "";
    transform: translateX(-50%);
}

.support-step {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 100px 1fr;
    align-items: center;
    min-height: 180px;
}

.support-step--left .support-step__card {
    grid-column: 1;
}

.support-step--right .support-step__card {
    grid-column: 3;
}

.support-step__marker {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 4;
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border: 6px solid #f8fafc;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--support-primary),
        var(--support-secondary)
    );
    box-shadow: 0 10px 25px rgba(22, 59, 101, 0.22);
    color: var(--support-white);
    transform: translate(-50%, -50%);
}

.support-step__marker span {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.support-step__card {
    position: relative;
    width: 100%;
    padding: 28px;
    border: 1px solid var(--support-border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 16px 45px rgba(16, 37, 62, 0.08);
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.support-step__card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.support-step__card:hover {
    border-color: rgba(28, 120, 183, 0.35);
    box-shadow: 0 22px 55px rgba(16, 37, 62, 0.13);
    transform: translateY(-5px);
}

.support-step--left .support-step__card::after,
.support-step--right .support-step__card::after {
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: var(--support-border);
    content: "";
}

.support-step--left .support-step__card::after {
    right: -30px;
}

.support-step--right .support-step__card::after {
    left: -30px;
}

.support-step__heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 17px;
}

.support-step__icon {
    display: flex;
    width: 56px;
    min-width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(
        135deg,
        rgba(28, 120, 183, 0.12),
        rgba(26, 167, 161, 0.12)
    );
    color: var(--support-secondary);
    font-size: 1.55rem;
}

.support-step__label {
    display: block;
    margin-bottom: 4px;
    color: var(--support-secondary);
    font-size: 0.73rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-step__heading h3 {
    margin: 0;
    color: var(--support-dark);
    font-size: 1.35rem;
    line-height: 1.25;
}

.support-step__card > p {
    margin: 0;
    color: var(--support-text);
    font-size: 0.96rem;
    line-height: 1.75;
}

/* Canales */

.support-channels {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin-top: 21px;
}

.support-channel {
    display: flex;
    min-height: 78px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 5px;
    border: 1px solid var(--support-border);
    border-radius: 13px;
    background: var(--support-light);
    color: var(--support-primary);
    text-align: center;
}

.support-channel i {
    font-size: 1.25rem;
}

.support-channel span {
    color: var(--support-text);
    font-size: 0.72rem;
    font-weight: 650;
}

/* Destacados */

.support-step__highlight {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 13px 15px;
    border-left: 3px solid var(--support-warning);
    border-radius: 8px;
    background: rgba(217, 139, 21, 0.08);
    color: #875606;
    font-size: 0.85rem;
    font-weight: 650;
}

.support-mini-flow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 22px;
}

.support-mini-flow span {
    flex: 1;
    padding: 9px 7px;
    border-radius: 10px;
    background: var(--support-light);
    color: var(--support-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
}

.support-mini-flow i {
    color: var(--support-accent);
    font-size: 0.9rem;
}

.support-step__note {
    margin-top: 17px;
    padding-top: 15px;
    border-top: 1px solid var(--support-border);
    color: #738194;
    font-size: 0.8rem;
    font-style: italic;
    line-height: 1.6;
}

/* ViitalNet */

.support-step__card--platform {
    border-top: 4px solid var(--support-accent);
}

.support-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 21px;
}

.support-features div {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 11px;
    background: var(--support-light);
}

.support-features i {
    color: var(--support-accent);
    font-size: 1rem;
}

.support-features span {
    color: var(--support-text);
    font-size: 0.77rem;
    font-weight: 600;
}

.support-platform-badge {
    display: flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    margin-top: 19px;
    padding: 9px 13px;
    border-radius: 50px;
    background: rgba(26, 167, 161, 0.1);
    color: #117b77;
    font-size: 0.78rem;
    font-weight: 700;
}

/* Decisión */

.support-decision {
    position: relative;
    z-index: 5;
    display: flex;
    width: min(760px, calc(100% - 30px));
    align-items: center;
    gap: 22px;
    margin: 10px auto;
    padding: 25px 28px;
    border: 1px solid rgba(217, 139, 21, 0.3);
    border-radius: 22px;
    background: var(--support-white);
    box-shadow: 0 18px 45px rgba(16, 37, 62, 0.12);
    opacity: 0;
    transform: scale(0.94);
    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.support-decision.is-visible {
    opacity: 1;
    transform: scale(1);
}

.support-decision__diamond {
    display: flex;
    width: 67px;
    min-width: 67px;
    height: 67px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient(135deg, #f3a624, #cf7810);
    box-shadow: 0 10px 24px rgba(217, 139, 21, 0.25);
    color: white;
    font-size: 1.6rem;
    transform: rotate(45deg);
}

.support-decision__diamond i {
    transform: rotate(-45deg);
}

.support-decision__content {
    flex: 1;
}

.support-decision__content > span {
    display: block;
    margin-bottom: 4px;
    color: var(--support-warning);
    font-size: 0.73rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-decision__content h3 {
    margin: 0 0 16px;
    color: var(--support-dark);
    font-size: 1.35rem;
}

.support-decision__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.support-decision__option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
}

.support-decision__option > i {
    font-size: 1.2rem;
}

.support-decision__option strong,
.support-decision__option span {
    display: block;
}

.support-decision__option strong {
    margin-bottom: 2px;
    font-size: 0.8rem;
}

.support-decision__option span {
    font-size: 0.7rem;
    line-height: 1.35;
}

.support-decision__option--yes {
    background: rgba(25, 135, 84, 0.09);
    color: #146c43;
}

.support-decision__option--pending {
    background: rgba(217, 139, 21, 0.09);
    color: #875606;
}

/* Paso final */

.support-step__card--final {
    border-top: 4px solid var(--support-success);
}

.support-final-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    margin-top: 22px;
}

.support-final-flow > div {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 10px;
    padding: 14px;
    border: 1px solid var(--support-border);
    border-radius: 13px;
    background: var(--support-light);
}

.support-final-flow__number {
    position: absolute;
    top: 7px;
    right: 9px;
    display: flex;
    width: 19px;
    height: 19px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--support-primary);
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
}

.support-final-flow i {
    grid-row: 1 / 3;
    align-self: center;
    color: var(--support-secondary);
    font-size: 1.2rem;
}

.support-final-flow strong {
    color: var(--support-dark);
    font-size: 0.78rem;
}

.support-final-flow small {
    color: var(--support-text);
    font-size: 0.67rem;
    line-height: 1.35;
}

.support-completed {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 20px;
    padding: 15px;
    border-radius: 14px;
    background: rgba(25, 135, 84, 0.1);
    color: var(--support-success);
}

.support-completed > i {
    font-size: 1.45rem;
}

.support-completed strong,
.support-completed span {
    display: block;
}

.support-completed strong {
    margin-bottom: 2px;
    font-size: 0.85rem;
}

.support-completed span {
    color: #487060;
    font-size: 0.73rem;
    line-height: 1.45;
}

/* Responsive */

@media (max-width: 900px) {
    .support-process {
        padding: 75px 18px;
    }

    .support-process__header {
        margin-bottom: 55px;
    }

    .support-timeline {
        gap: 30px;
    }

    .support-timeline::before {
        left: 30px;
        transform: none;
    }

    .support-step {
        display: block;
        min-height: 0;
        padding-left: 76px;
    }

    .support-step__marker {
        top: 36px;
        left: 30px;
        width: 58px;
        height: 58px;
        transform: translate(-50%, 0);
    }

    .support-step--left .support-step__card,
    .support-step--right .support-step__card {
        grid-column: auto;
    }

    .support-step--left .support-step__card::after,
    .support-step--right .support-step__card::after {
        top: 63px;
        right: auto;
        left: -20px;
        width: 20px;
    }

    .support-decision {
        width: calc(100% - 76px);
        margin-left: 76px;
    }
}

@media (max-width: 600px) {
    .support-process {
        padding: 60px 14px;
    }

    .support-process__header {
        text-align: left;
    }

    .support-process__header h2 {
        font-size: 2rem;
    }

    .support-process__header p {
        font-size: 0.95rem;
    }

    .support-step {
        padding-left: 55px;
    }

    .support-timeline::before {
        left: 20px;
    }

    .support-step__marker {
        left: 20px;
        width: 45px;
        height: 45px;
        border-width: 4px;
    }

    .support-step__marker span {
        font-size: 0.72rem;
    }

    .support-step__card {
        padding: 21px 18px;
        border-radius: 17px;
    }

    .support-step--left .support-step__card::after,
    .support-step--right .support-step__card::after {
        left: -13px;
        width: 13px;
    }

    .support-step__heading {
        align-items: flex-start;
        gap: 12px;
    }

    .support-step__icon {
        width: 47px;
        min-width: 47px;
        height: 47px;
        border-radius: 13px;
        font-size: 1.25rem;
    }

    .support-step__heading h3 {
        font-size: 1.14rem;
    }

    .support-channels {
        grid-template-columns: repeat(2, 1fr);
    }

    .support-features,
    .support-final-flow {
        grid-template-columns: 1fr;
    }

    .support-mini-flow {
        flex-wrap: wrap;
        justify-content: center;
    }

    .support-mini-flow span {
        min-width: 90px;
    }

    .support-decision {
        width: calc(100% - 55px);
        flex-direction: column;
        align-items: flex-start;
        margin-left: 55px;
        padding: 23px 18px;
    }

    .support-decision__diamond {
        width: 54px;
        min-width: 54px;
        height: 54px;
        margin-left: 8px;
        font-size: 1.3rem;
    }

    .support-decision__options {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .support-step__card,
    .support-decision {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .support-step__card:hover {
        transform: none;
    }
}


/* =========================================================
   BIBLIOTECA TÉCNICA MULTIMEDIA
========================================================= */

.technical-library {
    --technical-primary: #123d68;
    --technical-secondary: #1679b8;
    --technical-accent: #17a5a0;
    --technical-dark: #10263e;
    --technical-text: #5a6b7f;
    --technical-light: #f3f7fa;
    --technical-border: #dbe5ed;
    --technical-white: #ffffff;

    position: relative;
    overflow: hidden;
    padding: 100px 20px;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(22, 121, 184, 0.1),
            transparent 30%
        ),
        radial-gradient(
            circle at 95% 90%,
            rgba(23, 165, 160, 0.1),
            transparent 30%
        ),
        #f8fafc;
}

.technical-library *,
.technical-library *::before,
.technical-library *::after,
.technical-modal *,
.technical-modal *::before,
.technical-modal *::after {
    box-sizing: border-box;
}

.technical-library__container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

/* Encabezado */

.technical-library__header {
    max-width: 790px;
    margin: 0 auto 45px;
    text-align: center;
}

.technical-library__eyebrow {
    display: inline-flex;
    margin-bottom: 15px;
    padding: 8px 15px;
    border: 1px solid rgba(22, 121, 184, 0.22);
    border-radius: 600px;
    background: rgba(22, 121, 184, 0.08);
    color: var(--technical-secondary);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.11em;
}

.technical-library__header h2 {
    margin: 0 0 18px;
    color: var(--technical-dark);
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 760;
    line-height: 1.1;
}

.technical-library__header p {
    margin: 0;
    color: var(--technical-text);
    font-size: 1.03rem;
    line-height: 1.8;
}

.technical-library__header strong {
    color: var(--technical-primary);
}

/* Filtros */

.technical-library__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 42px;
}

.technical-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid var(--technical-border);
    border-radius: 600px;
    background: var(--technical-white);
    color: var(--technical-text);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 650;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.technical-filter:hover {
    border-color: rgba(22, 121, 184, 0.45);
    color: var(--technical-secondary);
    transform: translateY(-2px);
}

.technical-filter.is-active {
    border-color: var(--technical-primary);
    background: var(--technical-primary);
    box-shadow: 0 10px 25px rgba(18, 61, 104, 0.2);
    color: var(--technical-white);
}

/* Galería */

.technical-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.technical-card {
    min-width: 0;
    opacity: 1;
    transform: scale(1);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.technical-card.is-hidden {
    display: none;
}

.technical-card__button {
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--technical-border);
    border-radius: 20px;
    background: var(--technical-white);
    box-shadow: 0 14px 38px rgba(16, 38, 62, 0.08);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.technical-card__button:hover {
    border-color: rgba(22, 121, 184, 0.35);
    box-shadow: 0 22px 48px rgba(16, 38, 62, 0.14);
    transform: translateY(-7px);
}

.technical-card__media {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #dce6ed;
}

.technical-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.technical-card__button:hover .technical-card__media img {
    transform: scale(1.07);
}

.technical-card__type {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 600px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    color: var(--technical-primary);
    font-size: 0.7rem;
    font-weight: 700;
}

.technical-card__type--video {
    background: rgba(16, 38, 62, 0.88);
    color: white;
}

.technical-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(16, 38, 62, 0.72);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    color: white;
    font-size: 1.8rem;
    transform: translate(-50%, -50%);
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.technical-card__button:hover .technical-card__play {
    background: var(--technical-secondary);
    transform: translate(-50%, -50%) scale(1.08);
}

.technical-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(
        to top,
        rgba(16, 38, 62, 0.82),
        rgba(16, 38, 62, 0.05) 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.technical-card__overlay span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    transform: translateY(12px);
    transition: transform 0.3s ease;
}

.technical-card__button:hover .technical-card__overlay {
    opacity: 1;
}

.technical-card__button:hover .technical-card__overlay span {
    transform: translateY(0);
}

.technical-card__content {
    padding: 22px;
}

.technical-card__category {
    margin-bottom: 8px;
    color: var(--technical-secondary);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.technical-card__content h3 {
    margin: 0 0 8px;
    color: var(--technical-dark);
    font-size: 1.15rem;
    line-height: 1.35;
}

.technical-card__content > p {
    margin: 0;
    color: var(--technical-text);
    font-size: 0.86rem;
    line-height: 1.5;
}

.technical-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--technical-border);
}

.technical-card__footer span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #718093;
    font-size: 0.73rem;
    font-weight: 600;
}

.technical-card__footer > i {
    color: var(--technical-secondary);
    font-size: 1rem;
}

/* Sin resultados */

.technical-gallery__empty {
    padding: 60px 20px;
    text-align: center;
}

.technical-gallery__empty i {
    display: block;
    margin-bottom: 13px;
    color: var(--technical-secondary);
    font-size: 2.5rem;
}

.technical-gallery__empty h3 {
    margin: 0 0 8px;
    color: var(--technical-dark);
}

.technical-gallery__empty p {
    margin: 0;
    color: var(--technical-text);
}

/* CTA */

.technical-library__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 65px;
    padding: 38px 42px;
    border-radius: 25px;
    background:
        linear-gradient(
            135deg,
            rgba(18, 61, 104, 0.97),
            rgba(22, 121, 184, 0.94)
        );
    box-shadow: 0 22px 55px rgba(18, 61, 104, 0.2);
    color: white;
}

.technical-library__cta span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.technical-library__cta h3 {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.technical-library__cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.technical-library__cta-button {
    display: inline-flex;
    min-width: max-content;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 20px;
    border-radius: 600px;
    background: white;
    color: var(--technical-primary);
    font-weight: 750;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.technical-library__cta-button:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

/* =========================================================
   MODAL
========================================================= */

.technical-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    padding: 25px;
    opacity: 0;
    transition:
        visibility 0.3s ease,
        opacity 0.3s ease;
}

.technical-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.technical-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 29, 0.88);
    backdrop-filter: blur(7px);
}

.technical-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(1000px, 100%);
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    border-radius: 22px;
    background: white;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.technical-modal.is-open .technical-modal__dialog {
    transform: translateY(0) scale(1);
}

.technical-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    display: flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 38, 62, 0.85);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.technical-modal__close:hover {
    background: var(--technical-secondary);
    transform: rotate(90deg);
}

.technical-modal__media {
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: #07121d;
}

.technical-modal__media img,
.technical-modal__media video {
    display: block;
    width: 100%;
    max-height: 610px;
    object-fit: contain;
    background: #07121d;
}

.technical-modal__content {
    padding: 28px 32px 34px;
}

.technical-modal__service {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 7px 11px;
    border-radius: 600px;
    background: rgba(22, 121, 184, 0.09);
    color: var(--technical-secondary);
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
}

.technical-modal__content h3 {
    margin: 0 0 13px;
    color: var(--technical-dark);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.technical-modal__equipment {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--technical-primary);
    font-size: 0.88rem;
    font-weight: 700;
}

.technical-modal__content p {
    margin: 0;
    color: var(--technical-text);
    line-height: 1.75;
}

body.technical-modal-open {
    overflow: hidden;
}

/* Responsive */

@media (max-width: 950px) {
    .technical-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .technical-library__cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .technical-library {
        padding: 65px 14px;
    }

    .technical-library__header {
        text-align: left;
    }

    .technical-library__filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .technical-filter {
        min-width: max-content;
    }

    .technical-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .technical-card__media {
        height: 235px;
    }

    .technical-library__cta {
        margin-top: 45px;
        padding: 28px 22px;
        border-radius: 20px;
    }

    .technical-library__cta-button {
        width: 100%;
    }

    .technical-modal {
        padding: 10px;
    }

    .technical-modal__dialog {
        max-height: calc(100vh - 20px);
        border-radius: 17px;
    }

    .technical-modal__media {
        border-radius: 17px 17px 0 0;
    }

    .technical-modal__content {
        padding: 23px 19px 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .technical-card__button,
    .technical-card__media img,
    .technical-card__overlay,
    .technical-modal,
    .technical-modal__dialog {
        transition: none;
    }
}


/* =========================================================
   BIBLIOTECA TÉCNICA MULTIMEDIA
========================================================= */

.technical-library {
    --technical-primary: #123d68;
    --technical-secondary: #1679b8;
    --technical-accent: #17a5a0;
    --technical-dark: #10263e;
    --technical-text: #5a6b7f;
    --technical-light: #f3f7fa;
    --technical-border: #dbe5ed;
    --technical-white: #ffffff;

    position: relative;
    overflow: hidden;
    padding: 100px 20px;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(22, 121, 184, 0.1),
            transparent 30%
        ),
        radial-gradient(
            circle at 95% 90%,
            rgba(23, 165, 160, 0.1),
            transparent 30%
        ),
        #f8fafc;
}

.technical-library *,
.technical-library *::before,
.technical-library *::after,
.technical-modal *,
.technical-modal *::before,
.technical-modal *::after {
    box-sizing: border-box;
}

.technical-library__container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

/* Encabezado */

.technical-library__header {
    max-width: 790px;
    margin: 0 auto 45px;
    text-align: center;
}

.technical-library__eyebrow {
    display: inline-flex;
    margin-bottom: 15px;
    padding: 8px 15px;
    border: 1px solid rgba(22, 121, 184, 0.22);
    border-radius: 600px;
    background: rgba(22, 121, 184, 0.08);
    color: var(--technical-secondary);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.11em;
}

.technical-library__header h2 {
    margin: 0 0 18px;
    color: var(--technical-dark);
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    font-weight: 760;
    line-height: 1.1;
}

.technical-library__header p {
    margin: 0;
    color: var(--technical-text);
    font-size: 1.03rem;
    line-height: 1.8;
}

.technical-library__header strong {
    color: var(--technical-primary);
}

/* Filtros */

.technical-library__filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 42px;
}

.technical-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid var(--technical-border);
    border-radius: 600px;
    background: var(--technical-white);
    color: var(--technical-text);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 650;
    cursor: pointer;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.technical-filter:hover {
    border-color: rgba(22, 121, 184, 0.45);
    color: var(--technical-secondary);
    transform: translateY(-2px);
}

.technical-filter.is-active {
    border-color: var(--technical-primary);
    background: var(--technical-primary);
    box-shadow: 0 10px 25px rgba(18, 61, 104, 0.2);
    color: var(--technical-white);
}

/* Galería */

.technical-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.technical-card {
    min-width: 0;
    opacity: 1;
    transform: scale(1);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.technical-card.is-hidden {
    display: none;
}

.technical-card__button {
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--technical-border);
    border-radius: 20px;
    background: var(--technical-white);
    box-shadow: 0 14px 38px rgba(16, 38, 62, 0.08);
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.technical-card__button:hover {
    border-color: rgba(22, 121, 184, 0.35);
    box-shadow: 0 22px 48px rgba(16, 38, 62, 0.14);
    transform: translateY(-7px);
}

.technical-card__media {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #dce6ed;
}

.technical-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.technical-card__button:hover .technical-card__media img {
    transform: scale(1.07);
}

.technical-card__type {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 600px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    color: var(--technical-primary);
    font-size: 0.7rem;
    font-weight: 700;
}

.technical-card__type--video {
    background: rgba(16, 38, 62, 0.88);
    color: white;
}

.technical-card__play {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    width: 64px;
    height: 64px;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    background: rgba(16, 38, 62, 0.72);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    color: white;
    font-size: 1.8rem;
    transform: translate(-50%, -50%);
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.technical-card__button:hover .technical-card__play {
    background: var(--technical-secondary);
    transform: translate(-50%, -50%) scale(1.08);
}

.technical-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(
        to top,
        rgba(16, 38, 62, 0.82),
        rgba(16, 38, 62, 0.05) 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.technical-card__overlay span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    transform: translateY(12px);
    transition: transform 0.3s ease;
}

.technical-card__button:hover .technical-card__overlay {
    opacity: 1;
}

.technical-card__button:hover .technical-card__overlay span {
    transform: translateY(0);
}

.technical-card__content {
    padding: 22px;
}

.technical-card__category {
    margin-bottom: 8px;
    color: var(--technical-secondary);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.technical-card__content h3 {
    margin: 0 0 8px;
    color: var(--technical-dark);
    font-size: 1.15rem;
    line-height: 1.35;
}

.technical-card__content > p {
    margin: 0;
    color: var(--technical-text);
    font-size: 0.86rem;
    line-height: 1.5;
}

.technical-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--technical-border);
}

.technical-card__footer span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #718093;
    font-size: 0.73rem;
    font-weight: 600;
}

.technical-card__footer > i {
    color: var(--technical-secondary);
    font-size: 1rem;
}

/* Sin resultados */

.technical-gallery__empty {
    padding: 60px 20px;
    text-align: center;
}

.technical-gallery__empty i {
    display: block;
    margin-bottom: 13px;
    color: var(--technical-secondary);
    font-size: 2.5rem;
}

.technical-gallery__empty h3 {
    margin: 0 0 8px;
    color: var(--technical-dark);
}

.technical-gallery__empty p {
    margin: 0;
    color: var(--technical-text);
}

/* CTA */

.technical-library__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 65px;
    padding: 38px 42px;
    border-radius: 25px;
    background:
        linear-gradient(
            135deg,
            rgba(18, 61, 104, 0.97),
            rgba(22, 121, 184, 0.94)
        );
    box-shadow: 0 22px 55px rgba(18, 61, 104, 0.2);
    color: white;
}

.technical-library__cta span {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.technical-library__cta h3 {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.technical-library__cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.6;
}

.technical-library__cta-button {
    display: inline-flex;
    min-width: max-content;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 20px;
    border-radius: 600px;
    background: white;
    color: var(--technical-primary);
    font-weight: 750;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.technical-library__cta-button:hover {
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

/* =========================================================
   MODAL
========================================================= */

.technical-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    visibility: hidden;
    align-items: center;
    justify-content: center;
    padding: 25px;
    opacity: 0;
    transition:
        visibility 0.3s ease,
        opacity 0.3s ease;
}

.technical-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.technical-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 18, 29, 0.88);
    backdrop-filter: blur(7px);
}

.technical-modal__dialog {
    position: relative;
    z-index: 2;
    width: min(1000px, 100%);
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    border-radius: 22px;
    background: white;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4);
    transform: translateY(20px) scale(0.97);
    transition: transform 0.3s ease;
}

.technical-modal.is-open .technical-modal__dialog {
    transform: translateY(0) scale(1);
}

.technical-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 5;
    display: flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(16, 38, 62, 0.85);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.technical-modal__close:hover {
    background: var(--technical-secondary);
    transform: rotate(90deg);
}

.technical-modal__media {
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    background: #07121d;
}

.technical-modal__media img,
.technical-modal__media video {
    display: block;
    width: 100%;
    max-height: 610px;
    object-fit: contain;
    background: #07121d;
}

.technical-modal__content {
    padding: 28px 32px 34px;
}

.technical-modal__service {
    display: inline-flex;
    margin-bottom: 9px;
    padding: 7px 11px;
    border-radius: 600px;
    background: rgba(22, 121, 184, 0.09);
    color: var(--technical-secondary);
    font-size: 0.72rem;
    font-weight: 750;
    text-transform: uppercase;
}

.technical-modal__content h3 {
    margin: 0 0 13px;
    color: var(--technical-dark);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.technical-modal__equipment {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--technical-primary);
    font-size: 0.88rem;
    font-weight: 700;
}

.technical-modal__content p {
    margin: 0;
    color: var(--technical-text);
    line-height: 1.75;
}

body.technical-modal-open {
    overflow: hidden;
}

/* Responsive */

@media (max-width: 950px) {
    .technical-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .technical-library__cta {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .technical-library {
        padding: 65px 14px;
    }

    .technical-library__header {
        text-align: left;
    }

    .technical-library__filters {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .technical-filter {
        min-width: max-content;
    }

    .technical-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .technical-card__media {
        height: 235px;
    }

    .technical-library__cta {
        margin-top: 45px;
        padding: 28px 22px;
        border-radius: 20px;
    }

    .technical-library__cta-button {
        width: 100%;
    }

    .technical-modal {
        padding: 10px;
    }

    .technical-modal__dialog {
        max-height: calc(100vh - 20px);
        border-radius: 17px;
    }

    .technical-modal__media {
        border-radius: 17px 17px 0 0;
    }

    .technical-modal__content {
        padding: 23px 19px 26px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .technical-card__button,
    .technical-card__media img,
    .technical-card__overlay,
    .technical-modal,
    .technical-modal__dialog {
        transition: none;
    }
}


/* Animaciones */

@keyframes heroLogoEntrance {
    from {
        opacity: 0;
        transform: translateY(-25px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroContentEntrance {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroScrollArrow {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* Tablets */

@media (max-width: 900px) {
    .company-hero {
        min-height: 820px;
        padding-top: 120px;
    }

    .company-hero__logo {
        width: min(400px, 75vw);
    }

    .company-hero h1 {
        font-size: clamp(2.4rem, 7vw, 3.8rem);
    }

    .company-hero__content > p {
        max-width: 700px;
    }
}

/* Celulares */

@media (max-width: 600px) {
    .company-hero {
        min-height: 100svh;
        padding: 105px 18px 85px;
    }

    .company-hero__background {
        background-position: 58% center;
    }

    .company-hero__logo {
        width: min(315px, 82vw);
        margin-bottom: 24px;
    }

    .company-hero__eyebrow {
        padding: 8px 12px;
        font-size: 0.64rem;
        line-height: 1.4;
    }

    .company-hero h1 {
        margin-bottom: 18px;
        font-size: clamp(2.15rem, 11vw, 3.1rem);
    }

    .company-hero__content > p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .company-hero__actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 27px;
    }

    .company-hero__button {
        width: 100%;
    }

    .company-hero__scroll span {
        display: none;
    }

    .company-hero__circle--one {
        top: -110px;
        right: -180px;
        width: 390px;
        height: 390px;
    }
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
    .company-hero__logo,
    .company-hero__eyebrow,
    .company-hero h1,
    .company-hero__content > p,
    .company-hero__actions,
    .company-hero__scroll i {
        animation: none;
    }

    .company-hero__button {
        transition: none;
    }
}

/* =========================================================
   SECCIÓN QUIÉNES SOMOS
========================================================= */

.about-company {
    --about-primary: #123d68;
    --about-secondary: #00a9e0;
    --about-accent: #17a5a0;
    --about-dark: #10263e;
    --about-text: #56687a;
    --about-light: #f3f8fb;
    --about-border: #dce6ee;
    --about-white: #ffffff;

    position: relative;
    overflow: hidden;
    padding: 100px 22px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(0, 169, 224, 0.08),
            transparent 31%
        ),
        var(--about-white);
}

.about-company *,
.about-company *::before,
.about-company *::after {
    box-sizing: border-box;
}

.about-company__container {
    display: grid;
    width: min(1220px, 100%);
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: 70px;
    margin: 0 auto;
}

/* Imagen */

.about-company__media {
    position: relative;
    min-height: 620px;
}

.about-company__media::before {
    position: absolute;
    top: -24px;
    left: -24px;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(0, 169, 224, 0.2);
    border-radius: 28px;
    content: "";
}

.about-company__media::after {
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(0, 169, 224, 0.08);
    content: "";
}

.about-company__media img {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 620px;
    border-radius: 28px;
    box-shadow: 0 25px 65px rgba(16, 38, 62, 0.16);
    object-fit: cover;
}

.about-company__media-badge {
    position: absolute;
    right: -25px;
    bottom: 40px;
    z-index: 4;
    display: flex;
    max-width: 285px;
    align-items: center;
    gap: 13px;
    padding: 17px 20px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 35px rgba(16, 38, 62, 0.16);
    backdrop-filter: blur(10px);
}

.about-company__media-badge > i {
    display: flex;
    width: 47px;
    min-width: 47px;
    height: 47px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(0, 169, 224, 0.1);
    color: var(--about-secondary);
    font-size: 1.35rem;
}

.about-company__media-badge strong,
.about-company__media-badge span {
    display: block;
}

.about-company__media-badge strong {
    margin-bottom: 3px;
    color: var(--about-dark);
    font-size: 0.88rem;
}

.about-company__media-badge span {
    color: var(--about-text);
    font-size: 0.72rem;
}

/* Contenido */

.about-company__content {
    position: relative;
    z-index: 3;
}

.about-company__eyebrow {
    display: inline-flex;
    margin-bottom: 15px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 169, 224, 0.22);
    border-radius: 600px;
    background: rgba(0, 169, 224, 0.07);
    color: var(--about-secondary);
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.11em;
}

.about-company__content h2 {
    position: relative;
    margin: 0 0 28px;
    padding-bottom: 18px;
    color: var(--about-dark);
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 760;
    line-height: 1.1;
}

.about-company__content h2::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 64px;
    height: 4px;
    border-radius: 20px;
    background: var(--about-secondary);
    content: "";
}

.about-company__content p {
    margin: 0 0 18px;
    color: var(--about-text);
    font-size: 1rem;
    line-height: 1.8;
}

.about-company__introduction {
    margin-bottom: 21px;
    padding: 19px 20px;
    border-left: 4px solid var(--about-secondary);
    border-radius: 0 13px 13px 0;
    background: var(--about-light);
}

.about-company__introduction p {
    margin: 0;
    color: var(--about-dark);
    font-size: 1.06rem;
    line-height: 1.7;
}

.about-company__introduction strong {
    color: var(--about-primary);
}

/* Valores */

.about-company__values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin-top: 31px;
}

.about-company__value {
    min-width: 0;
    padding: 18px 15px;
    border: 1px solid var(--about-border);
    border-radius: 16px;
    background: var(--about-white);
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.about-company__value:hover {
    border-color: rgba(0, 169, 224, 0.37);
    box-shadow: 0 14px 30px rgba(16, 38, 62, 0.09);
    transform: translateY(-4px);
}

.about-company__value > i {
    display: flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    margin-bottom: 13px;
    border-radius: 12px;
    background: rgba(0, 169, 224, 0.09);
    color: var(--about-secondary);
    font-size: 1.2rem;
}

.about-company__value strong,
.about-company__value span {
    display: block;
}

.about-company__value strong {
    margin-bottom: 6px;
    color: var(--about-dark);
    font-size: 0.85rem;
}

.about-company__value span {
    color: var(--about-text);
    font-size: 0.73rem;
    line-height: 1.55;
}

/* Tablets */

@media (max-width: 1000px) {
    .about-company__container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .about-company__media {
        min-height: 520px;
    }

    .about-company__media img {
        height: 520px;
    }

    .about-company__media-badge {
        right: 22px;
    }
}

/* Celulares */

@media (max-width: 640px) {
    .about-company {
        padding: 65px 15px;
    }

    .about-company__container {
        gap: 42px;
    }

    .about-company__media {
        min-height: 390px;
    }

    .about-company__media img {
        height: 390px;
        border-radius: 20px;
    }

    .about-company__media::before {
        top: -12px;
        left: -8px;
        width: 100px;
        height: 100px;
    }

    .about-company__media::after {
        right: -20px;
        bottom: -20px;
        width: 130px;
        height: 130px;
    }

    .about-company__media-badge {
        right: 12px;
        bottom: 15px;
        left: 12px;
        max-width: none;
    }

    .about-company__content h2 {
        font-size: 2.2rem;
    }

    .about-company__content p {
        font-size: 0.94rem;
        line-height: 1.75;
    }

    .about-company__values {
        grid-template-columns: 1fr;
    }

    .about-company__value {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 4px 12px;
    }

    .about-company__value > i {
        grid-row: 1 / 3;
        margin-bottom: 0;
    }
}

/* =========================================================
   SECCIÓN TECNOLOGÍA - VIITALNET
========================================================= */

.technology-section {
    --tech-primary: #0b3a61;
    --tech-secondary: #00a9e0;
    --tech-accent: #17a5a0;
    --tech-dark: #0a2238;
    --tech-text: #5a6b7d;
    --tech-light: #f1f7fb;
    --tech-border: #d8e5ee;
    --tech-white: #ffffff;

    position: relative;
    overflow: hidden;
    padding: 110px 22px;
    background:
        radial-gradient(
            circle at 0% 0%,
            rgba(0, 169, 224, 0.12),
            transparent 32%
        ),
        radial-gradient(
            circle at 100% 100%,
            rgba(23, 165, 160, 0.1),
            transparent 32%
        ),
        #f7fafc;
}

.technology-section *,
.technology-section *::before,
.technology-section *::after {
    box-sizing: border-box;
}

.technology-section__container {
    display: grid;
    width: min(1250px, 100%);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 75px;
    margin: 0 auto;
}

/* Contenido */

.technology-section__eyebrow {
    display: inline-flex;
    margin-bottom: 16px;
    padding: 8px 14px;
    border: 1px solid rgba(0, 169, 224, 0.25);
    border-radius: 600px;
    background: rgba(0, 169, 224, 0.08);
    color: var(--tech-secondary);
    font-size: 0.73rem;
    font-weight: 750;
    letter-spacing: 0.1em;
}

.technology-section__content h2 {
    margin: 0 0 23px;
    color: var(--tech-dark);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 760;
    line-height: 1.12;
}

.technology-section__content > p {
    margin: 0 0 17px;
    color: var(--tech-text);
    font-size: 0.98rem;
    line-height: 1.78;
}

.technology-section__lead {
    padding-left: 18px;
    border-left: 4px solid var(--tech-secondary);
    color: var(--tech-dark) !important;
    font-size: 1.08rem !important;
}

.technology-section__lead strong {
    color: var(--tech-primary);
}

/* Funciones */

.technology-section__features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
    margin-top: 29px;
}

.technology-feature {
    display: flex;
    gap: 13px;
    padding: 17px;
    border: 1px solid var(--tech-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.technology-feature:hover {
    border-color: rgba(0, 169, 224, 0.4);
    box-shadow: 0 14px 30px rgba(10, 34, 56, 0.09);
    transform: translateY(-4px);
}

.technology-feature > i {
    display: flex;
    width: 43px;
    min-width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(0, 169, 224, 0.1);
    color: var(--tech-secondary);
    font-size: 1.2rem;
}

.technology-feature h3 {
    margin: 0 0 5px;
    color: var(--tech-dark);
    font-size: 0.87rem;
}

.technology-feature p {
    margin: 0;
    color: var(--tech-text);
    font-size: 0.72rem;
    line-height: 1.5;
}

.technology-section__message {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        rgba(11, 58, 97, 0.08),
        rgba(0, 169, 224, 0.09)
    );
}

.technology-section__message > i {
    color: var(--tech-secondary);
    font-size: 1.35rem;
}

.technology-section__message p {
    margin: 0;
    color: var(--tech-text);
    font-size: 0.79rem;
    line-height: 1.55;
}

/* Mockup */

.technology-section__visual {
    position: relative;
    min-width: 0;
    padding: 35px 5px;
}

.technology-screen {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border: 8px solid #183247;
    border-radius: 25px;
    background: white;
    box-shadow: 0 35px 80px rgba(10, 34, 56, 0.25);
    transform: perspective(1300px) rotateY(-5deg) rotateX(2deg);
}

.technology-screen__topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    min-height: 43px;
    padding: 8px 14px;
    background: #edf3f7;
}

.technology-screen__controls {
    display: flex;
    gap: 6px;
}

.technology-screen__controls span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #afbdc8;
}

.technology-screen__url {
    justify-self: center;
    color: #71808e;
    font-size: 0.63rem;
}

.technology-screen__topbar > i {
    color: #7a8996;
    font-size: 0.75rem;
}

.technology-screen__body {
    display: grid;
    grid-template-columns: 72px 1fr;
    min-height: 480px;
}

.technology-screen__sidebar {
    padding: 20px 12px;
    background: linear-gradient(
        to bottom,
        var(--tech-primary),
        #082b49
    );
}

.technology-screen__brand {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 30px;
    color: white;
}

.technology-screen__brand i {
    color: var(--tech-secondary);
    font-size: 1.5rem;
}

.technology-screen__brand span {
    font-size: 0.55rem;
    font-weight: 700;
}

.technology-screen__menu {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 13px;
}

.technology-screen__menu span {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.9rem;
}

.technology-screen__menu span.is-active {
    background: rgba(255, 255, 255, 0.14);
    color: white;
}

.technology-dashboard {
    min-width: 0;
    padding: 24px;
    background: #f5f8fa;
}

.technology-dashboard__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 23px;
}

.technology-dashboard__header span {
    color: #8896a3;
    font-size: 0.65rem;
}

.technology-dashboard__header h3 {
    margin: 3px 0 0;
    color: var(--tech-dark);
    font-size: 1rem;
}

.technology-dashboard__avatar {
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--tech-primary);
    color: white;
}

.technology-dashboard__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.technology-stat {
    position: relative;
    padding: 14px;
    border-radius: 13px;
    background: white;
    box-shadow: 0 7px 18px rgba(10, 34, 56, 0.06);
}

.technology-stat span,
.technology-stat strong {
    display: block;
}

.technology-stat span {
    color: #81909d;
    font-size: 0.58rem;
}

.technology-stat strong {
    margin-top: 5px;
    color: var(--tech-dark);
    font-size: 1.25rem;
}

.technology-stat i {
    position: absolute;
    right: 13px;
    bottom: 13px;
    color: rgba(0, 169, 224, 0.45);
    font-size: 1rem;
}

.technology-dashboard__content {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    gap: 13px;
    margin-top: 14px;
}

.technology-dashboard__chart,
.technology-dashboard__activity {
    padding: 16px;
    border-radius: 13px;
    background: white;
    box-shadow: 0 7px 18px rgba(10, 34, 56, 0.06);
}

.technology-dashboard__chart > span,
.technology-dashboard__activity > span {
    color: var(--tech-dark);
    font-size: 0.66rem;
    font-weight: 700;
}

.technology-chart {
    display: flex;
    height: 160px;
    align-items: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding: 0 8px;
    border-bottom: 1px solid #e2e9ee;
}

.technology-chart i {
    flex: 1;
    border-radius: 7px 7px 0 0;
    background: linear-gradient(
        to top,
        var(--tech-primary),
        var(--tech-secondary)
    );
}

.technology-dashboard__activity > div {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 14px;
    padding-bottom: 11px;
    border-bottom: 1px solid #edf1f4;
}

.technology-dashboard__activity > div:last-child {
    border-bottom: 0;
}

.technology-dashboard__activity i {
    display: flex;
    width: 27px;
    min-width: 27px;
    height: 27px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 169, 224, 0.09);
    color: var(--tech-secondary);
    font-size: 0.75rem;
}

.technology-dashboard__activity p {
    margin: 0;
}

.technology-dashboard__activity strong,
.technology-dashboard__activity small {
    display: block;
}

.technology-dashboard__activity strong {
    color: var(--tech-dark);
    font-size: 0.58rem;
}

.technology-dashboard__activity small {
    margin-top: 2px;
    color: #8795a1;
    font-size: 0.5rem;
}

/* Tarjetas flotantes */

.technology-floating-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 225px;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 17px 36px rgba(10, 34, 56, 0.18);
    backdrop-filter: blur(10px);
}

.technology-floating-card > i {
    display: flex;
    width: 39px;
    min-width: 39px;
    height: 39px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(0, 169, 224, 0.1);
    color: var(--tech-secondary);
}

.technology-floating-card strong,
.technology-floating-card span {
    display: block;
}

.technology-floating-card strong {
    margin-bottom: 3px;
    color: var(--tech-dark);
    font-size: 0.72rem;
}

.technology-floating-card span {
    color: var(--tech-text);
    font-size: 0.58rem;
}

.technology-floating-card--one {
    top: 5px;
    right: -15px;
}

.technology-floating-card--two {
    bottom: 0;
    left: -20px;
}

/* Responsive */

@media (max-width: 1050px) {
    .technology-section__container {
        grid-template-columns: 1fr;
        gap: 65px;
    }

    .technology-section__visual {
        width: min(820px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 650px) {
    .technology-section {
        padding: 70px 15px;
    }

    .technology-section__features {
        grid-template-columns: 1fr;
    }

    .technology-screen {
        border-width: 5px;
        border-radius: 17px;
        transform: none;
    }

    .technology-screen__body {
        grid-template-columns: 48px 1fr;
        min-height: 390px;
    }

    .technology-screen__sidebar {
        padding: 15px 5px;
    }

    .technology-screen__brand span {
        display: none;
    }

    .technology-screen__menu span {
        width: 32px;
        height: 32px;
    }

    .technology-dashboard {
        padding: 15px 11px;
    }

    .technology-dashboard__stats {
        gap: 6px;
    }

    .technology-stat {
        padding: 10px 7px;
    }

    .technology-stat strong {
        font-size: 0.95rem;
    }

    .technology-stat i {
        display: none;
    }

    .technology-dashboard__content {
        grid-template-columns: 1fr;
    }

    .technology-dashboard__activity {
        display: none;
    }

    .technology-chart {
        height: 125px;
        gap: 6px;
    }

    .technology-floating-card {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        min-width: 0;
        margin-top: 13px;
    }
}
/*---------boton pdf-----------*/
.support-feature-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border-radius: 11px;
    background: var(--support-light);
    color: var(--support-text);
    text-decoration: none;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.support-feature-link > i:first-child {
    color: var(--support-accent);
    font-size: 1rem;
}

.support-feature-link span {
    flex: 1;
    font-size: 0.77rem;
    font-weight: 600;
}

.support-feature-link__arrow {
    color: var(--support-secondary);
    font-size: 0.8rem;
    opacity: 0.65;
    transition: transform 0.25s ease;
}

.support-feature-link:hover {
    background: rgba(26, 167, 161, 0.12);
    color: var(--support-primary);
    box-shadow: 0 8px 20px rgba(16, 37, 62, 0.08);
    transform: translateY(-2px);
}

.support-feature-link:hover .support-feature-link__arrow {
    transform: translate(2px, -2px);
}


.support-completed--link {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .25s ease;
}

.support-completed--link:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0,0,0,.08);
}

.support-completed__arrow {
    margin-left: auto;
    font-size: 1rem;
    color: #198754;
    transition: transform .25s ease;
}

.support-completed--link:hover .support-completed__arrow {
    transform: translate(3px,-3px);
}

/* =========================================================
   EQUIPO DE TRABAJO
========================================================= */

.team-section {
    --team-primary: #123d68;
    --team-secondary: #00a9e0;
    --team-accent: #067ca9;
    --team-dark: #10263e;
    --team-text: #5a6b7d;
    --team-light: #f4f9fc;
    --team-border: #dce7ef;
    --team-white: #ffffff;

    position: relative;
    overflow: hidden;
    padding: 100px 22px;

    background:
        radial-gradient(
            circle at 5% 10%,
            rgba(0, 169, 224, 0.08),
            transparent 28%
        ),
        radial-gradient(
            circle at 95% 90%,
            rgba(6, 124, 169, 0.07),
            transparent 30%
        ),
        #f8fafc;
}

.team-section *,
.team-section *::before,
.team-section *::after {
    box-sizing: border-box;
}

.team-section__container {
    width: min(1240px, 100%);
    margin: 0 auto;
}

/* Encabezado */

.team-section__header {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.team-section__eyebrow {
    display: inline-flex;
    margin-bottom: 15px;
    padding: 8px 14px;

    border: 1px solid rgba(0, 169, 224, 0.2);
    border-radius: 600px;

    background: rgba(0, 169, 224, 0.07);
    color: var(--team-accent);

    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.11em;
}

.team-section__header h2 {
    margin: 0 0 17px;
    color: var(--team-dark);

    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 760;
    line-height: 1.1;
}

.team-section__header p {
    margin: 0;
    color: var(--team-text);
    font-size: 1rem;
    line-height: 1.75;
}

/* Cuadrícula */

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 23px;
}

/* Tarjeta */

.team-card {
    overflow: hidden;

    border: 1px solid var(--team-border);
    border-radius: 22px;

    background: var(--team-white);
    box-shadow: 0 16px 42px rgba(16, 38, 62, 0.08);

    opacity: 0;
    transform: translateY(32px);

    transition:
        opacity 0.65s ease,
        transform 0.65s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.team-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    border-color: rgba(0, 169, 224, 0.35);
    box-shadow: 0 24px 52px rgba(16, 38, 62, 0.14);
    transform: translateY(-7px);
}

/* Fotografía */

.team-card__photo {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: #dfeaf1;
}

.team-card__photo img {
    display: block;
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    transition: transform 0.55s ease;
}

.team-card:hover .team-card__photo img {
    transform: scale(1.06);
}

.team-card__photo-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(9, 36, 58, 0.48),
            transparent 52%
        );

    pointer-events: none;
}

.team-card__social {
    position: absolute;
    right: 16px;
    bottom: 16px;

    display: flex;
    width: 43px;
    height: 43px;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);

    color: #0878a8;
    font-size: 1rem;
    text-decoration: none;

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

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}

.team-card__social:hover {
    background: var(--team-secondary);
    color: white;
    transform: translateY(-3px);
}

/* Contenido */

.team-card__content {
    padding: 23px 21px 24px;
}

.team-card__role {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;

    border-radius: 600px;
    background: rgba(0, 169, 224, 0.08);
    color: var(--team-accent);

    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.team-card__content h3 {
    margin: 0 0 5px;
    color: var(--team-dark);

    font-size: 1.1rem;
    line-height: 1.35;
}

.team-card__position {
    margin: 0 0 14px;
    color: var(--team-secondary);

    font-size: 0.8rem;
    font-weight: 700;
}

.team-card__description {
    margin: 0;
    min-height: 95px;

    color: var(--team-text);
    font-size: 0.78rem;
    line-height: 1.62;
}

/* Habilidades */

.team-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
    padding-top: 16px;

    border-top: 1px solid var(--team-border);
}

.team-card__skills span {
    display: inline-flex;
    padding: 6px 9px;

    border-radius: 600px;
    background: var(--team-light);
    color: #587084;

    font-size: 0.63rem;
    font-weight: 650;
}

/* Tablets */

@media (max-width: 1080px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .team-card__photo {
        height: 390px;
    }
}

/* Celulares */

@media (max-width: 620px) {
    .team-section {
        padding: 70px 15px;
    }

    .team-section__header {
        margin-bottom: 40px;
        text-align: left;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .team-card__photo {
        height: 390px;
    }

    .team-card__content {
        padding: 21px 18px 23px;
    }

    .team-card__description {
        min-height: auto;
    }
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
    .team-card {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .team-card:hover {
        transform: none;
    }

    .team-card__photo img,
    .team-card__social {
        transition: none;
    }
}

/* =========================================================
   SLIDER CORPORATIVO DE MARCAS
========================================================= */

.brand-hero {
    --brand-primary: #00a9df;
    --brand-secondary: #007f99;
    --brand-dark: #003047;
    --brand-text: #334d60;
    --brand-white: #ffffff;

    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #edf6fa;
}

.brand-hero *,
.brand-hero *::before,
.brand-hero *::after {
    box-sizing: border-box;
}

.brand-slider {
    position: relative;
    min-height: 100vh;
}

/* Diapositivas */

.brand-slide {
    position: absolute;
    inset: 0;
    z-index: 1;

    display: flex;
    visibility: hidden;
    min-height: 100vh;
    align-items: center;

    background-image: var(--slide-background);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

    opacity: 0;
    transform: scale(1.04);

    pointer-events: none;

    transition:
        visibility 0.8s ease,
        opacity 0.8s ease,
        transform 1.2s ease;
}

.brand-slide.is-active {
    position: relative;
    z-index: 2;

    visibility: visible;
    opacity: 1;
    transform: scale(1);

    pointer-events: auto;
}

/* Capa blanca sobre la imagen */

.brand-slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: linear-gradient(
        90deg,
        rgba(248, 251, 255, 0.78) 0%,
        rgba(248, 251, 255, 0.70) 25%,
        rgba(248, 251, 255, 0.52) 45%,
        rgba(248, 251, 255, 0.25) 62%,
        rgba(248, 251, 255, 0.04) 80%,
        transparent 100%
    );
}
/* Contenedor */

.brand-slide__container {
    position: relative;
    z-index: 4;

    width: min(1380px, 100%);
    margin: 0 auto;
    padding: 50px 0px 120px;
}

.brand-slide__content {
    width: min(790px, 100%);
}

/* Etiqueta superior */

.brand-slide__eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 9px 15px;

    border: 1px solid rgba(0, 169, 223, 0.23);
    border-radius: 600px;

    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(9px);

    color: #087eaa;

    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.12em;
}

/* Logos */

.brand-slide__logos {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 28px;
}

.brand-slide__logo {
    display: block;
    object-fit: contain;
}

.brand-slide__logo--viitalcore {
    width: min(270px, 38vw);
    max-height: 95px;
}

.brand-slide__logo--partner {
    width: min(245px, 35vw);
    max-height: 100px;
}

.brand-slide__plus {
    display: flex;
    width: 42px;
    min-width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 169, 223, 0.2);
    border-radius: 50%;

    background: rgba(0, 169, 223, 0.07);
    color: var(--brand-primary);

    font-size: 1.1rem;
}

/* Contenedor del texto */
.brand-slide__content {
    width: min(100%, 760px);
    max-width: 760px;
}

/* Títulos */
.brand-slide h1,
.brand-slide h2 {
    max-width: 720px;
    margin: 0 0 22px;

    color: var(--brand-dark);

    font-size: clamp(2.4rem, 4.5vw, 4.4rem);
    font-weight: 780;
    letter-spacing: -0.04em;
    line-height: 1.03;
    text-wrap: balance;
}

/* Párrafo */
.brand-slide__content > p {
    max-width: 650px;
    margin: 0;

    color: var(--brand-text);
    font-size: clamp(0.96rem, 1.15vw, 1.08rem);
    line-height: 1.7;
}

.brand-slide__content > p strong {
    color: var(--brand-dark);
}
/* Botones */

.brand-slide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.brand-slide__button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 13px 23px;

    border: 2px solid transparent;
    border-radius: 15px;

    font-size: 0.9rem;
    font-weight: 750;
    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.brand-slide__button:hover {
    transform: translateY(-3px);
}

.brand-slide__button--primary {
    background: var(--brand-primary);
    box-shadow: 0 13px 28px rgba(0, 169, 223, 0.22);
    color: white;
}

.brand-slide__button--primary:hover {
    background: #078fbc;
    box-shadow: 0 17px 35px rgba(0, 169, 223, 0.32);
    color: white;
}

.brand-slide__button--outline {
    border-color: rgba(0, 127, 153, 0.35);
    background: rgba(255, 255, 255, 0.58);
    color: var(--brand-secondary);
}

.brand-slide__button--outline:hover {
    border-color: var(--brand-secondary);
    background: var(--brand-secondary);
    color: white;
}

/* Características */

.brand-slide__features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 40px;
}

.brand-slide__features > div {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    padding: 14px;

    border: 1px solid rgba(18, 61, 104, 0.1);
    border-radius: 15px;

    background: rgba(255, 255, 255, 0.68);
    backdrop-filter: blur(8px);
}

.brand-slide__features i {
    display: flex;
    width: 38px;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: rgba(0, 169, 223, 0.09);
    color: var(--brand-primary);

    font-size: 1rem;
}

.brand-slide__features span,
.brand-slide__features strong,
.brand-slide__features small {
    display: block;
}

.brand-slide__features strong {
    margin-bottom: 3px;
    color: var(--brand-dark);
    font-size: 0.71rem;
}

.brand-slide__features small {
    color: #708496;
    font-size: 0.59rem;
    line-height: 1.4;
}

/* Controles laterales */

.brand-slider__arrow {
    position: absolute;
    top: 50%;
    z-index: 10;

    display: flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(0, 127, 153, 0.16);
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 30px rgba(18, 61, 104, 0.12);

    color: var(--brand-secondary);
    font-size: 1.15rem;

    cursor: pointer;
    backdrop-filter: blur(10px);

    transform: translateY(-50%);

    transition:
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.brand-slider__arrow:hover {
    background: var(--brand-primary);
    box-shadow: 0 15px 32px rgba(0, 169, 223, 0.25);
    color: white;
}

.brand-slider__arrow--prev {
    left: 26px;
}

.brand-slider__arrow--next {
    right: 26px;
}

/* Indicadores */

.brand-slider__indicators {
    position: absolute;
    bottom: 34px;
    left: 50%;
    z-index: 10;

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

    transform: translateX(-50%);
}

.brand-slider__indicator {
    width: 9px;
    height: 9px;
    padding: 0;

    border: 0;
    border-radius: 600px;

    background: rgba(0, 127, 153, 0.25);
    cursor: pointer;

    transition:
        width 0.3s ease,
        background 0.3s ease;
}

.brand-slider__indicator.is-active {
    width: 36px;
    background: var(--brand-primary);
}

/* Contador */

.brand-slider__counter {
    position: absolute;
    right: 42px;
    bottom: 31px;
    z-index: 10;

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

    color: var(--brand-dark);
    font-size: 0.7rem;
    font-weight: 750;
}

.brand-slider__counter-line {
    width: 28px;
    height: 1px;
    background: rgba(18, 61, 104, 0.35);
}

/* Decoración */

.brand-slide__decor {
    position: absolute;
    z-index: 2;
    border-radius: 50%;
    pointer-events: none;
}

.brand-slide__decor--one {
    top: -180px;
    right: -100px;
    width: 520px;
    height: 520px;
    background: rgba(0, 169, 223, 0.08);
}

.brand-slide__decor--two {
    bottom: -260px;
    left: -210px;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(0, 127, 153, 0.12);
    background: rgba(0, 127, 153, 0.025);
}

/* Responsive */

@media (max-width: 1000px) {

        .brand-slide__overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(255, 255, 255, 0.47),
                rgba(255, 255, 255, 0.39)
            );
    }

    .brand-slide__container {
        padding: 145px 75px 115px;
    }

    .brand-slide__features {
        grid-template-columns: 1fr;
        max-width: 540px;
    }

    .brand-slider__arrow--prev {
        left: 13px;
    }

    .brand-slider__arrow--next {
        right: 13px;
    }
}

@media (max-width: 650px) {
    .brand-slide,
    .brand-slider,
    .brand-hero {
        min-height: 100svh;
    }

    .brand-slide__container {
        padding: 125px 18px 100px;
    }

    .brand-slide__overlay {
        background:
            linear-gradient(
                to bottom,
                rgba(255, 255, 255, 0.47),
                rgba(255, 255, 255, 0.39)
            );
    }

    .brand-slide__logos {
        flex-wrap: wrap;
        gap: 13px;
    }

    .brand-slide__logo--viitalcore,
    .brand-slide__logo--partner {
        width: min(210px, 66vw);
    }

    .brand-slide__plus {
        width: 34px;
        min-width: 34px;
        height: 34px;
    }

    .brand-slide h1,
    .brand-slide h2 {
        font-size: clamp(2.2rem, 11vw, 3.3rem);
    }

    .brand-slide__content > p {
        font-size: 0.94rem;
        line-height: 1.68;
    }

    .brand-slide__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .brand-slide__button {
        width: 100%;
    }

    .brand-slide__features {
        display: none;
    }

    .brand-slider__arrow {
        display: none;
    }

    .brand-slider__counter {
        display: none;
    }
}

/* =========================================================
   CTA MINIMALISTA DE SOPORTE
========================================================= */

.minimal-support-cta {
    position: relative;
    overflow: hidden;
    padding: 105px 24px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(0, 169, 223, 0.1),
            transparent 42%
        ),
        #0d1d2f;

    color: #ffffff;
}

.minimal-support-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;

    width: 110px;
    height: 3px;

    border-radius: 600px;

    background: #00a9df;

    transform: translateX(-50%);
}

.minimal-support-cta__container {
    position: relative;
    z-index: 2;

    width: min(950px, 100%);
    margin: 0 auto;

    text-align: center;
}

.minimal-support-cta__eyebrow {
    display: block;
    margin-bottom: 20px;

    color: #54c9ec;

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.minimal-support-cta h2 {
    margin: 0 auto 18px;

    color: #ffffff;

    font-size: clamp(2rem, 4vw, 3.55rem);
    font-weight: 760;
    letter-spacing: -0.04em;
    line-height: 1.08;

    text-wrap: balance;
}

.minimal-support-cta p {
    max-width: 760px;
    margin: 0 auto;

    color: rgba(255, 255, 255, 0.72);

    font-size: clamp(0.98rem, 1.3vw, 1.1rem);
    line-height: 1.75;
}

.minimal-support-cta__button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 11px;

    margin-top: 32px;
    padding: 13px 27px;

    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 15px;

    background: transparent;
    color: #ffffff;

    font-size: 0.92rem;
    font-weight: 750;
    text-decoration: none;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.minimal-support-cta__button i {
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.minimal-support-cta__button:hover {
    border-color: #00a9df;
    background: #00a9df;
    box-shadow: 0 14px 32px rgba(0, 169, 223, 0.24);
    color: #ffffff;

    transform: translateY(-3px);
}

.minimal-support-cta__button:hover i {
    transform: translateX(4px);
}

/* Responsive */

@media (max-width: 600px) {
    .minimal-support-cta {
        padding: 75px 20px;
    }

    .minimal-support-cta__eyebrow {
        margin-bottom: 16px;
        font-size: 0.65rem;
    }

    .minimal-support-cta h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .minimal-support-cta p {
        font-size: 0.94rem;
        line-height: 1.65;
    }

    .minimal-support-cta__button {
        width: 100%;
        max-width: 310px;
    }
}

/* -------------- */

.about-company__purpose-card h3 {
    margin: 0 0 10px;
    color: #0d2a43;
    font-size: 1.2rem;
}

.about-company__content p,
.about-company__purpose-card p,
.about-company__closing {
    text-align: justify;
    text-justify: inter-word;
    line-height: 1.8;
}

/* --------------------- */

.brand-slide__logo--partner {
    width: auto;
    margin-top: 15px;
    max-width: 250px;
    max-height: 58px;
    object-fit: contain;
}

.brand-slide__category {
    position: absolute;
    right: 6%;
    bottom: 45px;

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

    padding-left: 18px;
    border-left: 2px solid rgba(255, 255, 255, 0.45);

    color: #5b5b5b;
}

.brand-slide__category span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
}

.brand-slide__category strong {
    font-size: 0.92rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .brand-slide__logo--partner {
        max-width: 130px;
        max-height: 44px;
    }

    .brand-slide__category {
        display: none;
    }
}

/* =====================================================
   MENÚ PRINCIPAL
===================================================== */

.main-nav {
    position: fixed;
    top: 18px;
    left: 0;
    z-index: 1200;

    width: 100%;
    padding: 0 clamp(18px, 3.5vw, 64px);

    pointer-events: none;
}

.main-nav__container {
    width: min(100%, 1420px);
    min-height: 70px;
    margin: 0 auto;
    padding: 0 12px 0 22px;

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

    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(7, 45, 68, 0.08);
    border-radius: 17px;

    box-shadow:
        0 12px 38px rgba(7, 45, 68, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    pointer-events: auto;

    transition:
        min-height 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-radius 0.3s ease;
}

/* Menú al desplazarse */

.main-nav.is-scrolled {
    top: 10px;
}

.main-nav.is-scrolled .main-nav__container {
    min-height: 62px;

    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 10px 30px rgba(7, 45, 68, 0.14);
}

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

.main-nav__brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.main-nav__logo {
    display: block;
    width: auto;
    height: 37px;
    object-fit: contain;
}

/* =====================================================
   NAVEGACIÓN DE ESCRITORIO
===================================================== */

.main-nav__desktop {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.main-nav__link {
    position: relative;

    min-height: 42px;
    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    border: 0;
    border-radius: 10px;
    background: transparent;

    color: #496270;
    font-family: inherit;
    font-size: 0.86rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;

    transition:
        color 0.32s ease,
        background-color 0.38s ease;
}

.main-nav__link:hover,
.main-nav__link.is-active {
    color: var(--brand-dark, #07304b);
    background: rgba(6, 169, 218, 0.07);
}

/* Punto activo: existe siempre, pero oculto */

.main-nav__link[data-nav-section]::after {
    content: "";

    position: absolute;
    left: 50%;
    bottom: 4px;

    width: 4px;
    height: 4px;

    background: var(--brand-primary, #06a9da);
    border-radius: 50%;

    opacity: 0;

    transform:
        translateX(-50%)
        translateY(3px)
        scale(0.45);

    transition:
        opacity 0.32s ease,
        transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-nav__link[data-nav-section].is-active::after {
    opacity: 1;

    transform:
        translateX(-50%)
        translateY(0)
        scale(1);
}

/* Flecha de los dropdowns */

.main-nav__dropdown-toggle i {
    font-size: 0.66rem;

    transition: transform 0.25s ease;
}

.main-nav__dropdown:hover
.main-nav__dropdown-toggle i,
.main-nav__dropdown.is-open
.main-nav__dropdown-toggle i {
    transform: rotate(180deg);
}

/* =====================================================
   DROPDOWNS
===================================================== */

.main-nav__dropdown {
    position: relative;
}

/* =====================================================
   MEGA MENÚ — SOLUCIONES
===================================================== */

.main-nav__mega-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;

    width: min(760px, 82vw);
    padding: 12px;

    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(220px, 0.9fr);
    gap: 12px;

    background: rgba(255, 255, 255, 0.985);
    border: 1px solid rgba(7, 45, 68, 0.08);
    border-radius: 18px;

    box-shadow: 0 22px 55px rgba(7, 45, 68, 0.17);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, 10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

/* Puente invisible para que el hover no se corte */

.main-nav__mega-menu::before,
.main-nav__brands-menu::before {
    content: "";

    position: absolute;
    top: -14px;
    left: 0;

    width: 100%;
    height: 14px;
}

.main-nav__dropdown:hover
.main-nav__mega-menu,
.main-nav__dropdown.is-open
.main-nav__mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translate(-50%, 0);
}

/* Títulos internos */

.main-nav__mega-title {
    display: block;
    margin-bottom: 10px;

    color: #82929d;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

/* Áreas */

.main-nav__mega-areas {
    padding: 14px;
}

.main-nav__areas-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.main-nav__area {
    min-height: 90px;
    padding: 13px;

    display: flex;
    align-items: flex-start;
    gap: 11px;

    color: var(--brand-dark, #07304b);
    border-radius: 13px;
    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.main-nav__area:hover {
    background: #f2f8fb;
    transform: translateY(-1px);
}

.main-nav__area-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;

    display: grid;
    place-items: center;

    color: var(--brand-primary, #06a9da);
    background: rgba(6, 169, 218, 0.09);
    border-radius: 10px;

    font-size: 1rem;
}

.main-nav__area > span:last-child {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.main-nav__area strong {
    color: var(--brand-dark, #07304b);
    font-size: 0.84rem;
    font-weight: 750;
    line-height: 1.3;
}

.main-nav__area small {
    color: #718591;
    font-size: 0.71rem;
    line-height: 1.45;
}

/* Servicios */

.main-nav__mega-services {
    padding: 14px;

    background: #f7fafc;
    border-radius: 14px;
}

.main-nav__service {
    min-height: 46px;
    padding: 0 10px;

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

    color: var(--brand-dark, #07304b);
    border-radius: 10px;
    text-decoration: none;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.main-nav__service:hover {
    color: var(--brand-primary, #06a9da);
    background: #ffffff;
}

.main-nav__service span {
    display: flex;
    align-items: center;
    gap: 9px;

    font-size: 0.8rem;
    font-weight: 700;
}

.main-nav__service span i {
    color: var(--brand-primary, #06a9da);
    font-size: 0.9rem;
}

.main-nav__service > i {
    font-size: 0.7rem;
}

.main-nav__mega-divider {
    height: 1px;
    margin: 10px 0 13px;

    background: rgba(7, 45, 68, 0.08);
}

/* Acceso a catálogos */

.main-nav__catalog-card {
    padding: 13px;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;

    color: var(--brand-dark, #07304b);
    background: #ffffff;
    border: 1px solid rgba(7, 45, 68, 0.07);
    border-radius: 12px;

    text-decoration: none;

    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.main-nav__catalog-card:hover {
    border-color: rgba(6, 169, 218, 0.28);
    box-shadow: 0 9px 20px rgba(7, 45, 68, 0.07);
    transform: translateY(-1px);
}

.main-nav__catalog-icon {
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    color: #ffffff;
    background: var(--brand-primary, #06a9da);
    border-radius: 9px;
}

.main-nav__catalog-card > span:nth-child(2) {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.main-nav__catalog-card strong {
    font-size: 0.78rem;
}

.main-nav__catalog-card small {
    color: #7a8b96;
    font-size: 0.68rem;
}

.main-nav__catalog-card > i {
    color: var(--brand-primary, #06a9da);
    font-size: 0.75rem;
}

/* =====================================================
   DROPDOWN — NUESTRAS MARCAS
===================================================== */

.main-nav__brands-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;

    width: 350px;
    padding: 10px;

    background: rgba(255, 255, 255, 0.985);
    border: 1px solid rgba(7, 45, 68, 0.08);
    border-radius: 16px;

    box-shadow: 0 22px 55px rgba(7, 45, 68, 0.17);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, 10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}

.main-nav__dropdown:hover
.main-nav__brands-menu,
.main-nav__dropdown.is-open
.main-nav__brands-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translate(-50%, 0);
}

.main-nav__brand-link {
    position: relative;

    min-height: 64px;
    padding: 9px 38px 9px 9px;

    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 11px;

    color: var(--brand-dark, #07304b);
    border-radius: 10px;
    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.main-nav__brand-link:hover {
    background: #f2f8fb;
    transform: translateX(2px);
}

.main-nav__brand-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    color: var(--brand-primary, #06a9da);
    background: rgba(6, 169, 218, 0.09);
    border-radius: 10px;

    font-size: 1rem;
}

.main-nav__brand-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 3px;
}

.main-nav__brand-info strong {
    color: var(--brand-dark, #07304b);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.25;
}

.main-nav__brand-info small {
    color: #718591;
    font-size: 0.68rem;
    line-height: 1.35;
}

.main-nav__brand-arrow {
    position: absolute;
    top: 50%;
    right: 12px;

    color: #91a3ad;
    font-size: 0.72rem;

    transform: translateY(-50%);

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.main-nav__brand-link:hover
.main-nav__brand-arrow {
    color: var(--brand-primary, #06a9da);

    transform:
        translateY(-50%)
        translateX(3px);
}

.main-nav__brands-footer {
    margin-top: 5px;
    padding-top: 7px;

    border-top: 1px solid rgba(7, 45, 68, 0.08);
}

.main-nav__brands-footer a {
    min-height: 38px;
    padding: 0 9px;

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

    color: var(--brand-dark, #07304b);
    border-radius: 8px;

    font-size: 0.68rem;
    font-weight: 750;
    text-decoration: none;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.main-nav__brands-footer a:hover {
    color: var(--brand-primary, #06a9da);
    background: #f2f8fb;
}

/* =====================================================
   ACCIONES
===================================================== */

.main-nav__actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.main-nav__cta {
    min-height: 43px;
    padding: 0 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #ffffff;
    background: var(--brand-dark, #07304b);
    border-radius: 10px;

    font-size: 0.81rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.main-nav__cta:hover {
    background: var(--brand-primary, #06a9da);
    box-shadow: 0 8px 20px rgba(6, 169, 218, 0.22);
    transform: translateY(-1px);
}

/* =====================================================
   BOTÓN MÓVIL
===================================================== */

.main-nav__toggle {
    display: none;

    width: 43px;
    height: 43px;
    padding: 0;

    border: 0;
    border-radius: 10px;
    background: #f1f7fa;

    cursor: pointer;
}

.main-nav__toggle span {
    display: block;

    width: 19px;
    height: 2px;
    margin: 5px auto;

    background: var(--brand-dark, #07304b);
    border-radius: 600px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}

.main-nav__toggle.is-active span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.main-nav__toggle.is-active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* =====================================================
   MENÚ MÓVIL
===================================================== */

.main-nav__mobile {
    width: min(100%, 720px);
    max-height: 0;
    margin: 9px auto 0;
    padding: 0 18px;

    overflow: hidden;

    background: rgba(255, 255, 255, 0.985);
    border: 1px solid transparent;
    border-radius: 16px;

    box-shadow: 0 18px 45px rgba(7, 45, 68, 0.15);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    opacity: 0;
    pointer-events: none;

    transition:
        max-height 0.4s ease,
        padding 0.4s ease,
        opacity 0.3s ease,
        border-color 0.3s ease;
}

.main-nav__mobile.is-open {
    max-height: calc(100vh - 105px);
    padding-top: 18px;
    padding-bottom: 18px;

    overflow-y: auto;

    border-color: rgba(7, 45, 68, 0.08);

    opacity: 1;
    pointer-events: auto;
}

.main-nav__mobile-content {
    display: flex;
    flex-direction: column;
}

.main-nav__mobile-link {
    padding: 13px 4px;

    color: var(--brand-dark, #07304b);
    border-bottom: 1px solid rgba(7, 45, 68, 0.07);

    font-size: 0.94rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.main-nav__mobile-link.is-active {
    color: var(--brand-primary, #06a9da);
}

.main-nav__mobile-group {
    padding: 15px 0;

    display: flex;
    flex-direction: column;

    border-bottom: 1px solid rgba(7, 45, 68, 0.07);
}

.main-nav__mobile-label {
    margin-bottom: 9px;
    padding: 0 4px;

    color: #8999a3;
    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.main-nav__mobile-group a {
    padding: 10px 4px 10px 14px;

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

    color: #526c7b;
    border-radius: 9px;

    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
}

.main-nav__mobile-group a:hover {
    color: var(--brand-dark, #07304b);
    background: #f2f8fb;
}

.main-nav__mobile-group a i {
    color: var(--brand-primary, #06a9da);
    font-size: 0.72rem;
}

.main-nav__mobile-cta {
    margin-top: 16px;
    padding: 14px 16px;

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

    color: #ffffff;
    background: var(--brand-dark, #07304b);
    border-radius: 11px;

    font-size: 0.87rem;
    font-weight: 700;
    text-decoration: none;
}

/* =====================================================
   ESPACIO PARA QUE EL MENÚ NO TAPE EL SLIDER
===================================================== */

.brand-slide__container {
    padding-top: 112px;
}

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

@media (max-width: 1100px) {
    .main-nav__desktop,
    .main-nav__cta {
        display: none;
    }

    .main-nav__toggle {
        display: block;
    }
}

@media (min-width: 1101px) {
    .main-nav__mobile {
        display: none;
    }
}

@media (max-width: 700px) {
    .main-nav {
        top: 9px;
        padding: 0 10px;
    }

    .main-nav.is-scrolled {
        top: 7px;
    }

    .main-nav__container {
        min-height: 61px;
        padding: 0 9px 0 15px;

        border-radius: 14px;
    }

    .main-nav__logo {
        height: 31px;
    }

    .main-nav__mobile {
        margin-top: 7px;
        border-radius: 14px;
    }

    .brand-slide__container {
        padding-top: 92px;
    }
}


.main-nav__area-icon--diagnostic svg {
    width: 20px;
    height: 20px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.brand-slide__button--secondary {
    min-height: 58px;
    padding: 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    color: var(--brand-dark, #07304b);
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(7, 48, 75, 0.18);
    border-radius: 15px;

    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.brand-slide__button--secondary:hover {
    color: #ffffff;
    background: var(--brand-dark, #07304b);
    border-color: var(--brand-dark, #07304b);

    box-shadow: 0 10px 24px rgba(7, 48, 75, 0.18);
    transform: translateY(-2px);
}

.brand-slide__button--secondary:focus-visible {
    outline: 3px solid rgba(6, 169, 218, 0.3);
    outline-offset: 3px;
}


/* =====================================================
   SLIDE CORPORATIVO DE VIITALCORE
===================================================== */

.brand-slide--video {
    position: absolute;
    inset: 0;

    overflow: hidden;
    background: #06263a;
}

/* Video de fondo */

.brand-slide__video {
    position: absolute;
    inset: 0;
    z-index: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

/* Capa oscura sobre el video */

.brand-slide__overlay--video {
    z-index: 1;

    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.72) 0%,
        rgba(248, 251, 255, 0.62) 50%,
        rgba(255, 255, 255, 0.78) 100%
    );
}

/* Centrado del contenido */

.brand-slide__container--centered {
    position: relative;
    z-index: 2;

    min-height: 100%;
    padding:
        clamp(120px, 15vh, 170px)
        clamp(30px, 6vw, 100px)
        100px;

    display: grid;
    place-items: center;
}

/* Sobrescribe el ancho utilizado en los otros slides */

.brand-slide__content.brand-slide__content--centered {
    width: min(900px, 92vw);
    max-width: none;

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

    text-align: center;
}

/* Logo principal */

.brand-slide__main-logo {
    display: block;

    width: clamp(380px, 48vw, 720px);
    max-width: 88vw;
    height: auto;
    max-height: none;

    object-fit: contain;

    filter:
        drop-shadow(0 14px 25px rgba(7, 48, 75, 0.16))
        drop-shadow(0 3px 8px rgba(255, 255, 255, 0.55));

    will-change: transform;
}

.brand-slide--video.is-active .brand-slide__main-logo {
    animation: viitalcoreLogoFloat 4.5s ease-in-out infinite;
}

@keyframes viitalcoreLogoFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}


.brand-slide--video.is-active .brand-slide__main-logo {
    animation:
        viitalcoreLogoEntrance 0.9s ease-out both,
        viitalcoreLogoFloat 4.5s ease-in-out 0.9s infinite;
}

@keyframes viitalcoreLogoEntrance {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.94);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes viitalcoreLogoFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

/* Texto corporativo */

.brand-slide__content--centered > p {
    width: min(100%, 780px);
    max-width: 780px;
    margin: 0;

    color: var(--brand-dark, #07304b);

    font-size: clamp(1rem, 1.45vw, 1.25rem);
    font-weight: 500;
    line-height: 1.75;
    text-align: center;

    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.75);
}

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

@media (max-width: 768px) {
    .brand-slide__container--centered {
        padding:
            110px
            24px
            90px;
    }

    .brand-slide__content.brand-slide__content--centered {
        width: 100%;
        gap: 24px;
    }

    .brand-slide__main-logo {
        width: min(78vw, 360px);
    }

    .brand-slide__content--centered > p {
        max-width: 540px;

        font-size: 1rem;
        line-height: 1.65;
    }
}

@media (max-width: 480px) {
    .brand-slide__container--centered {
        padding:
            95px
            20px
            80px;
    }

    .brand-slide__main-logo {
        width: min(82vw, 310px);
    }

    .brand-slide__content--centered > p {
        font-size: 0.94rem;
        line-height: 1.6;
    }
}

/* =====================================================
   SECCIÓN DE CONTACTO
===================================================== */

.contact-section {
    position: relative;
    overflow: hidden;

    padding:
        clamp(80px, 10vw, 140px)
        clamp(20px, 5vw, 80px);

    background:
        radial-gradient(
            circle at 12% 18%,
            rgba(6, 169, 218, 0.09),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #f7fbfd 0%,
            #ffffff 48%,
            #f3f9fc 100%
        );
}

.contact-section::before {
    content: "";

    position: absolute;
    top: -180px;
    right: -160px;

    width: 430px;
    height: 430px;

    border: 1px solid rgba(6, 169, 218, 0.1);
    border-radius: 50%;

    pointer-events: none;
}

.contact-section::after {
    content: "";

    position: absolute;
    right: 70px;
    bottom: -260px;

    width: 480px;
    height: 480px;

    border: 1px solid rgba(7, 48, 75, 0.07);
    border-radius: 50%;

    pointer-events: none;
}

.contact-section__container {
    position: relative;
    z-index: 2;

    width: min(100%, 1320px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(580px, 1.18fr);
    align-items: center;
    gap: clamp(50px, 7vw, 100px);
}

/* =====================================================
   INFORMACIÓN
===================================================== */

.contact-section__information {
    max-width: 560px;
}

.contact-section__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 18px;

    color: var(--brand-primary, #06a9da);

    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.contact-section__eyebrow::before {
    content: "";

    width: 28px;
    height: 2px;

    background: currentColor;
    border-radius: 999px;
}

.contact-section__information h2 {
    max-width: 530px;
    margin: 0 0 22px;

    color: var(--brand-dark, #07304b);

    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 780;
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.contact-section__information h2 span {
    color: var(--brand-primary, #06a9da);
}

.contact-section__description {
    max-width: 540px;
    margin: 0;

    color: #5f7785;

    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.8;
}

/* Áreas */

.contact-section__areas {
    margin-top: 32px;

    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.contact-section__areas span {
    min-height: 38px;
    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #365569;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(7, 48, 75, 0.08);
    border-radius: 10px;

    font-size: 0.76rem;
    font-weight: 650;

    box-shadow: 0 7px 18px rgba(7, 48, 75, 0.04);
}

.contact-section__areas i {
    color: var(--brand-primary, #06a9da);
    font-size: 0.88rem;
}

/* Beneficios */

.contact-section__benefits {
    margin-top: 42px;

    display: grid;
    gap: 22px;
}

.contact-section__benefit {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 15px;
}

.contact-section__benefit-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;

    display: grid;
    place-items: center;

    color: var(--brand-primary, #06a9da);
    background: rgba(6, 169, 218, 0.1);
    border-radius: 12px;

    font-size: 1rem;
}

.contact-section__benefit strong {
    display: block;
    margin-bottom: 5px;

    color: var(--brand-dark, #07304b);

    font-size: 0.92rem;
    font-weight: 750;
}

.contact-section__benefit p {
    max-width: 410px;
    margin: 0;

    color: #728692;

    font-size: 0.8rem;
    line-height: 1.6;
}

/* =====================================================
   TARJETA DEL FORMULARIO
===================================================== */

.contact-form-card {
    padding: clamp(26px, 3.3vw, 46px);

    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(7, 48, 75, 0.08);
    border-radius: 24px;

    box-shadow:
        0 28px 70px rgba(7, 48, 75, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.contact-form-card__header {
    margin-bottom: 30px;

    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
}

.contact-form-card__icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    color: #ffffff;
    background: var(--brand-primary, #06a9da);
    border-radius: 14px;

    box-shadow: 0 10px 25px rgba(6, 169, 218, 0.23);

    font-size: 1.05rem;
}

.contact-form-card__header h3 {
    margin: 0 0 5px;

    color: var(--brand-dark, #07304b);

    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 750;
    letter-spacing: -0.025em;
}

.contact-form-card__header p {
    margin: 0;

    color: #748793;

    font-size: 0.82rem;
    line-height: 1.5;
}

/* =====================================================
   FORMULARIO
===================================================== */

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}

.contact-form__field {
    min-width: 0;
}

.contact-form__field--full {
    margin-top: 20px;
}

.contact-form__field label {
    display: block;
    margin-bottom: 8px;

    color: #29495d;

    font-size: 0.77rem;
    font-weight: 700;
}

.contact-form__field label > span {
    color: var(--brand-primary, #06a9da);
}

.contact-form__control {
    position: relative;

    min-height: 52px;

    display: flex;
    align-items: center;

    background: #f7fafc;
    border: 1px solid rgba(7, 48, 75, 0.09);
    border-radius: 11px;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.contact-form__control:focus-within {
    background: #ffffff;
    border-color: rgba(6, 169, 218, 0.6);

    box-shadow: 0 0 0 4px rgba(6, 169, 218, 0.09);
}

.contact-form__control > i:first-child {
    position: absolute;
    left: 16px;

    color: #8297a3;
    font-size: 0.9rem;

    pointer-events: none;
}

.contact-form__control input,
.contact-form__control select,
.contact-form__control textarea {
    width: 100%;
    min-width: 0;

    color: var(--brand-dark, #07304b);
    background: transparent;
    border: 0;
    outline: 0;

    font-family: inherit;
    font-size: 0.85rem;
}

.contact-form__control input {
    height: 50px;
    padding: 0 15px 0 44px;
}

.contact-form__control input::placeholder,
.contact-form__control textarea::placeholder {
    color: #9aaab3;
}

/* Select */

.contact-form__control select {
    height: 50px;
    padding: 0 42px 0 44px;

    appearance: none;
    -webkit-appearance: none;

    cursor: pointer;
}

.contact-form__control--select > i:last-child {
    position: absolute;
    right: 15px;

    color: #8798a2;
    font-size: 0.72rem;

    pointer-events: none;
}

/* Textarea */

.contact-form__control--textarea {
    min-height: 132px;
    align-items: flex-start;
}

.contact-form__control--textarea > i:first-child {
    top: 17px;
}

.contact-form__control textarea {
    min-height: 130px;
    padding: 15px 16px 15px 44px;

    resize: vertical;
    line-height: 1.6;
}

/* Privacidad */

.contact-form__privacy {
    margin-top: 20px;

    display: grid;
    grid-template-columns: auto 1fr;
    align-items: flex-start;
    gap: 10px;

    color: #748690;

    font-size: 0.72rem;
    line-height: 1.55;

    cursor: pointer;
}

.contact-form__privacy input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;
    pointer-events: none;
}

.contact-form__checkbox {
    width: 19px;
    height: 19px;
    margin-top: 1px;

    display: grid;
    place-items: center;

    color: transparent;
    background: #f3f7f9;
    border: 1px solid rgba(7, 48, 75, 0.14);
    border-radius: 5px;

    font-size: 0.7rem;

    transition:
        color 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.contact-form__privacy input:checked + .contact-form__checkbox {
    color: #ffffff;
    background: var(--brand-primary, #06a9da);
    border-color: var(--brand-primary, #06a9da);
}

.contact-form__privacy input:focus-visible + .contact-form__checkbox {
    outline: 3px solid rgba(6, 169, 218, 0.2);
    outline-offset: 2px;
}

/* Botón */

.contact-form__submit {
    width: 100%;
    min-height: 54px;
    margin-top: 24px;
    padding: 0 22px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: #ffffff;
    background: var(--brand-dark, #07304b);
    border: 0;
    border-radius: 12px;

    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 750;

    cursor: pointer;

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.contact-form__submit:hover {
    background: var(--brand-primary, #06a9da);

    box-shadow: 0 12px 26px rgba(6, 169, 218, 0.23);

    transform: translateY(-2px);
}

.contact-form__submit i {
    font-size: 0.85rem;

    transition: transform 0.25s ease;
}

.contact-form__submit:hover i {
    transform: translateX(4px);
}

.contact-form__note {
    margin: 13px 0 0;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    color: #8a9aa4;

    font-size: 0.68rem;
    text-align: center;
}

.contact-form__note i {
    color: var(--brand-primary, #06a9da);
}

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

@media (max-width: 1100px) {
    .contact-section__container {
        grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
        gap: 45px;
    }

    .contact-section__information h2 {
        font-size: clamp(2.5rem, 4.5vw, 3.7rem);
    }
}

@media (max-width: 920px) {
    .contact-section__container {
        grid-template-columns: 1fr;
    }

    .contact-section__information {
        max-width: 720px;
    }

    .contact-section__description {
        max-width: 670px;
    }

    .contact-section__benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .contact-section {
        padding:
            75px
            16px;
    }

    .contact-section__information h2 {
        font-size: clamp(2.25rem, 11vw, 3.2rem);
    }

    .contact-section__benefits {
        grid-template-columns: 1fr;
    }

    .contact-form-card {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .contact-form__field--full {
        margin-top: 20px;
    }
}

@media (max-width: 420px) {
    .contact-section__areas {
        display: grid;
        grid-template-columns: 1fr;
    }

    .contact-section__areas span {
        justify-content: flex-start;
    }

    .contact-form-card__header {
        align-items: flex-start;
    }

    .contact-form-card__icon {
        width: 46px;
        height: 46px;
    }
}

/* =====================================================
   CASOS / INGENIERÍA EN ACCIÓN
===================================================== */

.cases-section {
    padding:
        clamp(80px, 9vw, 130px)
        clamp(20px, 5vw, 80px);

    background: #f7fafc;
}

.cases-section__container {
    width: min(100%, 1320px);
    margin: 0 auto;
}

/* =====================================================
   ENCABEZADO
===================================================== */

.cases-section__header {
    max-width: 900px;
    margin: 0 auto 48px;

    text-align: center;
}

.cases-section__eyebrow {
    display: inline-block;
    margin-bottom: 14px;

    color: var(--brand-primary, #06a9da);

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.cases-section__header h2 {
    margin: 0;

    color: var(--brand-dark, #07304b);

    font-size: clamp(2.7rem, 5vw, 4.8rem);
    font-weight: 780;
    letter-spacing: -0.045em;
    line-height: 1.03;
}

.cases-section__header h2 span {
    color: var(--brand-primary, #06a9da);
}

.cases-section__header p {
    max-width: 720px;
    margin: 20px auto 0;

    color: #617986;

    font-size: clamp(1rem, 1.3vw, 1.1rem);
    line-height: 1.8;
}

/* =====================================================
   FILTRO PRINCIPAL
===================================================== */

.cases-filter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 10px;
}

.cases-filter__button {
    min-height: 48px;
    padding: 0 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    color: #506879;

    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(7, 48, 75, 0.11);
    border-radius: 12px;

    font-family: inherit;
    font-size: 0.83rem;
    font-weight: 700;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.cases-filter__button i {
    color: var(--brand-primary, #06a9da);
    font-size: 0.9rem;
}

.cases-filter__button:hover {
    color: var(--brand-dark, #07304b);

    border-color: rgba(6, 169, 218, 0.3);

    transform: translateY(-1px);
}

.cases-filter__button.is-active {
    color: #ffffff;
    background: var(--brand-dark, #07304b);
    border-color: var(--brand-dark, #07304b);

    box-shadow: 0 8px 22px rgba(7, 48, 75, 0.14);
}

.cases-filter__button.is-active i {
    color: #ffffff;
}

/* =====================================================
   SUBFILTRO
===================================================== */

.cases-subfilter {
    max-height: 0;
    margin-top: 0;

    display: flex;
    flex-direction: column;
    align-items: center;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height 0.35s ease,
        margin 0.35s ease,
        opacity 0.3s ease;
}

.cases-subfilter.is-visible {
    max-height: 140px;
    margin-top: 25px;

    opacity: 1;
}

.cases-subfilter__label {
    margin-bottom: 10px;

    color: #94a3ac;

    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.cases-subfilter__buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;

    gap: 8px;
}

.cases-subfilter__button {
    min-height: 38px;
    padding: 0 14px;

    color: #657b89;

    background: transparent;
    border: 1px solid rgba(7, 48, 75, 0.1);
    border-radius: 9px;

    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 650;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.cases-subfilter__button:hover {
    color: var(--brand-dark, #07304b);

    background: #ffffff;
}

.cases-subfilter__button.is-active {
    color: var(--brand-primary, #06a9da);

    background: rgba(6, 169, 218, 0.08);
    border-color: rgba(6, 169, 218, 0.28);
}

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

.cases-grid {
    margin-top: 48px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 24px;
}

/* =====================================================
   TARJETAS
===================================================== */

.case-card {
    min-width: 0;

    overflow: hidden;

    background: #ffffff;
    border: 1px solid rgba(7, 48, 75, 0.07);
    border-radius: 18px;

    box-shadow: 0 12px 35px rgba(7, 48, 75, 0.055);

    opacity: 1;
    transform: translateY(0);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.case-card:hover {
    border-color: rgba(6, 169, 218, 0.2);

    box-shadow: 0 18px 45px rgba(7, 48, 75, 0.1);

    transform: translateY(-4px);
}

/* Tarjeta filtrada */

.case-card.is-hidden {
    display: none;
}

/* Imagen */

.case-card__media {
    position: relative;

    height: 245px;

    overflow: hidden;

    background: #edf4f7;
}

.case-card__media img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform 0.5s ease;
}

.case-card:hover .case-card__media img {
    transform: scale(1.035);
}

/* Área */

.case-card__area {
    position: absolute;
    top: 15px;
    left: 15px;

    padding: 8px 11px;

    color: var(--brand-dark, #07304b);

    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 8px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    font-size: 0.66rem;
    font-weight: 750;
}

/* Contenido */

.case-card__content {
    padding: 22px;
}

.case-card__meta {
    margin-bottom: 12px;

    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 7px;
}

.case-card__meta span {
    padding: 5px 8px;

    color: #637985;

    background: #f2f7f9;
    border-radius: 6px;

    font-size: 0.64rem;
    font-weight: 700;
}

.case-card__meta span:first-child {
    color: var(--brand-primary, #06a9da);

    background: rgba(6, 169, 218, 0.08);
}

.case-card__content h3 {
    margin: 0;

    color: var(--brand-dark, #07304b);

    font-size: clamp(1.05rem, 1.35vw, 1.25rem);
    font-weight: 750;
    letter-spacing: -0.02em;
    line-height: 1.35;
}

.case-card__content p {
    margin: 12px 0 20px;

    color: #718590;

    font-size: 0.8rem;
    line-height: 1.65;
}

.case-card__link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: var(--brand-dark, #07304b);

    font-size: 0.76rem;
    font-weight: 750;
    text-decoration: none;
}

.case-card__link i {
    color: var(--brand-primary, #06a9da);

    transition: transform 0.25s ease;
}

.case-card__link:hover i {
    transform: translate(3px, -3px);
}

/* =====================================================
   SIN RESULTADOS
===================================================== */

.cases-empty {
    display: none;

    margin-top: 45px;
    padding: 45px 20px;

    flex-direction: column;
    align-items: center;

    text-align: center;

    color: #798d98;
}

.cases-empty.is-visible {
    display: flex;
}

.cases-empty i {
    margin-bottom: 14px;

    color: var(--brand-primary, #06a9da);

    font-size: 2rem;
}

.cases-empty strong {
    color: var(--brand-dark, #07304b);

    font-size: 0.95rem;
}

.cases-empty span {
    margin-top: 6px;

    font-size: 0.78rem;
}

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

@media (max-width: 1050px) {
    .cases-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {

    .cases-section {
        padding:
            75px
            16px;
    }

    .cases-filter {
        justify-content: flex-start;

        flex-wrap: nowrap;

        overflow-x: auto;

        padding-bottom: 5px;

        scrollbar-width: none;
    }

    .cases-filter::-webkit-scrollbar {
        display: none;
    }

    .cases-filter__button {
        flex: 0 0 auto;
    }

    .cases-subfilter {
        align-items: flex-start;
    }

    .cases-subfilter__buttons {
        justify-content: flex-start;

        flex-wrap: nowrap;

        width: 100%;

        overflow-x: auto;

        padding-bottom: 5px;

        scrollbar-width: none;
    }

    .cases-subfilter__buttons::-webkit-scrollbar {
        display: none;
    }

    .cases-subfilter__button {
        flex: 0 0 auto;
    }

    .cases-grid {
        grid-template-columns: 1fr;

        gap: 18px;

        margin-top: 36px;
    }

    .case-card__media {
        height: 230px;
    }
}

button.case-card__link {
    padding: 0;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

/* =====================================================
   MODAL DE INTERVENCIONES
===================================================== */

.case-modal {
    position: fixed;
    inset: 0;
    z-index: 5000;

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

    padding: 24px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.case-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* Fondo */

.case-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(5, 30, 48, 0.62);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* Ventana */

.case-modal__dialog {
    position: relative;
    z-index: 2;

    width: min(1050px, 100%);
    height: min(760px, calc(100dvh - 40px));
    max-height: calc(100dvh - 40px);

    display: grid;
    grid-template-columns:
        minmax(380px, 0.95fr)
        minmax(0, 1.05fr);

    overflow: hidden;

    background: #ffffff;
    border: 1px solid rgba(7, 48, 75, 0.08);
    border-radius: 20px;

    box-shadow:
        0 35px 90px rgba(5, 30, 48, 0.30);

    transform: translateY(20px) scale(0.98);

    transition: transform 0.3s ease;
}

.case-modal.is-open .case-modal__dialog {
    transform: translateY(0) scale(1);
}

/* Cerrar */

.case-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    padding: 0;

    color: var(--brand-dark, #07304b);

    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(7, 48, 75, 0.1);
    border-radius: 10px;

    box-shadow: 0 8px 20px rgba(7, 48, 75, 0.08);

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease;
}

.case-modal__close:hover {
    color: #ffffff;
    background: var(--brand-dark, #07304b);
}


/* =====================================================
   GALERÍA DEL MODAL
===================================================== */

.case-modal__media {
    position: relative;

    min-height: 620px;

    display: flex;
    flex-direction: column;

    overflow: hidden;

    background: #e9f1f5;
}


/* =====================================================
   VISOR PRINCIPAL
===================================================== */

.case-modal__viewer {
    position: relative;

    flex: 1;

    min-height: 0;

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

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #edf4f7 0%,
            #e5eef3 100%
        );
}


.case-modal__viewer img,
.case-modal__viewer video {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


/* Imagen */

.case-modal__viewer img {
    transition:
        opacity 0.3s ease,
        transform 0.4s ease;
}


/* Video */

.case-modal__viewer video {
    background: #071d2c;
}


/* =====================================================
   ÁREA
===================================================== */

.case-modal__area {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 6;

    padding: 8px 11px;

    color: var(--brand-dark, #07304b);

    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    font-size: 0.67rem;
    font-weight: 750;

    box-shadow:
        0 8px 20px rgba(7, 48, 75, 0.08);
}


/* =====================================================
   CONTADOR
===================================================== */

.case-modal__media-counter {
    position: absolute;
    top: 18px;
    right: 70px;
    z-index: 6;

    min-height: 34px;
    padding: 0 10px;

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

    color: var(--brand-dark, #07304b);

    background: rgba(255, 255, 255, 0.88);
    border-radius: 8px;

    backdrop-filter: blur(10px);

    font-size: 0.66rem;
    font-weight: 750;
}


/* =====================================================
   FLECHAS
===================================================== */

.case-modal__media-arrow {
    position: absolute;
    top: 50%;
    z-index: 7;

    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    color: var(--brand-dark, #07304b);

    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(7, 48, 75, 0.08);
    border-radius: 10px;

    box-shadow:
        0 8px 20px rgba(7, 48, 75, 0.1);

    backdrop-filter: blur(10px);

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        color 0.25s ease,
        background 0.25s ease,
        transform 0.25s ease;
}


.case-modal__media-arrow:hover {
    color: #ffffff;

    background: var(--brand-dark, #07304b);
}


.case-modal__media-arrow--prev {
    left: 16px;
}


.case-modal__media-arrow--next {
    right: 16px;
}


.case-modal__media-arrow:disabled {
    display: none;
}


/* =====================================================
   MINIATURAS
===================================================== */

.case-modal__thumbnails {
    flex-shrink: 0;

    min-height: 92px;
    padding: 11px;

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

    overflow-x: auto;

    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(7, 48, 75, 0.07);

    scrollbar-width: none;
}


.case-modal__thumbnails::-webkit-scrollbar {
    display: none;
}


.case-modal__thumbnail {
    position: relative;

    width: 82px;
    height: 66px;

    flex: 0 0 82px;

    padding: 0;

    overflow: hidden;

    background: #eaf1f4;
    border: 2px solid transparent;
    border-radius: 8px;

    cursor: pointer;

    opacity: 0.68;

    transition:
        opacity 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.case-modal__thumbnail:hover {
    opacity: 1;

    transform: translateY(-2px);
}


.case-modal__thumbnail.is-active {
    opacity: 1;

    border-color: var(--brand-primary, #06a9da);
}


.case-modal__thumbnail img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


/* =====================================================
   MINIATURA DE VIDEO
===================================================== */

.case-modal__thumbnail--video::after {
    content: "\F4F4";

    position: absolute;
    inset: 0;

    display: grid;
    place-items: center;

    color: #ffffff;

    background: rgba(5, 29, 45, 0.32);

    font-family: "bootstrap-icons";
    font-size: 1.35rem;
}


.case-modal__thumbnail--video span {
    position: absolute;
    left: 5px;
    bottom: 4px;
    z-index: 2;

    padding: 2px 5px;

    color: #ffffff;

    background: rgba(5, 29, 45, 0.72);
    border-radius: 4px;

    font-size: 0.52rem;
    font-weight: 700;
}


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

@media (max-width: 850px) {

    .case-modal__media {
        min-height: 420px;
    }

    .case-modal__viewer {
        min-height: 320px;
    }

}


@media (max-width: 550px) {

    .case-modal__media {
        min-height: 350px;
    }

    .case-modal__viewer {
        min-height: 260px;
    }

    .case-modal__media-arrow {
        width: 38px;
        height: 38px;
    }

    .case-modal__media-arrow--prev {
        left: 9px;
    }

    .case-modal__media-arrow--next {
        right: 9px;
    }

    .case-modal__thumbnails {
        min-height: 82px;
    }

    .case-modal__thumbnail {
        width: 72px;
        height: 57px;

        flex-basis: 72px;
    }

}

.case-modal__area {
    position: absolute;

    top: 18px;
    left: 18px;
    right: auto;
    bottom: auto;

    z-index: 6;

    width: max-content;
    max-width: calc(100% - 120px);
    height: auto;

    display: inline-flex;
    align-items: center;

    padding: 8px 11px;

    color: var(--brand-dark, #07304b);

    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 8px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: 0 8px 20px rgba(7, 48, 75, 0.08);

    font-size: 0.67rem;
    font-weight: 750;
    line-height: 1;

    white-space: nowrap;
}


/* Contenido */

.case-modal__content {
    padding: clamp(35px, 4vw, 55px);

    overflow-y: auto;
}


.case-modal__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;

    margin-bottom: 15px;
}

.case-modal__meta span {
    padding: 6px 9px;

    color: #687d89;

    background: #f1f6f8;
    border-radius: 6px;

    font-size: 0.66rem;
    font-weight: 700;
}

.case-modal__meta span:first-child {
    color: var(--brand-primary, #06a9da);

    background: rgba(6, 169, 218, 0.09);
}


.case-modal__content h3 {
    margin: 0;

    color: var(--brand-dark, #07304b);

    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 780;
    letter-spacing: -0.035em;
    line-height: 1.08;
}


.case-modal__introduction {
    margin: 17px 0 27px;

    color: #637b88;

    font-size: 0.9rem;
    line-height: 1.75;
}


/* Detalles */

.case-modal__details {
    padding-top: 24px;

    display: grid;
    gap: 22px;

    border-top: 1px solid rgba(7, 48, 75, 0.08);
}


.case-modal__detail {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
}


.case-modal__detail-icon {
    width: 40px;
    height: 40px;

    display: grid;
    place-items: center;

    color: var(--brand-primary, #06a9da);

    background: rgba(6, 169, 218, 0.09);
    border-radius: 10px;
}


.case-modal__detail strong {
    display: block;

    margin-bottom: 5px;

    color: var(--brand-dark, #07304b);

    font-size: 0.82rem;
    font-weight: 750;
}


.case-modal__detail p {
    margin: 0;

    color: #718590;

    font-size: 0.79rem;
    line-height: 1.65;
}


/* Pie */

.case-modal__footer {
    margin-top: 30px;
    padding-top: 22px;

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

    border-top: 1px solid rgba(7, 48, 75, 0.08);
}


.case-modal__footer > div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}


.case-modal__footer span {
    color: #81929c;

    font-size: 0.69rem;
}


.case-modal__footer strong {
    color: var(--brand-dark, #07304b);

    font-size: 0.82rem;
}


.case-modal__contact {
    min-height: 44px;
    padding: 0 17px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    flex-shrink: 0;

    color: #ffffff;

    background: var(--brand-dark, #07304b);
    border-radius: 10px;

    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.case-modal__contact:hover {
    background: var(--brand-primary, #06a9da);

    transform: translateY(-1px);
}


/* Botón Ver intervención */

.case-modal-trigger {
    padding: 0;

    border: 0;
    background: transparent;

    font-family: inherit;

    cursor: pointer;
}


/* Bloquear scroll */

body.case-modal-open {
    overflow: hidden;
}


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

@media (max-width: 850px) {

    .case-modal {
        padding: 14px;
    }

    .case-modal__dialog {
        grid-template-columns: 1fr;

        width: min(650px, 100%);

        overflow-y: auto;
    }

    .case-modal__media {
        min-height: 270px;
        height: 270px;
    }

    .case-modal__content {
        overflow: visible;
    }
}


@media (max-width: 550px) {

    .case-modal {
        padding: 7px;
    }

    .case-modal__dialog {
        max-height: calc(100vh - 14px);

        border-radius: 15px;
    }

    .case-modal__media {
        min-height: 210px;
        height: 210px;
    }

    .case-modal__content {
        padding: 27px 19px;
    }

    .case-modal__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .case-modal__contact {
        width: 100%;
    }
}


/* =====================================================
   SLIDE CORPORATIVO — VIITALCORE
===================================================== */

.brand-slide--corporate {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* =====================================================
   CAPA BLANCA GENERAL
===================================================== */

.brand-slide__overlay--corporate {
    position: absolute;
    inset: 0;
    z-index: 1;

    background: rgba(255, 255, 255, 0.36);
}


/* =====================================================
   CONTENEDOR PRINCIPAL
===================================================== */

.brand-slide__container--corporate {
    position: relative;
    z-index: 3;

    min-height: 100%;

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

    padding:
        clamp(125px, 14vh, 170px)
        clamp(25px, 6vw, 100px)
        90px;
}


/* =====================================================
   CONTENIDO CENTRAL
===================================================== */

.corporate-slide__content {
    position: relative;
    z-index: 3;

    width: min(100%, 1050px);

    display: flex;
    flex-direction: column;
    align-items: center;

    text-align: center;

    transform: translateY(-20px);
}


/* =====================================================
   HALO BLANCO DETRÁS DEL CONTENIDO
===================================================== */

.corporate-slide__content::before {
    content: "";

    position: absolute;
    z-index: -1;

    top: 50%;
    left: 50%;

    width: 125%;
    height: 125%;

    transform: translate(-50%, -50%);

    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(255, 255, 255, 0.78) 30%,
        rgba(255, 255, 255, 0.48) 58%,
        rgba(255, 255, 255, 0.15) 78%,
        rgba(255, 255, 255, 0) 100%
    );

    filter: blur(18px);

    pointer-events: none;
}


/* =====================================================
   ETIQUETA SUPERIOR
===================================================== */

.corporate-slide__eyebrow {
    margin-bottom: 20px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding: 8px 13px;

    color: var(--brand-dark, #07304b);

    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(7, 48, 75, 0.08);
    border-radius: 8px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 7px 25px rgba(7, 48, 75, 0.06);

    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}


/* Punto animado */

.corporate-slide__eyebrow-dot {
    width: 7px;
    height: 7px;

    flex-shrink: 0;

    background: var(--brand-primary, #06a9da);
    border-radius: 50%;

    box-shadow:
        0 0 0 5px rgba(6, 169, 218, 0.12);

    animation: corporatePulse 2.5s ease-in-out infinite;
}


/* =====================================================
   TÍTULO
===================================================== */

.brand-slide--corporate h1 {
    max-width: 950px;
    margin-top: 30px;

    color: var(--brand-dark, #07304b);

    font-size: clamp(2.7rem, 5vw, 5rem);
    font-weight: 600;

    line-height: 1.01;
    letter-spacing: -0.055em;

    text-wrap: balance;

}


/* Parte azul del título */

.brand-slide--corporate h1 span {
    color: var(--brand-primary, #06a9da);
}


/* =====================================================
   PÁRRAFO
===================================================== */

.corporate-slide__content > p {
    width: 100%;
    max-width: 940px;

    margin: 28px 0 0;

    color: #163f57;

    font-size: clamp(1.05rem, 1.35vw, 1.22rem);
    font-weight: 560;

    line-height: 1.7;
    letter-spacing: -0.01em;

    text-align: center;

}


/* =====================================================
   BOTONES
===================================================== */

.corporate-slide__actions {
    margin-top: 30px;

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

    gap: 12px;
}


.corporate-slide__button {
    min-height: 50px;

    padding: 0 21px;

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

    gap: 9px;

    border-radius: 11px;

    font-size: 0.82rem;
    font-weight: 750;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}


/* Botón principal */

.corporate-slide__button--primary {
    color: #ffffff;

    background: var(--brand-dark, #07304b);
    border: 1px solid var(--brand-dark, #07304b);

    box-shadow:
        0 10px 25px rgba(7, 48, 75, 0.20);
}


.corporate-slide__button--primary:hover {
    background: var(--brand-primary, #06a9da);
    border-color: var(--brand-primary, #06a9da);

    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(6, 169, 218, 0.22);
}


/* Botón secundario */

.corporate-slide__button--secondary {
    color: var(--brand-dark, #07304b);

    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(7, 48, 75, 0.14);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}


.corporate-slide__button--secondary:hover {
    background: #ffffff;

    border-color: rgba(7, 48, 75, 0.24);

    transform: translateY(-2px);
}


/* =====================================================
   ÁREAS
===================================================== */

.corporate-slide__areas {
    margin-top: 32px;

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

    gap: 9px;
}


.corporate-slide__area {
    min-height: 38px;

    padding: 0 13px;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #244c63;

    background: rgba(255, 255, 255, 0.78);

    border: 1px solid rgba(7, 48, 75, 0.08);
    border-radius: 9px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        0 7px 22px rgba(7, 48, 75, 0.06);

    font-size: 0.7rem;
    font-weight: 750;
}


.corporate-slide__area i {
    color: var(--brand-primary, #06a9da);

    font-size: 0.84rem;
}


/* =====================================================
   ANIMACIONES
===================================================== */

.brand-slide--corporate.is-active
.corporate-slide__eyebrow {
    animation:
        corporateContentEntrance
        0.7s ease-out both;
}


.brand-slide--corporate.is-active h1 {
    animation:
        corporateContentEntrance
        0.8s ease-out 0.1s both;
}


.brand-slide--corporate.is-active
.corporate-slide__content > p {
    animation:
        corporateContentEntrance
        0.8s ease-out 0.2s both;
}


.brand-slide--corporate.is-active
.corporate-slide__actions {
    animation:
        corporateContentEntrance
        0.8s ease-out 0.3s both;
}


.brand-slide--corporate.is-active
.corporate-slide__areas {
    animation:
        corporateContentEntrance
        0.8s ease-out 0.4s both;
}


@keyframes corporateContentEntrance {

    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


@keyframes corporatePulse {

    0%,
    100% {
        box-shadow:
            0 0 0 4px
            rgba(6, 169, 218, 0.10);
    }

    50% {
        box-shadow:
            0 0 0 8px
            rgba(6, 169, 218, 0.02);
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .brand-slide__container--corporate {
        padding:
            120px
            25px
            75px;
    }

    .corporate-slide__content {
        transform: translateY(-10px);
    }

    .corporate-slide__content::before {
        width: 115%;
        height: 120%;
    }

    .brand-slide--corporate h1 {
        font-size:
            clamp(2.5rem, 8vw, 4rem);
    }

}


/* =====================================================
   MÓVIL
===================================================== */

@media (max-width: 600px) {

    .brand-slide__overlay--corporate {
        background: rgba(255, 255, 255, 0.46);
    }

    .brand-slide__container--corporate {
        padding:
            105px
            18px
            65px;
    }

    .corporate-slide__content {
        width: 100%;

        transform: none;
    }

    .corporate-slide__content::before {
        width: 120%;
        height: 115%;

        background: radial-gradient(
            ellipse at center,
            rgba(255, 255, 255, 0.96) 0%,
            rgba(255, 255, 255, 0.80) 42%,
            rgba(255, 255, 255, 0.30) 75%,
            rgba(255, 255, 255, 0) 100%
        );
    }

    .corporate-slide__eyebrow {
        margin-bottom: 16px;

        font-size: 0.58rem;
    }

    .brand-slide--corporate h1 {
        font-size:
            clamp(2.2rem, 10vw, 3rem);

        line-height: 1.04;
    }

    .corporate-slide__content > p {
        max-width: 100%;

        margin-top: 22px;

        font-size: 0.94rem;
        line-height: 1.6;
    }

    .corporate-slide__actions {
        width: 100%;

        margin-top: 25px;

        flex-direction: column;
    }

    .corporate-slide__button {
        width: 100%;
    }

    .corporate-slide__areas {
        width: 100%;

        margin-top: 24px;

        display: grid;
        grid-template-columns: 1fr;
    }

    .corporate-slide__area {
        justify-content: center;
    }

}

/* =====================================================
   BOTÓN FLOTANTE WHATSAPP
===================================================== */

.whatsapp-float {
    position: fixed;

    right: 48px;
    left: auto;
    bottom: 58px;

    z-index: 1500;

    display: flex;
    align-items: center;
    flex-direction: row;
    gap: 12px;

    text-decoration: none;
}

/* =====================================================
   CÍRCULO PRINCIPAL
===================================================== */

.whatsapp-float__icon {
    position: relative;

    width: 62px;
    height: 62px;

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

    flex-shrink: 0;

    color: #ffffff;
    background: #25d366;

    border-radius: 50%;

    box-shadow:
        0 12px 30px rgba(7, 48, 75, 0.18),
        0 5px 15px rgba(37, 211, 102, 0.25);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}


/* Icono de WhatsApp */

.whatsapp-float__icon i {
    font-size: 1.8rem;
    line-height: 1;
}


/* Hover */

.whatsapp-float:hover .whatsapp-float__icon {
    transform: translateY(-4px) scale(1.04);

    background: #20bd5a;

    box-shadow:
        0 16px 35px rgba(7, 48, 75, 0.22),
        0 8px 22px rgba(37, 211, 102, 0.30);
}


/* =====================================================
   ANILLO ANIMADO
===================================================== */

.whatsapp-float__icon::before {
    content: "";

    position: absolute;

    inset: -6px;

    border: 2px solid rgba(37, 211, 102, 0.35);
    border-radius: 50%;

    animation: whatsappPulse 2.2s ease-out infinite;

    pointer-events: none;
}


@keyframes whatsappPulse {

    0% {
        opacity: 0.75;
        transform: scale(0.85);
    }

    70% {
        opacity: 0;
        transform: scale(1.3);
    }

    100% {
        opacity: 0;
        transform: scale(1.3);
    }

}


/* =====================================================
   MENSAJE LATERAL
===================================================== */

.whatsapp-float__tooltip {
    padding: 11px 15px;

    color: var(--brand-dark, #07304b);

    background: rgba(255, 255, 255, 0.96);

    border: 1px solid rgba(7, 48, 75, 0.08);
    border-radius: 10px;

    box-shadow:
        0 10px 30px rgba(7, 48, 75, 0.12);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    font-size: 0.78rem;
    font-weight: 750;

    white-space: nowrap;

    opacity: 0;
    visibility: hidden;

    transform: translateX(-10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}


/* Mostrar mensaje al pasar el cursor */

.whatsapp-float:hover .whatsapp-float__tooltip {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}


/* =====================================================
   ACCESIBILIDAD CON TECLADO
===================================================== */

.whatsapp-float:focus-visible {
    outline: none;
}


.whatsapp-float:focus-visible .whatsapp-float__icon {
    box-shadow:
        0 0 0 4px rgba(37, 211, 102, 0.20),
        0 12px 30px rgba(7, 48, 75, 0.18);
}


.whatsapp-float:focus-visible .whatsapp-float__tooltip {
    opacity: 1;
    visibility: visible;

    transform: translateX(0);
}


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

@media (max-width: 768px) {

    .whatsapp-float {
        right: 18px;
        left: auto;
        bottom: 18px;
    }

    .whatsapp-float__icon {
        width: 56px;
        height: 56px;
    }

    .whatsapp-float__icon i {
        font-size: 1.65rem;
    }

    .whatsapp-float__tooltip {
        display: none;
    }

}


/* =====================================================
   MÓVILES PEQUEÑOS
===================================================== */

@media (max-width: 480px) {

    .whatsapp-float {
        right: 14px;
        left: auto;
        bottom: 14px;
    }

    .whatsapp-float__icon {
        width: 52px;
        height: 52px;
    }

    .whatsapp-float__icon i {
        font-size: 1.5rem;
    }

}

.brand-slide__background {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    z-index: 0;
}

/* =====================================================
   NAVEGACIÓN — SHOWCASE DE MARCAS
   Componente global compartido entre las vistas
===================================================== */

.main-nav__brands-showcase {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(7, 48, 75, 0.07);
}

.main-nav__brands-showcase-track {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav__brand-chip {
    flex: 1;
    min-height: 56px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 169, 218, 0.035);
    border: 1px solid rgba(7, 48, 75, 0.05);
    border-radius: 12px;
    text-decoration: none;
    opacity: 0;
    transform: translateY(10px);
    transition:
        transform 0.28s ease,
        background-color 0.25s ease,
        opacity 0.35s ease;
}

.main-nav__dropdown.is-open .main-nav__brand-chip {
    opacity: 1;
    transform: translateY(0);
}

.main-nav__dropdown.is-open .main-nav__brand-chip:nth-child(1) {
    transition-delay: 0.05s;
}

.main-nav__dropdown.is-open .main-nav__brand-chip:nth-child(2) {
    transition-delay: 0.11s;
}

.main-nav__dropdown.is-open .main-nav__brand-chip:nth-child(3) {
    transition-delay: 0.17s;
}

.main-nav__brand-chip:hover {
    transform: translateY(-2px);
    background: rgba(6, 169, 218, 0.07);
}

.main-nav__brand-chip-logo {
    display: block;
    max-width: 100%;
    max-height: 26px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.72;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        filter 0.25s ease;
}

.main-nav__brand-chip:hover .main-nav__brand-chip-logo {
    opacity: 1;
    transform: scale(1.03);
    filter: saturate(1.05);
}

.main-nav__brand-chip-logo--goldberg {
    max-height: 19px;
}

.main-nav__brand-chip-logo--leistung {
    max-height: 23px;
}

.main-nav__brand-chip-logo--icanclave {
    max-height: 23px;
}

.main-nav__brands-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.main-nav__brand-logo-box {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: rgba(6, 169, 218, 0.045);
    border: 1px solid rgba(7, 48, 75, 0.055);
    border-radius: 9px;
}

.main-nav__brand-logo-img {
    display: block;
    width: auto;
    height: auto;
    max-width: 31px;
    max-height: 25px;
    object-fit: contain;
}

.main-nav__brand-logo-img--goldberg {
    max-width: 32px;
    max-height: 20px;
}

.main-nav__brand-logo-img--icanclave {
    max-width: 34px;
    max-height: 20px;
}

.main-nav__brand-logo-img--leistung {
    max-width: 31px;
    max-height: 23px;
}

.main-nav__mobile-brand-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 82px;
    max-height: 24px;
    object-fit: contain;
}

.main-nav__mobile-brand-logo--goldberg {
    max-width: 76px;
    max-height: 18px;
}

.main-nav__mobile-brand-logo--icanclave {
    max-width: 72px;
    max-height: 18px;
}

@media (max-width: 1100px) {
    .main-nav__brands-showcase {
        display: none;
    }
}

/* =====================================================
   NAVEGACIÓN — MARCAS EN MÓVIL
===================================================== */

.main-nav__mobile-brand-simple {
    min-height: 57px;
    padding: 8px 5px 8px 14px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-radius: 9px;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease;
}

.main-nav__mobile-brand-simple:hover {
    background: #f2f8fb;
    transform: translateX(2px);
}

.main-nav__mobile-brand-simple__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.main-nav__mobile-brand-simple__content strong {
    color: var(--brand-dark, #07304b);
    font-size: 0.78rem;
    font-weight: 750;
    line-height: 1.25;
}

.main-nav__mobile-brand-simple__content small {
    color: #7b8e99;
    font-size: 0.65rem;
    font-weight: 500;
    line-height: 1.35;
}

.main-nav__mobile-brand-simple > i {
    flex-shrink: 0;
    color: var(--brand-primary, #06a9da);
    font-size: 0.72rem;
    transition: transform 0.25s ease;
}

.main-nav__mobile-brand-simple:hover > i {
    transform: translateX(3px);
}

.main-nav__mobile-brands-all {
    min-height: 43px;
    margin-top: 7px;
    padding: 0 8px 0 14px !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    color: var(--brand-dark, #07304b) !important;
    background: rgba(6, 169, 218, 0.05);
    border-radius: 9px;
    font-size: 0.70rem !important;
    font-weight: 750 !important;
    text-decoration: none;
}

.main-nav__mobile-brands-all > i {
    color: var(--brand-primary, #06a9da);
}

/* =====================================================
   ANIMACIONES GENERALES AL HACER SCROLL
===================================================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.75s ease,
        transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.scroll-reveal--up {
    transform: translateY(30px);
}

.scroll-reveal--left {
    transform: translateX(-35px);
}

.scroll-reveal--right {
    transform: translateX(35px);
}

.scroll-reveal--scale {
    transform: translateY(18px) scale(0.97);
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.scroll-reveal-image {
    overflow: hidden;
}

.scroll-reveal-image img {
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal-image:not(.is-visible) img {
    transform: scale(1.035);
}

.scroll-reveal-image.is-visible img {
    transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal,
    .scroll-reveal-image,
    .scroll-reveal-image img {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

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

.site-footer {
    position: relative;
    overflow: hidden;
    background: var(--brand-dark, #07304b);
    color: #ffffff;
}

.site-footer__cta {
    padding: 0 25px;
    background: #f4f9fb;
}

.site-footer__cta-inner {
    width: min(1320px, 100%);
    margin: 0 auto;
    padding: 58px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    border-bottom: 1px solid rgba(7, 48, 75, 0.08);
}

.site-footer__cta-content {
    max-width: 720px;
}

.site-footer__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--brand-primary, #06a9da);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.site-footer__cta h2 {
    max-width: 700px;
    margin: 0 0 12px;
    color: var(--brand-dark, #07304b);
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 780;
    letter-spacing: -0.035em;
    line-height: 1.08;
}

.site-footer__cta p {
    max-width: 660px;
    margin: 0;
    color: #6c828e;
    font-size: 0.84rem;
    line-height: 1.7;
}

.site-footer__cta-button {
    min-height: 53px;
    padding: 0 21px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    background: var(--brand-dark, #07304b);
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 750;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.site-footer__cta-button:hover {
    color: #ffffff;
    background: var(--brand-primary, #06a9da);
    transform: translateY(-2px);
    box-shadow: 0 13px 30px rgba(7, 48, 75, 0.15);
}

.site-footer__main {
    position: relative;
    padding: 75px 25px 60px;
}

.site-footer__main::before {
    content: "";
    position: absolute;
    top: -230px;
    left: -180px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(6, 169, 218, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.site-footer__main::after {
    content: "";
    position: absolute;
    right: -200px;
    bottom: -300px;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(255, 255, 255, 0.045);
    border-radius: 50%;
    pointer-events: none;
}

.site-footer__container {
    position: relative;
    z-index: 2;
    width: min(1320px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns:
        minmax(280px, 1.6fr)
        repeat(3, minmax(150px, 0.75fr));
    gap: clamp(40px, 6vw, 90px);
}

.site-footer__brand {
    width: 100%;
    max-width: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.site-footer__brand-name {
    display: inline-block;
    margin-bottom: 22px;
    color: #ffffff;
    font-size: 1.55rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-decoration: none;
}

.site-footer__brand-name span {
    color: var(--brand-primary, #06a9da);
}

.site-footer__brand-logo {
    width: 100%;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.site-footer__brand-logo img {
    display: block;
    width: 290px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.site-footer__brand p {
    margin: 0;
    color: rgba(255, 255, 255, 0.60);
    font-size: 0.76rem;
    line-height: 1.75;
}

.site-footer__brand-badge {
    margin-top: 23px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.65rem;
    font-weight: 650;
}

.site-footer__brand-badge span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-primary, #06a9da);
    box-shadow: 0 0 0 5px rgba(6, 169, 218, 0.09);
}

.site-footer__socials {
    width: 100%;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.site-footer__socials a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
    font-size: 0.92rem;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.site-footer__socials a:hover {
    color: #ffffff;
    background: var(--brand-primary, #06a9da);
    border-color: var(--brand-primary, #06a9da);
    transform: translateY(-3px);
}

.site-footer__column-title {
    display: block;
    margin-bottom: 21px;
    color: rgba(255, 255, 255, 0.43);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.site-footer__links a {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color 0.25s ease,
        transform 0.25s ease;
}

.site-footer__links a:hover {
    color: var(--brand-primary, #06a9da);
    transform: translateX(3px);
}

.site-footer__links i {
    font-size: 0.65rem;
}

.site-footer__bottom {
    padding: 0 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.site-footer__bottom-inner {
    width: min(1320px, 100%);
    min-height: 72px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.site-footer__bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.40);
    font-size: 0.61rem;
}

.site-footer__bottom-links {
    display: flex;
    align-items: center;
    gap: 13px;
}

.site-footer__bottom-links a {
    color: rgba(255, 255, 255, 0.47);
    font-size: 0.61rem;
    text-decoration: none;
    transition: color 0.25s ease;
}

.site-footer__bottom-links a:hover {
    color: var(--brand-primary, #06a9da);
}

.site-footer__bottom-links span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
}

@media (max-width: 950px) {
    .site-footer__cta-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .site-footer__container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__brand {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .site-footer__cta {
        padding: 0 18px;
    }

    .site-footer__cta-inner {
        padding: 45px 0;
    }

    .site-footer__cta-button {
        width: 100%;
    }

    .site-footer__main {
        padding: 55px 20px 45px;
    }

    .site-footer__container {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .site-footer__column {
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .site-footer__bottom {
        padding: 0 20px;
    }

    .site-footer__bottom-inner {
        min-height: 100px;
        padding: 20px 0;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 12px;
    }
}

/* =====================================================
   CONTACTO — RECAPTCHA
===================================================== */

.contact-form__recaptcha {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

@media (max-width: 420px) {
    .contact-form__recaptcha {
        width: 304px;
        transform: scale(0.88);
        transform-origin: left top;
        margin-bottom: -8px;
    }
}

/* =====================================================
   CONTACTO — MENSAJE DE ÉXITO
===================================================== */

.contact-form-success {
    min-height: 460px;
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.contact-form-success__icon {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: var(--brand-primary, #06a9da);
    border-radius: 50%;
    font-size: 1.7rem;
    box-shadow: 0 0 0 10px rgba(6, 169, 218, 0.08);
}

.contact-form-success__eyebrow {
    margin-bottom: 10px;
    color: var(--brand-primary, #06a9da);
    font-size: 0.62rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.contact-form-success h3 {
    max-width: 520px;
    margin: 0 0 14px;
    color: var(--brand-dark, #07304b);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    font-weight: 780;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.contact-form-success p {
    max-width: 560px;
    margin: 0;
    color: #6f8490;
    font-size: 0.84rem;
    line-height: 1.75;
}

.contact-form-success__divider {
    width: 55px;
    height: 2px;
    margin: 27px 0;
    background: rgba(6, 169, 218, 0.25);
}

.contact-form-success__note {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7b909b;
    font-size: 0.67rem;
}

.contact-form-success__note i {
    color: var(--brand-primary, #06a9da);
}

.contact-form-success__button {
    min-height: 48px;
    margin-top: 27px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    color: var(--brand-dark, #07304b);
    background: #ffffff;
    border: 1px solid rgba(7, 48, 75, 0.12);
    border-radius: 10px;
    font: inherit;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.contact-form-success__button:hover {
    color: var(--brand-primary, #06a9da);
    border-color: rgba(6, 169, 218, 0.30);
    background: rgba(6, 169, 218, 0.035);
    transform: translateY(-2px);
}

.contact-form__status {
    display: none;
    margin-top: 18px;
}

.contact-form__status.is-visible {
    display: block;
}

.contact-form-message {
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 10px;
}

.contact-form-message--error {
    color: #98333c;
    background: rgba(220, 53, 69, 0.06);
    border: 1px solid rgba(220, 53, 69, 0.16);
}

.contact-form-message__icon {
    margin-top: 1px;
    font-size: 1rem;
}

.contact-form-message strong {
    display: block;
    margin-bottom: 3px;
    font-size: 0.72rem;
}

.contact-form-message p {
    margin: 0;
    font-size: 0.68rem;
    line-height: 1.55;
}

.contact-form__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.30);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: contactSpinner 0.7s linear infinite;
}

@keyframes contactSpinner {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 650px) {
    .contact-form-success {
        min-height: 390px;
        padding: 40px 18px;
    }

    .contact-form-success__icon {
        width: 62px;
        height: 62px;
        font-size: 1.45rem;
    }
}


/* =====================================================
   CORRECCIÓN MODAL CASOS - RESPONSIVE MÓVIL
===================================================== */

@media (max-width: 850px) {

    /* Modal */
    .case-modal {
        padding: 10px;
        align-items: center;
    }

    .case-modal__dialog {
        width: min(650px, 100%);
        height: auto;
        max-height: calc(100dvh - 20px);

        display: block;

        overflow-x: hidden;
        overflow-y: auto;

        border-radius: 18px;
    }


    /* =====================================================
       GALERÍA
    ===================================================== */

    .case-modal__media {
        width: 100%;

        height: auto;
        min-height: 0;

        display: flex;
        flex-direction: column;

        background: #edf4f7;
    }


    /* Imagen principal */

    .case-modal__viewer {
        width: 100%;

        height: clamp(300px, 46dvh, 430px);
        min-height: 300px;

        flex: none;

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

        overflow: hidden;

        background:
            linear-gradient(
                135deg,
                #edf4f7 0%,
                #e5eef3 100%
            );
    }


    .case-modal__viewer img,
    .case-modal__viewer video {
        width: 100%;
        height: 100%;

        object-fit: contain;
        object-position: center;

        display: block;
    }


    /* =====================================================
       MINIATURAS
    ===================================================== */

    .case-modal__thumbnails {
        width: 100%;

        min-height: 0;

        display: flex;
        gap: 9px;

        padding: 10px 12px 12px;

        overflow-x: auto;
        overflow-y: hidden;

        background: #ffffff;

        scrollbar-width: thin;
    }


    .case-modal__thumbnail {
        width: 66px;
        height: 54px;
        flex: 0 0 66px;

        border-radius: 8px;
    }


    /* =====================================================
       BOTÓN CERRAR
    ===================================================== */

    .case-modal__close {
        top: 12px;
        right: 12px;

        width: 42px;
        height: 42px;

        border-radius: 11px;

        background: rgba(255, 255, 255, 0.94);

        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }


    /* =====================================================
       CONTENIDO
    ===================================================== */

    .case-modal__content {
        padding: 25px 22px 28px;

        overflow: visible;
    }


    .case-modal__meta {
        gap: 6px;
        margin-bottom: 13px;
    }


    .case-modal__meta span {
        padding: 6px 9px;
        font-size: 0.64rem;
    }


    .case-modal__content h3 {
        max-width: 100%;

        font-size: clamp(1.65rem, 7vw, 2.15rem);
        line-height: 1.08;
        letter-spacing: -0.035em;
    }


    .case-modal__introduction {
        margin: 15px 0 22px;

        font-size: 0.86rem;
        line-height: 1.65;
    }


    /* =====================================================
       DETALLES
    ===================================================== */

    .case-modal__details {
        gap: 18px;
    }


    .case-modal__detail {
        grid-template-columns: 38px 1fr;
        gap: 12px;
    }


    .case-modal__detail-icon {
        width: 38px;
        height: 38px;
    }


    .case-modal__detail strong {
        font-size: 0.79rem;
    }


    .case-modal__detail p {
        font-size: 0.77rem;
        line-height: 1.6;
    }


    /* =====================================================
       PIE
    ===================================================== */

    .case-modal__footer {
        margin-top: 24px;
        padding-top: 19px;
    }
}



/* =====================================================
   CELULARES PEQUEÑOS
===================================================== */

@media (max-width: 550px) {

    .case-modal {
        padding: 6px;
    }


    .case-modal__dialog {
        width: 100%;
        max-height: calc(100dvh - 12px);

        border-radius: 16px;
    }


    /*
       Punto importante:
       ya NO dejamos la imagen en 210px.
    */
    .case-modal__viewer {
        height: clamp(300px, 44dvh, 380px);
        min-height: 300px;
    }


    .case-modal__media {
        height: auto;
        min-height: 0;
    }


    .case-modal__thumbnails {
        gap: 8px;
        padding: 9px 11px 11px;
    }


    .case-modal__thumbnail {
        width: 62px;
        height: 49px;
        flex-basis: 62px;
    }


    .case-modal__content {
        padding: 23px 19px 27px;
    }


    .case-modal__content h3 {
        font-size: clamp(1.55rem, 7.5vw, 1.95rem);
    }


    .case-modal__introduction {
        margin-bottom: 20px;
    }


    .case-modal__footer {
        flex-direction: column;
        align-items: stretch;

        gap: 14px;
    }


    .case-modal__contact {
        width: 100%;
    }


    /* Flechas un poco más discretas */

    .case-modal__media-arrow {
        width: 36px;
        height: 36px;
    }


    .case-modal__media-arrow--prev {
        left: 8px;
    }


    .case-modal__media-arrow--next {
        right: 8px;
    }

}