:root{--navy:#11182f;--navy2:#0a1022;--orange:#ef5a1a;--amber:#ffb21c;--cream:#f6f3ee;--ink:#1a2030;--muted:#687080;--line:#e5e8ee;--white:#fff;--shadow:0 24px 70px rgba(16,24,48,.14);--r:24px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Manrope,Arial,sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 36px));margin:auto}.site-header{position:fixed;inset:0 0 auto;z-index:50;transition:.3s}.site-header.scrolled,.site-header.inner{background:rgba(255,255,255,.94);backdrop-filter:blur(16px);box-shadow:0 10px 30px rgba(15,23,42,.08)}.nav-wrap{height:92px;display:flex;align-items:center;gap:30px}.brand img{width:175px;height:66px;object-fit:contain}.main-nav{display:flex;gap:28px;margin-left:auto}.main-nav a{font-weight:800;font-size:.9rem;color:#fff;position:relative}.site-header.scrolled .main-nav a,.site-header.inner .main-nav a{color:var(--ink)}.main-nav a:after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:2px;background:var(--orange);transition:.25s}.main-nav a:hover:after,.main-nav a.active:after{right:0}.btn{display:inline-flex;justify-content:center;align-items:center;gap:8px;padding:14px 22px;border-radius:12px;font-weight:800;border:0;cursor:pointer}.btn-primary{background:linear-gradient(135deg,var(--orange),var(--amber));color:#fff;box-shadow:0 12px 30px rgba(239,90,26,.25)}.btn-outline{border:1px solid rgba(255,255,255,.4);color:#fff}.btn-dark{background:var(--navy);color:#fff}.menu-toggle{display:none;background:none;border:0}.menu-toggle span{display:block;width:26px;height:2px;background:currentColor;margin:5px}.hero{min-height:100vh;display:grid;align-items:center;color:#fff;position:relative;background:linear-gradient(90deg,rgba(10,16,34,.93),rgba(10,16,34,.48)),url('assets/img/hero.jpg') center/cover}.hero .container{padding-top:110px}.eyebrow{display:inline-flex;align-items:center;gap:10px;text-transform:uppercase;letter-spacing:.18em;font-size:.75rem;font-weight:900;color:#ffd082}.eyebrow:before{content:"";width:34px;height:2px;background:currentColor}.eyebrow.dark{color:var(--orange)}h1,h2,h3{font-family:Montserrat,Arial,sans-serif;margin:0;line-height:1.08}h1{font-size:clamp(3rem,7vw,6.5rem);max-width:920px;letter-spacing:-.055em;margin:20px 0}h2{font-size:clamp(2.2rem,4vw,4rem);letter-spacing:-.04em}h3{font-size:1.25rem}.hero p{max-width:680px;color:rgba(255,255,255,.8);font-size:1.1rem}.hero-actions{display:flex;gap:14px;margin-top:32px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);max-width:780px;margin-top:65px;border-top:1px solid rgba(255,255,255,.18);padding-top:25px}.metrics strong{font-size:1.8rem;display:block}.metrics span{font-size:.8rem;color:rgba(255,255,255,.65)}.section{padding:110px 0}.section-head{display:flex;justify-content:space-between;gap:60px;align-items:end;margin-bottom:52px}.section-head p{max-width:480px;color:var(--muted)}.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.media-card{border-radius:var(--r);overflow:hidden;box-shadow:var(--shadow)}.media-card img{width:100%;height:540px;object-fit:cover}.copy p{color:var(--muted);line-height:1.8}.feature-list{display:grid;gap:16px;margin-top:30px}.feature{display:flex;gap:16px;padding:18px;border:1px solid var(--line);border-radius:18px;background:#fff}.feature b{color:var(--orange)}.soft{background:var(--cream)}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;transition:.3s}.card:hover{transform:translateY(-7px);box-shadow:var(--shadow);border-color:rgba(239,90,26,.3)}.card .icon{width:52px;height:52px;border-radius:15px;background:#fff1e8;color:var(--orange);display:grid;place-items:center;font-size:1.4rem;margin-bottom:22px}.card p{color:var(--muted);font-size:.92rem}.banner{padding:100px 0;color:#fff;background:linear-gradient(90deg,rgba(17,24,47,.96),rgba(17,24,47,.68)),url('assets/img/servicios.jpg') center/cover}.pill-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:40px}.pill{border:1px solid rgba(255,255,255,.2);padding:22px;border-radius:16px;background:rgba(255,255,255,.06)}.clients{overflow:hidden}.client-track{display:flex;width:max-content;gap:18px;animation:scroll 26s linear infinite}.client-track:hover{animation-play-state:paused}.client-logo{width:210px;height:130px;border:1px solid var(--line);border-radius:18px;background:#fff;display:grid;place-items:center;padding:18px;box-shadow:0 12px 30px rgba(15,23,42,.06)}.client-logo img{max-height:90px;object-fit:contain}@keyframes scroll{to{transform:translateX(-50%)}}
/* .page-hero{padding:180px 0 90px;color:#fff;background:linear-gradient(90deg,rgba(10,16,34,.94),rgba(10,16,34,.55)),url('assets/img/contacto.jpg') center/cover
} */
 .page-hero {
    padding: 180px 0 90px;
    color: #fff;

    background:
        linear-gradient(
            90deg,
            rgba(10, 16, 34, 0.88),
            rgba(10, 16, 34, 0.50)
        ),
        url('assets/img/contacto.jpg') center 10% / cover no-repeat;
}

.page-hero h1{font-size:clamp(2.8rem,6vw,5.5rem)}.values{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.value{padding:28px;border-radius:20px;background:#fff;border:1px solid var(--line)}.service-detail{display:grid;grid-template-columns:.85fr 1.15fr;gap:55px;align-items:center;margin-bottom:70px}.service-detail:nth-child(even){grid-template-columns:1.15fr .85fr}.service-detail:nth-child(even) .service-image{order:2}.service-image img{width:100%;height:390px;object-fit:cover;border-radius:22px}.service-detail ul{padding-left:20px;color:var(--muted);line-height:1.8}.toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:28px;flex-wrap:wrap}.filters{display:flex;gap:10px;flex-wrap:wrap}.filter,.view-btn{border:1px solid var(--line);background:#fff;padding:10px 14px;border-radius:10px;font-weight:800;cursor:pointer}.filter.active,.view-btn.active{background:var(--navy);color:#fff}.project-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.project-gallery.list{grid-template-columns:1fr}.project-item{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:0 12px 32px rgba(15,23,42,.06);cursor:pointer}.project-item img{width:100%;height:250px;object-fit:cover}.project-info{padding:22px}.project-info span{color:var(--orange);font-size:.75rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}.project-info p{color:var(--muted)}.project-gallery.list .project-item{display:grid;grid-template-columns:330px 1fr}.project-gallery.list .project-item img{height:100%}.modal{position:fixed;inset:0;background:rgba(5,10,25,.82);z-index:100;display:none;place-items:center;padding:20px}.modal.open{display:grid}.modal-card{background:#fff;border-radius:24px;max-width:920px;width:100%;overflow:hidden;position:relative;display:grid;grid-template-columns:1.1fr .9fr}.modal-card img{width:100%;height:100%;min-height:470px;object-fit:cover}.modal-copy{padding:34px}.modal-close{position:absolute;right:14px;top:14px;width:42px;height:42px;border:0;border-radius:50%;background:#fff;cursor:pointer;font-size:1.4rem}.contact-shell{display:grid;grid-template-columns:.85fr 1.15fr;gap:50px}.contact-panel{background:var(--navy);color:#fff;border-radius:24px;padding:38px}.contact-panel a{display:block;margin-top:10px}.contact-form{padding:36px;border:1px solid var(--line);border-radius:24px;background:#fff}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.contact-form label{display:grid;gap:8px;font-weight:800;font-size:.85rem;margin-bottom:16px}.contact-form input,.contact-form select,.contact-form textarea{padding:14px 15px;border:1px solid var(--line);border-radius:12px;font:inherit}.footer{background:var(--navy2);color:rgba(255,255,255,.7);padding:60px 0 24px}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:40px}.footer img{width:170px}.footer a{display:block;margin:9px 0}.footer strong{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:40px;padding-top:20px}.whatsapp{position:fixed;right:22px;bottom:22px;width:58px;height:58px;border-radius:50%;background:#25d366;color:#fff;display:grid;place-items:center;font-weight:900;z-index:40}.reveal{opacity:0;transform:translateY(24px);transition:.7s}.reveal.visible{opacity:1;transform:none}@media(max-width:900px){.main-nav{position:fixed;top:80px;left:18px;right:18px;background:#fff;padding:22px;border-radius:18px;display:none;flex-direction:column;box-shadow:var(--shadow)}.main-nav.open{display:flex}.main-nav a{color:var(--ink)}.menu-toggle{display:block;margin-left:auto}.nav-cta{display:none}.grid-2,.contact-shell,.service-detail,.service-detail:nth-child(even){grid-template-columns:1fr}.service-detail:nth-child(even) .service-image{order:0}.cards{grid-template-columns:repeat(2,1fr)}.pill-grid{grid-template-columns:repeat(2,1fr)}.values{grid-template-columns:1fr 1fr}.project-gallery{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:620px){.container{width:min(100% - 24px,1180px)}.nav-wrap{height:76px}.brand img{width:140px;height:54px}.section{padding:78px 0}.section-head{display:block}.cards,.values,.project-gallery,.pill-grid{grid-template-columns:1fr}.hero-actions,.metrics{grid-template-columns:1fr;display:grid}.metrics{gap:18px}.project-gallery.list .project-item{grid-template-columns:1fr}.modal-card{grid-template-columns:1fr;max-height:92vh;overflow:auto}.modal-card img{min-height:260px}.form-row{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.page-hero{padding-top:145px}.client-logo{width:170px;height:110px}}



/* =========================================================
   LOGO DINÁMICO DEL HEADER
========================================================= */

.brand {
    position: relative;
    display: flex;
    align-items: center;
    width: 190px;
    height: 72px;
    flex-shrink: 0;
}

.brand-logo {
    position: absolute;
    left: 0;
    top: 50%;
    width: 185px;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
    transform: translateY(-50%);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

/* Al inicio se muestra el logo blanco */
.logo-white {
    opacity: 1;
    visibility: visible;
}

.logo-color {
    opacity: 0;
    visibility: hidden;
}

/* Cuando se baja la página */
.site-header.scrolled .logo-white {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(0.96);
}

.site-header.scrolled .logo-color {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}


/* =========================================================
   HEADER TRANSPARENTE SOBRE EL HERO
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: linear-gradient(
        180deg,
        rgba(8, 14, 35, 0.88) 0%,
        rgba(8, 14, 35, 0.50) 65%,
        rgba(8, 14, 35, 0) 100%
    );

    border-bottom: 1px solid transparent;

    transition:
        background 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease,
        padding 0.35s ease;
}

/* Estado del header después de hacer scroll */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    border-bottom-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}


/* =========================================================
   ENLACES DEL MENÚ
========================================================= */

/* Texto blanco cuando el header está arriba */
.site-header:not(.scrolled) .main-nav a {
    color: rgba(255, 255, 255, 0.86);
}

.site-header:not(.scrolled) .main-nav a:hover,
.site-header:not(.scrolled) .main-nav a.active {
    color: #ffffff;
}

/* Texto oscuro cuando el header baja */
.site-header.scrolled .main-nav a {
    color: #1d294b;
}

.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active {
    color: #f15a24;
}


/* Línea activa del menú */
.main-nav a {
    position: relative;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -9px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f04422, #ffb318);
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 24px;
}


/* =========================================================
   BOTÓN HAMBURGUESA
========================================================= */

.site-header:not(.scrolled) .menu-toggle span {
    background: #ffffff;
}

.site-header.scrolled .menu-toggle span {
    background: #1d294b;
}


/* =========================================================
   LOGO DEL FOOTER
========================================================= */

.footer-brand {
    max-width: 290px;
}

.footer-logo {
    display: block;
    width: 230px;
    max-width: 100%;
    height: auto;
    max-height: 105px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 270px;
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.7;
}


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

@media (max-width: 991px) {

    .brand {
        width: 155px;
        height: 62px;
    }

    .brand-logo {
        width: 150px;
        max-height: 55px;
    }

    /*
      Al abrir el menú móvil, conviene mostrar el logo a color
      si el fondo del menú es blanco.
    */
    .site-header.menu-open .logo-white {
        opacity: 0;
        visibility: hidden;
    }

    .site-header.menu-open .logo-color {
        opacity: 1;
        visibility: visible;
    }

    .site-header.menu-open {
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 12px 35px rgba(15, 23, 42, 0.12);
    }

    .site-header.menu-open .menu-toggle span {
        background: #1d294b;
    }

    .site-header.menu-open .main-nav a {
        color: #1d294b;
    }
}

@media (max-width: 576px) {

    .brand {
        width: 135px;
    }

    .brand-logo {
        width: 132px;
    }

    .footer-logo {
        width: 195px;
    }
}


/* =========================================================
   HERO CON VIDEO DE FONDO
========================================================= */

.hero-video {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #121a35;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Oscurece el video para que el texto sea legible */
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(7, 13, 32, 0.92) 0%,
            rgba(7, 13, 32, 0.72) 45%,
            rgba(7, 13, 32, 0.35) 75%,
            rgba(7, 13, 32, 0.50) 100%
        ),
        linear-gradient(
            180deg,
            rgba(7, 13, 32, 0.30) 0%,
            rgba(7, 13, 32, 0.15) 55%,
            rgba(7, 13, 32, 0.72) 100%
        );
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 150px;
    padding-bottom: 90px;
}

.hero-content h1 {
    max-width: 850px;
    color: #ffffff;
}

.hero-content > p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.85);
}

