* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f1e7;
    color: #1c291f;
    line-height: 1.6;
}

body.menu-abierto,
body.lightbox-abierto {
    overflow: hidden;
}

img {
    display: block;
    max-width: 100%;
}

.contenido-limitado {
    width: 100%;
    max-width: 1250px;
    margin: auto;
}


/* =========================
   ANIMACIONES
========================= */

.animar {
    opacity: 0;
    transform: translateY(35px);

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

.animar.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-animacion {
    animation: entradaHero 1.1s ease forwards;
}

@keyframes entradaHero {

    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =========================
   HEADER
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 88px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: rgba(12, 24, 15, 0.88);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    z-index: 3000;
}

.logo {
    display: flex;
    align-items: center;

    position: relative;
    z-index: 3100;
}

.logo img {
    height: 65px;
    width: auto;

    border-radius: 5px;
}


/* =========================
   MENÚ ESCRITORIO
========================= */

.menu-escritorio {
    display: flex;
    align-items: center;
    gap: 32px;
}

.menu-escritorio a {
    position: relative;

    color: white;

    text-decoration: none;

    font-size: 14px;
    letter-spacing: 0.5px;

    opacity: 0.9;

    transition: 0.3s;
}

.menu-escritorio a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: #d5b875;

    transition: 0.3s;
}

.menu-escritorio a:hover {
    opacity: 1;
}

.menu-escritorio a:hover::after {
    width: 100%;
}


/* =========================
   BOTÓN HAMBURGUESA
========================= */

.boton-menu {
    display: none;

    width: 45px;
    height: 45px;

    padding: 10px;

    background: transparent;

    border: none;

    cursor: pointer;

    position: relative;
    z-index: 3100;
}

.boton-menu span {
    display: block;

    width: 100%;
    height: 2px;

    margin: 6px 0;

    background: white;

    border-radius: 10px;

    transition: 0.35s;
}

.boton-menu.activo span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.boton-menu.activo span:nth-child(2) {
    opacity: 0;
}

.boton-menu.activo span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* =========================
   MENÚ CELULAR
========================= */

.menu-movil {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100svh;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 110px 8% 60px;

    background: #102017;

    opacity: 0;
    visibility: hidden;

    transform: translateY(-15px);

    transition: 0.35s;

    z-index: 2900;
}

.menu-movil.activo {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}

.menu-movil nav {
    display: flex;
    flex-direction: column;

    gap: 7px;
}

.menu-movil nav a {
    display: block;

    padding: 8px 0;

    color: white;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(35px, 10vw, 55px);

    line-height: 1.15;

    text-decoration: none;

    transition: 0.25s;
}

.menu-movil nav a:hover {
    color: #d9bd78;
}

.menu-whatsapp {
    width: fit-content;

    margin-top: 40px;

    padding: 14px 25px;

    background: #f4efe3;

    color: #19301e;

    border-radius: 50px;

    text-decoration: none;

    font-weight: bold;
}


/* =========================
   PORTADA
========================= */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;

    padding: 140px 8% 90px;

    background:
        linear-gradient(
            90deg,
            rgba(5, 12, 7, 0.92) 0%,
            rgba(5, 12, 7, 0.70) 38%,
            rgba(5, 12, 7, 0.30) 68%,
            rgba(5, 12, 7, 0.08) 100%
        ),
        url("imagenes/portada.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-contenido {
    max-width: 760px;

    color: white;
}

.subtitulo {
    margin-bottom: 20px;

    color: #e3c67e;

    font-size: 12px;

    font-weight: bold;

    letter-spacing: 4px;
}

.hero h1 {
    margin-bottom: 30px;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(55px, 7vw, 100px);

    font-weight: normal;

    line-height: 0.95;

    letter-spacing: -2px;
}

.descripcion-hero {
    max-width: 560px;

    margin-bottom: 38px;

    color: rgba(255, 255, 255, 0.82);

    font-size: 18px;
}


/* =========================
   BOTÓN PRINCIPAL
========================= */

.boton-principal {
    display: inline-block;

    padding: 16px 30px;

    background: #f4efe3;

    color: #19301e;

    border-radius: 50px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;
}

