* {
    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;
}

/* =========================================================
HERO SECTION
========================================================= */

.hero-section {
    margin-top: 85px;
}

.hero-carousel .carousel-item {
    height: 88vh;
    min-height: 650px;
    position: relative;
}

.hero-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-content {
    max-width: 850px;
    color: white;
    animation: fadeUp 1s ease;
}

.hero-subtitle {
    display: inline-block;
    color: #F59E0B;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 68px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    color: #f1f1f1;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-btn {
    background: #F59E0B;
    color: white;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s ease;
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.35);
}

.hero-btn:hover {
    background: #d88a00;
    transform: translateY(-3px);
    color: white;
}

/* =========================================================
FLECHAS HERO
========================================================= */

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 7%;
    opacity: 1;
}

.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: rgba(160, 160, 160, 0.65);
    background-size: 22px;
    transition: 0.3s ease;
}

.hero-carousel .carousel-control-prev:hover .carousel-control-prev-icon,
.hero-carousel .carousel-control-next:hover .carousel-control-next-icon {
    background-color: #F59E0B;
    transform: scale(1.08);
}

.hero-carousel .carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    background: #ffffff !important;
    opacity: 0.5;
    border: none !important;
}

.hero-carousel .carousel-indicators .active {
    background: #F59E0B !important;
    opacity: 1;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* =========================================================
SECCIÓN SERVICIOS DESTACADOS
========================================================= */

.services-highlight {
    padding: 80px 0;
    background: transparent;
}

.services-box {
    background:#000020;

    border-radius: 24px;
    padding: 45px 35px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 15px 40px rgba(0,0,0,0.15),
        inset 0 0 0 1px rgba(255,255,255,0.04);
}

/* Línea interior elegante */
.services-box::before {
    content: "";
    position: absolute;
    inset: 15px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.12);
    pointer-events: none;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 10px 25px;
    position: relative;
}

/* Separadores */
.service-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    right: 0;
    width: 1px;
    height: 85%;
    background: rgba(255,255,255,0.15);
}

.service-icon i {
    font-size: 72px;
    color: #0d6efd;
    line-height: 1;
    transition: 0.35s ease;
}

.service-item:hover .service-icon i {
    transform: scale(1.05);
    color: #3b82f6;
}

.service-info h3 {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 14px;
    letter-spacing: 1px;
}

.service-info p {
    color: rgba(255,255,255,0.82);
    font-size: 18px;
    line-height: 1.8;
    margin: 0;
    max-width: 320px;
}

/* Línea amarilla */
.service-line {
    display: block;
    width: 65px;
    height: 4px;
    background: #F59E0B;
    border-radius: 30px;
    margin-top: 22px;
}

/* Hover elegante */
.service-item:hover {
    transform: translateY(-3px);
    transition: 0.35s ease;
}

/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 1200px) {

    .service-info h3 {
        font-size: 28px;
    }

    .service-info p {
        font-size: 16px;
    }

    .service-icon i {
        font-size: 60px;
    }

}

@media (max-width: 992px) {

    .services-box {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 40px 30px;
    }

    .service-item {
        padding: 0;
    }

    .service-item:not(:last-child)::after {
        width: 100%;
        height: 1px;
        top: auto;
        bottom: -18px;
        right: auto;
        left: 0;
    }

}

@media (max-width: 768px) {

    .services-highlight {
        padding: 60px 0;
    }

    .services-box {
        border-radius: 20px;
        padding: 35px 25px;
    }

    .service-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 18px;
    }

    .service-info p {
        max-width: 100%;
    }

    .service-line {
        margin: 20px auto 0;
    }

    .service-icon i {
        font-size: 55px;
    }

    .service-info h3 {
        font-size: 24px;
    }

}

@media (max-width: 576px) {

    .services-box {
        padding: 30px 20px;
    }

    .service-info h3 {
        font-size: 21px;
    }

    .service-info p {
        font-size: 15px;
        line-height: 1.7;
    }

    .service-icon i {
        font-size: 48px;
    }

}


/* =========================================================
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;
    }
}