/* ── Variables ── */
:root {
        --gold: #d4af37;
        --gold-dark: #b8860b;
        --copper: #977a5a;
        --dark: #0a0806;
        --cream: #f9e3ba;
        --white: #EEEDEB;
        --text-muted: rgba(238, 237, 235, 0.62);
}

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

html {
        scroll-behavior: smooth;
}

body {
        font-family: 'DM Sans', sans-serif;
        background: var(--dark);
        color: var(--white);
        overflow-x: hidden;
        min-height: 100vh;
}

/* ── GRAIN ── */
body::before {
        content: '';
        position: fixed;
        inset: 0;
        background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
        pointer-events: none;
        z-index: 900;
        opacity: 0.4;
}

/* ── FONDO ── */
.bg-scene {
        position: fixed;
        inset: 0;
        background: url("../img/fondo atardecer 4k.jpeg") center/cover no-repeat;
        z-index: 0;
}

.bg-scene::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(160deg, rgba(10, 8, 6, 0.95) 0%, rgba(10, 8, 6, 0.62) 40%, rgba(151, 122, 90, 0.12) 70%, rgba(10, 8, 6, 0.97) 100%);
}

.bg-scene::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
                radial-gradient(circle at 15% 25%, rgba(212, 175, 55, 0.06) 0%, transparent 50%),
                radial-gradient(circle at 85% 75%, rgba(151, 122, 90, 0.08) 0%, transparent 50%);
}

/* ── HEADER ── */
.encabezado {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 500;
        padding: 0 5%;
        height: 72px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: rgba(10, 8, 6, 0.72);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo {
        width: 150px;
        height: 60px;
        object-fit: contain;
        filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.25));
}

nav ul {
        list-style: none;
        display: flex;
        gap: 6px;
        align-items: center;
}

nav ul li a {
        color: rgba(238, 237, 235, 0.75);
        text-decoration: none;
        font-family: 'Cinzel', serif;
        font-size: 0.72rem;
        font-weight: 500;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        padding: 8px 16px;
        border-radius: 4px;
        transition: color 0.3s ease;
}

nav ul li a:hover {
        color: var(--gold);
}

/* ── HERO ── */
.hero {
        position: relative;
        z-index: 5;
        min-height: 52vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 60px 5% 60px;
}

.hero-label {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        font-size: 0.68rem;
        letter-spacing: 0.25em;
        text-transform: uppercase;
        color: var(--gold);
        margin-bottom: 22px;
        animation: fadeUp 1s 0.1s both;
}

.hero-label span {
        display: block;
        width: 32px;
        height: 1px;
        background: var(--gold);
}

h1.subtitulo {
        font-family: 'Bebas Neue', sans-serif;
        font-size: clamp(3.8rem, 10vw, 8rem);
        line-height: 0.95;
        letter-spacing: 0.03em;
        color: var(--cream);
        text-shadow: 0 0 80px rgba(212, 175, 55, 0.1);
        animation: fadeUp 1s 0.2s both;
        margin-bottom: 18px;
}

h1.subtitulo em {
        display: block;
        font-style: normal;
        -webkit-text-stroke: 1px rgba(212, 175, 55, 0.45);
        color: transparent;
        font-size: 0.65em;
}

.hero-sub {
        font-family: 'Playfair Display', serif;
        font-style: italic;
        font-size: clamp(1rem, 2vw, 1.25rem);
        color: rgba(249, 227, 186, 0.72);
        letter-spacing: 0.05em;
        animation: fadeUp 1s 0.4s both;
        max-width: 500px;
}

/* ── BAND ── */
.band {
        position: relative;
        z-index: 5;
        background: var(--gold);
        padding: 11px 0;
        overflow: hidden;
        white-space: nowrap;
        margin-top: 72px;
}

.band-track {
        display: inline-flex;
        gap: 48px;
        animation: marquee 26s linear infinite;
}

.band-track span {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 0.82rem;
        letter-spacing: 0.18em;
        color: var(--dark);
}

.band-dot {
        width: 5px;
        height: 5px;
        background: var(--dark);
        border-radius: 50%;
        display: inline-block;
        vertical-align: middle;
}

/* ── TABS ── */
.tabs {
        position: relative;
        z-index: 5;
        display: flex;
        justify-content: center;
        gap: 16px;
        padding: 48px 5% 40px;
}

.tab-btn {
        padding: 13px 40px;
        border-radius: 50px;
        border: 1px solid rgba(212, 175, 55, 0.3);
        background: rgba(255, 255, 255, 0.03);
        color: rgba(238, 237, 235, 0.6);
        font-family: 'Cinzel', serif;
        font-size: 0.78rem;
        font-weight: 600;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        cursor: pointer;
        transition: all 0.35s ease;
}

.tab-btn:hover {
        border-color: rgba(212, 175, 55, 0.5);
        color: var(--cream);
        background: rgba(212, 175, 55, 0.06);
}

