/* =========================================================
   Kodali Homestays — stylesheet
   Palette: riverside devotional (maroon · antique gold · saffron · ivory)
   Shared token family with the Bhadrachalam site group; signature
   here is a homestead-on-the-Godavari mark rather than a temple crest.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --bg:        #F6F9F1;
  --bg-2:      #E9F1DF;
  --surface:   #FFFFFF;
  --ink:       #26341F;
  --ink-soft:  #56614C;
  --ink-faint: #8B9480;
  --saffron:   #7FAE7A;
  --saffron-ink:#5E8A5A;
  --gold:      #D4A055;
  --gold-soft: #E3BE85;
  --maroon:    #5DA35F;
  --maroon-deep:#457A48;
  --maroon-ink: #24371F;
  --river:     #7FAE7A;
  --river-deep:#24371F;
  --river-soft:#EEF4E6;
  --marigold:  #C46A4A;
  --marigold-deep:#A85639;
  --coral:     #C46A4A;
  --green:     #5DA35F;
  --line:      #BDDA9F;

  --dark:      #1D2B18;
  --dark-2:    #131F10;
  --on-dark:   #F2F1ED;
  --on-dark-soft:#C9CDD1;

  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --te-sans:      'Noto Sans Telugu', system-ui, sans-serif;
  --te-serif:     'Noto Serif Telugu', 'Noto Sans Telugu', serif;

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 3px rgba(60,20,15,.08), 0 1px 2px rgba(60,20,15,.05);
  --shadow-md: 0 8px 26px -8px rgba(30,60,50,.20), 0 2px 6px rgba(30,60,50,.08);
  --shadow-lg: 0 22px 56px -16px rgba(30,60,50,.30);

  --container: 1180px;
  --header-h: 74px;

  --z-nav: 50;
  --z-totop: 40;
  --z-skip: 200;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1rem + 0.1vw, 17px);
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; padding: 0; }
::selection { background: var(--gold-soft); color: var(--maroon-ink); }

/* ---------- Bilingual visibility & fonts ---------- */
[data-lang="en"] .t-te { display: none; }
[data-lang="te"] .t-en { display: none; }

:lang(te) { font-family: var(--te-sans); line-height: 1.85; }
h1 :lang(te), h2 :lang(te), h3 :lang(te), h4 :lang(te),
.hero-title :lang(te), .about-card-quote :lang(te), .footer-mantra {
  font-family: var(--te-serif);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; font-optical-sizing: auto; line-height: 1.12; color: var(--ink); letter-spacing: .2px; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.6rem); }

