/* ================================================================
   Stay MA — Client Design Layer
   "Tropical Noir Minimalism"

   Loaded after Tailwind via manifest_baseline override.
   Uses starter CSS custom property tokens where possible.
   ================================================================ */

/* ── Additional tokens not in the starter theme ── */
:root {
  --sm-heading-light: #F0EBE3;
  --sm-text-light: rgba(240, 235, 227, 0.82);
  --sm-text-muted-light: rgba(240, 235, 227, 0.45);
  --sm-border-light: rgba(240, 235, 227, 0.10);
  --sm-border-dark: rgba(28, 45, 54, 0.10);
  --sm-gutter: clamp(1.25rem, 4vw, 3.5rem);
  --sm-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ================================================================
   NAV
   ================================================================ */

.sm-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem var(--sm-gutter);
  transition:
    background 0.45s var(--sm-ease),
    padding 0.45s var(--sm-ease),
    box-shadow 0.45s var(--sm-ease);
}

.sm-nav.is-scrolled {
  background: rgba(11, 29, 41, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-top: 1rem;
  padding-bottom: 1rem;
  box-shadow: 0 1px 0 var(--sm-border-light);
}

/* ── Brand mark ── */

.sm-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
  color: var(--sm-heading-light);
  text-decoration: none;
  gap: 0;
}

.sm-brand__name {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  font-weight: 400;
  line-height: 1;
}

.sm-brand__sub {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--sm-text-muted-light);
  margin-top: 0.35rem;
  padding-left: 0.1rem;
}

/* Uploaded brand logo (ThemeSettings logo_svg/logo_image). The Stay MA asset is
   a white-on-transparent badge, so it sits directly on the dark nav/footer with
   no recolouring. Sized by height; width scales intrinsically. */
.sm-brand__logo,
.sm-brand__logo svg,
.sm-brand__logo img { display: block; height: 5.5rem; width: auto; }
.sm-footer__brand-mark .sm-brand__logo,
.sm-footer__brand-mark .sm-brand__logo svg,
.sm-footer__brand-mark .sm-brand__logo img { height: 7rem; }

/* ── Desktop links ── */

.sm-nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sm-nav__links a {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--sm-text-light);
  position: relative;
  padding: 0.3rem 0;
  text-decoration: none;
  transition: color 0.3s var(--sm-ease);
}

.sm-nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--color-brand-accent, #D4683A);
  transition: width 0.35s var(--sm-ease);
}

.sm-nav__links a:hover,
.sm-nav__links a[aria-current="page"] {
  color: var(--sm-heading-light);
}

.sm-nav__links a:hover::after,
.sm-nav__links a[aria-current="page"]::after {
  width: 100%;
}

/* ── CTA area ── */

.sm-nav__cta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* ── Burger ── */

.sm-burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  flex-shrink: 0;
  padding: 0;
}

.sm-burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--sm-heading-light);
  border-radius: 1px;
  transition: 0.35s var(--sm-ease);
}

.sm-burger span:nth-child(1) { top: 0; }
.sm-burger span:nth-child(2) { top: 9px; }
.sm-burger span:nth-child(3) { top: 18px; }

.sm-nav.is-open .sm-burger span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}
.sm-nav.is-open .sm-burger span:nth-child(2) {
  opacity: 0;
  transform: translateX(-4px);
}
.sm-nav.is-open .sm-burger span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* ── Mobile drawer ── */

.sm-nav__drawer {
  display: none;
}

.sm-nav.is-open .sm-nav__drawer {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: fixed;
  inset: 0;
  z-index: 190;
  background: var(--color-brand-primary, #0B1D29);
  padding: 6rem var(--sm-gutter) 3rem;
  animation: smDrawerIn 0.38s var(--sm-ease) both;
  overflow-y: auto;
}

@keyframes smDrawerIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sm-nav.is-open .sm-nav__drawer { animation: none; }
}

.sm-nav__drawer a {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: 1.8rem;
  color: var(--sm-heading-light);
  text-decoration: none;
  transition: color 0.3s var(--sm-ease);
}

.sm-nav__drawer a:hover {
  color: var(--color-brand-accent, #D4683A);
}

.sm-nav__drawer .sm-btn--primary {
  display: inline-flex;
  margin-top: 1rem;
  align-self: flex-start;
}

/* ── Buttons ── */

.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 0.95rem 1.9rem;
  border-radius: 100px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s var(--sm-ease);
  white-space: nowrap;
  line-height: 1;
}

.sm-btn--primary {
  background: var(--color-brand-accent, #D4683A);
  color: #fff;
}

.sm-btn--primary:hover {
  background: color-mix(in srgb, var(--color-brand-accent, #D4683A) 85%, black);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -12px rgba(212, 104, 58, 0.65);
}

@media (prefers-reduced-motion: reduce) {
  .sm-btn--primary:hover { transform: none; }
}

/* ================================================================
   EYEBROW SYSTEM
   Overrides the starter's .eyebrow — adds the leading line rule.
   ================================================================ */

.eyebrow {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--color-brand-accent, #D4683A);
  text-decoration: none;
}

.eyebrow::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--color-brand-accent, #D4683A);
  display: inline-block;
  flex-shrink: 0;
}

.eyebrow--center {
  justify-content: center;
}

/* On dark sections the eyebrow inherits the accent colour, which works.
   No variant needed — terracotta reads on both deep ocean and warm white. */

/* ================================================================
   STATS BAR
   4-column dark grid immediately after hero.
   Gap: 1px dividers via background on the grid container.
   ================================================================ */

.sm-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--sm-border-light);
}

.sm-stat {
  background: var(--color-brand-primary, #0B1D29);
  padding: clamp(2.2rem, 4vw, 3.2rem) 1.5rem;
  text-align: center;
}

.sm-stat__num {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  color: var(--sm-heading-light);
  line-height: 1;
  font-weight: 400;
}

.sm-stat__num em {
  font-style: italic;
  color: var(--color-brand-accent, #D4683A);
}

.sm-stat__label {
  margin-top: 0.9rem;
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sm-text-muted-light);
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
}

@media (max-width: 532px) {
  .sm-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ================================================================
   HERO
   Override .block-hero to match the "Tropical Noir Minimalism" layout:
   full-viewport, text bottom-aligned, specific gradient, scroll indicator.
   ================================================================ */

.sm-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 8rem var(--sm-gutter) clamp(3.5rem, 7vw, 6rem);
  color: var(--sm-heading-light);
  background-size: cover;
  background-position: center;
  isolation: isolate;
  overflow: hidden;
}

/* Replace the starter's theme-colored overlay with the mockup gradient */
.sm-hero .block-hero__overlay,
.sm-hero .sm-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(11, 29, 41, 0.55) 0%,
    rgba(11, 29, 41, 0.18) 32%,
    rgba(11, 29, 41, 0.45) 64%,
    rgba(11, 29, 41, 0.92) 100%
  );
}

