/* ============================================================
   inicio.css — Heisenburguer · Página de Inicio
   ────────────────────────────────────────────────────────────
   1. HERO
   2. ELEMENTOS SIGNATURE
   3. ATMÓSFERA
   4. SCROLL REVEAL
   5. KEYFRAMES
   ============================================================ */


/* ============================================================
   1. HERO
   ============================================================ */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transition: transform 0.1s linear;
}

/* ── Contenido ── */
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 1rem;
    max-width: 56rem;
    animation: heroFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-logo-large {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.4));
    animation: floatingLogo 4s ease-in-out infinite;
}

@keyframes floatingLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-subtitle {
    font-family: var(--font-display);
    font-style: italic;
    color: var(--gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.1;
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.25s both;
}

.hero-description {
    color: #d1d5db;
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    line-height: 1.7;
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both;
}

.hero-description--premium {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.45rem;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: 0.02em;
    line-height: 1.8;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6), 0 0 40px rgba(201,168,76,0.15);
}

@media (max-width: 640px) {
    .hero-description--premium {
        font-size: 1.15rem;
    }
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    animation: slideUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}

.btn-outline-white {
    color: white;
    border-color: white;
}

.btn-outline-white:hover {
    background: white;
    color: black;
}

/* ── Scroll indicator ── */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll-indicator .material-symbols-outlined {
    color: var(--gold);
    font-size: 2.5rem;
    animation: scrollBounce 2s ease-in-out infinite;
}

/* ── Gold shimmer ── */
.text-gold {
    background: linear-gradient(90deg,
            var(--gold-dark) 0%,
            var(--gold-light) 40%,
            var(--gold) 60%,
            var(--gold-dark) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: goldShimmer 4s linear infinite;
}

/* ── Fix pantallas bajas (laptop con barra de tareas) ── */
@media (max-height: 700px) {
    .hero-logo-large {
        width: 90px !important;
        height: 90px !important;
        margin-bottom: 1rem !important;
    }

    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-description {
        font-size: .95rem;
        margin-bottom: 1.5rem;
    }
}

/* ── Responsive ── */
@media (min-width: 768px) {
    .hero-title {
        font-size: 5rem;
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
}


/* ============================================================
   2. ELEMENTOS SIGNATURE
   ============================================================ */



.section-divider {
    width: 6rem;
    height: 3px;
    background: var(--gold);
    margin: 1.5rem auto 0;
}

/* ============================================================
   3. ATMÓSFERA
   ============================================================ */

.atmosphere-section {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background: black;
}

.atmosphere-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
}

.atmosphere-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    transition: transform 0.15s linear;
}

.atmosphere-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, black, rgba(0, 0, 0, 0.8) 50%, transparent);
}

.atmosphere-content {
    position: relative;
    z-index: 1;
}

.atmosphere-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
}

.atmosphere-title {
    color: white;
}

.atmosphere-desc {
    color: #d1d5db;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.atmosphere-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.atmosphere-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: white;
    font-weight: 500;
}

.atmosphere-list .material-symbols-outlined {
    color: var(--gold);
}

.atmosphere-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.atmosphere-img {
    border-radius: 0.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.atmosphere-img-offset {
    transform: translateY(2rem);
}

@media (min-width: 1024px) {
    .atmosphere-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}


/* ============================================================
   4. SCROLL REVEAL
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition:
        opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ============================================================
   5. KEYFRAMES
   ============================================================ */

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes goldShimmer {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: -200% center;
    }
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(8px);
        opacity: 1;
    }
}
/* ── hero-effects (fusionado) ─────────────────────────────── */
/* ═══════════════════════════════════════════════════════════════════
   HEISENBURGUER — hero-effects.css
   Efectos visuales: humo animado, partículas doradas, fórmulas químicas
   Agregar DESPUÉS de inicio.css
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Variables locales ─────────────────────────────────────────── */
:root {
    --gold: #D4AF37;
    --gold-light: #F1D279;
    --smoke: rgba(200, 220, 210, 0.06);
}

/* ══════════════════════════════════════════════════════════════════
   HERO — refuerzo de fondo oscuro + vignette
   ══════════════════════════════════════════════════════════════════ */
.hero {
    background: #000;
}

/* Imagen de fondo más oscura y con más profundidad */
.hero-bg-img {
    filter: brightness(0.45) contrast(1.1) saturate(0.85);
}

