* {
    margin: 0; padding: 0; box-sizing: border-box; font-family: 'Helvetica Neue', Inter, sans-serif;
}

body {
    background-color: #000; color: #fff; overflow-x: hidden;
}

/* ==========================================================================
   1. NAVEGACIÓN TIPO PÍLDORA (GLASSMORPHISM ESTILO iOS)
   ========================================================================== */
.glass-nav {
    position: fixed; 
    top: 30px; 
    left: 0; 
    width: 100vw; 
    z-index: 10001; 
    display: flex; 
    justify-content: center; /* Centrado perfecto de la barra entera */
    pointer-events: none; /* Permite clics en el fondo vacío */
}

/* El contenedor principal de la cápsula */
.glass-pill {
    pointer-events: auto; /* Reactiva clics en la barra */
    display: inline-flex; 
    align-items: center;
    gap: 16px; 
    padding: 8px 24px 8px 24px; 
    border-radius: 50px;
    white-space: nowrap; /* Mantiene todo en una línea */
    
    /* Efecto cristal hiperrealista (Apple iOS) */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(35px) saturate(180%); 
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15), inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

/* IZQUIERDA: Logo Principal */
.nav-logo { 
    display: flex; 
    align-items: center; 
    flex-shrink: 0; 
    padding-right: 16px;
    border-right: 1px solid rgba(255, 255, 255, 0.15); /* Línea separadora */
}
.nav-logo img { 
    height: 20px; 
    width: auto; 
    object-fit: contain; 
    display: block; 
    transition: transform 0.3s ease;
}
.nav-logo:hover img { transform: scale(1.05); }

/* CENTRO: Enlaces */
.nav-links { display: flex; gap: 8px; align-items: center; }

.nav-links a {
    position: relative;
    padding: 8px 16px; 
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 0.8rem; 
    font-weight: 500; 
    letter-spacing: 0.5px; 
    text-transform: uppercase; 
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.3s ease, font-weight 0.1s;
    display: inline-flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    white-space: nowrap; /* Evita que el texto de los enlaces salte de línea */
    flex-shrink: 0; /* Evita que los enlaces se aplasten */
}

.nav-links a::after {
    content: attr(data-text); height: 0; visibility: hidden; overflow: hidden;
    user-select: none; pointer-events: none; font-weight: 800; white-space: nowrap; 
}

