/* ==========================================================
   NAGA BUDDHA PALACE — design system & page styles
   Edit the variables below to adjust colours, fonts and radii.
   ========================================================== */
:root {
    --cream: #fbf7f1;
    --sand: #f4ebe0;
    --sand-deep: #ead9c4;
    --white: #ffffff;
    --ink: #2a211b;
    --body: #4a3f36;
    --muted: #6b5d52;
    --line: #e6dacb;
    --accent: #a3471f;        /* terracotta / saffron — AA contrast on white & cream */
    --accent-dark: #823612;
    --accent-soft: #f6e4d8;
    --gold: #c8963e;          /* decorative only, not for text */

    --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
    --font-body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 10px rgba(58, 38, 20, .06);
    --shadow: 0 12px 32px -12px rgba(58, 38, 20, .22);
    --shadow-lg: 0 24px 60px -20px rgba(58, 38, 20, .35);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --nav-h: 76px;
    --section-y: clamp(3.5rem, 7vw, 6.5rem);

    /* Bootstrap overrides */
    --bs-body-font-family: var(--font-body);
    --bs-body-color: var(--body);
    --bs-body-bg: var(--cream);
    --bs-link-color-rgb: 163, 71, 31;
    --bs-link-hover-color-rgb: 130, 54, 18;
    --bs-border-color: var(--line);
    --bs-focus-ring-color: rgba(163, 71, 31, .35);
}

html { scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    font-size: 1.0625rem;
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
body.lightbox-open { overflow: hidden; }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
    font-family: var(--font-display);
    color: var(--ink);
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -.01em;
}
p { margin-bottom: 1rem; }
a { text-underline-offset: .2em; }

/* Visible, consistent keyboard focus */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
.btn:focus-visible, .form-control:focus, .form-select:focus {
    box-shadow: 0 0 0 .25rem rgba(163, 71, 31, .3);
    outline: none;
}
.form-control:focus, .form-select:focus { border-color: var(--accent); }

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    background: var(--ink);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: var(--radius-sm);
    text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }
main:focus { outline: none; }

.icon { width: 1.1em; height: 1.1em; flex-shrink: 0; vertical-align: -.15em; }

/* ---------- Buttons ---------- */
.btn {
    --bs-btn-padding-x: 1.35rem;
    --bs-btn-padding-y: .7rem;
    --bs-btn-font-weight: 600;
    --bs-btn-border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s;
}
.btn-lg { --bs-btn-padding-x: 1.6rem; --bs-btn-padding-y: .85rem; --bs-btn-font-size: 1.02rem; }
.btn-sm { --bs-btn-padding-x: 1.1rem; --bs-btn-padding-y: .45rem; min-height: 40px; }
.btn-accent {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--accent-dark);
    --bs-btn-hover-border-color: var(--accent-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--accent-dark);
    --bs-btn-active-border-color: var(--accent-dark);
    --bs-btn-disabled-bg: var(--accent);
    --bs-btn-disabled-border-color: var(--accent);
    --bs-btn-disabled-color: #fff;
}
.btn-outline-accent {
    --bs-btn-color: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--accent);
    --bs-btn-hover-border-color: var(--accent);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--accent-dark);
    --bs-btn-active-border-color: var(--accent-dark);
}
.btn-light { --bs-btn-color: var(--accent-dark); --bs-btn-hover-color: var(--accent-dark); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    padding: .25rem 0;
}
.link-arrow:hover { color: var(--accent-dark); text-decoration: underline; }
.link-arrow .icon { transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header: top bar + sticky nav ---------- */
.topbar {
    background: var(--ink);
    color: #efe6dc;
    font-size: .875rem;
    padding: .45rem 0;
}
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-list { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; }
.topbar-list a, .topbar-address { display: inline-flex; align-items: center; gap: .45rem; min-height: 32px; }
.topbar .icon { color: var(--gold); }
@media (max-width: 575.98px) {
    .topbar-address { display: none !important; }
    .topbar-list { gap: .1rem 1rem; }
    .topbar-email { font-size: .8125rem; }
}

.main-nav {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(251, 247, 241, .94);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid transparent;
    padding: .7rem 0;
    transition: box-shadow .25s, border-color .25s;
}
.main-nav.is-scrolled { box-shadow: var(--shadow-sm); border-bottom-color: var(--line); }

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    text-decoration: none;
    color: var(--ink);
    margin-right: 1rem;
}
.brand:hover { color: var(--ink); }
.brand-mark {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
}
.brand-icon { width: 26px; height: 26px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; letter-spacing: .01em; }
.brand-sub { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: .2rem; }

