/* ==========================================================================
   BRASA & RESERVA — Demo premium
   CSS3 puro, sin frameworks. Mobile-first.
   ========================================================================== */

/* -------------------- 1. Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
svg { display: block; }

/* -------------------- 2. Tokens -------------------- */
:root {
    --black: #0a0a0b;
    --black-2: #141416;
    --black-3: #1d1d20;
    --gold: #c9a24b;
    --gold-light: #e6cd8b;
    --gold-dark: #9c7a34;
    --wood: #5b3a29;
    --cream: #f5f2ec;

    --bg: var(--black);
    --bg-soft: var(--black-2);
    --surface: var(--black-2);
    --surface-2: var(--black-3);
    --text: #f3f1ec;
    --text-muted: #b3ada0;
    --border: rgba(201, 162, 75, 0.16);
    --border-strong: rgba(201, 162, 75, 0.35);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    --overlay: rgba(6, 6, 7, 0.55);

    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Jost', 'Segoe UI', sans-serif;

    --container: 1260px;
    --radius: 4px;
    --radius-lg: 10px;
    --ease: cubic-bezier(0.5, 0, 0.15, 1);
    --transition: 0.45s var(--ease);
    --nav-h: 84px;
}

:root[data-theme="light"] {
    --bg: var(--cream);
    --bg-soft: #ffffff;
    --surface: #ffffff;
    --surface-2: #f1ede3;
    --text: #19181a;
    --text-muted: #6a6459;
    --border: rgba(11, 11, 12, 0.09);
    --border-strong: rgba(11, 11, 12, 0.16);
    --shadow: 0 20px 50px rgba(20, 15, 5, 0.12);
    --overlay: rgba(10, 8, 4, 0.4);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background var(--transition), color var(--transition);
}

.container { max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

@media (min-width: 900px) {
    .container { padding-inline: 40px; }
}

.section { padding: 88px 0; position: relative; }
@media (min-width: 900px) { .section { padding: 140px 0; } }

/* -------------------- 3. Typography helpers -------------------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; letter-spacing: 0.01em; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-eyebrow {
    display: inline-block; font-family: var(--font-sans); font-size: 0.78rem;
    letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
    margin-bottom: 14px; position: relative; padding-bottom: 12px;
}
.section-eyebrow::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 46px; height: 1px; background: var(--gold);
}
.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15; color: var(--text); }
.section-desc { color: var(--text-muted); margin-top: 16px; font-size: 1.02rem; }
.tag {
    font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase;
    border: 1px solid var(--border-strong); color: var(--gold-light); padding: 7px 14px;
    border-radius: 999px; display: inline-block;
}

/* -------------------- 4. Buttons -------------------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 16px 34px; font-size: 0.86rem; letter-spacing: 0.14em; text-transform: uppercase;
    border-radius: 2px; border: 1px solid transparent; cursor: pointer; position: relative;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--gold { background: var(--gold); color: #16130a; }
.btn--gold:hover { background: var(--gold-light); box-shadow: 0 10px 30px rgba(201, 162, 75, 0.35); transform: translateY(-2px); }
.btn--outline { border-color: var(--border-strong); color: var(--text); }
.btn--outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--border); color: var(--gold-light); background: transparent; }
.btn--ghost:hover { border-color: var(--gold); background: rgba(201, 162, 75, 0.08); }
.btn--sm { padding: 10px 18px; font-size: 0.72rem; }
.btn--block { width: 100%; }

.btn__spinner { display: none; width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(0,0,0,0.25); border-top-color: #16130a; animation: spin 0.7s linear infinite; }
.btn.is-loading .btn__text { opacity: 0.6; }
.btn.is-loading .btn__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* -------------------- 5. Loader -------------------- */
.loader {
    position: fixed; inset: 0; z-index: 9999; background: var(--black);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
    transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}
.loader__mark {
    font-family: var(--font-serif); color: var(--gold); font-size: 1.5rem; letter-spacing: 0.03em;
    border: 1px solid var(--border-strong); width: 76px; height: 76px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    animation: pulse 1.8s ease-in-out infinite;
}
.loader__bar { width: 180px; height: 2px; background: rgba(201,162,75,0.15); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 40%; background: var(--gold); animation: loaderMove 1.1s ease-in-out infinite; }
@keyframes loaderMove { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.06); opacity: 0.75; } }
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
body.is-loading { overflow: hidden; }

