/*
 * Casa Vieja — landing "Montaña nocturna"
 * Tokens: design/system.md (logo colors, Playfair Display + Inter) plus the derived
 * values proposed in design/casa-vieja-landing-pro/palette.md.
 * Layout: desktop first; everything below 900px is the mobile layout.
 */

:root {
    /* Logo colors (design/system.md) */
    --gold: #DC8711;
    --brown: #664D07;
    --sand: #BEA572;
    --beige: #DDCAA4;
    --cream: #F5F2ED;
    --white: #ffffff;
    --ink: #1a1a1a;
    --copy: #2d2d2d;
    --text-color: #8B7A47;

    /* Derived (palette.md) */
    --espresso: #2B2006;
    --gold-text: #8F5506;
    --muted: #6B5D3A;
    --paper: #FBF8F2;
    --line: #E6DCC8;
    --gold-tint: #FBEBD3;

    /* Alias read by public/landing/navigation-fixes.js */
    --primary-color: var(--gold);

    --font-heading: "Playfair Display", "Times New Roman", Georgia, serif;
    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1.25rem;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lift: 0 16px 36px rgba(102, 77, 7, 0.1);
    --shadow-float: 0 26px 60px rgba(26, 26, 26, 0.18);

    --focus: var(--gold-text);
}

/* ===== Base ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    color: var(--copy);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: var(--radius-sm);
}

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 40px; }

.sr-only {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap;
}

.skip-link {
    position: absolute; left: -999px; top: 8px; z-index: 100;
    padding: 10px 14px; background: var(--white); color: var(--ink); border-radius: var(--radius-md);
}
.skip-link:focus { left: 8px; }

.icon {
    width: 20px; height: 20px; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
}

.eyebrow {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold-text);
}

h2 {
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    color: var(--espresso);
    margin-top: 0.85rem;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
    min-height: 48px; padding: 0 1.5rem;
    border: 1px solid transparent; border-radius: 999px;
    font: 600 0.95rem/1 var(--font-body);
    white-space: nowrap; cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, filter 0.2s;
}
.btn .icon { width: 18px; height: 18px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { filter: brightness(1.08); }
.btn--brown, .btn--primary { background: var(--brown); color: var(--white); }
.btn--brown:hover, .btn--primary:hover { background: var(--espresso); }
.btn--dark { background: var(--espresso); color: var(--cream); }
.btn--dark:hover { background: var(--brown); }
.btn--ghost { border-color: rgba(245, 242, 237, 0.55); color: var(--cream); background: transparent; }
.btn--ghost:hover { background: rgba(245, 242, 237, 0.12); }
.btn--line, .btn--secondary { border-color: var(--brown); color: var(--brown); background: transparent; }
.btn--line:hover, .btn--secondary:hover { background: var(--brown); color: var(--white); }
.btn--line-ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line-ink:hover { background: rgba(26, 26, 26, 0.08); }

/* ===== Brand ===== */
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--cream); }
.brand__mark { width: 60px; height: 28px; color: var(--gold); flex: none; }
.brand__text b {
    display: block; font-family: var(--font-heading); font-weight: 400;
    font-size: 1.3rem; letter-spacing: 0.17em; line-height: 1;
}
.brand__text small {
    display: block; margin-top: 6px; padding-top: 5px;
    border-top: 1px solid var(--gold);
    font-family: var(--font-heading); font-size: 0.55rem; letter-spacing: 0.36em; line-height: 1;
    color: var(--beige);
}
.brand__logo { height: 44px; width: auto; max-width: 160px; padding: 6px 10px; background: var(--cream); border-radius: var(--radius-md); object-fit: contain; }

/* ===== Header ===== */
/* script.js paints #header white/blurred on scroll; the header here sits over the dark hero. */
.site-header {
    position: absolute; top: 0; left: 0; right: 0; z-index: 30;
    --focus: var(--gold);
}
#header { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 92px; }
.site-header__actions { display: flex; align-items: center; gap: 22px; }

.nav__list { display: flex; gap: 34px; }
.nav__link {
    position: relative; display: inline-block; padding: 6px 0;
    font-size: 0.95rem; color: var(--beige);
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}
.nav__link:hover { color: var(--white); border-color: var(--gold); }

.header-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.95rem; color: var(--beige); }
.header-link:hover { color: var(--white); }

.nav__toggle, .nav__close {
    display: none; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0;
    border: 1px solid rgba(245, 242, 237, 0.4); border-radius: 50%;
    background: transparent; color: var(--cream); cursor: pointer;
}
.nav__overlay { display: none; }