.navbar-toggler {
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 12px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
    background: #fff;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.toggler-bar { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease), opacity .2s; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.main-nav .nav-link {
    color: var(--ink);
    font-weight: 500;
    padding: .55rem .9rem !important;
    border-radius: 999px;
    position: relative;
}
.main-nav .nav-link:hover { color: var(--accent); }
.main-nav .nav-link.active { color: var(--accent); font-weight: 600; }
@media (min-width: 992px) {
    .main-nav .nav-link.active::after {
        content: '';
        position: absolute;
        left: .9rem;
        right: .9rem;
        bottom: .2rem;
        height: 2px;
        background: var(--accent);
        border-radius: 2px;
    }
    .nav-cta-item { margin-left: .75rem; }
}
@media (max-width: 991.98px) {
    .navbar-collapse { margin-top: .75rem; padding: .5rem 0 .75rem; border-top: 1px solid var(--line); }
    .main-nav .nav-link { padding: .75rem .25rem !important; border-radius: 0; border-bottom: 1px solid var(--line); }
    .main-nav .nav-link.active { box-shadow: inset 3px 0 0 var(--accent); padding-left: .9rem !important; }
    .nav-cta-item { margin-top: 1rem; }
    .nav-cta { width: 100%; }
    .brand-name { font-size: 1.12rem; }
    .brand-mark { width: 40px; height: 40px; }
}

/* ---------- Generic sections ---------- */
.section { padding: var(--section-y) 0; }
.section-tint { background: var(--sand); }
.section-head { max-width: 640px; margin: 0 auto 2.75rem; }
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: 1rem; }
.section-intro { color: var(--muted); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .85rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.eyebrow-light { color: #f7d9b6; }
.lead-text { font-size: 1.18rem; color: var(--ink); }

.media-frame {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 5 / 4;
    background: var(--sand-deep);
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Pointer tilt (values set by JS only on desktop mouse; see main.js) */
.tilt {
    transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform .35s var(--ease), box-shadow .3s var(--ease);
    will-change: transform;
}

/* ---------- Hero (home only) ---------- */
.hero { position: relative; background: var(--ink); }
.hero-carousel,
.hero-carousel .carousel-inner,
.hero-carousel .carousel-item { height: clamp(520px, calc(100svh - var(--nav-h) - 36px), 820px); }
.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    background:
        linear-gradient(90deg, rgba(24, 16, 10, .82) 0%, rgba(24, 16, 10, .55) 45%, rgba(24, 16, 10, .15) 100%),
        linear-gradient(0deg, rgba(24, 16, 10, .55) 0%, rgba(24, 16, 10, 0) 40%);
    pointer-events: none;
}
.hero-content { max-width: 640px; color: #fff; pointer-events: auto; padding: 2rem 0 4rem; }
.hero-title { color: #fff; font-size: clamp(2.3rem, 6vw, 4.3rem); font-weight: 500; margin-bottom: 1.1rem; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: #f3ebe2; max-width: 34rem; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero .btn-outline-light { --bs-btn-hover-color: var(--ink); }

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    z-index: 3;
    width: 64px;
    opacity: 1;
    top: auto;
    bottom: 1.25rem;
    height: 48px;
}
.hero-carousel .carousel-control-prev { left: auto; right: 5.5rem; }
.hero-carousel .carousel-control-next { right: 1.5rem; }
.carousel-arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .45);
    color: #fff;
    transition: background-color .2s;
}
.carousel-arrow .icon { width: 22px; height: 22px; }
.hero-carousel .carousel-control-prev:hover .carousel-arrow,
.hero-carousel .carousel-control-next:hover .carousel-arrow { background: rgba(255, 255, 255, .3); }
.hero-carousel .carousel-indicators { z-index: 3; justify-content: flex-start; margin: 0; left: 1.5rem; right: auto; bottom: 2.1rem; }
.hero-carousel .carousel-indicators [data-bs-target] {
    width: 34px;
    height: 4px;
    border-radius: 4px;
    border: 0;
    margin: 0 4px;
    background: #fff;
    opacity: .45;
    /* bigger hit area */
    box-sizing: content-box;
    padding: 10px 0;
    background-clip: content-box;
}
.hero-carousel .carousel-indicators .active { opacity: 1; }
.hero-pause {
    position: absolute;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    min-height: 40px;
    padding: .4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .45);
    background: rgba(24, 16, 10, .45);
    color: #fff;
    font-size: .85rem;
}
.hero-pause:hover { background: rgba(24, 16, 10, .7); }
.hero-pause .icon { width: 14px; height: 14px; }
@media (min-width: 1400px) {
    .hero-carousel .carousel-indicators { left: calc((100vw - 1320px) / 2 + 12px); }
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .hero-carousel .carousel-indicators { left: calc((100vw - 1140px) / 2 + 12px); }
}
@media (max-width: 767.98px) {
    .hero-overlay { align-items: flex-end; background: linear-gradient(0deg, rgba(24, 16, 10, .9) 0%, rgba(24, 16, 10, .6) 55%, rgba(24, 16, 10, .25) 100%); }
    .hero-content { padding-bottom: 6.5rem; }
    .hero-actions .btn { width: 100%; }
    .hero-pause-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
    .hero-pause { left: auto; right: 9.5rem; transform: none; width: 44px; height: 44px; padding: 0; justify-content: center; bottom: 1.25rem; }
    .hero-carousel .carousel-indicators { left: 1rem; bottom: 1.9rem; }
    .hero-carousel .carousel-indicators [data-bs-target] { width: 22px; }
    .hero-carousel .carousel-control-prev { right: 4.6rem; }
    .hero-carousel .carousel-control-next { right: 1rem; }
}