.lead { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.22rem); color: var(--ink-soft); }

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--saffron-ink);
  margin-bottom: .6rem;
}
.eyebrow-light { color: var(--gold-soft); }
.hero .eyebrow-light { color: var(--saffron-ink); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.section { padding-block: clamp(64px, 8vw, 116px); position: relative; }
.section-alt { background: var(--bg-2); }
.section-dark { background: var(--dark); color: var(--on-dark); }

.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head .section-sub { margin-top: 1rem; color: var(--ink-soft); font-size: 1.05rem; }
.section-head-light h2 { color: var(--on-dark); }
.section-head-light .section-sub { color: var(--on-dark-soft); }
.divider { display: inline-flex; margin-top: 1.1rem; color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 700; font-size: .98rem; line-height: 1;
  padding: .85rem 1.5rem; border-radius: var(--r-pill);
  border: 1.5px solid transparent; cursor: pointer;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease,
              box-shadow .22s ease, transform .22s ease;
  will-change: transform;
}
.btn:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-sm { padding: .6rem 1.05rem; font-size: .9rem; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.04rem; }

.btn-primary { background: var(--maroon); color: #FFF6EC; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--maroon-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; color: var(--maroon); border-color: var(--gold); }
.btn-outline:hover { background: var(--maroon); color: #FFF6EC; border-color: var(--maroon); transform: translateY(-2px); }

.btn-ghost { background: rgba(59,42,28,.05); color: var(--maroon-ink); border-color: var(--maroon); }

.btn-gold {
  background: var(--gold); color: #2A1F0C; box-shadow: var(--shadow-sm);
  text-transform: uppercase; letter-spacing: .06em; font-size: .8rem;
}
.btn-gold:hover { background: var(--gold-soft); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost:hover { background: var(--maroon); color: #FFF6EC; border-color: var(--maroon); transform: translateY(-2px); }

/* ---------- Skip link ---------- */
.skip-link {
  position: fixed; top: -100px; left: 16px; z-index: var(--z-skip);
  background: var(--maroon); color: #fff; padding: .7rem 1.1rem; border-radius: var(--r-sm);
  transition: top .2s ease;
}
.skip-link:focus { top: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(15,36,31,.55), rgba(15,36,31,0));
  transition: background-color .3s ease, box-shadow .3s ease;
  color: #FFF6EC;
}
.site-header.scrolled,
.site-header.nav-open {
  background: var(--bg);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; }

.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand-mark { display: inline-flex; filter: drop-shadow(0 2px 4px rgba(0,0,0,.18)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.32rem; letter-spacing: .3px; }
.brand-sub { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .85; font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: clamp(.6rem, 1.6vw, 1.8rem); }
.nav-links a, .nav-dropdown-toggle {
  position: relative; font-weight: 600; font-size: .82rem; padding: .4rem .2rem;
  text-transform: uppercase; letter-spacing: .08em;
  transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: .2rem; right: .2rem; bottom: -2px; height: 2px;
  background: var(--gold); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a:hover { color: var(--saffron); }
.site-header:not(.scrolled):not(.nav-open) .nav-links a:hover { color: #fff; }

/* ---------- "More" dropdown ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle {
  display: inline-flex; align-items: center; gap: .3rem; background: none; color: inherit;
  font-family: inherit; cursor: pointer;
}
.nav-dropdown-toggle svg { transition: transform .2s ease; }
.nav-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + .8rem); left: 50%; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: .6rem; min-width: 200px; display: flex; flex-direction: column; gap: .1rem;
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 20;
}
.nav-dropdown.open .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-menu a, .nav-dropdown-menu .lang-toggle {
  color: var(--ink); text-transform: none; letter-spacing: normal; font-weight: 600; font-size: .92rem;
  padding: .55rem .7rem; border-radius: var(--r-sm); display: flex; align-items: center; gap: .5rem; text-align: left;
  width: 100%; background: none;
}
.nav-dropdown-menu a:hover, .nav-dropdown-menu .lang-toggle:hover { background: var(--bg-2); color: var(--saffron-ink); }
.nav-dropdown-menu a::after { display: none; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.nav-auth-link { font-weight: 700; font-size: .92rem; padding: .4rem .3rem; }
.nav-auth-link:hover { color: var(--saffron); }
@media (max-width: 620px) { .nav-auth-link { display: none; } }
.nav-profile-link { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: inherit; border: 1px solid currentColor; opacity: .88; }
.nav-profile-link:hover { color: var(--saffron); border-color: var(--saffron); opacity: 1; }
.nav-actions .notif-bell { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; color: inherit; opacity: .88; }
.nav-actions .notif-bell:hover { color: var(--saffron); opacity: 1; }
.nav-actions .notif-badge {
  position: absolute; top: 0; right: 0; min-width: 15px; height: 15px; padding: 0 3px;
  display: flex; align-items: center; justify-content: center;
  background: var(--maroon, #7C2B22); color: #fff; font-size: .6rem; font-weight: 700;
  border-radius: 999px; border: 2px solid var(--bg, #fff); line-height: 1;
}
.lang-toggle {
  display: inline-flex; align-items: center; gap: .4rem;
  font-weight: 700; font-size: .9rem; padding: .5rem .7rem; border-radius: var(--r-pill);
  border: 1.5px solid currentColor; opacity: .92; transition: background-color .2s, color .2s, opacity .2s;
  min-height: 40px;
}
.lang-toggle:hover { opacity: 1; background: rgba(200,155,60,.16); }
.lang-toggle:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-toggle-bar { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .28s ease, opacity .2s ease; }
.nav-open .nav-toggle .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(2rem, 5vw, 3.5rem)); padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: linear-gradient(160deg, #FBFCF8 0%, #E6F0DC 100%);
}
.hero::before {
  content: ""; position: absolute; top: -25%; right: -15%; width: 55%; height: 70%;
  background: radial-gradient(circle, rgba(124,148,115,.16), transparent 70%);
  filter: blur(40px); pointer-events: none;
}
.hero.has-bg-image { background-size: cover; background-position: center; }
.hero.has-bg-image .hero-content { color: var(--on-dark); }
.hero.has-bg-image .hero-title { color: var(--on-dark); }
.hero.has-bg-image .hero-lead { color: var(--on-dark-soft); }
.hero.has-bg-image .hero-stat b { color: var(--on-dark); }
.hero.has-bg-image::before { display: none; }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.hero-content { color: var(--ink); }
.hero-title {
  color: var(--maroon-ink); font-weight: 600; font-optical-sizing: auto;
  font-size: clamp(.69rem, .45rem + 1.08vw, 1.2rem); line-height: 1.1;
  margin-bottom: 1.1rem;
}
.hero-lead { color: var(--ink-soft); max-width: 38em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.9rem; }
.hero-trust { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.6rem; font-weight: 600; color: var(--saffron-ink); font-size: .95rem; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; margin-top: 2.4rem; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat b { font-family: var(--font-display); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--maroon-ink); line-height: 1; }
.hero-stat span { margin-top: .3rem; font-size: .82rem; color: var(--ink-faint); font-weight: 600; letter-spacing: .02em; }

/* Photo collage — deliberately not a single full-bleed hero photo */
.hero-collage {
  position: relative; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr;
  gap: .8rem; height: clamp(320px, 34vw, 440px);
}
.hero-collage a, .hero-collage .collage-cell { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); display: block; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .35s ease; }
.hero-collage a:hover img { transform: scale(1.05); }
.hero-collage .cell-big { grid-row: 1 / 3; }

/* Single-photo variant — one framed image instead of the 3-cell collage. */
.hero-collage-single { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.hero-collage-single .cell-big { grid-row: auto; }

/* Live photos (Firestore) replace the bundled seed photos above once they
   load — hide the seed photo until then so visitors never see the old
   picture flash before the current one swaps in. JS adds .is-ready as soon
   as the live-content fetch settles (success or failure); the <noscript>
   fallback below guarantees the seed photo still shows with JS disabled. */
.awaiting-live-photo { opacity: 0; }
.awaiting-live-photo.is-ready { opacity: 1; }
#roomsGrid.awaiting-live-photo { opacity: 0; transition: opacity .35s ease; }
#roomsGrid.awaiting-live-photo.is-ready { opacity: 1; }
.collage-tag {
  position: absolute; left: .7rem; bottom: .7rem; z-index: 2;
  background: rgba(20,12,10,.62); backdrop-filter: blur(2px); color: #fff;
  font-size: .74rem; font-weight: 700; padding: .3rem .65rem; border-radius: var(--r-pill);
}

.scroll-cue {
  position: relative; z-index: 2; margin-top: clamp(2rem, 4vw, 3rem);
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--ink-faint); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700;
}
.scroll-cue svg { animation: cueBounce 1.8s ease-in-out infinite; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-collage { height: clamp(260px, 70vw, 360px); order: -1; }
}

@keyframes cueBounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Offer banner ---------- */
.offer-banner {
  position: sticky; top: var(--header-h); z-index: 49;
  background: linear-gradient(90deg, var(--marigold), var(--marigold-deep));
  display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.6rem;
  padding: .55rem 1rem;
}
.offer-chip { display: inline-flex; align-items: center; gap: .45rem; color: #3C2408; font-size: .88rem; font-weight: 600; }
.offer-chip svg { flex: none; }
.offer-chip b { font-weight: 800; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--river-deep); color: #FFF6EC; }
.trust-strip-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(1.2rem, 3vw, 2.6rem); padding-block: 1rem;
}
.trust-item { display: inline-flex; align-items: center; gap: .55rem; font-size: .88rem; font-weight: 600; color: rgba(255,246,236,.94); }
.trust-item svg { flex: none; color: var(--gold-soft); }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--d, 0s);
}
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.about-text p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.about-text em { color: var(--saffron-ink); font-style: italic; }
.about-points { margin-top: 1.4rem; display: grid; gap: .7rem; }
.about-points li { display: flex; align-items: center; gap: .65rem; font-weight: 600; color: var(--ink); }
.about-points svg { color: var(--green); flex: none; }

.about-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem; box-shadow: var(--shadow-md);
}
.about-card-art { border-radius: var(--r); overflow: hidden; aspect-ratio: 5/4; margin-bottom: 1.2rem; }
.about-card-art img { width: 100%; height: 100%; object-fit: cover; }
.about-card-quote { font-family: var(--font-display); font-size: 1.35rem; font-style: italic; color: var(--maroon); line-height: 1.3; }
.about-card-note { margin-top: .7rem; color: var(--ink-soft); font-size: .96rem; }

.stats {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm);
}
.stat { text-align: center; padding: .4rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 15%; height: 70%; width: 1px; background: var(--line); }
.stat-num, .stat-num-static { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); color: var(--saffron); line-height: 1; }
.stat-label { display: block; margin-top: .45rem; font-size: .86rem; color: var(--ink-soft); font-weight: 600; }

/* ---------- Rooms ---------- */
.room-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(248px, 1fr)); gap: clamp(1.2rem, 2.4vw, 1.8rem); }
.room-card {
  position: relative; 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 .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.room-card:focus-within { box-shadow: var(--shadow-lg); border-color: var(--gold-soft); }
.room-featured { border-color: var(--gold); box-shadow: var(--shadow-md); }
.room-card-link { display: flex; flex-direction: column; flex: 1; color: inherit; text-decoration: none; cursor: pointer; }
.room-card-link:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.room-art { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.room-art svg, .room-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.room-card:hover .room-art img { transform: scale(1.05); }
.room-badge { position: absolute; top: .7rem; right: .7rem; background: rgba(20,40,34,.78); color: #FFF6EC; font-size: .72rem; font-weight: 700; letter-spacing: .06em; padding: .25rem .6rem; border-radius: var(--r-pill); }
.room-flag { position: absolute; top: .9rem; left: -.2rem; z-index: 2; background: var(--saffron); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; padding: .3rem .7rem; border-radius: 0 var(--r-pill) var(--r-pill) 0; box-shadow: var(--shadow-sm); }
.room-body { display: flex; flex-direction: column; gap: .55rem; padding: 1.2rem 1.25rem 1.35rem; flex: 1; }
.room-body h3 { color: var(--maroon); }
.room-desc { color: var(--ink-soft); font-size: .95rem; }
.room-feats { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: .1rem; }
.room-feats li { position: relative; font-size: .85rem; font-weight: 600; color: var(--ink-soft); padding-left: .9rem; }
.room-feats li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.room-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem; margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line); }
.room-meta { display: flex; flex-direction: column; gap: .2rem; }
.room-price { display: flex; align-items: baseline; gap: .3rem; }
.price-num { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--maroon); }
.price-unit { font-size: .8rem; color: var(--ink-faint); font-weight: 600; }
.room-size { display: flex; align-items: baseline; gap: .25rem; }
.size-num { font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: var(--ink-soft); }
.size-unit { font-size: .76rem; color: var(--ink-faint); font-weight: 600; }
.room-view-link { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .88rem; color: var(--saffron-ink); white-space: nowrap; padding-bottom: .15rem; }
.room-view-link svg { transition: transform .2s ease; }
.room-card:hover .room-view-link svg { transform: translateX(3px); }

