/* =============================================================
   Swarnaa Ladies Hostel — styles
   Brand: "Campus Bright"
   Mobile first: base styles are for phones (360–400px).
   Larger screens are added at the bottom of each block with
   @media (min-width: ...).
   ============================================================= */

/* ---------- 1. Brand tokens ---------- */
:root {
  /* Brand colours (do not change without the brand guide) */
  --indigo: #4B3BC4;      /* headings, links, active nav */
  --coral: #FF6B5A;       /* accent, wordmark, decorative shapes */
  --coral-deep: #E5483A;  /* primary button background */
  --sunshine: #FFE48A;    /* chips, tags, badges */
  --lavender: #F4F1FF;    /* page background */
  --ink: #221C46;         /* body text */
  --card: #FFFFFF;        /* cards */
  --line: #DDD6FB;        /* borders, dividers */
  --whatsapp: #25D366;    /* WhatsApp buttons only */

  /* Helper colours derived from the brand (for accessibility) */
  --ink-soft: #4A4470;        /* secondary text, still AA on white/lavender */
  --line-strong: #8A80CC;     /* form field borders (3:1 on white) */
  --error: #B42318;           /* form error text (AA on white) */
  --coral-btn: #D63F31;       /* primary button: a touch deeper than coral-deep so
                                 white 16px text passes AA (4.6:1) at the smaller size */
  --coral-deeper: #C93A2D;    /* primary button hover */

  /* Fonts (the "Fallback" faces are defined just below) */
  --font-head: "Baloo 2", "Baloo 2 Fallback", "Trebuchet MS", system-ui, sans-serif;
  --font-body: "Outfit", "Outfit Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape */
  --r-card: 20px;
  --r-md: 16px;
  --r-pill: 999px;
  --shadow-sm: 0 2px 8px rgba(34, 28, 70, 0.06);
  --shadow: 0 10px 30px rgba(75, 59, 196, 0.10), 0 2px 6px rgba(34, 28, 70, 0.05);
  --shadow-lg: 0 18px 40px rgba(75, 59, 196, 0.16), 0 4px 10px rgba(34, 28, 70, 0.06);

  /* Layout */
  --header-h: 64px;
  --mobile-bar-h: 72px;
  --gutter: 16px;
}

/* Fallback fonts sized to match Baloo 2 / Outfit, so text doesn't
   jump around when the Google Fonts finish loading. */
@font-face {
  font-family: "Baloo 2 Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 700 800;
  size-adjust: 94.5%;
  ascent-override: 114%;
  descent-override: 55%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Outfit Fallback";
  src: local("Arial"), local("ArialMT");
  font-weight: 400 500;
  size-adjust: 98.7%;
  ascent-override: 101%;
  descent-override: 26%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Outfit Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 900;
  size-adjust: 93.6%;
  ascent-override: 107%;
  descent-override: 28%;
  line-gap-override: 0%;
}

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--lavender);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden; /* safety net: never allow sideways scroll */
}

img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
img[hidden] { display: none !important; }

h1, h2, h3 {
  margin: 0 0 0.5em;
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.12;
  color: var(--indigo);
  letter-spacing: -0.01em;
}
h3 { font-weight: 700; }

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

a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Section anchors land below the sticky header */
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  font-weight: 600;
}
.skip-link:focus { top: 0.75rem; }

/* Small inline icon (from the SVG sprite in index.html) */
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 3. Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container-narrow { max-width: 780px; }

.section { padding-block: 3.5rem; }
.section-alt { background: var(--card); }

.section-head {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.625rem, 1.6vw + 1.1rem, 2.25rem); }
.section-head p:last-child { margin-bottom: 0; }
.section-head p { color: var(--ink-soft); }

/* Eyebrow label above headings: coral mark + indigo text */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--indigo);
}
.eyebrow::before {
  content: "";
  width: 22px; height: 6px;
  border-radius: var(--r-pill);
  background: var(--coral);
}

@media (min-width: 640px) {
  :root { --gutter: 24px; }
  .section { padding-block: 4.5rem; }
}
@media (min-width: 880px) {
  :root { --gutter: 32px; }
  .section { padding-block: 4.75rem; }
  .section-head { margin-bottom: 2.75rem; }
}

/* Big desktop screens: a little wider, same text size */
@media (min-width: 1440px) {
  .container { max-width: 1200px; }
}

/* ---------- 4. Buttons ----------
   Compact pill buttons, 16px bold text. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.55rem 1.25rem 0.45rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  text-align: center;
  white-space: nowrap; /* keep labels like "WhatsApp us" on one line */
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn .icon { width: 1.15em; height: 1.15em; margin-top: -0.1em; }
.btn:focus-visible { border-radius: var(--r-pill); }