/* ---------- Inner page banner ---------- */
.page-banner {
    position: relative;
    padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.75rem);
    color: #fff;
    background: var(--ink);
    isolation: isolate;
    overflow: hidden;
}
.page-banner-img {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
}
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(24, 16, 10, .88) 0%, rgba(24, 16, 10, .7) 50%, rgba(24, 16, 10, .45) 100%);
}
.page-banner-title { color: #fff; font-size: clamp(2.1rem, 5vw, 3.4rem); margin-bottom: .6rem; }
.page-banner-intro { color: #f0e6db; font-size: 1.1rem; max-width: 40rem; margin: 0; }
.banner-breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .6); --bs-breadcrumb-item-active-color: #f7d9b6; font-size: .9rem; margin-bottom: .9rem; }
.banner-breadcrumb a { color: #fff; }

/* ---------- Feature / facility cards ---------- */
.feature-card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.9rem 1.6rem;
    box-shadow: var(--shadow-sm);
}
.feature-card p { margin: 0; color: var(--muted); }
.feature-card-row { display: flex; gap: 1.25rem; align-items: flex-start; }
.feature-icon {
    display: inline-grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--accent-soft);
    color: var(--accent);
    margin-bottom: 1.15rem;
    flex-shrink: 0;
}
.feature-card-row .feature-icon { margin-bottom: 0; }
.feature-icon .icon { width: 26px; height: 26px; }
.feature-title { font-size: 1.3rem; margin-bottom: .5rem; }
@media (hover: hover) {
    .feature-card:hover, .place-card:hover { box-shadow: var(--shadow); border-color: var(--sand-deep); }
}

/* Why stay list */
.why-list { display: grid; gap: 1rem; margin: 0; }
@media (min-width: 768px) { .why-list { grid-template-columns: 1fr 1fr; } }
.why-item {
    display: flex;
    gap: 1rem;
    padding: 1.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
.why-item h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.why-item p { margin: 0; color: var(--muted); font-size: 1rem; }
.why-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    flex-shrink: 0;
}
.why-icon .icon { width: 18px; height: 18px; }