/* ---------- Amenities ---------- */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: clamp(.8rem, 2vw, 1.2rem); }
.amenity {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .8rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem 1rem;
  box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.amenity:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.amenity-icon { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(150deg, #FBEFD6, #F3DFB4); color: var(--maroon); }
.amenity-label { font-weight: 700; font-size: .94rem; color: var(--ink); line-height: 1.3; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: clamp(.7rem, 1.6vw, 1.1rem); }
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--r); cursor: pointer;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-tall { grid-row: span 2; }
.gallery-wide { grid-column: span 2; }
.gallery-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.4rem .9rem .7rem;
  color: #fff; font-weight: 700; font-size: .96rem;
  background: linear-gradient(transparent, rgba(20,40,34,.75));
  transform: translateY(8px); opacity: 0; transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.07); }
.gallery-item:hover figcaption, .gallery-item:focus-visible figcaption { opacity: 1; transform: none; }
.gallery-item:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 168px; }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 2; }
}
@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gallery-wide, .gallery-tall { grid-column: auto; grid-row: auto; }
}

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 5vw; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(10,25,21,.85); }
.lightbox-inner { position: relative; max-width: 760px; width: 100%; background: var(--surface); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); transform: scale(.96); transition: transform .25s ease; }
.lightbox.open .lightbox-inner { transform: scale(1); }
.lightbox-art img { width: 100%; height: auto; max-height: 70vh; display: block; object-fit: contain; }
.lightbox-cap { padding: 1rem 1.3rem; font-weight: 700; color: var(--maroon); font-family: var(--font-display); font-size: 1.3rem; }
.lightbox-close { position: absolute; top: .7rem; right: .7rem; width: 44px; height: 44px; border-radius: 50%; background: rgba(20,40,34,.6); color: #fff; display: grid; place-items: center; transition: background-color .2s ease; z-index: 2; }
.lightbox-close:hover { background: var(--maroon); }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(20,40,34,.55); color: #fff; display: grid; place-items: center; transition: background-color .2s ease; z-index: 2; }
.lightbox-nav:hover { background: var(--maroon); }
.lightbox-prev { left: .7rem; }
.lightbox-next { right: .7rem; }
.lightbox.single .lightbox-nav { display: none; }
.lightbox-count { position: absolute; top: .9rem; left: 1rem; color: #fff; font-size: .8rem; font-weight: 700; background: rgba(20,40,34,.55); padding: .3rem .7rem; border-radius: var(--r-pill); z-index: 2; }

/* ---------- Location ---------- */
.location { background: var(--river-soft) !important; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem, 2.4vw, 1.8rem); }
.map-embed { margin-top: clamp(1.2rem, 2.4vw, 1.8rem); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { display: block; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.6rem 1.6rem 1.4rem; box-shadow: var(--shadow-sm); }
.info-icon { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: var(--maroon); color: var(--gold-soft); margin-bottom: 1rem; }
.info-card h3 { color: var(--maroon); margin-bottom: 1rem; }
.kv-list { display: grid; gap: .65rem; }
.kv-list li { display: flex; align-items: baseline; gap: .5rem; font-size: .95rem; color: var(--ink-soft); }
.kv-list li b { margin-left: auto; color: var(--ink); font-weight: 700; white-space: nowrap; }
.card-fineprint { margin-top: 1rem; font-size: .85rem; color: var(--ink-faint); border-top: 1px dashed var(--line); padding-top: .9rem; }
.directions-btn { margin-top: 1.2rem; }

/* ---------- Reviews / score ---------- */
.score-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.score-card { text-align: center; background: rgba(255,246,236,.05); border: 1px solid rgba(231,200,112,.22); border-radius: var(--r-lg); padding: clamp(1.6rem, 3vw, 2.4rem); }
.score-badge-art { border-radius: var(--r); overflow: hidden; aspect-ratio: 16/10; margin-bottom: 1.2rem; box-shadow: var(--shadow-sm); }
.score-badge-art img { width: 100%; height: 100%; object-fit: cover; }
.score-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3.4rem, 2.6rem + 3vw, 5rem); color: var(--gold-soft); line-height: 1; }
.score-num span { font-size: .4em; color: var(--on-dark-soft); font-weight: 600; }
.score-source { margin-top: .6rem; font-weight: 700; letter-spacing: .04em; }
.score-count { margin-top: .3rem; color: var(--on-dark-soft); font-size: .92rem; }
.score-alt { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid rgba(231,200,112,.22); font-size: .92rem; color: var(--on-dark-soft); }
.score-alt b { color: var(--gold-soft); }

