﻿
:root {
    --bg: #f7f8fc;
    --text: #202431;
    --muted: #5b6479;
    --primary: #ff7a1a;
    --primary-2: #ff9348;
    --border: #e9ecf3;
    --card: #ffffff;
    --shadow: 0 8px 24px rgba(0,0,0,.08);
    --max: 1280px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}
/* Cambiar a Manrope: reemplazar 'Outfit' por 'Manrope' debajo */
body {
    font: 400 16px/1.6 'Outfit', system-ui, sans-serif;
    color: var(--text);
    background: var(--bg)
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%;
    display: block;
    border-radius: 0
}

section[id] {
    scroll-margin-top: 84px
}




/* =========================
   HERO (B/N + zoom + parallax-ready)
   ========================= */

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
}

    .hero img.bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: -2;
        /* Estética blanco y negro “fuerte” */
        filter: grayscale(100%) contrast(150%) brightness(70%);
        /* Un poco de zoom para que no se vean bordes al mover */
        transform: translateY(0) scale(1.08);
        will-change: transform; /* hint para parallax */
    }

    /* Overlay con colores de marca (opcional, queda muy bien sobre B/N) */
    .hero::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, rgba(255,122,26,.35), rgba(255,147,72,.25));
        mix-blend-mode: multiply;
        z-index: -1;
    }

/* Contenido */
.hero__content {
    text-align: center;
    max-width: 900px;
    padding: 20px;
}

    .hero__content h1 {
        font-size: clamp(40px,6vw,72px);
        line-height: 1.07;
        margin-bottom: 18px;
        font-weight: 800;
        letter-spacing: -.3px;
    }

        .hero__content h1 span {
            background: linear-gradient(135deg,var(--primary),var(--primary-2));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }

    .hero__content p {
        font-size: clamp(18px,2vw,22px);
        margin-bottom: 28px;
        color: #f1f3f9;
        font-weight: 400;
    }

.hero__cta {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Accesibilidad: si el usuario prefiere menos movimiento, apagamos parallax */
@media (prefers-reduced-motion: reduce) {
    .hero img.bg {
        transform: none !important;
    }
}


.btn {
    padding: 12px 22px;
    border-radius: 28px;
    font-weight: 600;
    letter-spacing: .3px;
    cursor: pointer;
    border: none
}

.btn-primary {
    background: linear-gradient(135deg,var(--primary),var(--primary-2));
    color: #fff;
    box-shadow: var(--shadow)
}

.btn-ghost {
    background: rgba(255,255,255,.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,.35)
}

/* WRAPPER Y SECCIONES */
.wrap {
    max-width: var(--max);
    margin: auto;
    padding: 0 20px
}

.section {
    padding: 90px 0
}

    .section h2 {
        font-size: 32px;
        margin-bottom: 12px;
        color: var(--text);
        font-weight: 700
    }

    .section p.lead {
        max-width: 760px;
        color: var(--muted);
        margin-bottom: 34px;
        font-weight: 400
    }

/* TRUST (sectores) */
.trust {
    padding: 28px 0;
    background: #fff;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border)
}

.trust__row {
    display: grid;
    grid-template-columns: repeat(6,1fr);
    gap: 18px;
    opacity: .85;
    max-width: var(--max);
    margin: auto;
    padding: 0 20px
}

.trust__logo {
    height: 42px;
    border: 1px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafbff;
    font-weight: 600;
    color: #8a93a8
}

/* SOLUCIONES v5 */
.solutions-hero {
    padding: 90px 0;
    background: radial-gradient(1100px 520px at 80% -10%, rgba(255,122,26,.10), rgba(77,208,225,.08) 40%, transparent 70%), linear-gradient(180deg, #ffffff 0%, #f7f8fc 40%, #eef1f8 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.solutions-title {
    font-size: clamp(30px,3.6vw,44px);
    line-height: 1.15;
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px
}

.solutions-sub {
    color: var(--muted);
    max-width: 860px;
    margin: 0 auto 26px;
    text-align: center
}

.solutions-accent {
    display: inline-block;
    height: 8px;
    width: 140px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    margin: 14px auto 0
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin: 38px auto 0;
    max-width: 1100px
}

@media (max-width:1060px) {
    .solutions-grid {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width:720px) {
    .solutions-grid {
        grid-template-columns: 1fr;
        max-width: 560px
    }
}

.sol-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    text-decoration: none;
    color: inherit
}

    .sol-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 18px 38px rgba(0,0,0,.12);
        border-color: rgba(255,122,26,.55)
    }

.sol-media {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: #f3f5fb
}

    .sol-media img.bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1);
        filter: grayscale(100%) contrast(105%) brightness(90%);
        transition: transform .35s cubic-bezier(.2,.8,.2,1), filter .35s ease
    }

.sol-card:hover .sol-media img.bg {
    transform: scale(1.06)
}

.sol-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    background: transparent;
    /*border: 1px solid rgba(255,255,255,.7);*/
    /*box-shadow: 0 6px 14px rgba(0,0,0,.18);*/
    transition: transform .25s ease
}

    .sol-logo img {
        max-height: 88px;
        display: block
    }

.sol-card:hover .sol-logo {
    transform: translate(-50%,-52%)
}

.sol-body {
    padding: 16px 18px 22px
}

.sol-title {
    font-weight: 900;
    font-size: 20px;
    margin: 0 0 4px
}

.sol-desc {
    color: var(--muted);
    margin: 0
}
/* Hover reveal único */
.sol-card[data-variant="reveal"]:hover .sol-media img.bg {
    filter: grayscale(65%) contrast(108%) brightness(96%)
}



/* QUIÉNES */
.values {
    max-width: var(--max);
    margin: auto;
    padding: 0 20px
}

.vals {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 22px
}

.val {
    background: #fff;
    border: 1px solid var(--border);
    padding: 22px;
    box-shadow: var(--shadow)
}

@media (max-width:1060px) {
    .vals {
        grid-template-columns: repeat(2,1fr)
    }
}

@media (max-width:760px) {
    .vals {
        grid-template-columns: 1fr
    }
}

/* CTA */
.cta {
    max-width: var(--max);
    margin: auto;
    padding: 0 20px
}

.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px
}

.cta .card {
    background: #fff;
    border: 1px solid var(--border);
    padding: 22px;
    box-shadow: var(--shadow)
}

