/* =========================================================================
   Thatch Haven Guesthouse - design system
   Boutique guesthouse: warm paper neutrals, terracotta accent,
   Fraunces display serif + Inter text.
   ========================================================================= */

:root {
    --bg:            #faf7f2;
    --surface:       #ffffff;
    --surface-2:     #f3ecdf;
    --ink:           #211c17;
    --ink-soft:      #4c443a;
    --muted:         #7c7161;
    --line:          #e7ddcd;
    --line-strong:   #d8ccb6;

    --accent:        #b8501f;
    --accent-strong: #963f18;
    --accent-soft:   #f7eae0;
    --gold:          #c1893f;

    --dark:          #201b16;
    --dark-2:        #2b241d;
    --on-dark:       #efe7db;
    --on-dark-muted: #b7ab99;

    --r-sm: 8px;
    --r:    14px;
    --r-lg: 24px;
    --r-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(33, 28, 23, .06), 0 1px 1px rgba(33, 28, 23, .04);
    --shadow:    0 22px 45px -22px rgba(33, 28, 23, .30);
    --shadow-lg: 0 44px 80px -32px rgba(33, 28, 23, .38);

    --container: 1180px;
    --gutter: clamp(20px, 5vw, 48px);
    --section-y: clamp(64px, 9vw, 120px);

    --ease: cubic-bezier(.22, .61, .36, 1);
    --header-h: 76px;

    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

/* ---------- reset / base ---------- */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink-soft);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }

a { color: var(--accent-strong); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.12;
    color: var(--ink);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); }
h4 { font-size: 1.1rem; }

p { text-wrap: pretty; }

ul, ol { padding-left: 1.15rem; }

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

::selection { background: var(--accent); color: #fff; }

/* ---------- helpers ---------- */

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}

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

.skip-link {
    position: fixed; left: 12px; top: 12px; z-index: 200;
    background: var(--ink); color: #fff; padding: 10px 16px;
    border-radius: var(--r-sm); transform: translateY(-150%);
    transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); text-decoration: none; }

.text-center { text-align: center; }
.measure { max-width: 62ch; }
.mx-auto { margin-inline: auto; }

.kicker {
    display: inline-block;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .9rem;
}

.lede {
    font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem);
    color: var(--ink-soft);
}

/* ---------- sections ---------- */