.btn-primary { background: var(--coral-btn); color: #fff; box-shadow: 0 4px 12px rgba(229, 72, 58, 0.25); }
.btn-primary:hover { background: var(--coral-deeper); }

.btn-whatsapp { background: var(--whatsapp); color: var(--ink); box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25); }
.btn-whatsapp:hover { background: #20c45e; }

.btn-outline { background: transparent; color: var(--indigo); border-color: var(--indigo); }
.btn-outline:hover { background: rgba(75, 59, 196, 0.08); }

.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0.3rem 0.9rem 0.24rem; font-size: 0.875rem; gap: 0.35rem; box-shadow: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-row .btn { flex: 1 1 auto; }
@media (min-width: 640px) {
  .btn-row .btn { flex: 0 0 auto; } /* natural width, never stretched */
}
.btn-stack { display: grid; gap: 0.75rem; }

@media (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); }
}

/* ---------- 5. Chips & tags ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips-center { justify-content: center; }

.chip,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-radius: var(--r-pill);
  background: var(--sunshine);
  color: var(--ink);
  font-weight: 600;
}
.chip { padding: 0.4rem 0.85rem; font-size: 0.875rem; }
.tag  { padding: 0.25rem 0.7rem; font-size: 0.8125rem; }
.chip .icon, .tag .icon { width: 1.05em; height: 1.05em; }

.tags { display: flex; gap: 0.4rem; margin-bottom: 0.75rem; }

/* ---------- 6. Image slots with placeholder ----------
   Each photo sits inside .media. If the image file is missing,
   the <img> hides itself (onerror) and this gradient + label shows. */
.media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--r-md);
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 107, 90, 0.35) 0 18%, transparent 19%),
    radial-gradient(circle at 12% 88%, rgba(255, 228, 138, 0.9) 0 16%, transparent 17%),
    linear-gradient(135deg, #FFE1DC 0%, #E9E3FF 55%, #FFF3C7 100%);
}
.media::before {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--indigo);
}
.media::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 2px dashed rgba(75, 59, 196, 0.25);
  border-radius: calc(var(--r-md) - 6px);
}
.media img {
  position: absolute;
  inset: 0;
  z-index: 1; /* a loaded photo covers the placeholder */
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- 7. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  backdrop-filter: saturate(1.4) blur(10px);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Logo: SLH badge followed by the wordmark */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; order: 0; }
.brand-badge { width: 40px; height: 40px; flex: none; }
@media (min-width: 880px) {
  .brand-badge { width: 48px; height: 48px; }
}
/* Header logo: wordmark with a small "Ladies Hostel" line underneath */
.brand-text { display: flex; flex-direction: column; align-items: flex-start; gap: 0.1rem; }
.brand-tag {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  color: var(--indigo);
  padding-left: 0.1rem;
}
.wordmark {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: lowercase;
  color: var(--coral);
  padding-top: 0.15em;
}

.nav-toggle {
  order: 3;
  margin-left: auto;
  display: inline-grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-pill);
  background: var(--card);
  color: var(--indigo);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile: nav is a dropdown panel below the header */
.site-nav {
  order: 1;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  display: none;
  padding: 0.5rem var(--gutter) 1rem;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.site-nav.is-open { display: block; }
.site-nav a {
  display: block;
  padding: 0.8rem 0.25rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
}
.site-nav li:last-child a { border-bottom: 0; }
.site-nav a:hover,
.site-nav a.is-active { color: var(--indigo); }

.header-call { order: 2; display: none; }

/* Without JavaScript the toggle can't work, so just show the links */
html:not(.js) .nav-toggle { display: none; }
html:not(.js) .header-inner { flex-wrap: wrap; padding-block: 0.5rem; }
html:not(.js) .site-nav { display: block; position: static; width: 100%; padding: 0; box-shadow: none; border: 0; }
html:not(.js) .site-nav ul { display: flex; flex-wrap: wrap; gap: 0 1rem; }
html:not(.js) .site-nav a { border: 0; padding: 0.35rem 0; }

@media (min-width: 768px) {
  .header-call { display: inline-flex; margin-left: auto; }
  .nav-toggle { margin-left: 0; }
}

@media (min-width: 880px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: none; }
  .site-nav,
  html:not(.js) .site-nav {
    position: static;
    display: block;
    width: auto;
    margin-left: auto;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav ul { display: flex; gap: 0.25rem; }
  .site-nav a {
    position: relative;
    padding: 0.5rem 0.8rem;
    border: 0;
    font-size: 1rem;
  }
  .site-nav a::after {
    content: "";
    position: absolute;
    left: 0.8rem; right: 0.8rem; bottom: 0.2rem;
    height: 3px;
    border-radius: var(--r-pill);
    background: var(--coral);
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }
  .site-nav a:hover::after,
  .site-nav a.is-active::after { transform: scaleX(1); }
  .header-call { margin-left: 0.5rem; }
}
/* Laptops 880–1099px: tighter nav so all links and the Call button fit */
@media (min-width: 880px) and (max-width: 1099px) {
  .site-nav ul { gap: 0; }
  .site-nav a { padding-inline: 0.55rem; font-size: 0.95rem; }
  .site-nav a::after { left: 0.55rem; right: 0.55rem; }
  .brand-tag { white-space: nowrap; }
}

/* ---------- 8. Hero ---------- */
.hero {
  padding-block: 1.75rem 2.5rem;
  overflow-x: clip; /* keeps decorative shapes from causing sideways scroll */
}
.hero-inner { display: grid; gap: 2rem; }

.hero h1 {
  font-size: clamp(2rem, 2.4vw + 1.25rem, 3.25rem);
  margin-bottom: 0.45em;
}
.hl {
  background: linear-gradient(transparent 62%, var(--sunshine) 62%, var(--sunshine) 92%, transparent 92%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero-sub { font-size: 1.0625rem; color: var(--ink-soft); max-width: 32rem; }
.hero-media { max-width: 560px; }
.hero .chips { margin: 1.25rem 0 1.5rem; }

.hero-media { position: relative; }
.media-hero {
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--card);
}
.media-hero::before { font-size: 1.25rem; }

.shape { position: absolute; pointer-events: none; }
.shape-blob {
  width: 140px; height: 140px;
  top: -28px; right: -36px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.9;
}
.shape-ring {
  width: 110px; height: 110px;
  bottom: -26px; left: -30px;
  border-radius: 50%;
  border: 14px solid var(--sunshine);
}

.hero-badge {
  position: absolute;
  z-index: 2;
  left: 14px; bottom: -18px;
  display: grid;
  margin: 0;
  padding: 0.6rem 1rem;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--shadow);
  line-height: 1.25;
}
.hero-badge strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--indigo); }
.hero-badge span { font-size: 0.875rem; color: var(--ink-soft); }

