:root {
    --navy: #07182c;
    --navy-2: #0d2743;
    --red: #dd2529;
    --red-dark: #b91d22;
    --white: #ffffff;
    --light: #f5f6f8;
    --text: #0d1b2e;
    --muted: #677384;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
    color: var(--text);
    background: var(--white);
}

    body.menu-open {
        overflow: hidden;
    }

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* Contenido más ancho y con menos márgenes laterales */
@media (min-width: 1200px) {
    .container {
        max-width: 1420px;
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
    }
}



/* ==========================================================
   ENCABEZADO FIJO: PC, TABLET Y MÓVIL
========================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
    background: var(--navy);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .16);
    transform: translate3d(0, 0, 0);
    visibility: visible;
    opacity: 1;
}

main {
    padding-top: 80px;
}

.navbar {
    min-height: 80px;
    padding: 0;
}

    .navbar > .container {
        min-height: 80px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.navbar-brand {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: 0;
    height: 80px;
    margin: 0;
    padding: 0;
}

.brand-logo {
    display: block;
    width: 68px;
    height: 68px;
    flex-shrink: 0;
    margin: 0;
    object-fit: contain;
}

.brand-text,
.mobile-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

    .brand-text span,
    .mobile-brand-text span {
        color: #ffffff;
        font-size: .62rem;
        font-weight: 600;
        letter-spacing: .12em;
    }

    .brand-text strong,
    .mobile-brand-text strong {
        color: #ffffff;
        font-size: 1.35rem;
        font-weight: 800;
        letter-spacing: -.02em;
    }


.desktop-menu {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.navbar-nav {
    gap: 12px;
}

.nav-link {
    position: relative;
    color: #fff !important;
    font-size: .86rem;
    font-weight: 700;
    padding: 1.7rem .75rem !important;
}

    .nav-link::after {
        content: "";
        position: absolute;
        left: .7rem;
        right: .7rem;
        bottom: 5px;
        height: 3px;
        background: var(--red);
        transform: scaleX(0);
        transition: transform .25s ease;
    }

    .nav-link:hover::after,
    .nav-link.active::after {
        transform: scaleX(1);
    }

.btn-brand {
    border: 0;
    border-radius: 9px;
    padding: .85rem 1.35rem;
    color: #fff;
    background: var(--red);
    font-weight: 700;
    transition: .25s ease;
}

    .btn-brand:hover {
        color: #fff;
        background: var(--red-dark);
        transform: translateY(-2px);
    }

.btn-outline-brand {
    border: 2px solid var(--red);
    color: var(--red);
    border-radius: 6px;
    padding: .75rem 1.6rem;
    font-weight: 700;
}

    .btn-outline-brand:hover {
        color: #fff;
        background: var(--red);
    }

.mobile-menu-button,
.mobile-menu-panel,
.mobile-menu-overlay {
    display: none;
}

.hero-section {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    background-image: linear-gradient( 90deg, rgba(5,22,39,.92) 0%, rgba(5,22,39,.78) 24%, rgba(5,22,39,.35) 42%, rgba(5,22,39,.08) 58%, rgba(5,22,39,0) 72% ), url("../images/hero-camion.png");
    background-repeat: no-repeat;
    background-size: 105% auto;
    background-position: center center;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 36px;
}

.hero-copy-column {
    min-width: 660px;
}

.min-vh-75 {
    min-height: 590px;
}

.hero-kicker {
    margin: 0;
    color: #fff;
    font-size: clamp(2rem, 2.6vw, 2.85rem);
    line-height: 1;
    font-weight: 800;
}

.hero-title {
    margin: .2rem 0 0;
    color: #fff;
    font-size: clamp(3.35rem, 4.55vw, 5.25rem);
    line-height: 1.02;
    font-weight: 800;
    letter-spacing: -.035em;
    white-space: nowrap;
}

    .hero-title span {
        color: var(--red);
    }

.hero-line {
    width: 95px;
    height: 4px;
    margin: 1.4rem 0;
    background: var(--red);
}

.hero-description {
    max-width: 560px;
    color: #fff;
    font-size: 1.28rem;
    line-height: 1.55;
}

.hero-benefits {
    display: flex;
    gap: 0;
    margin: 2rem 0;
}

.benefit-item {
    min-width: 120px;
    padding: 0 1rem;
    color: #fff;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.55);
}

    .benefit-item:first-child {
        padding-left: 0;
    }

    .benefit-item:last-child {
        border-right: 0;
    }

    .benefit-item i {
        display: block;
        margin-bottom: .5rem;
        font-size: 2.2rem;
    }

    .benefit-item span {
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
    }

.attention-card {
    position: absolute;
    right: 4%;
    bottom: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    color: #fff;
    background: rgba(5, 24, 45, .96);
    border-radius: 12px;
}

    .attention-card i {
        color: var(--red);
        font-size: 2.7rem;
    }

    .attention-card strong,
    .attention-card span {
        display: block;
    }

.section-light {
    padding: 45px 0;
    background: var(--light);
}

.section-heading {
    margin-bottom: 22px;
}

    .section-heading span,
    .section-label {
        color: var(--red);
        font-weight: 700;
    }

    .section-heading h2 {
        margin-top: .3rem;
        font-weight: 800;
    }

.service-card {
    position: relative;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 7px 22px rgba(13, 31, 53, .08);
    overflow: hidden;
    transition: .3s ease;
}

    .service-card:hover {
        transform: translateY(-8px);
    }

.service-image {
    height: 185px;
    overflow: hidden;
}

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.service-icon {
    position: absolute;
    top: 145px;
    left: 50%;
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    color: var(--red);
    background: var(--navy);
    border: 3px solid #fff;
    border-radius: 50%;
    transform: translateX(-50%);
}

    .service-icon i {
        font-size: 2rem;
    }

.service-body {
    padding: 45px 22px 24px;
    text-align: center;
}

    .service-body h3 {
        font-size: 1.15rem;
        font-weight: 800;
    }

    .service-body p {
        color: #333;
        font-size: .86rem;
    }

    .service-body a {
        color: var(--red);
        font-weight: 700;
    }

.stats-section {
    padding: 42px 0;
    color: #fff;
    background: var(--navy);
}

    .stats-section h2 {
        margin: .5rem 0 1rem;
        font-size: 2rem;
        font-weight: 800;
    }

.stats-grid {
    border-left: 1px solid rgba(255,255,255,.3);
}

.stat-item {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255,255,255,.3);
    text-align: center;
}

    .stat-item i,
    .stat-item strong {
        color: var(--red);
    }

    .stat-item i {
        font-size: 2.6rem;
    }

    .stat-item strong {
        font-size: 2.5rem;
    }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.project-item {
    position: relative;
    height: 170px;
    border-radius: 8px;
    overflow: hidden;
}

    .project-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.project-overlay {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(7, 24, 44, .62);
    opacity: 0;
    transition: .3s ease;
}

.project-item:hover .project-overlay {
    opacity: 1;
}

.quality-heading {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 18px;
    margin: 28px 0 20px;
}

    .quality-heading span {
        height: 1px;
        background: #b7bec7;
    }

    .quality-heading h3 {
        margin: 0;
        color: var(--navy);
        font-size: 1.35rem;
        font-weight: 800;
        text-align: center;
    }

.quality-grid {
    align-items: stretch;
}

    .quality-grid > div {
        position: relative;
    }

.quality-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    height: 100%;
    padding: 8px 24px;
}

.quality-grid > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 7px;
    right: 0;
    width: 1px;
    height: 78px;
    background: #c9ced5;
}

.quality-icon {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
}

.quality-content {
    flex: 1;
}

    .quality-content strong {
        display: block;
        color: var(--navy);
        font-size: .82rem;
        line-height: 1.35;
        font-weight: 800;
    }

    .quality-content p {
        margin: 7px 0 0;
        color: #2f3947;
        font-size: .75rem;
        line-height: 1.45;
    }

/*.site-footer {
    color: #fff;
    background: #04162a;
}*/
.site-footer {
    position: relative;
    z-index: 1;
    color: #fff;
    background: #04162a;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.2fr 1.7fr .8fr;
    gap: 30px;
    align-items: center;
    padding: 28px 0;
}