/* ===== Hero ===== */
.hero {
    position: relative; overflow: hidden; color: var(--cream);
    padding: 168px 0 150px;
    background:
        radial-gradient(760px 480px at 76% 58%, rgba(220, 135, 17, 0.16), transparent 62%),
        linear-gradient(180deg, var(--espresso), var(--ink));
    --focus: var(--gold);
}
.hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero .eyebrow { color: var(--gold); }
.hero__title {
    margin: 22px 0 26px;
    font-family: var(--font-heading); font-weight: 400;
    font-size: clamp(2.4rem, 5.2vw, 4.4rem); line-height: 1.08; letter-spacing: -0.01em;
    color: var(--white);
}
.hero__lead { max-width: 520px; margin-bottom: 38px; font-size: 1.15rem; line-height: 1.65; color: var(--beige); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { width: 100%; height: auto; }

/* ===== Booking bar ===== */
.booking-bar {
    position: relative; z-index: 3;
    display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 4px;
    width: calc(100% - 80px); max-width: 1160px; margin: -62px auto 0; padding: 12px;
    background: var(--white); border-radius: 18px; box-shadow: var(--shadow-float);
}
.field { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 12px 18px; border-radius: 12px; }
.field + .field::before { content: ""; position: absolute; left: -2px; top: 16px; bottom: 16px; width: 1px; background: var(--line); }
.field:hover, .field:focus-within { background: var(--paper); }
.field label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select {
    width: 100%; padding: 6px 0 0; border: 0; border-radius: 0; outline: none;
    background: transparent; color: var(--ink);
    font: 500 1.05rem var(--font-body);
    appearance: none; -webkit-appearance: none;
}
.field select {
    padding-right: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%236B5D3A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") right 2px center / 12px no-repeat;
}
.field:focus-within { box-shadow: inset 0 0 0 2px var(--gold-text); }
.booking-bar__submit { min-height: 66px; padding: 0 30px; border-radius: 12px; font-size: 1rem; }

.assurance {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px;
    padding: 24px 20px 0; font-size: 0.9rem; color: var(--muted);
}
.assurance li { display: inline-flex; align-items: center; gap: 9px; }
.assurance .icon { width: 18px; height: 18px; color: var(--gold-text); }

/* ===== Blocks ===== */
.block { padding: 112px 0; }
.block__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 44px; }
.block__head > p { max-width: 420px; font-size: 1.05rem; line-height: 1.7; color: var(--muted); }

/* ===== Rooms ===== */
.room-card {
    display: grid; grid-template-columns: 220px 1fr auto; gap: 36px; align-items: center;
    margin-bottom: 16px; padding: 24px;
    background: var(--white); border: 1px solid var(--line); border-radius: 20px;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.room-card:hover { border-color: var(--sand); box-shadow: var(--shadow-lift); }
.room-card__media {
    display: flex; align-items: center; justify-content: center;
    width: 220px; height: 150px; overflow: hidden;
    background: var(--beige); border-radius: 12px;
}
.room-card__media img { width: 100%; height: 100%; object-fit: cover; }
.room-card__placeholder { width: 80px; height: auto; color: var(--brown); opacity: 0.6; }
.room-card__body h3 {
    font-family: var(--font-heading); font-weight: 400; font-size: 1.9rem; color: var(--espresso);
}
.room-card__body p { margin: 6px 0 16px; font-size: 1rem; color: var(--muted); }
.amenities { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 0.9rem; }
.amenities li { display: inline-flex; align-items: center; gap: 8px; }
.amenities .icon { width: 18px; height: 18px; color: var(--gold-text); }
.room-card__price { min-width: 200px; padding-left: 32px; border-left: 1px solid var(--line); text-align: right; }
.room-card__price small { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.room-card__price strong { display: block; margin-top: 4px; font-family: var(--font-heading); font-weight: 400; font-size: 2.5rem; line-height: 1.05; color: var(--espresso); }
.room-card__price span { font-size: 0.9rem; color: var(--muted); }
.room-card__price .btn { width: 100%; margin-top: 16px; }
.rooms__empty {
    display: flex; flex-direction: column; align-items: center; gap: 18px;
    padding: 48px 24px; text-align: center; color: var(--muted);
    background: var(--white); border: 1px dashed var(--sand); border-radius: 20px;
}

/* ===== Restaurant ===== */
.restaurant { background: var(--brown); color: var(--cream); --focus: var(--gold); }
.restaurant__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 88px; align-items: center; padding-top: 112px; padding-bottom: 112px; }
.restaurant .eyebrow { color: var(--beige); }
.restaurant h2 { color: var(--white); }
.restaurant__body { max-width: 520px; margin: 22px 0 34px; font-size: 1.1rem; line-height: 1.75; color: var(--beige); }

.menu-card {
    position: relative; padding: 54px 50px 46px; text-align: center;
    background: var(--cream); color: var(--espresso); border-radius: 6px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
    --focus: var(--gold-text);
}
.menu-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid var(--sand); pointer-events: none; }
.menu-card__mark { width: 54px; height: 26px; margin: 0 auto; color: var(--brown); }
.menu-card h3 { margin-top: 16px; font-family: var(--font-heading); font-weight: 400; font-size: 2rem; }
.menu-card__rule { width: 56px; height: 1px; margin: 20px auto 26px; background: var(--gold); }
.menu-card dl { display: grid; gap: 20px; text-align: left; }
.menu-card dl > div { display: grid; grid-template-columns: 36px 1fr; gap: 4px 14px; }
.menu-card dt { grid-column: 2; font-family: var(--font-heading); font-size: 1.25rem; }
.menu-card dd { grid-column: 2; font-size: 0.9rem; color: var(--muted); }
.menu-card .icon { grid-row: 1 / 3; grid-column: 1; width: 26px; height: 26px; margin-top: 2px; color: var(--gold-text); }

