/* ========== RESET ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  height: 100%;
  scroll-behavior: auto;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
/* Mobile and tablet: ensure smooth scroll remains consistent (do not remove in future) */
@media (max-width: 1024px) {
  html.lenis,
  html.lenis body {
    -webkit-overflow-scrolling: touch;
  }
}
/* Lenis smooth scroll */
html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
/* Lenis disables iframe hits so scroll isn't stolen by embeds; Razorpay checkout is an iframe and must receive clicks */
.lenis.lenis-smooth iframe:not([src*="razorpay"]) {
  pointer-events: none;
}
.lenis.lenis-smooth [class*="razorpay"] iframe,
.lenis.lenis-smooth [id*="razorpay"] iframe {
  pointer-events: auto !important;
}

body {
  min-height: 100%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  background: var(--color-gallery-white);
  color: var(--text-secondary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Hero: initial hidden (GSAP timeline or .hero--entry-done reveals) */
.hero--entry .hero__subtitle,
.hero--entry .hero__title,
.hero--entry .hero__content .divider,
.hero--entry .hero__desc,
.hero--entry .hero__cta {
  opacity: 0;
}
.hero--entry.hero--entry-done .hero__subtitle,
.hero--entry.hero--entry-done .hero__title,
.hero--entry.hero--entry-done .hero__content .divider,
.hero--entry.hero--entry-done .hero__desc,
.hero--entry.hero--entry-done .hero__cta {
  opacity: 1;
}

/* ========== BLOB CURSOR ========== */
.blob-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.blob-cursor.is-visible { opacity: 1; }

.blob-cursor__main {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.blob-cursor__blob {
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid rgba(176, 94, 60, 0.62);
  box-shadow: none;
  will-change: transform;
  transition:
    border-color 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.28s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.2s ease;
  opacity: 1;
}
.blob-cursor.is-hover .blob-cursor__blob {
  border-color: rgba(176, 94, 60, 0.98);
  box-shadow:
    0 0 0 2px rgba(176, 94, 60, 0.14),
    0 6px 28px rgba(176, 94, 60, 0.28);
}
.blob-cursor.is-hover-text .blob-cursor__blob {
  background: transparent;
  border-color: rgba(15, 113, 115, 0.82);
  box-shadow:
    0 0 0 2px rgba(15, 113, 115, 0.12),
    0 6px 24px rgba(15, 113, 115, 0.18);
}
/* Hero + About (dark green): high-contrast ring & dot */
.blob-cursor.is-over-dark-green .blob-cursor__blob {
  border-width: 2px;
  border-color: rgba(255, 252, 245, 0.95);
  box-shadow:
    0 0 0 2px rgba(0, 0, 0, 0.2),
    0 8px 36px rgba(0, 0, 0, 0.35);
}
.blob-cursor.is-over-dark-green .blob-cursor__inner {
  width: 4px;
  height: 4px;
  background: #fcc76b;
  box-shadow: 0 0 14px rgba(252, 199, 107, 0.9);
}
.blob-cursor.is-over-dark-green.is-hover .blob-cursor__blob {
  border-color: #ffffff;
  box-shadow:
    0 0 0 3px rgba(252, 199, 107, 0.35),
    0 10px 40px rgba(0, 0, 0, 0.4);
}
.blob-cursor.is-over-dark-green.is-hover-text .blob-cursor__blob {
  border-color: rgba(252, 199, 107, 1);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.2),
    0 8px 32px rgba(252, 199, 107, 0.35);
}
.blob-cursor.is-over-dark-green.is-hover-text .blob-cursor__inner {
  background: #fffefb;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.85);
}
/* Over header: light ring for dark nav/footer (wins over dark-green when on nav) */
.blob-cursor.is-over-header .blob-cursor__blob {
  background: transparent;
  border-width: 2px;
  border-color: rgba(255, 255, 255, 0.62);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.1);
}
.blob-cursor.is-over-header.is-hover .blob-cursor__blob {
  border-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.2);
}
.blob-cursor.is-over-header .blob-cursor__inner {
  background: rgba(252, 199, 107, 0.98);
  box-shadow: 0 0 10px rgba(252, 199, 107, 0.55);
}
.blob-cursor.is-over-header.is-hover-text .blob-cursor__blob {
  border-color: rgba(252, 199, 107, 0.9);
}
.blob-cursor.is-over-header.is-hover-text .blob-cursor__inner {
  background: rgba(5, 56, 39, 0.95);
}
.blob-cursor.is-down .blob-cursor__blob {
  transform: translate(-50%, -50%) scale(0.9);
}

.blob-cursor__inner {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(176, 94, 60, 0.95);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background 0.22s ease, transform 0.22s ease;
}
.blob-cursor.is-hover .blob-cursor__inner {
  transform: translate(-50%, -50%) scale(1.08);
}
.blob-cursor.is-hover-text .blob-cursor__inner {
  background: rgba(15, 113, 115, 0.92);
}

@media (pointer: coarse) {
  .blob-cursor { display: none; }
}

/* Hide default arrow when blob cursor is active (desktop only) */
@media (pointer: fine) {
  html.custom-cursor-active,
  html.custom-cursor-active body,
  html.custom-cursor-active body * {
    cursor: none !important;
  }
  /*
   * Razorpay (and similar) checkout sits above the blob cursor (higher z-index).
   * cursor:none on body * would hide the pointer there with no blob visible.
   * Restore the native cursor on iframes and Razorpay-injected roots.
   */
  html.custom-cursor-active iframe,
  html.custom-cursor-active [class*="razorpay"],
  html.custom-cursor-active [class*="Razorpay"],
  html.custom-cursor-active [id*="razorpay"],
  html.custom-cursor-active [id*="Razorpay"] {
    cursor: auto !important;
  }
}

/* Hover lift for interactive elements */
.cursor-target {
  transition: transform 0.18s ease, color 0.18s ease;
  transform: translateY(-1px);
}
.cursor-target.btn,
.cursor-target[role="button"] {
  transform: translateY(-2px);
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea {
  font-family: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* ========== URBAN EDITORIAL COLOR SYSTEM ========== */
:root {
  /* Primary — architectural anchors (navbar, footer, strong sections) */
  --color-obsidian: #1f2226;
  --color-steel-gray: #3a434d;
  /* Light backgrounds — cool, urban */
  --color-gallery-white: #f8f9fa;
  --color-urban-white: #ffffff;
  --color-cool-mist: #eef1f3;
  /* Accent — urban warmth (buttons, links, highlights) */
  --color-burnt-copper: #b05e3c;
  --color-copper-dark: #934c31;
  --color-copper-light: #c97a58;
  /* Text */
  --text-primary: #1e1e1e;
  --text-secondary: #4b5563;
  --text-muted: #6b7280;
  --text-on-dark: #f4f4f4;
  /* UI */
  --border-light: #e5e7eb;
  --shadow-soft: rgba(0, 0, 0, 0.16);
  --overlay-dark: rgba(10, 10, 10, 0.28);
  /* Nav: dark background when scrolled */
  --nav-scrolled-bg: #1a1d24;
  /* Blob cursor — shadow, less transparent, hover */
  --cursor-blob-fill: rgba(15, 113, 115, 0.92);
  --cursor-blob-shadow: 0 2px 8px rgba(0,0,0,0.35), 0 4px 18px rgba(0,0,0,0.25);
  --cursor-blob-shadow-hover: 0 4px 16px rgba(0,0,0,0.4), 0 8px 28px rgba(0,0,0,0.3);
  --cursor-blob-inner: rgba(255, 255, 255, 0.92);
  --cursor-blob-opacity: 0.88;
}

/* ========== CONTAINER ========== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 24px);
  padding-left: max(clamp(1rem, 4vw, 24px), env(safe-area-inset-left));
  padding-right: max(clamp(1rem, 4vw, 24px), env(safe-area-inset-right));
}
.container--wide {
  max-width: 1320px;
}

/* ========== TYPOGRAPHY ========== */
h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", "Libre Baskerville", serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
}
.eyebrow {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--color-burnt-copper);
  font-weight: 500;
}