.hero-content .metrics {
    color: #ffffff;
}

.hero-content .metrics span {
    color: rgba(255, 255, 255, 0.72);
}

/* Evita que estilos antiguos agreguen otra imagen */
.hero-video::before,
.hero-video::after {
    pointer-events: none;
}

/* =========================================================
   LOGO MÁS GRANDE EN EL HEADER
========================================================= */

.brand {
    position: relative;
    display: flex;
    align-items: center;

    width: 280px;
    height: 96px;

    flex-shrink: 0;
    overflow: visible;
}

.brand-logo {
    position: absolute;
    left: 0;
    top: 50%;

    width: 270px;
    height: 88px;
    max-width: none;
    max-height: none;

    object-fit: contain;
    object-position: left center;

    transform: translateY(-50%);

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

/* =========================================================
   ENCABEZADO DE PÁGINAS INTERNAS
========================================================= */

.site-header.inner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Texto oscuro en las páginas internas */
.site-header.inner .main-nav a {
    color: #1d294b;
}

/* Hover y opción activa */
.site-header.inner .main-nav a:hover,
.site-header.inner .main-nav a.active {
    color: #f15a24;
}

/* Línea activa */
.site-header.inner .main-nav a::after {
    background: linear-gradient(90deg, #f04422, #ffb318);
}

/* Botón hamburguesa oscuro */
.site-header.inner .menu-toggle span {
    background: #1d294b;
}

/* En páginas internas siempre se muestra el logo a color */
.site-header.inner .logo-white {
    opacity: 0;
    visibility: hidden;
}

.site-header.inner .logo-color {
    opacity: 1;
    visibility: visible;
}

/* =========================================================
   TARJETAS DE SERVICIOS DEL INICIO
========================================================= */

.services-home {
    position: relative;
    overflow: hidden;
}

/* Decoración suave del fondo */
.services-home::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -160px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 178, 28, 0.13) 0%,
        rgba(239, 90, 26, 0.06) 45%,
        transparent 72%
    );
    pointer-events: none;
}

