* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    background: #000;
    color: #fff;
}

.titulos-seccion {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
}

.descripcion {
    flex: 1;
    text-align: left;
    min-width: 280px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    position: fixed;
    width: 90%;
    top: 20px;
    left: 50%;
    transform: translate(-50%);
    z-index: 1000;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    align-items: center;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    z-index: -1;
}


.logo img {
    height: 60px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffff;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
    background-color: #c2185b;
    color: #fff;
}

/*hero*/
.hero {
    background-image: url("../assets/img/fondo-hero.png");
    background-size: cover;
    background-position: center;
    height: 100vh;
    position: relative;
    mask-image: linear-gradient(black 80% transparent);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(to bottom, transparent, black);
    pointer-events: none;
}

.hero-overlay {
    background-color: rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.boton {
    background-color: #c2185b;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
}

/*Prueba*/
.seccion {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 3rem 1rem;
}

.fila {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.fila--invertida {
    flex-direction: row-reverse;
}

.imagen img {
    max-width: 300px;
    height: auto;
}

.imagen_grande {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 600px;
    height: 100%;
}

.imagen_grande img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.imagen_grande--degradado::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to left, black, transparent);
    pointer-events: none;
}

.imagen_grande--degradado-left::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right, black, transparent);
    pointer-events: none;
}

.servicio-titulo {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
    text-align: center;
}

/*servicios*/
.seccion-servicios {
    padding: 4rem 2rem;
    background-color: #000;
}

.servicio {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 4rem;
}

.tarjetas-servicio {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.tarjeta {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    width: 220px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.tarjeta img {
    height: 50px;
    margin-bottom: 15px;
}

.tarjeta h3 {
    color: #fff;
    margin-bottom: 10px;
}

.tarjeta p {
    font-size: 0.9rem;
    color: #fff;
}

/*eventos*/
.eventos {
    padding: 60px 40px;
    background-color: #000;
    text-align: center;
}

.mosaico-eventos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.evento-card {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    /* Mantiene proporción uniforme */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.evento-card:hover {
    transform: scale(1.03);
}

.evento-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.evento-card .overlay {
    position: absolute;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    color: white;
    width: 100%;
    padding: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 14px;
}

.evento-card:hover .overlay {
    opacity: 1;
}

.evento-info,
.evento-fecha {
    margin: 0;
}

/*Testimonio - contacto*/
.testimonios-contacto {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem;
    flex-wrap: wrap;
    background-color: #000;
    color: #fff;
}

.testimonios {
    flex: 1;
    max-width: 600px;
}

.testimonio {
    display: none;
}

.testimonio.activo {
    display: block;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #999;
    border-radius: 50%;
    cursor: pointer;
}

.dot.activo {
    background-color: orange;
}


.testimonios__titulo {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.testimonios__contenido {
    position: relative;
    padding-right: 1rem;
}

.testimonios__icono {
    font-size: 2rem;
    color: orange;
    margin-bottom: 0.5rem;
}

.testimonios__carrusel {
    font-size: 1rem;
    line-height: 1.5;
}

.testimonios__autor {
    margin-top: 0.5rem;
    font-style: italic;
}

.testimonios__dots {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.testimonios__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: gray;
    display: inline-block;
}

.testimonios__dots .activo {
    background-color: orange;
}

.separador-vertical {
    width: 2px;
    height: auto;
    background-color: orange;
    align-self: stretch;
}

.seccion-contacto {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 500px;
}

.formulario {
    background-color: #e0e0e0;
    padding: 2rem;
    border-radius: 8px;
    color: black;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.formulario h3 {
    margin: 0;
}

.formulario__fila {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.formulario input,
.formulario textarea {
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
}

.formulario__fila input {
    flex: 1;
}

.formulario_checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1rem 0 1rem;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.formulario_checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #d6194e;
    cursor: pointer;
}

.formulario_checkbox a {
    color: #c4316f;
    text-decoration: underline;
}

.formulario_checkbox label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.formulario button {
    width: 100%;
    padding: 12px;
    background-color: orange;
    border: none;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
}

.formulario button:hover {
    background-color: #e69500;
}

textarea {
    resize: vertical;
}

.footer {
    border-top: 1px solid white;
    background-color: black;
    color: white;
    padding: 1rem 1rem;
    font-size: 0.9rem;
}

.footer_contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.footer_izquierda {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer_derecha {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.footer_logo {
    width: 50px;
    height: auto;
}

.footer_derecha h4 {
    margin: 0 0 0.5rem 0;
}

.footer_redes {
    margin-top: 0.5rem;
}

.footer_redes {
    color: white;
    font-size: 1.5rem;
    margin-left: 1rem;
    text-decoration: none;
}

.footer-texto p {
    margin: 0;
}

input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0.5rem;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    width: 100%;
    box-sizing: border-box;
    color: #616161;
}

.animar-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animar-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader img {
    width: 80px;
    height: 80px;
    animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.hidden {
    display: none;
}

button[disabled] {
    background-color: #ccc !important;
    cursor: not-allowed !important;
    color: #666 !important;
    border: none;
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 10px 20px;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .fila {
        flex-direction: column !important;
        gap: 2rem;
        padding: 1rem;
    }

    .descripcion,
    .imagen_grande {
        max-width: 100%;
    }

    .formulario__fila {
        flex-direction: column;
    }

    .testimonios-contacto {
        flex-direction: column;
        align-items: center;
    }

    .footer_contenido {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer_derecha {
        align-items: center;
        text-align: center;
    }

    .separador-vertical {
        display: none;
    }

    header {
        flex-direction: column;
        align-items: center;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
    }

    nav ul li a {
        display: block;
        width: 100%;
        text-align: center;
        background-color: transparent;
        color: #fff;
        font-weight: bold;
        font-size: 1.1rem;
    }

    .logo img {
        margin-bottom: 10px;
    }

}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.9rem;
    }

    .boton {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .formulario {
        padding: 1rem;
    }

    .formulario button {
        font-size: 0.9rem;
    }

    .footer_logo {
        width: 40px;
    }

    .evento-card .overlay {
        font-size: 12px;
        padding: 6px;
    }
}

.captcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1rem 0 1rem;
}

/* Botón hamburguesa */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #fff;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        top: 15px;
        right: 30px;
        z-index: 1100;
    }

    nav ul {
        display: none;
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        border-radius: 0 0 10px 10px;
    }

    nav ul.mostrar {
        display: flex;
    }

    nav ul li a {
        padding: 1rem;
        font-size: 1.1rem;
    }

    header {
        flex-direction: row;
        justify-content: space-between;
    }
}