/* ============================================================
   TEE GUEST HOUSE — design system
   Palette derived from the logo: navy #0a1628 + gold #fab20e.
   Display: Fraunces (warm boutique serif) · Body/UI: Inter.
   Signature: the gold roof-peak from the logo, used as a threshold.
   ============================================================ */

:root {
    /* Brand */
    --navy: #0a1628;
    --navy-800: #0c1c34;
    --navy-700: #11233f;
    --navy-card: #15294a;
    --navy-line: rgba(255, 255, 255, .10);

    --gold: #fab20e;
    --gold-deep: #c38f1a;
    --gold-soft: #f6c75a;

    --cream: #f8f5ee;
    --paper: #ffffff;

    --ink: #15202e;
    --ink-soft: #38465a;
    --muted: #5c6675;
    --line: #e7e1d5;

    /* Type */
    --display: "Fraunces", Georgia, "Times New Roman", serif;
    --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    /* Rhythm */
    --container: 1140px;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 18px 40px -22px rgba(10, 22, 40, .35);
    --shadow-lg: 0 30px 70px -30px rgba(10, 22, 40, .45);
    --section-y: clamp(3.5rem, 7vw, 6.5rem);
    --ease: cubic-bezier(.4, .12, .2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    font-family: var(--body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.01em; }

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; list-style: none; }

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

.container { width: min(var(--container), 92%); margin-inline: auto; }
.container.narrow { max-width: 760px; }
.center { text-align: center; }
.center-row { display: flex; justify-content: center; margin-top: 2rem; }

/* ---------- Typography helpers ---------- */
.display {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    font-optical-sizing: auto;
    letter-spacing: -.02em;
}
.display.light { color: var(--paper); }

.lead {
    font-size: clamp(1.08rem, 1.6vw, 1.28rem);
    color: var(--ink-soft);
    line-height: 1.6;
}
.section--navy .lead, .hero .lead { color: rgba(255, 255, 255, .82); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold-deep);
    margin: 0 0 1.1rem;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow.center { justify-content: center; }
.eyebrow .icon { width: 17px; height: 17px; }

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-family: var(--body);
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    padding: .95rem 1.6rem;
    border-radius: 999px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .7rem 1.2rem; font-size: .92rem; }

.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 12px 26px -12px rgba(250, 178, 14, .7); }
.btn-gold:hover { background: var(--gold-soft); }

.btn-outline { background: transparent; color: var(--navy); border-color: rgba(10, 22, 40, .28); }
.btn-outline:hover { border-color: var(--navy); background: var(--navy); color: var(--paper); }

.btn-outline-light { background: transparent; color: var(--paper); border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .1); border-color: var(--paper); }

.btn-ghost { background: rgba(10, 22, 40, .06); color: var(--navy); }
.btn-ghost:hover { background: rgba(10, 22, 40, .12); }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.btn-row.center-row { justify-content: center; }

.icon { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10, 22, 40, .92);
    backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--navy-line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; }
.brand img { border-radius: 9px; }
.brand-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: 1.18rem;
    color: var(--paper);
    letter-spacing: -.01em;
}

.site-nav { display: flex; align-items: center; gap: .35rem; }
.nav-link {
    color: rgba(255, 255, 255, .82);
    font-weight: 500;
    font-size: .97rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--paper); background: rgba(255, 255, 255, .07); }
.nav-link.active { color: var(--gold); }
.nav-cta { margin-left: .5rem; }