.service-cards {
    position: relative;
    z-index: 1;
}

/* Tarjeta */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 315px;
    overflow: hidden;
    isolation: isolate;
}

/* Línea superior animada */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 4px;
    border-radius: 0 0 20px 20px;
    background: linear-gradient(
        90deg,
        var(--orange),
        var(--amber)
    );
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

/* Resplandor inferior */
.service-card::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(255, 178, 28, 0.16),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

/* Contenedor del icono */
.service-card .service-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
    border-radius: 18px;

    display: grid;
    place-items: center;

    color: var(--orange);

    background:
        linear-gradient(
            145deg,
            rgba(255, 178, 28, 0.15),
            rgba(239, 90, 26, 0.10)
        );

    border: 1px solid rgba(239, 90, 26, 0.10);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 10px 25px rgba(239, 90, 26, 0.10);

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

/* Icono Bootstrap */
.service-card .service-icon i {
    display: block;
    font-size: 1.75rem;
    line-height: 1;
}

/* Efecto del icono */
.service-card:hover .service-icon {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        var(--orange),
        var(--amber)
    );

    transform:
        translateY(-4px)
        rotate(-3deg)
        scale(1.05);

    box-shadow:
        0 14px 30px rgba(239, 90, 26, 0.28);
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
}

.service-card p {
    margin-top: 0;
    margin-bottom: 25px;
    line-height: 1.65;
}