@media (max-width:1060px) {
    .cta-grid {
        grid-template-columns: 1fr
    }
}

/* ================================
   Contacto Modern - Formulario
================================= */

/* Ajustes generales */
.contacto-modern {
    padding: 3rem 0;
}

.contacto-head h2 {
    font-weight: 700;
    margin-bottom: .5rem;
}

.contacto-head p {
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Formulario */
.form-field {
    position: relative;
    display: flex;
    flex-direction: column;
}

    .form-field label {
        font-weight: 500;
        margin-bottom: .25rem;
        color: #333;
    }

    /* Inputs y textarea */
    .form-field input,
    .form-field textarea {
        border: none;
        border-bottom: 2px solid #ccc;
        background: transparent;
        padding: .5rem 0;
        font-size: 1rem;
        outline: none;
        transition: border-color .3s;
        width: 100%;
    }

        .form-field input:focus,
        .form-field textarea:focus {
            border-color: var(--primary);
        }

    /* Línea decorativa */
    .form-field .line {
        position: absolute;
        bottom: 0;
        left: 0;
        height: 2px;
        width: 0;
        background: var(--primary);
        transition: width .3s;
    }

    .form-field input:focus + .line,
    .form-field textarea:focus + .line {
        width: 100%;
    }

    /* Textarea */
    .form-field textarea {
        resize: vertical;
    }

/* Checkbox personalizado */
.check {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    cursor: pointer;
    font-size: .9rem;
    color: #333;
}

    .check input {
        display: none;
    }

.check-mark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    margin-top: 2px;
}

.check input:checked + .check-mark {
    background: var(--primary);
}

    .check input:checked + .check-mark::after {
        content: "";
        position: absolute;
        left: 4px;
        top: 0px;
        width: 6px;
        height: 12px;
        border: solid #fff;
        border-width: 0 2px 2px 0;
        transform: rotate(45deg);
    }

/* Hint */
.hint {
    font-size: .85rem;
    color: #777;
    margin-top: .5rem;
}

.hp {
    display: none;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .card {
        width: 90%;
        max-width: 400px;
    }

    .grupo-content {
        flex-direction: column;
        text-align: center;
    }

    .grupo-logo {
        margin-bottom: 20px;
    }
}


/* =========================
   Logos clientes — blanco sobre fondo claro
   ========================= */

/* Sección */
.logos-hero {
    padding: 2px 0;
    background: linear-gradient(180deg,#0f1220 0%, #11152a 60%, #0f1220 100%);
    border-top: none;
    border-bottom: none;
    color: #fff;
    text-align: center;
}

.logos-wrap {
    max-width: var(--max);
    margin: auto;
    padding: 0 20px;
}

.logos-title {
    font-size: clamp(36px,4vw,54px);
    font-weight: 800;
    letter-spacing: .5px;
    margin: 0 0 16px;
    color: #fff; /* título en blanco para máximo contraste */
}

.logos-sub {
    color: rgba(32,36,49,.75);
    margin: 0 auto 2px;
    max-width: 860px;
    font-size: 18px;
}

.logos-accent {
    display: inline-block;
    height: 6px;
    width: 160px;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    opacity: .95;
}

/* Carrusel */
.logos-viewport {
    position: relative;
    overflow: hidden;
    margin-top: 4px;
}

.logo-track {
    display: flex;
    gap: 60px;
    align-items: center;
    animation: marquee 28s linear infinite;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.logos-viewport:hover .logo-track {
    animation-play-state: paused;
}

/* Ítems de logo (sin recuadros) */
.logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 200px;
    padding: 10px;
    background: transparent;
    border: none;
}

/* PNG/SVG como <img> → forzar blanco por filtro */
.logo-img--white {
    max-height: 64px;
    max-width: 160px;
    object-fit: contain;
    /* Convierte cualquier logo en blanco puro */
    filter: brightness(0) invert(1) drop-shadow(0 1px 0 rgba(0,0,0,.06)); /* leve realce sobre fondo claro */

    opacity: .95;
    transition: transform .3s ease, opacity .3s ease, filter .3s ease;
}

.logo-item:hover .logo-img--white {
    transform: scale(1.05);
    opacity: 1;
}

/* SVG inline → blanco por CSS */
.logo-item svg {
    width: 140px;
    height: 48px;
    opacity: .95;
    transition: transform .3s ease, opacity .3s ease;
}

    .logo-item svg, .logo-item svg * {
        fill: #fff !important;
        stroke: #fff !important;
    }

.logo-item:hover svg {
    transform: scale(1.05);
    opacity: 1;
}

/* Responsive */
@media (max-width:760px) {
    .logo-item {
        width: 160px;
        height: 80px;
    }

    .logo-img--white {
        max-height: 50px;
    }

    .logo-item svg {
        width: 120px;
        height: 38px;
    }
}


/* Bloque de título + subtítulo reutilizable */
/* =========================
   Encabezado reutilizable (título + subtítulo)
   ========================= */
.section-head {
    text-align: center;
    margin: 40px auto 40px; /* espacio hacia abajo */
    max-width: var(--max);
    padding: 0 20px;
}

    .section-head h2 {
        font-size: clamp(30px, 3.6vw, 44px);
        line-height: 1.2;
        font-weight: 700;
        margin: 0 0 8px; /* compacto */
        color: var(--text);
    }

    .section-head .accent {
        display: inline-block;
        height: 6px;
        width: 120px;
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
        margin: 10px auto;
    }

    .section-head p {
        color: var(--muted);
        max-width: 780px;
        margin: 0 auto;
        font-size: 18px;
    }


/* Footer*/
.site-footer {
    background: #151515;
    position: relative;
    overflow: clip;
    border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-accent {
    height: 4px;
    background: linear-gradient(90deg,#F58634, #FFD200);
}

.footer-logo {
    max-height: 76px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.25));
}

/* Texto/enlaces */
.footer-title {
    font-weight: 700;
    letter-spacing: .2px;
    margin-bottom: .75rem;
    cursor: default;
}

.footer-list li {
    margin-bottom: .4rem;
}

.footer-link {
    color: rgba(255,255,255,.75); /* gris claro suave */
    text-decoration: none;
    position: relative;
    transition: color .2s ease;
}

    .footer-link:hover {
        color: #ffb84d; /* naranja suave, no chillón */
    }

    .footer-link:focus-visible {
        outline: 2px solid #ffb84d;
        outline-offset: 2px;
        border-radius: 4px;
    }

.text-secondary {
    color: rgba(255,255,255,.6) !important;
}

/* Chip de email + botón copiar */
/* Versión estable (desktop y mobile) */
.email-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .5rem .75rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    flex-wrap: nowrap; /* no envolver */
    white-space: nowrap; /* una sola línea */
    width: auto; /* 👈 shrink-to-fit */
    max-width: 100%; /* no desbordar contenedor */
    overflow: hidden; /* permite elipsis en el <a> */
}