/* Mobile menu (CSS-only) */
.nav-toggle { display: none; }
.nav-burger { display: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    background: var(--navy);
    color: var(--paper);
    overflow: hidden;
    padding: clamp(4rem, 9vw, 7.5rem) 0 0;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(900px 520px at 78% -8%, rgba(250, 178, 14, .22), transparent 60%),
        radial-gradient(700px 480px at 8% 110%, rgba(250, 178, 14, .10), transparent 55%),
        linear-gradient(180deg, #0a1628, #0c1c34);
}
.hero-bg::after {
    /* faint repeating roof-peak texture */
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(255, 255, 255, .03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255, 255, 255, .03) 25%, transparent 25%);
    background-size: 60px 60px;
    background-position: 0 0;
    opacity: .5;
    mask-image: linear-gradient(180deg, transparent, #000 40%, #000 70%, transparent);
}
.hero-inner { position: relative; max-width: 760px; padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero-title {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(2.2rem, 5.2vw, 3.9rem);
    line-height: 1.04;
    letter-spacing: -.025em;
    margin: 0 0 1.4rem;
}
.hero-lead {
    font-size: clamp(1.1rem, 1.7vw, 1.32rem);
    color: rgba(255, 255, 255, .8);
    max-width: 56ch;
    margin: 0;
}
.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem;
    margin-top: 2.6rem;
    padding-top: 1.6rem;
    border-top: 1px solid var(--navy-line);
}
.hero-meta li {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-size: .95rem;
    color: rgba(255, 255, 255, .78);
}
.hero-meta .icon { color: var(--gold); width: 18px; height: 18px; }

/* ---------- Roofline (signature divider) ---------- */
.roofline { line-height: 0; color: var(--gold); }
.roofline svg { width: 100%; height: 34px; display: block; }
.roofline--flip svg { transform: scaleY(-1); }
.hero .roofline { position: relative; color: rgba(250, 178, 14, .5); }
.site-footer .roofline { color: var(--gold); margin-bottom: 2.5rem; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--light { background: var(--paper); }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); color: var(--paper); }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}
.section-head--center { justify-content: center; text-align: center; margin-bottom: 3.2rem; }
.link-arrow { color: var(--gold-deep); font-weight: 600; white-space: nowrap; transition: color .15s; }
.section--navy .link-arrow { color: var(--gold); }
.link-arrow:hover { color: var(--gold); }

/* ---------- Page head (interior pages) ---------- */
.page-head {
    position: relative;
    background: var(--navy);
    color: var(--paper);
    padding: clamp(3.5rem, 7vw, 5.5rem) 0 0;
    overflow: hidden;
}
.page-head::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(700px 360px at 85% -20%, rgba(250, 178, 14, .18), transparent 60%);
}
.page-head .container { position: relative; }
.page-head .display { margin-bottom: 1rem; }
.page-head-lead {
    max-width: 60ch;
    color: rgba(255, 255, 255, .8);
    font-size: 1.12rem;
    margin: 0;
    padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ---------- Welcome ---------- */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
}
.welcome-copy .lead { margin-bottom: 1.2rem; }
.welcome-copy p:last-child { color: var(--muted); margin: 0; }

/* ---------- Room cards (preview) ---------- */
.room-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.6rem;
}
.room-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.room-card-media { position: relative; display: block; aspect-ratio: 3 / 2; 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-price {
    position: absolute;
    bottom: .8rem;
    left: .8rem;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-size: 1.02rem;
}
.room-price small { font-weight: 500; font-size: .72em; }
.room-card-body { padding: 1.4rem 1.5rem 1.6rem; }
.room-card-body h3 { font-family: var(--display); font-weight: 600; font-size: 1.45rem; }
.room-tag { color: var(--muted); margin: .4rem 0 1.1rem; }

.room-specs { display: flex; flex-wrap: wrap; gap: 1rem 1.3rem; margin: 0 0 1.4rem; }
.room-specs li { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; color: var(--ink-soft); }
.room-specs .icon { width: 18px; height: 18px; color: var(--gold-deep); }
.room-specs--lg li { font-size: .98rem; }

/* ---------- Rooms full page ---------- */
.rooms-full { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem); }
.room-row {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: center;
}
.room-row--reverse .room-row-media { order: 2; }
.room-row-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.room-row-media img { width: 100%; height: auto; object-fit: contain; display: block; }
.room-row-body h2 { font-family: var(--display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.room-row-body .room-tag { font-size: 1.05rem; margin-top: .5rem; }

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem 1.2rem;
    margin: 1.4rem 0 1.8rem;
}
.feature-list li { display: flex; align-items: center; gap: .55rem; font-size: .96rem; color: var(--ink-soft); }
.feature-list .icon { width: 18px; height: 18px; color: var(--gold-deep); }

.room-row-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.room-price-lg { font-family: var(--display); font-weight: 600; font-size: 1.9rem; color: var(--navy); }
.room-price-lg small { font-family: var(--body); font-size: .9rem; font-weight: 500; color: var(--muted); }

/* ---------- Amenities ---------- */
.amen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.6rem 2.4rem;
}
.amen-item { display: flex; gap: 1rem; }
.amen-icon {
    flex: none;
    width: 50px;
    height: 50px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(250, 178, 14, .14);
    color: var(--gold);
    border: 1px solid rgba(250, 178, 14, .3);
}
.amen-icon .icon { width: 24px; height: 24px; }
.amen-icon--dark { background: var(--navy); color: var(--gold); border-color: transparent; }
.amen-item h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: .25rem; color: var(--paper); }
.amen-item p { color: rgba(255, 255, 255, .68); font-size: .95rem; margin: 0; }