/* Tablet & laptop: text on the left, photo on the right */
@media (min-width: 768px) {
  .hero { padding-block: 2.5rem 3.25rem; }
  .hero-inner {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 2rem;
  }
  .hero-media { justify-self: end; width: 100%; }
  .hero .btn-row { margin-top: 0.25rem; }
}
@media (min-width: 880px) {
  .hero { padding-block: 3rem 3.75rem; }
  .hero-inner { gap: 3rem; }
  .shape-blob { width: 180px; height: 180px; top: -40px; right: -50px; }
}

/* Short laptop screens (e.g. Windows display scaling at 150–200%):
   tighten the hero so the WhatsApp button stays visible without scrolling */
@media (min-width: 768px) and (max-height: 760px) {
  :root { --header-h: 64px; }
  .hero { padding-block: 1.1rem 2.25rem; }
  .hero h1 { font-size: clamp(1.9rem, 1.6vw + 1.1rem, 2.75rem); }
  .hero .chips { margin: 0.75rem 0 0.9rem; }
  .hero-sub { margin-bottom: 0.4rem; font-size: 1rem; line-height: 1.5; }
  .eyebrow { margin-bottom: 0.5rem; }
  .media-hero { aspect-ratio: 3 / 2; }
}

/* ---------- 9. Trust strip ---------- */
.trust { padding-block: 0.5rem 0; }
.trust-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.25rem 0.75rem;
  padding: 1rem;
  border-radius: var(--r-card);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.trust-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 0.6rem 0.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  text-align: center;
}
.trust-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--sunshine);
  color: var(--ink);
}

@media (min-width: 640px) {
  .trust-list { grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 1.25rem 1.5rem; }
}
@media (min-width: 1080px) {
  .trust-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* ---------- 10. Cards (rooms) ---------- */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
}

.card-grid { display: grid; gap: 1.25rem; }

.room-card { display: flex; flex-direction: column; overflow: hidden; }
.room-card .media { border-radius: 0; }
.room-card .media::after { display: none; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.15rem; }
.card-body h3 { font-size: 1.25rem; margin-bottom: 0.2rem; }
.card-body p { color: var(--ink-soft); font-size: 0.9375rem; line-height: 1.5; margin-bottom: 0.75rem; }
.card-body .btn { margin-top: auto; }

/* Compact "Ask for availability" button: natural width, not full-card */
.room-card .btn {
  align-self: flex-start;
  width: auto;
  min-height: 40px;
  padding: 0.4rem 1.05rem 0.34rem;
  font-size: 0.9375rem;
  box-shadow: none;
}
.room-card .tags { margin-bottom: 0.55rem; }
.room-card .tag { padding: 0.18rem 0.6rem; font-size: 0.75rem; }