/* ========== DIVIDER ========== */
.divider {
  width: 48px;
  height: 2px;
  background: var(--color-burnt-copper);
  margin: 12px 0 24px;
}
.section .divider,
.hero .divider {
  margin-left: auto;
  margin-right: auto;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 14px;
  transition:
    transform 0.25s ease,
    background 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}
.btn--primary {
  background: var(--color-burnt-copper);
  color: var(--color-urban-white);
}
.btn--primary:hover {
  background: var(--color-copper-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(176, 94, 60, 0.35);
}
.btn--outline {
  border: 1px solid var(--color-burnt-copper);
  color: var(--color-burnt-copper);
}
.btn--outline:hover {
  background: rgba(176, 94, 60, 0.1);
  color: var(--color-copper-dark);
}
.btn--full {
  width: 100%;
}
.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
}

/* ========== NAVIGATION — transparent over hero, light on scroll, dark text ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.65rem 0;
  max-width: 100vw;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease;
  background: transparent;
}
.nav.scrolled {
  background: var(--nav-scrolled-bg);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav__logo {
  flex-shrink: 0;
  color: var(--text-on-dark);
  transition: color 0.35s ease;
  text-decoration: none;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 50%;
}
.nav__logo-img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}
.nav__links {
  flex: 1;
  justify-content: center;
  margin: 0 auto;
}
/* Cart sits between Contact (last link) and login: order links, cart, then auth */
.nav__cart {
  flex-shrink: 0;
  order: 2;
}
.nav__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  padding-left: 1.5rem;
  flex-shrink: 0;
  order: 3;
}
.nav__logo-name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.nav__logo-tagline {
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin-top: 0.1rem;
}
.nav.scrolled .nav__logo { color: var(--text-on-dark); }
.nav.scrolled .nav__logo-tagline { color: rgba(255, 255, 255, 0.75); }
.nav__links { display: flex; gap: 2rem; margin: 0; }
.nav__links a {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 248, 248, 0.85);
  position: relative;
  transition: color 0.3s;
}
.nav.scrolled .nav__links a { color: rgba(248, 248, 248, 0.88); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: var(--color-burnt-copper);
  transition: width 0.3s;
}
.nav.scrolled .nav__links a::after { background: var(--color-copper-light); }
.nav__links a:hover { color: var(--text-on-dark); }
.nav.scrolled .nav__links a:hover { color: var(--text-on-dark); }
.nav__links a:hover::after { width: 100%; }
.nav__auth {
  color: var(--text-on-dark);
  border-color: rgba(248, 248, 248, 0.6);
  transition:
    background 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.nav.scrolled .nav__auth {
  color: var(--text-on-dark);
  border-color: rgba(248, 248, 248, 0.5);
}
.nav__auth:hover {
  background: var(--color-burnt-copper);
  border-color: var(--color-burnt-copper);
  color: var(--text-on-dark);
}
.nav.scrolled .nav__auth:hover {
  background: var(--color-burnt-copper);
  color: var(--text-on-dark);
}

.nav__auth-wrap {
  display: flex;
  align-items: center;
}
.nav__profile-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.nav__profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-family: inherit;
  padding: 0.2rem;
  background: transparent;
  border: none;
  color: inherit;
}
.nav__profile-trigger:hover {
  opacity: 0.9;
}
body[data-auth-disabled] [data-auth-ui] {
  display: none !important;
}
.nav__profile {
  display: none;
  position: relative;
}
.nav__profile-chevron {
  transition: transform 0.2s ease;
}
.nav__profile-trigger[aria-expanded="true"] .nav__profile-chevron {
  transform: rotate(180deg);
}
.nav__profile-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  min-width: 10rem;
  background: var(--nav-scrolled-bg, rgba(22, 22, 22, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  padding: 0.35rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 1001;
}
.nav__profile-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav__profile-item {
  display: block;
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-align: left;
  color: rgba(248, 248, 248, 0.9);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.nav__profile-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-on-dark);
}
.nav__profile-item--logout {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav__cart {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--text-on-dark);
  border-radius: 50%;
  transition: background 0.25s, color 0.25s;
}
.nav__cart:hover {
  background: rgba(248, 248, 248, 0.15);
  color: var(--text-on-dark);
}
.nav.scrolled .nav__cart { color: var(--text-on-dark); }
.nav__cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
}
.nav__cart-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.nav__cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.25rem;
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--color-burnt-copper);
  color: var(--color-obsidian);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav__cart-count[data-count="0"] {
  display: none;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav__toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--text-on-dark);
  transition: background 0.35s;
}
.nav.scrolled .nav__toggle span { background: var(--text-on-dark); }

/* ========== HERO — full image + slight dark overlay ========== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--color-obsidian);
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--border-light);
}
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition:
    opacity 1.2s ease,
    transform 2.8s ease;
  filter: saturate(0.95) contrast(1.05);
}
.hero__slide.is-active {
  opacity: 1;
  transform: scale(1.02);
}

/* When the drone video is ready, hide the fallback random slide images */
.hero--video-ready .hero__slides {
  opacity: 0;
}

/* If video fails, show fallback slides (prevents a blank hero) */
.hero--video-failed .hero__slides {
  opacity: 1;
}
.hero--video-ready .hero__slide {
  opacity: 0 !important;
  transform: scale(1.06) !important;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  pointer-events: none;
  z-index: 1;
}

/* When the drone video is ready, remove the green-tinted overlay so the video shows original colors */
.hero--video-ready::before {
  background: rgba(0, 0, 0, 0.18);
}
.hero__content {
  position: relative;
  z-index: 2;
}
.hero__subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-copper-light);
  margin-bottom: 12px;
}
.hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-style: normal;
  font-weight: 400;
  color: var(--text-on-dark);
  line-height: 1.05;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.hero__desc {
  max-width: 500px;
  margin: 0 auto 2.5rem;
  color: rgba(240, 244, 246, 0.85);
  font-size: 1rem;
  line-height: 1.75;
}
.hero__cta {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== MAIN CONTENT WRAPPER ========== */
main {
  position: relative;
  z-index: 2;
  margin-top: -3rem;
  padding: 0 0 4rem;
  overflow-x: hidden;
}

/* ========== SECTIONS ========== */
.section {
  padding: 6rem 0;
  text-align: center;
  width: 100%;
}
.section--alt {
  background: var(--color-cool-mist);
}
.section__subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-burnt-copper);
  margin-bottom: 6px;
}
.section__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-style: normal;
  font-weight: 600;
  font-family: "Playfair Display", serif;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}
.section__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}
.section__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin: 0.25rem 0 1.5rem;
  flex-wrap: wrap;
}

/* Section reveals: GSAP-driven (animations.js), transform + opacity only */
[data-reveal] { will-change: transform, opacity; backface-visibility: hidden; }

/* ========== ABOUT ========== */
.about__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  text-align: left;
  margin-top: 2rem;
}
.section--split .about__grid {
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 0;
}
.about__media {
  position: relative;
  overflow: visible;
}
.about__img-wrap {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
}
.about__img-wrap:hover .about__img {
  transform: scale(1.08);
}
.about__img {
  width: 100%;
  padding-bottom: 75%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.about__content {
  padding: 0 0 0 0.5rem;
}
.about__content .section__subtitle { margin-bottom: 0.5rem; }
.about__content .section__title { margin-bottom: 0.5rem; }
.about__text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* Overlapping card: image on top, text below; sits on main image and extends right */
.about__media-card {
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  min-width: 260px;
  max-width: 340px;
  background: var(--color-urban-white);
  border-radius: 20px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(216, 164, 127, 0.2);
  overflow: hidden;
  z-index: 2;
}
.about__media-card-img {
  position: relative;
  width: 100%;
  padding-bottom: 62%;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}
.about__media-card:hover .about__media-card-img img {
  transform: scale(1.08);
}
.about__media-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.about__media-card-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  color: var(--text-primary);
}
.about__media-card-icon svg {
  display: block;
}
.about__media-card-inner {
  padding: 1.1rem 1.35rem 1.35rem;
  background: var(--color-urban-white);
}
.about__media-overline {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-burnt-copper);
  margin-bottom: 0.35rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}