.footer-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 22px;
    padding: 0 28px;
}

.footer-action {
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 14px;
}

    .social-links a {
        color: #fff;
    }

.footer-copy {
    padding: 14px 0;
    text-align: center;
    font-size: .72rem;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1100;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    color: #fff;
    background: #25d366;
    border-radius: 50%;
    font-size: 2rem;
}



/* ==========================================================
   TABLET Y MÓVIL
========================================================== */

@media (max-width: 991.98px) {
    html,
    body {
        overflow-x: hidden;
    }

    .desktop-menu {
        display: none;
    }

    .main-header {
        height: 72px;
        background: var(--navy);
        transform: translate3d(0, 0, 0) !important;
    }

    main {
        padding-top: 72px;
    }

    .navbar,
    .navbar > .container,
    .navbar-brand {
        height: 72px;
        min-height: 72px;
    }

    .navbar {
        padding: 0;
    }

    .brand-logo {
        width: 56px;
        height: 56px;
    }

    .brand-text span {
        font-size: .52rem;
    }

    .brand-text strong {
        font-size: 1rem;
    }

    .mobile-menu-button {
        display: grid;
        width: 46px;
        height: 46px;
        place-items: center;
        padding: 0;
        color: #ffffff;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, .30);
        border-radius: 6px;
        font-size: 2rem;
    }

        .mobile-menu-button:hover {
            background: rgba(255, 255, 255, .06);
        }

    .mobile-menu-overlay {
        position: fixed;
        inset: 0;
        z-index: 10001;
        display: block;
        background: rgba(0, 0, 0, .58);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility .3s ease;
    }

        .mobile-menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }

    .mobile-menu-panel {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 10002;
        display: flex;
        width: min(78vw, 340px);
        height: 100dvh;
        padding: 0 22px 28px;
        flex-direction: column;
        background: #ffffff;
        box-shadow: 8px 0 28px rgba(0, 0, 0, .20);
        transform: translateX(-105%);
        transition: transform .32s ease;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

        .mobile-menu-panel.active {
            transform: translateX(0);
        }

    .mobile-menu-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-height: 125px;
        padding: 18px 0;
    }

    .mobile-menu-brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .mobile-menu-logo {
        width: 58px;
        height: 58px;
        flex-shrink: 0;
        object-fit: contain;
    }

    .mobile-brand-text span {
        color: var(--navy);
        font-size: .62rem;
    }

    .mobile-brand-text strong {
        color: var(--navy);
        font-size: 1.2rem;
    }

    .mobile-menu-close {
        display: grid;
        width: 40px;
        height: 40px;
        place-items: center;
        padding: 0;
        color: #111111;
        background: transparent;
        border: 0;
        font-size: 1.45rem;
    }

    .mobile-menu-links {
        display: flex;
        flex-direction: column;
    }

        .mobile-menu-links a {
            display: flex;
            align-items: center;
            min-height: 54px;
            padding: 0;
            color: #111111;
            border-bottom: 1px solid #e8e8e8;
            font-size: .86rem;
            font-weight: 700;
            letter-spacing: .02em;
        }

            .mobile-menu-links a:hover {
                color: var(--red);
            }

    .mobile-menu-quote {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
        padding: 15px 12px;
        color: #ffffff;
        background: var(--red);
        border-radius: 7px;
        font-size: .82rem;
        font-weight: 700;
        text-align: center;
    }

        .mobile-menu-quote:hover {
            color: #ffffff;
            background: var(--red-dark);
        }

    .hero-section {
        min-height: 650px;
        padding-top: 0;
        background-position: 62% center;
    }

    .hero-content {
        padding-top: 18px;
    }

    .hero-copy-column {
        min-width: 0;
        width: 100%;
    }

    .min-vh-75 {
        min-height: 650px;
    }

    .hero-kicker {
        font-size: 1.35rem;
    }

    .hero-title {
        font-size: 2.5rem;
        white-space: normal;
    }

    .hero-description {
        max-width: 100%;
        font-size: 1rem;
    }

    .hero-benefits {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px 8px;
        max-width: 420px;
    }

    .benefit-item {
        min-width: 0;
        padding: 0;
        border-right: 0;
    }

    .attention-card {
        left: 16px;
        right: 16px;
        bottom: 16px;
        justify-content: center;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-item:last-child {
        grid-column: 1 / -1;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, .2);
        border-bottom: 1px solid rgba(255, 255, 255, .2);
    }

    .quality-grid > div:nth-child(2)::after,
    .quality-grid > div:last-child::after {
        display: none;
    }

    .section-heading {
        margin-bottom: 18px;
    }
}

/* ==========================================================
   CELULAR
========================================================== */

@media (max-width: 575.98px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .main-header,
    .navbar,
    .navbar > .container,
    .navbar-brand {
        height: 68px;
        min-height: 68px;
    }

    main {
        padding-top: 68px;
    }

    .brand-logo {
        width: 50px;
        height: 50px;
    }

    .mobile-menu-button {
        width: 44px;
        height: 44px;
        font-size: 1.9rem;
    }

    .mobile-menu-panel {
        width: 78vw;
        max-width: 320px;
    }

    .mobile-menu-top {
        min-height: 115px;
    }

    .mobile-menu-logo {
        width: 52px;
        height: 52px;
    }

    .mobile-brand-text strong {
        font-size: 1.08rem;
    }

    .hero-section {
        min-height: 700px;
        padding-top: 0;
        background-position: 67% center;
    }

        .hero-section::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 1;
            background: rgba(4, 18, 34, .44);
        }

    .hero-content {
        z-index: 2;
        padding-top: 12px;
    }

    .min-vh-75 {
        min-height: 700px;
    }

    .hero-kicker {
        font-size: 1.2rem;
    }

    .hero-title {
        font-size: 2.05rem;
        line-height: 1.08;
        white-space: normal;
    }

    .hero-description {
        font-size: .92rem;
        line-height: 1.55;
    }

    .hero-benefits {
        margin: 18px 0 14px;
        gap: 16px 6px;
    }

    .benefit-item i {
        font-size: 1.8rem;
    }

    .benefit-item span {
        font-size: .66rem;
    }

    .btn-brand.btn-lg {
        width: 100%;
        padding: 12px 8px;
        font-size: .8rem;
    }

    .attention-card {
        padding: 12px 14px;
    }

        .attention-card i {
            font-size: 2rem;
        }

    .section-light {
        padding: 32px 0;
    }

    .section-heading h2 {
        font-size: 1.55rem;
    }

    .stats-section {
        padding: 34px 0;
    }

    .stats-grid {
        border-left: 0;
    }

    .stat-item {
        min-height: 150px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .2);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-item,
    .project-item:last-child {
        grid-column: auto;
        height: 210px;
    }

    .quality-heading {
        grid-template-columns: 1fr;
        text-align: center;
    }

        .quality-heading span {
            display: none;
        }

    .quality-item {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
        padding: 12px 5px;
        text-align: left;
    }

    .quality-grid > div::after {
        display: none;
    }

    .quality-icon {
        width: 52px;
        height: 52px;
    }

    .quality-content strong {
        font-size: .8rem;
    }

    .quality-content p {
        font-size: .73rem;
    }

    .footer-contact {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        right: 14px;
        bottom: 14px;
        font-size: 1.7rem;
    }
}