@media (prefers-reduced-motion: no-preference) {
  .room-card,
  .facility { transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .room-card:hover,
  .facility:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
}

.rooms-grid { max-width: 1000px; margin-inline: auto; }

/* Phones: cards a bit narrower than the screen so they don't feel huge */
@media (min-width: 480px) and (max-width: 767px) {
  .rooms-grid { max-width: 420px; }
}
/* Tablet & laptop: 3 cards side by side */
@media (min-width: 768px) {
  .rooms-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 1100px) {
  .rooms-grid { gap: 1.5rem; }
}

/* Sunshine banner under room cards */
.banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0 0;
  padding: 1rem 1.25rem;
  border-radius: var(--r-card);
  background: var(--sunshine);
  color: var(--ink);
  font-size: 1.0625rem;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.banner .icon { width: 28px; height: 28px; color: var(--coral-deep); }
.banner strong { font-family: var(--font-head); font-size: 1.15em; }

/* ---------- 11. Food ---------- */
.meal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.meal {
  display: grid;
  gap: 0.15rem;
  padding: 1rem;
  border-radius: var(--r-md);
  background: var(--lavender);
  border: 1px solid var(--line);
}
.meal .icon { width: 28px; height: 28px; margin-bottom: 0.35rem; color: var(--coral-deep); }
.meal-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--indigo); line-height: 1.2; }
.meal-time { font-weight: 600; font-size: 0.9375rem; }

.food-note {
  max-width: 38rem;
  margin: 1.25rem auto 2.5rem;
  text-align: center;
  color: var(--ink-soft);
}

.food-chips { justify-content: center; } /* centred on phones */

/* Desktop: timings + highlights on the left, menu on the right */
@media (min-width: 880px) {
  .food-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: start;
  }
  .food-info { position: sticky; top: calc(var(--header-h) + 24px); }
  .food-info .meal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .food-chips { justify-content: flex-start; }
  .food-note { margin: 1.25rem 0 0; text-align: left; }
  .menu-block h3 { text-align: left; }
  .menu-slot { max-width: 400px; margin: 0; }
}

.menu-block { text-align: center; }
.menu-block h3 { font-size: 1.4rem; }
.menu-slot {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--r-card);
}
.media-menu {
  aspect-ratio: 1440 / 2498; /* matches menu.jpg */
  border-radius: var(--r-card);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background-color: var(--card);
}
.media-menu img { object-fit: contain; }
.menu-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--indigo);
}

@media (min-width: 768px) {
  .meal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .meal { padding: 1.25rem; }
}

/* ---------- 12. Facilities ---------- */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.facility {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1rem;
  border-radius: var(--r-card);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  line-height: 1.3;
}
.facility-icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 14px;
  background: var(--lavender);
  color: var(--indigo);
}
.facility-icon .icon { width: 24px; height: 24px; }

@media (min-width: 640px) {
  .facility-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 880px) {
  .facility-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .facility { padding: 1.25rem; }
}

/* ---------- 13. Safe & secure (indigo block) ---------- */
.section-safety {
  position: relative;
  overflow: hidden;
  background: var(--indigo);
  color: #fff;
}
.section-safety::before,
.section-safety::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.section-safety::before { width: 260px; height: 260px; top: -110px; right: -90px; background: var(--coral); opacity: 0.9; }
.section-safety::after  { width: 180px; height: 180px; bottom: -90px; left: -60px; border: 22px solid rgba(255, 228, 138, 0.35); }