.about__media-title {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.4rem;
}
.about__media-text {
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}
.divider--left { margin-left: 0; margin-right: auto; }
.section__title--left { text-align: left; }
.section__desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  line-height: 1.65;
}
.about__stats {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}
.stat {
  border-left: 2px solid var(--color-burnt-copper);
  padding-left: 1.25rem;
}
.stat__num {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-burnt-copper);
  line-height: 1.1;
}
.stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-family: "Montserrat", sans-serif;
}

/* ========== ROOMS ========== */
.rooms__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: stretch;
}
.room-card {
  display: flex;
  flex-direction: column;
  background: var(--color-cream, #E6E2D3) !important;
  background-image: none !important;
  padding: 1.1rem 1.1rem 1.5rem;
  text-align: left;
  border-radius: 1rem;
  border: 1px solid var(--border-light);
  box-shadow: none !important;
  min-height: 0;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.3s;
  position: relative;
  overflow: visible;
  will-change: transform;
}

/* Laptop/desktop: fixed banner height so cards stay aligned (no % height on flex children). */
@media (min-width: 1025px) {
  .section--sanctuary .rooms__grid > .room-card {
    align-self: stretch;
    height: 100%;
    box-sizing: border-box;
    min-height: 420px;
  }
  .section--sanctuary .room-card__media {
    flex: 0 0 14rem;
    height: 14rem;
    min-height: 14rem;
    max-height: 14rem;
    margin-bottom: 0.9rem;
  }
  .rooms-modal__grid .room-card__media {
    flex: 0 0 14rem;
    height: 14rem;
    min-height: 14rem;
    max-height: 14rem;
  }
  .room-card__name {
    margin: 8px 0 6px;
    padding-bottom: 8px;
  }
  .room-card__actions {
    padding-top: 0.85rem;
  }
}
.room-card__actions {
  margin-top: auto;
  padding-top: 1rem;
  text-align: center;
  position: relative;
  z-index: 2;
}
.room-card__actions .btn {
  display: inline-block;
}
.room-card:hover {
  box-shadow: none !important;
  border-color: var(--color-burnt-copper);
}
.room-card__media {
  position: relative;
  border-radius: 0.85rem;
  border: 1px solid var(--border-light);
  overflow: hidden;
  /* Banner occupies the top half of the card */
  flex: 0 0 50%;
  height: 50%;
  min-height: 220px;
  aspect-ratio: auto;
  margin-bottom: 1rem;
  background: var(--color-cool-mist);
  will-change: transform;
}
.room-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
  filter: saturate(0.95) contrast(1.05);
  transition: transform 0.5s ease, filter 0.5s ease;
}
.room-card__overlay {
  position: absolute;
  inset: 0;
  padding: 1.4rem 1.2rem 1.6rem;
  background: #7a9e7a;
  color: #0a0a0a;
  transform-origin: center center;
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  will-change: transform, opacity;
}
.room-card__overlay-inner {
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
}
.room-card__overlay-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}
.room-card__overlay-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0 0 0.6rem;
}
.room-card__overlay-meta {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}
.room-card__number {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: rgba(15, 113, 115, 0.15);
  line-height: 1;
}
.room-card__name {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 10px 0 8px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(216, 164, 127, 0.4);
}
.room-card__desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.room-card__price {
  font-size: 0.75rem;
  color: var(--color-burnt-copper);
  letter-spacing: 0.08em;
  margin-bottom: 0;
}
.room-card__price span {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 600;
}

/* Mobile/iPad: fixed banner height + auto card height so text/button never clip (overflow stays visible) */
@media (max-width: 1024px) {
  .room-card {
    padding-bottom: 1.75rem;
    min-height: 480px;
    height: auto;
    box-sizing: border-box;
    overflow: visible;
  }
  .room-card__media {
    flex: 0 0 220px;
    height: 220px;
    min-height: 0 !important;
    max-height: none;
    margin-bottom: 1rem;
  }
  .room-card__actions {
    margin-top: 1rem !important;
    margin-bottom: 0;
    padding-top: 0.75rem;
    flex-shrink: 0;
  }
}

/* ========== EVENTS — photos left, description right ========== */
.section--events {
  padding: 5rem 0;
}

/* Events reel — prev / main / next gutters (same idea as .gallery-reel nav, not over the image) */
.events__reel {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: 0.5rem;
  align-items: center;
  margin-top: 2rem;
}

.events__reel__main {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  min-width: 0;
}

.events__col-left {
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 480px; /* keep event text wrapping neat */
}

.events__nav--prev {
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
}

.events__nav--next {
  grid-column: 3;
  grid-row: 1;
  justify-self: center;
}

.events__media {
  position: static;
  min-width: 0;
}

.events__img-single {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 360px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.6s ease-out,
    filter 0.6s ease-out;
}
.events__media:hover .events__img-single {
  transform: scale(1.04);
}

.section--events {
  position: relative;
}

/* Events nav — same look as gallery reel nav; placed in side columns, not over the image */
.events__reel .events__nav {
  position: static;
  transform: none;
}

.events__reel .events__nav--prev {
  transform: translateX(-1.5cm);
}

.events__reel .events__nav--next {
  transform: translateX(1.5cm);
}

.events__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(15, 77, 71, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-heading-on-dark, #E6E2D3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.events__nav:hover {
  background: rgba(200, 169, 106, 0.35);
  border-color: rgba(200, 169, 106, 0.5);
  color: #fff;
}
.events__nav:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 3px;
}
.events__nav svg {
  display: block;
}

.events__content {
  text-align: left;
}

.events__content .section__subtitle {
  margin-bottom: 0.5rem;
}

.events__content .section__title {
  margin-bottom: 0.5rem;
}

.events__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  white-space: pre-line;
}

.events__text:last-child {
  margin-bottom: 1.25rem;
}

.events__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.6rem;
  align-items: stretch;
  margin-top: 1.25rem;
  width: 100%;
}

.events__actions .btn {
  margin-top: 0;
  flex: 1 1 0;
  min-width: 0;
  min-height: 2.35rem;
  text-align: center;
  justify-content: center;
  padding: 0.42rem 0.5rem;
  font-size: clamp(0.58rem, 1.75vw, 0.76rem);
  letter-spacing: 0.06em;
}

.events__brochure-btn,
.events__book-btn,
.events__photos-btn {
  margin-top: 0;
}

/* Book = solid copper (same family as former brochure primary) */
.events__actions .events__book-btn {
  background: var(--color-burnt-copper);
  color: var(--color-urban-white);
  border: 1px solid var(--color-burnt-copper);
}

.events__actions .events__book-btn:hover {
  background: var(--color-copper-dark);
  color: var(--color-urban-white);
  border-color: var(--color-copper-dark);
}

/* Brochure = cream */
.events__actions .events__brochure-btn {
  background: #f4efe6;
  color: var(--color-obsidian);
  border: 1px solid rgba(176, 94, 60, 0.38);
}

.events__actions .events__brochure-btn:hover {
  background: #ebe4d6;
  border-color: rgba(176, 94, 60, 0.5);
  color: var(--color-obsidian);
}