.score-bars { display: grid; gap: 1rem; }
.score-row { display: grid; grid-template-columns: 9rem 1fr 3rem; align-items: center; gap: .9rem; }
.score-row-label { font-weight: 600; font-size: .95rem; }
.score-bar-track { height: 8px; border-radius: var(--r-pill); background: rgba(231,200,112,.16); overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--saffron), var(--gold-soft)); transform-origin: left; transform: scaleX(0); transition: transform 1s cubic-bezier(.22,.61,.36,1); transition-delay: var(--d, 0s); }
.score-row.in .score-bar-fill { transform: scaleX(var(--v, 0)); }
.score-row-val { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }

/* ---------- Guest-submitted reviews ---------- */
.guest-reviews { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(231,200,112,.18); }
.guest-reviews-title { color: var(--on-dark); margin-bottom: 1.2rem; font-size: 1.4rem; }
.guest-reviews-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-bottom: 1.8rem; }
.review-card { background: rgba(255,246,236,.05); border: 1px solid rgba(231,200,112,.18); border-radius: var(--r); padding: 1.1rem 1.2rem; }
.review-card .review-stars { color: var(--gold-soft); font-size: .9rem; letter-spacing: .1em; margin-bottom: .5rem; }
.review-card .review-text { color: var(--on-dark-soft); font-size: .92rem; line-height: 1.55; margin-bottom: .6rem; }
.review-card .review-meta { font-size: .78rem; color: var(--on-dark-soft); opacity: .75; font-weight: 700; }