.safety-inner { position: relative; z-index: 1; display: grid; gap: 2rem; }
.section-safety h2 { color: #fff; font-size: clamp(1.75rem, 1.8vw + 1.1rem, 2.4rem); }
.section-safety .eyebrow { color: var(--sunshine); }
.section-safety .eyebrow::before { background: var(--sunshine); }
.section-safety :focus-visible { outline-color: var(--sunshine); }

.check-list { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.check-list .icon {
  width: 28px; height: 28px;
  padding: 5px;
  border-radius: 50%;
  background: var(--sunshine);
  color: var(--ink);
  stroke-width: 3;
}

.contact-card { padding: 1.4rem 1.5rem; color: var(--ink); align-self: start; }
.contact-card h3 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.contact-names { font-weight: 600; font-size: 1.125rem; line-height: 1.5; margin-bottom: 1rem; }
.contact-card :focus-visible { outline-color: var(--indigo); }

/* Compact buttons that sit side by side and wrap, instead of full-width bars */
.contact-card .btn-stack { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.contact-card .btn {
  flex: 0 0 170px; /* all three buttons the same width */
  width: 170px;
  padding-inline: 0.5rem;
  min-height: 46px;
  padding: 0.4rem 1rem 0.34rem;
  font-size: 1.0625rem;
  box-shadow: none;
}

/* Tablet & laptop: text on the left, contact card on the right */
@media (min-width: 768px) {
  .safety-inner { grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
  .contact-card { align-self: center; } /* sits in the vertical middle of the blue section */
}
@media (min-width: 880px) {
  .safety-inner { gap: 4rem; }
  .contact-card { padding: 1.75rem; }
}

/* ---------- 14. Location ---------- */
.address { font-weight: 500; color: var(--ink); }
.address span { display: block; }

.location-grid { display: grid; gap: 2rem; }
.map-wrap { display: grid; gap: 1rem; justify-items: start; }
.map {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: var(--r-card);
  background: var(--lavender);
  box-shadow: var(--shadow);
}

.commute-title { font-size: 1.35rem; }
.commute { border-top: 1px solid var(--line); }
.commute li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.commute-place { display: flex; align-items: center; gap: 0.6rem; font-weight: 500; line-height: 1.35; }
.commute-place .icon { color: var(--indigo); }
.commute-time {
  flex: none;
  padding: 0.2rem 0.7rem;
  border-radius: var(--r-pill);
  background: var(--lavender);
  color: var(--indigo);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

@media (min-width: 880px) {
  .location-grid { grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: start; }
  .map { height: 420px; }
}

/* ---------- 15. Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}
.gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  border-radius: var(--r-md);
  cursor: zoom-in;
}
.gallery-item .media::before { font-size: 0.95rem; }
.gallery-item:focus-visible { border-radius: var(--r-md); }

@media (prefers-reduced-motion: no-preference) {
  .gallery-item img { transition: transform 0.4s ease; }
  .gallery-item:hover img { transform: scale(1.05); }
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}

/* ---------- 16. Lightbox ---------- */
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(20, 16, 44, 0.94);
  color: #fff;
}
.lightbox::backdrop { background: rgba(20, 16, 44, 0.94); }
.lightbox :focus-visible { outline-color: var(--sunshine); }

.lightbox-inner {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 4.5rem var(--gutter) calc(5.5rem + env(safe-area-inset-bottom));
}
.lb-figure { margin: 0; display: grid; justify-items: center; gap: 0.75rem; max-width: 100%; }
.lb-stage { display: grid; place-items: center; max-width: 100%; }
.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 11rem);
  max-height: calc(100dvh - 11rem);
  width: auto;
  height: auto;
  border-radius: var(--r-md);
  object-fit: contain;
}
.lb-empty {
  display: grid;
  place-items: center;
  width: min(80vw, 520px);
  aspect-ratio: 4 / 3;
  margin: 0;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #FFE1DC 0%, #E9E3FF 55%, #FFF3C7 100%);
  color: var(--indigo);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.25rem;
}
.lb-empty[hidden] { display: none; }
.lb-caption { text-align: center; font-size: 0.95rem; color: #E9E6FF; max-width: 40rem; }

.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.lb-btn:hover { background: rgba(255, 255, 255, 0.26); }
.lb-btn .icon { width: 26px; height: 26px; }
.lb-btn[hidden] { display: none; }
.lb-close { top: calc(0.9rem + env(safe-area-inset-top)); right: calc(var(--gutter) + env(safe-area-inset-right)); }
.lb-prev,
.lb-next { bottom: calc(1.25rem + env(safe-area-inset-bottom)); }
.lb-prev { left: calc(var(--gutter) + env(safe-area-inset-left)); }
.lb-next { right: calc(var(--gutter) + env(safe-area-inset-right)); }

body.lb-open { overflow: hidden; }

@media (min-width: 768px) {
  .lightbox-inner { padding: 4.5rem 6rem; }
  .lb-img { max-height: calc(100vh - 9rem); max-height: calc(100dvh - 9rem); }
  .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); }
}

/* ---------- 16b. Weekly menu popup ----------
   A card that pops up over the page with the menu as large text. */
.menu-dialog {
  width: min(780px, calc(100% - 20px));
  max-width: none;
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--lavender);
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(20, 16, 44, 0.35);
  overflow: hidden;
}
.menu-dialog[open] { display: flex; flex-direction: column; }
.menu-dialog::backdrop { background: rgba(20, 16, 44, 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .menu-dialog[open] { animation: menu-pop 0.22s ease; }
}
@keyframes menu-pop {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.menu-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem 0.9rem 1.25rem;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.menu-dialog-head h2 { margin: 0 0 0.15rem; font-size: 1.5rem; }
.menu-dialog-head p { margin: 0; font-size: 0.875rem; color: var(--ink-soft); }
.menu-close {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--lavender);
  color: var(--indigo);
}
.menu-close:hover { background: var(--line); }
.menu-close .icon { width: 22px; height: 22px; }

.menu-dialog-body {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 1.1rem 1.4rem;
}

.menu-times { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1rem; }
.menu-times li {
  padding: 0.35rem 0.8rem;
  border-radius: var(--r-pill);
  background: var(--sunshine);
  font-size: 0.875rem;
}
.menu-times strong { font-weight: 600; margin-right: 0.2rem; }

.menu-days { display: grid; gap: 0.75rem; }
.menu-day {
  padding: 0.9rem 1rem 0.6rem;
  border-radius: var(--r-md);
  background: var(--card);
  border: 1px solid var(--line);
}
.menu-day h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}
.menu-badge,
.menu-today {
  padding: 0.15rem 0.6rem;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.menu-badge { background: var(--sunshine); color: var(--ink); }
.menu-today { background: var(--indigo); color: #fff; }
.menu-day-special { border: 2px solid var(--sunshine); }
.menu-day.is-today { border: 2px solid var(--indigo); box-shadow: var(--shadow); }

.menu-day dl { margin: 0; }
.menu-row {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-top: 1px solid var(--line);
}
.menu-row dt {
  padding-top: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--indigo);
}
.menu-row dd { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.4; }

@media (min-width: 640px) {
  .menu-dialog-head { padding: 1.25rem 1.25rem 1rem 1.5rem; }
  .menu-dialog-body { padding: 1.25rem 1.5rem 1.6rem; }
  .menu-days { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .menu-dialog-head h2 { font-size: 1.75rem; }
}

/* ---------- 16c. Reviews ---------- */
.section-reviews { background: var(--lavender); }

.reviews-layout { display: grid; gap: 1.5rem; align-items: start; }
.reviews-list-area { display: grid; gap: 1rem; min-width: 0; }

/* Stars: amber, darker than usual so they stay visible on white (3:1) */
.review-stars { color: var(--line); letter-spacing: 0.05em; line-height: 1; }
.review-stars .is-on { color: #C58A00; }

/* "4.8 ★★★★★ 12 reviews" */
.reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-weight: 600;
  color: var(--ink-soft);
}
.reviews-summary strong {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--indigo);
}
.reviews-summary .review-stars { font-size: 1.25rem; }
.reviews-summary[hidden] { display: none; }

.reviews-status {
  margin: 0;
  padding: 1.25rem;
  background: var(--card);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-card);
  text-align: center;
  color: var(--ink-soft);
}
.reviews-status[hidden] { display: none; }