/* -------------------- 6. Custom cursor -------------------- */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--gold); transition: opacity 0.2s; }
.cursor-ring { width: 34px; height: 34px; border: 1px solid var(--border-strong); transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.2s, border-color 0.25s; }
.cursor-ring.is-active { width: 54px; height: 54px; border-color: var(--gold); }
@media (hover: none), (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* -------------------- 7. Navbar -------------------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--nav-h);
    display: flex; align-items: center; background: transparent;
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), height var(--transition), box-shadow var(--transition);
}
.navbar.is-scrolled {
    height: 70px; background: rgba(10, 10, 11, 0.86); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border); box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
:root[data-theme="light"] .navbar.is-scrolled { background: rgba(245, 242, 236, 0.88); }
.navbar__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.navbar__logo { display: flex; align-items: center; gap: 10px; }
.navbar__logo-mark {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold);
    display: flex; align-items: center; justify-content: center; font-family: var(--font-serif);
    color: var(--gold); font-size: 0.78rem; letter-spacing: 0.01em;
}
.navbar__logo-text { font-family: var(--font-serif); font-size: 1.25rem; color: var(--text); letter-spacing: 0.03em; }

.navbar__links { display: none; align-items: center; gap: 34px; }
.navbar__link { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); position: relative; padding: 6px 0; opacity: 0.85; }
.navbar__link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width var(--transition); }
.navbar__link:hover, .navbar__link.is-active { opacity: 1; color: var(--gold-light); }
.navbar__link:hover::after, .navbar__link.is-active::after { width: 100%; }

.navbar__actions { display: flex; align-items: center; gap: 14px; }
.navbar__cta { display: none; }
.theme-toggle { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--gold); transition: border-color var(--transition), transform var(--transition); }
.theme-toggle:hover { border-color: var(--gold); transform: rotate(20deg); }
.icon-moon { display: none; }
:root[data-theme="light"] .icon-sun { display: none; }
:root[data-theme="light"] .icon-moon { display: block; }

.navbar__burger { width: 38px; height: 30px; position: relative; }
.navbar__burger span { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--text); transition: transform var(--transition), opacity var(--transition); }
.navbar__burger span:nth-child(1) { top: 4px; }
.navbar__burger span:nth-child(2) { top: 14px; }
.navbar__burger span:nth-child(3) { top: 24px; }
.navbar__burger.is-active span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.navbar__burger.is-active span:nth-child(2) { opacity: 0; }
.navbar__burger.is-active span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

@media (min-width: 1100px) {
    .navbar__links { display: flex; }
    .navbar__cta { display: inline-flex; }
    .navbar__burger { display: none; }
}

@media (max-width: 1099px) {
    .navbar__nav {
        position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 84vw);
        background: var(--black-2); padding: 110px 34px 40px; transform: translateX(100%);
        transition: transform 0.5s var(--ease); box-shadow: -20px 0 60px rgba(0,0,0,0.4);
        border-left: 1px solid var(--border);
    }
    .navbar__nav.is-open { transform: translateX(0); }
    .navbar__links { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
    .navbar__link { font-size: 1rem; color: var(--cream); }
    .nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 999; opacity: 0; visibility: hidden; transition: opacity var(--transition); }
    .nav-overlay.is-open { opacity: 1; visibility: visible; }
}