.email-link {
    color: #fff;
    text-decoration: none;
    transition: opacity .2s ease;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 0 1 auto; /* 👈 NO se estira a ocupar todo */
    min-width: 0;
}

.btn-copy {
    flex: 0 0 auto; /* tamaño fijo, pegado al link */
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: .35rem .7rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    background: linear-gradient(90deg,#FFD200,#F58634);
    color: #1b1b1b;
    transition: transform .1s ease, opacity .2s ease;
}

/* Mobile: no fuerces 100% */
@media (max-width: 575.98px) {
    .email-chip {
        display: inline-flex !important;
        width: auto !important; /* 👈 evita ocupar el 100% */
        max-width: 100% !important; /* se corta con elipsis si hace falta */
        justify-content: flex-start !important;
    }
}

.email-link:hover {
    opacity: .85;
}


.btn-copy {
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: .35rem .7rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    background: linear-gradient(90deg,#FFD200,#F58634);
    color: #1b1b1b;
    transition: transform .1s ease, opacity .2s ease;
}

    .btn-copy:hover {
        opacity: .95;
    }

    .btn-copy:active {
        transform: scale(.98);
    }

    .btn-copy:focus-visible {
        outline: 2px solid #FFD200;
        outline-offset: 2px;
    }

/* Badges y suaves */
.bg-brand-soft {
    background: linear-gradient(90deg, rgba(245,134,52,.2), rgba(255,210,0,.2)) !important;
}

/* Línea inferior */
.footer-bottom {
    background: #0f0f0f;
    border-top: 1px solid rgba(255,255,255,.06);
}


/* Colapsables mobile (solo si querés ese comportamiento) */
@media (max-width: 767.98px) {
    .footer-title {
        cursor: pointer;
        margin-bottom: .25rem;
    }

    .footer-list, .footer-contact {
        display: none;
    }

        .footer-list.is-open, .footer-contact.is-open {
            display: block;
        }
}

/* Animaciones sutiles */
@media (prefers-reduced-motion: no-preference) {
    .footer-link::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -3px;
        height: 2px;
        width: 0;
        background: linear-gradient(90deg,#FFD200,#F58634);
        transition: width .2s ease;
    }

    .footer-link:hover::after {
        width: 100%;
    }
}


/* ======= Footer: Mobile tweaks ======= */
@media (max-width: 767.98px) {
    .site-footer .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .site-footer .row > [class*="col-"] {
        text-align: center;
    }

    /* Logo más proporcional y centrado */
    .footer-logo {
        max-height: 60px;
        margin: 0 auto;
        display: block;
    }

    /* Despejes y separadores suaves entre bloques */
    .site-footer .row > [class*="col-"] + [class*="col-"] {
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    /* Enlaces: tipografía y “tap targets” más cómodos */
    .footer-list li {
        margin-bottom: .65rem;
    }

    .footer-link {
        display: inline-block;
        padding: .25rem .5rem;
    }




    /* Títulos como botones (para colapsar) */
    .footer-title {
        display: inline-flex;
        align-items: center;
        gap: .5rem;
        padding: .25rem .5rem;
        border-radius: 8px;
        background: rgba(255,255,255,.04);
    }

        .footer-title::after {
            content: "▾";
            font-size: .9rem;
            opacity: .75;
            transition: transform .2s ease;
        }

        .footer-title.is-open::after {
            transform: rotate(180deg);
        }

    /* Por defecto oculto en mobile (si tenés muchos ítems) */
    .footer-list, .footer-contact {
        display: none;
    }

        .footer-list.is-open, .footer-contact.is-open {
            display: block;
            margin-top: .75rem;
        }

    /* Línea inferior con más aire */
    .footer-bottom {
        padding-top: .9rem !important;
        padding-bottom: .9rem !important;
    }
}

/* Opcional: botones de scroll más chicos en mobile si los usás */
/* ======= Footer: Mobile (todo visible) ======= */
@media (max-width: 767.98px) {
    .site-footer .container {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .site-footer .row > [class*="col-"] {
        text-align: center;
    }

    /* Logo centrado y proporcionado */
    .footer-logo {
        max-height: 60px;
        margin: 0 auto;
        display: block;
    }

    /* Separadores suaves entre bloques */
    .site-footer .row > [class*="col-"] + [class*="col-"] {
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,.08);
    }

    /* Enlaces más “tocables” */
    .footer-list li {
        margin-bottom: .65rem;
    }

    .footer-link {
        display: inline-block;
        padding: .25rem .5rem;
    }

    /* Títulos como texto normal (sin caret) */
    .footer-title {
        display: block;
        padding: 0;
        background: transparent;
        border-radius: 0;
    }

        .footer-title::after {
            content: none;
        }

    /* Mostrar SIEMPRE el contenido en mobile */
    .footer-list, .footer-contact {
        display: block !important;
        margin-top: .75rem;
    }

    .footer-bottom {
        padding-top: .9rem !important;
        padding-bottom: .9rem !important;
    }
}

@media (min-width: 768px) {
    .site-footer .col-md-4:last-child {
        text-align: right;
    }

        .site-footer .col-md-4:last-child .footer-logo {
            margin-left: auto; /* empuja el logo a la derecha */
            margin-right: 0;
        }
}


/* Botones flotantes de scroll */
/* Botones flotantes */
.btn-scroll {
    position: fixed;
    right: 18px;
    z-index: 1040;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    transition: transform .15s ease, opacity .2s ease;
    opacity: 0;
    pointer-events: none;
}

    .btn-scroll:hover {
        opacity: .9;
    }

    .btn-scroll:active {
        transform: scale(.95);
    }

    .btn-scroll:focus-visible {
        outline: 2px solid #FFD200; /* acento secundario */
        outline-offset: 2px;
    }

.btn-to-top {
    bottom: 78px;
}

.btn-to-bottom {
    bottom: 18px;
}

.btn-scroll.is-visible {
    opacity: 1;
    pointer-events: auto;
}


/*Navbar*/
.navbar-nav {
    align-items: center; /* default desktop */
}

/* En mobile (<992px) centramos los enlaces */
@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        width: 100%;
    }

        .navbar-nav .nav-item {
            flex: 0 0 100%; /* cada ítem ocupa toda la fila */
        }

        .navbar-nav .nav-link {
            justify-content: center;
            display: flex;
        }
}

.navbar-modern {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    transition: all .3s ease;
    border-image: linear-gradient(90deg, var(--primary), #ff9f5f) 1;
}

    .navbar-modern.shrink {
        padding-top: .4rem !important;
        padding-bottom: .4rem !important;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

/* Logo */
.logo-navbar {
    height: clamp(50px, 9vw, 72px);
    width: auto;
}

/* Links (desktop y hereda mobile) */
.navbar-modern .nav-link {
    font-weight: 600;
    color: #333;
    position: relative;
    transition: color .3s ease;
}

@media (min-width: 992px) {
    .navbar-modern .nav-link::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -4px;
        width: 0;
        height: 2px;
        background: var(--primary);
        transform: translateX(-50%);
        transition: width .25s ease;
        border-radius: 2px;
    }

    .navbar-modern .nav-link:hover::after,
    .navbar-modern .nav-link.active::after {
        width: 100%;
    }

    .navbar-modern .nav-link:hover,
    .navbar-modern .nav-link.active {
        color: var(--primary);
    }
}

/* Toggler en fondo claro */
.navbar-light .navbar-toggler {
    border: none;
}

.navbar-light .navbar-toggler-icon {
    filter: contrast(1.2);
}

/* CTA tamaño correcto */
.btn-nav-cta {
    padding: .45rem 1rem;
    border-radius: 999px;
}

/* ===== Ajustes MOBILE/TABLET (collapse estándar) ===== */
@media (max-width: 991.98px) {
    /* Fondo del panel colapsado (sin pantalla completa) */
    #navContent {
        background: rgba(255,255,255,0.98);
        backdrop-filter: saturate(140%) blur(6px);
        border-top: 1px solid rgba(0,0,0,.06);
        padding: .5rem 1rem 1rem;
    }

        /* Ítems con buen tap target y separadores suaves */
        #navContent .nav-link {
            padding: .75rem 0 !important;
            border-bottom: 1px solid rgba(0,0,0,.06);
        }

        #navContent .nav-item:last-child .nav-link {
            border-bottom: 0;
        }

    /* CTA no gigante, pero cómoda en mobile */
    .btn-nav-cta {
        display: inline-block;
        width: 100%;
        margin-top: .75rem;
    }
}