.tab-btn.active {
        background: linear-gradient(135deg, rgba(212, 175, 55, 0.2), rgba(184, 134, 11, 0.15));
        border-color: var(--gold);
        color: var(--gold);
        box-shadow: 0 0 22px rgba(212, 175, 55, 0.18);
}

/* ── TAB CONTENT ── */
.tab-content {
        position: relative;
        z-index: 5;
}

/* ── BLOQUES ── */
.bloques-wrapper {
        max-width: 1060px;
        margin: 0 auto;
        padding: 20px 5% 80px;
        display: flex;
        flex-direction: column;
        gap: 28px;
}

.bloque {
        display: grid;
        grid-template-columns: 1fr 1fr;
        height: 370px;
        border-radius: 18px;
        overflow: hidden;
        border: 1px solid rgba(212, 175, 55, 0.12);
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.7s ease, transform 0.7s ease, border-color 0.4s;
}

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

.bloque:hover {
        border-color: rgba(212, 175, 55, 0.3);
}

.bloque.invertido {
        direction: rtl;
}

.bloque.invertido>* {
        direction: ltr;
}

/* ── Imagen ── */
.lugar-img-wrapper {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
}

.lugar-img-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s ease;
        filter: brightness(0.82) saturate(0.88);
}

.bloque:hover .lugar-img-wrapper img {
        transform: scale(1.05);
        filter: brightness(0.9) saturate(1);
}

.lugar-img-wrapper::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, transparent 60%, rgba(10, 8, 6, 0.7) 100%);
        pointer-events: none;
}

.bloque.invertido .lugar-img-wrapper::after {
        background: linear-gradient(to left, transparent 60%, rgba(10, 8, 6, 0.7) 100%);
}

.lugar-num {
        position: absolute;
        bottom: 16px;
        left: 20px;
        font-family: 'Bebas Neue', sans-serif;
        font-size: 5rem;
        line-height: 1;
        color: rgba(212, 175, 55, 0.18);
        z-index: 2;
        pointer-events: none;
}

.img-tooltip {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(to top, rgba(10, 8, 6, 0.9), transparent);
        color: rgba(249, 227, 186, 0.75);
        font-size: 0.7rem;
        letter-spacing: 0.05em;
        padding: 24px 14px 10px;
        opacity: 0;
        transform: translateY(4px);
        transition: opacity 0.3s, transform 0.3s;
        z-index: 3;
}

.lugar-img-wrapper:hover .img-tooltip {
        opacity: 1;
        transform: translateY(0);
}

/* ── Panel texto ── */
.texto {
        background: rgba(14, 11, 8, 0.92);
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        padding: 32px 40px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        position: relative;
        overflow: hidden;
        transition: background 0.4s;
}

.bloque:hover .texto {
        background: rgba(18, 14, 11, 0.96);
}

.texto::before {
        content: '';
        position: absolute;
        top: 0;
        left: 10%;
        right: 10%;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
        opacity: 0;
        transition: opacity 0.4s;
}

.bloque:hover .texto::before {
        opacity: 1;
}

.texto-tag {
        display: inline-flex;
        font-size: 0.6rem;
        letter-spacing: 0.22em;
        text-transform: uppercase;
        color: var(--gold);
        border: 1px solid rgba(212, 175, 55, 0.28);
        border-radius: 3px;
        padding: 3px 10px;
        width: fit-content;
}

.texto h2 {
        font-family: 'Playfair Display', serif;
        color: var(--cream);
        font-size: clamp(1.1rem, 1.8vw, 1.45rem);
        font-weight: 700;
        line-height: 1.2;
}

.texto p {
        color: var(--text-muted);
        font-size: 0.82rem;
        line-height: 1.72;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
}

/* ── Botones ── */
.btn-actions {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-top: 6px;
}

.btn-maps-img {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(212, 175, 55, 0.2);
        overflow: hidden;
        transition: all 0.3s ease;
}

.btn-maps-img img {
        width: 28px;
        height: auto;
        transition: transform 0.3s;
}

.btn-maps-img:hover {
        background: rgba(212, 175, 55, 0.12);
        border-color: var(--gold);
        box-shadow: 0 4px 16px rgba(212, 175, 55, 0.2);
}

.btn-maps-img:hover img {
        transform: scale(1.12);
}

.btn-reserva {
        display: inline-flex;
        align-items: center;
        padding: 10px 22px;
        background: linear-gradient(90deg, var(--gold-dark), var(--gold));
        border: 1px solid rgba(212, 175, 55, 0.5);
        border-radius: 6px;
        color: var(--dark);
        font-family: 'DM Sans', sans-serif;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        text-decoration: none;
        transition: transform 0.3s, box-shadow 0.3s;
}

.btn-reserva:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}