/* -------------------- 8. Hero -------------------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); animation: heroZoom 16s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,7,0.55) 0%, rgba(6,6,7,0.45) 45%, rgba(6,6,7,0.9) 100%); }
.hero__content { position: relative; z-index: 1; color: #fff; max-width: 720px; padding-top: var(--nav-h); }
.hero__eyebrow { display: inline-block; font-size: 0.78rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 22px; }
.hero__title { font-size: clamp(3rem, 9vw, 6.4rem); line-height: 1; color: #fff; }
.hero__subtitle { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: var(--gold-light); margin-top: 18px; }
.hero__desc { color: rgba(255,255,255,0.78); max-width: 480px; margin-top: 18px; font-size: 1.02rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 40px; }
.hero__actions .btn--outline { border-color: rgba(255,255,255,0.4); color: #fff; }
.hero__actions .btn--outline:hover { border-color: var(--gold); color: var(--gold); }

.hero__scroll { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 1; width: 26px; height: 42px; border: 1px solid rgba(255,255,255,0.5); border-radius: 20px; }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; background: var(--gold); border-radius: 2px; transform: translateX(-50%); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 1; top: 8px; } 70% { opacity: 0; } 100% { opacity: 0; top: 22px; } }

/* -------------------- 9. Historia -------------------- */
.historia__grid { display: grid; gap: 46px; }
.historia__media { position: relative; }
.historia__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.historia__media-badge {
    position: absolute; bottom: -22px; left: -18px; background: var(--gold); color: #16130a;
    padding: 18px 22px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow);
}
.historia__media-badge strong { display: block; font-family: var(--font-serif); font-size: 1.8rem; }
.historia__media-badge span { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.historia__text { color: var(--text-muted); margin-top: 20px; }
.historia__features { margin-top: 32px; display: grid; gap: 22px; }
.historia__features li { display: flex; gap: 16px; align-items: flex-start; }
.historia__feature-icon { color: var(--gold); font-size: 1.1rem; margin-top: 3px; }
.historia__features h3 { font-family: var(--font-sans); font-weight: 500; font-size: 1rem; margin-bottom: 4px; }
.historia__features p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

@media (min-width: 900px) {
    .historia__grid { grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 70px; }
}

/* -------------------- 10. Dish cards (especialidades) -------------------- */
.especialidades__grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.dish-card, .menu-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    overflow: hidden; transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.dish-card:hover, .menu-card:hover { transform: translateY(-8px); border-color: var(--border-strong); box-shadow: var(--shadow); }
.dish-card__media, .menu-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: linear-gradient(135deg, var(--surface-2), var(--surface)); }
.dish-card__media img, .menu-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.dish-card:hover .dish-card__media img, .menu-card:hover .menu-card__media img { transform: scale(1.08); }
.dish-card__category, .menu-card__category {
    position: absolute; top: 14px; left: 14px; background: rgba(10,10,11,0.72); color: var(--gold-light);
    font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px;
    backdrop-filter: blur(6px);
}
.dish-card__body, .menu-card__body { padding: 22px 24px 26px; }
.dish-card__row, .menu-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.dish-card__row h3, .menu-card__row h3 { font-size: 1.2rem; }
.dish-card__price, .menu-card__price { color: var(--gold); font-family: var(--font-serif); font-size: 1.15rem; white-space: nowrap; }
.dish-card__body p, .menu-card__desc { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; }
.dish-card__link {
    display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: 0.78rem;
    letter-spacing: 0.08em; text-transform: uppercase; transition: gap var(--transition), color var(--transition);
}
.dish-card__link:hover { gap: 12px; color: var(--gold); }
.especialidades__cta { text-align: center; margin-top: 50px; }

.menu-card__ingredients { color: var(--text-muted); font-size: 0.78rem; opacity: 0.8; margin-bottom: 18px; }

