/* Fuente general */
body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f7f7f7;
    color: #333;
}

/* Encabezado */
.header-wrap {
    position: sticky;
    max-height: 6rem;
    top: 0;
    background-color: #000;
    color: white;
    padding: 1rem 2rem;
    border-bottom: 4px solid #007bff;
    z-index: 10;
}

.header-title {
    font-size: 1.8rem;
    font-weight: bold;
}

/* Menú de navegación */
.menu-horizontal {
    list-style: none;
    display: flex;
    justify-content: right;
    padding: 0;
    margin: 1rem 0;
    gap: 2rem;
}

.menu-link {
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: color 0.3s;
}

.menu-link:hover,
.menu-link.active {
    color: #007bff;
}




/*Seccion del archivo Index.html */
/* Hero (sección principal) */
.slideshow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.mySlides img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.text {
    position: absolute;
    bottom: 30%;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 2px 2px 5px #000;
}

.slide-btn {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007bff;
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
}


.btn-caption:hover {
    background-color: #0056b3;
}

/* Botones de control del slide */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: white;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    user-select: none;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Dots */
.dot {
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #007bff;
}

/* Servicios */
.servicios .columnas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 1rem;
}

.columna {
    width: 300px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.columna:hover {
    transform: scale(1.03);
}

.columna .imagen img {
    width: 100%;
    height: auto;
    display: block;
}

.columna .texto {
    padding: 1rem;
}

.columna .btn {
    display: block;
    text-align: center;
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    margin-top: 1rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.columna .btn:hover {
    background-color: #0056b3;
}

/* Preguntas frecuentes */
.faq-section {
    padding: 2rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
}

.faq-section .container {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    text-align: left;
}

.faq-question:hover {
    background-color: #0056b3;
}

.faq-answer {
    display: none;
    padding: 1rem;
    background-color: white;
    font-size: 0.95rem;
}





/* Testimonios */
.testimonial {
    border-radius: 12px;
    background-color: #e0e0e0;
    padding: 1.5rem;
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
    max-width: 1500px;
    margin: 0 auto;
}

.testimonial p {
    margin-top: 1rem;
    font-weight: bold;
}


/* Contacto */
.contact-location .container {
    padding: 1.5rem;
    background-color: #cccccc;
    border-radius: 12px;
    max-width: 1500px;
    margin: 0 auto;
}

.container .testimonial {
    padding: 1.5rem;
    background-color: #cccccc;
    border-radius: 12px;
    max-width: 50rem;
    margin: 0 auto;
}


form input,
form textarea {
    padding: 0.5rem;
    font-size: 0.9rem;
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-right: 1rem;
}

form button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s;
}

form button:hover {
    background-color: #0056b3;
}

.social-icons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 1rem;
}

/* Iconos de redes sociales */
.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1234a0;
    /* azul */
    width: 48px;
    height: 48px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.3);
    background-color: #102f8c;
}

.social-icons i {
    font-size: 30px;
    color: white;
}


/* Footer */
footer {
    background-color: #929292;
    color: rgb(75, 75, 75);
    font-size: 0.9rem;
    padding: 1.5rem 0;
    margin: 0;
    width: 100%;
    position: relative;
    bottom: 0;
}

footer .container {
    margin: 0;
    padding: 0;
    width: 100%;
}

footer p {
    margin: 0;
    padding: 0;
}

/* Asegurar que el contenido principal no deje espacio al final */
.main-content {
    min-height: calc(100vh - 150px);
    /* Ajusta este valor según la altura de tu header */
    display: flex;
    flex-direction: column;
}

.main-content>*:last-child {
    margin-bottom: 0;
}

/* Ajustar la última sección antes del footer */
.inscripcion {
    margin-bottom: 0;
    padding-bottom: 2rem;
}

.menu-toggle {
    display: none;
}



/* Submenú */
.submenu {
    display: none;
    position: absolute;
    background-color: #1e293b;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 200px;
    z-index: 10;
    font-size: 0.9rem;
}

/* Mostrar submenú al pasar el mouse (solo en escritorio) */
.has-submenu:hover .submenu {
    display: block;
}

