/* BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Century Gothic', 'Montserrat', sans-serif;
    background-color: #1E3226;
    color: #F8F7F3;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 10;
}

/* FONDO ANIMADO */
.fondo-animado {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: #1E3226 url('../img/bg.svg') repeat left top;
    background-size: auto 100%;
    opacity: 0.35;
    animation: recorrerFondo 120s linear infinite;
    will-change: background-position-x;
    transform: translateZ(0);
}

@keyframes recorrerFondo {
    0% { background-position-x: 0; }
    100% { background-position-x: -50%; }
}

/* SECCION PRINCIPAL */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 0;
    background: linear-gradient(180deg, rgba(37,58,46,0.75), rgba(30,50,38,0.75));
    overflow: hidden;
}

/* DECORACIONES */
.decoracion-esquina {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(198,127,49,0.4);
    opacity: 0;
}
.sup-izq { top: 40px; left: 40px; border-right: none; border-bottom: none; }
.sup-der { top: 40px; right: 40px; border-left: none; border-bottom: none; }
.inf-izq { bottom: 40px; left: 40px; border-right: none; border-top: none; }
.inf-der { bottom: 40px; right: 40px; border-left: none; border-top: none; }

.linea-decorativa.horizontal {
    position: absolute;
    top: 25%;
    left: -10%;
    width: 120%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(198,127,49,0.3), transparent);
    opacity: 0;
}
.linea-decorativa.vertical {
    position: absolute;
    top: -10%;
    left: 35%;
    width: 1px;
    height: 120%;
    background: linear-gradient(180deg, transparent, rgba(198,127,49,0.3), transparent);
    opacity: 0;
}

.diamante {
    position: absolute;
    top: 15%;
    right: 15%;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(198,127,49,0.5);
    transform: rotate(45deg);
    opacity: 0;
}
.triangulo-1 {
    position: absolute;
    bottom: 20%;
    left: 8%;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-bottom: 40px solid rgba(198,127,49,0.2);
    opacity: 0;
}
.triangulo-2 {
    position: absolute;
    top: 60%;
    right: 10%;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 30px solid rgba(198,127,49,0.2);
    opacity: 0;
}

/* LOGO */
.logo-contenedor {
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(-30px);
}
.logo-contenedor img {
    width: 260px;
}

/* CONTENIDO */
.hero-contenido {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* TEXTO */
.texto {
    opacity: 0;
    transform: translateX(-40px);
}
.etiqueta-con-decoracion {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}
.raya-izq, .raya-der {
    flex: 1;
    height: 1px;
    background: #C67F31;
    max-width: 40px;
}
.etiqueta {
    color: #C67F31;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
}

h1 {
    font-family: 'Fjalla One', 'Playfair Display SC', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
strong{
    color: #C67F31;
}
.separador {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}
.linea-corta {
    flex: 1;
    height: 1px;
    background: rgba(198,127,49,0.5);
}
.diamante-separador {
    width: 8px;
    height: 8px;
    background: #C67F31;
    transform: rotate(45deg);
}

/* CONTACTO */
.contacto {
    padding-top: 10px;
}
.dato-contacto {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #F8F7F3;
    font-size: 1.05rem;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}
.dato-contacto i {
    color: #C67F31;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}
.dato-contacto:hover {
    color: #C67F31;
}
.dato-contacto:last-child {
    margin-bottom: 0;
}

/* VIDEO - PROPORCIÓN HORIZONTAL 16:9 */
.video-contenedor {
    opacity: 0;
    transform: translateX(40px);
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.marco-exterior {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 12px;
    border: 2px solid rgba(198,127,49,0.5);
}
.marco-exterior::before, .marco-exterior::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid #C67F31;
}
.marco-exterior::before { top: -6px; left: -6px; border-right: none; border-bottom: none; }
.marco-exterior::after { bottom: -6px; right: -6px; border-left: none; border-top: none; }

.marco-interior {
    width: 100%;
    height: 100%;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,0.5);
}

.boton-sonido {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    background: rgba(30,50,38,0.8);
    border: 2px solid #C67F31;
    color: #C67F31;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.boton-sonido:hover {
    background: #C67F31;
    color: #1E3226;
}

/* SCROLL */
.scroll-indicador {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
}
.linea-scroll {
    width: 2px;
    height: 70px;
    background: linear-gradient(180deg, transparent, #C67F31, transparent);
    animation: scrollMueve 2s infinite ease-in-out;
}
.diamante-scroll {
    width: 10px;
    height: 10px;
    background: #C67F31;
    transform: rotate(45deg);
    animation: diamanteMueve 2s infinite ease-in-out;
}

@keyframes scrollMueve {
    0%, 100% { transform: scaleY(0.4); opacity: 0.3; }
    50% { transform: scaleY(1); opacity: 1; }
}
@keyframes diamanteMueve {
    0%, 100% { transform: rotate(45deg) scale(0.8); opacity: 0.3; }
    50% { transform: rotate(45deg) scale(1); opacity: 1; }
}

/* RESPONSIVO */
@media (max-width: 900px) {
    .hero-contenido {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .logo-contenedor {
        text-align: center;
    }

    .logo-contenedor img {
        margin: 0 auto;
        width: 220px;
    }

    .decoracion-esquina, .linea-decorativa, .diamante, .triangulo-1, .triangulo-2 {
        display: none;
    }
}