* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f4f4f4;
    overflow-x: hidden;
}

/* =========================================================
NAVBAR
========================================================= */

.navbar-custom {
    background: #000020;
    padding: 20px 0;
    transition: 0.3s ease;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-box {
    display: flex;
    align-items: center;
    color: white;
}

.nav-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -4px;
    text-align: center;
}

.logo-text span {
    letter-spacing: 0;
}

.logo-text .light {
    color: white;
}

.logo-text .blue {
    color: #1E40AF;
}

.logo-subtitle {
    color: white;
    font-size: 11px;
    line-height: 1.2;
    margin-left: 15px;
    max-width: 140px;
}

.gear-icon {
    color: #F59E0B;
    font-size: 32px;
}

.navbar-nav {
    margin-left: auto;
    align-items: center;
    gap: 18px;
}

.nav-link {
    color: white !important;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    position: relative;
    transition: 0.3s ease;
    padding: 8px 0 !important;
}

.nav-link:hover {
    color: #F59E0B !important;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #F59E0B;
    transition: 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}

.btn-contacto {
    background: #F59E0B;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s ease;
}

.btn-contacto:hover {
    background: #d88b00;
    transform: translateY(-2px);
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler i {
    color: white;
    font-size: 28px;
}

/* =========================================================
SECCIÓN PROYECTOS
========================================================= */

.projects-section {
    padding: 230px 0 90px;
    background: #f5f7fb;
}

/* GRID */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* TARJETAS */
.project-card {
    background: white;
    border-radius: 14px;
    padding: 28px 24px;
    border: 1px solid #edf1f6;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);

    display: flex;
    gap: 18px;

    transition: 0.35s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 35px rgba(0,0,0,0.08);
    border-color: rgba(245,158,11,0.25);
}

.project-icon i {
    font-size: 52px;
    color: #000020;
    transition: 0.35s ease;
    line-height: 1;
}

.project-card:hover .project-icon i {
    color: #F59E0B;
    transform: scale(1.05);
}

.project-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0D2E59;
    line-height: 1.4;
    margin-bottom: 10px;
}

.project-line {
    width: 45px;
    height: 4px;
    background: #F59E0B;
    border-radius: 20px;
    margin-bottom: 14px;
}

.project-content p {
    font-size: 14px;
    line-height: 1.8;
    color: #5d6881;
    margin: 0;
}

/* =========================================================
CTA
========================================================= */