/* Photos = deep teal with warm accent */
.events__actions .events__photos-btn {
  background: linear-gradient(160deg, #1a4d48 0%, #0f3531 100%);
  color: #f0e8dc;
  border: 1px solid rgba(252, 199, 107, 0.35);
}

.events__actions .events__photos-btn:hover {
  background: linear-gradient(160deg, #235a54 0%, #15403b 100%);
  color: #fcc76b;
  border-color: rgba(252, 199, 107, 0.55);
  box-shadow: 0 6px 20px rgba(15, 53, 49, 0.35);
}

.event-photos-modal__title {
  position: absolute;
  top: max(3.1rem, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: "Playfair Display", serif;
  font-size: clamp(0.95rem, 2.4vw, 1.35rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  margin: 0;
  max-width: min(90vw, 520px);
  pointer-events: none;
  line-height: 1.3;
}

#eventPhotosModal .modal__content {
  position: relative;
  background: #0d0d0d;
  padding: 0.5rem;
  padding-top: max(4.75rem, env(safe-area-inset-top));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#eventPhotosModal .gallery-lightbox__img {
  max-height: calc(100vh - 6rem);
  max-width: calc(100vw - 5rem);
  width: auto;
  height: auto;
  object-fit: contain;
}

#eventPhotosModal .modal__close {
  color: rgba(255, 255, 255, 0.82);
}

#eventPhotosModal .modal__close:hover {
  color: #fff;
}

@media (max-width: 1024px) {
  .events__reel {
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "main main main"
      "prev . next";
    row-gap: 1.25rem;
    column-gap: 0.5rem;
  }

  .events__reel__main {
    grid-area: main;
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Text → image → buttons (mobile / iPad); laptop layout unchanged above 1024px */
  .events__col-left {
    display: contents;
  }

  .events__content {
    grid-row: 1;
  }

  .events__media {
    grid-row: 2;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    justify-self: stretch;
    box-sizing: border-box;
  }

  .events__actions {
    grid-row: 3;
    margin-top: 1.75rem;
    padding-top: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .events__nav--prev {
    grid-area: prev;
    justify-self: start;
  }

  .events__nav--next {
    grid-area: next;
    justify-self: end;
  }

  /* Avoid nav translate shifting the reel; keep arrows within the viewport */
  .events__reel .events__nav--prev,
  .events__reel .events__nav--next {
    transform: none;
  }

  .events__img-single {
    display: block;
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    max-height: none;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform-origin: center center;
  }
}

@media (max-width: 767px) {
  .events__reel__main {
    align-items: stretch;
  }
  .events__content,
  .events__actions {
    width: 100%;
    max-width: none;
  }
  .events__media {
    width: 100%;
    align-self: center;
  }
  .events__img-single {
    max-height: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    background-position: center center;
  }
}

/* Mobile only: center Events section copy + photo in the viewport */
@media (max-width: 767px) {
  .section--events .events__content {
    text-align: center;
    width: 100%;
    max-width: min(100%, 40rem);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .section--events .events__text {
    text-align: center;
  }
  .section--events .events__actions {
    justify-content: center;
    width: 100%;
    max-width: min(100%, 40rem);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .section--events .section__title--left {
    text-align: center;
  }
  .section--events .divider--left {
    margin-left: auto;
    margin-right: auto;
  }
  .section--events .events__media {
    display: block;
    width: 100%;
    max-width: min(100%, 40rem);
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .section--events .events__img-single {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transform-origin: center center;
  }
}

@media (max-width: 600px) {
  .events__nav {
    width: 42px;
    height: 42px;
  }
}

/* ========== SECTION BANNER (Experiences style) ========== */
.section__banner {
  width: 100%;
  padding: 2.5rem 1rem;
  text-align: center;
  background: var(--color-burnt-copper);
}
.section__title--light {
  color: #fff;
  margin: 0;
}
.section--experiences .container {
  padding-top: 2.5rem;
}
.gallery__filters--pills {
  margin-bottom: 2rem;
}
.gallery__filters--pills .gallery__filter {
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: none;
  border-bottom: none;
  background: transparent;
  color: var(--text-secondary);
}
.gallery__filters--pills .gallery__filter.active {
  background: var(--color-burnt-copper);
  color: #fff;
}
.gallery__filters--pills .gallery__filter:hover:not(.active) {
  background: rgba(15, 113, 115, 0.1);
  color: var(--color-burnt-copper);
}

/* ========== GALLERY ========== */
.gallery__filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}
.gallery__filter {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition:
    color 0.3s,
    border-color 0.3s,
    background 0.3s;
}
.gallery__filter.active,
.gallery__filter:hover {
  color: var(--color-burnt-copper);
  border-bottom-color: var(--color-burnt-copper);
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}
.gallery__item {
  aspect-ratio: 4/3;
  background: var(--color-urban-white);
  border-radius: 0.75rem;
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s;
  box-shadow: 0 6px 20px var(--shadow-soft);
  position: relative;
  cursor: pointer;
}
.gallery__item:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 24px 48px var(--shadow-soft);
}
.gallery__item.hidden {
  display: none;
}
.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  transform-origin: center center;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: saturate(0.95) contrast(1.06);
}
.gallery__item:hover .gallery__img {
  transform: scale(1.06);
  filter: saturate(1.02) contrast(1.08);
}
.gallery__label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 248, 248, 0.88);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

/* ========== TESTIMONIALS ========== */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
  margin-top: 2rem;
}
.testimonial {
  padding: 1.75rem;
  background: var(--color-urban-white);
  border-radius: 1rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 24px var(--shadow-soft);
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
}
.testimonial:hover {
  border-color: var(--color-burnt-copper);
  box-shadow: 0 16px 40px var(--shadow-soft);
}
.testimonial__text {
  font-family: "Montserrat", sans-serif;
  font-size: 1.05rem;
  font-style: normal;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.65;
}
.testimonial__author {
  font-family: "Montserrat", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-burnt-copper);
  letter-spacing: 0.08em;
}

/* ========== REVIEWS (home page — 3 cards) ========== */
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  text-align: left;
}

.review-card {
  padding: 1.5rem 1.25rem;
  background: #EDE9DC !important;
  border-radius: 1rem;
  border: 1px solid rgba(8, 60, 58, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.review-card__text {
  color: #000 !important;
}
.review-card__author {
  color: #000 !important;
}

.review-card:hover {
  border-color: var(--color-burnt-copper);
  box-shadow: 0 16px 40px var(--shadow-soft);
}

.review-card__text {
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.review-card__author {
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-burnt-copper);
  letter-spacing: 0.06em;
  margin: 0;
}

@media (max-width: 768px) {
  .reviews__grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ========== CONTACT ========== */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  text-align: left;
  margin-top: 2rem;
  align-items: start;
}
.contact__info {
  max-width: 280px;
}
.contact__item {
  margin-bottom: 1.5rem;
}
.contact__item h4 {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-burnt-copper);
  margin-bottom: 0.35rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}
.contact__item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact__form input,
.contact__form textarea {
  width: 100%;
  background: transparent;
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color 0.3s;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--text-muted);
}
.contact__form input:focus,
.contact__form textarea:focus {
  border-bottom-color: var(--color-burnt-copper);
}
.contact__form textarea {
  resize: vertical;
  min-height: 100px;
}

