: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;
}

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;
}

.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%);
}

.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);
    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-reserva {
    position: relative;
    z-index: 5;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 5% 40px;
}

.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;
}

.form-section {
    position: relative;
    z-index: 5;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 5% 60px;
}

.form-container { margin: 0 auto; }

.form-card {
    position: relative;
    background: rgba(14, 11, 8, 0.92);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(212, 175, 55, 0.12);
    border-radius: 18px;
    padding: 40px 36px;
    animation: fadeUp 1s 0.2s both;
}

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

.campo { margin-bottom: 18px; }

.campo label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 6px;
    font-weight: 500;
}

.campo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.campo input, .campo select, .campo textarea {
    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;
}

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

.campo input::placeholder, .campo textarea::placeholder { color: var(--text-muted); }

.campo select option { background: #1a1510; color: var(--white); }

.select-wrap { position: relative; }
.select-wrap::after {
    content: '▾';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gold);
    font-size: 0.8rem;
    pointer-events: none;
}
.campo select { appearance: none; -webkit-appearance: none; padding-right: 36px; }

.campo input[type="date"],
.campo input[type="time"] {
    color-scheme: dark;
    position: relative;
}
.campo input[type="date"]::-webkit-calendar-picker-indicator,
.campo input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(0.75) sepia(1) hue-rotate(5deg) saturate(3);
    cursor: pointer;
}

.campo-ayuda {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.sitio-display {
    padding: 14px 16px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 10px;
    color: var(--gold-light);
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
}

.btn-reservar {
    width: 100%;
    padding: 16px;
    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.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 8px;
}

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

.btn-reservar:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.msg-exito {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 14px;
    padding: 40px 20px;
}

.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);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #25D366;
    color: #fff;
    border-radius: 10px;
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeUp 0.6s 0.3s both;
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

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;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
    .campo-row { grid-template-columns: 1fr; }
    .footer-contenido { grid-template-columns: 1fr; gap: 24px; }
    nav ul li a { font-size: 0.62rem; padding: 6px 9px; }
    .hero-reserva { padding: 90px 5% 30px; }
    header .logo { width: 110px; height: 44px; }
    .form-section { padding: 0 4% 40px; }
    .form-card { padding: 32px 28px; }
}

@media (max-width: 768px) {
    .hero-reserva { padding: 80px 4% 24px; }
    .form-section { padding: 0 4% 32px; }
    .footer-contenido { gap: 20px; }
}

@media (max-width: 600px) {
    h1.subtitulo { font-size: clamp(3rem, 15vw, 5rem); }
    .form-card { padding: 24px 18px; }
    .hero-label { font-size: 0.6rem; margin-bottom: 16px; }
    .hero-sub { font-size: 0.9rem; }
    .campo label { font-size: 0.7rem; }
    .campo input, .campo select, .campo textarea {
        padding: 12px 14px;
        font-size: 0.82rem;
    }
    .sitio-display {
        padding: 12px 14px;
        font-size: 0.95rem;
    }
    .btn-reservar {
        padding: 14px;
        font-size: 0.88rem;
    }
    .msg-exito p {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-reserva { padding: 72px 4% 20px; min-height: 30vh; }
    .hero-label { font-size: 0.55rem; gap: 6px; }
    .hero-label span { width: 20px; }
    .campo-row { gap: 0; }
    .footer-contenido { gap: 16px; }
}

@media (max-width: 380px) {
    .form-card { padding: 20px 14px; }
    h1.subtitulo { font-size: clamp(2.5rem, 18vw, 3rem); }
    .hero-reserva { padding: 64px 4% 16px; min-height: 25vh; }
}