.amen-grid--full { gap: 1.4rem; }
.amen-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow);
    transition: transform .2s var(--ease);
}
.amen-card:hover { transform: translateY(-4px); }
.amen-card h3 { font-size: 1.18rem; font-weight: 700; margin: 1rem 0 .4rem; color: var(--ink); }
.amen-card p { color: var(--muted); font-size: .96rem; margin: 0; }

.amen-strip .center-row { margin-top: 2.8rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 2.5rem; display: flex; flex-direction: column; gap: .9rem; }
.faq-item {
    background: var(--navy-700);
    border: 1px solid var(--navy-line);
    border-radius: var(--radius-sm);
    padding: 0 1.4rem;
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.15rem 0;
    font-weight: 600;
    color: var(--paper);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    color: var(--gold);
    font-size: 1.5rem;
    line-height: 1;
    transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { color: rgba(255, 255, 255, .72); padding: 0 0 1.2rem; margin: 0; }

/* ---------- Gallery ---------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}
.gallery-tile {
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    aspect-ratio: 4 / 3;
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-tile:hover img { transform: scale(1.06); }
.gallery-tile figcaption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 1.4rem 1.2rem .9rem;
    color: var(--paper);
    font-weight: 600;
    background: linear-gradient(transparent, rgba(10, 22, 40, .82));
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.about-copy .lead { margin: 1rem 0 1.2rem; }
.about-copy p:last-child { color: var(--muted); }
.about-values { display: grid; gap: 1.4rem; }
.value {
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.value h3 { font-size: 1.12rem; font-weight: 700; margin: .9rem 0 .35rem; }
.value p { color: var(--muted); font-size: .95rem; margin: 0; }

.about-find { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-find-copy .lead { margin: 1rem 0 1.4rem; }

.contact-lines { display: grid; gap: .7rem; margin: 0 0 1.8rem; }
.contact-lines li { display: flex; align-items: center; gap: .65rem; color: var(--ink-soft); }
.contact-lines .icon { color: var(--gold-deep); width: 19px; height: 19px; }
.contact-lines a:hover { color: var(--gold-deep); }

.map-wrap, .map-section iframe { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 360px; border: 0; display: block; }

/* ---------- CTA band ---------- */
.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
    flex-wrap: wrap;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow);
}
.cta-inner .lead { margin: .8rem 0 0; max-width: 46ch; }
.cta-actions { display: flex; flex-direction: column; gap: .8rem; min-width: 220px; }

/* ---------- Reserve & contact ---------- */
.reserve-grid, .contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }

.booking-form { display: flex; flex-direction: column; gap: 1.2rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field-row--three { grid-template-columns: 1fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: .45rem; }
.field-label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field-opt { font-weight: 400; color: var(--muted); }

.input {
    font-family: var(--body);
    font-size: 1rem;
    color: var(--ink);
    padding: .8rem .95rem;
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper);
    width: 100%;
    transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(250, 178, 14, .2); }
.textarea { resize: vertical; min-height: 110px; line-height: 1.55; }