/* ========== TERMS (4-card format) — equal width & height, content fits within ========== */
.section--terms-cards .container--wide { max-width: 1320px; }
.terms-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: left;
  align-items: stretch;
}
.terms-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  align-self: stretch;
  background: var(--color-urban-white);
  border-radius: 0.75rem;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14), 0 2px 6px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.terms-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: var(--color-burnt-copper);
}
.terms-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.85rem;
  font-family: "Playfair Display", serif;
  flex-shrink: 0;
}
.terms-card__content {
  flex: 0 0 auto;
  max-height: 14em;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.terms-card:not(:hover) .terms-card__content li:nth-child(n + 5) {
  display: none;
}
.terms-card:hover .terms-card__content {
  max-height: 2000px;
}
.terms-card ul {
  margin: 0;
  padding: 0 0 0 1.1rem;
  list-style: disc;
  min-height: 0;
}
.terms-card li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.terms-card a {
  color: var(--color-burnt-copper);
  text-decoration: underline;
}
.terms-card a:hover { opacity: 0.85; }

/* ========== ACTIVITIES — 3 cards ========== */
.activities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.activity-card {
  padding: 1.75rem 1.5rem;
  background: var(--color-cream);
  border-radius: 1rem;
  border: 1px solid rgba(8, 60, 58, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}
.activity-card__title {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-teal);
  margin-bottom: 0.5rem;
}
.activity-card__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-primary);
  margin: 0;
}
@media (max-width: 900px) {
  .activities__grid {
    grid-template-columns: 1fr;
  }
}

/* ========== DIRECTIONS — left content, right photo card ========== */
.directions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-top: 2rem;
}
.directions__content {
  text-align: left;
  padding-top: 1.5rem;
}
.directions__heading {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: inherit;
  margin-bottom: 1rem;
  margin-top: 0;
}
.directions__text {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.directions__text:last-child {
  margin-bottom: 0;
}
.directions__card {
  margin-top: 0;
}
.directions__map-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
  background: #0a3d3a;
}
/* Premium hover zoom (works even with overlay link) */
.directions__map-wrap .directions__map-img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transform: scale(1);
  will-change: transform;
}
.directions__map-wrap:hover .directions__map-img {
  transform: scale(1.07);
  filter: saturate(1.05) contrast(1.04);
}
/* Map view image: fills card, centered and cropped to fit */
.directions__map-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
/* Green tint overlay – dark green tone, not black */
.directions__map-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(8, 60, 58, 0.48);
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}
/* Full-cover overlay: clicking the map opens Google Maps */
.directions__map-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}
.directions__map-link {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  background: rgba(8, 60, 58, 0.9);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  z-index: 2;
  transition: background 0.2s ease;
}
.directions__map-link:hover {
  background: var(--color-teal);
  color: #fff;
}
@media (max-width: 900px) {
  .directions__grid {
    grid-template-columns: 1fr;
  }
  .directions__card {
    order: -1;
  }
  .directions__map-wrap {
    min-height: 280px;
  }
}
#directions .directions__card {
  max-width: 100%;
}

/* ========== LOCATION CARD ========== */
.location-card {
  display: block;
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  margin-top: 2rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.location-card:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 24px 48px var(--shadow-soft);
}
.location-card__img {
  width: 100%;
  padding-bottom: 48%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.5s ease;
  transform-origin: center center;
}
.location-card:hover .location-card__img {
  transform: scale(1.06);
}
.location-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 45%, transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem 1.35rem;
  color: #fff;
}
.location-card__title {
  font-family: "Playfair Display", serif;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #fff;
}
.location-card__desc {
  font-size: 0.8rem;
  opacity: 0.95;
  margin-bottom: 0.7rem;
  max-width: 28ch;
}
.location-card__cta {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0,0,0,0.4);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  align-self: center;
  color: #fff;
}

/* ========== ROOMS FULL-SCREEN MODAL ========== */
.modal--fullscreen .modal__content {
  max-width: none;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  border-radius: 0;
  padding: 2rem;
  padding-top: max(3rem, env(safe-area-inset-top));
  overflow-y: auto;
}
.modal--fullscreen .modal__close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 10;
}
.rooms-modal__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 0.5rem;
}
.rooms-modal__grid {
  margin-top: 1.5rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Gallery full-screen lightbox */
.modal__content--gallery {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 2rem;
}
.gallery-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Room gallery modal — anudinakuteera-style: full-screen image, solid dark background, prominent left/right scroll */
#roomGalleryModal .modal__content {
  position: relative;
  background: #0d0d0d;
  padding: 0.5rem;
  padding-top: max(3rem, env(safe-area-inset-top));
  display: flex;
  align-items: center;
  justify-content: center;
}
#roomGalleryModal .gallery-lightbox__img {
  max-height: calc(100vh - 4rem);
  max-width: calc(100vw - 1rem);
  width: auto;
  height: auto;
  object-fit: contain;
}
#roomGalleryModal .modal__close {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  line-height: 1;
  color: #111;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid rgba(0, 0, 0, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}
#roomGalleryModal .modal__close:hover {
  color: #000;
  background: #fff;
}
.room-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  background: #252525;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.room-gallery__nav:hover {
  background: #333;
  border-color: rgba(255, 255, 255, 0.2);
}
.room-gallery__nav--prev {
  left: 1rem;
}
.room-gallery__nav--next {
  right: 1rem;
}
.room-gallery__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  z-index: 2;
}

/* Room gallery lightbox — mobile / iPad: lighter chrome (transparent controls, smaller arrows) */
@media (max-width: 1024px) {
  #roomGalleryModal .room-gallery__nav {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    background: transparent;
    border: none;
  }
  #roomGalleryModal .room-gallery__nav:hover {
    background: rgba(255, 255, 255, 0.07);
  }
  #roomGalleryModal .modal__close {
    background: transparent;
    border: none;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.92);
  }
  #roomGalleryModal .modal__close:hover {
    background: rgba(255, 255, 255, 0.07);
    color: #fff;
  }
}

/* ========== FOOTER — multi-column (legacy) & compact ========== */
.footer {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 3rem 0 1.5rem;
  padding-left: max(clamp(1rem, 4vw, 24px), env(safe-area-inset-left));
  padding-right: max(clamp(1rem, 4vw, 24px), env(safe-area-inset-right));
  background: var(--color-obsidian);
  color: var(--text-on-dark);
}

.footer--compact {
  padding: 1.25rem 0;
}

.footer__wrap {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  text-align: left;
  position: relative;
  min-height: 4rem;
}

.footer__wrap--compact {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1.5rem;
  min-height: 0;
}

.footer__vara-logo {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}
.footer__vara-img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.footer__vara-logo:hover .footer__vara-img {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.footer__brand-block {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.footer__wrap--compact .footer__brand {
  margin-bottom: 0;
}

.footer__wrap--compact .footer__tagline {
  margin: 0;
  font-size: 0.8rem;
}

.footer__wrap--compact .footer__copyright {
  width: 100%;
  text-align: center;
  font-size: 0.7rem;
  margin-top: 0.25rem;
}

.footer__wrap--grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem 2rem;
  align-items: start;
  min-height: 0;
}
.footer__bottom {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.footer__brand {
  margin-bottom: 0.5rem;
  display: flex;
}
.footer__logo-img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
}
.footer--compact .footer__logo-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
}
.footer__tagline {
  font-size: 0.85rem;
  color: rgba(248, 248, 248, 0.6);
  margin: 0;
  font-style: italic;
}
.footer__heading {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(248, 248, 248, 0.7);
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}
.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer__links li { margin-bottom: 0.5rem; }
.footer__links a {
  color: rgba(248, 248, 248, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--color-coral-light, #f47a7b); }
.footer__copyright {
  font-size: 0.75rem;
  color: rgba(248, 248, 248, 0.5);
  margin: 0;
  text-align: center;
}
.footer__contact {
  margin-bottom: 0;
  margin-left: auto;
  flex-shrink: 0;
  text-align: right;
}
.footer__contact-item {
  margin-bottom: 0.4rem;
}
.footer__contact-item a {
  color: rgba(248, 248, 248, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer__contact-item a:hover { text-decoration: underline; }
/* Legacy footer (when not using --grid) */
.footer__vara { display: flex; align-items: center; flex-shrink: 0; }
.footer__vara-img { display: block; width: 3.75rem; height: 3.75rem; object-fit: cover; border-radius: 50%; }
.footer__center { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none; }
.footer__center * { pointer-events: auto; }
.footer__logo-name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-on-dark);
  display: block;
  line-height: 1.15;
}
.footer__logo-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  margin-top: 0.1rem;
}
.footer__line {
  width: 1rem;
  height: 1px;
  background: var(--color-burnt-copper);
}
.footer__contact-title {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 248, 248, 0.7);
  margin-bottom: 0.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}