/* ===== Experiences + gallery ===== */
.experiences__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.experience-card {
    padding: 34px 30px;
    background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold);
    border-radius: 4px 4px 18px 18px;
}
.experience-card__icon { width: 34px; height: 34px; font-size: 34px; line-height: 1; color: var(--gold-text); stroke-width: 1.3; }
.experience-card h3 { margin: 22px 0 8px; font-family: var(--font-heading); font-weight: 400; font-size: 1.6rem; color: var(--espresso); }
.experience-card p { line-height: 1.65; color: var(--muted); }

.gallery__title { margin-top: 64px; font-family: var(--font-heading); font-weight: 400; font-size: 1.75rem; color: var(--espresso); }
.gallery { display: flex; gap: 14px; margin-top: 22px; }
.gallery li { flex: none; }
.gallery img { width: 220px; height: 150px; object-fit: cover; border-radius: 12px; }

/* ===== Stay info ===== */
.stay { padding-top: 0; }
.stay__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.stay-card { padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; }
.stay-card h3 {
    display: flex; align-items: center; gap: 10px;
    font: 700 0.7rem/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted);
}
.stay-card h3 .icon { color: var(--gold-text); }
.stay-card p { margin-top: 16px; font-family: var(--font-heading); font-size: 1.9rem; color: var(--espresso); }
.stay-card .stay-card__address { font-family: var(--font-body); font-size: 1rem; line-height: 1.5; }
.stay-card span { display: block; margin-top: 4px; font-size: 0.9rem; color: var(--muted); }
.stay-card .btn { margin-top: 16px; }

/* ===== CTA band ===== */
.cta-band { background: var(--gold); color: var(--ink); --focus: var(--espresso); }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-top: 76px; padding-bottom: 76px; }
.cta-band h2 { margin: 0; color: var(--ink); }
.cta-band p { margin-top: 10px; font-size: 1.1rem; }
.cta-band__contacts { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; font-weight: 500; }
.cta-band__contacts a { display: inline-flex; align-items: center; gap: 8px; text-decoration: underline; text-underline-offset: 3px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ===== Footer ===== */
.site-footer { padding: 64px 0 32px; font-size: 0.9rem; color: var(--beige); background: var(--espresso); --focus: var(--gold); }
.site-footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.site-footer__about p { max-width: 300px; margin-top: 18px; line-height: 1.7; }
.site-footer__title { margin: 0 0 16px; font: 700 0.7rem/1.2 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--white); }
.site-footer__legal {
    display: flex; justify-content: space-between; gap: 20px;
    margin-top: 48px; padding-top: 24px; font-size: 0.8rem;
    border-top: 1px solid rgba(221, 202, 164, 0.2);
}

