/* --- CONFIGURACIÓN Y ESTILOS BASE --- */
body {
    overflow-x: hidden;
}

.gradient-text {
    background: linear-gradient(to right, #0099CC, #00D1A0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 153, 204, 0.2);
}

.mobile-nav-link.active {
    background-color: rgba(0, 209, 160, 0.05);
    color: #00313F;
    font-weight: 600;
    border-left: 3px solid #00D1A0;
}

.mobile-nav-link.active {
background-color: rgba(0, 209, 160, 0.05);
color: #00313F;
font-weight: 600;
border-left: 3px solid #00D1A0;
}

/* --- Efecto Spotlight (Difuminar el resto al hacer hover en el menu) --- */
.desktop-menu:hover > a:not(.btn-consulta),
.desktop-menu:hover > div {
opacity: 0.4;
filter: blur(1px);
-webkit-filter: blur(1px);
transform: translateZ(0);
transition: all 0.3s ease;
}

/* El elemento que se está tocando se mantiene nítido */
.desktop-menu > a:hover,
.desktop-menu > div:hover {
opacity: 1 !important;
filter: blur(0) !important;
-webkit-filter: blur(0) !important;
transform: translateZ(0) !important;
}

/* El botón de contacto nunca se opaca */
.desktop-menu:hover > a.btn-consulta {
opacity: 1;
filter: blur(0);
}

/* --- IMÁGENES DE FONDO --- */
.bg-slide-1 {
    background-image: url('../img/pag1.png');
}
.bg-slide-2 {
    background-image: url('../img/pag2.png');
}
.bg-slide-3 {
    background-image: url('../img/pag3.png');
}
.bg-nosotros {
    background-image: url('../img/pag4.png');
}
.bg-card-1 {
    background-image: url('../img/imabar1.png');
}
.bg-card-2 {
    background-image: url('../img/imabar3.png');
}
.bg-card-3 {
    background-image: url('../img/imabar2.jpg');
}

/* --- EFECTOS DE TEXTO Y COMPONENTES --- */
.text-glow {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 1px 3px rgba(0, 0, 0, 0.9);
}

/* Slider Hero */
#slider-wrapper {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.slide-item {
    width: 100%;
    flex: 0 0 100%;
}

/* Marquee de marcas */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.marquee-content {
    display: inline-flex;
    animation: marquee 30s linear infinite;
}
.marquee-content:hover {
    animation-play-state: paused;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Animaciones de Scroll (Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Carrusel de Equipo */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* --- PREGUNTAS FRECUENTES (FAQ ACORDEÓN) --- */
.faq-content {
            display: grid;
            grid-template-rows: 0fr;
            transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        .faq-content.open {
            grid-template-rows: 1fr;
        }
        .faq-inner {
            overflow: hidden;
        }
/* --- ESTILOS DE FORMULARIO DE CONTACTO --- */
.contact-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    outline: none;
    transition: all 0.3s ease;
    background-color: white;
    font-size: 0.875rem;
}
.contact-input:focus {
    border-color: #0099CC;
    box-shadow: 0 0 0 1px #0099CC;
}
.btn-contact {
    width: 100%;
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0.75rem;
    background: linear-gradient(to right, #0099CC, #00D1A0);
    color: white;
    font-weight: bold;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 153, 204, 0.3);
}
.icon-box {
    width: 3rem;
    height: 3rem;
    background-color: #0099CC;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 153, 204, 0.3);
    flex-shrink: 0;
}

/* --- TIEMPOS DE ANIMACIÓN (EXTRAÍDOS DEL HTML) --- */
.delay-100 {
    transition-delay: 100ms;
}
.delay-150 {
    transition-delay: 150ms;
}
.delay-200 {
    transition-delay: 200ms;
}
.delay-300 {
    transition-delay: 300ms;
}
.delay-400 {
    transition-delay: 400ms;
}
.delay-500 {
    transition-delay: 500ms;
}

/* --- MAPA --- */
.map-iframe {
    border: 0;
    filter: contrast(1.1) opacity(0.9);
}