.validation-message, .form-error { color: #c2410c; font-size: .85rem; margin: 0; }
.form-error { font-weight: 600; }
.input.invalid, .invalid .input { border-color: #e8804f; }

.form-note { color: var(--muted); font-size: .88rem; margin: .2rem 0 0; }

.form-success {
    text-align: center;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
}
.success-mark {
    display: grid;
    place-items: center;
    width: 60px; height: 60px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    background: var(--gold);
    color: var(--navy);
}
.success-mark .icon { width: 30px; height: 30px; }
.form-success h3 { font-family: var(--display); font-size: 1.6rem; font-weight: 600; margin-bottom: .6rem; }
.success-ref { color: var(--muted); font-size: .95rem; margin: 1rem 0 1.4rem; }

.reserve-aside, .contact-form-col { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.6rem, 3vw, 2.2rem); }
.contact-form-col { background: var(--paper); }
.aside-h { font-family: var(--display); font-weight: 600; font-size: 1.35rem; margin-bottom: .7rem; }
.reserve-aside p { color: var(--muted); }
.aside-divider { height: 1px; background: var(--line); margin: 1.6rem 0; }
.aside-list { display: grid; gap: .8rem; }
.aside-list li { display: flex; align-items: center; gap: .6rem; font-size: .94rem; color: var(--ink-soft); }
.aside-list .icon { color: var(--gold-deep); width: 18px; height: 18px; }

/* Contact info cards */
.contact-info .display { margin-bottom: 1.8rem; }
.contact-cards { display: grid; gap: 1rem; }
.contact-cards li { display: flex; align-items: center; gap: 1rem; }
.contact-cards h3 { font-size: 1rem; font-weight: 700; margin-bottom: .15rem; }
.contact-cards a:hover { color: var(--gold-deep); }

.map-section { line-height: 0; }
.map-section iframe { width: 100%; height: 420px; border: 0; border-radius: 0; box-shadow: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .75); padding-top: 3.5rem; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.3fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
}
.footer-brand .brand-name { font-size: 1.3rem; }
.footer-tag { margin-top: 1rem; color: rgba(255, 255, 255, .6); max-width: 28ch; }
.footer-h { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; font-weight: 600; }
.footer-col a, .footer-col p { display: flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .72); margin: 0 0 .7rem; transition: color .15s; }
.footer-col a:hover { color: var(--paper); }
.footer-col .icon { width: 17px; height: 17px; color: var(--gold); }
.footer-times { font-size: .9rem; color: rgba(255, 255, 255, .55) !important; }
.footer-wa:hover { color: var(--gold) !important; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.6rem 0 2.5rem;
    margin-top: .5rem;
    border-top: 1px solid var(--navy-line);
    font-size: .85rem;
    color: rgba(255, 255, 255, .5);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .welcome-grid, .about-grid, .about-find, .reserve-grid, .contact-grid, .room-row, .room-row--reverse .room-row-media {
        grid-template-columns: 1fr;
    }
    .room-row--reverse .room-row-media { order: 0; }
    .section-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
    /* Mobile nav */
    .nav-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 44px; height: 44px;
        cursor: pointer;
        z-index: 60;
    }
    .nav-burger span {
        display: block;
        height: 2px;
        width: 24px;
        background: var(--paper);
        border-radius: 2px;
        transition: transform .25s var(--ease), opacity .2s;
    }
    .site-nav {
        position: fixed;
        inset: 76px 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: .2rem;
        background: var(--navy-800);
        border-bottom: 1px solid var(--navy-line);
        padding: 1rem 6%;
        transform: translateY(-130%);
        transition: transform .3s var(--ease);
        box-shadow: var(--shadow-lg);
    }
    .nav-toggle:checked ~ .site-nav { transform: translateY(0); }
    .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
    .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .nav-link { padding: .85rem .6rem; font-size: 1.05rem; }
    .nav-cta { margin: .6rem 0 0; text-align: center; }

    .field-row, .field-row--three, .feature-list { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
    .cta-actions { width: 100%; }
    body { font-size: 16px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .btn:hover, .room-card:hover, .gallery-tile:hover img, .room-card:hover .room-card-media img, .amen-card:hover { transform: none; }
}

/* ---- Single-apartment additions ---- */

/* helpers */
.light-muted { color: rgba(255, 255, 255, .72); }
.feature-list--compact { margin: 1rem 0 1.4rem; }

/* apartment thumbnail strip */
.apt-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: clamp(1.5rem, 4vw, 2.6rem);
}
.apt-thumbs img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    display: block;
}