.nav-links a:hover { transform: scale(1.12); font-weight: 800; color: #ffffff; }

/* DERECHA: Botón Icono (Abre el Menú) */
.btn-menu-icon {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 16px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}
/* Override for sub-page headers where no separator needed */
.arq-btn-menu.btn-menu-icon {
    padding-left: 0;
    border-left: none;
}

.btn-menu-icon img {
    height: 20px; 
    width: auto; 
    display: block;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
}

.btn-menu-icon:hover img { transform: scale(1.15); }

/* Animación cuando el menú está abierto */
.btn-menu-icon.open img { 
    transform: rotate(90deg) scale(0.9); 
    opacity: 0.6; 
}

/* ==========================================================================
   2. MENU OVERLAY
   ========================================================================== */
.menu-overlay {
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh; /* Fallback para navegadores antiguos */
    height: 100dvh; /* ⚠️ Usa el alto exacto de la pantalla actual sin importar el scroll */
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(40px) saturate(1.6); -webkit-backdrop-filter: blur(40px) saturate(1.6);
    z-index: 10000;
    
    display: flex; flex-direction: column; align-items: center; justify-content: center; 
    gap: 30px; padding: 24px;
    pointer-events: none; opacity: 0; visibility: hidden;
    overflow: hidden; /* ⚠️ BLOQUEA EL SCROLL COMPLETAMENTE DENTRO DEL MENÚ */
}
.menu-overlay.is-open { pointer-events: all; visibility: visible; }

.menu-overlay-nav { 
    width: min(680px, 100%); 
    flex-shrink: 0; 
    transform: translateY(-4vh); /* ⚠️ Nudge: Sube todo el menú un poco para el "centro óptico" */
}
.menu-overlay-nav ul { list-style: none; padding: 0; width: 100%; }
.menu-overlay-nav li { border-bottom: 1px solid rgba(0, 0, 0, 0.07); overflow: hidden; }
.menu-overlay-nav li:first-child { border-top: 1px solid rgba(0, 0, 0, 0.07); }

.menu-overlay-nav a {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.5rem;
    font-size: clamp(1.4rem, 3.5vw, 3.5rem); font-weight: 700; color: #111;
    text-decoration: none; letter-spacing: -0.02em;
    transition: color 0.2s, padding-left 0.3s;
}
.menu-overlay-nav a:hover { color: #FF7A00; padding-left: 2.8rem; }
.menu-overlay-nav a:hover em { color: #FF7A00; }
.menu-overlay-nav em { 
    font-style: normal; 
    font-size: 0.45em; 
    font-weight: 400; 
    color: rgba(255, 122, 0, 0.65); 
    letter-spacing: 0.06em; 
}

/* Icono izquierdo en cada item del menú */
.menu-item-icon {
    width: 24px; height: 24px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0.2; transition: opacity 0.25s;
}
.menu-item-icon img { width: 16px; height: 16px; display: block; filter: brightness(0); }
.menu-overlay-nav a:hover .menu-item-icon { opacity: 0.5; }

/* Redes sociales en el overlay */
.menu-overlay-social {
    display: flex; gap: 10px; justify-content: center; flex-shrink: 0;
    transform: translateY(-4vh); /* Sube junto con el texto */
}
.menu-overlay-social a {
    width: 42px; height: 42px;
    background: rgba(0,0,0,0.05); border: 1px solid rgba(0,0,0,0.09);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: rgba(0,0,0,0.38); text-decoration: none;
    transition: all 0.3s ease;
}
/* Redes sociales en el overlay - Efecto Hover Naranja */
.menu-overlay-social a:hover {
    background: rgba(255, 122, 0, 0.1); /* Fondo naranja ultra transparente */
    border-color: #FF7A00; /* Borde naranja */
    color: #FF7A00; /* Icono naranja */
    transform: translateY(-2px);
}
.menu-overlay-social svg { width: 15px; height: 15px; fill: currentColor; display: block; }

/* Mobile: Ajustes limpios para mantener todo al centro */
@media (max-width: 900px) {
    .menu-overlay { gap: 20px; }
    .menu-overlay-nav a { font-size: clamp(1.3rem, 5vw, 2.4rem); padding: 0.85rem 1rem; }
}

/* ==========================================================================
   3. HERO CON VIDEO DE FONDO Y LOGO ANIMADO
   ========================================================================== */
#hero-sequence { position: relative; width: 100vw; height: 150vh; }
#hero-sticky { position: sticky; top: 0; width: 100%; height: 100vh; overflow: hidden; background: #000; display: flex; align-items: center; justify-content: center; }
#hero-video, #hero-video-b { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; pointer-events: none; }
#hero-video-b { opacity: 0; will-change: opacity; }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.2); z-index: 2; pointer-events: none; will-change: background-color; }
.watermark-hider { position: absolute; bottom: 0; left: 0; width: 100%; height: 45vh; background: linear-gradient(to bottom, transparent 0%, #000 75%); z-index: 3; pointer-events: none; }

.hero-content { 
    position: relative; 
    z-index: 4; 
    pointer-events: none;
    display: flex;
    justify-content: center;
    width: 100%;
}

/* Grupo del logo + Textos - DISEÑO PC */
#hero-main-group {
    display: flex;
    flex-direction: column; 
    align-items: flex-end; /* ALINEA TODO EL BLOQUE A LA DERECHA */
    width: clamp(280px, 45vw, 650px); 
    gap: 0px; 
    opacity: 0; 
    filter: drop-shadow(0px 4px 25px rgba(0,0,0,0.65));
}

#hero-main-group img {
    width: 100%; 
    height: auto;
    display: block;
}

.slot-container {
    height: 40px;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: -4px;
    z-index: 5;
}

.slot-texts {
    display: flex;
    flex-direction: column;
}

.slot-item {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700; 
    font-size: 32px; 
    line-height: 40px; 
    color: #ffffff; 
    text-transform: uppercase;
    white-space: nowrap;
    text-align: right; 
    height: 40px; 
    letter-spacing: 2px; 
}

/* ==========================================================================
   DISEÑO EXCLUSIVO PARA MÓVILES (MEDIA QUERY)
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Movemos la barra hacia la esquina superior derecha */
    .glass-nav {
        justify-content: flex-end;
        padding-right: 5vw; /* Separación del borde de la pantalla */
    }

    /* 2. La Píldora se encoge para convertirse en un botón flotante */
    .glass-pill {
        width: auto; 
        padding: 12px 18px; /* Un tamaño más compacto para el dedo */
    }
    
    /* 3. Ocultamos el logo de la izquierda y los textos */
    .nav-logo { display: none; } 
    .nav-links { display: none; } 
    
    /* 4. Limpiamos bordes y espacios extras del ícono del menú */
    .btn-menu-icon { border-left: none; padding-left: 0; }
    .btn-menu-icon img { height: 22px; }

    /* =======================================
       Ajustes del Logo Central Animado (Hero)
       ======================================= */
    #hero-main-group { 
        width: 90vw; 
        align-items: flex-end; 
        gap: 0px; 
    }
    
   .slot-container {
        height: 30px;
        margin-top: 2px;
    }
    
    .slot-item { 
        font-size: clamp(14px, 4.5vw, 22px); 
        line-height: 30px; 
        height: 30px; 
        text-align: right; 
        letter-spacing: 1px; 
    }
}

.hero-gradient { position: fixed; bottom: 0; left: 0; width: 100%; height: 80vh; background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 30%, rgba(0, 0, 0, 0.88) 65%, #000 100%); z-index: 7; pointer-events: none; opacity: 0; will-change: opacity; }

/* ==========================================================================
   4. INDEX: WRAPPER FOOTER
   ========================================================================== */
#footer-wrapper {
    width: 100vw;
    background-color: #000;
    position: relative;
    z-index: 10;
}

/* ==========================================================================
   5. FOOTER PREMIUM
   ========================================================================== */
   /* ==========================================================================
   5. LIGHTBOX - NAVEGACIÓN Y FLECHAS
   ========================================================================== */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    display: none; z-index: 9999;
    flex-direction: column; align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }

.lightbox-inner {
    position: relative; width: 90%; max-width: 1000px;
    display: flex; align-items: center; justify-content: center;
}

.lightbox-img {
    max-height: 80vh; max-width: 100%;
    transition: opacity 0.3s ease; object-fit: contain;
}

.lightbox-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white; padding: 20px; cursor: pointer; border-radius: 50%;
    transition: all 0.3s ease; display: flex; align-items: center; justify-content: center;
    z-index: 10;
}
.lightbox-btn:hover { background: rgba(255, 140, 0, 0.3); border-color: #ff8c00; }

.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

.lightbox-btn svg { width: 24px; height: 24px; stroke: white; stroke-width: 2; fill: none; }

.lightbox-title { position: absolute; top: 20px; font-family: 'Montserrat'; font-weight: 700; color: #fff; letter-spacing: 1px; }
.lightbox-counter { position: absolute; bottom: 20px; font-size: 0.8rem; color: rgba(255,255,255,0.5); }

.lightbox-close { 
    position: absolute; top: 30px; right: 30px; background: none; border: none; cursor: pointer; 
}
.lightbox-close svg { width: 32px; height: 32px; stroke: white; }

@media (max-width: 900px) {
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-btn { padding: 12px; }
}
.main-footer {
    background: #080808;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-family: 'Montserrat', sans-serif;
    padding-top: 64px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
    gap: 52px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    align-items: start;
}

.footer-logo {
    width: 130px;
    height: auto;
    display: block;
    margin-bottom: 18px;
    opacity: 0.85;
}

.footer-tagline {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.22);
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.footer-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.32);
    line-height: 1.7;
    margin-top: 8px;
    margin-bottom: 14px;
}

.footer-loc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-nav-cols {
    display: contents;
}

.footer-col-title {
    display: block;
    font-size: 0.58rem;
    letter-spacing: 3px;
    color: #FF7A00;
    font-weight: 700;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col li a,
.footer-col li span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    transition: color 0.25s ease;
    line-height: 1.4;
}