.boton-principal:hover {
    background: white;

    transform: translateY(-3px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}


/* =========================
   SECCIONES
========================= */

.seccion {
    padding: 120px 9%;
}

.etiqueta {
    margin-bottom: 15px;

    color: #9b7d42;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 4px;
}

.seccion h2 {
    margin-bottom: 30px;

    color: #1c3422;

    font-family: Georgia, "Times New Roman", serif;

    font-size: clamp(42px, 5vw, 70px);

    font-weight: normal;

    line-height: 1.05;
}

.texto-seccion {
    max-width: 750px;

    color: #62645f;

    font-size: 18px;

    line-height: 1.9;
}


/* =========================
   NOSOTROS
========================= */

.nosotros {
    min-height: 600px;

    display: flex;
    align-items: center;

    background: #f5f1e7;
}


/* =========================
   GALERÍA
========================= */

.galeria-seccion {
    background: #15251a;
}

.etiqueta-clara {
    color: #d6b96f;
}

.titulo-claro {
    color: white !important;
}

.descripcion-galeria {
    max-width: 650px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 17px;
}

.galeria {
    display: grid;

    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 250px;

    gap: 15px;

    margin-top: 55px;
}

.galeria img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    border-radius: 10px;

    cursor: zoom-in;

    transition:
        transform 0.4s ease,
        filter 0.4s ease,
        opacity 0.8s ease;
}

.galeria img:hover {
    transform: scale(1.015);

    filter: brightness(1.08);
}

.galeria img:nth-child(1) {
    grid-column: span 7;
    grid-row: span 2;
}

.galeria img:nth-child(2) {
    grid-column: span 5;
}

.galeria img:nth-child(3) {
    grid-column: span 5;
}

.galeria img:nth-child(4) {
    grid-column: span 4;
}

.galeria img:nth-child(5) {
    grid-column: span 4;
}

.galeria img:nth-child(6) {
    grid-column: span 4;
}


/* =========================
   EVENTOS
========================= */

.eventos-seccion {
    background: #ece5d7;
}

.tipos-eventos {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    margin-top: 60px;

    border-top: 1px solid #c5bca9;
}

.evento {
    min-height: 170px;

    padding: 30px 20px 30px 0;

    border-bottom: 1px solid #c5bca9;

    transition:
        background 0.3s,
        opacity 0.8s ease,
        transform 0.8s ease;
}

.evento:nth-child(3n + 2),
.evento:nth-child(3n + 3) {
    padding-left: 30px;

    border-left: 1px solid #c5bca9;
}

.evento span {
    display: block;

    margin-bottom: 35px;

    color: #927b4c;

    font-size: 12px;
}

.evento h3 {
    color: #26392a;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 25px;

    font-weight: normal;
}

.evento:hover {
    background: rgba(255, 255, 255, 0.28);
}


/* =========================
   CONTACTO
========================= */

.contacto {
    min-height: 650px;

    display: flex;
    align-items: center;

    background:
        linear-gradient(
            rgba(12, 27, 16, 0.92),
            rgba(12, 27, 16, 0.92)
        ),
        url("imagenes/evento4.jpg");

    background-size: cover;
    background-position: center;
}

.contacto-contenido {
    width: 100%;
    max-width: 850px;

    margin: auto;

    text-align: center;

    color: white;
}

.contacto h2 {
    color: white;

    font-size: clamp(50px, 7vw, 90px);
}

.contacto-contenido > p:not(.etiqueta) {
    max-width: 650px;

    margin: 0 auto;

    color: rgba(255, 255, 255, 0.72);

    font-size: 18px;
}

.botones-contacto {
    display: flex;
    justify-content: center;

    gap: 15px;

    margin-top: 40px;
}

.boton-contacto,
.boton-ubicacion {
    display: inline-block;

    padding: 15px 27px;

    border-radius: 50px;

    text-decoration: none;

    font-weight: bold;

    transition: 0.3s;
}

.boton-contacto {
    background: #f4efe3;

    color: #18301e;
}

.boton-ubicacion {
    color: white;

    border: 1px solid rgba(255, 255, 255, 0.5);
}

.boton-contacto:hover,
.boton-ubicacion:hover {
    transform: translateY(-3px);
}

.boton-ubicacion:hover {
    background: white;

    color: #18301e;
}


/* =========================
   FOOTER
========================= */

footer {
    padding: 75px 20px;

    background: #0c1710;

    color: white;

    text-align: center;
}

.logo-footer {
    width: 145px;

    margin: 0 auto 25px;

    border-radius: 6px;
}

footer > p {
    color: rgba(255, 255, 255, 0.65);
}

.telefono-footer {
    margin-top: 10px;
}

.copyright {
    margin-top: 35px;

    font-size: 12px;

    opacity: 0.5;
}


/* =========================
   WHATSAPP FLOTANTE
========================= */