.reviews-list { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; }
.reviews-list:empty { display: none; }
.review-card {
  display: grid;
  gap: 0.6rem;
  padding: 1.1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-sm);
}
.review-head { display: flex; align-items: center; gap: 0.75rem; }
.review-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sunshine);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--indigo);
}
.review-who { min-width: 0; }
.review-name { margin: 0; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.review-date { margin: 0; font-size: 0.8125rem; color: var(--ink-soft); }
.review-text { margin: 0; color: var(--ink); white-space: pre-line; overflow-wrap: anywhere; }
.reviews-more { justify-self: center; }
.reviews-more[hidden] { display: none; }

/* Write-a-review form (uses the .field styles from the enquiry form) */
.review-form { display: grid; gap: 0.9rem; padding: 1.25rem; }
.review-form-title { margin: 0; font-size: 1.375rem; color: var(--indigo); }
.review-form button[type="submit"] { justify-self: start; }
.review-form button[disabled] { opacity: 0.7; cursor: progress; }
.review-form-msg { margin: 0; font-weight: 600; }
.review-form-msg:empty { display: none; }
.review-form-msg.is-ok { color: #1E7A3C; }
.review-form-msg.is-error { color: var(--error); }
.review-form .form-note { text-align: left; }

.star-input { display: flex; gap: 0.15rem; }
.star-input label { position: relative; cursor: pointer; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label > span[aria-hidden] {
  display: block;
  padding: 0 0.1rem;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--line-strong);
  transition: color 0.12s ease, transform 0.12s ease;
}
.star-input label.is-on > span[aria-hidden] { color: #C58A00; }
.star-input label:hover > span[aria-hidden] { transform: scale(1.12); }
.star-input input:focus-visible + span { outline: 3px solid var(--indigo); outline-offset: 1px; border-radius: 8px; }
.star-input.is-invalid label > span[aria-hidden] { color: var(--error); }

@media (min-width: 640px) {
  .review-form { padding: 1.5rem 1.75rem; }
}
@media (min-width: 900px) {
  .reviews-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 2rem; }
  .review-form { position: sticky; top: calc(var(--header-h) + 1rem); }
}

/* ---------- 17. FAQ (accordion) ---------- */
.faq { display: grid; gap: 0.75rem; }
.faq details {
  border-radius: var(--r-md);
  background: var(--lavender);
  border: 1px solid var(--line);
}
.faq summary {
  position: relative;
  display: block;
  padding: 1rem 3.25rem 1rem 1.25rem;
  font-weight: 600;
  font-size: 1.0625rem;
  cursor: pointer;
  list-style: none;
  border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1rem; top: 50%;
  display: grid;
  place-items: center;
  width: 28px; height: 28px;
  margin-top: -14px;
  border-radius: 50%;
  background: var(--sunshine);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { color: var(--indigo); }
.faq details p { margin: 0; padding: 0 1.25rem 1.1rem; color: var(--ink-soft); }

/* ---------- 18. Enquiry form ---------- */
.enquiry-form { display: grid; gap: 0.9rem; padding: 1.25rem; }

.field { display: grid; gap: 0.3rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label,
.field legend { font-weight: 600; font-size: 0.9375rem; padding: 0; }
.optional { font-weight: 400; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 42px;
  padding: 0.45rem 0.85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--card);
  font-size: 1rem; /* 16px stops iOS zooming in */
}
.field textarea { min-height: 80px; resize: vertical; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234B3BC4' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 16px;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 1px;
  border-color: var(--indigo);
  border-radius: 12px;
}
.field [aria-invalid="true"] { border-color: var(--error); }

.field-error { margin: 0; min-height: 0; color: var(--error); font-size: 0.9rem; font-weight: 500; }
.field-error:empty { display: none; }

.field-row { display: grid; gap: 0.9rem; }

/* "I am a" pill radios */
.radio-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.15rem; }
.radio-pills label { position: relative; font-weight: 500; }
.radio-pills input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
}
.radio-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.3rem 0.85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--card);
  font-size: 0.9375rem;
  cursor: pointer;
}
.radio-pills input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.radio-pills input:focus-visible + span { outline: 3px solid var(--indigo); outline-offset: 2px; }
.radio-pills.is-invalid span { border-color: var(--error); }