/* Room collage (home) */
.room-collage {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1rem;
    align-items: end;
}
.room-collage img {
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    display: block;
}
.collage-main { aspect-ratio: 4 / 5; }
.collage-side { aspect-ratio: 3 / 4; margin-bottom: 2.5rem; }

/* Rooms page */
.room-facts {
    display: grid;
    gap: 0;
    margin: 1.75rem 0 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    overflow: hidden;
}
.room-facts > div { display: flex; justify-content: space-between; gap: 1rem; padding: .85rem 1.2rem; border-bottom: 1px solid var(--line); }
.room-facts > div:last-child { border-bottom: 0; }
.room-facts dt { font-weight: 500; color: var(--muted); }
.room-facts dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }

.room-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.room-gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 4; background: var(--sand-deep); }
.room-gallery-item.is-large { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.room-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.room-gallery-item.is-large img { object-position: center 60%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .room-gallery-item:hover img { transform: scale(1.04); }
}

.service-row {
    display: grid;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
@media (min-width: 992px) { .service-row { grid-template-columns: 1.1fr 1fr; } }
.service-media { min-height: 260px; background: var(--sand-deep); }
.service-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-body { padding: clamp(1.75rem, 4vw, 3rem); align-self: center; }
.service-title { font-size: 1.8rem; }

/* About */
.check-list { margin: 1.25rem 0 1.5rem; display: grid; gap: .85rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list .icon { color: var(--accent); margin-top: .3rem; width: 20px; height: 20px; }
.check-list strong { color: var(--ink); }
.address-block { display: flex; gap: .75rem; font-style: normal; color: var(--ink); font-weight: 500; margin-bottom: 1.25rem; }
.address-block .icon { color: var(--accent); margin-top: .3rem; width: 20px; height: 20px; }

.place-card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
}
.place-icon { color: var(--accent); display: inline-block; margin-bottom: .75rem; }
.place-icon .icon { width: 28px; height: 28px; }
.place-title { font-size: 1.22rem; margin-bottom: .5rem; }
.place-card p { color: var(--muted); font-size: 1rem; margin: 0; }
.place-card .place-distance { margin-top: .75rem; color: var(--accent); font-weight: 600; font-size: .92rem; }

/* Reviews (only shown when real reviews exist) */
.review-card { margin: 0; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.review-card blockquote { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); margin: 0 0 1rem; }
.review-card figcaption { font-weight: 600; color: var(--ink); }
.review-card figcaption span { font-weight: 400; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { padding: 0 0 var(--section-y); background: linear-gradient(var(--cream) 0 50%, var(--ink) 50% 100%); }
.section-tint + .cta-band { background: linear-gradient(var(--sand) 0 50%, var(--ink) 50% 100%); }
.cta-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: var(--radius-lg);
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(200, 150, 62, .35), transparent 45%),
        linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    box-shadow: var(--shadow-lg);
}
.cta-title { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: .4rem; }
.cta-text { color: #fbeee3; margin: 0; max-width: 36rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 575.98px) { .cta-actions, .cta-actions .btn { width: 100%; } }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--ink);
    color: #d9cec2;
    padding: 0 0 1.5rem;
    font-size: .98rem;
}
.cta-band + .site-footer, .site-footer { padding-top: clamp(1rem, 3vw, 2rem); }
main > .section:last-child + .site-footer { padding-top: 4rem; }
.site-footer a { color: #f3ebe2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #bfae9d; }
.footer-summary { color: #cbbfb2; max-width: 22rem; }
.footer-heading {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #f7d9b6;
    margin-bottom: 1rem;
}
.footer-links li, .footer-contact li { margin-bottom: .2rem; }
.footer-links a, .footer-contact a { display: inline-flex; align-items: center; gap: .55rem; min-height: 36px; }
.footer-contact .icon, .footer-address .icon { color: var(--gold); }
.footer-address { display: flex; gap: .6rem; font-style: normal; margin-bottom: .75rem; }
.footer-address .icon { margin-top: .35rem; }
.footer-map-link { font-weight: 600; text-decoration: underline !important; }
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .75rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .9rem;
    color: #bfb2a5;
}

/* Contact page has no CTA band, so give the footer room */
.map-section + .site-footer { padding-top: 4rem; }

/* ---------- Gallery ---------- */
.gallery-count { color: var(--muted); margin-bottom: 2rem; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 1rem;
    margin: 0;
}
.gallery-link {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--sand-deep);
    box-shadow: var(--shadow-sm);
}
.gallery-link img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.gallery-zoom {
    position: absolute;
    right: .75rem;
    bottom: .75rem;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--accent);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .25s, transform .25s var(--ease);
}
.gallery-link:hover .gallery-zoom, .gallery-link:focus-visible .gallery-zoom { opacity: 1; transform: none; }
@media (hover: none) { .gallery-zoom { opacity: 1; transform: none; } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .gallery-link:hover img { transform: scale(1.05); }
}