.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface-2); }
.section--surface { background: var(--surface); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .kicker { color: var(--gold); }
.section--flush-bottom { padding-bottom: 0; }

.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- buttons ---------- */

.btn {
    --btn-bg: var(--accent);
    --btn-fg: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6em;
    padding: 1rem 1.9rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: .92rem;
    letter-spacing: .02em;
    line-height: 1;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: 1px solid transparent;
    border-radius: var(--r-pill);
    cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
.btn:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn:active { transform: translateY(0); }

.btn--primary { --btn-bg: var(--accent); }
.btn--primary:hover { background: var(--accent-strong); }
.btn--dark { --btn-bg: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--ghost {
    --btn-bg: transparent;
    --btn-fg: currentColor;
    border-color: currentColor;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: none; }
.btn--sm { padding: .7rem 1.25rem; font-size: .85rem; }
.btn--block { width: 100%; }

.textlink {
    font-weight: 600;
    color: var(--accent-strong);
    display: inline-flex;
    align-items: center;
    gap: .4em;
}
.textlink i { transition: transform .18s var(--ease); }
.textlink:hover { text-decoration: none; }
.textlink:hover i { transform: translateX(4px); }

/* ---------- header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 247, 242, .9);
    backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--line);
    transition: background-color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-h);
}
.site-header--transparent {
    position: fixed;
    inset: 0 0 auto 0;
    background: transparent;
    border-color: transparent;
}
.site-header--transparent:not(.is-scrolled) .brand__text,
.site-header--transparent:not(.is-scrolled) .primary-nav__list a,
.site-header--transparent:not(.is-scrolled) .nav-phone { color: #fff; }
.site-header--transparent:not(.is-scrolled) .nav-toggle__bar,
.site-header--transparent:not(.is-scrolled) .nav-toggle__bar::before,
.site-header--transparent:not(.is-scrolled) .nav-toggle__bar::after { background: #fff; }
.site-header.is-scrolled {
    background: rgba(250, 247, 242, .95);
    backdrop-filter: saturate(1.4) blur(10px);
    border-color: var(--line);
    box-shadow: 0 10px 30px -20px rgba(33, 28, 23, .4);
}
body:has(.site-header--transparent) { --header-h: 84px; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: .02em;
    color: var(--ink);
    text-transform: uppercase;
}
.brand:hover { text-decoration: none; }
.brand__mark { width: 44px; height: 44px; object-fit: contain; }
.brand__text span { color: var(--accent); }

.primary-nav { display: flex; align-items: center; gap: 2.5rem; }
.primary-nav__list {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.primary-nav__list a {
    font-weight: 600;
    font-size: .9rem;
    letter-spacing: .02em;
    color: var(--ink-soft);
    padding-block: .4rem;
    position: relative;
}
.primary-nav__list a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s var(--ease);
}
.primary-nav__list a:hover { text-decoration: none; }
.primary-nav__list a:hover::after,
.primary-nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.primary-nav__cta { display: flex; align-items: center; gap: 1.4rem; }
.nav-phone { font-weight: 600; font-size: .9rem; color: var(--ink-soft); white-space: nowrap; }
.nav-phone i { color: var(--accent); margin-right: .35em; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    border: 0; background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 120;
}
.nav-toggle__bar,
.nav-toggle__bar::before,
.nav-toggle__bar::after {
    content: "";
    position: absolute;
    left: 10px;
    width: 24px;
    height: 2px;
    background: var(--ink);
    transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle__bar { top: 21px; }
.nav-toggle__bar::before { top: -7px; }
.nav-toggle__bar::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
    .nav-toggle { display: block; }
    .primary-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(84vw, 340px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: calc(var(--header-h) + 24px) 32px 32px;
        background: var(--surface);
        border-left: 1px solid var(--line);
        box-shadow: var(--shadow-lg);
        transform: translateX(100%);
        transition: transform .3s var(--ease);
        overflow-y: auto;
    }
    .primary-nav.is-open { transform: translateX(0); }
    .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
    .primary-nav__list a {
        display: block;
        padding: 1rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid var(--line);
        color: var(--ink);
    }
    .primary-nav__list a::after { display: none; }
    .primary-nav__cta { flex-direction: column; align-items: stretch; gap: 1rem; margin-top: 1.5rem; width: 100%; }
    .primary-nav__cta .btn { width: 100%; }
    .site-header--transparent:not(.is-scrolled) .primary-nav .primary-nav__list a,
    .site-header--transparent:not(.is-scrolled) .primary-nav .nav-phone { color: var(--ink); }
    body.nav-open { overflow: hidden; }
    .nav-scrim {
        position: fixed; inset: 0; z-index: 90;
        background: rgba(20, 16, 12, .5);
        opacity: 0; pointer-events: none;
        transition: opacity .3s var(--ease);
    }
    body.nav-open .nav-scrim { opacity: 1; pointer-events: auto; }
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    min-height: min(92vh, 820px);
    display: flex;
    align-items: center;
    color: #fff;
    isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(180deg, rgba(20, 15, 11, .35) 0%, rgba(20, 15, 11, .15) 35%, rgba(20, 15, 11, .62) 100%);
}
.hero__inner { padding-block: clamp(120px, 20vh, 220px) clamp(60px, 12vh, 120px); max-width: 720px; }
.hero .kicker { color: #fff; opacity: .92; }
.hero h1 { color: #fff; margin-bottom: 1.1rem; }
.hero p { font-size: clamp(1.05rem, 1rem + .5vw, 1.25rem); color: rgba(255, 255, 255, .92); margin-bottom: 2rem; max-width: 44ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.page-hero {
    position: relative;
    display: grid;
    place-items: center;
    text-align: center;
    color: #fff;
    padding-block: clamp(140px, 22vh, 240px) clamp(60px, 10vh, 110px);
    isolation: isolate;
}
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(20, 15, 11, .5), rgba(20, 15, 11, .6));
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255, 255, 255, .9); margin-top: 1rem; letter-spacing: .04em; }
.page-hero .kicker { color: #fff; opacity: .9; }

/* ---------- facilities strip ---------- */

.facilities {
    background: var(--dark);
    color: var(--on-dark);
}
.facilities__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
}
.facilities__item i { font-size: 1.7rem; color: var(--gold); margin-bottom: .6rem; }
.facilities__item p { font-weight: 600; font-size: .92rem; color: var(--on-dark); letter-spacing: .02em; }

/* ---------- room grid / cards ---------- */

.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.25rem);
}
.room-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.room-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.room-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.room-card:hover .room-card__media img { transform: scale(1.05); }
.room-card__body { display: flex; flex-direction: column; gap: .55rem; padding: 1.5rem 1.5rem 1.7rem; flex: 1; }
.room-card__body h3 { color: var(--ink); }
.room-card__text { color: var(--muted); font-size: .95rem; }
.room-card__meta {
    display: flex; flex-wrap: wrap; gap: .3rem 1.1rem;
    font-size: .82rem; color: var(--muted);
    margin-top: .2rem;
}
.room-card__meta span { display: inline-flex; align-items: center; gap: .4em; }
.room-card__meta i { color: var(--accent); }
.room-card__foot {
    display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line);
}
.room-card__price { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.15rem; }
.room-card__price small { font-family: var(--font-body); font-weight: 500; color: var(--muted); font-size: .78rem; }