/* -------------------- 11. Carta -------------------- */
.carta__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 50px; }
.carta__filter {
    padding: 10px 20px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 0.78rem;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.carta__filter:hover { color: var(--gold-light); border-color: var(--gold); }
.carta__filter.is-active { background: var(--gold); color: #16130a; border-color: var(--gold); }
.carta__grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.menu-card { opacity: 1; transform: scale(1); transition: transform var(--transition), opacity var(--transition), border-color var(--transition), box-shadow var(--transition); }
.menu-card.is-hidden { display: none; }
.menu-card.is-entering { animation: cardIn 0.5s var(--ease); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
.carta__empty { text-align: center; color: var(--text-muted); margin-top: 30px; }

/* -------------------- 12. Dish detail modal -------------------- */
.dish-modal { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity var(--transition), visibility var(--transition); }
.dish-modal.is-open { visibility: visible; opacity: 1; }
.dish-modal__overlay { position: absolute; inset: 0; background: rgba(6,6,7,0.78); backdrop-filter: blur(6px); }
.dish-modal__dialog {
    position: relative; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
    width: min(920px, 100%); max-height: 88vh; overflow-y: auto; display: grid; box-shadow: var(--shadow);
    transform: translateY(30px) scale(0.97); opacity: 0; transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.dish-modal.is-open .dish-modal__dialog { transform: translateY(0) scale(1); opacity: 1; }
.dish-modal__close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(10,10,11,0.6); color: #fff; display: flex; align-items: center; justify-content: center; }
.dish-modal__media { position: relative; aspect-ratio: 16/10; }
.dish-modal__media img { width: 100%; height: 100%; object-fit: cover; }
.dish-modal__category { position: absolute; bottom: 16px; left: 16px; background: rgba(10,10,11,0.7); color: var(--gold-light); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border-radius: 999px; }
.dish-modal__content { padding: 30px 30px 34px; }
.dish-modal__head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 12px; }
.dish-modal__head h3 { font-size: 1.6rem; }
.dish-modal__price { color: var(--gold); font-family: var(--font-serif); font-size: 1.4rem; }
.dish-modal__desc { color: var(--text-muted); margin-bottom: 24px; }
.dish-modal__meta { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); padding: 20px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); margin-bottom: 24px; }
.dish-modal__meta-label { display: block; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.dish-modal__meta-value { font-family: var(--font-serif); font-size: 1.05rem; color: var(--gold-light); }
.dish-modal__ingredients { margin-bottom: 28px; }
.dish-modal__ingredients ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.dish-modal__ingredients li { font-size: 0.8rem; border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; color: var(--text-muted); }

@media (min-width: 760px) {
    .dish-modal__dialog { grid-template-columns: 1fr 1fr; max-height: 82vh; }
    .dish-modal__media { aspect-ratio: auto; height: 100%; }
    .dish-modal__content { overflow-y: auto; }
}

/* -------------------- 13. Chef -------------------- */
.chef__grid { display: grid; gap: 50px; }
.chef__text { color: var(--text-muted); margin-top: 18px; }
.chef__awards { margin-top: 30px; display: grid; gap: 16px; }
.chef__award { display: flex; gap: 16px; align-items: baseline; border-left: 2px solid var(--gold); padding-left: 16px; }
.chef__award strong { font-family: var(--font-serif); color: var(--gold); font-size: 1.1rem; }
.chef__award span { color: var(--text-muted); font-size: 0.92rem; }
.chef__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chef__media { position: relative; }
.chef__media img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-lg); position: relative; z-index: 1; }
.chef__media-frame { position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: var(--radius-lg); z-index: 0; }

@media (min-width: 900px) {
    .chef__grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}

/* -------------------- 14. Galería -------------------- */
.galeria__masonry { columns: 1; gap: 18px; }
.galeria__item { display: block; position: relative; margin-bottom: 18px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; }
.galeria__item img { width: 100%; transition: transform 0.6s var(--ease); }
.galeria__zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(6,6,7,0.4); color: #fff; opacity: 0; transition: opacity var(--transition); }
.galeria__item:hover img { transform: scale(1.06); }
.galeria__item:hover .galeria__zoom { opacity: 1; }

@media (min-width: 620px) { .galeria__masonry { columns: 2; } }
@media (min-width: 980px) { .galeria__masonry { columns: 3; } }
@media (min-width: 1280px) { .galeria__masonry { columns: 4; } }

/* -------------------- 15. Opiniones -------------------- */
.opiniones__swiper { padding-bottom: 56px; }
.testimonial-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px 30px; height: 100%; }
.testimonial-card__stars { display: flex; gap: 4px; color: var(--border-strong); margin-bottom: 18px; }
.testimonial-card__stars .is-filled { color: var(--gold); }
.testimonial-card__text { font-family: var(--font-serif); font-size: 1.15rem; font-style: italic; color: var(--text); margin-bottom: 26px; }
.testimonial-card__author { display: flex; align-items: center; gap: 14px; }
.testimonial-card__author img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.testimonial-card__author strong { display: block; font-size: 0.95rem; }
.testimonial-card__author span { color: var(--text-muted); font-size: 0.8rem; }
.opiniones__nav { display: flex; justify-content: center; gap: 14px; margin-top: 10px; }
.opiniones__prev, .opiniones__next { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; transition: border-color var(--transition), color var(--transition); }
.opiniones__prev:hover, .opiniones__next:hover { border-color: var(--gold); color: var(--gold); }
.swiper-pagination-bullet { background: var(--border-strong); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--gold); }