/* Compact submit button, centred under the form */
.enquiry-form button[type="submit"] {
  justify-self: center;
  width: auto;
  min-height: 36px;
  padding: 0.3rem 0.95rem 0.24rem;
  font-size: 0.875rem;
  gap: 0.35rem;
  box-shadow: none;
  margin-top: 0.25rem;
}
.form-note { margin: 0; text-align: center; font-size: 0.8125rem; color: var(--ink-soft); }
@media (hover: hover) and (pointer: fine) {
  .field input, .field select, .field textarea { font-size: 0.9375rem; }
}

@media (min-width: 640px) {
  .enquiry-form { padding: 1.5rem 1.75rem; }
  .field-row { grid-template-columns: 1fr 1fr; }
}

/* ---------- 19. Footer ---------- */
.site-footer {
  padding-top: 3rem;
  background: var(--ink);
  color: #E9E6FF;
}
.site-footer a { color: #fff; }
.site-footer :focus-visible { outline-color: var(--sunshine); }
.footer-grid { display: grid; gap: 2rem; }
.footer-tag { margin: 0.75rem 0; max-width: 22rem; }
.footer-open { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--sunshine); }
.footer-title {
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sunshine);
}
.footer-address { font-style: normal; line-height: 1.6; }
.footer-address span { display: block; }
.footer-list { display: grid; gap: 0.5rem; }
.footer-list a { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 32px; text-decoration: none; word-break: break-word; }
.footer-list a:hover { text-decoration: underline; }
.footer-review { margin: 0.75rem 0 0; }
.footer-review a { text-decoration: none; font-weight: 600; }
.footer-review a:hover { text-decoration: underline; }
.footer-list .footer-phone { font-family: var(--font-head); font-size: 1.6rem; font-weight: 700; letter-spacing: 0.02em; color: var(--sunshine); line-height: 1.2; }
.footer-list .footer-phone .icon { width: 1em; height: 1em; }
.footer-links { grid-template-columns: repeat(2, max-content); column-gap: 2rem; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid rgba(233, 230, 255, 0.18);
  font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }

@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 880px) {
  .site-footer { padding-top: 4rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1.1fr 1fr; gap: 2.5rem; }
}

/* ---------- 20. Floating WhatsApp + mobile bottom bar ---------- */

/* Floating round WhatsApp button: tablet and desktop */
.fab-wa {
  position: fixed;
  z-index: 60;
  right: calc(1.25rem + env(safe-area-inset-right));
  bottom: calc(1.25rem + env(safe-area-inset-bottom));
  display: none;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4), 0 2px 5px rgba(34, 28, 70, 0.18);
}
.fab-wa .icon { width: 25px; height: 25px; }
.fab-wa:focus-visible { border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) {
  .fab-wa { transition: transform 0.2s ease; }
  .fab-wa:hover { transform: scale(1.07); }
}

/* Sticky Call / WhatsApp bar: phones only */
.mobile-bar {
  position: fixed;
  z-index: 60;
  left: 0; right: 0; bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0.6rem calc(var(--gutter) + env(safe-area-inset-right)) calc(0.6rem + env(safe-area-inset-bottom)) calc(var(--gutter) + env(safe-area-inset-left));
  background: rgba(255, 255, 255, 0.97);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(34, 28, 70, 0.08);
}
.mobile-bar .btn { min-height: 46px; padding-inline: 0.75rem; box-shadow: none; }

/* Leave room so the bar never covers the end of the footer */
.site-footer { padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom)); }

@media (min-width: 768px) {
  .mobile-bar { display: none; }
  .fab-wa { display: grid; }
  .site-footer { padding-bottom: 0; }
}

/* ---------- 21. Layout enhancements ---------- */

/* Header gets a soft shadow once you scroll (class added by main.js) */
.site-header { transition: box-shadow 0.25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(34, 28, 70, 0.08); }

/* Hero: dotted pattern behind the photo */
.hero-media::before {
  content: "";
  position: absolute;
  left: -18px; top: 28%;
  width: 120px; height: 150px;
  background-image: radial-gradient(var(--indigo) 1.6px, transparent 1.8px);
  background-size: 14px 14px;
  opacity: 0.22;
  pointer-events: none;
}