/* ===== Mobile sticky bar ===== */
.mobile-bar { display: none; }
.mobile-bar small { display: block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--beige); }
.mobile-bar strong { font-family: var(--font-heading); font-weight: 400; font-size: 1.5rem; color: var(--cream); }
.mobile-bar strong span { font-family: var(--font-body); font-size: 0.8rem; color: var(--beige); }
.mobile-bar .mobile-bar__name { font-size: 1.1rem; }

/* ===== Reservation modal (hooks used by public/landing/script.js) ===== */
.modal {
    position: fixed; inset: 0; z-index: 2000;
    display: none; align-items: center; justify-content: center;
    padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch;
}
/* script.js closes the modal with inline display/opacity/visibility; !important lets .show reopen it. */
.modal.show, .modal.show-modal { display: flex !important; opacity: 1 !important; visibility: visible !important; }
.modal__overlay { position: fixed; inset: 0; background: rgba(43, 32, 6, 0.72); backdrop-filter: blur(3px); cursor: pointer; }
.modal__content {
    position: relative; z-index: 1; width: 100%; max-width: 720px; max-height: 92vh; overflow-y: auto; margin: auto;
    background: var(--white); border-radius: var(--radius-xl); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    animation: modal-in 0.25s ease;
}
@keyframes modal-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.modal__header {
    position: sticky; top: 0; z-index: 2;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 28px; background: var(--white); border-bottom: 1px solid var(--line);
}
.modal__title { margin: 0; font-family: var(--font-heading); font-weight: 400; font-size: 1.6rem; color: var(--espresso); }
.modal__close {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0;
    border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer;
}
.modal__close:hover { background: var(--cream); color: var(--ink); }
body.modal-open { overflow: hidden; }

.reservation-form { display: grid; gap: 18px; padding: 28px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: 0.85rem; font-weight: 600; color: var(--espresso); }
.form__input, .form__select, .form__textarea {
    width: 100%; min-height: 46px; padding: 10px 14px;
    border: 1px solid var(--text-color); border-radius: var(--radius-md);
    background: var(--white); color: var(--ink); font: 400 1rem var(--font-body);
}
.form__textarea { resize: vertical; }
.form__input:focus, .form__select:focus, .form__textarea:focus { outline: 3px solid var(--gold-text); outline-offset: 1px; border-color: var(--gold-text); }
.form__input.auto-filled { background: #EEF6F0; border-color: #2E7D4F; }
.form__input.input-loading { background-image: linear-gradient(45deg, transparent 30%, rgba(190, 165, 114, 0.5) 50%, transparent 70%); background-size: 20px 20px; background-repeat: no-repeat; background-position: right 12px center; }
.form-help-text { font-size: 0.8rem; color: var(--muted); }
.form__actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 6px; }

.price-summary { padding: 18px 20px; background: var(--gold-tint); border: 1px solid var(--sand); border-radius: var(--radius-lg); }
.price-summary__title { margin: 0 0 10px; font-family: var(--font-heading); font-weight: 400; font-size: 1.2rem; color: var(--espresso); }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 0.95rem; color: var(--copy); }
.price-row--total { margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--sand); font-weight: 700; color: var(--espresso); }