.badge {
    position: absolute;
    top: 1rem; left: 1rem;
    background: rgba(255, 255, 255, .95);
    color: var(--accent-strong);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: .45rem .8rem;
    border-radius: var(--r-pill);
    box-shadow: var(--shadow-sm);
}

/* ---------- split feature blocks ---------- */

.split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}
.split--reverse .split__media { order: 2; }
.split__body .kicker { margin-bottom: .8rem; }
.split__body > * + * { margin-top: 1.1rem; }

.media-frame { position: relative; }
.media-frame img { border-radius: var(--r-lg); box-shadow: var(--shadow); position: relative; z-index: 1; }
.media-frame::before {
    content: "";
    position: absolute;
    inset: auto -22px -22px auto;
    width: 62%;
    height: 62%;
    background: var(--accent);
    border-radius: var(--r-lg);
    z-index: 0;
}
.media-frame--gold::before { background: var(--gold); }

.stat-badge {
    position: absolute;
    right: clamp(-10px, -2vw, -28px);
    bottom: clamp(-16px, -3vw, -30px);
    z-index: 2;
    background: var(--accent);
    color: #fff;
    padding: 1.4rem 1.6rem;
    border-radius: var(--r);
    text-align: center;
    box-shadow: var(--shadow);
}
.stat-badge strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.stat-badge span { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; }

/* ---------- feature grid (values) ---------- */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
}
.feature { text-align: center; padding: 1rem; }
.feature i {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: inline-grid;
    place-items: center;
    width: 64px; height: 64px;
    border-radius: var(--r-pill);
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .12);
}
.section:not(.section--dark) .feature i { background: var(--accent-soft); border-color: var(--line); color: var(--accent); }
.feature h3 { margin-bottom: .5rem; }
.feature p { color: inherit; opacity: .85; font-size: .95rem; }

/* ---------- attractions ---------- */

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.info-tile {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--r);
    padding: 1.6rem 1.5rem;
    box-shadow: var(--shadow-sm);
}
.info-tile h3 { font-size: 1.15rem; margin-bottom: .4rem; display: flex; align-items: center; gap: .6rem; }
.info-tile h3 i { color: var(--accent); font-size: 1rem; }
.info-tile p { color: var(--muted); font-size: .92rem; }