/* rate cards (Apartment page) */
.rate-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: clamp(1rem, 2.5vw, 1.6rem);
    max-width: 1120px;
    margin: 0 auto;
}
.rate-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.9rem 2.1rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.rate-card--feature { border-color: var(--gold); box-shadow: var(--shadow-lg); }
.rate-badge {
    position: absolute;
    top: -.75rem;
    left: 1.9rem;
    background: var(--gold);
    color: var(--navy);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .3rem .7rem;
    border-radius: 999px;
}
.rate-card h3 { font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--navy); }
.rate-price { font-family: var(--display); font-weight: 600; font-size: 2.6rem; color: var(--navy); line-height: 1; margin: .6rem 0 .2rem; }
.rate-price small { font-family: var(--body); font-size: .95rem; font-weight: 500; color: var(--muted); }
.rate-summary { font-weight: 600; color: var(--ink); margin-top: .6rem; }
.rate-detail { color: var(--ink-soft); font-size: .96rem; margin: .35rem 0 1.5rem; }
.rate-card .btn { margin-top: auto; }
.rate-foot { margin-top: 2rem; color: var(--muted); }
.rate-foot a { color: var(--gold-deep); font-weight: 600; }

/* home apartment block */
.home-apt {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: stretch;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}
.home-apt-media { min-height: 300px; }
.home-apt-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-apt-body { padding: clamp(1.7rem, 3vw, 2.4rem) clamp(1.6rem, 3vw, 2.6rem); }
.home-apt-body h3 { font-family: var(--display); font-weight: 600; font-size: 1.7rem; color: var(--navy); }
.home-apt-body .room-specs { margin-top: .8rem; }