/* Suppress the starter's ::after orb on sm-hero */
.sm-hero::after { display: none; }

.sm-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

/* Eyebrow inside hero uses the global .eyebrow rule — colour already correct */

.sm-hero__headline {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 5.1rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--sm-heading-light);
  margin: 1.5rem 0 1.4rem;
  text-wrap: balance;
}

.sm-hero__headline em {
  font-style: italic;
  color: var(--color-brand-accent, #D4683A);
}

.sm-hero__sub {
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  color: var(--sm-text-light);
  max-width: 50ch;
  margin-bottom: 2.4rem;
  line-height: 1.65;
}

.sm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Ghost button — light border, light text, for use on dark hero */
.sm-btn--ghost {
  background: transparent;
  border-color: rgba(240, 235, 227, 0.35);
  color: var(--sm-heading-light);
}

.sm-btn--ghost:hover {
  border-color: var(--sm-heading-light);
  background: rgba(240, 235, 227, 0.06);
}

/* Arrow nudge on hover */
.sm-arrow {
  display: inline-block;
  transition: transform 0.4s var(--sm-ease);
}
.sm-btn:hover .sm-arrow {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .sm-btn:hover .sm-arrow { transform: none; }
}

/* Scroll indicator */
.sm-hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sm-text-muted-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  z-index: 1;
}

.sm-hero__scroll::after {
  content: "";
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--sm-text-muted-light), transparent);
  animation: smScrollPulse 2.4s var(--sm-ease) infinite;
}

@keyframes smScrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .sm-hero__scroll::after { animation: none; opacity: 0.5; }
}

/* Hero entrance — items animate in via CSS, no JS needed */
.sm-hero .reveal {
  animation: smHeroUp 1s var(--sm-ease) forwards;
  opacity: 0;
}
.sm-hero .reveal[data-d="1"] { animation-delay: 0.15s; }
.sm-hero .reveal[data-d="2"] { animation-delay: 0.32s; }
.sm-hero .reveal[data-d="3"] { animation-delay: 0.49s; }
.sm-hero .reveal[data-d="4"] { animation-delay: 0.66s; }

@keyframes smHeroUp {
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sm-hero .reveal { animation: none; opacity: 1; }
}

/* ================================================================
   PROPERTY CARD
   Replaces the starter's full-bleed overlay card.
   Structure: photo (4:3) on top, content panel below.
   ================================================================ */

.sm-card {
  position: relative;
  background: #fff;
  border-radius: 10px;
  overflow: visible; /* allow body panel to extend below photo */
  box-shadow: 0 1px 2px rgba(28, 45, 54, 0.04), 0 18px 40px -24px rgba(28, 45, 54, 0.28);
  transition: transform 0.55s var(--sm-ease), box-shadow 0.55s var(--sm-ease);
  display: flex;
  flex-direction: column;
}

/* Override starter .property-card's aspect-ratio and overflow constraints */
.sm-card.property-card {
  aspect-ratio: auto;
  overflow: hidden; /* keep for border-radius clipping */
}

/* Override starter's GSAP initial state (opacity:0; transform:translateY(40px))
   The starter CSS sets these expecting GSAP to animate them in.
   Our cards use a CSS entrance animation instead. */
.block-property-grid__items > .sm-card {
  opacity: 1;
  transform: none;
  animation: smCardIn 0.7s var(--sm-ease) both;
}
.block-property-grid__items > .sm-card:nth-child(2) { animation-delay: 0.1s; }
.block-property-grid__items > .sm-card:nth-child(3) { animation-delay: 0.2s; }
.block-property-grid__items > .sm-card:nth-child(4) { animation-delay: 0.1s; }
.block-property-grid__items > .sm-card:nth-child(5) { animation-delay: 0.2s; }
.block-property-grid__items > .sm-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes smCardIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .block-property-grid__items > .sm-card { animation: none; }
}

/* Override starter .property-card__link height:100% so body panel can expand */
.sm-card .property-card__link {
  height: auto;
  flex: 1;
}

.sm-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 2px 4px rgba(28, 45, 54, 0.06), 0 28px 60px -24px rgba(28, 45, 54, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  .sm-card:hover { transform: none; }
}

/* Inner link fills the card — no text-decoration */
.sm-card__inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

/* Photo area */
.sm-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-brand-primary, #0B1D29);
}

.sm-card__media img,
.sm-card__media picture,
.sm-card__media picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.1s var(--sm-ease);
}

.sm-card:hover .sm-card__media img,
.sm-card:hover .sm-card__media picture img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .sm-card:hover .sm-card__media img,
  .sm-card:hover .sm-card__media picture img { transform: none; }
}

/* Placeholder when no photo */
.sm-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sm-text-muted-light);
}

/* Badge (editorial tag, e.g. "Ocean View") */
.sm-card__tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(11, 29, 41, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--sm-heading-light);
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  pointer-events: none;
}

/* Content panel */
.sm-card__body {
  padding: 1.4rem 1.5rem 1.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sm-card__name {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--color-brand-primary, #0B1D29);
  line-height: 1.1;
  margin: 0;
}

.sm-card__loc {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  color: #6b7f8a;
  margin-top: 0.4rem;
}

.sm-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0 1.2rem;
  font-size: 0.8rem;
  color: #3d5564;
}

.sm-card__specs span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Footer: price left, CTA right */
.sm-card__foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(28, 45, 54, 0.09);
}

.sm-card__price {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sm-card__price small {
  display: block;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7f8a;
  line-height: 1.4;
}

.sm-card__price b {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--color-brand-primary, #0B1D29);
  line-height: 1;
}

.sm-card__price span {
  font-size: 0.72rem;
  color: #6b7f8a;
  margin-top: 0.15rem;
}

/* "View villa →" CTA text */
.sm-card__cta {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-brand-accent, #D4683A);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.sm-card:hover .sm-card__cta .sm-arrow {
  transform: translateX(4px);
}

/* Shortlist button position — reuse starter's class, just reposition */
.sm-card .property-card__shortlist {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
}

/* ================================================================
   PHOTO BREAK
   Full-bleed fixed-background section with centred blockquote.
   Background image passed as CSS custom property --pb-bg from template.
   ================================================================ */

.block-photo-break {
  position: relative;
  min-height: 62vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 5rem var(--sm-gutter);
  color: var(--sm-heading-light);
  isolation: isolate;
  overflow: hidden;
}

/* Background layer — fixed attachment gives parallax on desktop */
.block-photo-break::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--pb-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Dark overlay */
.block-photo-break::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(11, 29, 41, 0.45);
}