.footer-col li a:hover { color: rgba(255, 255, 255, 0.9); }

.footer-newsletter-desc {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.6;
    margin-bottom: 18px;
    font-weight: 500;
}

.footer-email-wrap {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 5px 5px 5px 16px;
    gap: 8px;
    margin-bottom: 22px;
}

.footer-email-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-family: 'Montserrat', sans-serif;
}

.footer-email-input::placeholder {
    color: rgba(255, 255, 255, 0.28);
}

.footer-email-btn {
    width: 32px;
    height: 32px;
    background: #73bfc4;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #000;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.footer-email-btn:hover {
    background: #FF7A00;
    transform: scale(1.08);
}

.footer-social-col {}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 4px;
    flex-wrap: wrap;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    text-decoration: none;
}

.social-links a:hover {
    background: rgba(255, 122, 0, 0.12);
    border-color: rgba(255, 122, 0, 0.5);
    color: #FF7A00;
    transform: translateY(-3px);
}

.social-links svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    display: block;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
}

.footer-copy,
.footer-made {
    font-size: 0.67rem;
    color: rgba(255, 255, 255, 0.18);
    letter-spacing: 0.5px;
}

@media (max-width: 1100px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-social-col { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
    .footer-inner { padding: 0 24px; }
    .footer-social-col { grid-column: auto; }
}

@media (max-width: 600px) {
    .footer-top { grid-template-columns: 1fr; gap: 28px; }
    .footer-brand { grid-column: auto; }
    .footer-bottom-bar { flex-direction: column; gap: 8px; text-align: center; }
    .main-footer { padding-top: 44px; }
}
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95); z-index: 99999;
    display: none; align-items: center; justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox-img { max-width: 90%; max-height: 80vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: white; cursor: pointer; }
.lightbox-btn { position: absolute; top: 50%; background: none; border: none; color: white; cursor: pointer; padding: 20px; }
.lightbox-prev { left: 0; }
.lightbox-next { right: 0; }
.lightbox-title { position: absolute; top: 20px; left: 20px; color: white; font-family: Montserrat; }
.lightbox-counter { position: absolute; bottom: 20px; color: white; }
/* ==========================================================================
   GALERÍA PINTEREST (MASONRY) - MELAMINA
   ========================================================================== */
.mel-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}
.mel-masonry-item {
    border-radius: 12px;
    overflow: hidden;
    background: #1e1e1e;
    position: relative;
    cursor: pointer;
    aspect-ratio: 4/3;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.45s ease;
}
.mel-masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease, filter 0.4s ease;
    filter: brightness(0.88);
}
.mel-masonry-item:hover img {
    transform: scale(1.05);
    filter: brightness(1.05);
}

/* Pinterest glow — naranja */
.mel-masonry-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 40px rgba(255,120,0,0.21), 0 0 0 1px rgba(255,120,0,0.09);
}
@media (max-width: 1024px) { .mel-masonry { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
    .mel-masonry { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (max-width: 480px) { .mel-masonry { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   LIGHTBOX UNIVERSAL
   ========================================================================== */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 99999; display: none; align-items: center; justify-content: center; }
.lightbox.is-open { display: flex; }
.lightbox-img { max-width: 90%; max-height: 80vh; object-fit: contain; }
.lightbox-close { position: absolute; top: 20px; right: 20px; background: none; border: none; color: white; cursor: pointer; font-size: 2rem; z-index: 10; }
.lightbox-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.08); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.18); color: white; cursor: pointer; padding: 20px; border-radius: 50%; transition: all 0.3s ease; z-index: 10; display: flex; align-items: center; justify-content: center; }
.lightbox-btn:hover { background: rgba(255, 140, 0, 0.3); border-color: #ff8c00; }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }
.lightbox-btn svg { width: 24px; height: 24px; stroke: white; stroke-width: 2; fill: none; }
.lightbox-title { position: absolute; top: 20px; left: 30px; color: white; font-family: 'Montserrat', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.lightbox-counter { position: absolute; bottom: 20px; color: rgba(255,255,255,0.5); font-size: 0.8rem; font-family: 'Montserrat', sans-serif; }