/* ==========================================================================
   Jaithri Grand Convention — styles
   Palette is derived from the logo gold (#F5B91A), paired with deep maroon
   and warm neutrals. Mobile-first; breakpoints at 768px and 1100px.
   ========================================================================== */

:root {
  /* Brand */
  --gold: #f5b91a;            /* logo gold */
  --gold-soft: #f9d778;
  --gold-ink: #7a5200;        /* gold-toned text that passes AA on light backgrounds */
  --maroon: #6d1226;
  --maroon-700: #4a0c1a;
  --maroon-900: #2b0a12;
  /* Neutrals */
  --ivory: #fcf8f0;
  --sand: #f4eada;
  --line: #e4d5bd;
  --ink: #2a1a14;
  --muted: #5f4a3f;
  --white: #fff;
  --whatsapp: #25d366;
  --whatsapp-ink: #05301a;
  --error: #a3151b;

  /* Type */
  --font-serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Mulish", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --fs-sm: clamp(0.84rem, 0.81rem + 0.15vw, 0.92rem);
  --fs-base: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lg: clamp(1.1rem, 1.02rem + 0.4vw, 1.3rem);
  --fs-h3: clamp(1.3rem, 1.18rem + 0.6vw, 1.6rem);
  --fs-h2: clamp(1.85rem, 1.45rem + 2vw, 3rem);
  --fs-h1: clamp(2.2rem, min(1.5rem + 3.6vw, 6.8svh), 4.2rem); /* also capped by viewport height so the hero fits one screen */

  /* Space & shape */
  --gutter: clamp(1.1rem, 0.6rem + 2.4vw, 2.5rem);
  --section: clamp(3.75rem, 2.5rem + 6vw, 7.5rem);
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -12px rgba(43, 10, 18, 0.25);
  --header-h: 76px;
  --bar-h: 62px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; text-wrap: balance; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: var(--maroon); text-underline-offset: 3px; }
