  /* =====================================================
           CONFIGURACIÓN GENERAL
        ===================================================== */

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family: 'Segoe UI', sans-serif;
            background: #F5F5F5;
            color: #333;
        }


        /* =====================================================
           NAV
        ===================================================== */

        nav {
            background: white;

            padding: 5px 30px;

            display: flex;

            align-items: center;

            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);

            position: relative;

            z-index: 1000;
        }


        /* =====================================================
           CONTENEDOR DEL MENÚ
        ===================================================== */

        .menu-container {

            width: 100%;

            display: flex;

            align-items: center;

            justify-content: space-between;

            position: relative;
        }


        /* =====================================================
           LOGO COMO BOTÓN
        ===================================================== */

        .logo-btn {

            background: transparent;

            border: none;

            padding: 0;

            margin: 0;

            cursor: pointer;

            display: flex;

            align-items: center;

            transition: transform 0.3s ease;
        }


        .logo {

            height: 150px;

            width: auto;

            object-fit: contain;

            display: block;
        }


        .logo-btn:hover {

            transform: scale(1.04);

        }


        /* =====================================================
           MI CUENTA
        ===================================================== */

        .cuenta-btn {

            display: inline-flex;

            align-items: center;

            justify-content: center;

            gap: 8px;

            background: #1E3A8A;

            color: white;

            padding: 11px 20px;

            border-radius: 9px;

            text-decoration: none;

            font-size: 14px;

            font-weight: 700;

            letter-spacing: 0.3px;

            transition: 0.3s ease;

            box-shadow:
                0 4px 12px rgba(30, 58, 138, 0.20);
        }


        .cuenta-btn:hover {

            background: #7C3AED;

            transform: translateY(-2px);

            box-shadow:
                0 7px 18px rgba(124, 58, 237, 0.25);
        }


        /* =====================================================
           MENÚ LATERAL PREMIUM
        ===================================================== */

        .menu-backdrop {
            position: fixed;
            inset: 0;
            background: rgba(15, 23, 42, 0.48);
            backdrop-filter: blur(3px);
            opacity: 0;
            visibility: hidden;
            transition: 0.3s ease;
            z-index: 1990;
        }

        .menu-backdrop.show {
            opacity: 1;
            visibility: visible;
        }

        .dropdown-content {
            position: fixed;
            top: 0;
            left: 0;
            width: min(360px, 88vw);
            height: 100vh;
            background: rgba(255,255,255,0.98);
            box-shadow: 18px 0 55px rgba(15,23,42,0.22);
            border-right: 1px solid rgba(124,58,237,0.10);
            z-index: 2000;
            transform: translateX(-105%);
            transition: transform 0.35s cubic-bezier(.2,.8,.2,1);
            overflow-y: auto;
        }

        .dropdown-content.show {
            display: block;
            transform: translateX(0);
        }

        .menu-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 28px 24px 18px;
            border-bottom: 1px solid #EEF2F7;
        }

        .menu-titulo {
            color: #7C3AED;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 3px;
        }

        .menu-close {
            width: 38px;
            height: 38px;
            border: 0;
            border-radius: 50%;
            background: #F3F0FF;
            color: #1E3A8A;
            font-size: 22px;
            cursor: pointer;
            transition: 0.25s ease;
        }

        .menu-close:hover {
            background: #7C3AED;
            color: white;
            transform: rotate(90deg);
        }

        .menu-links {
            padding: 18px;
        }

        .dropdown-content a.menu-link {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 15px 14px;
            margin: 5px 0;
            border-radius: 14px;
            color: #1F2937;
            text-decoration: none;
            transition: 0.25s ease;
        }

        .menu-icon {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            background: #F3F0FF;
            font-size: 19px;
            flex-shrink: 0;
        }

        .menu-text {
            display: flex;
            flex-direction: column;
            text-align: left;
        }

        .menu-text strong { color: #172554; font-size: 15px; }
        .menu-text small { margin-top: 3px; color: #7C8495; font-size: 11px; font-weight: 400; }

        .dropdown-content a.menu-link:hover {
            background: linear-gradient(90deg,#F5F3FF,#EEF2FF);
            transform: translateX(5px);
        }

        .dropdown-content a.menu-link:hover .menu-icon {
            background: linear-gradient(135deg,#1E3A8A,#7C3AED);
            color: white;
        }

        body.menu-open { overflow: hidden; }

        /* =====================================================
           HERO
        ===================================================== */

        .hero {

            position: relative;

            height: 90vh;

            display: flex;

            justify-content: center;

            align-items: center;

            overflow: hidden;

            background-image:
                url('../img/empire.png');

            background-size: cover;

            background-position: center 15%;

            background-repeat: no-repeat;
        }


        /* =====================================================
           OVERLAY OSCURO
        ===================================================== */

        .hero::before {

            content: "";

            position: absolute;

            top: 0;

            left: 0;

            width: 100%;

            height: 100%;

            background: rgba(0, 0, 0, 0.4);

            z-index: 1;
        }


        /* =====================================================
           CONTENIDO HERO
        ===================================================== */

        .overlay {

            position: relative;

            color: white;

            text-align: center;

            z-index: 2;

            max-width: 800px;

            padding: 20px;

            margin-top: 250px;

            animation: aparecer 1s ease;
        }


        .overlay h2 {

            font-size: 3rem;

            margin: 0 0 15px;
        }


        .overlay p {

            font-size: 1.2rem;

            margin: 15px 0 30px;
        }


        /* =====================================================
           ANIMACIÓN
        ===================================================== */

        @keyframes aparecer {

            from {

                opacity: 0;

                transform: translateY(20px);

            }

            to {

                opacity: 1;

                transform: translateY(0);

            }

        }


        /* =====================================================
           BOTONES
        ===================================================== */

        .btn {

            display: inline-block;

            background: #7C3AED;

            color: white;

            padding: 12px 25px;

            text-decoration: none;

            border-radius: 8px;

            transition: 0.3s;
        }


        .btn:hover {

            background: #6D28D9;

            transform: translateY(-2px);

        }


        /* =====================================================
           SECCIONES
        ===================================================== */

        .section {

            padding: 70px 40px;

            text-align: center;
        }


        .section h2 {

            color: #1E3A8A;

            margin-bottom: 20px;
        }


        .section p {

            max-width: 800px;

            margin: auto;

            line-height: 1.7;
        }


        /* =====================================================
           SERVICIOS
        ===================================================== */

        .services {

            display: flex;

            gap: 20px;

            justify-content: center;

            flex-wrap: wrap;

            margin-top: 40px;
        }


        .card {

            background: white;

            padding: 25px;

            border-radius: 12px;

            width: 250px;

            box-shadow:
                0 5px 20px rgba(0, 0, 0, 0.05);

            transition: 0.3s;
        }


        .card:hover {

            transform: translateY(-5px);

            box-shadow:
                0 10px 25px rgba(0, 0, 0, 0.10);

        }


        .card h3 {

            color: #1E3A8A;

        }


        /* =====================================================
           NUESTRA HISTORIA
        ===================================================== */

        .historia-section {

            background: #ffffff;

            padding: 90px 30px;
        }


        .historia-contenido {

            max-width: 1000px;

            margin: auto;
        }


        .historia-tag {

            display: inline-block;

            color: #7C3AED;

            font-size: 14px;

            font-weight: 700;

            letter-spacing: 3px;

            margin-bottom: 15px;
        }


        .historia-contenido h2 {

            font-size: 2.5rem;

            color: #1E3A8A;

            margin: 0 auto 25px;

            max-width: 800px;
        }


        .historia-intro {

            font-size: 1.2rem !important;

            max-width: 850px !important;

            margin-bottom: 20px !important;
        }


        .historia-contenido > p {

            max-width: 800px;

            margin: 15px auto;

            line-height: 1.8;
        }


        .historia-valores {

            display: flex;

            justify-content: center;

            gap: 25px;

            flex-wrap: wrap;

            margin-top: 50px;
        }


        .valor-card {

            background: #F8FAFC;

            width: 250px;

            padding: 30px 25px;

            border-radius: 18px;

            box-shadow:
                0 8px 25px rgba(0, 0, 0, 0.06);

            transition: 0.3s ease;

            border: 1px solid #EEF2FF;
        }


        .valor-card:hover {

            transform: translateY(-8px);

            box-shadow:
                0 15px 30px rgba(0, 0, 0, 0.10);
        }


        .valor-icono {

            font-size: 40px;

            margin-bottom: 15px;
        }


        .valor-card h3 {

            color: #1E3A8A;

            margin-bottom: 12px;
        }


        .valor-card p {

            font-size: 0.95rem;

            line-height: 1.6;
        }


        .historia-final {

            margin: 55px auto 0;

            max-width: 800px;

            padding: 25px;

            border-left: 4px solid #7C3AED;

            background: #F5F3FF;

            border-radius: 0 12px 12px 0;
        }


        .historia-final p {

            margin: 0;

            line-height: 1.7;
        }


        /* =====================================================
           PROYECTOS
        ===================================================== */

        .proyectos-section {

            background: #F5F7FB;

            padding: 90px 30px;
        }


        .proyectos-header {

            max-width: 800px;

            margin: 0 auto 50px;

            text-align: center;
        }


        .proyectos-tag {

            display: inline-block;

            color: #7C3AED;

            font-size: 14px;

            font-weight: 700;

            letter-spacing: 3px;

            margin-bottom: 12px;
        }


        .proyectos-header h2 {

            color: #1E3A8A;

            font-size: 2.5rem;

            margin: 0 0 20px;
        }


        .proyectos-header p {

            max-width: 750px;

            margin: auto;

            line-height: 1.7;
        }


        .proyectos-grid {

            max-width: 1150px;

            margin: auto;

            display: grid;

            grid-template-columns:
                repeat(3, 1fr);

            gap: 30px;
        }


        .proyecto-card {

            background: white;

            border-radius: 18px;

            overflow: hidden;

            box-shadow:
                0 8px 25px rgba(0, 0, 0, 0.07);

            transition:
                transform 0.3s ease,
                box-shadow 0.3s ease;
        }


        .proyecto-card:hover {

            transform: translateY(-8px);

            box-shadow:
                0 18px 35px rgba(0, 0, 0, 0.12);
        }


        .proyecto-imagen {

            height: 220px;

            position: relative;

            overflow: hidden;

            background: #E5E7EB;
        }


        .proyecto-imagen img {

            width: 100%;

            height: 100%;

            object-fit: cover;

            display: block;

            transition: transform 0.4s ease;
        }


        .proyecto-card:hover
        .proyecto-imagen img {

            transform: scale(1.06);
        }


        .proyecto-categoria {

            position: absolute;

            top: 15px;

            left: 15px;

            background:
                rgba(30, 58, 138, 0.9);

            color: white;

            padding: 7px 12px;

            border-radius: 20px;

            font-size: 11px;

            font-weight: 700;

            letter-spacing: 1px;
        }


        .proyecto-contenido {

            padding: 25px;
        }


        .proyecto-contenido h3 {

            color: #1E3A8A;

            font-size: 1.35rem;

            margin: 0 0 12px;
        }


        .proyecto-contenido p {

            font-size: 0.95rem;

            line-height: 1.7;

            margin-bottom: 20px;
        }


        .proyecto-tecnologias {

            display: flex;

            flex-wrap: wrap;

            gap: 8px;

            margin-bottom: 22px;
        }


        .proyecto-tecnologias span {

            background: #F3F0FF;

            color: #6D28D9;

            padding: 6px 10px;

            border-radius: 15px;

            font-size: 12px;

            font-weight: 600;
        }


        .proyecto-btn {

            display: inline-block;

            color: #7C3AED;

            text-decoration: none;

            font-weight: 700;

            transition: 0.3s;
        }


        .proyecto-btn:hover {

            color: #1E3A8A;

            transform: translateX(4px);
        }


        /* =====================================================
           TESTIMONIOS
        ===================================================== */

        .testimonios-section {

            background: #ffffff;

            padding: 90px 30px;
        }


        .testimonios-header {

            max-width: 800px;

            margin: 0 auto 50px;

            text-align: center;
        }


        .testimonios-tag {

            display: inline-block;

            color: #7C3AED;

            font-size: 14px;

            font-weight: 700;

            letter-spacing: 3px;

            margin-bottom: 12px;
        }


        .testimonios-header h2 {

            color: #1E3A8A;

            font-size: 2.5rem;

            margin: 0 0 20px;
        }


        .testimonios-header p {

            max-width: 700px;

            margin: auto;

            line-height: 1.7;

            color: #555;
        }


        .testimonios-grid {

            max-width: 1100px;

            margin: auto;

            display: grid;

            grid-template-columns:
                repeat(3, 1fr);

            gap: 30px;
        }


        .testimonio-card {

            background: #F8FAFC;

            padding: 35px 30px;

            border-radius: 20px;

            border: 1px solid #EEF2FF;

            box-shadow:
                0 8px 25px rgba(0, 0, 0, 0.06);

            position: relative;

            transition:
                transform 0.3s ease,
                box-shadow 0.3s ease;
        }


        .testimonio-card:hover {

            transform: translateY(-7px);

            box-shadow:
                0 18px 35px rgba(0, 0, 0, 0.10);
        }


        .testimonio-comillas {

            position: absolute;

            top: 15px;

            right: 25px;

            font-size: 55px;

            color: #DDD6FE;

            font-family: Georgia, serif;

            line-height: 1;
        }


        .testimonio-estrellas {

            color: #F59E0B;

            font-size: 18px;

            letter-spacing: 2px;

            margin-bottom: 20px;
        }


        .testimonio-texto {

            font-size: 1rem;

            line-height: 1.8;

            color: #444;

            margin-bottom: 28px;
        }


        .testimonio-cliente {

            display: flex;

            align-items: center;

            gap: 15px;

            border-top: 1px solid #E5E7EB;

            padding-top: 20px;
        }


        .testimonio-avatar {

            width: 48px;

            height: 48px;

            border-radius: 50%;

            background:
                linear-gradient(
                    135deg,
                    #1E3A8A,
                    #7C3AED
                );

            color: white;

            display: flex;

            align-items: center;

            justify-content: center;

            font-weight: 700;

            font-size: 17px;
        }


        .testimonio-info {

            text-align: left;
        }


        .testimonio-info strong {

            display: block;

            color: #1E3A8A;

            font-size: 0.95rem;
        }


        .testimonio-info span {

            display: block;

            color: #777;

            font-size: 0.85rem;

            margin-top: 3px;
        }


        .testimonio-proyecto {

            display: inline-block;

            margin-top: 18px;

            background: #F3F0FF;

            color: #6D28D9;

            padding: 6px 12px;

            border-radius: 20px;

            font-size: 11px;

            font-weight: 700;

            letter-spacing: 0.5px;
        }


        /* =====================================================
           CONTACTO / CTA FINAL
        ===================================================== */

        .contacto-section {

            position: relative;

            padding: 100px 25px;

            background:
                linear-gradient(
                    135deg,
                    #1E3A8A,
                    #4C1D95,
                    #7C3AED
                );

            color: white;

            text-align: center;

            overflow: hidden;
        }


        .contacto-section::before {

            content: "";

            position: absolute;

            width: 300px;

            height: 300px;

            border-radius: 50%;

            background:
                rgba(255,255,255,0.08);

            top: -120px;

            left: -100px;
        }


        .contacto-section::after {

            content: "";

            position: absolute;

            width: 250px;

            height: 250px;

            border-radius: 50%;

            background:
                rgba(255,255,255,0.06);

            bottom: -100px;

            right: -80px;
        }


        .contacto-contenido {

            position: relative;

            z-index: 2;

            max-width: 800px;

            margin: auto;
        }


        .contacto-tag {

            display: inline-block;

            font-size: 13px;

            font-weight: 700;

            letter-spacing: 3px;

            margin-bottom: 15px;

            opacity: 0.85;
        }


        .contacto-contenido h2 {

            font-size: 2.8rem;

            margin: 0 0 20px;
        }


        .contacto-contenido p {

            max-width: 650px;

            margin: 0 auto 35px;

            line-height: 1.8;

            font-size: 1.1rem;

            color:
                rgba(255,255,255,0.9);
        }


        .contacto-btn {

            display: inline-flex;

            align-items: center;

            justify-content: center;

            gap: 10px;

            background: white;

            color: #1E3A8A;

            padding: 14px 28px;

            border-radius: 10px;

            text-decoration: none;

            font-weight: 700;

            transition: 0.3s ease;

            box-shadow:
                0 8px 25px rgba(0,0,0,0.18);
        }


        .contacto-btn:hover {

            transform: translateY(-3px);

            box-shadow:
                0 12px 30px rgba(0,0,0,0.25);
        }


        .contacto-alternativo {

            margin-top: 22px;

            font-size: 0.9rem !important;

            opacity: 0.8;
        }


        /* =====================================================
           RESPONSIVE - TABLET
        ===================================================== */

        @media (max-width: 900px) {

            .proyectos-grid {

                grid-template-columns:
                    repeat(2, 1fr);
            }

            .testimonios-grid {

                grid-template-columns:
                    repeat(2, 1fr);
            }

        }


        /* =====================================================
           RESPONSIVE - CELULAR
        ===================================================== */

        @media (max-width: 768px) {

            nav {

                padding: 5px 15px;
            }


            .logo {

                height: 115px;
            }


            .cuenta-btn {

                padding: 9px 13px;

                font-size: 12px;
            }


            .dropdown-content {
                width: min(330px, 88vw);
            }


            .hero {

                height: 75vh;

                background-position: center;
            }


            .overlay {

                padding: 15px;

                margin-top: 180px;
            }


            .overlay h2 {

                font-size: 1.8rem;
            }


            .overlay p {

                font-size: 0.95rem;
            }


            .btn {

                padding: 11px 20px;
            }


            .section {

                padding: 45px 20px;
            }


            .card {

                width: 100%;

                max-width: 300px;
            }


            .historia-section {

                padding: 65px 20px;
            }


            .historia-contenido h2 {

                font-size: 2rem;
            }


            .historia-intro {

                font-size: 1.05rem !important;
            }


            .valor-card {

                width: 100%;

                max-width: 320px;
            }


            .historia-final {

                margin-top: 40px;
            }


            .proyectos-section {

                padding: 65px 20px;
            }


            .proyectos-header h2 {

                font-size: 2rem;
            }


            .proyectos-grid {

                grid-template-columns: 1fr;

                max-width: 380px;
            }


            .proyecto-imagen {

                height: 210px;
            }


            .testimonios-section {

                padding: 65px 20px;
            }


            .testimonios-header h2 {

                font-size: 2rem;
            }


            .testimonios-grid {

                grid-template-columns: 1fr;

                max-width: 380px;
            }


            .testimonio-card {

                padding: 30px 25px;
            }


            .contacto-section {

                padding: 75px 20px;
            }


            .contacto-contenido h2 {

                font-size: 2.2rem;
            }


            .contacto-contenido p {

                font-size: 1rem;
            }


            .contacto-btn {

                width: 100%;

                max-width: 300px;
            }

        }


        /* =====================================================
           CELULAR PEQUEÑO
        ===================================================== */

        @media (max-width: 400px) {

            .logo {

                height: 78px;
            }


            .cuenta-btn {

                padding: 8px 10px;

                font-size: 11px;
            }

        }
        /* =====================================================
   FOOTER SCM EMPIRE
===================================================== */

.footer-scm {
    background:
        linear-gradient(
            135deg,
            #0B153F,
            #172554,
            #2E1065
        );

    color: white;
    text-align: center;

    padding: 65px 25px 0;

    position: relative;
    overflow: hidden;
}


/* EFECTO DECORATIVO */

.footer-scm::before {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background: rgba(124, 58, 237, 0.12);

    top: -170px;
    right: -100px;
}


.footer-scm::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    border-radius: 50%;

    background: rgba(59, 130, 246, 0.08);

    bottom: -150px;
    left: -100px;
}


/* CONTENIDO */

.footer-contenido {
    position: relative;
    z-index: 2;

    max-width: 900px;

    margin: auto;
}


.footer-contenido h2 {
    margin: 0;

    font-size: 2rem;

    letter-spacing: 3px;

    font-weight: 800;
}


.footer-servicios {
    margin: 10px 0 30px;

    color: #C4B5FD;

    font-size: 13px;

    font-weight: 600;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.footer-texto {
    color: rgba(255,255,255,0.8);

    font-size: 15px;

    margin-bottom: 30px;
}


/* =====================================================
   REDES SOCIALES SCM EMPIRE
===================================================== */
.footer-redes {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 18px;
    margin: 28px auto 42px;
}

.red-social {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    text-decoration: none;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.red-social span {
    display: none;
}

.red-social-icono {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
    flex: 0 0 28px;
}

.red-social:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.16);
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.red-social:hover .red-social-icono {
    transform: scale(1.08);
}

.footer-copy {
    position: relative;
    z-index: 2;
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 20px;
    color: rgba(255,255,255,0.55);
    font-size: 12px;
}

@media (max-width: 600px) {
    .footer-redes {
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 14px;
    }

    .red-social {
        width: 46px;
        height: 46px;
    }

    .red-social-icono {
        width: 25px;
        height: 25px;
        flex-basis: 25px;
    }
}