/* Enlace inferior */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: max-content;
    margin-top: auto;

    color: var(--orange);
    font-size: 0.87rem;
    font-weight: 800;

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

.service-link i {
    font-size: 0.9rem;
    transition: transform 0.25s ease;
}

.service-link:hover {
    gap: 12px;
    color: var(--navy);
}

.service-link:hover i {
    transform: translate(2px, -2px);
}

/* Mejor elevación de las tarjetas */
.service-card:hover {
    transform: translateY(-9px);
    border-color: rgba(239, 90, 26, 0.25);

    box-shadow:
        0 25px 55px rgba(16, 24, 48, 0.13);
}


/* =========================================================
   RESPONSIVE DE SERVICIOS
========================================================= */

@media (max-width: 900px) {
    .service-card {
        min-height: 295px;
    }
}

@media (max-width: 620px) {
    .service-card {
        min-height: auto;
        padding: 25px;
    }

    .service-card .service-icon {
        width: 58px;
        height: 58px;
        border-radius: 16px;
    }

    .service-card .service-icon i {
        font-size: 1.55rem;
    }
}

/* =========================================================
   FOOTER CORPORATIVO
========================================================= */

.footer {
    position: relative;
    overflow: hidden;
    padding: 85px 0 25px;
    color: rgba(255, 255, 255, 0.72);

    background:
        linear-gradient(
            135deg,
            #080d1c 0%,
            #101831 55%,
            #151d38 100%
        );
}

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