/* ===== Espaciado desktop para que no “se apriete” ===== */
@media (min-width: 992px) {
    .navbar-nav.gap-lg-3 > .nav-item {
        margin-left: .25rem;
        margin-right: .25rem;
    }

    .navbar-modern .nav-link {
        padding-left: .25rem;
        padding-right: .25rem;
    }
}

[id] {
    scroll-margin-top: 96px;
}

@media (max-width: 991.98px) {
    [id] {
        scroll-margin-top: 80px;
    }
}

/* Botones corporativos MDTPagos */
.btn-mdt {
    background-color: #EF7C2F;
    border-color: #EF7C2F;
    color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

    .btn-mdt:hover,
    .btn-mdt:focus {
        background-color: #d96722; /* un tono más oscuro para hover */
        border-color: #d96722;
        color: #fff;
    }

.btn-outline-mdt {
    color: #EF7C2F;
    border: 1px solid #EF7C2F;
    background: #fff;
}

    .btn-outline-mdt:hover {
        background-color: #EF7C2F;
        color: #fff;
    }




/* ====== Banda de logos Grupo Málaga ====== */
.gm-logos {
    --speed: 38s; /* velocidad del loop (menor = más rápido) */
    --gap: clamp(64px, 6.75vw, 135px); /* separación entre logos */
    --padY: clamp(64px, 12vh, 112px);
    padding-block: var(--padY);
    color: #fff;
    background: linear-gradient(180deg,#0f1220 0%, #11152a 60%, #0f1220 100%);
    border-top: none;
    border-bottom: none;
    text-align: center;
}

.gm-logos-viewport {
    overflow: hidden;
    position: relative;
    /* Suaviza bordes izquierdo/derecho con fade */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.gm-logos-track {
    display: flex;
    align-items: center;
    gap: var(--gap);
    width: max-content;
    animation: gm-logos-scroll var(--speed) linear infinite;
    will-change: transform;
}

.gm-logos:hover .gm-logos-track {
    animation-play-state: paused; /* pausa al hover */
}

.gm-logo-item {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    min-width: clamp(90px, 12vw, 180px);
}

.gm-logo-img {
    max-height: clamp(36px, 6.6vw, 66px);
    width: auto;
    /* Recolorea logos a blanco: ideal PNG con fondo transparente */
    filter: brightness(0) invert(1);
    opacity: .9;
    transition: transform .2s ease, opacity .2s ease;
}

    .gm-logo-img:hover {
        opacity: 1;
        transform: scale(1.04);
    }

/* Animación continua */
@keyframes gm-logos-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Respeta accesibilidad si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
    .gm-logos-track {
        animation-duration: 1s;
        animation-iteration-count: 1;
    }
}

/* Mobile: más compacto */
@media (max-width: 480px) {
    .gm-logos {
        --gap: clamp(16px, 6vw, 28px);
    }
}






/* ====== Banda de logos Grupo Málaga (versión clara) ====== */
.gm-logos-light {
    --speed: 38s; /* misma velocidad que la oscura */
    --gap: clamp(64px, 6.75vw, 135px); /* misma separación para comparar */
    --padY: clamp(64px, 12vh, 112px);
    padding-block: var(--padY);
    color: #111;
    background: linear-gradient(180deg, #f4f6f8 0%, #e9ecef 100%);
    border-top: none;
    border-bottom: none;
    text-align: center;
}

.gm-logos-light-viewport {
    overflow: hidden;
    position: relative;
    /* mismo fade lateral */
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.gm-logos-light-track {
    display: flex;
    align-items: center;
    gap: var(--gap);
    width: max-content;
    animation: gm-logos-scroll var(--speed) linear infinite; /* reutiliza el keyframes existente */
    will-change: transform;
}

.gm-logos-light:hover .gm-logos-light-track {
    animation-play-state: paused;
}

.gm-logo-light-item {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    min-width: clamp(90px, 12vw, 180px);
}

.gm-logo-light-img {
    max-height: clamp(36px, 6.6vw, 66px);
    width: auto;
    /* SIN filtro: respeta colores originales del logo */
    opacity: .95;
    transition: transform .2s ease, opacity .2s ease, filter .2s ease;
}

    .gm-logo-light-img:hover {
        opacity: 1;
        transform: scale(1.04);
    }

/* Accesibilidad: reduce motion */
@media (prefers-reduced-motion: reduce) {
    .gm-logos-light-track {
        animation-duration: 1s;
        animation-iteration-count: 1;
    }
}

/* Mobile: más compacto, igual que la oscura */
@media (max-width: 480px) {
    .gm-logos-light {
        --gap: clamp(16px, 6vw, 28px);
    }
}



/* ================================
   MDT-BIO PAGE STYLES (SCOPED)
================================= */

.mdt-bio-page .hero-bio {
    background: url('../img/mdt-bio/hero2-mdt-bio.png') center/cover no-repeat;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.mdt-bio-page .hero-bio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.mdt-bio-page .hero-bio .container {
    position: relative;
    z-index: 2;
}

.mdt-bio-page .hero-bio h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.mdt-bio-page .hero-bio .lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.mdt-bio-page .feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
}

    .mdt-bio-page .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 48px rgba(255,122,26,0.15);
        border-color: var(--primary);
    }

.mdt-bio-page .feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.mdt-bio-page .benefits-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    padding: 4rem 0;
}

.mdt-bio-page .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.mdt-bio-page .benefit-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.mdt-bio-page .stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    padding: 4rem 0;
}

.mdt-bio-page .stat-item {
    text-align: center;
    padding: 1rem;
}

.mdt-bio-page .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mdt-bio-page .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.mdt-bio-page .cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

    .mdt-bio-page .cta-section h2 {
        color: white;
        margin-bottom: 1.5rem;
    }

.mdt-bio-page .btn-bio {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .mdt-bio-page .btn-bio:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255,122,26,0.4);
        color: white;
    }