.footer__contact-item {
  font-size: 0.9rem;
  color: rgba(248, 248, 248, 0.85);
  margin-bottom: 0.3rem;
}
.footer__contact-item a {
  color: var(--color-burnt-copper);
  text-decoration: none;
}
.footer__contact-item a:hover { text-decoration: underline; }

/* ========== FLOATING WHATSAPP ========== */
.chatbot-float {
  position: fixed;
  bottom: calc(1.5rem + 56px + 0.75rem);
  right: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  /* Match icon: fully blue round button */
  background: #0b6cff;
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
  padding: 0;
}
.chatbot-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
}
.chatbot-float svg { flex-shrink: 0; }
.chatbot-float__icon {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
  transform: scale(1.22);
}

.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.6);
}
.whatsapp-float svg { flex-shrink: 0; }

/* ========== CHATBOT MODAL ==========
   Uses existing `.modal` base styles + a lightweight chat UI. */
.modal__content--chatbot.modal__content {
  max-width: 440px;
  padding: 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* ========== CHATBOT WINDOW ==========
   Bottom-right fixed panel (small, scrollable, does NOT block the whole website). */
.chatbot-window {
  position: fixed;
  /* sits above WhatsApp + button, with safe-area padding for iPad/mobile */
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 56px + 2rem);
  right: max(1rem, env(safe-area-inset-right));
  width: min(440px, calc(100vw - 2rem));
  max-width: calc(100vw - 2rem);
  height: min(68vh, 640px);
  z-index: 1000;
  background: var(--color-urban-white);
  border: 1px solid var(--border-light);
  border-radius: 18px;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
  display: none;
  flex-direction: column;
  overflow: hidden;
}
.chatbot-window.is-open {
  display: flex;
}
.chatbot-window__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 0.95rem;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  background: rgba(248, 249, 250, 0.95);
}
.chatbot-window__title {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-primary);
}
.chatbot-window__close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(229, 231, 235, 0.9);
  background: transparent;
  cursor: pointer;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.chatbot-window__close:hover {
  background: rgba(176, 94, 60, 0.08);
  color: var(--color-copper-dark, #934c31);
  transform: translateY(-1px);
}
.chatbot-window .chatbot__messages {
  min-height: 0; /* allow flex scrolling */
}
.chatbot__messages {
  flex: 1;
  min-height: 220px;
  max-height: 100%;
  overflow-y: auto;
  /* Keep scroll chained to the message container (especially iOS Safari) */
  touch-action: pan-y;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 0.85rem 0.85rem 0.65rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  scrollbar-width: thin;
  scrollbar-color: rgba(176, 94, 60, 0.6) transparent;
}
.chatbot__messages::-webkit-scrollbar {
  width: 6px;
}
.chatbot__messages::-webkit-scrollbar-thumb {
  background: rgba(176, 94, 60, 0.45);
  border-radius: 999px;
}
.chatbot__bubble {
  display: block;
  max-width: 92%;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  margin-bottom: 0.5rem;
  line-height: 1.6;
  font-size: 0.98rem;
  white-space: pre-wrap;
  word-break: break-word;
  text-align: left;
}
.chatbot__bubble--user {
  margin-left: auto;
  background: rgba(15, 113, 115, 0.12);
  border: 1px solid rgba(15, 113, 115, 0.25);
  color: var(--text-primary);
  text-align: left;
}
.chatbot__bubble--model {
  margin-right: auto;
  background: rgba(176, 94, 60, 0.06);
  border: 1px solid rgba(176, 94, 60, 0.2);
  color: var(--text-primary);
  text-align: left;
}
.chatbot__bubble--auth-prompt {
  max-width: 92%;
}
.chatbot__bubble--typing {
  /* darker typing indicator */
  background: rgba(15, 113, 115, 0.16) !important;
  border: 1px solid rgba(15, 113, 115, 0.35) !important;
  color: #0a1a1a !important;
  font-weight: 600;
}
.chatbot__composer {
  display: flex;
  gap: 0.6rem;
  align-items: flex-end;
  padding: 0.75rem 0.85rem;
  border-top: 1px solid rgba(229, 231, 235, 0.85);
  background: rgba(248, 249, 250, 0.92);
}
.chatbot__input {
  flex: 1;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  background: rgba(248, 249, 250, 0.85);
  min-height: 42px;
  max-height: 120px;
  resize: none;
  overflow: auto;
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.35;
}

.chatbot__input::placeholder {
  color: var(--text-muted);
}
.chatbot__send-btn {
  flex-shrink: 0;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: var(--color-burnt-copper);
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.15s ease, opacity 0.15s ease;
  border: none;
}
.chatbot__send-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.chatbot__send-btn:not(:disabled):hover {
  transform: translateY(-1px);
}
.chatbot__hint {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
  padding: 0 0.85rem 0.85rem;
}

@media (max-width: 768px) {
  .chatbot-window {
    width: calc(100vw - 2rem);
    height: min(72vh, 680px);
  }
}

/* ========== MODALS ========== */
.modal#signInModal .modal__content {
  color: var(--text-primary);
}

/* Sign-in modal: increase contrast for the helper text */
#signInModal .modal__content p {
  opacity: 1 !important;
  color: rgba(30, 30, 30, 0.92) !important;
  font-weight: 500;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.active {
  display: flex;
}
.modal__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-dark);
  backdrop-filter: blur(4px);
}
.modal__content {
  position: relative;
  background: var(--color-urban-white);
  border: 1px solid var(--border-light);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 400px;
  z-index: 1;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
}
.modal__content h3 {
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 600;
  color: var(--text-primary);
}
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s;
  line-height: 1;
}
.modal__close:hover {
  color: var(--text-primary);
}
.btn--google {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid #dadce0;
  border-radius: 14px;
  background: var(--color-urban-white);
  color: #3c4043;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition:
    box-shadow 0.2s,
    background 0.2s,
    border-color 0.2s;
  gap: 0.6rem;
}
.btn--google:hover {
  background: #f8f9fa;
  border-color: #bbb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ========== FORMS ========== */
.form__group {
  margin-bottom: 1rem;
}
.form__group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  font-family: "Montserrat", sans-serif;
}
.form__group input {
  width: 100%;
  background: transparent;
  border-bottom: 1px solid var(--border-light);
  padding: 0.65rem 0;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: border-color 0.3s;
}
.form__group input:focus {
  border-bottom-color: var(--color-burnt-copper);
}
.form__error {
  color: var(--color-burnt-copper);
  font-size: 0.8rem;
  min-height: 1.25rem;
  margin-bottom: 0.5rem;
}