/* stay-your-way list */
.stay-list { list-style: none; padding: 0; display: grid; gap: 1.25rem; }
.stay-list li { display: flex; gap: 1rem; }
.stay-list i { color: var(--accent); font-size: 1.15rem; margin-top: .2rem; }
.stay-list strong { display: block; color: var(--ink); }
.stay-list span { color: var(--muted); font-size: .92rem; }

/* ---------- gallery ---------- */

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(.6rem, 1.5vw, 1rem);
}
.gallery__item {
    border: 0; padding: 0; margin: 0;
    background: none; cursor: zoom-in;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--r-sm);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }

.lightbox {
    position: fixed; inset: 0; z-index: 300;
    display: grid; place-items: center;
    padding: clamp(1rem, 5vw, 4rem);
    background: rgba(15, 11, 8, .92);
    opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), visibility .25s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--r); box-shadow: var(--shadow-lg); }
.lightbox__close, .lightbox__nav {
    position: absolute;
    background: rgba(255, 255, 255, .12);
    color: #fff; border: 0; cursor: pointer;
    width: 48px; height: 48px; border-radius: var(--r-pill);
    font-size: 1.2rem;
    display: grid; place-items: center;
    transition: background-color .18s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 16px; top: 50%; transform: translateY(-50%); }

/* ---------- room detail ---------- */

.room-detail { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.room-detail__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}
.room-detail__back { font-weight: 600; font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; }
.room-detail h1 { margin: 1rem 0 1.5rem; }
.room-gallery__main {
    aspect-ratio: 16 / 10;
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.room-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.room-gallery__main button {
    display: block; width: 100%; height: 100%;
    padding: 0; border: 0; background: none; cursor: zoom-in;
}
.room-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: .6rem;
    margin-top: .8rem;
}
.room-gallery__thumbs button {
    border: 2px solid transparent;
    padding: 0; margin: 0; cursor: pointer;
    border-radius: var(--r-sm);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: none;
    transition: border-color .18s var(--ease), opacity .18s var(--ease);
}
.room-gallery__thumbs button[aria-current="true"] { border-color: var(--accent); }
.room-gallery__thumbs button:hover { opacity: .85; }
.room-gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.room-body { margin-top: clamp(2rem, 4vw, 3rem); line-height: 1.75; }
.room-body > * + * { margin-top: 1.1rem; }
.room-body h2 { font-size: 1.5rem; }

.amenity-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .8rem 1.5rem;
}
.amenity-list li { display: flex; align-items: center; gap: .7rem; font-size: .95rem; }
.amenity-list i { color: var(--accent); width: 20px; text-align: center; }

.booking-card {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-top: 4px solid var(--accent);
    border-radius: var(--r-lg);
    padding: clamp(1.6rem, 3vw, 2.2rem);
    box-shadow: var(--shadow);
}
.booking-card__price { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: var(--ink); }
.booking-card__price small { font-family: var(--font-body); font-weight: 500; font-size: .85rem; color: var(--muted); }
.booking-card__note { font-size: .82rem; color: var(--muted); margin: .3rem 0 1.4rem; }
.booking-card h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.booking-card__alt {
    margin-top: 1.4rem; padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    text-align: center;
}
.booking-card__alt p { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.booking-card__alt a { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: #1f9d55; }
.booking-card__alt i { font-size: 1.3rem; }

/* ---------- forms ---------- */

.field { display: block; margin-bottom: 1.1rem; }
.field > span {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: .4rem;
}
.field--required > span::after { content: " *"; color: var(--accent); }

input, select, textarea {
    width: 100%;
    font: inherit;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--line-strong);
    border-radius: var(--r-sm);
    padding: .85rem 1rem;
    transition: border-color .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}
input::placeholder, textarea::placeholder { color: #9a8f7e; }
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface);
    box-shadow: 0 0 0 3px var(--accent-soft);
}
textarea { min-height: 130px; resize: vertical; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.2rem; }
.form-grid .field--full { grid-column: 1 / -1; }