.mdt-bio-page .solution-overview {
    background: white;
    padding: 4rem 0;
}

.mdt-bio-page .overview-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

    .mdt-bio-page .overview-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
    }

    .mdt-bio-page .overview-card h3 {
        color: var(--text);
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .mdt-bio-page .overview-card p {
        color: var(--muted);
        line-height: 1.7;
        margin-bottom: 0;
    }

.mdt-bio-page .hardware-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    padding: 4rem 0;
}

.mdt-bio-page .hardware-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

    .mdt-bio-page .hardware-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
    }

.mdt-bio-page .device-image-placeholder {
    width: 100%;
    max-width: 400px;
    height: 300px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    border: 2px dashed var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
    color: var(--muted);
    font-size: 1.1rem;
    text-align: center;
}

.mdt-bio-page .platforms-section {
    background: white;
    padding: 4rem 0;
}

.mdt-bio-page .platform-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .mdt-bio-page .platform-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
    }

    .mdt-bio-page .platform-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 48px rgba(255,122,26,0.15);
        border-color: var(--primary);
    }

.mdt-bio-page .platform-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mdt-bio-page .platform-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mdt-bio-page .platform-title h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.mdt-bio-page .platform-subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mdt-bio-page .platform-content p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mdt-bio-page .platform-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mdt-bio-page .platform-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

    .mdt-bio-page .platform-feature i {
        color: var(--primary);
        font-size: 1.1rem;
    }

    .mdt-bio-page .platform-feature span {
        color: var(--text);
        font-weight: 500;
    }

.mdt-bio-page .device-image {
    width: 100%;
    max-width: 470px;
    margin: 2rem auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

    .mdt-bio-page .device-image:hover {
        transform: translateY(-4px);
        box-shadow: 0 4px 8px rgba(255,122,26,0.2);
    }

    .mdt-bio-page .device-image img {
        width: 100%;
        height: auto;
        border-radius: 20px;
        display: block;
    }

@media (max-width: 768px) {
    .mdt-bio-page .hero-bio {
        min-height: 50vh;
        text-align: center;
    }

    .mdt-bio-page .feature-card {
        margin-bottom: 2rem;
    }

    .mdt-bio-page .stat-number {
        font-size: 2.5rem;
    }

    .mdt-bio-page .device-image {
        max-width: 300px;
        margin: 1.5rem auto;
        border-radius: 16px;
    }

        .mdt-bio-page .device-image img {
            border-radius: 16px;
        }
}



/* ================================
   MDT-CORE PAGE STYLES (SCOPED)
================================= */

.mdt-core-page .hero-core {
    background: url('../img/mdt-core/hero-mdt-core.png');
    background-size: cover;
    background-position: center;
    min-height: 65vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.mdt-core-page .hero-core::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    z-index: 1;
}

.mdt-core-page .hero-core .container {
    position: relative;
    z-index: 2;
}

.mdt-core-page .hero-core h1 {
    font-size: clamp(2.6rem, 5.5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: 0.3px;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.mdt-core-page .hero-core .lead {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
}

.mdt-core-page .pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    font-weight: 600;
    font-size: 0.95rem;
}

.mdt-core-page .section-alt {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    padding: 4rem 0;
}

.mdt-core-page .section {
    background: #fff;
    padding: 4rem 0;
}

.mdt-core-page .service-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    border: 1px solid var(--border);
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .mdt-core-page .service-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 44px rgba(255,122,26,0.18);
        border-color: var(--primary);
    }

.mdt-core-page .service-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.mdt-core-page .divider-accent {
    height: 4px;
    width: 80px;
    margin: 0.75rem auto 0;
    background: linear-gradient(90deg, var(--primary), var(--primary-2));
    border-radius: 999px;
}

.mdt-core-page .process-step {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fb 100%);
    border-radius: 14px;
    border-left: 4px solid var(--primary);
}

