/* ── Variables ── */
:root {
    --gold: #d4af37;
    --gold-dark: #b8860b;
    --gold-light: #f1d57a;
    --copper: #977a5a;
    --dark: #0a0806;
    --dark2: #120f0a;
    --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/ZZZ.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: 180px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.3));
}

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: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 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;
}

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

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

/* ── SECCIÓN EXPERIENCIA ── */
.experiencia-sitio {
    position: relative;
    z-index: 5;
    max-width: 1060px;
    margin: 0 auto;
    padding: 80px 5% 60px;
}

/* ── TÍTULO ── */
.exp-title {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeUp 1s 0.2s both;
}

.exp-title h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    letter-spacing: 0.12em;
    color: var(--cream);
}

.exp-line {
    height: 1px;
    width: 120px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ── GRID DE TARJETAS ── */
.exp-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 820px;
    margin: 0 auto;
}

/* ── GRID INTERNO DEL FORMULARIO ── */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

/* ── TARJETAS ── */
.exp-card {
    background: rgba(14, 11, 8, 0.92);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 18px;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(28px);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.4s,
        background 0.4s;
}

.exp-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.exp-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(18, 14, 11, 0.96);
}

/* línea dorada superior en hover */
.exp-card::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;
}

.exp-card:hover::before {
    opacity: 1;
}

/* ── TAG ── */
.texto-tag {
    display: inline-flex;
    align-items: center;
    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;
    margin-bottom: 4px;
}

/* ── TÍTULOS TARJETA ── */
.exp-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--cream);
    font-size: clamp(1.1rem, 1.8vw, 1.45rem);
    font-weight: 700;
    line-height: 1.2;
}

.exp-card>p {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.72;
}

/* ── ESTRELLAS ── */
.rating-stars {
    display: flex;
    gap: 10px;
    font-size: 30px;
    cursor: pointer;
}

.star {
    color: rgba(212, 175, 55, 0.25);
    transition: color 0.3s, transform 0.2s;
}

.star:hover {
    color: var(--gold);
    transform: scale(1.2);
}

.star.active {
    color: var(--gold);
}

.rating-percentage-container {
    margin-top: 12px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    gap: 8px;
}

.rating-percentage-label {
    font-weight: 700;
    color: var(--gold);
}

/* ── TEXTAREA ── */
.exp-card textarea {
    width: 100%;
    height: 100px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 14px;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    resize: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.exp-card textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.exp-card textarea::placeholder {
    color: var(--text-muted);
}

/* ── SELECT ── */
.form-reserva select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    color-scheme: dark;
    appearance: auto;
    cursor: pointer;
}

.form-reserva select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.form-reserva select option {
    background: #1a1713;
    color: var(--white);
}

/* ── INPUTS ── */
.form-reserva input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    color-scheme: dark;
}

.form-reserva input:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.form-reserva input::placeholder {
    color: var(--text-muted);
}

.form-reserva textarea {
    width: 100%;
    height: 110px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    resize: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    margin-bottom: 0;
}

.form-reserva textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

.form-reserva textarea::placeholder {
    color: var(--text-muted);
}

/* ── BOTÓN ── */
.btn-exp {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border: none;
    border-radius: 10px;
    color: var(--dark);
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 4px;
}

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

/* ── MENSAJE DE ÉXITO ── */
.msg-exito {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 40px 20px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.msg-exito.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.msg-icono {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--gold);
    animation: popIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes popIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.msg-exito p {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--cream);
    font-weight: 700;
}

.msg-exito span {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ── FOOTER ── */
footer {
    position: relative;
    z-index: 5;
    background: linear-gradient(to bottom,
            rgba(10, 8, 6, 0.0) 0%, rgba(10, 8, 6, 0.82) 18%,
            #0a0806 55%, #0a0806 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    padding: 52px 8% 26px;
    box-shadow: 0 -1px 40px rgba(212, 175, 55, 0.04);
    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.50);
    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;
}

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

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

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .exp-container {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

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

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

    header .logo {
        width: 110px;
        height: 44px;
    }
    .hero {
        padding: 50px 5% 40px;
        min-height: auto;
    }
    .rating-stars {
        font-size: 26px;
    }
}

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

    .exp-card {
        padding: 24px 18px;
    }

    .hero-label {
        font-size: 0.6rem;
    }
    .hero-sub {
        font-size: 0.9rem;
    }
    .exp-title h2 {
        font-size: clamp(2rem, 7vw, 2.5rem);
    }
    .exp-title {
        margin-bottom: 32px;
    }
    .experiencia-sitio {
        padding: 40px 4% 40px;
    }
    .form-reserva input,
    .form-reserva select,
    .form-reserva textarea {
        padding: 12px 14px;
        font-size: 0.82rem;
    }
    .btn-exp {
        padding: 12px;
        font-size: 0.8rem;
    }
    .rating-stars {
        font-size: 22px;
        gap: 6px;
    }
    .band {
        margin-top: 64px;
        padding: 10px 0;
    }
    .band-track {
        gap: 32px;
    }
    .band-track span {
        font-size: 0.72rem;
    }
    footer {
        padding: 36px 5% 20px;
        margin-top: 40px;
    }
}

@media (max-width: 380px) {
    .exp-card {
        padding: 20px 14px;
    }
    .rating-stars {
        font-size: 18px;
        gap: 4px;
    }
}