/* Vignette radial dramática */
.hero-overlay {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 20% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 50%),
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.3) 0%,
            rgba(0, 0, 0, 0.5) 40%,
            rgba(0, 0, 0, 0.85) 100%);
}

/* ══════════════════════════════════════════════════════════════════
   CAPAS DE HUMO / VAPOR
   ══════════════════════════════════════════════════════════════════ */

/* Contenedor de humos — vive dentro del .hero-bg */
.hero-smoke-layer {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

/* Cada nube de humo */
.smoke {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0;
    will-change: transform, opacity;
}

/* Humo 1 — izquierda baja, lento */
.smoke-1 {
    width: 380px;
    height: 280px;
    background: radial-gradient(ellipse, rgba(180, 200, 190, 0.12) 0%, transparent 70%);
    bottom: 5%;
    left: -8%;
    animation: smokeRise1 14s ease-in-out infinite;
}

/* Humo 2 — centro, medio */
.smoke-2 {
    width: 500px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(160, 185, 175, 0.09) 0%, transparent 70%);
    bottom: 0%;
    left: 30%;
    animation: smokeRise2 18s ease-in-out 3s infinite;
}

/* Humo 3 — derecha */
.smoke-3 {
    width: 320px;
    height: 240px;
    background: radial-gradient(ellipse, rgba(200, 215, 205, 0.10) 0%, transparent 70%);
    bottom: 8%;
    right: -5%;
    animation: smokeRise3 12s ease-in-out 6s infinite;
}

/* Humo 4 — dorado suave, detrás del logo */
.smoke-4 {
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(212, 175, 55, 0.05) 0%, transparent 65%);
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    animation: smokePulse 10s ease-in-out 1s infinite;
}

@keyframes smokeRise1 {
    0% {
        opacity: 0;
        transform: translateY(0) scaleX(1);
    }

    20% {
        opacity: 1;
    }

    80% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-180px) scaleX(1.3);
    }
}

@keyframes smokeRise2 {
    0% {
        opacity: 0;
        transform: translateY(0) scaleX(1);
    }

    25% {
        opacity: 0.8;
    }

    75% {
        opacity: 0.5;
    }

    100% {
        opacity: 0;
        transform: translateY(-220px) scaleX(1.4);
    }
}

@keyframes smokeRise3 {
    0% {
        opacity: 0;
        transform: translateY(0) scaleX(1);
    }

    30% {
        opacity: 0.9;
    }

    70% {
        opacity: 0.4;
    }

    100% {
        opacity: 0;
        transform: translateY(-150px) scaleX(1.25);
    }
}

@keyframes smokePulse {

    0%,
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.15);
    }
}

/* ══════════════════════════════════════════════════════════════════
   PARTÍCULAS DORADAS FLOTANTES
   ══════════════════════════════════════════════════════════════════ */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--gold);
    opacity: 0;
    will-change: transform, opacity;
}

/* Tamaños y posiciones variados */
.p1 {
    width: 3px;
    height: 3px;
    left: 8%;
    top: 70%;
    animation: floatUp 9s ease-in-out 0s infinite;
}

.p2 {
    width: 2px;
    height: 2px;
    left: 15%;
    top: 85%;
    animation: floatUp 11s ease-in-out 1.5s infinite;
}

.p3 {
    width: 4px;
    height: 4px;
    left: 22%;
    top: 75%;
    animation: floatUp 8s ease-in-out 0.8s infinite;
}

.p4 {
    width: 2px;
    height: 2px;
    left: 35%;
    top: 90%;
    animation: floatUp 13s ease-in-out 3s infinite;
}

.p5 {
    width: 3px;
    height: 3px;
    left: 48%;
    top: 80%;
    animation: floatUp 10s ease-in-out 1s infinite;
}

.p6 {
    width: 5px;
    height: 5px;
    left: 55%;
    top: 72%;
    animation: floatUp 7s ease-in-out 4s infinite;
}

.p7 {
    width: 2px;
    height: 2px;
    left: 63%;
    top: 88%;
    animation: floatUp 12s ease-in-out 2s infinite;
}

.p8 {
    width: 3px;
    height: 3px;
    left: 72%;
    top: 78%;
    animation: floatUp 9s ease-in-out 5s infinite;
}

.p9 {
    width: 4px;
    height: 4px;
    left: 80%;
    top: 82%;
    animation: floatUp 14s ease-in-out 0.5s infinite;
}