.mdt-core-page .process-badge {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    font-weight: 700;
}

.mdt-core-page .cta-core {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.mdt-core-page .btn-core {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: transform .25s ease, box-shadow .25s ease;
    text-decoration: none;
    display: inline-block;
}

    .mdt-core-page .btn-core:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255,122,26,0.4);
        color: #fff;
    }

@media (max-width: 768px) {
    .mdt-core-page .hero-core {
        min-height: 55vh;
        text-align: center;
    }

    .mdt-core-page .service-card {
        margin-bottom: 1rem;
    }
}

/* Forzar centrado cuando estilos globales lo sobreescriben */
.mdt-core-page .core-center {
    text-align: center !important;
}



/* ================================
   MDT-DOCUMENTOS PAGE STYLES (SCOPED)
================================= */

/* Estilos específicos para MDT Documentos */
.mdt-documentos-page .hero-documentos {
    background: url('../img/mdt-documentos/hero-documentos.png');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

.mdt-documentos-page .hero-documentos::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.mdt-documentos-page .hero-documentos .container {
    position: relative;
    z-index: 2;
}

.mdt-documentos-page .hero-documentos h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.mdt-documentos-page .hero-documentos .lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.mdt-documentos-page .feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
}

    .mdt-documentos-page .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 6px 12px rgba(255,122,26,0.15);
        border-color: var(--primary);
    }

.mdt-documentos-page .feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.mdt-documentos-page .benefits-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    padding: 4rem 0;
}

.mdt-documentos-page .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.mdt-documentos-page .benefit-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.mdt-documentos-page .stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    padding: 4rem 0;
}

.mdt-documentos-page .stat-item {
    text-align: center;
    padding: 1rem;
}

.mdt-documentos-page .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mdt-documentos-page .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.mdt-documentos-page .cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

    .mdt-documentos-page .cta-section h2 {
        color: white;
        margin-bottom: 1.5rem;
    }

.mdt-documentos-page .btn-documentos {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .mdt-documentos-page .btn-documentos:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 12px rgba(255,122,26,0.4);
        color: white;
    }

.mdt-documentos-page .solution-overview {
    background: white;
    padding: 4rem 0;
}

.mdt-documentos-page .overview-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

    .mdt-documentos-page .overview-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
    }

    .mdt-documentos-page .overview-card h3 {
        color: var(--text);
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .mdt-documentos-page .overview-card p {
        color: var(--muted);
        line-height: 1.7;
        margin-bottom: 0;
    }

.mdt-documentos-page .pixelar-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    padding: 4rem 0;
}

.mdt-documentos-page .pixelar-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 8px 12px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
}

    .mdt-documentos-page .pixelar-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
    }

.mdt-documentos-page .pixelar-logo {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: white;
    font-size: 3rem;
    font-weight: 700;
}

.mdt-documentos-page .compliance-section {
    background: #f8fafc;
    padding: 5rem 0;
}

.mdt-documentos-page .compliance-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e6e8eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    height: 100%;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .mdt-documentos-page .compliance-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    }

.mdt-documentos-page .compliance-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.mdt-documentos-page .compliance-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eef2f7 0%, #f7f9fc 100%);
    border: 1px solid #e6e8eb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.mdt-documentos-page .compliance-title h4 {
    color: var(--text);
    margin-bottom: 0.25rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.mdt-documentos-page .compliance-subtitle {
    color: #8b95a1;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.mdt-documentos-page .compliance-content p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.mdt-documentos-page .compliance-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mdt-documentos-page .compliance-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    border: 1px solid #eef1f4;
    border-radius: 10px;
}

    .mdt-documentos-page .compliance-feature i {
        color: var(--primary);
        font-size: 1rem;
    }

    .mdt-documentos-page .compliance-feature span {
        color: var(--text);
        font-weight: 500;
    }

.mdt-documentos-page .pixelar-image-container {
    width: 100%;
    max-width: 500px;
    margin: 2rem auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

.mdt-documentos-page .pixelar-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.mdt-documentos-page .pixelar-image:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .mdt-documentos-page .hero-documentos {
        min-height: 50vh;
        text-align: center;
    }

    .mdt-documentos-page .feature-card {
        margin-bottom: 2rem;
    }

    .mdt-documentos-page .stat-number {
        font-size: 2.5rem;
    }
}



/* ================================
   MDT-SALUD PAGE STYLES (SCOPED)
================================= */

.mdt-salud-page .hero-salud {
    background: linear-gradient(135deg, rgba(52, 73, 94, 0.85) 0%, rgba(44, 62, 80, 0.75) 50%, rgba(26, 188, 156, 0.1) 100%), url('../img/mdt-salud/medicos-mdtsalud.png');
    background-size: cover;
    background-position: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.mdt-salud-page .hero-salud::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(26, 188, 156, 0.15) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(255, 122, 26, 0.1) 0%, transparent 50%), linear-gradient(45deg, rgba(52, 73, 94, 0.4) 0%, transparent 30%, transparent 70%, rgba(44, 62, 80, 0.4) 100%);
    z-index: 1;
}

.mdt-salud-page .hero-salud::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.02"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.04"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    z-index: 2;
}

.mdt-salud-page .hero-salud .container {
    position: relative;
    z-index: 3;
}

.mdt-salud-page .hero-salud h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.mdt-salud-page .hero-salud .lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.mdt-salud-page .feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
}

    .mdt-salud-page .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 48px rgba(255,122,26,0.15);
        border-color: var(--primary);
    }

.mdt-salud-page .feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.mdt-salud-page .benefits-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    padding: 1.8rem 0;
}

.mdt-salud-page .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.mdt-salud-page .benefit-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.mdt-salud-page .stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    padding: 4rem 0;
}

.mdt-salud-page .stat-item {
    text-align: center;
    padding: 1rem;
}

.mdt-salud-page .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mdt-salud-page .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.mdt-salud-page .cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

    .mdt-salud-page .cta-section h2 {
        color: white;
        margin-bottom: 1.5rem;
    }

.mdt-salud-page .btn-salud {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .mdt-salud-page .btn-salud:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(255,122,26,0.4);
        color: white;
    }

.mdt-salud-page .solution-overview {
    background: white;
    padding: 4rem 0;
}