.block-photo-break__quote {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: clamp(1.7rem, 3.6vw, 3rem);
  font-weight: 400;
  line-height: 1.22;
  max-width: 18ch;
  margin: 0;
  text-align: center;
}

.block-photo-break__quote em {
  font-style: italic;
  color: var(--color-brand-accent, #D4683A);
}

.block-photo-break__quote cite {
  display: block;
  margin-top: 1.6rem;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sm-text-muted-light);
}

/* iOS doesn't support background-attachment:fixed inside overflow:hidden.
   Fall back to scroll — still looks good, just no parallax. */
@supports (-webkit-overflow-scrolling: touch) {
  .block-photo-break::before {
    background-attachment: scroll;
  }
}

/* ================================================================
   FEATURE GRID
   Dark 4-column "Why stay with us" section.
   1px dividers via gap + background on the grid container (same as stats bar).
   ================================================================ */

.block-feature-grid {
  background: var(--color-brand-primary, #0B1D29);
  padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.block-feature-grid__wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sm-gutter);
}

/* Section heading */
.block-feature-grid__head {
  text-align: center;
  margin-bottom: clamp(2.8rem, 5vw, 4.5rem);
}

.block-feature-grid__heading {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--sm-heading-light);
  line-height: 1.1;
  margin: 1rem 0 0;
  text-wrap: balance;
}

.block-feature-grid__heading em {
  font-style: italic;
  color: var(--color-brand-accent, #D4683A);
}

/* 4-col grid — 1px dividers via gap + background */
.block-feature-grid__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--sm-border-light);
  border: 1px solid var(--sm-border-light);
}

/* Each cell */
.block-feature-grid__item {
  background: var(--color-brand-primary, #0B1D29);
  padding: clamp(2rem, 3vw, 2.6rem);
}

.block-feature-grid__icon {
  width: 44px;
  height: 44px;
  color: var(--color-brand-accent, #D4683A);
  margin-bottom: 1.6rem;
  display: block;
  stroke-width: 1.4;
}

.block-feature-grid__title {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--sm-heading-light);
  margin: 0 0 0.8rem;
  line-height: 1.2;
}

.block-feature-grid__body {
  font-size: 0.9rem;
  color: var(--sm-text-light);
  line-height: 1.65;
  margin: 0;
}

/* Responsive: 2-col on tablet, 1-col on mobile */
@media (max-width: 900px) {
  .block-feature-grid__items {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .block-feature-grid__items {
    grid-template-columns: 1fr;
  }
}

/* ================================================================
   TOUR TEASERS
   Portrait 3:4 overlay cards with hover-reveal description.
   Light section background; content at bottom under gradient.
   ================================================================ */

.block-tour-teaser {
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  background: var(--color-warm-cream, #FAF8F5);
}

.block-tour-teaser__wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sm-gutter);
}

/* Header row: heading left, "see all" link right */
.block-tour-teaser__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  flex-wrap: wrap;
}

.block-tour-teaser__head-text {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.block-tour-teaser__heading {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--color-brand-primary, #0B1D29);
  line-height: 1.1;
  margin: 0;
}

.block-tour-teaser__heading em {
  font-style: italic;
  color: var(--color-brand-accent, #D4683A);
}

/* Ghost dark button variant (light bg context) */
.sm-btn--ghost-dark {
  background: transparent;
  border: 1px solid rgba(28, 45, 54, 0.25);
  color: var(--color-brand-primary, #0B1D29);
  font-size: 0.78rem;
}

.sm-btn--ghost-dark:hover {
  border-color: var(--color-brand-primary, #0B1D29);
  background: rgba(28, 45, 54, 0.04);
}

/* 4-column auto-fill grid of portrait cards */
.block-tour-teaser__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* Individual tour card */
.sm-tour {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  color: var(--sm-heading-light);
  box-shadow: 0 1px 2px rgba(28, 45, 54, 0.06), 0 18px 40px -24px rgba(28, 45, 54, 0.32);
  text-decoration: none;
  cursor: pointer;
}

/* Background photo */
.sm-tour__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-color: var(--color-brand-primary, #0B1D29);
  transition: transform 1.2s var(--sm-ease);
}

.sm-tour:hover .sm-tour__bg {
  transform: scale(1.07);
}

@media (prefers-reduced-motion: reduce) {
  .sm-tour:hover .sm-tour__bg { transform: none; }
}

/* Gradient overlay — dark at bottom, transparent at top */
.sm-tour::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(11, 29, 41, 0.92) 0%,
    rgba(11, 29, 41, 0.35) 45%,
    rgba(11, 29, 41, 0.08) 100%
  );
}

/* Card content */
.sm-tour__content {
  position: relative;
  z-index: 1;
}

.sm-tour__cat {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-brand-accent, #D4683A);
  margin-bottom: 0.5rem;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-weight: 600;
}

.sm-tour__name {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.1;
  color: var(--sm-heading-light);
}

/* Description — hidden by default, reveals on hover */
.sm-tour__desc {
  font-size: 0.82rem;
  color: var(--sm-text-light);
  margin-top: 0;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.5s var(--sm-ease),
    opacity 0.4s var(--sm-ease),
    margin-top 0.4s var(--sm-ease);
}

.sm-tour:hover .sm-tour__desc {
  max-height: 6rem;
  opacity: 1;
  margin-top: 0.6rem;
}

@media (prefers-reduced-motion: reduce) {
  .sm-tour__desc { transition: none; }
  .sm-tour:hover .sm-tour__desc { max-height: none; opacity: 1; margin-top: 0.6rem; }
}

/* ================================================================
   FOOTER
   Dark 4-column layout: brand+blurb | Properties | Explore | Contact
   ================================================================ */

.sm-footer {
  background: var(--color-brand-primary, #0B1D29);
  color: var(--sm-text-light);
  padding: clamp(3.5rem, 6vw, 5rem) var(--sm-gutter) 2.2rem;
  border-top: 1px solid var(--sm-border-light);
}

/* Top grid */
.sm-footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--sm-border-light);
}

/* Brand column */
.sm-footer__brand-mark {
  display: inline-flex;
  margin-bottom: 1.2rem;
}

.sm-footer__blurb {
  font-size: 0.88rem;
  max-width: 32ch;
  color: var(--sm-text-light);
  line-height: 1.6;
}

/* Column headings */
.sm-footer__heading {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sm-text-muted-light);
  margin: 0 0 1.3rem;
}

/* Nav lists */
.sm-footer__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.sm-footer__col ul a {
  font-size: 0.88rem;
  color: var(--sm-text-light);
  text-decoration: none;
  transition: color 0.3s var(--sm-ease);
}