.form__availability {
  font-size: 0.9rem;
  min-height: 1.25rem;
  margin-bottom: 0.5rem;
}
.form__availability--ok {
  color: var(--color-forest, #2d5a27);
}
.form__availability--error {
  color: var(--color-burnt-copper);
}
.form__success {
  color: var(--color-steel-gray);
  font-size: 0.8rem;
  min-height: 1.25rem;
  margin-bottom: 0.5rem;
}
.modal__content--wide {
  max-width: 480px;
}
.modal__content--sm {
  max-width: 340px;
}
#bookEventModal .modal__content--book-event {
  max-width: min(520px, calc(100vw - 2rem));
  width: 100%;
  padding: 1.75rem 1.75rem 1.5rem;
  box-sizing: border-box;
}
#bookEventModal .modal__content--book-event .modal__title {
  margin-bottom: 0.65rem;
}
#bookEventModal .modal__content--book-event .modal__room-name {
  margin-bottom: 0.35rem;
}
#bookEventModal .modal__content--book-event .modal__room-info {
  margin-bottom: 1rem;
  line-height: 1.45;
}
#bookEventModal .modal__content--book-event .form--stacked {
  margin-top: 0.25rem;
}
#bookEventModal .modal__content--book-event .form__row {
  align-items: start;
}
#bookEventModal .modal__content--book-event .form__group input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}
#bookEventModal .modal__content--book-event .form__group input[type="number"]::-webkit-outer-spin-button,
#bookEventModal .modal__content--book-event .form__group input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
#bookEventModal .modal__content--book-event .btn--full {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}
.modal__content--room-added {
  display: flex;
  flex-direction: column;
}
.modal__content--room-added .modal__ok {
  margin-top: auto;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  align-self: flex-start;
  min-width: 0;
}
.modal__content--my-bookings {
  max-width: min(940px, calc(100vw - 2rem));
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.my-bookings__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 2rem;
  margin-top: 0.75rem;
  align-items: start;
  min-width: 0;
}
@media (max-width: 700px) {
  .my-bookings__columns {
    grid-template-columns: 1fr;
  }
}
.my-bookings__column {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.my-bookings__column-title {
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted, #6b7280);
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.modal__content--my-bookings .my-bookings__column .my-bookings__list {
  overflow-y: auto;
  margin: 0;
  max-height: min(52vh, 420px);
  padding-right: 0.4rem;
}
.my-bookings__empty--column {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
}
.my-bookings__list {
  overflow-y: auto;
  margin: 1rem 0 0;
  padding-right: 0.5rem;
}
.my-bookings__item {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.5rem 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light, rgba(0,0,0,0.08));
  font-size: 0.85rem;
}
.my-bookings__item:last-child { border-bottom: none; }
.my-bookings__guest { font-weight: 500; color: var(--text-primary, #1a1a1a); }
.my-bookings__rooms { color: var(--text-secondary, #555); }
.my-bookings__dates { grid-column: 1 / -1; color: var(--text-muted, #777); font-size: 0.8rem; }
.my-bookings__total { font-weight: 500; }
.my-bookings__status { text-transform: capitalize; }
.my-bookings__status--confirmed { color: var(--color-ok, #0a7); }
.my-bookings__status--pending { color: var(--color-burnt-copper, #b8860b); }
.my-bookings__status--cancelled { color: var(--text-muted, #999); }
.my-bookings__empty,
.my-bookings__error { margin: 1rem 0 0; color: var(--text-muted); font-size: 0.9rem; }
.modal__title {
  margin-bottom: 0.5rem;
}
.modal__room-name {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.modal__room-info {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.modal__hint {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form__row .form__group {
  min-width: 0;
}
.form__row .form__group input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.form__row--split-labels .form__group label {
  min-height: 2.6em;
}
@media (max-width: 480px) {
  .form__row { grid-template-columns: 1fr; }
}
.cart__list {
  max-height: 280px;
  overflow-y: auto;
  margin-bottom: 1rem;
}
.cart__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  gap: 0.75rem;
}
.cart__item:last-child { border-bottom: none; }
.cart__item-info { flex: 1; min-width: 0; }
.cart__item-name { font-weight: 500; color: var(--text-primary); margin-bottom: 0.2rem; }
.cart__item-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.2rem; }
.cart__item-price { font-size: 0.85rem; color: var(--text-muted); }
.cart__item-breakdown {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.75rem;
  color: var(--text-muted);
}
.cart__item-breakdown__row { margin-bottom: 0.2rem; }
.cart__item-breakdown__row:last-child { margin-bottom: 0; }
.cart__item-remove {
  flex-shrink: 0;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  background: transparent;
  color: var(--color-burnt-copper);
  border: 1px solid var(--color-burnt-copper);
  border-radius: 0.35rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.cart__item-remove:hover {
  background: var(--color-burnt-copper);
  color: var(--color-urban-white);
}
.cart__empty {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1.5rem 0;
}
.cart__footer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-light); }
.cart__total { margin-bottom: 1rem; font-size: 1rem; color: var(--text-primary); }
.cart__total strong { color: var(--color-burnt-copper); }

/* Cart page — full-screen background image, no blue footer, card centered */
body.page-cart {
  min-height: 100vh;
  background-image: url("/img/Prathibimba%28img%29.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
@media (max-width: 1024px) {
  body.page-cart {
    background-attachment: scroll;
    background-position: center center;
  }
}
body.page-cart .footer {
  display: none;
}
/* Cart page: frosted-glass bar so header stays visible over any part of the background */
body.page-cart .nav {
  background: rgba(39, 41, 50, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.cart-page {
  min-height: 100vh;
  padding: 0;
  position: relative;
}
.cart-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cart-page .container {
  position: fixed;
  left: 50%;
  top: 8rem;
  transform: translateX(-50%);
  max-width: 520px;
  width: calc(100% - 3rem);
  max-height: calc(100vh - 11rem);
  min-height: 0;
  background: var(--color-urban-white);
  padding: 3rem clamp(1.25rem, 4vw, 2.5rem) 3.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-page .container:hover {
  transform: translateX(-50%) translateY(-6px) scale(1.02);
  box-shadow: 0 24px 56px rgba(39, 41, 50, 0.18), 0 0 0 1px rgba(15, 113, 115, 0.15);
  border-color: rgba(15, 113, 115, 0.3);
}
.cart-page .container .cart-page__title,
.cart-page .container .divider { flex-shrink: 0; }
.cart-page .container .cart-step {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.cart-page .container .cart__list {
  flex: 1;
  min-height: 0;
}
.cart-page__title {
  font-family: "Playfair Display", serif;
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.page-cart .cart-page .divider {
  margin-left: auto;
  margin-right: auto;
}
.cart-step { margin-top: 2rem; }
.cart-step--hidden { display: none !important; }
.cart-step__heading {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}
.terms__scroll--page { max-height: 280px; }

.terms__scroll {
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.terms__scroll ul { margin: 0.5rem 0 0 1.25rem; padding: 0; }
.terms__scroll li { margin-bottom: 0.35rem; }
.terms__accept {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--text-primary);
  cursor: pointer;
}
.terms__accept input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-burnt-copper);
}
.payment__text {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ========== RESPONSIVE ========== */
/* Safe area for notched devices (iPhone X+, iPad Pro) */
.nav__inner {
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}
.modal {
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

/* Touch-friendly tap targets (44px min) on touch devices */
@media (pointer: coarse) {
  .btn,
  .nav__auth,
  .nav__profile-trigger,
  .nav__cart,
  .nav__toggle {
    min-height: 44px;
    min-width: 44px;
  }
  .nav__cart { min-width: 44px; }
  .nav__links a {
    padding: 0.75rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav__profile-item {
    min-height: 44px;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
  }
  .gallery__filter {
    padding: 0.5rem 0.75rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .room-card .btn--sm {
    min-height: 44px;
    padding: 0.65rem 1.25rem;
  }
  .modal__close {
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .cart__item-remove {
    min-height: 44px;
    min-width: 44px;
    padding: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Tablet landscape / iPad */
@media (max-width: 1024px) {
  .container {
    padding-left: clamp(0.75rem, 3.5vw, 1.05rem) !important;
    padding-right: clamp(0.75rem, 3.5vw, 1.05rem) !important;
  }
  .hero {
    width: 100dvw !important;
  }
  /* Ensure fixed nav and hero both span the full visual viewport width */
  .nav {
    width: 100dvw !important;
    max-width: none;
  }
  .hero__video,
  .hero__slides,
  .hero__slide {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
  }
  .rooms__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
  .section {
    padding: 3rem 0;
  }
  /* Mobile/iPad: center About Us text block */
  .section--split .about__content {
    padding: 0;
    text-align: center;
  }
  .section--split .about__content .section__title--left {
    text-align: center;
  }
  .section--split .about__content .divider--left {
    margin-left: auto;
    margin-right: auto;
  }
  .section--split .about__text p {
    text-align: center;
  }

  .about__grid {
    gap: 2rem;
  }
  .gallery__grid {
    gap: 0.6rem;
  }
  .hero__title {
    font-size: clamp(2.25rem, 6vw, 4rem);
  }
  .hero__desc {
    max-width: 90%;
    font-size: 0.9rem;
  }
  .modal__content {
    max-width: min(400px, 92vw);
  }
  .modal__content--wide {
    max-width: min(480px, 94vw);
  }
  .terms-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* iPad / tablet only: center the whole Events block in the column (stacked layout ≤1024px; not phone) */
@media (min-width: 768px) and (max-width: 1024px) {
  .section--events .events__content {
    text-align: center;
    width: 100%;
    max-width: min(100%, 40rem);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .section--events .events__text {
    text-align: center;
  }
  .section--events .events__actions {
    justify-content: center;
    width: 100%;
    max-width: min(100%, 40rem);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .section--events .section__title--left {
    text-align: center;
  }
  .section--events .divider--left {
    margin-left: auto;
    margin-right: auto;
  }
  .section--events .events__media {
    display: block;
    width: 100%;
    max-width: min(100%, 40rem);
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
  .section--events .events__img-single {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transform-origin: center center;
  }
}

/* Tablet portrait / large phones */
@media (max-width: 768px) {
  .nav {
    padding: 0.9rem 0;
    padding-top: max(0.9rem, env(safe-area-inset-top));
  }
  .nav__inner {
    align-items: center;
  }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    background: var(--color-obsidian);
    flex-direction: column;
    padding: 1.5rem;
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
  }
  .nav__links.open {
    display: flex;
  }
  .nav__links.open a {
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .nav__toggle {
    display: flex;
    position: relative;
    top: 0.4cm;
  }
  .nav__right {
    margin-left: 0;
    padding-left: 0.75rem;
  }

  /* Hero: full-bleed so video background fills width on mobile */
  .hero {
    width: 100%;
    min-height: 100svh;
  }
  .cart-page {
    padding: 3rem 0 2.5rem;
  }
  .cart-page .container {
    padding: 1.75rem clamp(1.25rem, 4vw, 2rem);
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about__stats {
    flex-direction: row;
    gap: 2rem;
    flex-wrap: wrap;
  }
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  .gallery__filters {
    gap: 0.75rem;
  }
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .terms-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav__logo-name,
  .footer__logo-name {
    font-size: 1.5rem;
  }
  .nav__logo-tagline,
  .footer__logo-tagline {
    font-size: 0.52rem;
  }
  .footer__wrap {
    max-width: 100%;
    margin-left: auto;
    margin-right: max(1.5rem, env(safe-area-inset-right));
    min-height: 0;
  }
  .footer__wrap--grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    align-items: center;
  }
  .footer__wrap--grid .footer__col--brand { display: flex; flex-direction: column; align-items: center; }
  .footer__wrap--grid .footer__links { text-align: center; }
  .footer__wrap--grid .footer__contact { text-align: center; margin-left: 0; }
  .footer__vara {
    order: 1;
    justify-content: center;
    margin-left: 0;
  }
  .footer__center {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    order: 2;
    width: 100%;
    min-width: 0;
  }
  .footer__contact {
    order: 3;
    margin-left: 0;
    text-align: center;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
  }
  .section--split .about__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .section--split .about__media {
    order: -1;
  }
  .section--split .about__media-card {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 320px;
    margin: -4rem auto 0;
  }
  .section--split .about__media-card-img {
    padding-bottom: 58%;
  }
  .section--split .about__content { padding: 0; }
  .divider--left { margin-left: auto; margin-right: auto; }
  .section__title--left { text-align: center; }
  .footer {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1.5rem, env(safe-area-inset-right));
  }
  .footer__vara-img {
    width: 2.5rem;
    height: 2.5rem;
  }
  /* Mobile/iPad: center the Prathibhimba footer logo block */
  .footer--compact .footer__brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* Tiny visual nudge to the left (keeps overall alignment centered) */
    transform: translateX(-0.5cm);
  }
  .modal--fullscreen .modal__content {
    padding: 1rem;
    padding-top: max(2.5rem, env(safe-area-inset-top));
  }
  .rooms-modal__grid {
    margin-top: 1rem;
  }
  .modal__content--room-added .modal__ok {
    margin-top: auto;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }
  .chatbot-float {
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 56px + 0.75rem);
    right: max(1rem, env(safe-area-inset-right));
  }
  .whatsapp-float {
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: max(1rem, env(safe-area-inset-right));
  }
  .rooms__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .section {
    padding: 2.5rem 0;
  }
  .section__title {
    font-size: clamp(1.5rem, 5vw, 2.25rem);
  }
  main {
    margin-top: -2rem;
  }
  .hero__title {
    font-size: clamp(2rem, 8vw, 3.25rem);
  }
  .hero__desc {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
  }
  .hero__cta {
    gap: 0.75rem;
    align-items: center;
  }
  .hero__cta .btn {
    padding: 0.75rem 1.5rem;
  }
  .modal {
    padding: 1rem;
    align-items: flex-start;
    padding-top: max(2rem, env(safe-area-inset-top));
    overflow-y: auto;
  }
  .modal__content {
    padding: 2rem 1.5rem;
    margin: auto 0;
  }
  .modal__content--wide {
    padding: 1.75rem 1.25rem;
  }
  .nav__profile-dropdown {
    right: 0;
    min-width: 12rem;
    /* Nudge dropdown down to align visually with the nav row */
    margin-top: 0.65rem;
  }
  .testimonial {
    padding: 1.25rem;
  }
}

/* Phones */
@media (max-width: 600px) {
  .section {
    padding: 2rem 0;
  }
  .section__title {
    font-size: 1.6rem;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .hero__subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
  }
  .hero__title {
    font-size: clamp(1.85rem, 9vw, 2.75rem);
  }
  .about__stats {
    gap: 1.25rem;
  }
  .stat__num {
    font-size: 1.85rem;
  }
  .room-card {
    padding: 1rem 1rem 1.25rem;
    min-height: 480px;
    height: auto;
  }
  .room-card__name {
    font-size: 1.1rem;
  }
  .gallery__label {
    padding: 0.6rem 0.75rem;
    font-size: 0.7rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .form__row {
    grid-template-columns: 1fr;
  }
  .terms-cards {
    grid-template-columns: 1fr;
  }
  .modal__content {
    padding: 1.75rem 1.25rem;
    max-width: 100%;
  }
  .modal__content--wide {
    max-width: 100%;
  }
  .cart-page {
    padding: 2rem 0 2.5rem;
  }
  .cart-page .container {
    padding: 1.5rem 1.25rem;
  }
  .cart__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .cart__item-remove {
    align-self: flex-end;
  }
  .cart__list {
    max-height: 220px;
  }
  .terms__scroll {
    max-height: 160px;
  }
  .hero__cta {
    flex-direction: column;
    align-items: center;
  }
  .hero__cta .btn {
    width: 100%;
    max-width: 16rem;
  }
  .section__actions .btn {
    width: 100%;
    max-width: 14rem;
  }
  .nav__auth-wrap {
    gap: 0.25rem;
  }
  .footer__bottom {
    padding-top: 1rem;
  }
}

/* Extra small (320px–400px) — header and footer branding parallel */
@media (max-width: 380px) {
  .nav__logo-name,
  .footer__logo-name {
    font-size: 1.35rem;
  }
  .nav__logo-tagline,
  .footer__logo-tagline {
    font-size: 0.5rem;
  }
  .hero__title {
    font-size: 1.65rem;
  }
  .section__title {
    font-size: 1.4rem;
  }
  .modal__content {
    padding: 1.5rem 1rem;
  }
  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
  }
}