.mdt-salud-page .overview-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

    .mdt-salud-page .overview-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
    }

    .mdt-salud-page .overview-card h3 {
        color: var(--text);
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .mdt-salud-page .overview-card p {
        color: var(--muted);
        line-height: 1.7;
        margin-bottom: 0;
    }

@media (max-width: 768px) {
    .mdt-salud-page .hero-salud {
        min-height: 50vh;
        text-align: center;
    }

    .mdt-salud-page .feature-card {
        margin-bottom: 2rem;
    }

    .mdt-salud-page .stat-number {
        font-size: 2.5rem;
    }
}



/* ================================
   MDT-WEB PAGE STYLES (SCOPED)
================================= */

.mdt-web-page .hero-web {
    background: url('../img/mdt-web/hero-mdt-web.png');
    background-size: cover;
    background-position: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
}

    .mdt-web-page .hero-web::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.3);
        z-index: 1;
    }

    .mdt-web-page .hero-web .container {
        position: relative;
        z-index: 2;
    }

    .mdt-web-page .hero-web h1 {
        font-size: clamp(2.5rem, 5vw, 4rem);
        font-weight: 700;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    }

    .mdt-web-page .hero-web .lead {
        font-size: clamp(1.1rem, 2vw, 1.3rem);
        margin-bottom: 2rem;
        text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    }

.mdt-web-page .feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 12px rgba(0,0,0,0.1);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    height: 100%;
}

    .mdt-web-page .feature-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 12px rgba(255,122,26,0.15);
        border-color: var(--primary);
    }

.mdt-web-page .feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.8rem;
}

.mdt-web-page .benefits-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    padding: 4rem 0;
}

.mdt-web-page .benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
}

.mdt-web-page .benefit-icon {
    color: var(--primary);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.mdt-web-page .stats-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    padding: 4rem 0;
}

.mdt-web-page .stat-item {
    text-align: center;
    padding: 1rem;
}

.mdt-web-page .stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.mdt-web-page .stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.mdt-web-page .cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

    .mdt-web-page .cta-section h2 {
        color: white;
        margin-bottom: 1.5rem;
    }

.mdt-web-page .btn-web {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .mdt-web-page .btn-web:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 12px rgba(255,122,26,0.4);
        color: white;
    }

.mdt-web-page .solution-overview {
    background: white;
    padding: 4rem 0;
}

.mdt-web-page .overview-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

    .mdt-web-page .overview-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
    }

    .mdt-web-page .overview-card h3 {
        color: var(--text);
        margin-bottom: 1rem;
        font-weight: 700;
    }

    .mdt-web-page .overview-card p {
        color: var(--muted);
        line-height: 1.7;
        margin-bottom: 0;
    }

.mdt-web-page .overview-image-container {
    position: relative;
}

.mdt-web-page .overview-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.mdt-web-page .overview-image-container img:hover {
    transform: translateY(-5px);
}

.mdt-web-page .benefits-image-container {
    position: relative;
    margin-top: 1rem;
}

.mdt-web-page .benefits-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mdt-web-page .benefits-image-container img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.mdt-web-page .image-caption {
    margin-top: 1rem;
    padding: 0.75rem;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,122,26,0.1);
}

.mdt-web-page .solutions-section {
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    padding: 4rem 0;
}

.mdt-web-page .solution-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid var(--border);
    box-shadow: 0 8px 12px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

    .mdt-web-page .solution-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
    }

    .mdt-web-page .solution-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 8px 12px rgba(255,122,26,0.15);
        border-color: var(--primary);
    }

.mdt-web-page .solution-header {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.mdt-web-page .solution-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mdt-web-page .solution-title h4 {
    color: var(--text);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.mdt-web-page .solution-subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mdt-web-page .solution-content p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.mdt-web-page .solution-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mdt-web-page .solution-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef1f8 100%);
    border-radius: 12px;
    border-left: 3px solid var(--primary);
}

    .mdt-web-page .solution-feature i {
        color: var(--primary);
        font-size: 1.1rem;
    }

    .mdt-web-page .solution-feature span {
        color: var(--text);
        font-weight: 500;
    }

.mdt-web-page .services-section {
    background: white;
    padding: 4rem 0;
}

/* NUEVO DISEÑO ALTERNATIVO - Servicios Adicionales Moderna */
.mdt-web-page .modern-services-container {
    position: relative;
    background: linear-gradient(135deg, #fafbfc 0%, #f1f3f8 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin: 0 -1rem;
    overflow: hidden;
}

/* Asegurar transiciones completamente fluidas */
.mdt-web-page * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.mdt-web-page .modern-services-header {
    text-align: center;
    margin-bottom: 3rem;
}

    .mdt-web-page .modern-services-header h2 {
        font-size: 2.5rem;
        font-weight: 800;
        margin-bottom: 1rem;
    }

    .mdt-web-page .modern-services-header p {
        font-size: 1.1rem;
        color: var(--muted);
        max-width: 600px;
        margin: 0 auto;
    }

.mdt-web-page .modern-services-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.mdt-web-page .modern-timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--primary-2));
    transform: translateX(-50%);
    border-radius: 2px;
}

.mdt-web-page .modern-service-block {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

    .mdt-web-page .modern-service-block:nth-child(even) {
        flex-direction: row-reverse;
    }

        .mdt-web-page .modern-service-block:nth-child(even) .modern-service-content {
            text-align: right;
        }

.mdt-web-page .modern-service-connector {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    border: 4px solid #fff;
    box-shadow: 0 0 0 4px rgba(255,122,26,0.1), 0 2px 8px rgba(0,0,0,0.1);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.mdt-web-page .modern-service-block:hover .modern-service-connector {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 0 6px rgba(255,122,26,0.15), 0 4px 12px rgba(0,0,0,0.15);
}

.mdt-web-page .modern-service-content {
    width: 100%;
    max-width: 600px;
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 12px rgba(0,0,0,0.08), 0 2px 8px rgba(255,122,26,0.05);
    border: 1px solid rgba(255,122,26,0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .mdt-web-page .modern-service-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), var(--primary-2));
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

.mdt-web-page .modern-service-block:hover .modern-service-content::before {
    transform: scaleX(1);
}

.mdt-web-page .modern-service-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 9px 18px rgba(255,122,26,0.15), 0 5px 15px rgba(0,0,0,0.08);
    border-color: rgba(255,122,26,0.15);
}

.mdt-web-page .modern-service-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.mdt-web-page .modern-service-subtitle {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.mdt-web-page .modern-service-description {
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.mdt-web-page .modern-service-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.mdt-web-page .modern-service-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, rgba(255,122,26,0.02), rgba(255,147,72,0.01));
    border-radius: 8px;
    border-left: 3px solid var(--primary);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

    .mdt-web-page .modern-service-feature::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,122,26,0.05), transparent);
        transition: left 0.5s ease;
    }

    .mdt-web-page .modern-service-feature:hover::before {
        left: 100%;
    }

    .mdt-web-page .modern-service-feature:hover {
        background: linear-gradient(135deg, rgba(255,122,26,0.08), rgba(255,147,72,0.05));
        transform: translateX(5px);
        box-shadow: 0 4px 12px rgba(255,122,26,0.1);
    }

    .mdt-web-page .modern-service-feature i {
        color: var(--primary);
        font-size: 1.1rem;
    }

    .mdt-web-page .modern-service-feature span {
        font-size: 0.9rem;
        font-weight: 500;
        color: var(--text);
    }