.empty-state {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    background: var(--white);
    border: 1px dashed var(--sand-deep);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
}
.empty-state-help { font-size: .95rem; color: var(--muted); margin-bottom: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(18, 12, 8, .94); }
.lightbox-figure {
    position: relative;
    margin: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4.5rem 4.5rem 3.5rem;
    opacity: 0;
    transition: opacity .25s;
}
.lightbox.is-open .lightbox-figure { opacity: 1; }
.lightbox-img { max-width: 100%; max-height: calc(100% - 2.5rem); object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox-caption { color: #efe6dc; margin-top: 1rem; text-align: center; font-size: .95rem; }
.lightbox-btn {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .12);
    color: #fff;
    transition: background-color .2s;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .25); }
.lightbox-btn:focus-visible { outline: 3px solid #f7d9b6; outline-offset: 2px; }
.lightbox-btn .icon { width: 24px; height: 24px; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 575.98px) {
    .lightbox-figure { padding: 4.5rem .75rem 6rem; }
    .lightbox-prev, .lightbox-next { top: auto; bottom: 1.25rem; transform: none; }
    .lightbox-prev { left: calc(50% - 64px); }
    .lightbox-next { right: calc(50% - 64px); }
}
@media (prefers-reduced-motion: reduce) { .lightbox-figure { transition: none; } }

/* ---------- Contact ---------- */
.contact-card, .form-card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-sm);
}
.contact-card { background: var(--sand); }
.contact-label {
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 1.5rem 0 .5rem;
}
.contact-list { margin: 0; }
.contact-list a { display: inline-flex; align-items: center; gap: .6rem; min-height: 40px; font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--accent); text-decoration: underline; }
.contact-list .icon { color: var(--accent); }

.form-note { color: var(--muted); font-size: .95rem; }
.req { color: var(--accent); font-weight: 700; }
.optional { color: var(--muted); font-weight: 400; font-size: .9em; }
.form-label { font-weight: 600; color: var(--ink); margin-bottom: .35rem; }
.form-control, .form-select {
    border-radius: 12px;
    padding: .75rem 1rem;
    min-height: 48px;
    border-color: #d8cab8;
    background-color: #fffdfa;
    font-size: 1rem;
}
.form-control::placeholder { color: #8c7d70; }
.form-status:empty { display: none; }
.form-status { margin-bottom: 1.25rem; }
.form-status:focus { outline: none; box-shadow: 0 0 0 3px rgba(163, 71, 31, .25); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.map-section { padding: 0 0 0; }
.map-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    min-height: 320px;
    max-height: 520px;
    background: var(--sand);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 767.98px) { .map-wrap { aspect-ratio: 4 / 3; } }
.map-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 1.5rem;
    text-align: center;
    background:
        repeating-linear-gradient(0deg, transparent 0 39px, rgba(163, 71, 31, .06) 39px 40px),
        repeating-linear-gradient(90deg, transparent 0 39px, rgba(163, 71, 31, .06) 39px 40px),
        var(--sand);
}
.map-placeholder-inner { max-width: 460px; }
.map-placeholder-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); margin-bottom: .4rem; }

/* ---------- Reveal on scroll ----------
   Content is visible by default. Only when JS has loaded (html.js)
   and the user allows motion do elements start hidden. */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal {
        opacity: 0;
        transform: translateY(18px);
        transition: opacity .7s var(--ease), transform .7s var(--ease);
    }
    .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .tilt { transform: none !important; }
}