/* ── FOOTER ── */
footer {
        position: relative;
        z-index: 5;
        background: linear-gradient(to bottom, rgba(10, 8, 6, 0) 0%, rgba(10, 8, 6, 0.82) 18%, #0a0806 55%);
        border-top: 1px solid rgba(212, 175, 55, 0.12);
        padding: 52px 8% 26px;
        margin-top: 60px;
}

.footer-contenido {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        gap: 48px;
        margin-bottom: 36px;
}

.footer-col h3 {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 1.5rem;
        letter-spacing: 0.1em;
        color: var(--gold);
        margin-bottom: 12px;
}

.footer-col p,
.footer-col a {
        display: block;
        color: rgba(238, 237, 235, 0.5);
        font-size: 0.85rem;
        line-height: 2;
        text-decoration: none;
        transition: color 0.3s, padding-left 0.3s;
}

.footer-col a:hover {
        color: var(--gold);
        padding-left: 5px;
}

.footer-copy {
        text-align: center;
        border-top: 1px solid rgba(212, 175, 55, 0.08);
        padding-top: 20px;
        color: rgba(238, 237, 235, 0.22);
        font-size: 0.75rem;
        letter-spacing: 0.07em;
}

/* ── ANIMACIONES ── */
@keyframes fadeUp {
        from {
                opacity: 0;
                transform: translateY(22px);
        }

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

@keyframes marquee {
        from {
                transform: translateX(0);
        }

        to {
                transform: translateX(-50%);
        }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

        .bloque,
        .bloque.invertido {
                grid-template-columns: 1fr;
                height: auto;
                direction: ltr;
        }

        .lugar-img-wrapper {
                height: 240px;
        }

        .lugar-img-wrapper::after,
        .bloque.invertido .lugar-img-wrapper::after {
                background: linear-gradient(to bottom, transparent 60%, rgba(10, 8, 6, 0.7) 100%);
        }

        .texto {
                padding: 28px 24px;
        }

        .footer-contenido {
                grid-template-columns: 1fr;
                gap: 24px;
        }

        nav ul li a {
                font-size: 0.62rem;
                padding: 6px 9px;
        }

        .tabs {
                gap: 10px;
        }

        .tab-btn {
                padding: 11px 22px;
                font-size: 0.7rem;
        }
}

@media (max-width: 600px) {
        h1.subtitulo {
                font-size: clamp(3rem, 15vw, 5rem);
        }

        .texto {
                padding: 24px 20px;
        }

        .tabs {
                flex-direction: column;
                align-items: center;
        }
}

/* ── REDIRECT SECTION ── */
.redirect-section {
        position: relative;
        z-index: 5;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 80px 5% 100px;
        min-height: 50vh;
}

.redirect-card {
        background: rgba(14, 11, 8, 0.88);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
        border: 1px solid rgba(212, 175, 55, 0.22);
        border-radius: 28px;
        padding: 60px 70px;
        text-align: center;
        max-width: 560px;
        width: 100%;
        position: relative;
        overflow: hidden;
}

.redirect-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 15%;
        right: 15%;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.redirect-icon {
        font-size: 3.5rem;
        margin-bottom: 20px;
        display: block;
}

.redirect-card h2 {
        font-family: 'Bebas Neue', sans-serif;
        font-size: 2.2rem;
        letter-spacing: 0.1em;
        color: var(--gold);
        margin-bottom: 16px;
}

.redirect-card p {
        font-family: 'DM Sans', sans-serif;
        color: var(--text-muted);
        font-size: 0.92rem;
        line-height: 1.75;
        margin-bottom: 36px;
}

.btn-redirect {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 16px 48px;
        background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
        border: none;
        border-radius: 50px;
        color: var(--dark);
        font-family: 'Bebas Neue', sans-serif;
        font-size: 1rem;
        letter-spacing: 0.2em;
        text-decoration: none;
        cursor: pointer;
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-redirect .btn-shimmer {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
        transition: left 0.5s ease;
}

.btn-redirect:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 40px rgba(212, 175, 55, 0.45);
}

.btn-redirect:hover .btn-shimmer {
        left: 100%;
}

@media (max-width: 600px) {
        .redirect-card {
                padding: 40px 28px;
        }
}

@media (max-width: 480px) {
        .hero { padding: 90px 4% 40px; min-height: 40vh; }
        h1.subtitulo { font-size: clamp(2.5rem, 18vw, 3.5rem); }
        .texto { padding: 20px 16px; }
        .texto p { -webkit-line-clamp: 6; }
        .lugar-img-wrapper { height: 180px; }
        .btn-reserva { width: 100%; justify-content: center; padding: 8px 14px; font-size: 0.65rem; }
        .btn-actions { flex-direction: column; align-items: stretch; }
        .btn-maps-img { width: 100%; height: 38px; }
        .redirect-card { padding: 32px 20px; }
        .redirect-card h2 { font-size: 1.6rem; }
        .btn-redirect { width: 100%; padding: 14px 24px; }
        .footer-contenido { gap: 16px; }
        footer { padding: 36px 5% 20px; }
}