/* Responsive Design */
@media (max-width: 992px) {
    .mdt-web-page .modern-services-container {
        margin: 0;
        padding: 2rem 1rem;
        border-radius: 0;
        transition: all 0.3s ease;
    }

    .mdt-web-page .modern-services-timeline {
        position: static;
    }

    .mdt-web-page .modern-timeline-line {
        display: none;
    }

    .mdt-web-page .modern-service-block {
        flex-direction: column !important;
        text-align: center !important;
        margin-bottom: 3rem;
        transition: all 0.3s ease;
    }

        .mdt-web-page .modern-service-block:nth-child(even) .modern-service-content {
            text-align: center !important;
        }

    .mdt-web-page .modern-service-connector {
        display: none;
    }

    .mdt-web-page .modern-service-features {
        grid-template-columns: 1fr;
        transition: all 0.3s ease;
    }

    .mdt-web-page .modern-service-content {
        max-width: 500px;
        margin: 0 auto;
        transition: all 0.3s ease;
    }

        .mdt-web-page .modern-service-content:hover {
            transform: none !important;
        }

    .mdt-web-page .modern-service-feature:hover {
        transform: none !important;
    }
}

@media (max-width: 992px) {
    .mdt-web-page .benefits-image-container img {
        max-width: 90%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .mdt-web-page .modern-services-header h2 {
        font-size: 2rem;
        transition: all 0.3s ease;
    }

    .mdt-web-page .modern-service-content {
        padding: 1.5rem;
        transition: all 0.3s ease;
    }
}

@media (max-width: 768px) {
    .mdt-web-page .hero-web {
        min-height: 50vh;
        text-align: center;
    }

    .mdt-web-page .feature-card {
        margin-bottom: 2rem;
    }

    .mdt-web-page .stat-number {
        font-size: 2.5rem;
    }

    .mdt-web-page .overview-image-container {
        margin-top: 2rem;
    }

    .mdt-web-page .overview-image-container img {
        max-width: 80%;
        margin: 0 auto;
    }

    .mdt-web-page .benefits-image-container {
        margin-top: 2rem;
    }

    .mdt-web-page .benefits-image-container img {
        max-width: 85%;
        margin: 0 auto;
    }

    .mdt-web-page .image-caption {
        margin-top: 1.5rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 300px;
    }
}



/* ================================
   QUIÉNES SOMOS PAGE STYLES (SCOPED)
================================= */

/* Estilos específicos para Quiénes Somos */
.quienes-somos-page .hero-about {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(32, 36, 49, 0.9) 0%, rgba(245, 134, 52, 0.1) 100%);
    text-align: center;
}

.quienes-somos-page .hero__content {
    width: 100%;
    max-width: 1000px;
    padding: 0 20px;
}

.quienes-somos-page .hero-about::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../img/quienes-somos/hero-quienes-somos.png') no-repeat center/cover;
    filter: grayscale(20%) contrast(110%) brightness(40%);
    z-index: -1;
}

.quienes-somos-page .about-mission {
    background: linear-gradient(135deg, #f8f9fc 0%, #ffffff 100%);
    padding: 100px 0;
}

.quienes-somos-page .mission-card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    padding-bottom: 1rem;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08);
    border: 1px solid rgba(245,134,52,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 450px;
}

    .quienes-somos-page .mission-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    }

    .quienes-somos-page .mission-card .card-content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .quienes-somos-page .mission-card h2.h3 {
        flex-shrink: 0;
        margin-bottom: 2rem;
        font-size: 2.5rem;
        font-weight: 700;
    }

    .quienes-somos-page .mission-card p.lead {
        flex: 1;
        margin-bottom: 0;
        font-size: 1.15rem;
        line-height: 1.8;
    }

.quienes-somos-page .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quienes-somos-page .value-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #ff7a1a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

    .quienes-somos-page .value-item:hover {
        transform: translateY(-3px);
    }

.quienes-somos-page .value-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255,122,26,0.1), rgba(255,147,72,0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #ff7a1a;
}

.quienes-somos-page .about-stats {
    background: linear-gradient(135deg, #202431 0%, #2a2f3d 100%);
    color: white;
    padding: 80px 0;
}

.quienes-somos-page .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ff7a1a;
    margin-bottom: 0.5rem;
}

.quienes-somos-page .stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}

.quienes-somos-page .about-approach {
    padding: 100px 0;
    background: #fff;
}

.quienes-somos-page .approach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.quienes-somos-page .approach-text h3 {
    color: #202431;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.quienes-somos-page .approach-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

    .quienes-somos-page .approach-image img {
        width: 100%;
        height: 400px;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .quienes-somos-page .approach-image:hover img {
        transform: scale(1.05);
    }

.quienes-somos-page .cta-section {
    background: linear-gradient(135deg, #ff7a1a 0%, #ff9348 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

    .quienes-somos-page .cta-section h2 {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

    .quienes-somos-page .cta-section p {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.9;
    }

@media (max-width: 768px) {
    .quienes-somos-page .approach-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .quienes-somos-page .mission-card {
        padding: 2rem;
    }

    .quienes-somos-page .hero-about {
        min-height: 50vh;
        padding: 60px 20px;
    }
}