/* -------------------- 16. Estadísticas -------------------- */
.estadisticas { position: relative; padding: 90px 0; overflow: hidden; }
.estadisticas__bg { position: absolute; inset: 0; z-index: 0; }
.estadisticas__bg img { width: 100%; height: 100%; object-fit: cover; }
.estadisticas__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,7,0.86), rgba(6,6,7,0.86)); }
.estadisticas__grid { position: relative; z-index: 1; display: grid; gap: 40px; grid-template-columns: repeat(2, 1fr); text-align: center; }
.estadistica__valor { display: block; font-family: var(--font-serif); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--gold); }
.estadistica__label { display: block; color: #d8d4ca; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; }

@media (min-width: 760px) { .estadisticas__grid { grid-template-columns: repeat(4, 1fr); } }

/* -------------------- 17. Eventos -------------------- */
.eventos__grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.evento-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/4; }
.evento-card__media { position: absolute; inset: 0; }
.evento-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.evento-card:hover .evento-card__media img { transform: scale(1.08); }
.evento-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,6,7,0.05) 30%, rgba(6,6,7,0.92) 100%); }
.evento-card__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px; z-index: 1; }
.evento-card__body h3 { color: #fff; font-size: 1.3rem; margin-bottom: 8px; }
.evento-card__body p { color: rgba(255,255,255,0.78); font-size: 0.9rem; margin-bottom: 16px; }
.evento-card__link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; }
.evento-card:hover .evento-card__link { gap: 12px; }

/* -------------------- 18. Reservas -------------------- */
.reservas { position: relative; }
.reservas__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.14; }
.reservas__bg img { width: 100%; height: 100%; object-fit: cover; }
.reservas__grid { position: relative; z-index: 1; display: grid; gap: 50px; }
.reservas__info { margin-top: 30px; display: grid; gap: 18px; }
.reservas__info li { display: flex; align-items: center; gap: 14px; color: var(--text-muted); }
.reservas__info svg { color: var(--gold); flex-shrink: 0; }

.reservas__form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px 28px; box-shadow: var(--shadow); }
.reservas__form h3 { font-size: 1.4rem; margin-bottom: 26px; }
.form-row { display: grid; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
    background: var(--bg-soft); border: 1px solid var(--border-strong); border-radius: var(--radius);
    padding: 13px 16px; color: var(--text); transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,0.15); }
.form-group textarea { resize: vertical; min-height: 90px; }