/* Elementos decorativos */
.footer-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(2px);
}

.footer-decoration-one {
    top: -180px;
    right: -150px;
    width: 430px;
    height: 430px;

    background: radial-gradient(
        circle,
        rgba(255, 178, 28, 0.15) 0%,
        rgba(239, 90, 26, 0.08) 45%,
        transparent 72%
    );
}

.footer-decoration-two {
    left: -180px;
    bottom: -230px;
    width: 500px;
    height: 500px;

    background: radial-gradient(
        circle,
        rgba(239, 90, 26, 0.10) 0%,
        transparent 68%
    );
}

/* Cuadrícula principal */
.footer-main {
    display: grid;
    grid-template-columns: 1.45fr 0.75fr 1fr 1.35fr;
    gap: 55px;
    padding-bottom: 55px;
}

/* Marca */
.footer-brand {
    max-width: 330px;
}

.footer-logo-link {
    display: inline-flex;
    margin-bottom: 22px;
}

.footer-logo {
    width: 280px !important;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: left center;
}

.footer-description {
    margin: 0;
    max-width: 320px;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.93rem;
    line-height: 1.75;
}

/* Redes sociales */
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    margin: 0;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 13px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);

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

.footer-social a:hover {
    transform: translateY(-4px);
    border-color: transparent;

    background: linear-gradient(
        135deg,
        var(--orange),
        var(--amber)
    );

    box-shadow: 0 12px 26px rgba(239, 90, 26, 0.25);
}