.p10 {
    width: 2px;
    height: 2px;
    left: 88%;
    top: 75%;
    animation: floatUp 8s ease-in-out 3.5s infinite;
}

.p11 {
    width: 3px;
    height: 3px;
    left: 92%;
    top: 90%;
    animation: floatUp 11s ease-in-out 2.5s infinite;
}

.p12 {
    width: 2px;
    height: 2px;
    left: 5%;
    top: 60%;
    animation: floatUp 15s ease-in-out 1.2s infinite;
}

/* Variante brillante (destello) */
.p6,
.p3 {
    background: var(--gold-light);
    box-shadow: 0 0 6px 2px rgba(241, 210, 121, 0.6);
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0) scale(1);
    }

    10% {
        opacity: 0.9;
    }

    80% {
        opacity: 0.4;
    }

    100% {
        opacity: 0;
        transform: translateY(-320px) translateX(var(--drift, 20px)) scale(0.5);
    }
}

/* Deriva horizontal aleatoria por variable CSS */
.p1 {
    --drift: 15px;
}

.p2 {
    --drift: -20px;
}

.p3 {
    --drift: 30px;
}

.p4 {
    --drift: -10px;
}

.p5 {
    --drift: 25px;
}

.p6 {
    --drift: -35px;
}

.p7 {
    --drift: 12px;
}

.p8 {
    --drift: -28px;
}

.p9 {
    --drift: 18px;
}

.p10 {
    --drift: -22px;
}

.p11 {
    --drift: 40px;
}

.p12 {
    --drift: -15px;
}

/* ══════════════════════════════════════════════════════════════════
   FÓRMULAS QUÍMICAS FLOTANTES
   ══════════════════════════════════════════════════════════════════ */
.hero-formulas {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
    font-family: 'Courier New', 'Lucida Console', monospace;
}

.formula {
    position: absolute;
    font-size: clamp(.6rem, 1.2vw, .85rem);
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(212, 175, 55, 0.18);
    white-space: nowrap;
    user-select: none;
    animation: formulaDrift linear infinite;
    opacity: 0;
}

/* Posiciones y velocidades únicas */
.f1 {
    top: 12%;
    left: 5%;
    animation-duration: 30s;
    animation-delay: 0s;
}

.f2 {
    top: 28%;
    left: 78%;
    animation-duration: 25s;
    animation-delay: -8s;
}

.f3 {
    top: 55%;
    left: 3%;
    animation-duration: 35s;
    animation-delay: -3s;
}

.f4 {
    top: 70%;
    left: 85%;
    animation-duration: 28s;
    animation-delay: -15s;
}

.f5 {
    top: 18%;
    left: 42%;
    animation-duration: 40s;
    animation-delay: -5s;
    font-size: .55rem;
}

.f6 {
    top: 42%;
    left: 60%;
    animation-duration: 22s;
    animation-delay: -12s;
}

.f7 {
    top: 82%;
    left: 20%;
    animation-duration: 32s;
    animation-delay: -2s;
}

.f8 {
    top: 35%;
    left: 15%;
    animation-duration: 27s;
    animation-delay: -18s;
    font-size: .5rem;
}

@keyframes formulaDrift {
    0% {
        opacity: 0;
        transform: translateY(0) translateX(0);
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(-60px) translateX(30px);
    }
}

/* ══════════════════════════════════════════════════════════════════
   LÍNEA ESCANEO (scanline sutil) — estética laboratorio
   ══════════════════════════════════════════════════════════════════ */
.hero-scanline {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background: repeating-linear-gradient(to bottom,
            transparent 0px,
            transparent 3px,
            rgba(0, 0, 0, 0.03) 3px,
            rgba(0, 0, 0, 0.03) 4px);
    opacity: .4;
}

/* ══════════════════════════════════════════════════════════════════
   LOGO — glow dorado y nitidez
   ══════════════════════════════════════════════════════════════════ */
.hero-logo-large {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    filter:
        drop-shadow(0 0 18px rgba(212, 175, 55, 0.55)) drop-shadow(0 0 40px rgba(212, 175, 55, 0.25)) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8));
    animation: logoGlow 4s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        filter:
            drop-shadow(0 0 14px rgba(212, 175, 55, 0.45)) drop-shadow(0 0 30px rgba(212, 175, 55, 0.18)) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8));
    }

    to {
        filter:
            drop-shadow(0 0 26px rgba(212, 175, 55, 0.75)) drop-shadow(0 0 55px rgba(212, 175, 55, 0.35)) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.8));
    }
}