.whatsapp-flotante {
    position: fixed;

    right: 24px;
    bottom: 24px;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 13px 20px;

    background: #25d366;

    color: white;

    border-radius: 50px;

    text-decoration: none;

    font-weight: bold;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);

    z-index: 2000;

    transition: 0.3s;
}

.whatsapp-flotante:hover {
    transform: translateY(-4px) scale(1.02);
}

.whatsapp-icono {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 25px;
    height: 25px;

    border: 2px solid white;

    border-radius: 50%;

    font-size: 15px;
}


/* =========================
   LIGHTBOX
========================= */

.lightbox {
    position: fixed;

    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.94);

    opacity: 0;
    visibility: hidden;

    transition: 0.3s;

    z-index: 5000;
}

.lightbox.activo {
    opacity: 1;
    visibility: visible;
}

.lightbox-contenido {
    width: min(88vw, 1200px);
    height: 85vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.lightbox-contenido img {
    max-width: 100%;
    max-height: calc(85vh - 45px);

    object-fit: contain;

    border-radius: 8px;

    user-select: none;
    -webkit-user-drag: none;
}

#contadorFotos {
    margin-top: 15px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 14px;
}

.cerrar-lightbox {
    position: absolute;

    top: 25px;
    right: 30px;

    width: 48px;
    height: 48px;

    border: none;

    background: rgba(255, 255, 255, 0.08);

    color: white;

    border-radius: 50%;

    font-size: 34px;

    cursor: pointer;
}

.flecha-lightbox {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 55px;
    height: 55px;

    border: none;

    background: rgba(255, 255, 255, 0.08);

    color: white;

    border-radius: 50%;

    font-size: 45px;

    cursor: pointer;
}

.cerrar-lightbox:hover,
.flecha-lightbox:hover {
    background: rgba(255, 255, 255, 0.18);
}

.flecha-izquierda {
    left: 30px;
}

.flecha-derecha {
    right: 30px;
}


/* =========================
   TABLET
========================= */

@media (max-width: 1000px) {

    .menu-escritorio {
        gap: 18px;
    }

    .tipos-eventos {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   CELULAR
========================= */

@media (max-width: 750px) {

    header {
        height: 72px;

        padding: 0 5%;
    }

    .logo img {
        height: 52px;
    }

    .menu-escritorio {
        display: none;
    }

    .boton-menu {
        display: block;
    }

    .hero {
        min-height: 100svh;

        padding: 115px 7% 65px;

        background-position: 55% center;
    }

    .hero h1 {
        font-size: 53px;

        letter-spacing: -1px;
    }

    .descripcion-hero {
        font-size: 16px;
    }

    .seccion {
        padding: 85px 7%;
    }

    .texto-seccion {
        font-size: 16px;
    }

    .galeria {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;

        gap: 12px;

        margin-top: 35px;
    }

    .galeria img,
    .galeria img:nth-child(1),
    .galeria img:nth-child(2),
    .galeria img:nth-child(3),
    .galeria img:nth-child(4),
    .galeria img:nth-child(5),
    .galeria img:nth-child(6) {
        grid-column: auto;
        grid-row: auto;

        height: 270px;
    }

    .tipos-eventos {
        grid-template-columns: 1fr;

        margin-top: 40px;
    }

    .evento,
    .evento:nth-child(even),
    .evento:nth-child(3n + 2),
    .evento:nth-child(3n + 3) {
        min-height: auto;

        padding: 25px 0;

        border-left: none;
        border-bottom: 1px solid #c5bca9;
    }

    .evento span {
        margin-bottom: 15px;
    }

    .contacto {
        min-height: 600px;
    }

    .botones-contacto {
        flex-direction: column;

        align-items: center;
    }

    .boton-contacto,
    .boton-ubicacion {
        width: 100%;
        max-width: 320px;
    }

    .whatsapp-flotante {
        right: 15px;
        bottom: 15px;

        padding: 12px 15px;
    }

    .whatsapp-texto {
        display: none;
    }

    .lightbox-contenido {
        width: 94vw;
        height: 82vh;
    }

    .lightbox-contenido img {
        max-height: calc(82vh - 40px);
    }

    .cerrar-lightbox {
        top: 15px;
        right: 15px;

        width: 44px;
        height: 44px;

        font-size: 30px;
    }

    .flecha-lightbox {
        width: 43px;
        height: 43px;

        font-size: 34px;
    }

    .flecha-izquierda {
        left: 8px;
    }

    .flecha-derecha {
        right: 8px;
    }

}


/* =========================
   ACCESIBILIDAD
========================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .animar,
    .hero-animacion {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }

}