.home-rates {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin: 1.2rem 0 1.6rem;
}
.home-rate {
    flex: 1 1 120px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: .8rem .9rem;
    background: var(--cream);
}
.home-rate--feature { border-color: var(--gold); background: #fdf6e3; }
.home-rate-label { display: block; font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.home-rate-price { display: block; font-family: var(--display); font-weight: 600; font-size: 1.5rem; color: var(--navy); margin-top: .15rem; }
.home-rate-price small { font-family: var(--body); font-size: .8rem; font-weight: 500; color: var(--muted); }

@media (max-width: 760px) {
    .home-apt { grid-template-columns: 1fr; }
    .apt-thumbs { grid-template-columns: repeat(2, 1fr); }
}

.home-apt-note { color: var(--gold-deep); font-weight: 600; font-size: .92rem; margin-top: .35rem; }

.success-wa-hint { color: var(--ink-soft); font-size: .95rem; margin-top: .4rem; }
.form-success .btn + .btn { margin-left: .6rem; }

/* Home apartment card — stacked variant: full-width landscape photo on top, not cropped */
.home-apt--stacked { display: block; }
.home-apt--stacked .home-apt-media { min-height: 0; }
.home-apt--stacked .home-apt-media img {
    width: 100%;
    height: auto;          /* keep the photo's natural landscape ratio */
    object-fit: contain;   /* show the whole image, no cropping */
    display: block;
}

/* WhatsApp booking button + banner */
.btn-whatsapp { background: #25D366; color: #05391f; border: 1px solid #25D366; }
.btn-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; color: #05391f; }
.btn-whatsapp .icon { color: #05391f; }

.wa-book-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem 2rem;
    flex-wrap: wrap;
    background: #eafaf0;
    border: 1px solid #bfe9cf;
    border-radius: var(--radius);
    padding: clamp(1.2rem, 3vw, 1.8rem) clamp(1.3rem, 3vw, 2rem);
    margin-bottom: clamp(1.6rem, 4vw, 2.4rem);
}
.wa-book-banner h2 { font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--navy); margin: 0; }
.wa-book-banner p { margin: .3rem 0 0; color: var(--ink-soft); }
.wa-book-banner .btn { flex-shrink: 0; }

/* Mobile: lift hero content so the Book buttons are visible without scrolling */
@media (max-width: 600px) {
    .hero { padding-top: 1.4rem; }
    .hero .eyebrow { margin-bottom: .5rem; }
    .hero-title { font-size: 1.85rem; margin-bottom: .7rem; }
    .hero-lead {
        font-size: 1rem;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .btn-row { margin-top: 1.2rem; gap: .6rem; }
    .hero-inner { padding-bottom: clamp(1.4rem, 5vw, 2.4rem); }
    .hero-meta { margin-top: 1.5rem; padding-top: 1.1rem; gap: .9rem 1.4rem; }
}

/* ============================================================
   Comprehensive phone tuning (≤600px) — spacing, headings, tap targets
   ============================================================ */
@media (max-width: 600px) {
    /* tighter vertical rhythm so pages aren't oversized on phones */
    .section { padding: 2.75rem 0; }
    .display { font-size: clamp(1.6rem, 7vw, 2rem); }
    .section-head { margin-bottom: 1.6rem; }
    .lead { font-size: 1.05rem; }

    /* page headers */
    .page-head { padding-top: 2.4rem; }
    .page-head .display { margin-bottom: .2rem; }
    .page-head-lead { font-size: 1.02rem; padding-bottom: 2rem; }

    /* CTA band → full-width stacked actions */
    .cta-inner { padding: 1.4rem; gap: 1.2rem; }
    .cta-actions { width: 100%; min-width: 0; }
    .cta-actions .btn { width: 100%; }

    /* forms: full-width submit, comfortable aside */
    .booking-form button[type="submit"], .contact-form button[type="submit"] { width: 100%; }
    .reserve-aside, .contact-form-col { padding: 1.3rem; }

    /* reservation success panel → stacked full-width buttons */
    .success-channels { flex-direction: column; }
    .success-channels .btn, .form-success .btn { width: 100%; }
    .form-success .btn + .btn { margin-left: 0; margin-top: .6rem; }

    /* WhatsApp banner → heading + full-width button */
    .wa-book-banner { gap: .8rem; text-align: left; }
    .wa-book-banner h2 { font-size: 1.2rem; }
    .wa-book-banner .btn { width: 100%; }

    /* media grids */
    .apt-thumbs { grid-template-columns: 1fr; }
    .amen-grid { gap: 1.2rem 1.4rem; }
    .gallery-grid { gap: .8rem; }
    .home-rates { gap: .6rem; }
    .home-rate { flex: 1 1 46%; }

    /* card typography */
    .room-price-lg { font-size: 1.6rem; }
    .rate-price { font-size: 2.2rem; }
    .amen-strip .amen-item { gap: .8rem; }
}

/* Extra-small phones (≤380px): keep the two hero Book buttons stacked and full-width */
@media (max-width: 380px) {
    .hero .btn-row .btn { width: 100%; }
    .btn { padding: .9rem 1.2rem; }
}

/* Home check-in / check-out band — prominent, directly under the hero */
.checkin-strip {
    background: #fdf6e3;
    border-bottom: 1px solid var(--line);
    color: var(--navy);
    text-align: center;
    padding: .95rem 1rem;
}
.checkin-strip .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .3rem .9rem;
    font-weight: 600;
    font-size: 1.02rem;
}
.checkin-strip .icon { color: var(--gold-deep); vertical-align: -3px; margin-right: .15rem; }
.checkin-strip strong { color: var(--gold-deep); }
.checkin-strip .sep { color: var(--gold-deep); }
@media (max-width: 600px) {
    .checkin-strip { padding: .8rem 1rem; }
    .checkin-strip .container { font-size: .95rem; }
    .checkin-strip .sep { display: none; }   /* stack cleanly on phones */
    .checkin-strip .container > span { flex: 1 1 100%; }
}

/* Guest reviews call-to-action (Google) */
.reviews-cta { text-align: center; }
.reviews-inner { max-width: 640px; margin: 0 auto; }
.reviews-stars {
    display: flex;
    justify-content: center;
    gap: .25rem;
    color: var(--gold);
    margin-bottom: 1rem;
}
.reviews-stars .icon { width: 26px; height: 26px; }
.reviews-cta .eyebrow { justify-content: center; }
.reviews-cta .lead { margin: 0 auto 1.6rem; }
.reviews-cta .btn .icon { width: 18px; height: 18px; }