.footer-social i {
    font-size: 1.1rem;
}

/* Títulos de columnas */
.footer-column h3 {
    position: relative;
    margin: 5px 0 25px;
    padding-bottom: 14px;

    color: #ffffff;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 1rem;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;

    width: 38px;
    height: 3px;
    border-radius: 999px;

    background: linear-gradient(
        90deg,
        var(--orange),
        var(--amber)
    );
}

/* Enlaces */
.footer-links {
    display: grid;
    gap: 13px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 7px;
    width: max-content;
    max-width: 100%;
    margin: 0;

    color: rgba(255, 255, 255, 0.66);
    font-size: 0.9rem;

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

.footer-links a i {
    color: var(--orange);
    font-size: 0.72rem;
    transition: transform 0.25s ease;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-links a:hover i {
    transform: translateX(2px);
}

/* Contacto */
.footer-contact {
    min-width: 0;
}

.footer-contact-item {
    display: flex !important;
    align-items: center;
    gap: 13px;
    margin: 0 0 17px !important;
    min-width: 0;
}

.footer-contact-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;

    display: grid;
    place-items: center;

    border-radius: 13px;

    color: var(--amber);

    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-contact-icon i {
    font-size: 1rem;
}

.footer-contact-item > span:last-child {
    min-width: 0;
}

.footer-contact-item small {
    display: block;
    margin-bottom: 3px;

    color: rgba(255, 255, 255, 0.47);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-contact-item strong {
    display: block;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.86rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

a.footer-contact-item:hover strong {
    color: var(--amber);
}

/* Botón de cotización */
.footer-quote-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;

    margin: 8px 0 0 !important;
    padding: 13px 18px;

    border-radius: 12px;

    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 800;

    background: linear-gradient(
        135deg,
        var(--orange),
        var(--amber)
    );

    box-shadow: 0 12px 28px rgba(239, 90, 26, 0.22);

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

.footer-quote-btn:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 34px rgba(239, 90, 26, 0.30);
}

.footer-quote-btn i {
    transition: transform 0.25s ease;
}

.footer-quote-btn:hover i {
    transform: translate(2px, -2px);
}

/* Parte inferior */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;

    margin-top: 0;
    padding-top: 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.11);

    color: rgba(255, 255, 255, 0.48);
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom strong {
    color: rgba(255, 255, 255, 0.76);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-bottom-links a {
    margin: 0;
    transition: color 0.25s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-bottom-links span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--orange);
}


/* =========================================================
   RESPONSIVE FOOTER
========================================================= */

@media (max-width: 1050px) {
    .footer-main {
        grid-template-columns: 1.3fr 0.8fr 1fr;
    }

    .footer-contact {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px 25px;
        padding-top: 15px;
    }

    .footer-contact h3 {
        grid-column: 1 / -1;
    }

    .footer-quote-btn {
        width: max-content;
    }
}

@media (max-width: 760px) {
    .footer {
        padding-top: 70px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 45px 30px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 500px;
    }

    .footer-contact {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 520px) {
    .footer {
        padding-top: 58px;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 38px;
        padding-bottom: 42px;
    }

    .footer-brand,
    .footer-contact {
        grid-column: auto;
    }

    .footer-logo {
        width: 235px !important;
    }

    .footer-description {
        font-size: 0.88rem;
    }

    .footer-bottom-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
    }

    .footer-bottom-links span {
        display: none;
    }
}


/* =========================================================
   MEJOR PRESENTACIÓN DE PROYECTOS VERTICALES
========================================================= */

.project-item {
    position: relative;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.project-item:hover {
    transform: translateY(-7px);
    border-color: rgba(239, 90, 26, 0.28);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.13);
}

.project-item > img {
    width: 100%;
    height: 300px;
    padding: 12px;
    object-fit: contain;
    object-position: center bottom;
    background:
        linear-gradient(
            145deg,
            #f8f7f4,
            #ffffff
        );
    transition: transform 0.4s ease;
}

.project-item:hover > img {
    transform: scale(1.025);
}

.project-info {
    position: relative;
    min-height: 175px;
    background: #ffffff;
}

.project-info h3 {
    margin-top: 9px;
    margin-bottom: 10px;
}

.project-info p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Vista lista */
.project-gallery.list .project-item {
    grid-template-columns: 290px 1fr;
    align-items: stretch;
}

.project-gallery.list .project-item > img {
    height: 100%;
    min-height: 280px;
    padding: 16px;
}

/* Tablet */
@media (max-width: 900px) {
    .project-item > img {
        height: 280px;
    }
}

/* Celular */
@media (max-width: 620px) {
    .project-item > img {
        height: 330px;
    }

    .project-gallery.list .project-item {
        grid-template-columns: 1fr;
    }

    .project-gallery.list .project-item > img {
        height: 330px;
        min-height: 0;
    }

    .project-info {
        min-height: auto;
    }
}


/* =========================================================
   MISIÓN Y VISIÓN
========================================================= */

.strategy-section {
    position: relative;
    overflow: hidden;
}

/* Decoración del fondo */
.strategy-section::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -150px;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 178, 28, 0.15) 0%,
        rgba(239, 90, 26, 0.07) 45%,
        transparent 72%
    );

    pointer-events: none;
}

