body {
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #1c1c1c;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/*Boton arriba*/

#myBtn {
    display: none; /* oculto por defecto */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    padding: 10px 15px;
    background-color: #005393;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#myBtn:hover {
    background-color: #003d6b;
}


/*HEADER*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Asegura que esté por encima de la imagen */
    background-color: transparent; /* Empieza transparente */
    transition: background-color 0.3s ease;
}
header .header {
    width: 100%;
    height: 95px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
}
    
.header-nav{
    margin: 6px;
}
.header-nav a{
    text-decoration: none;
    color: #faf9f6;
    margin: 9px;
}
.header-nav a:hover{
    font-weight: 700;
    border-bottom: solid 1px #faf9f6;
}
.header-actions a{
    text-decoration: none;
    margin: 9px;
    color: #005393;
}
.header-actions a:hover{
    text-decoration: none;
    color: #e40681;
}
/* HEADER SCROLL */
header.scrolled {
    background-color: rgba(0, 0, 0, 0.9) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}


/* ===== SLIDER PRINCIPAL ===== */
:root {
--primary-color: #00c2cb;
--dark-bg: rgba(15, 23, 42, 0.8);
--transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider {
    width: 100%;
    height: 80vh; /* Altura flexible */
    position: relative;
    background: #000;
}

.heroSwiper {
    width: 100%;
    height: 100%;
    margin-top: 95px;
}

/* Fondo con efecto de zoom */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.1);
    transition: transform 6s ease;
}

.swiper-slide-active .slide-bg {
    transform: scale(1);
}

/* Overlay de gradiente más elegante - SOLO para Hero Slider */
.heroSwiper .swiper-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(75deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    z-index: 2;
    pointer-events: none; /* Asegurar que no bloquee clicks aunque esté encima */
}

/* Contenedor de contenido */
.container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.content-box {
    max-width: 650px;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

.swiper-slide-active .content-box {
    opacity: 1;
    transform: translateY(0);
}

/* Tipografía y Estilos */
.tag {
    display: inline-block;
    background: #005393;
    color: #fff;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.content-box h1 {
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.content-box h1 span {
    color: #e40681;
}

.content-box p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Botones */
.actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    padding: 18px 40px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 194, 203, 0.3);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 194, 203, 0.4);
}

.btn-link {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

/* Controles */
.swiper-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 0 2rem;
}

.swiper-pagination {
    position: relative !important;
    bottom: 0 !important;
    display: flex;
    justify-content: center;
}

.swiper-pagination-bullet {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background: #fff;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
    opacity: 1;
    width: 50px;
}

/*flyer informativo*/
.info-oxigeno{
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}


.animate-bounce-slow {
    animation: bounce-slow 3s infinite ease-in-out;
}

/* Efecto de Vidrio Esmerilado para la tarjeta */
.highlight-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.9);
}

/* Decoración de la lista al hacer hover */
.info-list li:hover i {
    transform: rotate(15deg);
}

/* ===== Nuestras lineas ===== */
/* Configuración para que quepan 3 en desktop */
.masonry-overlay-wrapper {
    column-count: 1;
    column-gap: 1rem;
    width: 100%;
}
.linea-card-overlay img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
    opacity: 0.85; /* Un poco más oscuro de base */
}

.linea-card-overlay:hover img {
    opacity: 0.6; /* Se oscurece más al hacer hover para leer el texto */
}

/* El contenedor del texto */
.overlay-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Texto abajo */
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
    z-index: 2;
}

.content-text {
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.linea-card-overlay:hover .content-text {
    transform: translateY(0);
}





/*===== mas informacion =======*/
/* Contenedor principal sin bordes raros */
.contenedor-masInformacion {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', system-ui, sans-serif;
}

/* El Grid que hace la magia */
.grid-informacion {
    display: grid;
    grid-template-columns: 1fr; /* Móvil: 1 columna */
    gap: 30px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

@media (min-width: 992px) {
    .grid-informacion {
        grid-template-columns: 1.6fr 1fr; 
        align-items: stretch; /* Esto asegura que ambas columnas midan lo mismo */
        gap: 40px;
    }
}
/* --- ESTILOS DEL MAPA --- */
.titulo-seccion {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
}

/* --- ESTILOS DE HORARIOS --- */
.seccion-horarios {
    background: #f8fafc; /* Fondo sutil para diferenciarlo */
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #2563eb; /* El borde azul que tenías, pero mejorado */
    display: flex;
    flex-direction: column;
    align-items: center;    /* Centra horizontalmente */
    justify-content: center; /* Centra verticalmente */
    text-align: center;
}

.horarios-atencion h2 {
    font-size: 1.4rem;
    color: #1e293b;
    margin-bottom: 20px;
    font-weight: 700;
}

.horarios-atencion ul {
    list-style: none;
    padding: 0;
}

.horarios-atencion li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.dia {
    font-weight: 600;
    color: #475569;
}

.hora {
    color: #2563eb;
    font-weight: 700;
}

.cerrado .hora {
    color: #dc2626;
}

.info-adicional {
    margin-top: 25px;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
}




/* ===== MEDIAS, RESPONSIVE, ETC ===== */

/* Esconder flechas en móvil */
@media (max-width: 768px) {
    .nav-buttons { display: none; }
    .content-box { text-align: center; }
    .actions { justify-content: center; }
}

/* ===== FIN SLIDER PRINCIPAL ===== */
/*Flyer informativo medias*/
/* Animación suave para el icono de alerta */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/*Nuestras lineas*/
@media (min-width: 640px) { .masonry-overlay-wrapper { column-count: 2; } }
@media (min-width: 1024px) { .masonry-overlay-wrapper { column-count: 3; } } /* 3 en una línea */


/*horarios de atención RESPONSIVE*/
/* Responsive */
@media (max-width: 480px) {
    .horariosAtencion {
        max-width: 90%;
        padding: 36px 24px 48px;
        border-radius: 28px;
    }

    .horariosAtencion h2 {
        font-size: 22px;
    }

    .horariosAtencion li {
        font-size: 18px;
    }
}


.font-orbitron { 
    font-family: 'Orbitron', sans-serif; 
}
.font-poppins { 
    font-family: 'Poppins', sans-serif; 
}
.text-glow { 
    text-shadow: 0 0 10px rgba(0, 83, 147, 0.3); 
}
.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(0, 83, 147, 0.05);
}
.clip-path-slant {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

/* Asegurar que las fuentes y suavizados se vean bien */
html {
    scroll-behavior: smooth;
}
.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}