.projects-cta {
    margin-top: 40px;

    background:#000020;

    border-radius: 14px;
    padding: 30px 35px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.projects-cta-left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.projects-cta-icon {
    width: 85px;
    height: 85px;

    border-radius: 16px;

    background: rgba(255,255,255,0.05);

    display: flex;
    align-items: center;
    justify-content: center;
}

.projects-cta-icon i {
    font-size: 42px;
    color: #F59E0B;
}

.projects-cta-left h4 {
    color: white;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 8px;
}

.projects-cta-left p {
    color: rgba(255,255,255,0.78);
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
}

.projects-cta-btn {
    background: #F59E0B;
    color: white;
    text-decoration: none;

    padding: 16px 32px;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    display: flex;
    align-items: center;
    gap: 10px;

    transition: 0.3s ease;
    white-space: nowrap;
}

.projects-cta-btn:hover {
    background: #d88b00;
    transform: translateY(-2px);
    color: white;
}

/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media (max-width: 992px) {

    .projects-section {
        padding: 210px 0 85px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .projects-cta-left h4 {
        font-size: 24px;
    }

}

@media (max-width: 768px) {

    .projects-section {
        padding: 200px 0 75px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .project-line {
        margin: 0 auto 14px;
    }

    .projects-cta {
        padding: 30px 25px;
        text-align: center;
        align-items: center;
    }

    .projects-cta-left {
        flex-direction: column;
        text-align: center;
    }

    .projects-cta-left h4 {
        font-size: 22px;
    }

    .projects-cta-btn {
        width: 100%;
        justify-content: center;
    }

}

@media (max-width: 576px) {

    .projects-section {
        padding: 180px 0 70px;
    }

    .project-content h3 {
        font-size: 18px;
    }

    .project-content p {
        font-size: 14px;
    }

    .projects-cta-left h4 {
        font-size: 20px;
    }

    .projects-cta-left p {
        font-size: 14px;
    }

}

@media (max-width: 380px) {

    .projects-section {
        padding: 170px 0 60px;
    }

}








/* =========================================================
CARRUSEL DE MARCAS - FONDO BLANCO Y MISMAS DIMENSIONES
========================================================= */

.brands-section {
    background: linear-gradient(to bottom, #f7f9fc, #eef2f7);
    padding: 90px 0;
    overflow: hidden;
}

.brands-title {
    font-size: 42px;
    font-weight: 700;
    color: #0D2E59;
    margin-bottom: 10px;
}

.brands-subtitle {
    color: #5d6881;
    font-size: 16px;
    margin-bottom: 18px;
}

.title-line {
    width: 80px;
    height: 4px;
    background: #F59E0B;
    margin: auto;
    border-radius: 30px;
}

.brands-carousel-box {
    margin-top: 60px;
    background: white;
    border-radius: 28px;
    padding: 60px 80px 80px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: visible;
}

.brands-wrapper {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    align-items: center;
}

/* Tarjeta con fondo blanco forzado */
.brand-card {
    width: 100%;
    height: 140px;
    background: #ffffff !important;  /* Fondo blanco absoluto */
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px solid #edf2f7;
    transition: 0.35s ease;
    overflow: hidden;
    cursor: pointer;
    /* Elimina cualquier posible degradado o sombra interna gris */
    box-shadow: none;
}

.brand-card:hover {
    transform: translateY(-2px);
    border-color: #F59E0B;
    box-shadow: 0 14px 30px rgba(13, 46, 89, 0.12);
}

/* Todas las imágenes: mismo tamaño de contenedor, fondo blanco, sin grises */
.brand-card img {
    width: auto;
    height: auto;
    max-width: 130px;
    max-height: 85px;
    min-width: 80px;
    object-fit: contain;
    object-position: center;
    background: #ffffff !important;  /* Fondo blanco incluso si la imagen es transparente */
    display: block;
    transition: 0.35s ease;
    filter: none;
    /* Elimina cualquier borde o sombra gris heredado */
    border: none;
    box-shadow: none;
}

.brand-card:hover img {
    transform: scale(1.05);
}

/* Flechas del carrusel de marcas */
.brands-section .carousel-control-prev,
.brands-section .carousel-control-next {
    width: auto;
    opacity: 1;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: transparent;
    border: none;
}

.brands-section .carousel-control-prev {
    left: -60px;
}

.brands-section .carousel-control-next {
    right: -60px;
}

.custom-arrow-box {
    width: 58px;
    height: 58px;
    background: #0D2E59;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.custom-arrow-box:hover {
    background: #e68a00;
    transform: scale(1.08);
    box-shadow: 0 15px 30px rgba(245, 158, 11, 0.3);
}

.brands-section .carousel-control-prev-icon,
.brands-section .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
    background-color: transparent;
    filter: brightness(0) invert(1);
    display: inline-block;
}

.brands-section .carousel-indicators {
    bottom: -65px;
    margin-bottom: 0;
}

.brands-section .carousel-indicators button {
    width: 13px !important;
    height: 13px !important;
    border-radius: 50%;
    background: #c8d0dc !important;
    border: none !important;
    margin: 0 6px !important;
    opacity: 1;
}

.brands-section .carousel-indicators .active {
    background: #F59E0B !important;
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 1200px) {
    .brands-carousel-box {
        padding: 50px 60px 70px;
    }
    .brands-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .brands-section .carousel-control-prev {
        left: -40px;
    }
    .brands-section .carousel-control-next {
        right: -40px;
    }
}

@media (max-width: 992px) {
    .brands-carousel-box {
        padding: 40px 40px 70px;
    }
    .brands-wrapper {
        gap: 18px;
    }
    .brand-card {
        height: 120px;
        padding: 15px;
    }
    .brand-card img {
        max-width: 100px;
        max-height: 70px;
        min-width: 70px;
    }
}

@media (max-width: 768px) {
    .brands-carousel-box {
        padding: 35px 55px 80px;
    }
    .brands-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .brand-card {
        height: 110px;
        padding: 15px;
    }
    .brands-title {
        font-size: 30px;
    }
    .brand-card img {
        max-width: 90px;
        max-height: 65px;
        min-width: 60px;
    }
    .brands-section .carousel-control-prev {
        left: -20px;
    }
    .brands-section .carousel-control-next {
        right: -20px;
    }
    .custom-arrow-box {
        width: 45px;
        height: 45px;
    }
    .brands-section .carousel-control-prev-icon,
    .brands-section .carousel-control-next-icon {
        width: 1.2rem;
        height: 1.2rem;
    }
}

@media (max-width: 576px) {
    .brands-carousel-box {
        padding: 30px 30px 70px;
    }
    .brands-wrapper {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    .brand-card {
        height: 100px;
        padding: 12px;
    }
    .brand-card img {
        max-width: 110px;
        max-height: 70px;
        min-width: 80px;
    }
    .brands-section .carousel-control-prev {
        left: -15px;
    }
    .brands-section .carousel-control-next {
        right: -15px;
    }
    .custom-arrow-box {
        width: 38px;
        height: 38px;
    }
}

/* =========================================================
FOOTER
========================================================= */

.footer-custom {
    background: #000020;
    color: white;
}

.footer-text {
    color: #d6d6d6;
    font-size: 14px;
    line-height: 1.8;
}

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #F59E0B;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #dcdcdc;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #F59E0B;
    padding-left: 5px;
}

.footer-contact p {
    font-size: 14px;
    color: #dcdcdc;
    margin-bottom: 10px;
}

.footer-contact i {
    color: #F59E0B;
    margin-right: 8px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #1E40AF;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: 0.3s ease;
}

.social-icons a:hover {
    background: #F59E0B;
    color: #052247;
    transform: translateY(-3px);
}

.footer-bottom {
    background: #000020;
    font-size: 13px;
    color: #cfcfcf;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* ========== BOTÓN DE WHATSAPP FLOTANTE ========== */
.whatsapp-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999;
}

.btn-whatsapp-float {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: none;
    cursor: pointer;
}

.btn-whatsapp-float i {
    font-size: 2rem;
}

.btn-whatsapp-float:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, #20b859 0%, #0e6e5e 100%);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%);
    background: #1C2E3A;
    color: white;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease, right 0.25s ease;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid #1C2E3A;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.whatsapp-container:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    right: 85px;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.btn-whatsapp-float {
    animation: pulse-whatsapp 1.8s infinite;
}

@media (max-width: 500px) {
    .maintenance-container {
        padding: 2rem 1.25rem;
    }
    h1 {
        font-size: 1.6rem;
    }
    .logo-img {
        max-width: 120px;
    }
    .whatsapp-container {
        bottom: 18px;
        right: 18px;
    }
    .btn-whatsapp-float {
        width: 55px;
        height: 55px;
    }
    .btn-whatsapp-float i {
        font-size: 1.8rem;
    }
    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 380px) {
    .btn-whatsapp-float {
        width: 50px;
        height: 50px;
    }
    .btn-whatsapp-float i {
        font-size: 1.6rem;
    }
}