/* ==========================================================
   AJUSTES DE ESCRITORIO
========================================================== */

@media (min-width: 992px) {
    .hero-content {
        padding-top: 12px;
    }

    .hero-benefits {
        margin: 1.35rem 0;
    }

    .service-body {
        padding-bottom: 20px;
    }

    .stat-item {
        min-height: 165px;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 4.65rem;
    }
}

@media (min-width: 1400px) {
    .hero-title {
        font-size: 5rem;
    }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .hero-copy-column {
        min-width: 610px;
    }

    .hero-title {
        font-size: 4rem;
    }
}

/*==================================================
                CONTACTO
==================================================*/

/*================ HERO =================*/

.contact-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 430px;
    overflow: hidden;
    background-image: url("../images/contacto-banner.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 88% center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( to right, rgba(7, 24, 44, .82) 0%, rgba(7, 24, 44, .70) 30%, rgba(7, 24, 44, .38) 48%, rgba(7, 24, 44, .08) 62%, rgba(7, 24, 44, 0) 74% );
}

.contact-hero .container {
    position: relative;
    z-index: 2;
}

.contact-hero-content {
    max-width: 620px;
    color: #fff;
}

.section-label {
    display: inline-block;
    color: var(--red);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-hero-content h1 {
    margin: 10px 0 18px;
    color: #fff;
    font-size: 58px;
    font-weight: 800;
    line-height: 1.05;
}

.contact-hero-content p {
    max-width: 560px;
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.75;
}

.hero-line {
    width: 85px;
    height: 4px;
    margin: 28px 0;
    background: var(--red);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

/*================ SECCIÓN =================*/

.contact-section {
    padding: 90px 0;
    background: var(--light);
}

.contact-info h2 {
    margin: 15px 0;
    color: var(--navy);
    font-size: 40px;
    font-weight: 800;
}

.contact-info p {
    margin-bottom: 35px;
    color: #555;
    line-height: 1.8;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    margin-bottom: 18px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: transform .30s ease, box-shadow .30s ease;
}

    .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 14px 30px rgba(0, 0, 0, .10);
    }

    .contact-card i {
        display: flex;
        width: 58px;
        height: 58px;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: var(--red);
        border-radius: 50%;
        font-size: 24px;
    }

    .contact-card strong {
        display: block;
        margin-bottom: 4px;
        color: var(--navy);
    }

    .contact-card span {
        color: #666;
        word-break: break-word;
    }

/*================ FORMULARIO =================*/

.contact-form-box {
    padding: 45px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

    .contact-form-box h2 {
        margin: 15px 0 35px;
        color: var(--navy);
        font-weight: 800;
    }

    .contact-form-box label {
        margin-bottom: 8px;
        color: var(--navy);
        font-weight: 600;
    }

    .contact-form-box .form-control,
    .contact-form-box .form-select {
        height: 56px;
        border: 1px solid #ddd;
        border-radius: 8px;
    }

    .contact-form-box textarea.form-control {
        min-height: 180px;
        height: auto;
        resize: vertical;
    }

    .contact-form-box .form-control:focus,
    .contact-form-box .form-select:focus {
        border-color: var(--red);
        box-shadow: 0 0 0 .15rem rgba(221, 37, 41, .18);
    }

    .contact-form-box .btn-brand {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

/*================ MAPA =================*/

.map-section {
    height: 430px;
}

    .map-section iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

/*================ TABLET =================*/

@media (max-width: 991.98px) {
    .contact-hero {
        min-height: 340px;
        background-position: 78% center;
    }

    .hero-overlay {
        background: linear-gradient( to right, rgba(7, 24, 44, .78) 0%, rgba(7, 24, 44, .62) 42%, rgba(7, 24, 44, .18) 68%, rgba(7, 24, 44, 0) 82% );
    }

    .contact-hero-content h1 {
        font-size: 42px;
    }

    .contact-hero-content p {
        font-size: 18px;
    }

    .contact-section {
        padding: 70px 0;
    }

    .contact-form-box {
        margin-top: 35px;
    }
}

/*================ MÓVIL =================*/

@media (max-width: 767.98px) {
    .contact-hero {
        min-height: 330px;
        background-position: 70% center;
    }

    .hero-overlay {
        background: rgba(7, 24, 44, .52);
    }

    .contact-hero-content {
        max-width: 100%;
    }

        .contact-hero-content h1 {
            font-size: 34px;
        }

        .contact-hero-content p {
            max-width: 100%;
            font-size: 16px;
            line-height: 1.6;
        }

    .hero-line {
        margin: 20px 0;
    }

    .hero-buttons {
        margin-top: 25px;
    }

    .contact-info h2 {
        font-size: 30px;
    }

    .contact-form-box {
        padding: 25px;
    }

    .contact-card {
        padding: 18px;
    }

    .map-section {
        height: 320px;
    }
}

/*================ CELULAR PEQUEÑO =================*/

@media (max-width: 575.98px) {
    .contact-hero {
        min-height: 360px;
        background-position: 67% center;
    }

    .contact-hero-content h1 {
        font-size: 31px;
    }

    .contact-hero-content p {
        font-size: 15px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact-form-box {
        padding: 22px 18px;
    }

        .contact-form-box .btn-brand {
            width: 100%;
        }
}
/*================ MAPA =================*/

.map-section {
    position: relative;
    width: 100%;
    height: 500px;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

    .map-section iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

/*================ MAPA MÓVIL =================*/

@media (max-width: 768px) {
    .map-section {
        height: 380px;
    }
}
/*==================================================
                PÁGINA PROYECTOS
==================================================*/

/* HERO */

.projects-hero {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url("../images/proyectos-cta.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

    .projects-hero .hero-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient( 90deg, rgba(7, 24, 44, .92) 0%, rgba(7, 24, 44, .80) 38%, rgba(7, 24, 44, .35) 66%, rgba(7, 24, 44, .08) 82%, rgba(7, 24, 44, 0) 100% );
    }

    .projects-hero .container {
        position: relative;
        z-index: 2;
    }

.projects-hero-content {
    max-width: 700px;
    color: #fff;
}

    .projects-hero-content h1 {
        margin: 10px 0 18px;
        color: #fff;
        font-size: clamp(2.8rem, 5vw, 4.7rem);
        line-height: 1.05;
        font-weight: 800;
    }

    .projects-hero-content p {
        max-width: 680px;
        margin: 0;
        color: #fff;
        font-size: 1.15rem;
        line-height: 1.75;
    }

/* ESTADÍSTICAS */

.projects-stats {
    padding: 0;
    background: var(--navy);
}

    .projects-stats .row {
        margin: 0;
    }

    .projects-stats .col-6,
    .projects-stats .col-md-3 {
        padding: 0;
    }

.stat-box {
    min-height: 175px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-right: 1px solid rgba(255, 255, 255, .20);
    text-align: center;
}

.projects-stats .row > div:last-child .stat-box {
    border-right: 0;
}

.stat-box h2 {
    margin: 0 0 8px;
    color: var(--red);
    font-size: 2.7rem;
    font-weight: 800;
}

.stat-box span {
    max-width: 170px;
    color: #fff;
    font-size: .88rem;
    line-height: 1.45;
    font-weight: 600;
    text-transform: uppercase;
}

/* GALERÍA */

.projects-gallery {
    padding: 80px 0;
    background: var(--light);
}

.section-title {
    margin-bottom: 35px;
    text-align: center;
}

    .section-title span {
        display: inline-block;
        color: var(--red);
        font-size: .84rem;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .section-title h2 {
        margin: 8px 0 0;
        color: var(--navy);
        font-size: clamp(2rem, 3.5vw, 2.8rem);
        font-weight: 800;
    }

.project-card {
    height: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 28px rgba(7, 24, 44, .08);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .project-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 16px 35px rgba(7, 24, 44, .14);
    }

    .project-card img {
        display: block;
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

.project-content {
    padding: 25px;
}

    .project-content h4 {
        margin: 0 0 12px;
        color: var(--navy);
        font-size: 1.22rem;
        font-weight: 800;
    }

    .project-content p {
        margin: 0;
        color: #5e6876;
        font-size: .92rem;
        line-height: 1.65;
    }

/* PROYECTO DESTACADO */

.featured-project {
    padding: 85px 0;
    background: #fff;
}

    .featured-project img {
        display: block;
        width: 100%;
        min-height: 430px;
        object-fit: cover;
        border-radius: 14px;
    }

    .featured-project h2 {
        margin: 12px 0 20px;
        color: var(--navy);
        font-size: clamp(2rem, 3vw, 2.8rem);
        font-weight: 800;
    }

    .featured-project p {
        margin-bottom: 25px;
        color: #596577;
        font-size: 1rem;
        line-height: 1.8;
    }

.project-list {
    margin: 0 0 30px;
    padding: 0;
    list-style: none;
}

    .project-list li {
        position: relative;
        margin-bottom: 13px;
        padding-left: 30px;
        color: var(--navy);
        font-weight: 600;
    }

        .project-list li::before {
            content: "\F26E";
            position: absolute;
            top: 0;
            left: 0;
            color: var(--red);
            font-family: "bootstrap-icons";
            font-size: 1.15rem;
        }

/* CTA */

.projects-cta {
    padding: 75px 0;
    color: #fff;
    background: linear-gradient( rgba(7, 24, 44, .90), rgba(7, 24, 44, .90) ), url("../images/proyectos-cta.png") center center / cover no-repeat;
}

    .projects-cta h2 {
        margin: 0 0 12px;
        color: #fff;
        font-size: clamp(2rem, 4vw, 3.2rem);
        font-weight: 800;
    }

    .projects-cta p {
        margin-bottom: 28px;
        color: rgba(255, 255, 255, .88);
        font-size: 1.1rem;
    }

    .projects-cta .btn-light {
        padding: 14px 30px;
        color: var(--navy);
        border: 0;
        border-radius: 8px;
        font-weight: 800;
        transition: .25s ease;
    }

        .projects-cta .btn-light:hover {
            color: #fff;
            background: var(--red);
            transform: translateY(-3px);
        }

/* TABLET */

@media (max-width: 991.98px) {

    .projects-hero {
        min-height: 350px;
        background-position: 62% center;
    }

        .projects-hero .hero-overlay {
            background: rgba(7, 24, 44, .60);
        }

    .projects-gallery {
        padding: 65px 0;
    }

    .featured-project {
        padding: 65px 0;
    }

        .featured-project img {
            min-height: 350px;
            margin-bottom: 35px;
        }

    .stat-box {
        min-height: 150px;
    }
}

/* MÓVIL */

@media (max-width: 767.98px) {

    .projects-hero {
        min-height: 330px;
        background-position: 67% center;
    }

    .projects-hero-content h1 {
        font-size: 2.45rem;
    }

    .projects-hero-content p {
        font-size: .95rem;
        line-height: 1.6;
    }

    .projects-stats .row > div:nth-child(2n) .stat-box {
        border-right: 0;
    }

    .stat-box {
        min-height: 135px;
        border-bottom: 1px solid rgba(255, 255, 255, .20);
    }

        .stat-box h2 {
            font-size: 2.2rem;
        }

    .projects-gallery {
        padding: 50px 0;
    }

    .project-card img {
        height: 220px;
    }

    .project-content {
        padding: 20px;
    }

    .featured-project {
        padding: 50px 0;
    }

        .featured-project img {
            min-height: 280px;
        }

    .projects-cta {
        padding: 55px 0;
    }
}

/* CELULAR PEQUEÑO */

@media (max-width: 575.98px) {

    .projects-hero {
        min-height: 350px;
    }

    .projects-hero-content h1 {
        font-size: 2.1rem;
    }

    .projects-stats .row > div .stat-box {
        border-right: 0;
    }

    .project-card img {
        height: 205px;
    }

    .featured-project img {
        min-height: 230px;
    }

    .featured-project .btn-brand,
    .projects-cta .btn-light {
        width: 100%;
    }
}
/*==================================================
                PÁGINA NOSOTROS
==================================================*/

/*================ HERO =================*/

.about-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url("../images/nosotros-banner.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(7, 24, 44, .92) 0%, rgba(7, 24, 44, .80) 38%, rgba(7, 24, 44, .40) 65%, rgba(7, 24, 44, .08) 84%, rgba(7, 24, 44, 0) 100% );
}

.about-hero .container {
    position: relative;
    z-index: 2;
}

.about-hero-content {
    max-width: 720px;
    color: #fff;
}

    .about-hero-content h1 {
        margin: 10px 0 18px;
        color: #fff;
        font-size: clamp(3rem, 5vw, 4.8rem);
        line-height: 1.05;
        font-weight: 800;
    }

    .about-hero-content p {
        max-width: 680px;
        margin: 0;
        color: #fff;
        font-size: 1.16rem;
        line-height: 1.75;
    }

/*================ QUIÉNES SOMOS =================*/

.about-intro {
    padding: 90px 0;
    background: #fff;
}

.about-image-box {
    position: relative;
    min-height: 520px;
}

    .about-image-box img {
        display: block;
        width: 100%;
        height: 520px;
        object-fit: cover;
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(7, 24, 44, .14);
    }

.about-experience-badge {
    position: absolute;
    right: -25px;
    bottom: 35px;
    display: flex;
    width: 185px;
    min-height: 150px;
    padding: 22px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--red);
    border: 6px solid #fff;
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(7, 24, 44, .18);
    text-align: center;
}

    .about-experience-badge strong {
        display: block;
        font-size: 3rem;
        line-height: 1;
        font-weight: 800;
    }

    .about-experience-badge span {
        margin-top: 8px;
        font-size: .82rem;
        line-height: 1.4;
        font-weight: 700;
        text-transform: uppercase;
    }

.about-intro h2 {
    margin: 14px 0 22px;
    color: var(--navy);
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
}

.about-intro p {
    margin-bottom: 18px;
    color: #5e6876;
    font-size: 1rem;
    line-height: 1.8;
}

.about-check-list {
    display: grid;
    gap: 14px;
    margin: 28px 0 32px;
}

    .about-check-list > div {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .about-check-list i {
        color: var(--red);
        font-size: 1.25rem;
    }

    .about-check-list span {
        color: var(--navy);
        font-weight: 600;
    }

/*================ MISIÓN Y VISIÓN =================*/

.about-purpose {
    padding: 85px 0;
    background: var(--light);
}

.purpose-card {
    height: 100%;
    padding: 38px 34px;
    background: #fff;
    border-top: 4px solid var(--red);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(7, 24, 44, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .purpose-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 18px 36px rgba(7, 24, 44, .13);
    }

.purpose-icon {
    display: grid;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    place-items: center;
    color: var(--red);
    background: rgba(221, 37, 41, .10);
    border-radius: 50%;
}

    .purpose-icon i {
        font-size: 2rem;
    }

.purpose-card h3 {
    margin-bottom: 16px;
    color: var(--navy);
    font-size: 1.55rem;
    font-weight: 800;
}

.purpose-card p {
    margin: 0;
    color: #5e6876;
    line-height: 1.8;
}

/*================ VALORES =================*/

.about-values {
    padding: 85px 0;
    background: #fff;
}

.value-card {
    height: 100%;
    padding: 32px 24px;
    background: #fff;
    border: 1px solid #e7eaf0;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(7, 24, 44, .06);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .value-card:hover {
        transform: translateY(-8px);
        border-color: rgba(221, 37, 41, .45);
        box-shadow: 0 16px 34px rgba(7, 24, 44, .12);
    }

    .value-card i {
        display: inline-flex;
        width: 72px;
        height: 72px;
        margin-bottom: 20px;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: var(--navy);
        border-radius: 50%;
        font-size: 2rem;
    }

    .value-card h3 {
        margin-bottom: 12px;
        color: var(--navy);
        font-size: 1.25rem;
        font-weight: 800;
    }

    .value-card p {
        margin: 0;
        color: #667181;
        font-size: .92rem;
        line-height: 1.7;
    }

/*================ CIFRAS =================*/

.about-stats {
    padding: 0;
    color: #fff;
    background: var(--navy);
}

    .about-stats .row {
        margin: 0;
    }

    .about-stats .col-6,
    .about-stats .col-lg-3 {
        padding: 0;
    }

.about-stat {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, .22);
    text-align: center;
}

.about-stats .row > div:last-child .about-stat {
    border-right: 0;
}

.about-stat strong {
    display: block;
    margin-bottom: 8px;
    color: var(--red);
    font-size: 2.8rem;
    line-height: 1;
    font-weight: 800;
}

.about-stat span {
    max-width: 180px;
    color: #fff;
    font-size: .86rem;
    line-height: 1.45;
    font-weight: 600;
    text-transform: uppercase;
}

/*================ EQUIPO =================*/

.about-team {
    padding: 90px 0;
    background: var(--light);
}

    .about-team h2 {
        margin: 14px 0 20px;
        color: var(--navy);
        font-size: clamp(2rem, 3.5vw, 3rem);
        line-height: 1.15;
        font-weight: 800;
    }

    .about-team p {
        margin-bottom: 24px;
        color: #5e6876;
        line-height: 1.8;
    }

.team-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

    .team-list li {
        position: relative;
        margin-bottom: 14px;
        padding-left: 31px;
        color: var(--navy);
        font-weight: 600;
    }

        .team-list li::before {
            content: "\F26E";
            position: absolute;
            top: 0;
            left: 0;
            color: var(--red);
            font-family: "bootstrap-icons";
            font-size: 1.15rem;
        }

.about-team-image {
    display: block;
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(7, 24, 44, .14);
}

/*================ CTA =================*/

.about-cta {
    padding: 80px 0;
    color: #fff;
    background: linear-gradient( rgba(7, 24, 44, .90), rgba(7, 24, 44, .90) ), url("../images/nosotros-cta.png") center center / cover no-repeat;
}

    .about-cta > .container > span {
        display: inline-block;
        margin-bottom: 10px;
        color: var(--red);
        font-size: .84rem;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .about-cta h2 {
        margin: 0 0 14px;
        color: #fff;
        font-size: clamp(2rem, 4vw, 3.2rem);
        font-weight: 800;
    }

    .about-cta p {
        margin-bottom: 28px;
        color: rgba(255, 255, 255, .88);
        font-size: 1.08rem;
    }

    .about-cta .btn-light {
        padding: 14px 30px;
        color: var(--navy);
        border: 0;
        border-radius: 8px;
        font-weight: 800;
        transition: .25s ease;
    }

        .about-cta .btn-light:hover {
            color: #fff;
            background: var(--red);
            transform: translateY(-3px);
        }

/*================ TABLET =================*/

@media (max-width: 991.98px) {

    .about-hero {
        min-height: 360px;
        background-position: 65% center;
    }

    .about-hero-overlay {
        background: rgba(7, 24, 44, .62);
    }

    .about-intro,
    .about-purpose,
    .about-values,
    .about-team {
        padding: 65px 0;
    }

    .about-image-box {
        min-height: auto;
        margin-bottom: 30px;
    }

        .about-image-box img {
            height: 420px;
        }

    .about-experience-badge {
        right: 20px;
        bottom: -25px;
    }

    .about-team-image {
        height: 420px;
        margin-top: 30px;
    }

    .about-stat {
        min-height: 155px;
    }
}

/*================ MÓVIL =================*/

@media (max-width: 767.98px) {

    .about-hero {
        min-height: 330px;
        background-position: 70% center;
    }

    .about-hero-content h1 {
        font-size: 2.5rem;
    }

    .about-hero-content p {
        font-size: .96rem;
        line-height: 1.6;
    }

    .about-image-box img {
        height: 320px;
    }

    .about-experience-badge {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        min-height: 110px;
        margin-top: 15px;
        border-width: 0;
    }

        .about-experience-badge strong {
            font-size: 2.4rem;
        }

    .purpose-card {
        padding: 30px 24px;
    }

    .value-card {
        padding: 28px 20px;
    }

    .about-stats .row > div:nth-child(2n) .about-stat {
        border-right: 0;
    }

    .about-stat {
        min-height: 140px;
        border-bottom: 1px solid rgba(255, 255, 255, .20);
    }

        .about-stat strong {
            font-size: 2.25rem;
        }

    .about-team-image {
        height: 320px;
    }

    .about-cta {
        padding: 60px 0;
    }
}

/*================ CELULAR PEQUEÑO =================*/

@media (max-width: 575.98px) {

    .about-hero {
        min-height: 350px;
    }

    .about-hero-content h1 {
        font-size: 2.15rem;
    }

    .about-intro,
    .about-purpose,
    .about-values,
    .about-team {
        padding: 50px 0;
    }

        .about-intro h2,
        .about-team h2 {
            font-size: 1.85rem;
        }

    .about-image-box img,
    .about-team-image {
        height: 260px;
    }

    .about-stats .row > div .about-stat {
        border-right: 0;
    }

    .about-intro .btn-brand,
    .about-cta .btn-light {
        width: 100%;
    }
}
/*==================================================
                PÁGINA BLOG
==================================================*/

/*================ HERO =================*/

.blog-hero {
    position: relative;
    min-height: 430px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: url("../images/blog-banner.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.blog-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(7, 24, 44, .92) 0%, rgba(7, 24, 44, .82) 36%, rgba(7, 24, 44, .42) 64%, rgba(7, 24, 44, .08) 84%, rgba(7, 24, 44, 0) 100% );
}

.blog-hero .container {
    position: relative;
    z-index: 2;
}

.blog-hero-content {
    max-width: 720px;
    color: #fff;
}

    .blog-hero-content h1 {
        margin: 10px 0 18px;
        color: #fff;
        font-size: clamp(3rem, 5vw, 4.8rem);
        line-height: 1.05;
        font-weight: 800;
    }

    .blog-hero-content p {
        max-width: 680px;
        margin: 0;
        color: #fff;
        font-size: 1.16rem;
        line-height: 1.75;
    }

/*================ DESTACADO =================*/

.blog-featured {
    padding: 85px 0 70px;
    background: #fff;
}

.featured-post {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(7, 24, 44, .11);
    overflow: hidden;
}

.featured-post-image {
    position: relative;
    height: 100%;
    min-height: 430px;
    overflow: hidden;
}

    .featured-post-image img {
        display: block;
        width: 100%;
        height: 100%;
        min-height: 430px;
        object-fit: cover;
        transition: transform .5s ease;
    }

.featured-post:hover .featured-post-image img {
    transform: scale(1.04);
}

.post-category {
    position: absolute;
    left: 24px;
    bottom: 24px;
    display: inline-flex;
    padding: 9px 14px;
    color: #fff;
    background: var(--red);
    border-radius: 6px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.featured-post-content {
    height: 100%;
    min-height: 430px;
    display: flex;
    padding: 45px;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
    color: #7b8491;
    font-size: .82rem;
}

    .post-meta span {
        display: inline-flex;
        align-items: center;
        gap: 7px;
    }

    .post-meta i {
        color: var(--red);
    }

.featured-post-content h2 {
    margin-bottom: 20px;
    color: var(--navy);
    font-size: clamp(2rem, 3vw, 2.8rem);
    line-height: 1.18;
    font-weight: 800;
}

.featured-post-content p {
    margin-bottom: 25px;
    color: #5f6876;
    line-height: 1.8;
}

/*================ ENLACE LEER MÁS =================*/

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    width: fit-content;
    color: var(--red);
    font-weight: 700;
    transition: gap .25s ease, color .25s ease;
}

    .blog-read-more:hover {
        gap: 13px;
        color: var(--red-dark);
    }

/*================ CATEGORÍAS =================*/

.blog-categories {
    padding: 0 0 35px;
    background: var(--light);
}

.blog-category-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.blog-category-button {
    padding: 11px 22px;
    color: var(--navy);
    background: #fff;
    border: 1px solid #dde2e8;
    border-radius: 999px;
    font-size: .84rem;
    font-weight: 700;
    transition: .25s ease;
}

    .blog-category-button:hover,
    .blog-category-button.active {
        color: #fff;
        background: var(--red);
        border-color: var(--red);
    }

/*================ ARTÍCULOS =================*/

.blog-posts {
    padding: 70px 0 85px;
    background: var(--light);
}

.blog-card {
    height: 100%;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(7, 24, 44, .08);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .blog-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 17px 38px rgba(7, 24, 44, .14);
    }

.blog-card-image {
    position: relative;
    height: 245px;
    overflow: hidden;
}

    .blog-card-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s ease;
    }

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-image span {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    padding: 7px 11px;
    color: #fff;
    background: var(--red);
    border-radius: 5px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
}

.blog-card-body {
    padding: 24px;
}

    .blog-card-body h3 {
        margin: 0 0 14px;
        color: var(--navy);
        font-size: 1.2rem;
        line-height: 1.35;
        font-weight: 800;
    }

    .blog-card-body p {
        margin-bottom: 20px;
        color: #606b7a;
        font-size: .91rem;
        line-height: 1.7;
    }

/*================ SUSCRIPCIÓN =================*/

.blog-newsletter {
    padding: 70px 0;
    background: #fff;
}

.blog-newsletter-box {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 50px;
    align-items: center;
    padding: 45px 50px;
    color: #fff;
    background: var(--navy);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(7, 24, 44, .15);
}

    .blog-newsletter-box h2 {
        margin: 10px 0 12px;
        color: #fff;
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        font-weight: 800;
    }

    .blog-newsletter-box p {
        margin: 0;
        color: rgba(255, 255, 255, .80);
        line-height: 1.7;
    }

.newsletter-form {
    display: flex;
    gap: 12px;
}

    .newsletter-form .form-control {
        min-height: 54px;
        border: 0;
        border-radius: 8px;
    }

        .newsletter-form .form-control:focus {
            box-shadow: 0 0 0 .2rem rgba(221, 37, 41, .20);
        }

    .newsletter-form .btn-brand {
        display: inline-flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        gap: 9px;
    }

/*================ CTA =================*/

.blog-cta {
    padding: 80px 0;
    color: #fff;
    background: linear-gradient( rgba(7, 24, 44, .90), rgba(7, 24, 44, .90) ), url("../images/blog-cta.png") center center / cover no-repeat;
}

    .blog-cta > .container > span {
        display: inline-block;
        margin-bottom: 10px;
        color: var(--red);
        font-size: .84rem;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .blog-cta h2 {
        margin: 0 0 14px;
        color: #fff;
        font-size: clamp(2rem, 4vw, 3.2rem);
        font-weight: 800;
    }

    .blog-cta p {
        margin-bottom: 28px;
        color: rgba(255, 255, 255, .88);
        font-size: 1.08rem;
    }

    .blog-cta .btn-light {
        padding: 14px 30px;
        color: var(--navy);
        border: 0;
        border-radius: 8px;
        font-weight: 800;
        transition: .25s ease;
    }

        .blog-cta .btn-light:hover {
            color: #fff;
            background: var(--red);
            transform: translateY(-3px);
        }

/*================ TABLET =================*/

@media (max-width: 991.98px) {

    .blog-hero {
        min-height: 360px;
        background-position: 65% center;
    }

    .blog-hero-overlay {
        background: rgba(7, 24, 44, .62);
    }

    .blog-featured {
        padding: 65px 0 55px;
    }

    .featured-post-image,
    .featured-post-image img {
        min-height: 360px;
    }

    .featured-post-content {
        min-height: auto;
        padding: 35px;
    }

    .blog-newsletter-box {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/*================ MÓVIL =================*/

@media (max-width: 767.98px) {

    .blog-hero {
        min-height: 330px;
        background-position: 70% center;
    }

    .blog-hero-content h1 {
        font-size: 2.5rem;
    }

    .blog-hero-content p {
        font-size: .96rem;
        line-height: 1.6;
    }

    .featured-post-image,
    .featured-post-image img {
        min-height: 280px;
    }

    .featured-post-content {
        padding: 28px 24px;
    }

    .blog-category-list {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 8px;
    }

    .blog-category-button {
        flex-shrink: 0;
    }

    .blog-card-image {
        height: 220px;
    }

    .blog-newsletter-box {
        padding: 32px 25px;
    }

    .newsletter-form {
        flex-direction: column;
    }

        .newsletter-form .btn-brand {
            width: 100%;
        }

    .blog-cta {
        padding: 60px 0;
    }
}

/*================ CELULAR PEQUEÑO =================*/

@media (max-width: 575.98px) {

    .blog-hero {
        min-height: 350px;
    }

    .blog-hero-content h1 {
        font-size: 2.15rem;
    }

    .blog-featured,
    .blog-posts,
    .blog-newsletter {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .featured-post-image,
    .featured-post-image img {
        min-height: 235px;
    }

    .featured-post-content {
        padding: 24px 20px;
    }

    .blog-card-image {
        height: 205px;
    }

    .blog-card-body {
        padding: 20px;
    }

    .blog-newsletter-box {
        padding: 28px 20px;
    }

    .blog-cta .btn-light {
        width: 100%;
    }
}
/*==========================================
=            DETALLE BLOG
==========================================*/

.article-hero {
    background: #0b1b33;
    color: #fff;
    padding: 120px 0 70px;
}

.article-category {
    display: inline-block;
    background: #ef2d2d;
    color: #fff;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.article-hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 15px;
    color: #d9d9d9;
}

    .article-meta span {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .article-meta i {
        color: #ef2d2d;
    }

.article-image {
    margin-top: -30px;
}

    .article-image img {
        width: 100%;
        height: 650px;
        object-fit: cover;
        display: block;
    }

.article-content {
    padding: 90px 0;
}

    .article-content .lead {
        font-size: 22px;
        line-height: 1.8;
        color: #4c5a72;
        margin-bottom: 45px;
    }

    .article-content h2 {
        font-size: 34px;
        font-weight: 800;
        color: #081a33;
        margin-bottom: 20px;
    }

    .article-content p {
        color: #5f6b7a;
        font-size: 18px;
        line-height: 1.9;
        margin-bottom: 30px;
    }

    .article-content img {
        width: 100%;
        border-radius: 18px;
        margin: 30px 0 50px;
    }

/* BENEFICIOS */

.article-benefit {
    display: flex;
    gap: 18px;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,.08);
    height: 100%;
}

    .article-benefit i {
        font-size: 34px;
        color: #ef2d2d;
    }

    .article-benefit h5 {
        font-size: 20px;
        font-weight: 700;
        color: #081a33;
        margin-bottom: 8px;
    }

    .article-benefit p {
        margin: 0;
        font-size: 15px;
    }

/* NOTA */

.article-note {
    display: flex;
    gap: 20px;
    background: #fff6f6;
    border-left: 6px solid #ef2d2d;
    padding: 30px;
    border-radius: 14px;
    margin: 60px 0;
}

    .article-note i {
        font-size: 38px;
        color: #ef2d2d;
    }

    .article-note strong {
        display: block;
        color: #081a33;
        margin-bottom: 8px;
    }

    .article-note p {
        margin: 0;
    }

/* COMPARTIR */

.article-share {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 18px;
}

    .article-share span {
        font-weight: 700;
        color: #081a33;
    }

    .article-share a {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #ef2d2d;
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        transition: .35s;
    }

        .article-share a:hover {
            transform: translateY(-5px);
            background: #081a33;
        }

/* SIDEBAR */

.article-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-box {
    background: #fff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    margin-bottom: 30px;
}

    .sidebar-box h4 {
        font-size: 24px;
        font-weight: 800;
        color: #081a33;
        margin-bottom: 25px;
    }

    .sidebar-box a {
        display: block;
        color: #081a33;
        text-decoration: none;
        padding: 16px 0;
        border-bottom: 1px solid #ececec;
        transition: .3s;
    }

        .sidebar-box a:last-child {
            border: none;
        }

        .sidebar-box a:hover {
            color: #ef2d2d;
            padding-left: 10px;
        }

.sidebar-cta {
    background: #ef2d2d;
    color: #fff;
    padding: 40px;
    border-radius: 20px;
}

    .sidebar-cta h3 {
        font-size: 30px;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .sidebar-cta p {
        color: #fff;
        margin-bottom: 25px;
    }

    .sidebar-cta .btn {
        width: 100%;
    }

/* GALERÍA */

.article-gallery {
    background: #f7f9fc;
    padding: 90px 0;
}

    .article-gallery h2 {
        text-align: center;
        font-size: 40px;
        font-weight: 800;
        color: #081a33;
        margin-bottom: 60px;
    }

    .article-gallery img {
        width: 100%;
        height: 280px;
        object-fit: cover;
        border-radius: 18px;
        transition: .4s;
    }

        .article-gallery img:hover {
            transform: scale(1.04);
        }

/* CTA FINAL */

.article-final {
    background: #081a33;
    color: #fff;
    padding: 90px 0;
}

    .article-final h2 {
        font-size: 44px;
        font-weight: 800;
        margin-bottom: 20px;
    }

    .article-final p {
        color: #d5d5d5;
        font-size: 18px;
        max-width: 760px;
        margin: 0 auto 35px;
    }

    .article-final .btn {
        padding: 15px 40px;
        font-weight: 700;
        border-radius: 12px;
    }

/* RESPONSIVE */

@media(max-width:992px) {

    .article-hero {
        padding: 90px 0 60px;
    }

        .article-hero h1 {
            font-size: 38px;
        }

    .article-image img {
        height: 350px;
    }

    .article-sidebar {
        position: static;
        margin-top: 50px;
    }

    .article-gallery img {
        height: 220px;
    }

    .article-final h2 {
        font-size: 34px;
    }
}

@media(max-width:768px) {

    .article-meta {
        gap: 12px;
        flex-direction: column;
    }

    .article-content {
        padding: 60px 0;
    }

        .article-content h2 {
            font-size: 28px;
        }

        .article-content .lead {
            font-size: 19px;
        }

    .article-benefit {
        flex-direction: column;
        text-align: center;
    }

    .article-note {
        flex-direction: column;
        text-align: center;
    }

    .article-gallery {
        padding: 60px 0;
    }

        .article-gallery h2 {
            font-size: 32px;
        }

    .article-final {
        padding: 60px 0;
    }
}
/*==================================================
                PÁGINA SERVICIOS
==================================================*/

/*================ HERO =================*/

.services-hero {
    position: relative;
    display: flex;
    min-height: 430px;
    align-items: center;
    overflow: hidden;
    background-image: url("../images/servicios-banner.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
}

.services-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(7, 24, 44, .92) 0%, rgba(7, 24, 44, .82) 36%, rgba(7, 24, 44, .42) 64%, rgba(7, 24, 44, .08) 84%, rgba(7, 24, 44, 0) 100% );
}

.services-hero .container {
    position: relative;
    z-index: 2;
}

.services-hero-content {
    max-width: 720px;
    color: #ffffff;
}

    .services-hero-content h1 {
        margin: 10px 0 18px;
        color: #ffffff;
        font-size: clamp(3rem, 5vw, 4.8rem);
        line-height: 1.05;
        font-weight: 800;
    }

    .services-hero-content p {
        max-width: 680px;
        margin: 0 0 28px;
        color: #ffffff;
        font-size: 1.16rem;
        line-height: 1.75;
    }

/*================ INTRO =================*/

.services-intro {
    padding: 75px 0 35px;
    background: #ffffff;
}

    .services-intro .section-title {
        max-width: 860px;
        margin: 0 auto;
        text-align: center;
    }

        .services-intro .section-title p {
            max-width: 760px;
            margin: 18px auto 0;
            color: #667181;
            font-size: 1rem;
            line-height: 1.8;
        }

/*================ SERVICIOS PRINCIPALES =================*/

.services-main {
    padding: 35px 0 90px;
    background: #ffffff;
}

.service-detail-card {
    position: relative;
    display: flex;
    height: 100%;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e6e9ee;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(7, 24, 44, .08);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .service-detail-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 18px 38px rgba(7, 24, 44, .14);
    }

/* Imagen */

.service-detail-image {
    position: relative;
    height: 230px;
    flex-shrink: 0;
    overflow: hidden;
}

    .service-detail-image img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .45s ease;
    }

.service-detail-card:hover .service-detail-image img {
    transform: scale(1.05);
}

/* Oscurecimiento ligero en la imagen */

.service-detail-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient( to top, rgba(7, 24, 44, .38) 0%, rgba(7, 24, 44, 0) 48% );
}

/* Ícono corregido: totalmente dentro de la imagen */

.service-detail-icon {
    position: absolute;
    left: 22px;
    bottom: 16px;
    z-index: 3;
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(7, 24, 44, .94);
    border: 3px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(7, 24, 44, .25);
}

    .service-detail-icon i {
        color: #ffffff;
        font-size: 1.55rem;
        line-height: 1;
    }

/* Contenido */

.service-detail-body {
    display: flex;
    padding: 28px 24px 26px;
    flex: 1;
    flex-direction: column;
}

    .service-detail-body h3 {
        margin: 0 0 14px;
        color: var(--navy);
        font-size: 1.3rem;
        line-height: 1.3;
        font-weight: 800;
    }

    .service-detail-body p {
        margin: 0 0 22px;
        color: #606b79;
        font-size: .92rem;
        line-height: 1.7;
    }

    .service-detail-body ul {
        margin: auto 0 24px;
        padding: 0;
        list-style: none;
    }

    .service-detail-body li {
        position: relative;
        margin-bottom: 10px;
        padding-left: 24px;
        color: var(--navy);
        font-size: .86rem;
        line-height: 1.5;
        font-weight: 600;
    }

        .service-detail-body li:last-child {
            margin-bottom: 0;
        }

        .service-detail-body li::before {
            content: "\F26E";
            position: absolute;
            top: 0;
            left: 0;
            color: var(--red);
            font-family: "bootstrap-icons";
            font-size: .95rem;
        }

/* Enlace */

.service-detail-link {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 9px;
    color: var(--red);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: gap .25s ease, color .25s ease;
}

    .service-detail-link i {
        line-height: 1;
        transition: transform .25s ease;
    }

    .service-detail-link:hover {
        gap: 13px;
        color: var(--red-dark);
    }

        .service-detail-link:hover i {
            transform: translateX(3px);
        }

/*================ PROCESO =================*/

.services-process {
    padding: 85px 0;
    background: var(--light);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 26px;
    margin-top: 40px;
}

.process-item {
    position: relative;
    min-height: 270px;
    padding: 32px 24px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 10px 26px rgba(7, 24, 44, .08);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .process-item:hover {
        transform: translateY(-7px);
        box-shadow: 0 16px 34px rgba(7, 24, 44, .13);
    }

.process-number {
    position: absolute;
    top: 16px;
    right: 18px;
    color: rgba(221, 37, 41, .16);
    font-size: 2.4rem;
    line-height: 1;
    font-weight: 800;
}

.process-icon {
    display: grid;
    width: 74px;
    height: 74px;
    margin: 10px auto 22px;
    place-items: center;
    color: #ffffff;
    background: var(--navy);
    border-radius: 50%;
}

    .process-icon i {
        font-size: 2rem;
    }

.process-item h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 1.2rem;
    font-weight: 800;
}

.process-item p {
    margin: 0;
    color: #677282;
    font-size: .9rem;
    line-height: 1.7;
}

/*================ BENEFICIOS =================*/

.services-benefits {
    padding: 90px 0;
    background: #ffffff;
}

.services-benefits-image {
    display: block;
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(7, 24, 44, .14);
}

.services-benefits h2 {
    margin: 14px 0 20px;
    color: var(--navy);
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.15;
    font-weight: 800;
}

.services-benefits > .container p,
.services-benefits .col-lg-6 > p {
    margin-bottom: 26px;
    color: #5f6978;
    line-height: 1.8;
}

.services-benefit-list {
    display: grid;
    gap: 18px;
}

    .services-benefit-list > div {
        display: flex;
        align-items: flex-start;
        gap: 16px;
        padding: 20px;
        background: var(--light);
        border-radius: 12px;
        transition: transform .25s ease, box-shadow .25s ease;
    }

        .services-benefit-list > div:hover {
            transform: translateX(5px);
            box-shadow: 0 8px 22px rgba(7, 24, 44, .08);
        }

    .services-benefit-list i {
        display: grid;
        width: 52px;
        height: 52px;
        flex-shrink: 0;
        place-items: center;
        color: #ffffff;
        background: var(--red);
        border-radius: 50%;
        font-size: 1.3rem;
    }

    .services-benefit-list strong {
        display: block;
        margin-bottom: 5px;
        color: var(--navy);
        font-size: 1rem;
    }

    .services-benefit-list span {
        display: block;
        color: #667181;
        font-size: .88rem;
        line-height: 1.6;
    }

/*================ TIPOS DE PROYECTOS =================*/

.services-project-types {
    padding: 85px 0;
    background: var(--light);
}

.project-type-card {
    height: 100%;
    padding: 32px 24px;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(7, 24, 44, .08);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

    .project-type-card:hover {
        transform: translateY(-8px);
        border-color: rgba(221, 37, 41, .35);
        box-shadow: 0 16px 34px rgba(7, 24, 44, .13);
    }

    .project-type-card i {
        display: inline-flex;
        width: 76px;
        height: 76px;
        margin-bottom: 20px;
        align-items: center;
        justify-content: center;
        color: var(--red);
        background: rgba(221, 37, 41, .10);
        border-radius: 50%;
        font-size: 2rem;
        transition: color .3s ease, background .3s ease;
    }

    .project-type-card:hover i {
        color: #ffffff;
        background: var(--red);
    }

    .project-type-card h3 {
        margin-bottom: 12px;
        color: var(--navy);
        font-size: 1.22rem;
        font-weight: 800;
    }

    .project-type-card p {
        margin: 0;
        color: #667181;
        font-size: .9rem;
        line-height: 1.7;
    }

/*================ CTA =================*/

.services-cta {
    padding: 80px 0;
    color: #ffffff;
    background: linear-gradient( rgba(7, 24, 44, .90), rgba(7, 24, 44, .90) ), url("../images/servicios-cta.png") center center / cover no-repeat;
}

    .services-cta > .container > span {
        display: inline-block;
        margin-bottom: 10px;
        color: var(--red);
        font-size: .84rem;
        font-weight: 700;
        letter-spacing: 2px;
    }

    .services-cta h2 {
        margin: 0 0 14px;
        color: #ffffff;
        font-size: clamp(2rem, 4vw, 3.2rem);
        font-weight: 800;
    }

    .services-cta p {
        max-width: 760px;
        margin: 0 auto 28px;
        color: rgba(255, 255, 255, .88);
        font-size: 1.08rem;
        line-height: 1.7;
    }

    .services-cta .btn-light {
        padding: 14px 30px;
        color: var(--navy);
        background: #ffffff;
        border: 0;
        border-radius: 8px;
        font-weight: 800;
        transition: color .25s ease, background .25s ease, transform .25s ease;
    }

        .services-cta .btn-light:hover {
            color: #ffffff;
            background: var(--red);
            transform: translateY(-3px);
        }

/*==================================================
                    TABLET
==================================================*/

@media (max-width: 991.98px) {

    .services-hero {
        min-height: 360px;
        background-position: 65% center;
    }

    .services-hero-overlay {
        background: rgba(7, 24, 44, .62);
    }

    .services-main,
    .services-process,
    .services-benefits,
    .services-project-types {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .service-detail-image {
        height: 240px;
    }

    .service-detail-body p {
        min-height: auto;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-benefits-image {
        height: 420px;
        margin-bottom: 30px;
    }
}

/*==================================================
                    MÓVIL
==================================================*/

@media (max-width: 767.98px) {

    .services-hero {
        min-height: 330px;
        background-position: 70% center;
    }

    .services-hero-content {
        max-width: 100%;
    }

        .services-hero-content h1 {
            font-size: 2.5rem;
        }

        .services-hero-content p {
            font-size: .96rem;
            line-height: 1.6;
        }

    .services-intro {
        padding: 55px 0 25px;
    }

    .services-main {
        padding-top: 25px;
    }

    .service-detail-image {
        height: 230px;
    }

    .service-detail-icon {
        left: 18px;
        bottom: 14px;
        width: 54px;
        height: 54px;
    }

        .service-detail-icon i {
            font-size: 1.45rem;
        }

    .service-detail-body {
        padding: 25px 20px 24px;
    }

        .service-detail-body h3 {
            font-size: 1.2rem;
        }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-item {
        min-height: auto;
    }

    .services-benefits-image {
        height: 320px;
    }

    .services-benefit-list > div {
        padding: 17px;
    }

    .services-cta {
        padding: 60px 0;
    }
}

/*==================================================
                CELULAR PEQUEÑO
==================================================*/

@media (max-width: 575.98px) {

    .services-hero {
        min-height: 350px;
    }

    .services-hero-content h1 {
        font-size: 2.15rem;
    }

    .services-main,
    .services-process,
    .services-benefits,
    .services-project-types {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    .service-detail-image {
        height: 215px;
    }

    .service-detail-icon {
        left: 16px;
        bottom: 12px;
        width: 50px;
        height: 50px;
    }

        .service-detail-icon i {
            font-size: 1.3rem;
        }

    .service-detail-body {
        padding: 24px 18px 22px;
    }

    .services-benefits-image {
        height: 260px;
    }

    .services-benefit-list > div {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .services-benefit-list i {
        margin: 0 auto;
    }

    .services-hero .btn-brand,
    .services-cta .btn-light {
        width: 100%;
    }
}

.mobile-menu-links a.active {
    color: var(--red);
    font-weight: 800;
}

    .mobile-menu-links a.active::before {
        content: "";
        width: 4px;
        height: 24px;
        margin-right: 10px;
        background: var(--red);
        border-radius: 4px;
    }