.star-picker { display: flex; gap: .3rem; }
.star-picker button { font-size: 1.6rem; line-height: 1; color: rgba(231,200,112,.3); transition: color .15s ease, transform .15s ease; }
.star-picker button:hover, .star-picker button.active { color: var(--gold-soft); transform: scale(1.1); }

/* ---------- Booking (external platforms) ---------- */
.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1rem, 2.4vw, 1.6rem); }
.platform-card {
  display: flex; flex-direction: column; gap: .9rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.platform-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.platform-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(150deg, #FBEFD6, #F3DFB4); color: var(--maroon); }
.platform-card h3 { color: var(--maroon); font-size: 1.25rem; }
.platform-card p { color: var(--ink-soft); font-size: .92rem; flex: 1; }
.booking-note { margin-top: clamp(2rem, 4vw, 3rem); text-align: center; color: var(--ink-soft); font-size: .92rem; max-width: 56ch; margin-inline: auto; }

/* ---------- Direct booking CTA ---------- */
.direct-booking-cta { text-align: center; }
.direct-booking-note { margin-top: 1rem; color: var(--ink-soft); font-size: .92rem; max-width: 56ch; margin-inline: auto; }
.direct-booking-note a { color: var(--saffron-ink); font-weight: 700; }

/* ---------- Contact strip ---------- */
.contact-strip { display: flex; flex-wrap: wrap; gap: 1.6rem 2.6rem; justify-content: center; margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--line); }
.contact-item { display: flex; gap: .8rem; align-items: flex-start; }
.contact-ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(150deg, #FBEFD6, #F3DFB4); color: var(--maroon); }
.contact-item b { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-faint); font-weight: 700; }
.contact-item span, .contact-item a { color: var(--ink); font-weight: 600; }
.contact-item a:hover { color: var(--saffron-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-ink, #3C140F); color: var(--on-dark-soft); padding-top: clamp(3rem, 6vw, 5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .brand-mark { margin-bottom: .8rem; }
.footer-name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; color: var(--on-dark); }
.footer-tag { margin-top: .5rem; max-width: 34ch; font-size: .95rem; }
.footer-mantra { margin-top: 1rem; color: var(--gold-soft); font-size: 1.2rem; letter-spacing: .04em; }
.footer-col h4 { font-family: var(--font-sans); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold-soft); margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: .65rem; }
.footer-col a { transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-addr { font-size: .92rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; border-top: 1px solid rgba(231,200,112,.18); padding-block: 1.4rem; font-size: .86rem; }
.footer-source { font-size: .8rem; color: rgba(201,214,204,.65); max-width: 62ch; margin-top: .6rem; line-height: 1.6; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: var(--z-totop);
  width: 48px; height: 48px; border-radius: 50%; background: var(--maroon); color: #FFF6EC;
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease, background-color .2s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--maroon-deep); transform: translateY(-3px); }
.to-top:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .about-grid, .score-wrap, .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-top: 1px solid var(--line);
    box-shadow: var(--shadow-md); padding: .5rem;
    transform: translateY(-10px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  }
  .nav-open .nav-links { transform: none; opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-links a { color: var(--ink); padding: .9rem 1rem; border-radius: var(--r-sm); }
  .nav-links a::after { display: none; }
  .nav-links a:hover { background: var(--bg-2); color: var(--saffron); }
}

@media (max-width: 620px) {
  .enquire-btn { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.4rem .5rem; }
  .stat + .stat::before { display: none; }
  .stat:nth-child(odd)::after { content: ""; position: absolute; right: 0; top: 15%; height: 70%; width: 1px; background: var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
  .hero-content { padding-block: 2rem; }
  .btn-lg { padding: .9rem 1.4rem; }
  .hero-cta .btn { flex: 1 1 100%; }
  .score-row { grid-template-columns: 6.4rem 1fr 2.4rem; gap: .5rem; }
  .contact-strip { justify-content: flex-start; }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
}

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

/* ---------- Print ---------- */
@media print {
  .site-header, .scroll-cue, .to-top, .hero-art { display: none !important; }
  .hero { min-height: auto; color: var(--ink); background: none; }
  .hero-title, .hero-lead { color: var(--ink); text-shadow: none; }
  .section-dark { background: #fff; color: #000; }
}