.form--on-dark input, .form--on-dark select, .form--on-dark textarea {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 255, 255, .22);
    color: #fff;
}
.form--on-dark input::placeholder, .form--on-dark textarea::placeholder { color: rgba(255, 255, 255, .55); }
.form--on-dark .field > span { color: var(--on-dark-muted); }
.form--on-dark input:focus, .form--on-dark select:focus, .form--on-dark textarea:focus {
    background: rgba(255, 255, 255, .12);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
}

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
    border-radius: var(--r);
    padding: 1rem 1.2rem;
    font-size: .95rem;
    margin-bottom: 1.5rem;
    border: 1px solid;
}
.alert--success { background: #edf7ee; border-color: #bfe0c2; color: #1f5b2b; }
.alert--error { background: #fbecec; border-color: #eec4c4; color: #8a2b2b; }

/* ---------- contact ---------- */

.contact-grid {
    display: grid;
    grid-template-columns: minmax(260px, .8fr) 1.4fr;
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: start;
}
.info-stack { display: grid; gap: 1rem; }
.info-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent);
    border-radius: var(--r);
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: transform .18s var(--ease);
}
.info-card:hover { transform: translateX(6px); }
.info-card i { color: var(--accent); font-size: 1.2rem; margin-bottom: .6rem; display: block; }
.info-card h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.info-card p, .info-card a { color: var(--muted); font-size: .95rem; }
.info-card a:hover { color: var(--accent-strong); }

.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    padding: clamp(1.75rem, 4vw, 3rem);
    box-shadow: var(--shadow);
}

.map-embed {
    line-height: 0;
    border-top: 1px solid var(--line);
}
.map-embed iframe { width: 100%; height: 440px; border: 0; filter: grayscale(1) contrast(1.05); }

/* ---------- whatsapp float ---------- */

.whatsapp-float {
    position: fixed;
    right: clamp(16px, 4vw, 30px);
    bottom: clamp(16px, 4vw, 30px);
    z-index: 120;
    width: 58px; height: 58px;
    display: grid; place-items: center;
    background: #25d366;
    color: #fff;
    font-size: 1.7rem;
    border-radius: var(--r-pill);
    box-shadow: 0 14px 30px -8px rgba(37, 211, 102, .6);
    transition: transform .2s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); text-decoration: none; }

/* ---------- footer ---------- */

.site-footer { background: var(--dark); color: var(--on-dark-muted); }
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    padding-block: clamp(3rem, 6vw, 4.5rem);
}
.site-footer h2 {
    font-family: var(--font-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.1rem;
}
.site-footer p, .site-footer li, .site-footer address { font-size: .92rem; font-style: normal; }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .6rem; }
.site-footer address p { display: flex; gap: .6rem; margin-bottom: .55rem; }
.site-footer address i { color: var(--gold); width: 16px; margin-top: .2rem; }
.site-footer__brand .brand--footer { color: #fff; margin-bottom: 1rem; }
.site-footer__brand p { max-width: 34ch; }
.social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.social a {
    width: 38px; height: 38px; display: grid; place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--r-pill);
}
.social a:hover { background: rgba(255, 255, 255, .1); }
.site-footer__base {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-block: 1.4rem;
    text-align: center;
}
.site-footer__base p { font-size: .82rem; letter-spacing: .04em; }

/* ---------- scroll reveal ---------- */

[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 2.5rem; }
    .split--reverse .split__media { order: 0; }
    .media-frame::before { display: none; }
    .stat-badge { position: static; display: inline-block; margin-top: 1rem; }
    .room-detail__grid { grid-template-columns: 1fr; }
    .booking-card { position: static; }
    .contact-grid { grid-template-columns: 1fr; }
    .room-gallery__thumbs { grid-template-columns: repeat(4, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    .form-grid { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr; }
    .hero { min-height: 88vh; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}
