/* Hakuna Matata Homestay Group - shared stylesheet */

:root {
  --orange: #E8A030;
  --orange-dark: #D98A1E;
  --navy: #2E3A4E;
  --green: #2C8C6B;
  --whatsapp: #25D366;
  --ink: #1c1c1c;
  --paper: #ffffff;
  --muted: #6b6459;
  --cream: #FBF3E7;
  --line: #e6dcc8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
h1, h2, h3, h4, .head-font {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  margin: 0 0 0.5em;
  line-height: 1.25;
}
a { color: var(--navy); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--orange-dark); }
img { display: block; max-width: 100%; }
ul { margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section-tight { padding: 32px 0; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); color: #eceef1; }
.bg-navy h2 { color: #fff; }
.bg-ink { background: var(--ink); color: #e8e4da; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--orange);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 20px;
  color: var(--green);
}
.brand img { height: 52px; width: 52px; border-radius: 50%; object-fit: cover; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  padding: 9px 13px;
  border-radius: 6px;
  border-bottom: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease;
}
.main-nav a:hover { background: rgba(28,28,28,.1); }
.main-nav a.active { border-bottom: 2px solid var(--ink); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--ink);
  padding: 6px 10px;
  border-radius: 6px;
  transition: background-color .15s ease;
}
.nav-toggle:hover { background: rgba(28,28,28,.1); }

/* "Made for You" nav dropdown - shown on hover/focus (desktop) and inline,
   always expanded, once the mobile hamburger menu is open (see the
   860px-and-below override below). Each link jumps to made-for-you.html
   with a #hash the page reads on load to open that option's overlay
   directly (see initMadeForYou in main.js). */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 6px; margin-bottom: 1px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  vertical-align: middle;
}
@media (min-width: 861px) {
  .nav-dropdown > a::after { transition: transform .15s ease; }
  .nav-dropdown:hover > a::after,
  .nav-dropdown:focus-within > a::after { transform: rotate(225deg); margin-bottom: -3px; }
}
.nav-dropdown-menu {
  display: none;
  position: absolute; top: 100%; left: 0;
  background: #fff; border-radius: 8px; box-shadow: 0 10px 28px rgba(0,0,0,.18);
  padding: 8px; min-width: 200px; z-index: 50;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; color: var(--ink); text-transform: none; font-weight: 500;
  padding: 9px 12px; border-radius: 6px; font-size: 13px;
  white-space: nowrap; border-bottom: none;
}
.nav-dropdown-menu a:hover { background: rgba(28,28,28,.08); }
.breadcrumb {
  font-size: 15px;
  color: var(--muted);
  padding: 14px 0 0;
}
.breadcrumb .container { padding-top: 4px; padding-bottom: 4px; }
/* Bigger, always-visible pill (not just a hover state) so the "back" link
   reads as a clickable control at a glance, not plain breadcrumb text. */