a:hover { color: var(--maroon-700); }
address { font-style: normal; }
small { font-size: var(--fs-sm); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.section :focus-visible, .enquiry :focus-visible { outline-color: var(--maroon); }

.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.center { text-align: center; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--gold); color: var(--maroon-900); padding: 0.75rem 1rem; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Placeholder marker — content the client must supply */
.ph { background: rgba(245, 185, 26, 0.22); border-bottom: 1px dashed var(--gold-ink); padding: 0 0.2em; border-radius: 3px; font-style: normal; }
.events .ph, .site-footer .ph, .facts .ph { background: rgba(245, 185, 26, 0.18); border-color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 48px; padding: 0.7em 1.35em;
  border: 2px solid transparent; border-radius: 999px;
  font: 700 var(--fs-base)/1.2 var(--font-sans); letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding-inline: 1.6em; }
.btn-block { width: 100%; }
.btn-whatsapp { background: var(--whatsapp); color: var(--whatsapp-ink); }
.btn-whatsapp:hover { background: #3fe07a; color: var(--whatsapp-ink); }
.btn-gold { background: var(--gold); color: var(--maroon-900); }
.btn-gold:hover { background: var(--gold-soft); color: var(--maroon-900); }
.btn-maroon { background: var(--maroon); color: var(--white); }
.btn-maroon:hover { background: var(--maroon-700); color: var(--white); }
.btn-outline { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-outline:hover { background: var(--maroon); color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 700; min-height: 44px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--maroon-900); color: var(--white);
  border-bottom: 1px solid rgba(245, 185, 26, 0.35);
  transition: box-shadow 0.25s ease;
}
.header-inner { display: flex; align-items: center; gap: 0.75rem; height: var(--header-h); transition: height 0.25s ease; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 58px; width: auto; transition: height 0.25s ease; }
.is-scrolled { box-shadow: 0 6px 24px -8px rgba(0, 0, 0, 0.55); }
.is-scrolled .header-inner { height: 62px; }
.is-scrolled .brand img { height: 46px; }

.header-phone {
  display: inline-flex; align-items: center; gap: 0.45em; min-height: 44px; padding: 0 0.6em;
  color: var(--gold); font-weight: 700; text-decoration: none; white-space: nowrap; font-size: var(--fs-sm);
}
.header-phone:hover { color: var(--gold-soft); }

.nav-toggle {
  position: relative; z-index: 120; width: 48px; height: 48px; flex: none;
  background: transparent; border: 1px solid rgba(245, 185, 26, 0.5); border-radius: 50%; cursor: pointer; color: var(--gold);
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px;
  background: currentColor; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Mobile: full-screen overlay menu */
.primary-nav {
  position: fixed; inset: 0; z-index: 110;
  display: flex; flex-direction: column; justify-content: center; gap: 2rem;
  padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
  background: radial-gradient(120% 80% at 50% 0%, var(--maroon-700), var(--maroon-900) 70%);
  overflow-y: auto;
  visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}
.nav-open .primary-nav { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.primary-nav ul { display: grid; gap: 0.25rem; text-align: center; }
.primary-nav ul a {
  display: block; padding: 0.55rem 1rem; min-height: 48px;
  font: 600 clamp(1.6rem, 6vw, 2.1rem)/1.3 var(--font-serif); color: var(--white); text-decoration: none;
}
.primary-nav ul a:hover, .primary-nav ul a[aria-current="true"] { color: var(--gold); }
.nav-extra { display: grid; justify-items: center; gap: 0.75rem; }
.nav-phone-alt { color: var(--gold); font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
body.nav-open { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; align-items: end; min-height: min(86svh, 780px); color: var(--white); background: var(--maroon-900); isolation: isolate; }
.hero-media, .hero-media picture, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; object-position: 50% 40%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(43, 10, 18, 0.1) 0%, rgba(43, 10, 18, 0.2) 16%, rgba(43, 10, 18, 0.8) 36%, rgba(43, 10, 18, 0.95) 100%);
}
.hero-frame { position: absolute; inset: 10px; z-index: 2; border: 1px solid rgba(245, 185, 26, 0.55); border-radius: 160px 160px 6px 6px; pointer-events: none; }
.hero-content { position: relative; z-index: 3; padding-block: 5rem clamp(2.25rem, 6vw, 4.5rem); }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5em; margin-bottom: 1rem; color: var(--gold); font-weight: 700; font-size: var(--fs-sm); letter-spacing: 0.12em; text-transform: uppercase; }
.hero h1 { font-size: var(--fs-h1); max-width: 17ch; margin-bottom: 0.4em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--gold-soft); }
.hero-lead { max-width: 46ch; font-size: var(--fs-lg); margin-bottom: 1.6rem; color: #fbeeda; }
.hero-cta { display: grid; gap: 0.75rem; }

/* ---------- Facts strip ---------- */
.facts { background: var(--maroon-900); color: var(--white); border-top: 1px solid rgba(245, 185, 26, 0.35); }
.facts-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1rem; padding-block: 1.5rem; }
.facts-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.facts-list .icon { width: 1.7rem; height: 1.7rem; color: var(--gold); margin-top: 0.15rem; }
.facts-list strong { display: block; font: 600 var(--fs-lg)/1.2 var(--font-serif); }
.facts-list small { display: block; color: #e9d8c6; line-height: 1.4; margin-top: 0.2rem; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 3rem); }
.section-head p:last-child { color: var(--muted); margin-bottom: 0; }
.kicker { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; color: var(--gold-ink); font-weight: 700; font-size: var(--fs-sm); letter-spacing: 0.16em; text-transform: uppercase; }
.kicker::before { content: ""; width: 2.25rem; height: 2px; background: var(--gold); }

/* About */
.about-grid { display: grid; gap: 2.5rem; }
.about-text p { color: var(--muted); }
.about-media { position: relative; padding: 0 0 3.5rem 0; }
.about-img img { width: 100%; object-fit: cover; }
.about-img-main img { aspect-ratio: 4 / 3; border-radius: 120px 120px var(--radius) var(--radius); box-shadow: var(--shadow); }
.about-img-inset { position: absolute; right: -4px; bottom: 0; width: 46%; }
.about-img-inset img { aspect-ratio: 3 / 2; border-radius: var(--radius); border: 5px solid var(--ivory); box-shadow: var(--shadow); }

/* Spaces */
.spaces { background: var(--sand); }
.card-grid { display: grid; gap: 1.25rem; }
.space-card { background: var(--ivory); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.space-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.space-body { padding: 1.4rem 1.4rem 1.6rem; border-top: 3px solid var(--gold); flex: 1; }
.space-body > p { color: var(--muted); }
.space-body dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 0 0 1rem; padding: 0.9rem 0; border-block: 1px solid var(--line); }
.space-body dt { font-size: var(--fs-sm); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.space-body dd { margin: 0.15rem 0 0; font: 600 var(--fs-h3)/1.2 var(--font-serif); color: var(--maroon); }
.best-for { margin: 0; font-size: var(--fs-sm); }

/* Events (dark) */
.events { background: radial-gradient(110% 90% at 85% 0%, var(--maroon), var(--maroon-900) 70%); color: var(--white); }
.events .kicker { color: var(--gold); }
.events .section-head p:last-child { color: #ecdccd; }
.icon-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
.icon-grid li { padding: 1.25rem 1.1rem; border-radius: var(--radius); }
.icon-grid .icon { width: 2.4rem; height: 2.4rem; stroke-width: 1.3; margin-bottom: 0.9rem; }
.icon-grid h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.5rem); margin-bottom: 0.3em; }
.icon-grid p { margin: 0; font-size: var(--fs-sm); line-height: 1.5; }
.events-grid li { border: 1px solid rgba(245, 185, 26, 0.35); background: rgba(255, 255, 255, 0.04); }
.events-grid .icon { color: var(--gold); }
.events-grid p { color: #ecdccd; }
.events-grid li:last-child { grid-column: 1 / -1; }

/* Amenities */
.amenities-grid li { background: var(--white); border: 1px solid var(--line); }
.amenities-grid .icon { color: var(--maroon); }
.amenities-grid p { color: var(--muted); }
.amenities-grid li:last-child { grid-column: 1 / -1; }

/* Gallery */
.gallery { background: var(--sand); }
.filters { display: flex; gap: 0.5rem; margin: 0 calc(-1 * var(--gutter)) 1.5rem; padding: 4px var(--gutter); overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: none; min-height: 44px; padding: 0 1.15rem; border-radius: 999px;
  border: 1.5px solid var(--maroon); background: transparent; color: var(--maroon);
  font: 700 var(--fs-sm)/1 var(--font-sans); cursor: pointer; transition: background-color 0.15s, color 0.15s;
}
.filter.is-active { background: var(--maroon); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.g-item[hidden] { display: none; }
.g-link { display: block; position: relative; border-radius: var(--radius-sm); overflow: hidden; background: var(--line); }
.g-link img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.g-link:hover img, .g-link:focus-visible img { transform: scale(1.04); }
.g-link:focus-visible { outline-offset: 2px; }

/* Testimonials */
.testimonial { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; }
.stars { display: flex; gap: 2px; color: var(--gold); margin-bottom: 0.9rem; }
.stars .icon { fill: currentColor; stroke: none; width: 1.15rem; height: 1.15rem; }
.testimonial blockquote { margin: 0 0 1rem; flex: 1; font: 500 italic var(--fs-lg)/1.5 var(--font-serif); }
.testimonial .who { margin: 0; font-weight: 700; font-size: var(--fs-sm); color: var(--muted); }
.testimonials .center { margin: 2rem 0 0; }

/* FAQ */
.faq { background: var(--sand); }
.faq-list details { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 0.6rem; }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: 0.9rem 1.15rem; cursor: pointer; list-style: none;
  font: 600 clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem)/1.25 var(--font-serif);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 1.8rem; height: 1.8rem; display: grid; place-items: center; border-radius: 50%; background: var(--maroon); color: var(--white); font: 400 1.25rem/1 var(--font-sans); transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details > p { margin: 0; padding: 0 1.15rem 1.15rem; color: var(--muted); }

/* Contact */
.contact-grid { display: grid; gap: 2rem; }
.enquiry { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--gold); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.25rem); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h) + 16px); }
.field { margin-bottom: 1rem; min-width: 0; }
.field-row { display: grid; gap: 0 1rem; }
label { display: block; margin-bottom: 0.35rem; font-weight: 700; font-size: var(--fs-sm); }
input, select, textarea {
  width: 100%; min-height: 50px; padding: 0.7rem 0.9rem;
  font: 400 1rem/1.4 var(--font-sans); color: var(--ink);
  background: var(--ivory); border: 1.5px solid #b7a48a; border-radius: var(--radius-sm);
  appearance: none; -webkit-appearance: none;
}
select { background-image: linear-gradient(45deg, transparent 50%, var(--maroon) 50%), linear-gradient(135deg, var(--maroon) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.5rem; }
textarea { resize: vertical; min-height: 110px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(109, 18, 38, 0.35); outline-offset: 0; border-color: var(--maroon); }
[aria-invalid="true"] { border-color: var(--error); background: #fff6f5; }
.error { min-height: 0; margin: 0.3rem 0 0; color: var(--error); font-size: var(--fs-sm); font-weight: 600; }
.error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; }
.form-status:empty { display: none; }
.form-status .notice { padding: 1rem 1.1rem; border-radius: var(--radius-sm); background: #eef8f0; border: 1px solid #9fd3ad; }
.form-status .notice.warn { background: #fff7e3; border-color: var(--gold); }
.form-status .notice p { margin-bottom: 0.75rem; }
.form-status .notice :last-child { margin-bottom: 0; }

.info-row { display: flex; gap: 0.85rem; align-items: flex-start; }
.info-row .icon { width: 1.5rem; height: 1.5rem; color: var(--maroon); margin-top: 0.2rem; }
.info-row a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; overflow-wrap: anywhere; }
.info-row small { color: var(--muted); }
.contact-actions { display: grid; gap: 0.75rem; margin: 1.25rem 0 1.5rem; }
.map { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--sand); aspect-ratio: 4 / 3; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map-guard { position: absolute; inset: 0; width: 100%; display: flex; align-items: flex-end; justify-content: center; padding: 0.9rem; border: 0; background: transparent; cursor: pointer; font: 700 var(--fs-sm)/1 var(--font-sans); color: var(--white); }
.map-guard::after { content: ""; position: absolute; inset: auto 0 0 0; height: 4rem; background: linear-gradient(transparent, rgba(43, 10, 18, 0.75)); z-index: -1; }
.map-guard { z-index: 1; isolation: isolate; }
.map.is-active .map-guard { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-900); color: #ecdccd; padding-top: clamp(2.5rem, 6vw, 4.5rem); font-size: var(--fs-sm); }
.site-footer a { color: var(--white); display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 1rem; }
.footer-title { font: 700 var(--fs-sm)/1.2 var(--font-sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.75rem; }
.footer-title:not(:first-child) { margin-top: 1.5rem; }
.social { display: flex; gap: 0.6rem; }
.social a { width: 46px; height: 46px; justify-content: center; border: 1px solid rgba(245, 185, 26, 0.5); border-radius: 50%; color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-top: 2.5rem; padding-block: 1rem; border-top: 1px solid rgba(245, 185, 26, 0.25); }
.footer-bottom p { margin: 0; }

/* ---------- Sticky mobile action bar ---------- */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--maroon-900); border-top: 1px solid rgba(245, 185, 26, 0.5);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -8px 24px -10px rgba(0, 0, 0, 0.5);
}
.action-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: var(--bar-h); color: var(--white); text-decoration: none; font-weight: 700; font-size: 0.8rem; }
.action-bar .icon { width: 1.4rem; height: 1.4rem; }
.action-bar .ab-whatsapp { background: var(--whatsapp); color: var(--whatsapp-ink); }
.action-bar .ab-enquire { background: var(--gold); color: var(--maroon-900); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(20, 5, 9, 0.96); touch-action: pan-y; }
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; max-width: 100vw; display: grid; justify-items: center; gap: 0.75rem; padding: 3.75rem 0 4.5rem; }
.lb-figure img { max-width: 100vw; max-height: calc(100svh - 10rem); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; }
.lb-figure figcaption { padding-inline: 1rem; color: #f3e6d6; font-size: var(--fs-sm); text-align: center; max-width: 60ch; }
.lb-count { color: var(--gold); font-weight: 700; white-space: nowrap; }
.lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(245, 185, 26, 0.6); background: rgba(43, 10, 18, 0.8); color: var(--gold); cursor: pointer; }
.lb-btn:hover { background: var(--gold); color: var(--maroon-900); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; bottom: 12px; }
.lb-next { right: 12px; bottom: 12px; }
body.lb-open { overflow: hidden; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ==========================================================================
   ≥ 480px
   ========================================================================== */
@media (min-width: 480px) {
  .hero-cta { display: flex; flex-wrap: wrap; }
  .contact-actions { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* ==========================================================================
   ≥ 768px — tablet
   ========================================================================== */
@media (min-width: 768px) {
  :root { --header-h: 88px; }
  body { padding-bottom: 0; }
  .action-bar { display: none; }
  .brand img { height: 68px; }
  .is-scrolled .header-inner { height: 68px; }
  .is-scrolled .brand img { height: 52px; }
  .header-phone { font-size: var(--fs-base); }

  /* Hero + facts strip together fill the first screen on tablets/desktops */
  .hero { min-height: calc(100svh - var(--header-h)); }
  .hero h1 { max-width: 20ch; }
  .hero-media img { object-position: 50% 35%; }
  .hero::after { background: linear-gradient(90deg, rgba(43, 10, 18, 0.88) 0%, rgba(43, 10, 18, 0.55) 45%, rgba(43, 10, 18, 0.1) 100%), linear-gradient(180deg, transparent 55%, rgba(43, 10, 18, 0.7) 100%); }
  .hero-frame { inset: 18px; border-radius: 6px 240px 6px 6px; }
  .hero-content { padding-block: 3rem 10rem; }
  /* Facts strip overlaps the bottom of the hero so both sit on the first screen */
  .facts { position: relative; z-index: 4; margin-top: -8.5rem; background: rgba(43, 10, 18, 0.78); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid rgba(245, 185, 26, 0.45); }

  .facts-list { grid-template-columns: repeat(4, 1fr); padding-block: 1.25rem; gap: 1rem 0.75rem; }
  .facts-list small { font-size: 0.8rem; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-grid { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
  .icon-grid li { padding: 1.6rem 1.4rem; }
  .events-grid { grid-template-columns: repeat(4, 1fr); }
  .events-grid li:last-child, .amenities-grid li:last-child { grid-column: auto; }
  .filters { margin-inline: 0; padding-inline: 4px; flex-wrap: wrap; overflow: visible; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .lb-prev { left: 20px; bottom: auto; top: 50%; margin-top: -24px; }
  .lb-next { right: 20px; bottom: auto; top: 50%; margin-top: -24px; }
  .lb-figure { padding: 3.5rem 5.5rem 1.5rem; }
  .lb-figure img { max-width: calc(100vw - 11rem); max-height: calc(100svh - 8rem); }
}

/* ==========================================================================
   ≥ 1100px — desktop: inline nav
   ========================================================================== */
@media (min-width: 1100px) {
  .nav-toggle, .nav-extra { display: none; }
  .brand { margin-right: 0; }
  .primary-nav {
    position: static; visibility: visible; opacity: 1; transform: none; transition: none;
    flex-direction: row; justify-content: flex-end; padding: 0; background: none; overflow: visible; margin-left: auto;
  }
  .primary-nav ul { display: flex; gap: 0.15rem; }
  .primary-nav ul a { font: 600 0.95rem/1 var(--font-sans); letter-spacing: 0.03em; padding: 0 0.8rem; min-height: 44px; display: inline-flex; align-items: center; position: relative; }
  .primary-nav ul a::after { content: ""; position: absolute; left: 0.8rem; right: 0.8rem; bottom: 6px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.2s ease; }
  .primary-nav ul a:hover::after, .primary-nav ul a[aria-current="true"]::after { transform: scaleX(1); }
  .header-phone { border: 1.5px solid var(--gold); border-radius: 999px; padding: 0 1.1em; margin-left: 0.5rem; }
  .header-phone:hover { background: var(--gold); color: var(--maroon-900); }

  .about-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4.5rem; align-items: center; }
  .about-img-inset { right: -1.5rem; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .faq-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 4rem; align-items: start; }
  .faq-wrap .section-head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .contact-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: start; }
}