.sm-footer__col ul a:hover {
  color: var(--color-brand-accent, #D4683A);
}

/* Contact column */
.sm-footer__contact p {
  font-size: 0.88rem;
  margin: 0 0 0.7rem;
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.sm-footer__contact a {
  color: var(--sm-text-light);
  text-decoration: none;
  transition: color 0.3s var(--sm-ease);
}

.sm-footer__contact a:hover {
  color: var(--color-brand-accent, #D4683A);
}

.sm-footer__contact-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--sm-text-muted-light);
}

/* @ symbol substitute for missing mail icon */
.sm-footer__contact-icon--at {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sm-text-muted-light);
  width: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Bottom bar */
.sm-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 1.8rem auto 0;
  font-size: 0.74rem;
  color: var(--sm-text-muted-light);
  flex-wrap: wrap;
  gap: 0.8rem;
}

.sm-footer__pura-vida {
  font-style: italic;
}

.sm-footer__legal {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.sm-footer__legal a {
  color: var(--sm-text-muted-light);
  text-decoration: none;
  transition: color 0.3s var(--sm-ease);
}

.sm-footer__legal a:hover {
  color: var(--color-brand-accent, #D4683A);
}

/* Responsive: 2-col on tablet */
@media (max-width: 900px) {
  .sm-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Single column on mobile */
@media (max-width: 540px) {
  .sm-footer__top {
    grid-template-columns: 1fr;
  }

  .sm-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 820px) {
  .sm-nav__links,
  .sm-nav__cta .sm-btn--primary {
    display: none;
  }

  .sm-burger {
    display: block;
  }
}

/* ─── Signature: "A Day in Manuel Antonio" ───────────────────────────────── */
.sm-day { position: relative; background: var(--color-brand-primary, #0B1D29); }
.sm-day__track { display: block; }
.sm-day__beat {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.sm-day__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sm-day__scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    color-mix(in srgb, var(--color-brand-primary, #0B1D29) 92%, transparent) 0%,
    transparent 55%);
}
.sm-day__caption { position: relative; z-index: 1; padding: clamp(1.5rem, 5vw, 4rem); color: var(--color-surface-muted, #FDFAF5); }
.sm-day__time {
  display: inline-block;
  font-family: var(--font-body, sans-serif);
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.8rem; font-weight: 600;
  color: var(--color-surface-muted, #FDFAF5);
  background: var(--color-brand-accent, #D4683A);
  padding: 0.35em 0.7em; border-radius: 2px;
  margin: 0 0 0.75rem;
}
.sm-day__line { font-family: var(--font-heading, serif); font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.1; margin: 0; max-width: 18ch; }
.sm-day__header { background: var(--color-brand-primary, #0B1D29); color: var(--color-surface-muted, #FDFAF5); padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem) clamp(1.5rem, 5vw, 3rem); }
.sm-day__eyebrow { color: var(--color-brand-accent, #D4683A); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; margin: 0 auto 0.75rem; max-width: 75rem; font-family: var(--font-body, 'Inter', system-ui, sans-serif); }
.sm-day__title { font-family: var(--font-heading, serif); color: var(--sm-heading-light, #F0EBE3); font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.05; margin: 0 auto; max-width: 75rem; }
.sm-day__ticks { display: none; }
.sm-day__tick { background: color-mix(in srgb, var(--color-brand-accent, #D4683A) 35%, transparent); }
.sm-day__tick.is-active { background: var(--color-brand-accent, #D4683A); }

/* Enhanced (desktop + GSAP + motion): beats stack absolutely and exactly one is
   visible at a time. JS toggles .is-active per scroll progress; the opacity
   transition dissolves between frames so captions never pile up. */
@media (min-width: 768px) {
  .sm-day--enhanced .sm-day__track { position: relative; height: 100vh; height: 100svh; }
  .sm-day--enhanced .sm-day__beat {
    position: absolute; inset: 0; min-height: 0;
    opacity: 0; transition: opacity 0.7s ease;
  }
  .sm-day--enhanced .sm-day__beat.is-active { opacity: 1; }
  .sm-day--enhanced .sm-day__ticks {
    display: flex; gap: 0.5rem;
    position: absolute; bottom: clamp(1.5rem, 5vw, 4rem); right: clamp(1.5rem, 5vw, 4rem);
    z-index: 2;
  }
  .sm-day--enhanced .sm-day__tick { width: 2.5rem; height: 2px; transition: background 0.3s ease; }

  /* Scroll cue: mirrors the hero indicator. Only the enhanced (pinned) state
     shows it — keyed on .sm-day--enhanced so the baseline stacked layout (no
     GSAP/motion) keeps it hidden even at desktop width. Fades out once the user
     advances past the first beat (.sm-day--past-start, toggled in JS). */
  .sm-day--enhanced .sm-day__hint {
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    position: absolute; left: 50%; bottom: clamp(1.5rem, 5vw, 4rem);
    transform: translateX(-50%);
    margin: 0; z-index: 2;
    font-family: var(--font-body, 'Inter', system-ui, sans-serif);
    font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
    color: var(--sm-text-muted-light);
    opacity: 1; transition: opacity 0.6s ease;
  }
  .sm-day--enhanced .sm-day__hint::after {
    content: ""; width: 1px; height: 38px;
    background: linear-gradient(var(--sm-text-muted-light), transparent);
    animation: smScrollPulse 2.4s var(--sm-ease) infinite;
  }
  .sm-day--enhanced.sm-day--past-start .sm-day__hint { opacity: 0; }
  @media (prefers-reduced-motion: reduce) {
    .sm-day--enhanced .sm-day__hint::after { animation: none; opacity: 0.5; }
  }
}
/* Baseline (no enhancement): panels stack and normal page scroll already makes
   the affordance obvious, so the cue stays hidden by default. */
.sm-day__hint { display: none; }

/* ─── Region intro — Tropical Noir editorial ─────────────────────────────── */
.sm-region-intro { background: var(--color-brand-primary, #0B1D29); color: var(--color-surface-muted, #FDFAF5); padding: clamp(3rem, 8vw, 7rem) 0; }
.sm-region-intro__inner {
  max-width: 75rem; margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 3rem);
  display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .sm-region-intro__inner { grid-template-columns: 5fr 7fr; } }
.sm-region-intro__media img { width: 100%; height: auto; display: block; }
.sm-region-intro__eyebrow { color: var(--color-brand-accent, #D4683A); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; margin: 0 0 1rem; }
.sm-region-intro__name { font-family: var(--font-heading, serif); color: var(--sm-heading-light, #F0EBE3); font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1.05; margin: 0 0 1.25rem; }
.sm-region-intro__desc { font-size: clamp(1rem, 2.2vw, 1.25rem); line-height: 1.6; margin: 0 0 1.5rem; max-width: 46ch; }
.sm-region-intro__link {
  color: var(--color-brand-accent, #D4683A);
  border-bottom: 1px solid currentColor; padding-bottom: 2px; text-decoration: none;
}
.sm-region-intro__link:hover { color: color-mix(in srgb, var(--color-brand-accent, #D4683A) 85%, black); }

/* ─── Testimonial — featured quote over photo ────────────────────────────── */
.sm-testimonial { position: relative; min-height: 70vh; min-height: 70svh; display: flex; align-items: center; justify-content: center; overflow: hidden; text-align: center; }
.sm-testimonial__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sm-testimonial__scrim {
  position: absolute; inset: 0;
  background: color-mix(in srgb, var(--color-brand-primary, #0B1D29) 50%, transparent);
}
.sm-testimonial__figure { position: relative; z-index: 1; margin: 0; padding: clamp(2rem, 6vw, 5rem); max-width: 50rem; color: var(--color-surface-muted, #FDFAF5); }
.sm-testimonial__eyebrow { color: var(--color-brand-accent, #D4683A); text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; margin: 0 0 1.5rem; }
.sm-testimonial__quote { font-family: var(--font-heading, serif); font-size: clamp(1.3rem, 2.6vw, 1.75rem); line-height: 1.35; margin: 0 0 1.5rem; }
/* Live guest reviews vary in length; clamp to a uniform 4 lines with an
   ellipsis so the section keeps a consistent height. Targets the quote text
   only (not the <cite>). */
.sm-testimonial__text {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sm-testimonial__cite { display: block; margin-top: 1.25rem; font-style: normal; font-size: 1rem; opacity: 0.85; }
.sm-testimonial__source { display: block; margin-top: 0.4rem; color: var(--color-brand-accent, #D4683A); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.7rem; opacity: 0.9; }
.sm-testimonial__rotator { display: grid; }
.sm-testimonial__quote { grid-area: 1 / 1; margin-bottom: 0; opacity: 0; transition: opacity 0.8s ease; }
.sm-testimonial__quote.is-active { opacity: 1; }
.sm-testimonial__controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.sm-testimonial__dots { display: flex; align-items: center; gap: 0.6rem; }
.sm-testimonial__playpause { display: inline-flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--color-surface-muted, #FDFAF5); cursor: pointer; opacity: 0.7; transition: opacity 0.2s ease; }
.sm-testimonial__playpause:hover { opacity: 1; }
.sm-testimonial__icon { width: 1rem; height: 1rem; fill: currentColor; display: block; }
.sm-testimonial__icon--play { display: none; }
.sm-testimonial__playpause:not(.is-playing) .sm-testimonial__icon--pause { display: none; }
.sm-testimonial__playpause:not(.is-playing) .sm-testimonial__icon--play { display: block; }
.sm-testimonial__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; border: 0; padding: 0;
  background: color-mix(in srgb, var(--color-surface-muted, #FDFAF5) 40%, transparent); cursor: pointer; }
.sm-testimonial__dot.is-active { background: var(--color-brand-accent, #D4683A); }
.sm-testimonial__dot:focus-visible,
.sm-testimonial__playpause:focus-visible { outline: 2px solid var(--color-brand-accent, #D4683A); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .sm-testimonial__quote { transition: none; } }

/* ================================================================
   Property For Sale page (client.PropertyForSalePage)
   Tropical Noir: dark hero, terracotta eyebrow, cream body sections.
   ================================================================ */
.for-sale {
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  color: var(--color-brand-primary, #0B1D29);
  background: var(--color-surface-muted, #FDFAF5);
}

/* ── Hero ── */
.for-sale__hero {
  position: relative;
  min-height: clamp(22rem, 60vh, 40rem);
  display: flex;
  align-items: flex-end;
  background: var(--color-brand-primary, #0B1D29);
  overflow: hidden;
}
.for-sale__hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.for-sale__hero-media :is(img, picture, source) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.for-sale__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top,
    rgba(11, 29, 41, 0.88) 0%, rgba(11, 29, 41, 0.30) 55%, rgba(11, 29, 41, 0.15) 100%);
}
.for-sale__hero-inner {
  position: relative;
  z-index: 2;
  padding: var(--sm-gutter);
  padding-bottom: clamp(2rem, 5vw, 4rem);
  max-width: 70rem;
  margin-inline: auto;
  width: 100%;
}
.for-sale__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-brand-accent, #D4683A);
  margin-bottom: 0.75rem;
}
.for-sale__title {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  line-height: 1.02;
  color: var(--sm-heading-light, #F0EBE3);
}

/* ── Shared section rhythm ── */
.for-sale > section {
  max-width: 70rem;
  margin-inline: auto;
  padding-inline: var(--sm-gutter);
}
.for-sale__section-heading {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 1.25rem;
}

/* ── Price + specs ── */
.for-sale__summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-block: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--sm-border-dark, rgba(28, 45, 54, 0.10));
}
.for-sale__price {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--color-brand-primary, #0B1D29);
}
.for-sale__price-note {
  display: inline-block;
  margin-left: 0.75rem;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  color: var(--color-brand-accent, #D4683A);
}
.for-sale__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  font-size: 0.95rem;
  color: rgba(11, 29, 41, 0.72);
}
.for-sale__specs li { position: relative; }
.for-sale__specs li + li::before {
  content: "·";
  position: absolute;
  left: -0.85rem;
  color: var(--color-brand-accent, #D4683A);
}

/* ── Narrative ── */
.for-sale__intro,
.for-sale__body {
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(11, 29, 41, 0.86);
}
.for-sale__intro :is(p, li) { max-width: 42rem; }

/* ── Gallery ── */
.for-sale__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
  gap: 0.75rem;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.for-sale__gallery-item {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
}
.for-sale__gallery-item :is(img, picture, source) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--sm-ease, cubic-bezier(0.22, 1, 0.36, 1));
}
.for-sale__gallery-item:hover :is(img) { transform: scale(1.04); }

/* ── Map ── */
.for-sale__location { padding-block: clamp(1.75rem, 3vw, 2.75rem); }
.for-sale__map {
  position: relative;
  height: clamp(18rem, 45vh, 28rem);
  border-radius: 2px;
  overflow: hidden;
  background: var(--color-warm-cream, #F4EFE7);
}
.for-sale__map-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(11, 29, 41, 0.45);
  font-size: 0.875rem;
}

/* ── Brochure ── */
.for-sale__brochure { padding-block: clamp(1.5rem, 3vw, 2.5rem); }
.for-sale__brochure-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1px solid var(--color-brand-primary, #0B1D29);
  border-radius: 2px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-brand-primary, #0B1D29);
  text-decoration: none;
  transition: background 0.3s var(--sm-ease), color 0.3s var(--sm-ease);
}
.for-sale__brochure-link:hover {
  background: var(--color-brand-primary, #0B1D29);
  color: var(--color-surface-muted, #FDFAF5);
}

/* ── Inquiry form ── */
.for-sale__inquiry {
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
  padding-inline: var(--sm-gutter);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--color-brand-primary, #0B1D29);
  max-width: none;
}
.for-sale__inquiry-intro,
.for-sale__form {
  max-width: 38rem;
  margin-inline: auto;
}
.for-sale__inquiry-intro {
  font-family: var(--font-heading, 'DM Serif Display', Georgia, serif);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  color: var(--sm-heading-light, #F0EBE3);
  margin-bottom: 1.75rem;
  text-align: center;
}
.for-sale__field {
  display: block;
  margin-bottom: 1.1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sm-text-muted-light, rgba(240, 235, 227, 0.45));
}
.for-sale__field :is(input, textarea) {
  display: block;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.85rem 1rem;
  font-family: var(--font-body, 'Inter', system-ui, sans-serif);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--sm-heading-light, #F0EBE3);
  background: rgba(240, 235, 227, 0.04);
  border: 1px solid var(--sm-border-light, rgba(240, 235, 227, 0.10));
  border-radius: 2px;
  transition: border-color 0.3s var(--sm-ease);
}
.for-sale__field :is(input, textarea):focus {
  outline: none;
  border-color: var(--color-brand-accent, #D4683A);
}
.for-sale__submit {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.95rem 2.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-surface-muted, #FDFAF5);
  background: var(--color-brand-accent, #D4683A);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s var(--sm-ease);
}
.for-sale__submit:hover {
  background: color-mix(in srgb, var(--color-brand-accent, #D4683A) 85%, black);
}
.for-sale__submit:disabled { opacity: 0.6; cursor: default; }
.for-sale__status {
  margin-top: 1rem;
  min-height: 1.25rem;
  font-size: 0.9375rem;
  color: var(--sm-text-light, rgba(240, 235, 227, 0.82));
}
.for-sale__status.is-error { color: #F0A488; }

/* Honeypot — visually hidden but not display:none (bots skip display:none). */
.for-sale__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ================================================================
   PROPERTY FILTERS — "Instrument Rail" (Direction A)
   Stay MA-specific presentation. Overrides the starter's centered
   white-pill filter bar (styled in src/css/main.css). Flattens the
   two tiers (primary + secondary) into a single hairline-segmented
   rail on the Deep Ocean ground, with borderless frosted controls.
   Desktop only (>=768px); mobile keeps the starter's collapsible
   panel untouched. stayma.css loads after tailwind.css, so these
   single/low-specificity rules win by cascade order.
   ================================================================ */
@media (min-width: 768px) {

  /* One full-width rail aligned to the 1280 content container */
  .property-filters__content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
    gap: 0;
    flex-wrap: wrap;
    align-items: stretch;
    justify-content: flex-start;
  }

  /* Flatten the two tiers: their children become direct rail segments */
  .property-filters__primary,
  .property-filters__secondary {
    display: contents;
  }

  /* Each control is a hairline-divided segment, content vertically centred */
  .property-filters__field,
  .property-filters__search {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.32rem;
    padding: 1.25rem 1.4rem;
    border-right: 1px solid var(--sm-border-light);
    min-width: 0;
  }
  .property-filters__primary > .property-filters__field:first-child {
    padding-left: 0;
  }

  /* Uppercase micro-labels, muted */
  .property-filters__label {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    color: var(--sm-text-muted-light);
    margin: 0;
  }

  /* Bedrooms / Guests selects — borderless, frosted, light chevron */
  .property-filters__select {
    min-width: 0;
    padding: 0.1rem 1.5rem 0.1rem 0;
    background-color: transparent;
    border: none;
    border-radius: 0;
    color: var(--sm-heading-light);
    font-size: 1.02rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23A49E94' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-position: right 0.15rem center;
  }
  .property-filters__select:hover,
  .property-filters__select:focus {
    border: none;
    box-shadow: none;
  }
  .property-filters__select:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
    border-radius: 3px;
  }

  /* Arrival date — borderless trigger matching the rail (scoped so the
     availability-matrix date picker is unaffected) */
  .property-filters__field--date { min-width: 0; }
  .property-filters .date-picker__trigger {
    width: auto;
    gap: 0.5rem;
    padding: 0.1rem 0;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--sm-heading-light);
    font-size: 1.02rem;
  }
  .property-filters .date-picker__trigger:hover,
  .property-filters .date-picker__trigger:focus,
  .property-filters .date-picker__trigger[aria-expanded="true"] {
    border: none;
    box-shadow: none;
  }
  .property-filters .date-picker__display--placeholder {
    color: rgba(240, 235, 227, 0.7);
  }
  .property-filters .date-picker__icon {
    width: 1rem;
    height: 1rem;
    color: var(--sm-text-muted-light);
  }
  .property-filters .date-picker__trigger:hover .date-picker__icon {
    color: var(--color-accent);
  }

  /* Price — compact inline track */
  .property-filters__field--price { min-width: 150px; }
  .property-filters__price-display {
    font-size: 0.9rem;
    color: var(--sm-heading-light);
    margin-bottom: 0.4rem;
    line-height: 1;
  }
  .property-filters__range-container { height: 14px; width: 130px; }
  .property-filters__range-container::before { height: 3px; background: rgba(240, 235, 227, 0.26); }
  .property-filters__range { height: 3px; }
  .property-filters__range::-webkit-slider-thumb {
    width: 13px; height: 13px; border-width: 2px;
  }
  .property-filters__range::-moz-range-thumb {
    width: 13px; height: 13px; border-width: 2px;
  }

  /* Features search — the growing segment */
  .property-filters__search {
    flex: 1;
    max-width: none;
  }
  .property-filters__search-icon { left: 0; color: var(--sm-text-muted-light); }
  .property-filters__search-input {
    padding: 0.1rem 2rem 0.1rem 1.9rem;
    background: transparent;
    border: none;
    border-radius: 0;
    color: var(--sm-heading-light);
    font-size: 1.02rem;
  }
  .property-filters__search-input::placeholder { color: var(--sm-text-muted-light); }
  .property-filters__search-input:hover,
  .property-filters__search-input:focus {
    border: none;
    box-shadow: none;
  }
  .property-filters__search-clear { right: 0; }

  /* More filters — compact pill at the rail's end */
  .property-filters__more-toggle {
    align-self: center;
    margin-left: 1rem;
    padding: 0.65rem 1.2rem;
    border-radius: 999px;
    font-size: 0.9rem;
  }

  /* Results foot — same ocean surface, hairline top border, aligned */
  .property-filters__results {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.9rem clamp(1rem, 3vw, 2rem);
    background: var(--color-brand-primary);
    border-top: 1px solid var(--sm-border-light);
  }

  /* Calendar view — quiet terracotta text link, not a filled button */
  .property-filters__matrix-link {
    margin-left: auto;
    padding: 0.3rem 0;
    background: transparent;
    color: var(--color-brand-accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    font-size: 0.8rem;
  }
  .property-filters__matrix-link:hover {
    background: transparent;
    color: var(--sm-heading-light);
  }
}

/* ================================================================
   PROJECT MANAGEMENT PAGE (Tito's service)
   Client overlay. Tropical Noir; sections alternate dark/light.
   Template: templates/client/project_management_page.html
   ================================================================ */
.pm-page {
  --pm-ink: #16303c;
  --pm-ink-soft: #4f6470;
  --pm-hair-dark: rgba(20, 45, 55, 0.12);
}

/* Shared eyebrow */
.pm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.2rem;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--color-brand-accent, #D4683A);
}
.pm-eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--color-brand-accent, #D4683A);
}
.pm-eyebrow--center { justify-content: center; }

/* Buttons */
.pm-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s var(--sm-ease, ease);
}
.pm-btn--primary { background: var(--color-brand-accent, #D4683A); color: #fff; }
.pm-btn--primary:hover { background: color-mix(in srgb, var(--color-brand-accent) 86%, black); }
.pm-btn--ghost { background: transparent; color: var(--sm-heading-light); border-color: var(--sm-border-light); }
.pm-btn--ghost:hover { border-color: var(--color-brand-accent, #D4683A); }

/* ── 1. Hero ── */
.pm-hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: flex-end;
  background: var(--color-brand-primary, #0B1D29);
  padding: 8rem var(--sm-gutter) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.pm-hero__media { position: absolute; inset: 0; }
.pm-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.pm-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,29,41,0.35) 0%, rgba(11,29,41,0.55) 55%, rgba(11,29,41,0.96) 100%);
}
.pm-hero__inner { position: relative; max-width: 720px; width: 100%; margin: 0 auto; }
.pm-hero__title {
  font-family: var(--font-heading, 'DM Serif Display', serif);
  font-weight: 400;
  color: var(--sm-heading-light);
  font-size: clamp(2.5rem, 6vw, 4.4rem);
  line-height: 1.03;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
.pm-hero__sub {
  color: var(--sm-text-light);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  max-width: 44ch;
  margin: 1.5rem 0 2.2rem;
}
.pm-hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Constrain inner content of light/dark editorial sections */
.pm-story, .pm-adv, .pm-projects, .pm-inquiry, .pm-notes { padding: clamp(3.5rem, 8vw, 6.5rem) var(--sm-gutter); }
.pm-story__grid, .pm-adv > *, .pm-projects > *, .pm-inquiry__grid, .pm-notes__inner { max-width: 1180px; margin-left: auto; margin-right: auto; }

/* ── 2. Story ── */
.pm-story { background: var(--color-warm-cream, #F4EFE7); color: var(--pm-ink); }
.pm-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.pm-story__title {
  font-family: var(--font-heading, serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.08;
  color: var(--pm-ink); margin: 0; text-wrap: balance;
}
.pm-story__body { color: var(--pm-ink-soft); font-size: 1.06rem; line-height: 1.7; }
.pm-story__body p { margin: 0 0 1.1rem; }
.pm-scope { list-style: none; margin: 1.8rem 0 0; padding: 0; }
.pm-scope li {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 0; border-top: 1px solid var(--pm-hair-dark);
  font-size: 1rem; color: var(--pm-ink);
}
.pm-scope li:last-child { border-bottom: 1px solid var(--pm-hair-dark); }
.pm-scope__icon { width: 1.05rem; height: 1.05rem; color: var(--color-brand-accent, #D4683A); flex: none; }
@media (max-width: 760px) { .pm-story__grid { grid-template-columns: 1fr; } }

/* ── 3. Advantage ── */
.pm-adv { background: var(--color-brand-secondary, #0F2633); color: var(--sm-heading-light); }
.pm-adv__head { max-width: 640px; }
.pm-adv__title {
  font-family: var(--font-heading, serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.1;
  color: var(--sm-heading-light); margin: 0; text-wrap: balance;
}
.pm-adv__body { color: var(--sm-text-light); font-size: 1.08rem; line-height: 1.7; margin-top: 1.4rem; max-width: 60ch; }
.pm-adv__body p { margin: 0 0 1rem; }
.pm-adv__points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.pm-adv__point { border-top: 2px solid var(--color-brand-accent, #D4683A); padding-top: 1.1rem; }
.pm-adv__point h3 {
  font-family: var(--font-body, sans-serif); font-weight: 600;
  font-size: 1.05rem; color: var(--sm-heading-light); margin: 0 0 0.5rem;
}
.pm-adv__point p { color: var(--sm-text-muted-light); font-size: 0.95rem; line-height: 1.55; margin: 0; }
@media (max-width: 760px) { .pm-adv__points { grid-template-columns: 1fr; } }

/* ── 4. Example projects ── */
.pm-projects { background: var(--color-surface-muted, #FDFAF5); color: var(--pm-ink); }
.pm-projects__head { text-align: center; max-width: 620px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.pm-projects__title {
  font-family: var(--font-heading, serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem); color: var(--pm-ink); margin: 0; text-wrap: balance;
}
.pm-projects__sub { color: var(--pm-ink-soft); font-size: 1.05rem; line-height: 1.6; margin: 1rem 0 0; }
.pm-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.pm-pcard {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 12px 30px -18px rgba(20, 45, 55, 0.4);
  display: flex; flex-direction: column;
}
.pm-pcard__img { position: relative; aspect-ratio: 3 / 2; background: var(--color-warm-cream, #F4EFE7); }
.pm-pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pm-pchip {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(11, 29, 41, 0.82); color: var(--sm-heading-light);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; border-radius: 999px;
}
.pm-pcard__body { padding: 1.3rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pm-pcard__title { font-family: var(--font-heading, serif); font-weight: 400; font-size: 1.4rem; color: var(--pm-ink); margin: 0; }
.pm-pcard__loc { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.82rem; color: var(--pm-ink-soft); }
.pm-pcard__loc-icon { width: 0.9rem; height: 0.9rem; color: var(--color-brand-accent, #D4683A); }
.pm-pcard__desc { color: var(--pm-ink-soft); font-size: 0.95rem; line-height: 1.55; margin: 0.2rem 0 0; }
@media (max-width: 900px) { .pm-pgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .pm-pgrid { grid-template-columns: 1fr; } }

/* ── 6. Pricing + inquiry ── */
.pm-inquiry { background: var(--color-brand-secondary, #0F2633); color: var(--sm-heading-light); }
.pm-inquiry__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pm-inquiry__title {
  font-family: var(--font-heading, serif); font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1;
  color: var(--sm-heading-light); margin: 0; text-wrap: balance;
}
.pm-price-note {
  margin-top: 1.5rem; padding: 1.1rem 1.3rem;
  border-left: 3px solid var(--color-brand-accent, #D4683A);
  background: color-mix(in srgb, var(--color-brand-accent) 14%, transparent);
  color: var(--sm-text-light); font-size: 1rem; line-height: 1.6;
  border-radius: 0 8px 8px 0;
}
.pm-form {
  background: rgba(240, 235, 227, 0.04);
  border: 1px solid var(--sm-border-light);
  border-radius: 14px;
  padding: clamp(1.5rem, 3vw, 2.2rem);
}
.pm-form__intro { font-family: var(--font-heading, serif); font-size: 1.35rem; color: var(--sm-heading-light); margin: 0 0 1.4rem; }
.pm-form__field {
  display: block; margin-bottom: 1.1rem;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--sm-text-muted-light);
}
.pm-form__field input,
.pm-form__field textarea {
  display: block; width: 100%; margin-top: 0.5rem;
  background: rgba(11, 29, 41, 0.5); border: 1px solid var(--sm-border-light);
  border-radius: 8px; padding: 0.8rem 1rem;
  color: var(--sm-heading-light); font-family: var(--font-body, sans-serif); font-size: 1rem;
  font-weight: 400; letter-spacing: normal; text-transform: none;
}
.pm-form__field input:focus,
.pm-form__field textarea:focus { outline: none; border-color: var(--color-brand-accent, #D4683A); }
.pm-form__field textarea { resize: vertical; }
.pm-form__submit {
  width: 100%; margin-top: 0.4rem; padding: 0.95rem 1.5rem;
  background: var(--color-brand-accent, #D4683A); color: #fff; border: 0;
  border-radius: 999px; font-family: var(--font-body, sans-serif); font-size: 0.98rem; font-weight: 600;
  cursor: pointer; transition: background 0.18s var(--sm-ease, ease);
}
.pm-form__submit:hover { background: color-mix(in srgb, var(--color-brand-accent) 86%, black); }
.pm-form__submit:disabled { opacity: 0.6; cursor: default; }
.pm-form__status { margin: 1rem 0 0; font-size: 0.92rem; color: var(--sm-text-light); }
.pm-form__status.is-error { color: #F0A488; }
/* Honeypot — hidden but not display:none (bots skip display:none) */
.pm-form__hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 820px) { .pm-inquiry__grid { grid-template-columns: 1fr; } }

/* ── 7. Footnotes ── */
.pm-notes { background: var(--color-brand-primary, #0B1D29); border-top: 1px solid var(--sm-border-light); padding-top: 2.5rem; padding-bottom: 2.5rem; }
.pm-notes__inner { color: var(--sm-text-muted-light); font-size: 0.8rem; line-height: 1.6; max-width: 80ch; }
.pm-notes__inner a { color: var(--sm-text-light); }

/* ================================================================
   Experience / Service detail (page-experience-detail)
   Sample Menu → course cards; synced photos → gallery + lightbox.
   ================================================================ */

/* Menu: whole meal groups become cards flowing in a balanced 2-col
   masonry. break-inside:avoid keeps each course whole. */
.page-experience-detail .service-menu { column-count: 2; column-gap: 1.5rem; }
@media (max-width: 700px) { .page-experience-detail .service-menu { column-count: 1; } }
.page-experience-detail .service-menu > .catalog-detail__section-title { column-span: all; margin-bottom: 1.25rem; }

.page-experience-detail .service-menu__group {
  break-inside: avoid;
  margin: 0 0 1.5rem;
  padding: 1.4rem 1.6rem;
  background: var(--color-warm-cream, #F4EFE7);
  border: 1px solid color-mix(in srgb, var(--color-brand-primary, #0B1D29) 10%, transparent);
  border-radius: 12px;
}
.page-experience-detail .service-menu__section {
  font-family: var(--font-heading, serif);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.2;
  margin: 0 0 0.9rem;
  padding-bottom: 0.6rem;
  color: var(--color-brand-primary, #0B1D29);
  border-bottom: 2px solid var(--color-brand-accent, #D4683A);
}
.page-experience-detail .service-menu__items { list-style: none; margin: 0; padding: 0; }
.page-experience-detail .service-menu__item {
  padding: 0.45rem 0;
  font-size: 0.98rem;
  line-height: 1.35;
  color: color-mix(in srgb, var(--color-brand-primary, #0B1D29) 88%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--color-brand-primary, #0B1D29) 8%, transparent);
}
.page-experience-detail .service-menu__item:last-child { border-bottom: 0; }

/* Photo gallery — full-width masonry-ish grid of enhancement photos. */
.catalog-gallery { margin: 3rem 0 0; }
.catalog-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(clamp(9rem, 22vw, 15rem), 1fr));
  gap: 0.75rem;
}
.catalog-gallery__item {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background: var(--color-warm-cream, #F4EFE7);
}
.catalog-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.catalog-gallery__item:hover img,
.catalog-gallery__item:focus-visible img { transform: scale(1.06); }
.catalog-gallery__item:focus-visible { outline: 2px solid var(--color-brand-accent, #D4683A); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  .catalog-gallery__item img { transition: none; }
}
.lightbox__caption { position: absolute; bottom: 1.5rem; left: 0; right: 0; text-align: center; color: rgba(255,255,255,0.85); font-size: 0.9rem; padding: 0 1rem; }

/* ================================================================
   Guest portal — demote the floating .sm-nav to a compact static
   topbar so it stops overlapping the guest context bar + sub-nav.
   The starter ships this treatment for `.site-header`, but the Stay
   MA overlay replaces the header with `.sm-nav`, so that CSS never
   applied. Kept dark (brand-primary) because the uploaded logo is a
   white badge that would vanish on a light bar. "Book a Villa" is
   dropped — these guests are already booked.
   ================================================================ */
body[class*="page-guest"] .sm-nav,
body[class*="page-guest"] .sm-nav.is-scrolled {
  position: static;
  inset: auto;
  background: var(--color-brand-primary, #0B1D29);
  padding: 0.55rem var(--sm-gutter);
  box-shadow: 0 1px 0 var(--sm-border-light);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Compact the brand mark in topbar mode. */
body[class*="page-guest"] .sm-brand__logo,
body[class*="page-guest"] .sm-brand__logo svg,
body[class*="page-guest"] .sm-brand__logo img { height: 2.75rem; }
body[class*="page-guest"] .sm-brand__name { font-size: 1.15rem; }
body[class*="page-guest"] .sm-brand__sub { font-size: 0.5rem; margin-top: 0.2rem; }
/* Guests are already booked — hide the "Book a Villa" CTA (desktop + drawer). */
body[class*="page-guest"] .sm-nav__cta .sm-btn--primary,
body[class*="page-guest"] .sm-nav__drawer .sm-btn--primary { display: none; }