.breadcrumb a {
  font-size: 15px;
  font-weight: 700;
  color: var(--orange-dark);
  background: rgba(232, 160, 48, .12);
  padding: 6px 14px;
  margin: -6px -6px;
  border-radius: 999px;
  transition: background-color .15s ease, color .15s ease;
}
.breadcrumb a:hover { background: rgba(232, 160, 48, .22); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-tall { height: 480px; }
.hero-medium { height: 380px; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,28,28,.1) 30%, rgba(28,28,28,.72) 100%);
  display: flex;
  align-items: flex-end;
}
.hero-overlay .container { padding-bottom: 40px; width: 100%; }
.hero-overlay h1, .hero-overlay p { color: #fff; }
.hero-eyebrow {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--orange);
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero-page-title {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}
.hero-page-title h1 {
  position: absolute;
  left: 28px;
  bottom: 20px;
  color: #fff;
  font-size: 28px;
}

/* ---------- Quick facts ---------- */
.quick-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.fact { display: flex; align-items: center; gap: 8px; font-size: 13.5px; }
.fact svg { flex-shrink: 0; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
}
.card img { width: 100%; height: 170px; object-fit: cover; transition: transform .3s ease; }
.card-body { padding: 16px 18px; }
.card-title { font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 6px; }
.card-meta { font-size: 12.5px; color: var(--muted); }
.see-all { font-size: 13px; font-weight: 700; color: var(--orange-dark); margin-top: 10px; display: inline-block; transition: transform .15s ease; }

/* Whole-card links: bigger click target + a clear hover state, per Ádám's UX request */
a.card {
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  border-color: var(--orange);
}
a.card:hover img { transform: scale(1.04); }
a.card:hover .see-all { transform: translateX(3px); }

/* Tours hub page: every tour sits in one .card each, same look as any other
   card on the site, just laid out in a wide horizontal row instead of a
   grid - see initToursHScroll in main.js for how scrolling translates the
   row. What's below is the plain, no-JS/no-motion baseline: a natively
   horizontally-scrollable strip, so every tour is reachable with just this
   CSS in place. JS then upgrades it (.is-jsdriven) to pin the strip in
   place and drive the row's position itself, matching initHeroPin's own
   scroll-progress math one section down the page. */
.tours-hscroll { position: relative; background: var(--cream); }
.tours-hscroll-pin {
  position: relative;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding: 56px 0;
}
.tours-hscroll-track { display: flex; gap: 24px; padding: 0 48px; width: max-content; }
/* Each card "comes up" into place on its own, exactly like every other
   [data-reveal] element on the site (initScrollReveals in main.js, the
   same shared IntersectionObserver already used for .hub-hero-title,
   .reveal-lines, etc.) - it reveals once, the moment it actually enters
   the viewport. Since these cards enter the viewport at different times as
   the row translates past, that naturally reads as one by one rather than
   all at once, matching the reference recording. A slow, gentle ease-out
   curve (rather than the site's usual plain "ease") is what makes this
   read as smooth instead of just quick. Falls back to fully visible
   immediately under reduced motion or without IntersectionObserver
   support, same as every other [data-reveal] element. Sized to leave room
   for a photo once real per-tour photos are ready - see the build-note on
   this page for why the photos currently shown aren't final. Selector
   includes "a.tours-hscroll-card" specifically (not just the bare class)
   so its transition declaration actually wins over the site-wide a.card
   rule's own transition (element+class beats plain class) instead of
   silently losing to it - that fight only applies to actual <a> cards
   (Tours), so the plain ".tours-hscroll-card" form is what covers the
   Rooms page's cards, which are plain <div>s with nowhere to link to and
   so have no a.card rule to contend with in the first place. Sized (via
   min()) to roughly three-tenths of the viewport width on normal screens
   (Ádám: the three-fifths version was too big, cut about in half), capped
   so it doesn't become absurdly large on very wide monitors. */
a.tours-hscroll-card, .tours-hscroll-card {
  position: relative;
  flex: 0 0 min(30vw, 410px);
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .9s cubic-bezier(0.16, 1, 0.3, 1), transform .9s cubic-bezier(0.16, 1, 0.3, 1);
}
a.tours-hscroll-card.is-visible, .tours-hscroll-card.is-visible { opacity: 1; transform: translateY(0); }
/* A taller, widescreen-ish photo (rather than the small 170px thumbnail
   height used for .card elsewhere) so it reads properly at this larger
   card size. */
.tours-hscroll-card img { height: auto; aspect-ratio: 16 / 9; }
.tours-hscroll-card .card-body { padding: 18px 20px; }
.tours-hscroll-card .card-title { font-size: 17px; }
.tours-hscroll-card .card-meta { font-size: 13px; }
.tours-hscroll-card .card-body p.card-meta { line-height: 1.6; }
/* Whichever card the visitor is pointing at grows to stand out from its
   neighbors - a higher-specificity override of the site-wide a.card:hover
   lift (element+class beats plain class) for the Tours page's <a> cards;
   the plain ".tours-hscroll-card:hover" form handles the Rooms page's
   <div> cards, which have no a.card:hover to lose to. Quicker than the
   slow entrance above, since a hover response needs to feel immediate
   rather than gentle. */
a.tours-hscroll-card:hover, .tours-hscroll-card:hover {
  transform: scale(1.2);
  transition: transform .3s ease;
  z-index: 2;
}
.tours-hscroll-num {
  display: block; font-family: 'Poppins', system-ui, sans-serif;
  font-weight: 700; color: var(--orange-dark); font-size: 13px; margin-bottom: 8px;
}
.tours-hscroll.is-jsdriven .tours-hscroll-pin {
  position: sticky; top: 80px; height: calc(100vh - 80px);
  overflow: hidden; display: flex; align-items: center; padding: 0;
}
.tours-hscroll.is-jsdriven .tours-hscroll-track { will-change: transform; }

/* ---------- Rooms page: fullscreen photo-collage overlay ----------
   Clicking a room card (any .tours-hscroll-card that carries
   data-room-images - Rooms only, never Tours, since Tours cards are real
   links to their own page) opens this one shared overlay rather than each
   room having its own static block, since the number of photos differs
   per room and the same overlay needs to swap its whole collage in place
   when the visitor clicks to the next/previous room. See
   initRoomOverlay() in main.js for how the collage is actually built. */
.tours-hscroll-card[data-room-images] { cursor: pointer; }
.room-overlay {
  position: fixed; inset: 0; z-index: 600;
  opacity: 0; visibility: hidden; pointer-events: none;
  background: var(--ink);
  transition: opacity .4s ease;
}
.room-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.room-overlay-collage {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  grid-auto-flow: dense;
  gap: 3px;
  overflow: hidden;
}
.room-overlay-collage img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
/* A handful of fixed cell shapes, assigned by position in the collage
   (not by which room it is) - the same five slots just end up with fewer
   filled ones for a room with fewer photos, rather than a plain even grid,
   which is what actually makes it read as a "collage" instead of a table. */
.room-overlay-collage img:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.room-overlay-collage img:nth-child(2) { grid-column: 3 / 5; grid-row: 1 / 2; }
.room-overlay-collage img:nth-child(3) { grid-column: 3 / 4; grid-row: 2 / 4; }
.room-overlay-collage img:nth-child(4) { grid-column: 4 / 5; grid-row: 2 / 4; }
.room-overlay-collage img:nth-child(5) { grid-column: 1 / 3; grid-row: 3 / 4; }
/* Each photo "swims in" from its own direction rather than all fading in
   together - direction is assigned round-robin in JS (data-swim on each
   img), not tied to any particular photo, so it looks lively regardless
   of how many photos a given room has. Skipped entirely under reduced
   motion - see the reduced-motion block below. */
@keyframes room-swim-top { from { opacity: 0; transform: translateY(-70px) scale(1.04); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes room-swim-bottom { from { opacity: 0; transform: translateY(70px) scale(1.04); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes room-swim-left { from { opacity: 0; transform: translateX(-70px) scale(1.04); } to { opacity: 1; transform: translateX(0) scale(1); } }
@keyframes room-swim-right { from { opacity: 0; transform: translateX(70px) scale(1.04); } to { opacity: 1; transform: translateX(0) scale(1); } }
.room-overlay-collage img[data-swim="top"] { animation: room-swim-top .7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.room-overlay-collage img[data-swim="bottom"] { animation: room-swim-bottom .7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.room-overlay-collage img[data-swim="left"] { animation: room-swim-left .7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.room-overlay-collage img[data-swim="right"] { animation: room-swim-right .7s cubic-bezier(0.16, 1, 0.3, 1) both; }
.room-overlay-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  padding: 80px 64px 40px;
  background: linear-gradient(0deg, rgba(15,15,15,.92) 0%, rgba(15,15,15,.55) 60%, rgba(15,15,15,0) 100%);
  color: #fff;
  pointer-events: none;
}
.room-overlay-info h2 { font-family: 'Poppins', system-ui, sans-serif; font-size: 28px; margin: 0 0 6px; }
.room-overlay-info .room-overlay-meta { font-size: 13.5px; color: var(--orange); font-weight: 600; margin: 0 0 10px; }
.room-overlay-info p.room-overlay-desc { font-size: 14.5px; line-height: 1.75; max-width: 760px; margin: 0; }
/* Same "highlighted pill, not plain text" close button as Made for You's
   overlay, just under its own name since this is a visually separate
   feature. Higher z-index than the prev/next click-zones below (which are
   also inset clear of this corner, see .room-overlay-prev/-next) so the
   button is never intercepted by them even where their boxes technically
   overlap. */
.room-overlay-close {
  position: absolute; top: 24px; right: 24px; z-index: 3;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,.95); color: var(--ink);
  border-radius: 999px; border: none;
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: background-color .2s ease, transform .2s ease;
}
.room-overlay-close:hover { background: #fff; transform: scale(1.05); }
/* Large edge click-zones rather than small arrow buttons, so "click the
   left/right side of the screen" genuinely works anywhere along that
   edge. The circular icon inside stays faintly visible at all times
   (so touch devices, which never get a :hover state, still show that
   these are tappable) and brightens along with a soft background wash
   on hover for pointer devices. Inset from the very top (clear of the
   close button's own row, not just behind it via z-index) so the two
   controls never physically overlap in the first place - the close
   button used to sit underneath .room-overlay-next's full-height hit
   area and couldn't be clicked. */
.room-overlay-prev, .room-overlay-next {
  position: absolute; top: 76px; bottom: 0; z-index: 2;
  width: 14%; min-width: 72px;
  display: flex; align-items: center;
  background: none; border: none; cursor: pointer;
  transition: background-color .2s ease;
}
.room-overlay-prev { left: 0; justify-content: flex-start; }
.room-overlay-next { right: 0; justify-content: flex-end; }
.room-overlay-prev:hover { background: linear-gradient(90deg, rgba(0,0,0,.35), rgba(0,0,0,0)); }
.room-overlay-next:hover { background: linear-gradient(270deg, rgba(0,0,0,.35), rgba(0,0,0,0)); }
.room-overlay-prev-icon, .room-overlay-next-icon {
  width: 44px; height: 44px; margin: 0 16px;
  border-radius: 50%; background: rgba(255,255,255,.18);
  color: #fff; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  opacity: .8;
  transition: opacity .2s ease, background-color .2s ease;
}
.room-overlay-prev:hover .room-overlay-prev-icon,
.room-overlay-next:hover .room-overlay-next-icon {
  opacity: 1; background: rgba(255,255,255,.32);
}
body.room-overlay-open { overflow: hidden; }

.pill {
  display: inline-block;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  background: var(--cream);
}

/* ---------- Homepage property cards (Mai Châu / Mù Cang Chải) - bigger,
   more pronounced clickable areas, per Ádám's request (2026-09-05) ---------- */
.property-cards { gap: 28px; overflow-x: clip; }
/* On the "Where we are" grid specifically, the two text columns aren't
   necessarily the same length (different real content per property), so
   without this the two cards would sit at different heights - pinning each
   card to the bottom of its (grid-stretched, so already equal-height)
   column via margin-top: auto keeps both cards level with each other
   regardless of how long either paragraph runs. */
.property-cards > div { display: flex; flex-direction: column; }
.property-cards > div > .reveal-side-left,
.property-cards > div > .reveal-side-right { margin-top: auto; padding-top: 24px; }
.property-cards .card {
  border-radius: 12px;
  border-width: 2px;
}
.property-cards .card img { height: 260px; }
.property-cards .card-body { padding: 26px 28px; }
.property-cards .card-meta { font-size: 14px; }
.property-cards .pill { font-size: 13px; padding: 7px 18px; }
.property-cards .see-all { font-size: 16px; margin-top: 16px; }
.property-cards a.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 44px rgba(0,0,0,.2);
  border-color: var(--orange);
}
.property-cards a.card:hover img { transform: scale(1.06); }

@media (max-width: 860px) {
  .property-cards .card img { height: 200px; }
}

/* ---------- Group homepage scroll story (hero pin + About Us reveals) ----------
   The hero image "pins" in place (position: sticky, right under the sticky
   site-header) while the visitor scrolls through an extra viewport's worth
   of height, during which the tagline crossfades from its first half to its
   second (main.js, initHeroPin). Below it, section headings "swim in" from
   the side and paragraphs reveal sentence by sentence as they scroll into
   view (main.js, initScrollReveals, one shared IntersectionObserver reused
   for every [data-reveal] element - reveals once, doesn't re-trigger on
   scrolling back up). 80px below matches the site-header's actual rendered
   height (measured live: a 2px discrepancy against an earlier 52px-logo +
   14px-padding estimate was leaving a hairline gap under the header). */
.hero-pin-wrap { position: relative; height: 200vh; }
.hero-pin {
  position: sticky; top: 80px;
  height: calc(100vh - 80px);
  overflow: hidden;
  z-index: 1;
}
.hero-pin img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* width:100% matters here: with only absolutely-positioned children, this
   element has no normal-flow content of its own, so as a flex item
   (.hero-overlay's child chain) it would otherwise collapse to near-zero
   intrinsic width - which was silently capping every .hero-headline's
   rendered width to whatever that collapsed size happened to be, regardless
   of max-width, and forcing far more line-wraps than intended. */
.hero-headline-stack { position: relative; width: 100%; min-height: 320px; }
.hero-headline {
  position: absolute; left: 0; right: 0;
  color: #fff;
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
/* First half of the tagline: bigger and sitting higher, since it's the
   opening beat and reads better with room to breathe above it. Wide enough
   that it wraps to two lines rather than one word per line at this size. */
.hero-headline[data-hero-headline="1"] { bottom: 80px; font-size: 60px; max-width: 950px; }
/* Second half: a wider box so the longer sentence wraps into fewer, longer
   lines, also raised a little off the very bottom edge. */
.hero-headline[data-hero-headline="2"] { bottom: 50px; font-size: 44px; max-width: 1050px; }
.hero-headline.is-active { opacity: 1; transform: translateY(0); }
/* Nested inside headline 1 only, so it shares that headline's opacity
   transition automatically (a child's own opacity compounds with its
   parent's - no separate transition needed) and disappears again once the
   visitor has actually started scrolling and the tagline swaps. */
.hero-scroll-hint {
  display: block;
  font-family: 'Poppins', system-ui, sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.85);
  margin-top: 18px;
}

#about-us { overflow-x: hidden; }
.story-heading {
  text-align: center;
  font-size: 40px;
  opacity: 0; transform: translateX(-70px);
  transition: opacity .8s ease, transform .8s ease;
}
.story-heading.is-visible { opacity: 1; transform: translateX(0); }

.reveal-side-left, .reveal-side-right {
  opacity: 0;
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-side-left { transform: translateX(-70px); }
.reveal-side-right { transform: translateX(70px); }
.reveal-side-left.is-visible, .reveal-side-right.is-visible { opacity: 1; transform: translateX(0); }

/* Each sentence is its own block, revealed with a small staggered delay so
   the paragraph reads as though it's settling in line by line rather than
   fading in all at once. */
.reveal-lines .reveal-line {
  display: block;
  opacity: 0; transform: translateY(14px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal-lines.is-visible .reveal-line { opacity: 1; transform: translateY(0); }
.reveal-lines.is-visible .reveal-line:nth-child(1) { transition-delay: .05s; }
.reveal-lines.is-visible .reveal-line:nth-child(2) { transition-delay: .16s; }
.reveal-lines.is-visible .reveal-line:nth-child(3) { transition-delay: .27s; }
.reveal-lines.is-visible .reveal-line:nth-child(4) { transition-delay: .38s; }
.reveal-lines.is-visible .reveal-line:nth-child(5) { transition-delay: .49s; }
.reveal-lines.is-visible .reveal-line:nth-child(6) { transition-delay: .6s; }

/* Simple fade-up reveal for standalone moments like the quote banner
   between the reviews and the footer - same [data-reveal]/IntersectionObserver
   mechanism as everything else above. */
.reveal-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-fade-up.is-visible { opacity: 1; transform: translateY(0); }
/* Fourth swim-in direction (the other three are reveal-side-left/-right and
   reveal-fade-up above) - used so the floating review cards each enter from
   a different direction rather than all sliding the same way. */
.reveal-from-top {
  opacity: 0;
  transform: translateY(-40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-from-top.is-visible { opacity: 1; transform: translateY(0); }

/* Whole-section reveal (background image and all, not just the text inside
   it) for standalone full-bleed moments - the quote banner and the guest
   reviews section. A little scale added on top of the fade/slide so the
   photo itself visibly settles into place too. */
.reveal-section-fade {
  opacity: 0;
  transform: translateY(30px) scale(.97);
  transition: opacity 1s ease, transform 1s ease;
}
.reveal-section-fade.is-visible { opacity: 1; transform: translateY(0) scale(1); }

/* ---------- "What we offer" - full-bleed opening + three alternating
   text/image rows, each swimming in from opposite sides ---------- */
.offer-hero {
  position: relative;
  height: calc(100vh - 80px);
  overflow: hidden;
}
.offer-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.offer-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(20,20,20,.4);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.offer-hero-text {
  padding: 0 24px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}
.offer-hero.is-visible .offer-hero-text { opacity: 1; transform: translateY(0); }
.offer-hero-title {
  display: block;
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 700;
  font-size: 56px; color: #fff;
}
.offer-hero-sub {
  display: block;
  font-size: 22px; color: #fff;
  max-width: 700px; margin: 16px auto 0;
}

.offer-grid { display: block; overflow-x: clip; }
.offer-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0;
}
/* min-height (not a fixed height) on the wrapper, so the grid row can grow
   taller than 480px when the text side's content needs more room (longer
   paragraphs, a heading) - the image itself then stretches to match via
   height:100% rather than staying fixed at 480 and leaving a gap under it. */
.offer-row-image { min-height: 480px; }
.offer-row-image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; border-radius: 0;
}
.offer-row-text {
  background: var(--ink);
  display: flex; align-items: center;
  padding: 48px 64px;
  box-sizing: border-box;
}
.offer-row-text p {
  font-size: 20px; line-height: 1.6; margin: 0; color: #fff;
}
.offer-row-text h2 { color: #fff; margin: 0 0 10px; }

/* ---------- Property hub pages: full-bleed welcome hero + staggered
   card grid ---------- */
.hub-hero {
  position: relative;
  height: calc(100vh - 80px);
  overflow: hidden;
}
.hub-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hub-hero-overlay {
  position: absolute; inset: 0;
  background: rgba(20,20,20,.35);
  display: flex; align-items: center; justify-content: center;
  text-align: center;
}
.hub-hero-title {
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 700;
  font-size: 56px; color: #fff;
  padding: 0 24px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s ease, transform .9s ease;
}
.hub-hero.is-visible .hub-hero-title { opacity: 1; transform: translateY(0); }

/* Each card in a property hub's grid fades up into place with a slight
   stagger, so the row reads as settling in one by one rather than all at
   once - same nth-child-delay technique as .reveal-lines above, just
   applied to grid items instead of text lines. Scoped to .hub-card-row
   (not bare .grid-3) since .grid-3 is also used for the tours-index card
   grid, which isn't part of this reveal system and would otherwise be
   stuck at opacity:0 forever with no [data-reveal] observer to reveal it. */
.hub-card-row > a.card {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.hub-card-row.is-visible > a.card { opacity: 1; transform: translateY(0); }
.hub-card-row.is-visible > a.card:nth-child(1) { transition-delay: .05s; }
.hub-card-row.is-visible > a.card:nth-child(2) { transition-delay: .18s; }
.hub-card-row.is-visible > a.card:nth-child(3) { transition-delay: .31s; }

/* ---------- "Made for You" page: pinned hero (reuses the landing page's
   .hero-pin-wrap/.hero-pin/initHeroPin mechanism verbatim - it's generic,
   driven only by class names - just restyled here via the .mfy-hero scope
   so this page's centered title+paragraph don't inherit the landing page's
   own bottom-left tagline sizing), three full-height circle-reveal panels,
   and a fullscreen detail overlay per option.
   The Tours hub pages (.tours-hero) reuse this exact same centered-hero
   treatment for their own "Tours around..." title + intro line, so both
   scopes share the one set of rules below rather than duplicating them. ---------- */
.mfy-hero .hero-overlay, .tours-hero .hero-overlay { background: rgba(20,20,20,.4); align-items: center; }
.mfy-hero .hero-headline-stack, .tours-hero .hero-headline-stack { min-height: 200px; }
.mfy-hero .hero-headline, .tours-hero .hero-headline { text-align: center; bottom: 0; }
.mfy-hero .hero-headline[data-hero-headline="1"],
.tours-hero .hero-headline[data-hero-headline="1"] {
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 700;
  font-size: 60px; max-width: 900px; margin: 0 auto;
}
.mfy-hero .hero-headline[data-hero-headline="2"],
.tours-hero .hero-headline[data-hero-headline="2"] {
  font-size: 19px; line-height: 1.85; max-width: 780px; margin: 0 auto; font-weight: 400;
}

/* Three full-height options, side by side, touching the hero above them
   (.mfy-panels has no padding/margin of its own). The circle-reveal-on-scroll
   idea was dropped (Ádám: "the circle animation doesn't work, let's leave
   that out") - panels are just plain visible now, no clip-path animation
   or reveal-on-scroll dependency at all, so there's nothing here left that
   can end up stuck invisible.
   .mfy-panels-wrap adds a scroll "buffer" once the three panels fill the
   whole screen: a taller wrapper (one screen plus a bit extra) with
   .mfy-panels itself pinned via position:sticky inside it - the same
   plain CSS technique .hero-pin-wrap/.hero-pin already use, just without
   any JS, since nothing here needs to crossfade or translate, only hold in
   place. Sticky naturally holds in both scroll directions (scrolling down
   into the next section, or back up into this one, both take a little
   extra scrolling before anything moves), so this needs no JavaScript at
   all. Limited to desktop widths - on mobile the three panels stack
   instead of sitting side by side, so they no longer form one single
   full-screen unit worth holding in place, and pinning would just pin an
   oversized stack awkwardly. Also turned off under reduced motion, same
   as .hero-pin-wrap/.hero-pin - see the reduced-motion block below. */
.mfy-panels-wrap { position: relative; height: calc(100vh - 80px + 50vh); }
.mfy-panels { position: sticky; top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); }
.mfy-panel {
  position: relative;
  height: calc(100vh - 80px);
  overflow: hidden;
  display: block;
  color: #fff;
}
.mfy-panel img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.mfy-panel-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,20,20,0) 55%, rgba(20,20,20,.65) 100%);
  transition: background-color .4s ease;
}
.mfy-panel-label {
  position: absolute; left: 32px; bottom: 32px; right: 76px;
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 700;
  font-size: 26px;
}
.mfy-panel-plus {
  position: absolute; right: 32px; bottom: 28px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.85);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; line-height: 1;
  transition: background-color .3s ease, transform .3s ease;
}
.mfy-panel:hover img { transform: scale(1.06); }
.mfy-panel:hover .mfy-panel-scrim { background: rgba(20,20,20,.38); }
.mfy-panel:hover .mfy-panel-plus { background: rgba(255,255,255,.95); color: var(--ink); transform: rotate(90deg); }

/* Fullscreen detail overlay - one per option, hidden until its matching
   panel (or a "Made for You" nav-dropdown link, via a #hash on load) opens
   it. Kept in the DOM as plain markup (not built by JS) so its real
   content/links are easy to read and edit directly in the page source. */
.mfy-overlay {
  position: fixed; inset: 0; z-index: 500;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s ease;
}
.mfy-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.mfy-overlay img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mfy-overlay-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,20,20,.82) 0%, rgba(20,20,20,.55) 42%, rgba(20,20,20,.15) 70%);
}
/* top+bottom (not a fixed max-height) so the box gets as much of the
   screen's height as is actually available, content anchored to the
   bottom of that taller box via flex - the longest option (Traveling
   Solo) previously needed its own internal scrollbar at most window
   sizes; giving it more real room removes the need for one instead of
   just shrinking the text to fit. */
.mfy-overlay-content {
  position: absolute; left: 0; top: 96px; bottom: 0; max-width: 620px;
  padding: 0 56px 56px; color: #fff;
  overflow-y: auto;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.mfy-overlay-content h2 {
  font-family: 'Poppins', system-ui, sans-serif; font-size: 32px; margin: 0 0 18px;
}
.mfy-overlay-content p { font-size: 15px; line-height: 1.85; margin: 0 0 16px; }
.mfy-overlay-content a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.mfy-overlay-content .persona-best-time { color: var(--orange); font-size: 13.5px; font-style: italic; }
/* Deliberately more visible than a plain text "close" link - a real
   bordered pill button, easy to spot and hit, sitting comfortably clear
   of the site header. */
.mfy-overlay-close {
  position: absolute; top: 24px; right: 24px; z-index: 1;
  display: flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: rgba(255,255,255,.95); color: var(--ink);
  border-radius: 999px; border: none;
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: background-color .2s ease, transform .2s ease;
}
.mfy-overlay-close:hover { background: #fff; transform: scale(1.05); }
body.mfy-open { overflow: hidden; }

@media (max-width: 860px) {
  .hero-pin-wrap { height: 180vh; }
  .hero-headline-stack { min-height: 300px; }
  .hero-headline[data-hero-headline="1"] { font-size: 38px; bottom: 90px; max-width: 100%; }
  .hero-headline[data-hero-headline="2"] { font-size: 28px; bottom: 40px; max-width: 100%; }
  .story-heading { font-size: 28px; }
  .story-heading, .reveal-side-left, .reveal-side-right { transform-origin: center; }
  .offer-hero-title { font-size: 36px; }
  .offer-hero-sub { font-size: 18px; }
  .offer-row { grid-template-columns: 1fr; }
  .offer-row-image { order: -1; }
  .offer-row-image img { height: 240px; }
  .offer-row-text { padding: 32px 24px; }
  .offer-row-text p { font-size: 17px; }
  .hub-hero-title { font-size: 34px; }
  .mfy-hero .hero-headline[data-hero-headline="1"],
  .tours-hero .hero-headline[data-hero-headline="1"] { font-size: 34px; max-width: 100%; }
  .mfy-hero .hero-headline[data-hero-headline="2"],
  .tours-hero .hero-headline[data-hero-headline="2"] { font-size: 16px; max-width: 100%; }
  .mfy-panels-wrap { height: auto; }
  .mfy-panels { position: static; grid-template-columns: 1fr; }
  .mfy-panel { height: 70vh; }
  .mfy-panel-label { font-size: 21px; }
  .mfy-overlay-content { max-width: 100%; top: 80px; padding: 0 24px 40px; }
  .mfy-overlay-content h2 { font-size: 25px; }
  .tours-hscroll-track { padding: 0 20px; gap: 16px; }
  .tours-hscroll-card { flex: 0 0 82vw; }
  .room-overlay-collage {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
  .room-overlay-collage img:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
  .room-overlay-collage img:nth-child(2) { grid-column: 1 / 2; grid-row: 3 / 4; }
  .room-overlay-collage img:nth-child(3) { grid-column: 2 / 3; grid-row: 3 / 4; }
  .room-overlay-collage img:nth-child(4) { grid-column: 1 / 2; grid-row: 4 / 5; }
  .room-overlay-collage img:nth-child(5) { grid-column: 2 / 3; grid-row: 4 / 5; }
  .room-overlay-info { padding: 60px 24px 28px; }
  .room-overlay-info h2 { font-size: 21px; }
  .room-overlay-prev, .room-overlay-next { width: 20%; }
}

@media (prefers-reduced-motion: reduce) {
  /* No scroll-jacking pin and no animated reveals for a reduced-motion
     visitor - the hero becomes one static full-height image with both
     tagline halves shown stacked underneath each other, and every section
     below just appears normally as the page is laid out. */
  .hero-pin-wrap { height: calc(100vh - 80px); }
  .hero-pin { position: static; height: 100%; }
  .hero-headline-stack { min-height: 0; }
  .hero-headline {
    position: static; margin-bottom: 12px;
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .story-heading, .reveal-side-left, .reveal-side-right, .reveal-lines .reveal-line,
  .reveal-fade-up, .reveal-from-top, .reveal-section-fade, .offer-hero-text,
  .hub-hero-title, .hub-card-row > a.card, .tours-hscroll-card {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .mfy-panel img, .mfy-overlay, .mfy-overlay-close { transition: none !important; }
  .room-overlay { transition: none !important; }
  .room-overlay-collage img {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .mfy-panels-wrap { height: auto; }
  .mfy-panels { position: static; }
}

/* ---------- Quote / testimonial ---------- */
.quote {
  border-left: 4px solid var(--orange);
  background: var(--cream);
  padding: 18px 24px;
  font-style: italic;
  border-radius: 0 6px 6px 0;
}
.quote-source { margin-top: 10px; font-style: normal; font-size: 12.5px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  font-family: 'Poppins', system-ui, sans-serif;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.16); }
.btn-primary { background: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); color: #fff; }
.btn-whatsapp { background: var(--whatsapp); }
.btn-whatsapp:hover { color: #fff; opacity: .92; }
.btn-navy { background: var(--navy); }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Gallery ---------- */
.masonry { columns: 4; column-gap: 14px; }
.masonry figure { break-inside: avoid; margin: 0 0 14px; border-radius: 6px; overflow: hidden; cursor: pointer; }
.masonry img { width: 100%; transition: transform .3s ease; }
/* Three-column variant for a tour page's own photo set (the Gallery pages
   keep the default four) - sits below the tour's text, full container width. */
.masonry-3 { columns: 3; margin-top: 36px; }
.masonry figure:hover img { transform: scale(1.06); }

/* ---------- Floating reviews (group homepage only) ---------- */
.floating-reviews { position: relative; overflow: hidden; }
.floating-reviews-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.floating-reviews-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(28,28,28,.58), rgba(28,28,28,.74));
}
.floating-reviews-content { position: relative; z-index: 2; padding: 44px 24px 36px; text-align: center; }
.floating-reviews-content .hero-eyebrow { color: var(--orange); }
.floating-reviews-content h2 { color: #fff; font-size: 24px; margin-bottom: 0; }
.floating-reviews-stage { position: relative; height: 380px; margin-top: 16px; }

/* One-time "swim in" wrapper around each card (position: absolute takes
   over from the card itself), kept separate from the card's own repeating
   quote-cycle fade below it - otherwise the two animations (a one-time
   entrance vs. a fade every ~7s as the quote changes) would fight over the
   same opacity/transform properties on the same element. Direction classes
   are the same generic reveal-side-left/-right/-from-top/-fade-up used
   elsewhere on the page, just reused here so each of the four cards enters
   from a different edge. */
.floating-reviews-stage > [data-reveal] { position: absolute; }
.floating-review-card {
  max-width: 260px;
  background: rgba(255,255,255,.97);
  border-radius: 10px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
  font-size: 12px;
  line-height: 1.45;
  color: var(--ink);
  text-align: left;
  opacity: 0;
  transform: translateY(16px) scale(.96);
  transition: opacity .6s ease, transform .6s ease;
}
.floating-review-card.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.frc-score {
  display: inline-block; background: var(--orange); color: #fff; font-weight: 700;
  font-size: 10px; padding: 2px 7px; border-radius: 4px; margin-bottom: 5px;
}
.frc-text { font-style: italic; }
.frc-source { margin-top: 6px; font-size: 10px; color: var(--muted); font-style: normal; }

@media (max-width: 860px) {
  .floating-reviews-stage { height: auto; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-bottom: 8px; }
  .floating-reviews-stage > [data-reveal] { position: static !important; width: 100%; max-width: 340px; }
}

/* ---------- Notes (dev-facing, remove before final launch polish) ---------- */
.build-note {
  border: 2px dashed #8a5a2b;
  background: #f3e6d6;
  color: #8a5a2b;
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.55;
  margin: 20px 0;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 44px 0;
  font-size: 13px;
  line-height: 1.7;
}
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { font-family: 'Poppins', system-ui, sans-serif; font-size: 19px; font-weight: 700; color: #fff; }
.footer-fine { font-size: 11.5px; color: #a39d90; margin-top: 16px; max-width: 320px; line-height: 1.6; }
.footer-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer-col h4 { color: #fff; font-size: 13px; margin-bottom: 6px; }

/* Footer contact details are real tel:/mailto: links (tappable on phones),
   styled to read like the surrounding footer text. */
.footer-col a { color: inherit; }
.footer-col a:hover { color: var(--orange); }

/* "Ready to book?" block at the end of every property subpage. */
.book-cta { text-align: center; }
.book-cta h2 { font-size: 22px; }

/* Social icons: each platform in its own brand color, real icon shapes instead of letters */
.social-row { display: flex; gap: 12px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.social-row a svg { width: 18px; height: 18px; display: block; }
.social-row a:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(0,0,0,.35); filter: brightness(1.08); }
.social-yt { background: #FF0000; }
.social-ig { background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-fb { background: #1877F2; }
.social-ta { background: #34E0A1; }

.legal-line { text-align: center; font-size: 11px; color: #8a8377; padding-top: 24px; margin-top: 24px; border-top: 1px solid #332f27; }

/* ---------- Tour detail pages: the tour's own photos tile the whole section
   behind the text (rows of touching images, no gaps), under a dark scrim ---------- */
.tour-detail { position: relative; isolation: isolate; color: #fff; --muted: rgba(255,255,255,.82); }
.tour-detail h1, .tour-detail h3, .tour-detail p, .tour-detail li { color: #fff; }
.tour-detail .tour-closing { border-top-color: rgba(255,255,255,.35); }
.tour-collage { position: absolute; inset: 0; z-index: -2; display: grid; overflow: hidden; background: #1c1a16; }
.tour-collage-row { display: flex; min-height: 0; }
.tour-collage-row img { flex: 1 1 0; width: 0; min-width: 0; height: 100%; object-fit: cover; object-position: center 35%; }
.tour-detail::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(12,12,12,.84) 0%, rgba(12,12,12,.74) 55%, rgba(12,12,12,.30) 100%);
}
@media (max-width: 760px) {
  .tour-detail::before { background: rgba(12,12,12,.78); }
}

/* ---------- Restaurant pages: pinned full-screen photo collage hero.
   Same .hero-pin-wrap/initHeroPin mechanism as the Tours and Made for You
   heroes: "Restaurant" shows first, then the intro paragraphs crossfade in
   over the same collage as the visitor scrolls. The collage reuses the tour
   pages' .tour-collage rows (touching images, no gaps). ---------- */
.restaurant-hero .hero-pin .tour-collage { z-index: 0; }
.restaurant-hero .hero-pin .tour-collage-row img { width: 0; height: 100%; }
.restaurant-hero .hero-overlay { background: rgba(20,20,20,.55); align-items: center; z-index: 1; transition: background-color .6s ease; }
/* Darker once the intro paragraphs take over, so the longer text stays easy to read over the busy collage. */
.restaurant-hero .hero-overlay:has([data-hero-headline="2"].is-active) { background: rgba(20,20,20,.72); }
.restaurant-hero .hero-headline-stack { min-height: 380px; }
.restaurant-hero .hero-headline { text-align: center; bottom: auto; top: 50%; transform: translateY(calc(-50% + 18px)); }
.restaurant-hero .hero-headline.is-active { transform: translateY(-50%); }
.restaurant-hero .hero-headline[data-hero-headline="1"] {
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 700;
  font-size: 72px; max-width: 900px; margin: 0 auto;
}
.restaurant-hero .hero-headline[data-hero-headline="2"] { max-width: 780px; margin: 0 auto; }
.restaurant-hero .hero-headline p { font-size: 19px; line-height: 1.85; margin: 0 0 14px; color: #fff; }
.restaurant-hero .hero-headline a { color: #fff; text-decoration: underline; }
@media (max-width: 760px) {
  .restaurant-hero .hero-headline[data-hero-headline="1"] { font-size: 44px; }
  .restaurant-hero .hero-headline p { font-size: 15.5px; line-height: 1.7; }
}
@media (prefers-reduced-motion: reduce) {
  .restaurant-hero .hero-headline { transform: none !important; }
}

/* ---------- Restaurant menu (Mai Châu restaurant page) ---------- */
.menu-head { text-align: center; margin-bottom: 36px; }
.menu-head h2 { font-size: 30px; margin-bottom: 6px; }
.menu-head p { color: var(--muted); font-size: 14px; margin: 0; }
.menu-columns { columns: 2; column-gap: 56px; }
.menu-cat { break-inside: avoid; margin: 0 0 36px; }
.menu-cat h3 { font-size: 19px; color: var(--orange-dark); border-bottom: 2px solid var(--orange); padding-bottom: 6px; margin-bottom: 12px; }
.menu-cat-note { font-size: 13px; color: var(--muted); font-style: italic; margin: -4px 0 12px; }
.menu-item { padding: 7px 0; border-bottom: 1px dotted var(--line); }
.menu-item-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.menu-item-name { font-weight: 700; font-size: 14.5px; }
.menu-item-price { font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 14px; white-space: nowrap; color: var(--ink); }
.menu-item-sub { font-size: 13px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
.menu-subhead { text-align: center; font-size: 24px; margin: 20px 0 8px; }
.menu-sets { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin: 20px 0 48px; }
.menu-set { background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 20px 22px; }
.menu-set-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.menu-set-top h4 { font-size: 16px; margin: 0; }
.menu-set-meta { font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.menu-set ul { margin: 0; padding-left: 18px; font-size: 13.5px; line-height: 1.75; }
.menu-vi { display: block; font-size: 12px; color: var(--muted); font-style: italic; line-height: 1.4; }
.menu-set-foot { font-size: 12.5px; color: var(--muted); font-style: italic; margin: 10px 0 0; }
.menu-columns-drinks { margin-top: 24px; }
@media (max-width: 760px) {
  .menu-columns { columns: 1; }
}

/* ---------- Tour closing block (standardized across all tour pages) ---------- */
.tour-closing {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
}

/* ---------- Made for You: shared "best time" note style (the persona-block
   card styling this used to share a section with is gone - both made-for-you
   pages are now the panel/overlay layout above, not plain text cards) ---------- */
.persona-best-time { font-size: 13px; color: var(--muted); font-style: italic; margin: 10px 0 0; }

/* ---------- Page transition overlay (fade to a cover, then navigate) ---------- */
.page-fade-overlay {
  position: fixed; inset: 0; background: var(--paper);
  z-index: 9999; opacity: 0; pointer-events: none;
  transition: opacity .28s ease;
  will-change: opacity;
}
.page-fade-overlay.is-active { opacity: 1; pointer-events: all; }

/* Logo flash shown over the fade overlay specifically when navigating back
   to a hub page (group homepage or a property hub) - a brief "returning
   home" beat, not shown on every page transition. Delayed slightly so it
   pops in only once the white overlay has already covered the screen, then
   fades/scales out quickly right before navigation (JS times the actual
   navigation to land just after this finishes - see main.js). */
.pt-nav-logo {
  position: fixed; inset: 0; z-index: 10001;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.pt-nav-logo img {
  width: 140px; height: 140px;
  opacity: 0; transform: scale(.75);
  transition: opacity .22s ease .15s, transform .22s ease .15s;
}
.pt-nav-logo.is-active { opacity: 1; }
.pt-nav-logo.is-active img { opacity: 1; transform: scale(1); }
.pt-nav-logo.is-leaving img { opacity: 0; transform: scale(.85); transition: opacity .18s ease, transform .18s ease; }

/* ---------- Cloud + real-screenshot "zoom in" transition (homepage property cards) ---------- */
.pt-stage {
  position: fixed; inset: 0; z-index: 10000;
  background: linear-gradient(180deg, #bfe3f5 0%, #eaf6fb 60%, #f7fbe9 100%);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  overflow: hidden;
  will-change: opacity;
}
.pt-stage.is-active { opacity: 1; pointer-events: all; }

/* Two cloud "banks" swoop in from opposite edges, meet in the middle and
   fully cover the screen for a moment, then keep moving on across and off
   the far side, revealing the map underneath as they clear. Each bank is a
   solid backstop body (guarantees opaque full-bank coverage on its own,
   so the clouds drawn on top of it are free to be spaced out and don't
   need to tile edge-to-edge themselves) plus several individual, properly
   cloud-shaped SVG graphics scattered across it - so at full-screen
   coverage you see a cluster of distinct clouds, not a flat rectangle or
   a field of plain circles. No CSS filter is used - a live blur on an
   animating element is a common repaint/jank source - softness comes from
   gradients only, and each cloud's outline comes from drawing the same
   lobes twice (see .pt-cw-cloud below), not from a filter. The two banks
   are 68% of the viewport wide each, so at rest (mid-animation) they
   overlap by 36% in the middle - comfortable margin for full coverage
   even before easing settles exactly. */
.pt-cloudwipe {
  position: absolute; top: 0; bottom: 0;
  width: 68%;
  z-index: 2;
  will-change: transform;
}
.pt-cloudwipe-left { left: 0; }
.pt-cloudwipe-right { right: 0; }
.pt-stage.is-active .pt-cloudwipe-left { animation: pt-swoop-left 1.5s ease-in-out forwards; }
.pt-stage.is-active .pt-cloudwipe-right { animation: pt-swoop-right 1.5s ease-in-out forwards; }
/* Backstop body: same soft tone as the clouds (not flat white), doing all
   the work of guaranteeing opaque coverage - the clouds on top of it are
   purely decorative, so they're free to have visible gaps between them. */
.pt-cw-body {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #ffffff 0%, #dfeaf3 100%);
}
/* One individual, recognizably cloud-shaped graphic (a flat base plus three
   overlapping round lobes on top - not just a circle). Built as two copies
   of the same lobes: a slightly larger "halo" copy (the .pt-cw-cloud-line
   group, one flat outline color, no gradient) sits behind an exact-size
   filled copy - since both copies overlap identically in the interior, the
   halo only peeks out along the true outer silhouette, giving the whole
   cloud ONE clean rim with no seams between its own lobes, while still
   showing a rim against a neighboring cloud or the sky. This avoids both a
   per-lobe stroke (which would draw seams inside a single cloud) and any
   filter-based "goo" merge technique (which needs blur). Static markup,
   only the parent bank's transform moves - one raster of an already-
   composited layer, not a per-frame repaint. Position is set inline per
   cloud (top/left %, relative to the bank's own box). */
.pt-cw-cloud { position: absolute; overflow: visible;
  width: 30vw; height: 18vw; margin-top: -9vw; margin-left: -15vw;
}
.pt-cw-cloud-line { fill: #9fbcd6; }

/* 0-38%: swoop in from off-screen. 38-58%: hold, fully covering the screen
   together with the other bank. 58-100%: continue on and off the far side. */
@keyframes pt-swoop-left {
  0%        { transform: translateX(-100%); }
  38%, 58%  { transform: translateX(0%); }
  100%      { transform: translateX(155%); }
}
@keyframes pt-swoop-right {
  0%        { transform: translateX(100%); }
  38%, 58%  { transform: translateX(0%); }
  100%      { transform: translateX(-155%); }
}

/* Live map (Leaflet + OpenStreetMap tiles, replacing a static screenshot -
   see PROJECT_STATUS.md for why): full-bleed behind the cloud banks
   (z-index), visible from the very start - it isn't the map that's timed,
   it's the clouds on top of it. The map is centered on the property the
   moment the user clicks, so it's already sitting there (just hidden
   behind the clouds) when they meet in the middle and fully cover the
   screen; as the clouds swoop on and clear, they simply reveal it at its
   initial zoom level. Only once the clouds have fully cleared (is-zooming,
   added by JS after the swoop animation finishes) does the "camera" push
   in toward the pin - a real Leaflet flyTo (pan + zoom), not a CSS
   transform on a raster image, so it stays sharp at any zoom level - and
   the property-name label appears once that settles. Real map tiles at
   the resolution the zoom level actually needs; no upscaling ceiling like
   a fixed-size screenshot has. */
.pt-map-full {
  position: absolute; inset: 0;
  overflow: hidden;
  z-index: 1;
  background: #dfeaf3;
}
/* Leaflet's own container/tile/marker styling comes from leaflet.css
   (loaded in index.html) - this just removes the default focus outline
   Leaflet puts on its container and disables pointer events, since this
   map is a passive cinematic backdrop, not something the user pans or
   zooms themselves (interaction handlers are also disabled in JS). */
.pt-map-full .leaflet-container {
  width: 100%; height: 100%;
  outline: none;
  cursor: default;
  background: #dfeaf3;
}
.pt-map-canvas { position: absolute; inset: 0; }
/* Leaflet's divIcon gives every custom marker a white box + border by
   default (meant for text labels) - stripped here so only our own SVG pin
   (drawn in main.js) shows. */
.pt-map-pin { background: transparent; border: none; }
/* Hanoi's permanent tooltip ("Hanoi" label bubble) restyled from Leaflet's
   default (a plain bordered box with a pointer triangle) into the same
   pill-bubble look used elsewhere on the site (.pt-label), so it reads as
   this site's own UI rather than a generic map widget. */
.pt-hanoi-tooltip {
  background: rgba(255,255,255,.92);
  border: none; border-radius: 999px;
  box-shadow: none;
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 600; font-size: 13px;
  color: var(--ink);
  padding: 4px 12px;
}
.pt-hanoi-tooltip::before { display: none; }

.pt-label {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, 130px);
  font-family: 'Poppins', system-ui, sans-serif; font-weight: 700; font-size: 20px;
  color: var(--ink); background: rgba(255,255,255,.92);
  padding: 8px 20px; border-radius: 999px; white-space: nowrap;
  z-index: 1;
  /* Delay kept at roughly the same fraction of the push-in's duration as
     before (main.js ZOOM_S) - just scaled up since that duration is now
     longer, so the label still settles in as the push-in is finishing
     rather than appearing too early relative to the (now slower) motion. */
  opacity: 0; transition: opacity .4s ease 1.2s;
}
.pt-stage.is-zooming .pt-label { opacity: 1; }

/* Faster swoop on small screens; the camera push-in duration itself is set
   in JS (it's a Leaflet flyTo option, not a CSS transition) using the same
   size check. */
@media (max-width: 640px) {
  .pt-stage.is-active .pt-cloudwipe-left,
  .pt-stage.is-active .pt-cloudwipe-right { animation-duration: .9s; }
  .pt-label { transition: opacity .3s ease .75s; }
  .pt-stage { transition: opacity .2s ease; }
}

/* Respect reduced-motion: no animated transitions at all, just an instant swap */
@media (prefers-reduced-motion: reduce) {
  .page-fade-overlay { transition: none; }
  .pt-nav-logo, .pt-nav-logo img { transition: none; }
  .pt-stage.is-active .pt-cloudwipe-left,
  .pt-stage.is-active .pt-cloudwipe-right { animation: none; display: none; }
  .pt-label { transition: none; }
  .pt-stage { transition: opacity .12s linear; }
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--orange);
    padding: 16px 24px;
    gap: 16px;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .main-nav.open > a { text-align: left; }
  .nav-dropdown { width: 100%; }
  .nav-dropdown-menu {
    display: flex; flex-direction: column;
    position: static; box-shadow: none; background: transparent;
    padding: 4px 0 0 16px; margin-top: 6px; min-width: 0;
  }
  .nav-dropdown-menu a { color: inherit; padding: 6px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .masonry { columns: 2; }
  .hero-tall { height: 320px; }
  .hero-medium { height: 260px; }
  .footer-grid { flex-direction: column; }
}
@media (max-width: 480px) {
  .masonry { columns: 1; }
}