.strategy-grid {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.strategy-card {
    position: relative;

    display: grid;
    grid-template-columns: auto 1fr;
    gap: 24px;

    min-height: 280px;
    padding: 38px;

    overflow: hidden;

    border: 1px solid var(--line);
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow:
        0 14px 40px rgba(15, 23, 42, 0.06);

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

/* Línea superior */
.strategy-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 38px;
    right: 38px;

    height: 4px;

    border-radius: 0 0 10px 10px;

    background: linear-gradient(
        90deg,
        var(--orange),
        var(--amber)
    );

    transform: scaleX(0);
    transform-origin: left;

    transition: transform 0.35s ease;
}

/* Iluminación inferior */
.strategy-card::after {
    content: "";

    position: absolute;
    right: -90px;
    bottom: -100px;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background: radial-gradient(
        circle,
        rgba(255, 178, 28, 0.17),
        transparent 70%
    );

    opacity: 0;

    transition: opacity 0.35s ease;
    pointer-events: none;
}

.strategy-card:hover {
    transform: translateY(-8px);

    border-color: rgba(239, 90, 26, 0.26);

    box-shadow:
        0 26px 58px rgba(15, 23, 42, 0.12);
}

.strategy-card:hover::before {
    transform: scaleX(1);
}

.strategy-card:hover::after {
    opacity: 1;
}

/* Icono */
.strategy-icon {
    position: relative;
    z-index: 2;

    width: 72px;
    height: 72px;

    display: grid;
    place-items: center;

    border-radius: 20px;

    color: var(--orange);

    background:
        linear-gradient(
            145deg,
            rgba(255, 178, 28, 0.16),
            rgba(239, 90, 26, 0.10)
        );

    border: 1px solid rgba(239, 90, 26, 0.10);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 12px 26px rgba(239, 90, 26, 0.10);

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

.strategy-icon i {
    font-size: 2rem;
    line-height: 1;
}

.strategy-card:hover .strategy-icon {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        var(--orange),
        var(--amber)
    );

    transform:
        translateY(-4px)
        rotate(-4deg)
        scale(1.05);

    box-shadow:
        0 16px 32px rgba(239, 90, 26, 0.28);
}

.strategy-content {
    position: relative;
    z-index: 2;
}

.strategy-label {
    display: block;

    margin-bottom: 10px;

    color: var(--orange);

    font-size: 0.72rem;
    font-weight: 900;

    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.strategy-content h3 {
    margin-bottom: 14px;
    color: var(--navy);
    font-size: 1.55rem;
}

.strategy-content p {
    margin: 0;

    color: var(--muted);

    line-height: 1.75;
}

/* Número decorativo */
.strategy-number {
    position: absolute;
    right: 22px;
    bottom: 10px;

    color: rgba(17, 24, 47, 0.045);

    font-family: Montserrat, Arial, sans-serif;
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 1;

    pointer-events: none;
}


/* =========================================================
   VALORES CORPORATIVOS
========================================================= */

.values-section {
    position: relative;
}

.values-modern {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    position: relative;

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

    min-height: 170px;
    padding: 28px;

    overflow: hidden;

    border-radius: 20px;
    border: 1px solid var(--line);

    background: #ffffff;

    box-shadow:
        0 10px 32px rgba(15, 23, 42, 0.05);

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

.value-card::before {
    content: "";

    position: absolute;
    left: 0;
    top: 28px;
    bottom: 28px;

    width: 4px;

    border-radius: 0 5px 5px 0;

    background: linear-gradient(
        180deg,
        var(--orange),
        var(--amber)
    );

    transform: scaleY(0);
    transform-origin: top;

    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-6px);

    border-color: rgba(239, 90, 26, 0.25);

    box-shadow:
        0 22px 45px rgba(15, 23, 42, 0.10);
}

.value-card:hover::before {
    transform: scaleY(1);
}

/* Iconos de valores */
.value-icon {
    width: 54px;
    height: 54px;
    flex: 0 0 54px;

    display: grid;
    place-items: center;

    border-radius: 16px;

    color: var(--orange);

    background:
        linear-gradient(
            145deg,
            rgba(255, 178, 28, 0.15),
            rgba(239, 90, 26, 0.09)
        );

    border: 1px solid rgba(239, 90, 26, 0.10);

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

.value-icon i {
    font-size: 1.45rem;
    line-height: 1;
}

.value-card:hover .value-icon {
    color: #ffffff;

    background: linear-gradient(
        135deg,
        var(--orange),
        var(--amber)
    );

    transform: translateY(-3px) scale(1.05);

    box-shadow:
        0 12px 26px rgba(239, 90, 26, 0.25);
}

.value-card h3 {
    margin: 3px 0 10px;
    color: var(--navy);
    font-size: 1.15rem;
}

.value-card p {
    margin: 0;

    color: var(--muted);

    font-size: 0.9rem;
    line-height: 1.65;
}


/* =========================================================
   RESPONSIVE MISIÓN, VISIÓN Y VALORES
========================================================= */

@media (max-width: 900px) {
    .strategy-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 620px) {
    .strategy-card {
        grid-template-columns: 1fr;
        gap: 18px;

        min-height: auto;
        padding: 28px;
    }

    .strategy-icon {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .strategy-icon i {
        font-size: 1.75rem;
    }

    .strategy-number {
        font-size: 4.4rem;
    }

    .values-modern {
        grid-template-columns: 1fr;
    }

    .value-card {
        min-height: auto;
        padding: 24px;
    }
}