/* Client lookup feedback injected by script.js */
.client-history, .client-search-indicator {
    padding: 14px 16px; background: #EEF6F0; border: 1px solid rgba(46, 125, 79, 0.35);
    border-radius: var(--radius-lg); font-size: 0.9rem; color: var(--copy);
}
.client-history__header h4 { margin: 0 0 2px; font-size: 0.95rem; color: var(--espresso); }
.client-history__item { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; padding: 6px 0; border-top: 1px solid rgba(46, 125, 79, 0.2); }
.client-search-indicator--not-found { background: var(--gold-tint); border-color: var(--sand); }
.client-search-indicator--error { background: #FBEAE8; border-color: rgba(178, 58, 43, 0.4); }
.search-indicator__content { display: flex; align-items: center; gap: 10px; }
.search-indicator__spinner {
    width: 16px; height: 16px; border: 2px solid var(--sand); border-top-color: var(--brown); border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
.client-search-indicator--not-found .search-indicator__spinner,
.client-search-indicator--error .search-indicator__spinner { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.swal2-container { z-index: 10000 !important; }
.notification { z-index: 2700 !important; }

/* ===== Mobile (<= 900px) ===== */
@media (max-width: 900px) {
    .container { padding: 0 20px; }
    h2 { margin-top: 0.6rem; }

    .brand { gap: 10px; }
    .brand__mark { width: 38px; height: 18px; }
    .brand__text { white-space: nowrap; }
    .brand__text b { font-size: 0.95rem; letter-spacing: 0.12em; }
    .brand__text small { font-size: 0.5rem; letter-spacing: 0.24em; }
    .brand__logo { height: 38px; }

    .site-header__bar { height: 70px; }
    .site-header__actions { gap: 8px; }
    .header-link { display: none; }
    .nav__cta { min-height: 40px; padding: 0 14px; font-size: 0.85rem; }
    .nav__toggle { display: inline-flex; }

    /* Off-canvas menu driven by .show-menu / .active (script.js + navigation-fixes.js) */
    .nav__menu {
        position: fixed; top: 0; right: 0; bottom: 0; z-index: 60;
        display: flex; flex-direction: column;
        width: min(86vw, 340px); padding: 88px 28px 32px;
        background: var(--espresso); box-shadow: -20px 0 40px rgba(0, 0, 0, 0.35);
        transform: translateX(105%); visibility: hidden;
        transition: transform 0.3s ease, visibility 0s linear 0.3s;
    }
    .nav__menu.show-menu { transform: translateX(0); visibility: visible; transition: transform 0.3s ease; }
    .nav__list { flex-direction: column; gap: 4px; }
    .nav__link { display: block; padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(221, 202, 164, 0.18); }
    .nav__close { display: inline-flex; position: absolute; top: 14px; right: 16px; }
    .nav__overlay {
        position: fixed; inset: 0; z-index: 55; display: block;
        background: rgba(0, 0, 0, 0.55); opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
    }
    .nav__overlay.active { opacity: 1; pointer-events: auto; }

    .hero { padding: 112px 0 120px; }
    .hero__grid { grid-template-columns: 1fr; gap: 8px; }
    .hero__title { margin: 16px 0 18px; }
    .hero__lead { margin-bottom: 28px; font-size: 1.05rem; }
    .hero__actions .btn { flex: 1; }
    .hero__art { margin-top: 18px; }

    .booking-bar { grid-template-columns: 1fr 1fr; width: calc(100% - 32px); margin-top: -72px; padding: 8px; border-radius: 16px; }
    .field { padding: 10px 12px; }
    .field + .field::before { display: none; }
    .field input, .field select { font-size: 0.95rem; }
    .booking-bar__submit { grid-column: 1 / -1; min-height: 54px; }
    .assurance { flex-direction: column; align-items: flex-start; gap: 10px; padding: 20px 24px 0; }

    .block { padding: 72px 0; }
    .block__head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 28px; }

    .room-card { grid-template-columns: 104px 1fr; gap: 14px 16px; padding: 14px; border-radius: 16px; }
    .room-card__media { width: 104px; height: 80px; border-radius: 10px; }
    .room-card__placeholder { width: 48px; }
    .room-card__body h3 { font-size: 1.4rem; }
    .room-card__body p { margin: 4px 0 10px; font-size: 0.9rem; }
    .amenities { gap: 6px 14px; font-size: 0.8rem; }
    .room-card__price {
        grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
        min-width: 0; padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); text-align: left;
    }
    .room-card__price strong { font-size: 1.9rem; }
    .room-card__price .btn { width: auto; margin: 0 0 0 auto; }

    .restaurant__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
    .menu-card { padding: 40px 26px 34px; }

    .experiences__grid { grid-template-columns: 1fr; }
    .gallery__title { margin-top: 44px; }
    .gallery { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .gallery img { width: 200px; height: 136px; scroll-snap-align: start; }

    .cta-band__inner { flex-direction: column; align-items: flex-start; padding-top: 56px; padding-bottom: 56px; }

    .site-footer__cols { grid-template-columns: 1fr 1fr; }
    .site-footer__about { grid-column: 1 / -1; }
    .site-footer__legal { flex-direction: column; }

    /* Sticky price + Reservar bar keeps the CTA always reachable */
    .mobile-bar {
        position: sticky; bottom: 0; z-index: 20;
        display: flex; align-items: center; justify-content: space-between; gap: 12px;
        padding: 12px 16px; background: var(--espresso); box-shadow: 0 -10px 24px rgba(0, 0, 0, 0.22);
        --focus: var(--gold);
    }
    .mobile-bar .btn { min-height: 46px; }

    .modal { padding: 0; align-items: flex-end; }
    .modal__content { max-width: none; max-height: 94vh; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
    .modal__header { padding: 14px 18px; }
    .reservation-form { padding: 18px; }
    .form__row { grid-template-columns: 1fr; }
    .form__actions .btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