/* Submenú en mobile: visible si se abre desde JS */
.menu-horizontal.open .submenu {
    display: block;
    position: relative;
}



/*Seccion servicios.html*/



/* Section Titles */
.section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* Secciones Alternadas con Imagen y Texto */
.section {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 3rem auto;
    padding: 1rem;
    max-width: 1200px;
    flex-wrap: wrap;
}

.section.reverse {
    flex-direction: row-reverse;
}

.section .image,
.section .content {
    flex: 1;
    min-width: 280px;
}

.section .image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image.cropped img {
    height: 550px;
    object-fit: cover;
    object-position: medium;
}
.image.cropped2 img {
    height: 750px;
    object-fit: cover;
    object-position: medium;
}

.section .content h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.section .content p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.section .content ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.section .content a.btn {
    margin-top: 1rem;
}

.breadcrumbs {
    margin-bottom: 0px;
}

#des {
    margin-top: 0;
}

section:first-of-type {
    padding-top: 0px;
    margin-top: 0;
}


/* Card Layout */
.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card img {
    width: 100%;
    height: auto;
}

.card-body {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.btn {
    display: inline-block;
    background-color: #0066ff;
    color: white;
    text-align: center;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #004fcc;
}

/* FAQ Accordion (Simple) */
.faq {
    margin: 2rem auto;
    max-width: 600px;
}

.faq-item {
    margin-bottom: 0.5rem;
}

.faq-item button {
    width: 100%;
    background-color: #0066ff;
    color: white;
    border: none;
    padding: 1rem;
    text-align: left;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 4px;
}



/* Contact Form */
.contact {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background-color: #ddd;
    padding: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

.footer a.btn {
    margin-top: 1rem;
    display: inline-block;
}

/* Estilos específicos para Sobre Nosotros */
.sobre-nosotros-header {
    text-align: center;
    padding: 4rem 2rem;
    background-color: #f8f9fa;
    margin-bottom: 3rem;
}

.sobre-nosotros-header h2 {
    font-size: 2.5rem;
    color: #1a349a;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.sobre-nosotros-header p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
}

/* Secciones generales */
.organigrama,
.equipo-tecnico,
.info-economica,
.inscripcion {
    max-width: 1000px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}

/* Títulos de sección */
.organigrama h3,
.equipo-tecnico h3,
.info-economica h3,
.inscripcion h3 {
    color: #1a349a;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.organigrama h3::after,
.equipo-tecnico h3::after,
.info-economica h3::after,
.inscripcion h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #1a349a;
}

/* Listas y contenido */
.organigrama ul,
.equipo-tecnico ul,
.info-economica ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.organigrama li,
.equipo-tecnico li,
.info-economica li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* Estilos para el director técnico */
.director {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.director h4 {
    color: #1a349a;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.director p {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Entrenadores */
.entrenadores {
    text-align: center;
}

.entrenadores h4 {
    color: #1a349a;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.entrenadores ul {
    display: inline-block;
    text-align: left;
}

.entrenadores li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.entrenadores li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #1a349a;
}

/* Información económica */
.subvenciones,
.patrocinadores {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid #000;
}

/* Sección de inscripción */
.inscripcion {
    text-align: center;
    background-color: #f8f9fa;
    padding: 3rem 2rem;
    border-radius: 8px;
}

.inscripcion p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.inscripcion a.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1a349a;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.inscripcion a.btn:hover {
    background-color: #142a7a;
}

/* Estilos para enlaces generales */
.sobre-nosotros-header a,
.organigrama a,
.equipo-tecnico a,
.info-economica a {
    color: #1a349a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.sobre-nosotros-header a:hover,
.organigrama a:hover,
.equipo-tecnico a:hover,
.info-economica a:hover {
    border-bottom-color: #1a349a;
}



/* Efectos de hover */
.organigrama li:hover,
.equipo-tecnico li:hover,
.info-economica li:hover {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}

/* Animaciones suaves */
.sobre-nosotros-header,
.organigrama,
.equipo-tecnico,
.info-economica,
.inscripcion {
    opacity: 0;
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ajustes de espaciado y tipografía */
body {
    line-height: 1.6;
    color: #333;
}

strong {
    color: #1a349a;
    font-weight: 600;
}

/* Estilos para destacar información importante */
.highlight {
    background-color: #f8f9fa;
    padding: 1rem;
    border-left: 4px solid #1a349a;
    margin: 1rem 0;
}

/* Estilos para la sección de imágenes del triatlón */
.triatlon-images {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.image-container {
    display: flex;
    justify-content: center;
}

.image-box {
    width: 100%;
    max-width: 1200px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.image-box:hover {
    transform: translateY(-5px);
}

.triatlon-img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    display: block;
}

/* Estilos para el enlace de volver al inicio */
.back-to-home {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 0 2rem;
}

.back-link {
    display: inline-block;
    color: #1a349a;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #007bff;
}



/* Estilos para cards con sombra */
.card-shadow {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-shadow:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Estilos para la sección de cuotas y membresía */
.cuotas-membresia {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.info-general {
    background-color: #f8f9fa;
}

.destacado {
    font-size: 1.1rem;
    color: #1a349a;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.condiciones {
    margin-top: 2rem;
}

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

.condiciones li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.condiciones li::before {
    content: '•';
    color: #1a349a;
    position: absolute;
    left: 0;
}

.tabla-precios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.precio-card {
    background-color: #fff;
    border: 2px solid #000;
}

.precio-card h4 {
    color: #1a349a;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.precio-card ul {
    list-style: none;
    padding: 0;
}

.precio-card li {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

/* Estilos para redes sociales */
.contacto-redes {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    text-align: center;
    border: 2px solid #414040;
    border-radius: 10px;
}

.redes-sociales {
    text-align: center;

}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
}

.social-link i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.social-link.facebook i {
    color: #1877f2;
}

.social-link.instagram i {
    color: #e4405f;
}

.social-link.tiktok i {
    color: #000000;
}

.social-link.youtube i {
    color: #ff0000;
}

.social-link:hover {
    transform: translateY(-5px);
}

/* Estilos para proyectos y colaboraciones */
.proyectos-colaboraciones {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.proyectos,
.colaboraciones {
    background-color: #fff;
}

/* Responsive */


/* Ajuste específico para mantener el borde negro visible */
.precio-card.card-shadow,
.subvenciones.card-shadow,
.patrocinadores.card-shadow {
    border: 2px solid #000;
    overflow: hidden;
}

/* Estilos para la página de protocolo de prevención */
.breadcrumb-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    background-color: #fff;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumb a {
    color: #1a349a;
    text-decoration: none;
}

.breadcrumb i {
    color: #666;
    font-size: 0.8rem;
}

.protocolo-header {
    text-align: center;
    padding: 3rem 2rem;
    background-color: #f8f9fa;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 10px;
}

.protocolo-header h1 {
    color: #1a349a;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.protocolo-descripcion {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.protocolo-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.protocolo-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.protocolo-card summary {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.2rem;
    color: #1a349a;
    font-weight: 600;
}

.protocolo-card summary i {
    font-size: 1.5rem;
}

.protocolo-card .content {
    padding: 2rem;
    border-top: 1px solid #eee;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1a349a;
    text-decoration: none;
    padding: 0.5rem 1rem;
    background-color: #f8f9fa;
    border-radius: 5px;
    margin: 1rem 0;
    transition: background-color 0.3s;
}

.download-link:hover {
    background-color: #e9ecef;
}

.mensaje-final {
    text-align: center;
    padding: 3rem 2rem;
    margin: 3rem auto;
    background-color: #fff;
}

.mensaje-final i {
    font-size: 3rem;
    color: #1a349a;
    margin-bottom: 1.5rem;
}

.mensaje-final h2 {
    color: #1a349a;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.btn:hover {
    transform: translateY(-3px);
}

.download-btn {
    background-color: #1a349a;
    color: white;
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
}

/* Responsive */


/* Estilos para el banner */
.banner {
    position: relative;
    width: 100%;
    margin-bottom: 2rem;
}

.banner .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.ubica {
    width: 100%;
    max-width: 100%;
    height: auto;
     overflow: hidden;
    
}
.ubica iframe {
   width: 100vw; 
  max-width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* Media queries para responsive */


@media screen and (min-width: 1025px) {
    .menu-toggle {
        display: none;
    }

    .menu-horizontal {
        display: flex;
        gap: 1rem;
    }

    .menu-horizontal li {
        position: relative;
    }
}





/* Tablet (hasta 1024px) */
@media (max-width: 1024px) {
    .header-wrap {
        max-height: 3.5rem;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 15px;
        font-size: 2rem;
        cursor: pointer;
        color: white;
        z-index: 1100;
    }

    .menu-horizontal {
        gap: 1.5rem;
        display: none;

    }

    .menu-horizontal.show {
        display: flex;
    }


    .btn-caption {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .servicios .columnas {
        flex-direction: column;
        align-items: center;
    }

    .columna {
        width: 90%;
    }
}

@media screen and (max-width: 1024px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 24px;
        padding: 10px;
    }

    .menu-horizontal {
        display: none;
        flex-direction: column;
        background-color: #1e293b;
    }

    .menu-horizontal.open {
        display: flex;
    }

    .menu-horizontal li {
        position: relative;
    }

    .submenu {
        position: relative;
        background-color: #334155;
    }
}

/* hasta 768px */
@media (max-width: 768px) {
    .menu-horizontal {
        display: none;
        /* Se oculta el menú en horizontal */
        flex-direction: column;
        gap: 1rem;
        background-color: #000;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        padding: 1rem 0;
        z-index: 1000;

    }


    .menu-horizontal.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 15px;
        font-size: 2rem;
        cursor: pointer;
        color: white;
    }

    .header-wrap {
        position: relative;
    }

    .text {
        font-size: 1.5rem;
    }

    .btn-caption {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }

    .columna {
        width: 100%;
    }

    .banner {
        min-height: 25vh !important;
    }

    .banner h1 {
        font-size: 2rem;
        padding: 2rem !important;
    }

    .sobre-nosotros-header {
        padding: 2rem 1rem;
    }

    .sobre-nosotros-header h2 {
        font-size: 2rem;
    }

    .organigrama,
    .equipo-tecnico,
    .info-economica,
    .inscripcion {
        padding: 0 1rem;
    }

    .director,
    .subvenciones,
    .patrocinadores {
        padding: 1.5rem;
    }

    .protocolo-header h1 {
        font-size: 2rem;
    }

    .protocolo-card summary {
        font-size: 1.1rem;
        padding: 1rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .tabla-precios {
        grid-template-columns: 1fr;
    }

    .social-links {
        gap: 1rem;
    }

    .card-shadow {
        padding: 1.5rem;
    }

    .faq-question {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .faq-answer {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .triatlon-images {
        padding: 0 1rem;
        margin: 1rem auto;
    }

    .image-box {
        border-radius: 10px;
    }

    .triatlon-img {
        max-height: 400px;
    }

    .back-to-home {
        padding: 0 1rem;
        margin: 1rem auto 0;
    }

    .section,
    .section.reverse {
        flex-direction: column;
    }

    .contact-location .container {
        padding: 2rem;
        background-color: #cccccc;
        border-radius: 12px;
        max-width: 1500px;
        margin: 0 auto;
    }

}

/* hasta  480px*/
@media (max-width: 480px) {
    .header-title {
        font-size: 1rem;
        font-weight: bold;
    }

    .faq-section {
        padding: 1rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 0.5rem;
    }

    .faq-answer {
        font-size: 0.85rem;
        padding: 0.5rem;
    }

    .text {
        position: absolute;
        padding-bottom: 1.3rem;
        bottom: 30%;
        left: 50%;
        transform: translateX(-50%);
        color: white;
        font-size: 1.3rem;
        font-weight: bold;
        text-align: center;
        text-shadow: 2px 2px 5px #000;
    }

    .testimonial {
        text-align: center;
        font-style: italic;
        font-size: 0.8rem;
    }
    .slide-btn{
        font-size: 0.6rem;
    }
    .prev,
    .next {
    font-size: 1rem;
    padding: 1rem;
}

}