/* ══════════════════════════════════════════════════════════════════
   TEXTO — refuerzo tipográfico
   ══════════════════════════════════════════════════════════════════ */
.hero-title {
    text-shadow: 0 2px 40px rgba(0, 0, 0, 0.9), 0 0 80px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.7);
}

.hero-description {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}

/* Scroll indicator — brillo dorado pulsante */
.hero-scroll-indicator .material-symbols-outlined {
    color: var(--gold);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.7));
}
/* ── hero-fix (fusionado) ────────────────────────────────── */
/* ═══════════════════════════════════════════════════════════
   hero-fix.css — Agregar DESPUÉS de inicio.css y hero-effects.css
   Fix: logo centrado en desktop, visible en mobile
   ═══════════════════════════════════════════════════════════ */

/* ── Hero content: centrado real en todos los breakpoints ── */
/* ── Fix navbar + botones visibles ── */
.hero {
    height: 100svh;
    /* usa svh en vez de vh — ignora la barra del browser */
    min-height: 600px;
}

.hero-content {
    padding-top: 70px;
    /* ← compensa navbar */
    padding-bottom: 80px;
    /* ← espacio para los botones */
    max-height: 100%;
    overflow: visible;
}

/* ── Logo siempre visible ── */
.hero-logo-large {
    display: block !important;
    width: clamp(80px, 12vw, 140px) !important;
    height: auto !important;
    margin: 0 auto 1.2rem auto !important;
}

/* ── Pantallas bajas (laptop 768px de alto) ── */
@media (max-height: 750px) {
    .hero-logo-large {
        width: 80px !important;
        margin-bottom: .8rem !important;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
        margin-bottom: .5rem !important;
    }

    .hero-title {
        font-size: 2.8rem !important;
        margin-bottom: 1rem !important;
    }

    .hero-description {
        margin-bottom: 1.2rem !important;
        font-size: .95rem !important;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* ← centra horizontalmente TODO */
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 0 1.5rem;
}

/* ── Logo: centrado, visible y con glow oscuro ── */
.hero-logo-large {
    display: block;
    width: clamp(100px, 18vw, 160px);
    /* responsive: 100px mobile → 160px desktop */
    height: auto;
    margin: 0 auto 1.8rem auto;
    /* centrado horizontal garantizado */
    object-fit: contain;

    /* Más oscuro + glow dorado como pediste */
    filter:
        brightness(0.82) drop-shadow(0 0 22px rgba(212, 175, 55, 0.65)) drop-shadow(0 0 50px rgba(212, 175, 55, 0.28)) drop-shadow(0 6px 24px rgba(0, 0, 0, 0.95));

    animation: floatingLogo 4s ease-in-out infinite;
}

/* Mobile específico: aseguramos que aparezca */
@media (max-width: 767px) {
    .hero-logo-large {
        width: 110px;
        height: 110px;
        margin: 0 auto 1.4rem auto;
    }

    .hero-content {
        padding: 0 1.25rem;
    }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-logo-large {
        width: 130px;
        height: 130px;
    }
}
/* ── mobile-fixes (fusionado) ───────────────────────────── */
/* ═══════════════════════════════════════════════════════════
   mobile-fixes.css
   Fix 1: Logo del hero no tapa el navbar
   ═══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   FIX 1 — HERO: logo no solapa el navbar
   ══════════════════════════════════════════════════════════ */

.hero {
    padding-top: 0;
}

.hero-content {
    padding-top: 90px;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .hero-content {
        padding-top: 50px;
    }

    .hero-logo-large {
        width: clamp(70px, 22vw, 110px) !important;
        margin-bottom: .5rem !important;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
        margin-bottom: .5rem !important;
    }

    .hero-subtitle {
        font-size: clamp(.75rem, 3.5vw, 1rem) !important;
        margin-bottom: .4rem !important;
    }

    .hero-description {
        font-size: clamp(.78rem, 3.2vw, .9rem) !important;
        margin-bottom: 1.2rem !important;
        padding: 0 1rem;
    }
}

@media (max-width: 767px) {

    /* Reducir espacios entre secciones */
    .section {
        padding: 48px 0;
    }

    .carousel3d-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .carousel3d-header {
        margin-bottom: 1.5rem;
    }

    /* Header del carrusel más compacto */
    .carousel3d-header .section-title {
        font-size: 1.6rem;
    }
}