.zona-options { display: flex; gap: 10px; flex-wrap: wrap; }
.zona-option { position: relative; }
.zona-option input { position: absolute; opacity: 0; }
.zona-option span {
    display: inline-block; padding: 10px 18px; border: 1px solid var(--border-strong); border-radius: 999px;
    font-size: 0.8rem; color: var(--text-muted); transition: all var(--transition);
}
.zona-option input:checked + span { background: var(--gold); color: #16130a; border-color: var(--gold); }

.reservas__note { font-size: 0.78rem; color: var(--text-muted); margin-top: 16px; text-align: center; }

@media (min-width: 700px) { .form-row { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .reservas__grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; } }

/* Flatpickr theming */
.flatpickr-calendar { background: var(--surface) !important; color: var(--text) !important; box-shadow: var(--shadow) !important; border: 1px solid var(--border-strong) !important; }
.flatpickr-day { color: var(--text) !important; }
.flatpickr-day.selected, .flatpickr-day.selected:hover { background: var(--gold) !important; border-color: var(--gold) !important; color: #16130a !important; }
.flatpickr-day.today { border-color: var(--gold) !important; }
.flatpickr-months, .flatpickr-weekdays { background: var(--surface-2) !important; }
.flatpickr-current-month .flatpickr-monthDropdown-months, .flatpickr-current-month input.cur-year { color: var(--text) !important; }
span.flatpickr-weekday { color: var(--text-muted) !important; }
.flatpickr-day.flatpickr-disabled { color: var(--border-strong) !important; }

/* -------------------- 19. Contacto -------------------- */
.contacto__grid { display: grid; gap: 30px; }
.contacto__map { border-radius: var(--radius-lg); overflow: hidden; min-height: 320px; border: 1px solid var(--border); filter: grayscale(0.3) contrast(1.05); }
.contacto__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }
.contacto__info { display: grid; gap: 18px; align-content: start; }
.contacto__card { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.contacto__card svg { color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contacto__card h3 { font-size: 0.95rem; margin-bottom: 4px; }
.contacto__card p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.contacto__card a:hover { color: var(--gold); }
.contacto__social { display: flex; gap: 12px; }
.contacto__social a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; color: var(--gold); transition: all var(--transition); }
.contacto__social a:hover { background: var(--gold); color: #16130a; }

@media (min-width: 980px) { .contacto__grid { grid-template-columns: 1.2fr 1fr; } }

/* -------------------- 20. Footer -------------------- */
.footer { background: var(--black-2); border-top: 1px solid var(--border); padding-top: 80px; }
:root[data-theme="light"] .footer { background: #efe9db; }
.footer__top { display: grid; gap: 40px; padding-bottom: 50px; }
.footer__brand p { color: var(--text-muted); margin: 18px 0 20px; max-width: 320px; font-size: 0.92rem; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border-strong); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; letter-spacing: 0.03em; color: var(--gold); transition: all var(--transition); }
.footer__social a:hover { background: var(--gold); color: #16130a; }
.footer__col h4 { font-size: 0.95rem; margin-bottom: 20px; color: var(--text); }
.footer__col ul { display: grid; gap: 12px; }
.footer__col a { color: var(--text-muted); font-size: 0.9rem; transition: color var(--transition); }
.footer__col a:hover { color: var(--gold); }
.footer__newsletter p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; }
.footer__form { display: flex; border: 1px solid var(--border-strong); border-radius: var(--radius); overflow: hidden; }
.footer__form input { flex: 1; background: transparent; border: none; padding: 12px 14px; color: var(--text); }
.footer__form input:focus { outline: none; }
.footer__form button { background: var(--gold); color: #16130a; padding: 0 16px; display: flex; align-items: center; justify-content: center; }
.footer__bottom { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; border-top: 1px solid var(--border); padding: 24px 0; color: var(--text-muted); font-size: 0.82rem; }
.footer__credit strong { color: var(--gold-light); }

@media (min-width: 700px) { .footer__top { grid-template-columns: 1.3fr 0.8fr 0.8fr 1.1fr; } }
@media (min-width: 700px) { .footer__bottom { flex-direction: row; justify-content: space-between; } }

/* -------------------- 21. Floating elements -------------------- */
.whatsapp-float {
    position: fixed; left: 22px; bottom: 22px; z-index: 900; width: 56px; height: 56px; border-radius: 50%;
    background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(37,211,102,0.4); animation: floatPulse 2.4s ease-in-out infinite;
    transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes floatPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.45); } 50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); } }

.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 48px; height: 48px; border-radius: 50%;
    background: var(--gold); color: #16130a; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all var(--transition);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-light); }

/* -------------------- 22. Toast -------------------- */
.toast {
    position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%) translateY(30px); z-index: 3000;
    background: var(--surface); border: 1px solid var(--border-strong); color: var(--text); padding: 16px 26px;
    border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden;
    transition: all var(--transition); max-width: min(92vw, 420px); text-align: center; font-size: 0.9rem;
}
.toast.is-visible { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.toast.is-error { border-color: #d9534f; color: #f2b7b5; }

/* -------------------- 23. AOS fallback -------------------- */
[data-aos] { transition-property: transform, opacity; }

/* -------------------- 24. Scrollbar -------------------- */
::selection { background: var(--gold); color: #16130a; }
