html, body {
    overflow-x: hidden;
    width: 100%;
}

.gradient-cta-blue {
    background: linear-gradient(135deg, #1774FF 0%, #0A45D8 100%);
    padding-top: 130px !important;
    padding-bottom: 3rem;
}

/* ==============================================
   COMPONENTES GLOBALES Y BOTONES
=============================================== */
.btn-success {
    background: linear-gradient(to right, #25D366, #1da851) !important;
    border: none !important;
}
.btn-success:hover {
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4) !important;
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%) !important;
    border: none !important;
    color: white !important;
}
.btn-warning:hover {
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.4) !important;
    transform: translateY(-2px);
}

.gradient-cta-blue {
    background: linear-gradient(135deg, #1774FF 0%, #0A45D8 100%);
}

/* ==============================================
   CARRUSEL DE MARCAS (MARQUEE)
=============================================== */
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    gap: 8rem;
    padding-left: 8rem;
}

.marquee-content img {
    height: 50px;
    object-fit: contain;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@media (max-width: 768px) {
    .marquee-content {
        gap: 4rem;
        padding-left: 4rem;
    }
    .marquee-content img {
        height: 35px;
    }
}

/* ==============================================
   SECCIÓN FORMULARIO COTIZACIÓN
=============================================== */
.bg-light-blue {
    background-color: #F4F8FB; 
}

.form-contacto-card {
    background-color: #DEEBF8; 
}

.form-contacto-card .form-control {
    color: #333333;
    box-shadow: none !important;
}

.form-contacto-card .form-control::placeholder {
    color: #8c98a4;
    font-size: 0.9rem;
}

/* ==============================================
   SECCIÓN DE MAPA Y POPOVER
=============================================== */
.bg-mapa {
    background: linear-gradient(180deg, #EBF3FC 0%, #F8FAFD 100%); 
}

.map-wrapper {
    z-index: 1;
}

.map-point {
    position: absolute;
    width: 18px;
    height: 18px;
    background-color: #2661F0;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.map-point::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background-color: rgba(38, 97, 240, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse-ring 2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.map-point:hover, .map-point.active {
    transform: translate(-50%, -50%) scale(1.2);
    background-color: #0F2256;
}

@keyframes pulse-ring {
    0% { width: 18px; height: 18px; opacity: 1; }
    100% { width: 55px; height: 55px; opacity: 0; }
}

.map-popover {
    width: 260px;
    z-index: 10;
    top: 0;
    left: 0;
    transform: translate(-50%, -100%);
    margin-top: -15px; 
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, margin-top 0.3s ease;
}

.map-popover.show {
    opacity: 1;
    margin-top: -25px;
}

.map-popover::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px 8px 0;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
    display: block;
    width: 0;
}

/* ==============================================
   CORRECCIÓN AUTOCOMPLETADO DE NAVEGADORES
=============================================== */
.form-contacto-card .form-control:-webkit-autofill,
.form-contacto-card .form-control:-webkit-autofill:hover, 
.form-contacto-card .form-control:-webkit-autofill:focus, 
.form-contacto-card .form-control:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 50px #ffffff inset !important;
    -webkit-text-fill-color: #333333 !important;
    border-radius: 0.375rem !important; 
}

/* ==============================================
   FOOTER
=============================================== */
.footer-link {
    transition: opacity 0.3s ease, padding-left 0.3s ease;
}

.footer-link:hover {
    opacity: 1 !important;
    padding-left: 5px;
}

.hover-opacity-100 {
    transition: opacity 0.3s ease;
}

.hover-opacity-100:hover {
    opacity: 1 !important;
}