/* Room cards: shorter photos on phones, "included" line, photo zoom on hover */
.room-card .media { aspect-ratio: 16 / 10; }
.room-includes {
  display: flex;
  align-items: flex-start;
  line-height: 1.35;
  gap: 0.45rem;
  margin: -0.25rem 0 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--indigo);
}
.room-includes .icon {
  width: 20px; height: 20px;
  padding: 3px;
  border-radius: 50%;
  background: var(--lavender);
  stroke-width: 3;
  margin-top: -1px;
}
@media (prefers-reduced-motion: no-preference) {
  .room-card .media img { transition: transform 0.5s ease; }
  .room-card:hover .media img { transform: scale(1.05); }
}

/* Safety: keep the coral circle away from the heading on phones */
.section-safety::before { width: 150px; height: 150px; top: -80px; right: -70px; }
@media (min-width: 880px) {
  .section-safety::before { width: 260px; height: 260px; top: -110px; right: -90px; }
}

/* Gallery: mosaic on tablet/desktop (first photo large) */
@media (min-width: 768px) {
  .gallery-grid li:first-child { grid-column: span 2; grid-row: span 2; }
  .gallery-grid li:first-child .gallery-item,
  .gallery-grid li:first-child .media { height: 100%; aspect-ratio: auto; }
}

/* Call-to-action band */
.cta-band-wrap { padding-bottom: 3.5rem; }
.cta-band {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 1.25rem;
  padding: 1.75rem 1.5rem;
  border-radius: 28px;
  background: var(--sunshine);
  box-shadow: var(--shadow);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -60px; bottom: -90px;
  width: 200px; height: 200px;
  border-radius: 50%;
  border: 24px solid rgba(255, 255, 255, 0.55);
  pointer-events: none;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 18px; top: -26px;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--coral);
  pointer-events: none;
}
.cta-text, .cta-actions { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.5rem, 1.4vw + 1.1rem, 2rem); margin-bottom: 0.35rem; padding-right: 3rem; }
.cta-band p { margin: 0; color: var(--ink); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-actions .btn { flex: 1 1 auto; }
@media (min-width: 480px) {
  .cta-actions .btn { flex: 0 0 auto; } /* natural width, never stretched */
}

@media (min-width: 880px) {
  .cta-band-wrap { padding-bottom: 4.75rem; }
  .cta-band { grid-template-columns: 1fr auto; align-items: center; gap: 2rem; padding: 2.5rem 3rem; }
  .cta-band h2 { padding-right: 0; }
  .cta-band::after { right: 34%; top: -30px; }
}

/* FAQ: heading on the left, questions on the right (desktop) */
.faq-layout > .faq { max-width: 780px; width: 100%; margin-inline: auto; }
.faq-more { margin-top: 0.75rem; }
.faq-more a { font-weight: 600; }

@media (min-width: 880px) {
  .faq-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 3.5rem;
    align-items: start;
  }
  .faq-head {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    margin: 0;
    text-align: left;
  }
  .faq-layout > .faq { max-width: none; }
}

/* FAQ answer fades in when opened */
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] p { animation: faq-in 0.25s ease; }
}
@keyframes faq-in {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* Contact: form + "Prefer to talk?" panel */
.contact-layout {
  display: grid;
  gap: 1.5rem;
  max-width: 780px;
  margin-inline: auto;
}
.contact-side {
  order: 2; /* on phones the form comes first */
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem;
  border-radius: var(--r-card);
  background: var(--indigo);
  color: #fff;
  box-shadow: var(--shadow);
}
.contact-side::after {
  content: "";
  position: absolute;
  right: -45px; top: -45px;
  width: 110px; height: 110px;
  border-radius: 50%;
  background: var(--coral);
  opacity: 0.9;
  pointer-events: none;
}
.contact-side > * { position: relative; z-index: 1; }
.contact-side h3 { padding-right: 2.5rem; }
.contact-side h3 { color: #fff; font-size: 1.3rem; margin-bottom: 0.25rem; }
.contact-side p { margin: 0; color: #E9E6FF; font-size: 0.9375rem; }
.contact-side :focus-visible { outline-color: var(--sunshine); }
.side-list { display: grid; gap: 0.25rem; margin: 1.1rem 0 1.25rem; }
.side-list a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
}
.side-list a:hover span:last-child { text-decoration: underline; }
.side-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.side-icon .icon { width: 18px; height: 18px; }
.side-icon-wa { background: var(--whatsapp); color: var(--ink); }
.side-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.side-row + .side-row { margin-top: 1rem; }
.side-row address,
.side-row p { font-style: normal; line-height: 1.5; color: #E9E6FF; padding-top: 0.5rem; }
.side-row address span { display: block; }
.side-row strong { color: #fff; }

@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 0.85fr 1.15fr;
    max-width: 1000px;
    align-items: start;
    gap: 1.5rem;
  }
  .contact-side { order: 0; position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (min-width: 880px) {
  .contact-layout { gap: 2rem; }
  .contact-side { padding: 2rem; }
}

/* ---------- 22. Reveal-on-scroll (subtle) ----------
   Only active when main.js adds .reveal-ready to <html>,
   so content is always visible without JavaScript. */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .reveal-ready .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Respect "reduce motion" everywhere */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
