/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #061b30;
  --navy-2:      #0a2540;
  --navy-3:      #0f3258;
  /* semantic aliases */
  --gold:        #537EAC;
  --gold-light:  rgba(83,126,172,.12);
  --gold-dark:   #3d6289;
  --dark:        #061b30;
  --dark-2:      #0a2540;
  --dark-3:      #0f3258;
  --cream:       #eef3f8;
  --off-white:   #f5f8fb;
  --text:        #061b30;
  --text-muted:  rgba(6,27,48,.55);
  --text-light:  rgba(6,27,48,.38);
  --border:      rgba(6,27,48,.14);
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --max-w:       1320px;
  --radius:      3px;
  --transition:  .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
input, select, button, textarea { font-family: inherit; }
svg { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ── CONTAINER ────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .65rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-weight: 500; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-gold {
  background: var(--gold); color: #fff; border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.btn-outline-gold {
  background: transparent; color: var(--gold); border-color: var(--gold);
}
.btn-outline-gold:hover { background: var(--gold); color: #fff; }

.btn-dark {
  background: var(--dark); color: #fff; border-color: var(--dark);
}
.btn-dark:hover { background: var(--dark-3); border-color: var(--dark-3); }

.btn-white {
  background: #fff; color: var(--dark); border-color: #fff;
}
.btn-white:hover { background: rgba(6,27,48,.08); border-color: rgba(6,27,48,.12); }

/* Keep btn-primary alias pointing to gold for backward compat */
.btn-primary  { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-2); border-color: var(--navy-2); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.btn-sm  { padding: .45rem 1rem; font-size: .75rem; }
.btn-lg  { padding: .9rem 2.25rem; font-size: .85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ── HEADER ───────────────────────────────────────────────── */
/* ══════════════════════════════════════════════════════════════
   SITE HEADER & NAVIGATION
   ══════════════════════════════════════════════════════════════ */

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: rgba(6,27,48,.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled {
  background: rgba(6,27,48,.98);
  border-bottom-color: rgba(196,166,97,.18);
  box-shadow: 0 2px 24px rgba(0,0,0,.35);
}

/* Push non-hero pages below the fixed header */
body { padding-top: 76px; }
.hero { margin-top: -76px; }

.header-inner {
  display: flex; align-items: center;
  height: 76px; gap: 0;
}

/* ── Logo ─────────────────────────────────────────────────── */
.logo-lockup {
  display: flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
  margin-right: auto;
}
.logo-text-main {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  color: #fff; display: block; line-height: 1.1;
}
.logo-text-sub {
  font-family: var(--font-sans);
  font-size: .58rem; font-weight: 400;
  letter-spacing: .25em; text-transform: uppercase;
  color: var(--text-light); display: block; margin-top: .2rem;
}

/* ── Nav wrapper ──────────────────────────────────────────── */
.nav {
  display: flex; align-items: center;
  gap: 0; margin-left: auto;
}
.nav-links {
  display: flex; align-items: center;
  gap: .1rem;
  padding-right: 1.25rem;
  border-right: 1px solid rgba(255,255,255,.1);
  margin-right: 1.25rem;
}
.nav-actions {
  display: flex; align-items: center; gap: .65rem;
}

/* ── Regular nav links ────────────────────────────────────── */
.nav-link {
  position: relative;
  padding: .5rem .85rem;
  font-family: var(--font-sans);
  font-size: .82rem; font-weight: 500;
  letter-spacing: .03em;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: .85rem; right: .85rem;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }
.nav-link.active { color: #fff; }
.nav-link.active::after { transform: scaleX(1); }

/* ── Ghost button (Partner) ──────────────────────────────── */
.nav-link-ghost {
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50px;
  padding: .42rem 1rem !important;
  color: rgba(255,255,255,.82) !important;
  font-size: .78rem !important;
  transition: border-color .2s, color .2s, background .2s !important;
}
.nav-link-ghost::after { display: none; }
.nav-link-ghost:hover, .nav-link-ghost.active {
  border-color: rgba(255,255,255,.7);
  color: #fff !important;
  background: rgba(255,255,255,.07);
}

/* ── CTA button (List Your Property) ─────────────────────── */
.nav-link-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff;
  color: var(--navy) !important;
  border-radius: 50px;
  padding: .46rem 1.1rem !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  text-transform: none !important;
  white-space: nowrap;
  transition: background .2s, box-shadow .2s, transform .15s !important;
  box-shadow: 0 2px 14px rgba(255,255,255,.15);
}
.nav-link-cta::after { display: none; }
.nav-link-cta:hover, .nav-link-cta.active {
  background: #e8f0fb;
  box-shadow: 0 4px 20px rgba(255,255,255,.2);
  transform: translateY(-1px);
  color: var(--navy) !important;
}

/* ── Overlay (mobile) ─────────────────────────────────────── */
.nav-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 298;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity .3s;
}
.nav-overlay.open { display: block; opacity: 1; }

/* ── Hamburger toggle ─────────────────────────────────────── */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  cursor: pointer;
  width: 44px; height: 44px;
  margin-left: 1rem;
  flex-shrink: 0;
  transition: background .2s, border-color .2s;
}
.nav-toggle:hover { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.3); }
.bar {
  display: block; width: 20px; height: 1.5px;
  background: rgba(255,255,255,.85); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease, width .3s ease;
  transform-origin: center;
}
/* X state */
.nav-toggle.open .bar--top { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open .bar--mid { opacity: 0; transform: scaleX(0); }
.nav-toggle.open .bar--bot { transform: translateY(-6.5px) rotate(-45deg); }

/* ── VIDEO HERO — full 100vh, video fills entire screen ──── */
.hero {
  position: relative;
  height: 100vh; min-height: 680px;
  display: flex; align-items: center;   /* content centred vertically */
  overflow: hidden;
  /* margin-top: -76px set by the body rule above */
}

.hero-video-wrap {
  position: absolute; inset: 0;
  overflow: hidden;
}
.hero-video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
}

/* YouTube / Vimeo iframe — cover-fill trick */
.hero-video-wrap iframe {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;   /* 16:9 based on width  */
  min-width: 177.78vh; /* 16:9 based on height */
  min-height: 100vh;
  border: none;
  pointer-events: none; /* no interaction — background only */
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    160deg,
    rgba(6,27,48,.72) 0%,
    rgba(6,27,48,.52) 45%,
    rgba(6,27,48,.70) 100%
  );
}

.hero-content {
  position: relative; z-index: 2;
  padding: 80px 0 5rem;   /* 80px top keeps content clear of fixed nav */
  width: 100%; color: #fff;
}

/* ── Trustindex review badge inside hero ─────────────────── */
/* ── HERO SCROLL INDICATOR ───────────────────────────────── */
.hero-scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  z-index: 10;
  transition: color .25s;
}
.hero-scroll:hover { color: #fff; }
.hero-scroll-label {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero-scroll-arrow {
  animation: scrollBounce 1.8s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0);    opacity: .6; }
  50%       { transform: translateY(7px); opacity: 1;  }
}
@media (max-width: 768px) { .hero-scroll { bottom: 1.5rem; } }

/* ── HERO TRUST BADGE ────────────────────────────────────── */
.hero-trust-badge {
  position: absolute;
  top: 90px;
  right: 2rem;
  z-index: 10;
  max-width: 260px;
}
.hero-trust-badge > * { display: block; }

@media (max-width: 768px) {
  /* Hide the in-hero badge; the mobile version renders below the hero */
  .hero-trust-badge { display: none; }
}

/* Badge shown below the hero on mobile */
.hero-trust-badge-mobile {
  display: none;
}
@media (max-width: 768px) {
  .hero-trust-badge-mobile {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.25rem 1rem;
    background: var(--navy);
  }
  .hero-trust-badge-mobile > * { display: block; max-width: 240px; }
}

.hero-label {
  font-family: var(--font-sans);
  font-size: .7rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: 1.1rem;
  display: block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 300; line-height: 1.05;
  letter-spacing: -.01em; margin-bottom: 1.25rem;
}
.hero-title span { font-style: italic; color: #fff; }

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.05rem; font-weight: 300;
  color: rgba(255,255,255,.78);
  max-width: 540px; line-height: 1.75;
  margin-bottom: 2.75rem;
}

/* ── SEARCH BAR (hero glass) ──────────────────────────────── */
.search-bar {
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  display: flex; align-items: stretch;
  overflow: hidden;
  max-width: 920px;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

.search-field {
  flex: 1; padding: 1.1rem 1.3rem;
  border-right: 1px solid rgba(255,255,255,.14);
  display: flex; flex-direction: column; gap: .2rem;
  min-width: 0;
}
.search-field:last-of-type { border-right: none; }

.search-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: .6rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.65); margin-bottom: .3rem;
}
.search-field input,
.search-field .search-select {
  background: none; border: none; outline: none;
  color: #fff; font-size: .92rem;
  font-family: var(--font-sans); width: 100%;
}
.search-field input::placeholder { color: rgba(255,255,255,.5); }

/* Styled select for hero — inherits glass look */
.search-select {
  -webkit-appearance: none; appearance: none;
  cursor: pointer;
  background: transparent;
}
.search-select option { background: #0b1f35; color: #fff; }

/* Color-scheme override so date inputs look right on dark bg */
.search-field input[type="date"] { color-scheme: dark; }

.search-divider { display: none; }

.search-btn {
  background: #fff; color: var(--navy);
  border: none; padding: 0 2rem;
  cursor: pointer; font-family: var(--font-sans);
  font-weight: 600; font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
  display: flex; align-items: center; gap: .5rem;
  flex-shrink: 0;
}
.search-btn:hover { background: var(--cream); }

/* ── AREAS STRIP ──────────────────────────────────────────── */
.areas-strip {
  background: var(--dark-2);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: .85rem 0;
  overflow-x: auto; white-space: nowrap;
  scrollbar-width: none;
}
.areas-strip::-webkit-scrollbar { display: none; }

.areas-inner {
  display: inline-flex; gap: .5rem;
  padding: 0 2rem;
}

.area-pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem;
  min-height: 36px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.6);
  font-family: var(--font-sans);
  font-size: .78rem; letter-spacing: .05em;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.area-pill:hover, .area-pill.active {
  border-color: #fff; color: #fff;
}

/* ── SECTIONS ─────────────────────────────────────────────── */
.section { padding: 6rem 0; }
.section-alt { background: var(--cream); }
.section-dark { background: var(--dark); color: #fff; }

.section-header { margin-bottom: 3.5rem; }
.section-header.center { text-align: center; }

.section-header.space-between {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}

.section-label {
  display: block;
  font-family: var(--font-sans);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .25em; text-transform: uppercase;
  color: rgba(6,27,48,.5); margin-bottom: 1rem;
  letter-spacing: .3em;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300; line-height: 1.15;
  color: var(--text);
}
.section-title em { font-style: italic; color: var(--navy); }
.section-dark .section-title { color: #fff; }

.section-subtitle {
  font-family: var(--font-sans);
  font-size: .95rem; color: var(--text-muted);
  line-height: 1.75; margin-top: .85rem;
  max-width: 560px;
}
.section-header.center .section-subtitle { margin-left: auto; margin-right: auto; }

.section-cta { text-align: center; margin-top: 3rem; }
.section-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* ── PROPERTY GRID & CARDS ────────────────────────────────── */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Featured section: 4 cards in a single row */
.property-grid-featured {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  .property-grid-featured { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .property-grid-featured { grid-template-columns: 1fr; }
}

.property-card {
  background: #fff;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow .22s ease, transform .22s ease;
}
.property-card:hover {
  box-shadow: 0 8px 32px rgba(6,27,48,.13);
  transform: translateY(-3px);
}

.card-image-link { display: block; }

.card-image {
  aspect-ratio: 4/3; overflow: hidden;
  position: relative; background: var(--cream);
}
.card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.property-card:hover .card-image img { transform: scale(1.05); }

/* Badges on image */
.badge {
  position: absolute;
  padding: .3rem .65rem;
  font-family: var(--font-sans);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  display: flex; align-items: center; gap: .3rem;
  border-radius: 6px;
}
.badge-top {
  top: .75rem; left: .75rem;
  background: var(--navy); color: #fff;
}

.wishlist-btn {
  position: absolute; bottom: .75rem; right: .75rem;
  background: rgba(255,255,255,.92); border: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .18s, transform .18s, box-shadow .18s;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.wishlist-btn:hover { background: #fff; transform: scale(1.12); box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.wishlist-btn.saved svg { fill: #e11d48; stroke: #e11d48; }

/* Card body */
.card-body { padding: 1rem 1.1rem 1.1rem; }

/* Meta row: rating left, neighbourhood right */
.card-meta {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: .5rem;
}
.card-meta-left {
  display: flex; align-items: center; gap: .3rem;
}
.card-rating {
  font-family: var(--font-sans); font-size: .82rem;
  font-weight: 700; color: var(--navy);
  display: flex; align-items: center; gap: .2rem;
}
.card-reviews {
  font-family: var(--font-sans); font-size: .8rem;
  color: var(--text-muted);
}
.card-neighbourhood {
  font-family: var(--font-sans); font-size: .78rem;
  color: var(--text-muted);
}

.card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 400;
  line-height: 1.35; margin-bottom: .65rem;
  color: var(--navy);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: rgba(6,27,48,.65); }

.card-specs {
  display: flex; flex-wrap: wrap; gap: .4rem .8rem;
  margin-bottom: .9rem;
}
.card-specs span {
  font-family: var(--font-sans);
  font-size: .78rem; color: var(--text-muted);
  display: flex; align-items: center; gap: .28rem;
}
.card-specs span svg { color: var(--navy); opacity: .7; flex-shrink: 0; }

.card-footer {
  display: flex; align-items: center;
  justify-content: space-between;
  padding-top: .75rem; border-top: 1px solid var(--border);
}

.card-price { display: flex; align-items: baseline; gap: .25rem; flex-wrap: wrap; }
.card-price strong {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 600; color: var(--text);
}
.card-price span {
  font-family: var(--font-sans);
  font-size: .75rem; color: var(--text-muted);
}
/* Secondary price line (e.g. monthly under the nightly headline) */
.card-price-alt {
  flex-basis: 100%;
  font-family: var(--font-sans);
  font-size: .74rem; color: var(--text-muted);
  margin-top: .1rem;
}

/* Legacy block-renderer amenity style (home page feature blocks) */
.amenity-title {
  font-family: var(--font-serif);
  font-size: 1.1rem; margin-bottom: .5rem;
}

.amenity-text {
  font-family: var(--font-sans);
  font-size: .85rem; color: var(--text-muted); line-height: 1.7;
}

/* Legacy features grid kept for block-renderer fallback */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px; background: var(--border);
}
.feature-card {
  background: #fff;
  padding: 2.5rem 2rem; text-align: center;
}
.feature-icon {
  width: 48px; height: 48px;
  background: rgba(6,27,48,.06); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem; color: var(--navy);
}
.feature-card h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: .5rem; }
.feature-card p  { font-family: var(--font-sans); font-size: .85rem; color: var(--text-muted); line-height: 1.7; }

/* ── STATS BAR ────────────────────────────────────────────── */
.stats-bar { background: var(--navy); padding: 4rem 0; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 1.75rem 1rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.stat-item:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 4vw, 3.75rem); font-weight: 300;
  color: #fff; line-height: 1;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin-top: .65rem;
}

/* ── SERVICES SECTION (legacy, kept for other pages) ──────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px; background: var(--border);
  margin-top: 3rem;
}

.service-card {
  background: var(--off-white); padding: 3rem;
  transition: background var(--transition), color var(--transition);
}
.service-card:hover { background: var(--navy); color: #fff; }
.service-card:hover .service-icon { color: rgba(255,255,255,.85); }
.service-card:hover .service-text { color: rgba(255,255,255,.7); }

.service-icon { color: var(--navy); margin-bottom: 1.5rem; }

.service-title {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 400; margin-bottom: .75rem;
}

.service-text {
  font-family: var(--font-sans);
  font-size: .88rem; color: var(--text-muted); line-height: 1.8;
  transition: color var(--transition);
}

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  padding: 2rem;
  border: 1px solid var(--border);
}

.testimonial-stars {
  color: var(--navy); font-size: .9rem;
  margin-bottom: 1rem; letter-spacing: .1em;
}

.testimonial-card p {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-style: italic;
  color: var(--text); line-height: 1.7; margin-bottom: 1.5rem;
}

.testimonial-author { display: flex; align-items: center; gap: .75rem; }

.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--dark-3); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: .75rem; font-weight: 600; flex-shrink: 0;
}

.author-name { font-family: var(--font-sans); font-size: .85rem; font-weight: 600; }
.author-date { font-family: var(--font-sans); font-size: .75rem; color: var(--text-light); }

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-banner { background: var(--dark); padding: 6rem 0; text-align: center; }

.cta-banner h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300; color: #fff; margin-bottom: 1rem;
}
.cta-banner p {
  font-family: var(--font-sans);
  color: rgba(255,255,255,.6); font-size: 1rem; margin-bottom: 2.5rem;
}

.cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  font-weight: 300; color: #fff; text-align: left; margin-bottom: .5rem;
}
.cta-inner p {
  font-family: var(--font-sans);
  color: rgba(255,255,255,.6); font-size: .95rem; margin-bottom: 0;
}

/* ── TOP LOCATIONS SECTION ─────────────────────────────────── */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 260px);
  gap: 1rem;
}

/* First card spans 2 rows — hero card */
.locations-grid .location-card:first-child {
  grid-row: span 2;
}

.location-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.location-img-wrap {
  position: absolute; inset: 0;
}
.location-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.location-card:hover .location-img-wrap img {
  transform: scale(1.06);
}

.location-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,27,48,.82) 0%,
    rgba(6,27,48,.25) 55%,
    rgba(6,27,48,.08) 100%
  );
  transition: background .3s;
}
.location-card:hover .location-overlay {
  background: linear-gradient(
    to top,
    rgba(6,27,48,.88) 0%,
    rgba(6,27,48,.35) 55%,
    rgba(6,27,48,.12) 100%
  );
}

.location-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1.5rem 1.4rem;
  display: flex; flex-direction: column; gap: .3rem;
}

.location-tag {
  font-family: var(--font-sans);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

.location-name {
  font-family: var(--font-serif);
  font-size: 1.35rem; font-weight: 400;
  color: #fff; margin: 0;
  line-height: 1.2;
}
/* Hero card gets bigger title */
.location-card:first-child .location-name {
  font-size: 1.9rem;
}

.location-cta {
  font-family: var(--font-sans);
  font-size: .75rem; font-weight: 600;
  color: rgba(255,255,255,.0);
  display: inline-flex; align-items: center; gap: .3rem;
  transition: color .25s, gap .25s;
  margin-top: .15rem;
}
.location-card:hover .location-cta {
  color: rgba(255,255,255,.85);
  gap: .5rem;
}

@media (max-width: 900px) {
  .locations-grid {
    grid-template-columns: repeat(2, 1fr);
    /* Must keep explicit row height — cards use position:absolute images */
    grid-template-rows: 240px 240px 240px;
    gap: .75rem;
  }
  .locations-grid .location-card:first-child {
    grid-row: span 1;
    grid-column: span 2;
  }
  /* All cards need an explicit height so absolutely-positioned images render */
  .location-card { height: 240px; }
}
@media (max-width: 560px) {
  .locations-grid {
    grid-template-columns: 1fr;
    grid-template-rows: unset;
    gap: .65rem;
  }
  .locations-grid .location-card:first-child {
    grid-column: span 1;
  }
  /* Scrollable horizontal layout on very small screens */
  .locations-grid {
    display: flex;
    flex-direction: column;
  }
  .location-card { height: 190px; }
}
@media (max-width: 400px) {
  .location-card { height: 170px; }
}

/* ── HOME PAGE — AMENITIES CARDS ──────────────────────────── */
.home-amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: .5rem;
}

.home-amenity-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  display: flex; flex-direction: column; align-items: flex-start; gap: .85rem;
  transition: box-shadow .2s, transform .2s;
}
.home-amenity-card:hover {
  box-shadow: 0 8px 32px rgba(6,27,48,.10);
  transform: translateY(-2px);
}

.home-amenity-icon {
  width: 52px; height: 52px;
  background: rgba(6,27,48,.06);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.home-amenity-title {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-weight: 400;
  color: var(--navy); margin: 0;
}

.home-amenity-text {
  font-family: var(--font-sans);
  font-size: .845rem; color: var(--text-muted);
  line-height: 1.7; margin: 0;
}

/* ── HOME PAGE — SERVICES GRID ─────────────────────────────── */
.home-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.home-service-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.75rem 2.5rem;
  display: flex; flex-direction: column;
  transition: background .25s, color .25s, box-shadow .25s;
}
.home-service-card:hover {
  background: var(--navy);
  box-shadow: 0 16px 48px rgba(6,27,48,.18);
}
.home-service-card:hover .home-service-num { color: rgba(255,255,255,.2); }
.home-service-card:hover .home-service-icon { color: rgba(255,255,255,.8); background: rgba(255,255,255,.1); }
.home-service-card:hover .home-service-title { color: #fff; }
.home-service-card:hover .home-service-text { color: rgba(255,255,255,.65); }
.home-service-card:hover .home-service-link { color: rgba(255,255,255,.8); }
.home-service-card:hover .home-service-link:hover { color: #fff; }

.home-service-num {
  font-family: var(--font-serif);
  font-size: 2.5rem; font-weight: 300; line-height: 1;
  color: rgba(6,27,48,.12);
  margin-bottom: 1.25rem;
  transition: color .25s;
}

.home-service-icon {
  color: var(--navy);
  background: rgba(6,27,48,.06);
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
  transition: color .25s, background .25s;
}

.home-service-title {
  font-family: var(--font-serif);
  font-size: 1.4rem; font-weight: 400;
  color: var(--navy); margin: 0 0 .75rem;
  transition: color .25s;
}

.home-service-text {
  font-family: var(--font-sans);
  font-size: .88rem; color: var(--text-muted);
  line-height: 1.8; margin: 0 0 1.5rem;
  flex: 1;
  transition: color .25s;
}

.home-service-link {
  font-family: var(--font-sans);
  font-size: .8rem; font-weight: 600;
  color: var(--navy); text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
  letter-spacing: .03em;
  transition: gap .2s, color .25s;
  margin-top: auto;
}
.home-service-link:hover { gap: .55rem; }

/* ── HOME BLOG PREVIEW ──────────────────────────────────── */
.home-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.home-blog-card {
  background: #fff;
  border: 1px solid #e8edf2;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.home-blog-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,.1);
  transform: translateY(-3px);
}
.home-blog-thumb-link { display: block; overflow: hidden; aspect-ratio: 16/9; }
.home-blog-thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.home-blog-card:hover .home-blog-thumb { transform: scale(1.04); }
.home-blog-body {
  padding: 1.25rem 1.4rem 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.home-blog-cat {
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .55rem;
}
.home-blog-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.35;
  margin-bottom: .65rem;
}
.home-blog-title a { color: var(--navy); text-decoration: none; }
.home-blog-title a:hover { color: var(--gold); }
.home-blog-excerpt {
  font-family: var(--font-sans);
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 1rem;
}
.home-blog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f3f7;
  padding-top: .75rem;
  margin-top: auto;
}
.home-blog-date {
  font-family: var(--font-sans);
  font-size: .75rem;
  color: var(--text-muted);
}
.home-blog-read {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: .02em;
}
.home-blog-read:hover { text-decoration: underline; }

/* ── HOME PAGE — TESTIMONIALS ──────────────────────────────── */
.home-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.home-testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  display: flex; flex-direction: column;
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.home-testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(6,27,48,.1);
  transform: translateY(-3px);
}

.home-testimonial-featured {
  background: var(--navy);
  border-color: var(--navy);
}
.home-testimonial-featured .home-testimonial-quote { color: rgba(255,255,255,.18); }
.home-testimonial-featured .home-testimonial-text { color: rgba(255,255,255,.9); }
.home-testimonial-featured .home-testimonial-stars { color: #f59e0b; }
.home-testimonial-featured .home-author-name { color: #fff; }
.home-testimonial-featured .home-author-location { color: rgba(255,255,255,.55); }
.home-testimonial-featured .home-author-avatar { background: rgba(255,255,255,.15); color: #fff; }

.home-testimonial-quote {
  font-family: var(--font-serif);
  font-size: 5rem; line-height: .8;
  color: rgba(6,27,48,.1);
  margin-bottom: .5rem;
  display: block;
}

.home-testimonial-text {
  font-family: var(--font-serif);
  font-size: 1.05rem; font-style: italic;
  color: var(--text); line-height: 1.75;
  flex: 1; margin: 0 0 1.5rem;
}

.home-testimonial-stars {
  color: #f59e0b;
  font-size: .9rem; letter-spacing: .05em;
  margin-bottom: 1.25rem;
}

.home-testimonial-author {
  display: flex; align-items: center; gap: .75rem;
  margin-top: auto;
}

.home-author-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--dark-3); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans);
  font-size: .72rem; font-weight: 700;
  flex-shrink: 0; letter-spacing: .05em;
}

.home-author-name {
  font-family: var(--font-sans);
  font-size: .875rem; font-weight: 600; color: var(--navy);
}
.home-author-location {
  font-family: var(--font-sans);
  font-size: .75rem; color: var(--text-light);
  margin-top: .1rem;
}

/* ── HOME PAGE — CTA BANNER ────────────────────────────────── */
/* ── CTA BANNER ──────────────────────────────────────────── */
.home-cta-banner {
  background: var(--dark);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.home-cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(196,166,97,.12) 0%, transparent 65%);
  pointer-events: none;
}

.home-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.home-cta-text { flex: 1; }

.home-cta-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4.5vw, 3.75rem);
  font-weight: 300; color: #fff;
  line-height: 1.15; margin: .6rem 0 1.1rem;
}
.home-cta-text h2 em { font-style: italic; color: #c4a661; }

.home-cta-text p {
  font-family: var(--font-sans);
  color: rgba(255,255,255,.55);
  font-size: 1rem; line-height: 1.7;
  max-width: 440px; margin: 0;
}

.home-cta-actions {
  display: flex; flex-direction: column; align-items: flex-end; gap: 1.1rem;
  flex-shrink: 0;
}

.home-cta-secondary {
  font-family: var(--font-sans);
  font-size: .83rem; font-weight: 500;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: .35rem;
  transition: color .2s, gap .2s;
  letter-spacing: .03em;
}
.home-cta-secondary:hover { color: #fff; gap: .55rem; }

/* ── RESPONSIVE — HOME SECTIONS ────────────────────────────── */
@media (max-width: 1024px) {
  .home-amenities-grid    { grid-template-columns: repeat(2, 1fr); }
  .home-services-grid     { grid-template-columns: repeat(2, 1fr); }
  .home-testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .home-blog-grid         { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .home-amenities-grid    { grid-template-columns: 1fr; }
  .home-services-grid     { grid-template-columns: 1fr; }
  .home-testimonials-grid { grid-template-columns: 1fr; }
  .home-blog-grid         { grid-template-columns: 1fr; }
  .home-cta-inner         { flex-direction: column; align-items: flex-start; }
  .home-cta-actions       { align-items: flex-start; }
}

/* ── API NOTICE ───────────────────────────────────────────── */
.api-notice {
  background: rgba(6, 27, 48, .04);
  border: 1px solid rgba(6, 27, 48, .15);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.api-notice-inner { display: flex; align-items: flex-start; gap: .75rem; }
.notice-icon { flex-shrink: 0; color: var(--navy); }
.api-notice strong { display: block; margin-bottom: .2rem; font-family: var(--font-sans); font-size: .88rem; }
.api-notice p { font-family: var(--font-sans); font-size: .85rem; color: var(--text-muted); }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.65);
  padding: 5rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo-link {
  display: flex; flex-direction: column;
  text-decoration: none; margin-bottom: 1rem;
}
.footer-logo-link .logo-text-main { color: #fff; }
.footer-logo-link .logo-text-sub  { color: var(--text-light); }
.footer-logo-img {
  /* footer background is dark — keep the logo white */
  filter: brightness(0) invert(1);
  opacity: .9;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: .82rem; line-height: 1.7;
  margin-top: 1rem; max-width: 240px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-bottom: 1.25rem;
}

.footer-col ul li { margin-bottom: .6rem; }

.footer-col ul a {
  font-family: var(--font-sans);
  font-size: .85rem; color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-col ul a:hover { color: #fff; }

.footer-col address p {
  display: flex; align-items: flex-start; gap: .5rem;
  font-family: var(--font-sans);
  font-size: .82rem; color: rgba(255,255,255,.55);
  margin-bottom: .75rem;
}
.footer-col address p svg { margin-top: 2px; flex-shrink: 0; }
.footer-col address a { color: rgba(255,255,255,.55); }
.footer-col address a:hover { color: #fff; }

.footer-bottom {
  padding: 1.5rem 0; text-align: center;
}
.footer-bottom p {
  font-family: var(--font-sans);
  font-size: .75rem; color: rgba(255,255,255,.3);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

.social-links { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social-link {
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); transition: all .2s;
}
.social-link:hover { border-color: rgba(255,255,255,.5); color: #fff; }

/* ── BOOKING WIDGET ───────────────────────────────────────── */
.booking-widget {
  background: #fff;
  border-radius: 14px;
  padding: 1.5rem;
  border: 1.5px solid var(--border);
  box-shadow: 0 6px 40px rgba(0,0,0,.12);
  position: sticky; top: 88px;
  /* Ensure widget never grows wider than the column it sits in */
  min-width: 0; overflow: hidden;
}

.widget-header { margin-bottom: 1.25rem; }
.widget-price { display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.widget-price .price-amount { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600; color: var(--navy); }
.widget-price .price-unit   { font-family: var(--font-sans); color: var(--text-muted); font-size: .875rem; }
.widget-price-nightly {
  font-family: var(--font-sans); font-size: .82rem; color: var(--text-muted);
  margin-top: .1rem;
}
.widget-rating {
  font-family: var(--font-sans); font-size: .84rem; color: var(--text-muted);
  margin-top: .35rem;
}

.booking-form { margin-bottom: .75rem; }

.booking-dates {
  display: grid; grid-template-columns: 1fr 1fr;
  border: 1.5px solid var(--navy);
  border-radius: 10px;
  margin-bottom: .65rem; overflow: hidden;
  /* prevent child cells from overflowing the widget */
  min-width: 0;
}
.booking-dates > .booking-field { min-width: 0; overflow: hidden; }

.booking-field { padding: .7rem .85rem; }
.booking-field + .booking-field { border-left: 1.5px solid var(--navy); }
.booking-field.full {
  border: 1.5px solid var(--navy);
  border-radius: 10px; margin-bottom: .65rem;
}
.booking-field label {
  display: block;
  font-family: var(--font-sans);
  font-size: .58rem; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase;
  color: var(--text); margin-bottom: .25rem;
}
.booking-field input, .booking-field select {
  border: none; outline: none;
  font-family: var(--font-sans);
  font-size: .82rem; color: var(--text);
  background: transparent; width: 100%;
  min-width: 0; /* prevent overflow in grid */
  box-sizing: border-box;
}
/* Tighten the native date picker so the icon doesn't overflow */
.booking-field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 0;
}
.booking-field input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: .55;
  cursor: pointer;
  margin-left: 2px;
  flex-shrink: 0;
}

.widget-note { text-align: center; font-family: var(--font-sans); font-size: .8rem; color: var(--text-muted); margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: .3rem; }

.price-breakdown { font-family: var(--font-sans); font-size: .875rem; border-top: 1px solid var(--border); padding-top: 1rem; margin-top: .5rem; }
.price-row { display: flex; justify-content: space-between; padding: .4rem 0; color: var(--text-muted); }
.price-row.total { color: var(--text); font-weight: 700; font-size: .95rem; }

.avail-msg {
  margin-top: .85rem; padding: .75rem 1rem;
  border-radius: var(--radius);
  font-family: var(--font-sans); font-size: .85rem;
}
.avail-msg-error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.avail-msg-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }

/* ── SEARCH PAGE ──────────────────────────────────────────── */
.search-page-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}
.search-page-header h1 {
  font-family: var(--font-serif);
  font-size: 2rem; margin-bottom: 1.25rem; font-weight: 300;
}

.search-bar-compact {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.search-bar-compact .search-field { border-right: 1px solid var(--border); }
.search-bar-compact .search-field input { color: var(--text); }
.search-bar-compact .search-field input::placeholder { color: var(--text-light); }
.search-bar-compact .search-field label { color: var(--text-muted); }
.search-bar-compact .search-btn { border-radius: 0 var(--radius) var(--radius) 0; background: var(--navy); color: #fff; }

.search-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  padding-top: 2.5rem; padding-bottom: 4rem;
  align-items: start;
}

.filter-card, .filters-sidebar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky; top: 88px;
}

.filter-group { margin-bottom: 1.75rem; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h3 {
  font-family: var(--font-sans);
  font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: .85rem;
}

.filter-checkbox {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans);
  font-size: .9rem; cursor: pointer;
  padding: .35rem 0; color: var(--text);
}
.filter-checkbox input { cursor: pointer; accent-color: var(--navy); }

.filter-clear { display: block; font-family: var(--font-sans); font-size: .8rem; color: var(--navy); margin-top: .5rem; }

.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.price-input-field label { font-family: var(--font-sans); font-size: .75rem; color: var(--text-muted); display: block; margin-bottom: .25rem; }
.price-input-wrap {
  display: flex; align-items: center; gap: .25rem;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: .45rem .6rem; font-size: .875rem;
}
.price-input-wrap span { color: var(--text-muted); }
.price-input-wrap input { border: none; outline: none; width: 100%; background: transparent; }

.guest-filter-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.filter-pill-label { cursor: pointer; }
.filter-pill-label input { display: none; }
.filter-pill-label span {
  display: block; text-align: center;
  padding: .4rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans); font-size: .875rem;
  transition: all var(--transition);
}
.filter-pill-label input:checked + span { border-color: var(--navy); color: var(--navy); background: rgba(6,27,48,.06); }

.results-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem; gap: 1rem;
}
.results-count { font-family: var(--font-sans); font-size: .95rem; color: var(--text-muted); }
.results-count strong { color: var(--text); }
.results-count em { font-style: normal; font-weight: 600; }

.sort-control { display: flex; align-items: center; gap: .5rem; font-family: var(--font-sans); font-size: .875rem; }
.sort-control select {
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: .4rem .75rem;
  font-size: .875rem; outline: none;
  background: #fff; cursor: pointer;
}

.pagination { display: flex; gap: .4rem; justify-content: center; padding: 2.5rem 0 0; flex-wrap: wrap; }
.page-btn {
  padding: .5rem .85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans); font-size: .875rem; font-weight: 500;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active {
  border-color: var(--navy); color: var(--navy); background: rgba(6,27,48,.04);
}
.page-ellipsis { display: flex; align-items: center; padding: 0 .25rem; color: var(--text-muted); }

/* ── SEARCH PAGE: neighbourhood select ─────────────────────── */
.search-bar-compact .search-field select {
  border: none; outline: none; background: transparent;
  font-family: var(--font-sans); font-size: .95rem;
  color: var(--text); cursor: pointer; width: 100%;
  padding: 0; -webkit-appearance: none; appearance: none;
}
.search-bar-compact .search-field select option { color: var(--text); }

/* ── FILTER: pill row (bedrooms / bathrooms) ────────────────── */
.filter-pill-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.filter-pill-row .filter-pill-label span {
  padding: .3rem .65rem; font-size: .82rem;
}
.prop-type-grid { display: flex; flex-wrap: wrap; gap: .35rem; }
.prop-type-grid .filter-pill-label span { font-size: .875rem; }

/* ── FILTER: toggle switch (instant book) ───────────────────── */
.toggle-switch-label {
  display: flex; align-items: center; gap: .65rem; cursor: pointer;
  font-family: var(--font-sans); font-size: .875rem; color: var(--text);
}
.toggle-switch-label input { display: none; }
.toggle-switch-track {
  flex-shrink: 0; width: 38px; height: 22px;
  background: var(--border); border-radius: 999px;
  position: relative; transition: background .2s;
}
.toggle-switch-label input:checked ~ .toggle-switch-track { background: var(--navy); }
.toggle-switch-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: #fff;
  transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.toggle-switch-label input:checked ~ .toggle-switch-track .toggle-switch-thumb {
  transform: translateX(16px);
}

/* ── ACTIVE FILTER CHIPS ────────────────────────────────────── */
.active-chips {
  display: flex; flex-wrap: wrap; gap: .45rem;
  margin-bottom: 1.25rem;
}
.active-chip {
  display: inline-flex; align-items: center; gap: .35rem;
  background: rgba(6,27,48,.07); border: 1px solid rgba(6,27,48,.18);
  border-radius: 999px; padding: .3rem .7rem;
  font-family: var(--font-sans); font-size: .8rem; font-weight: 500; color: var(--navy);
  transition: background var(--transition);
}
.active-chip:hover { background: rgba(6,27,48,.13); }
.active-chip span { font-size: .7rem; opacity: .7; }

/* ── NO RESULTS ─────────────────────────────────────────────── */
.no-results {
  grid-column: 1 / -1;
  text-align: center; padding: 4rem 2rem;
  color: var(--text-muted);
}
.no-results svg { opacity: .3; margin-bottom: 1.25rem; }
.no-results h3 { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 300; color: var(--text); margin-bottom: .5rem; }
.no-results p { font-family: var(--font-sans); font-size: .95rem; }

/* ── CARD: neighbourhood badge & price-na ───────────────────── */
.card-neighbourhood {
  margin-left: auto; font-family: var(--font-sans); font-size: .78rem;
  color: var(--text-muted);
}
.card-price-na { font-family: var(--font-sans); font-size: .82rem; color: var(--text-muted); font-style: italic; }

/* ── PROPERTY GALLERY (Airbnb mosaic) ───────────────────────── */
.pg-wrap {
  background: #fff;
  padding: 1.5rem 0 0;
  user-select: none;
}

/* Single photo */
.pg-solo {
  display: block; width: 100%; cursor: pointer;
  border: none; padding: 0; overflow: hidden; border-radius: 16px;
}
.pg-solo img { width: 100%; height: 480px; object-fit: cover; display: block; transition: transform .4s ease; }
.pg-solo:hover img { transform: scale(1.02); }

/* No-API placeholder */
.pg-empty img { width: 100%; height: 420px; object-fit: cover; display: block; border-radius: 16px; }

/* Airbnb mosaic: big left + 2×2 right */
.pg-mosaic-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr;
  height: 480px;
  gap: 6px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.pg-main {
  grid-column: 1; grid-row: 1;
  border: none; padding: 0; cursor: pointer; overflow: hidden;
  background: #d0d0d0; display: block;
}
.pg-main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.pg-main:hover img { transform: scale(1.03); }

.pg-thumbs {
  grid-column: 2; grid-row: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
}

.pg-thumb {
  border: none; padding: 0; cursor: pointer; overflow: hidden;
  background: #d8d8d8; display: block; position: relative;
}
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.pg-thumb:hover img { transform: scale(1.05); }

/* Overlay on last thumb when there are more photos */
.pg-thumb-last::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,.38);
  transition: background .2s;
}
.pg-thumb-last:hover::after { background: rgba(0,0,0,.28); }

.pg-more-label {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .88rem;
  gap: .35rem; pointer-events: none; text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* "Show all photos" pill — bottom-right of mosaic */
.pg-show-all {
  position: absolute; bottom: 1rem; right: 1rem; z-index: 10;
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; color: var(--text);
  border: 1.5px solid rgba(0,0,0,.22); border-radius: 8px;
  padding: .55rem 1rem;
  font-family: var(--font-sans); font-size: .8rem; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 6px rgba(0,0,0,.15);
  transition: box-shadow .18s, border-color .18s;
}
.pg-show-all:hover { box-shadow: 0 3px 14px rgba(0,0,0,.22); border-color: rgba(0,0,0,.38); }
.pg-show-all svg { color: var(--navy); }

/* Tablet */
@media (max-width: 768px) {
  .pg-mosaic-wrap { height: 360px; }
}
/* Mobile: show only main photo, hide thumbs */
@media (max-width: 600px) {
  .pg-wrap { padding: 0; }
  .pg-mosaic-wrap {
    grid-template-columns: 1fr;
    height: 260px;
    border-radius: 0;
  }
  .pg-thumbs { display: none; }
  .pg-main { grid-column: 1; }
  .pg-show-all { bottom: .75rem; right: .75rem; padding: .4rem .8rem; font-size: .76rem; }
  .pg-solo img { height: 280px; }
}

/* ── LIGHTBOX ─────────────────────────────────────────────── */
/* ── GALLERY MODAL ───────────────────────────────────────── */
.lb-modal {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(5,14,25,.97);
  flex-direction: column; color: #fff;
}
.lb-modal.open { display: flex; }

/* Shared header */
.lb-modal-header {
  display: flex; align-items: center; gap: 1rem;
  padding: .8rem 1.25rem;
  background: rgba(0,0,0,.35);
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-shrink: 0;
}
.lb-modal-title {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 400;
  flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  opacity: .85;
}
.lb-modal-close {
  background: rgba(255,255,255,.1); border: none;
  color: #fff; font-size: 1.5rem; line-height: 1;
  width: 38px; height: 38px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background .2s;
}
.lb-modal-close:hover { background: rgba(255,255,255,.22); }

/* ── GRID VIEW ── */
.lb-grid-view {
  display: none; flex-direction: column; flex: 1; min-height: 0;
}
.lb-photo-grid {
  flex: 1; overflow-y: auto; overflow-x: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 6px; padding: 1rem;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent;
}
.lb-photo-grid::-webkit-scrollbar { width: 6px; }
.lb-photo-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 3px; }
.lb-grid-item {
  position: relative; aspect-ratio: 4/3;
  overflow: hidden; border-radius: 6px;
  padding: 0; border: none; background: #0d2035;
  cursor: pointer; transition: transform .2s, box-shadow .2s;
}
.lb-grid-item:hover { transform: scale(1.02); box-shadow: 0 0 0 3px rgba(255,255,255,.4); }
.lb-grid-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .2s; }
.lb-grid-num {
  position: absolute; bottom: 6px; right: 8px;
  font-family: var(--font-sans); font-size: .7rem;
  color: rgba(255,255,255,.7); background: rgba(0,0,0,.45);
  padding: 1px 6px; border-radius: 10px;
}

/* ── SLIDESHOW VIEW ── */
.lb-slide-view {
  display: none; flex-direction: column; flex: 1; min-height: 0;
}
.lb-back-btn {
  background: none; border: 1px solid rgba(255,255,255,.25);
  color: rgba(255,255,255,.8); font-family: var(--font-sans);
  font-size: .8rem; padding: .3rem .75rem; border-radius: 20px;
  cursor: pointer; transition: background .2s;
  white-space: nowrap;
}
.lb-back-btn:hover { background: rgba(255,255,255,.12); }
.lb-slide-counter {
  font-family: var(--font-sans); font-size: .8rem;
  color: rgba(255,255,255,.5); letter-spacing: .08em;
  flex: 1; text-align: center;
}
.lb-stage {
  flex: 1; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; min-height: 0;
}
.lb-img-wrap {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem 4.5rem;
}
.lb-img-wrap img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; display: block;
  transition: opacity .18s ease;
}
.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 2rem; line-height: 1;
  width: 50px; height: 50px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s; z-index: 2;
}
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.22); }
.lb-prev { left: .85rem; }
.lb-next { right: .85rem; }

/* Filmstrip */
.lb-filmstrip {
  display: flex; gap: 4px;
  overflow-x: auto; overflow-y: hidden;
  padding: .6rem .75rem;
  background: rgba(0,0,0,.45);
  border-top: 1px solid rgba(255,255,255,.07);
  flex-shrink: 0;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.2) transparent;
}
.lb-filmstrip::-webkit-scrollbar { height: 4px; }
.lb-filmstrip::-webkit-scrollbar-thumb { background: rgba(255,255,255,.25); border-radius: 2px; }
.lb-film-thumb {
  flex-shrink: 0; width: 84px; height: 58px;
  overflow: hidden; border: 2px solid transparent; border-radius: 2px;
  padding: 0; background: #0d2035; cursor: pointer;
  opacity: .55; transition: opacity .15s, border-color .15s;
}
.lb-film-thumb:hover { opacity: .85; }
.lb-film-thumb.active { border-color: #fff; opacity: 1; }
.lb-film-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

.property-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem; padding-top: 2rem; padding-bottom: 5rem;
  align-items: start;
}

.property-detail { padding: 2.5rem 0 4rem; }

.property-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 1rem; margin-bottom: 1.25rem;
}

.property-rating { display: flex; align-items: center; gap: .4rem; flex-shrink: 0; }
.rating-num   { font-weight: 700; }
.rating-count { font-family: var(--font-sans); color: var(--text-muted); font-size: .875rem; }
.rating-badge {
  display: inline-block;
  background: var(--cream); border: 1px solid var(--border);
  padding: .2rem .6rem; border-radius: 2px;
  font-family: var(--font-sans); font-size: .875rem; font-weight: 600;
}

.stars .star       { color: var(--navy); font-size: 1.1rem; }
.stars .star.empty { color: var(--border); }

.spec-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.spec-pill {
  padding: .4rem 1rem;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 2px; font-family: var(--font-sans); font-size: .875rem; font-weight: 500;
}

.property-section { margin-bottom: 1.5rem; }
.property-section h2 {
  font-family: var(--font-serif);
  font-size: 1.45rem; font-weight: 400; margin-bottom: 1.1rem; color: var(--navy);
}
.property-description { font-family: var(--font-sans); font-size: .95rem; color: var(--text); line-height: 1.8; }

/* ── DESCRIPTION COLLAPSIBLE ──────────────────────────────── */
.prop-description { font-family: var(--font-sans); font-size: .95rem; color: var(--text); line-height: 1.85; }
.prop-description.collapsible:not(.expanded) .prop-desc-inner {
  max-height: 140px; overflow: hidden; position: relative;
}
.prop-description.collapsible:not(.expanded) .prop-desc-inner::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 52px; background: linear-gradient(transparent, #fff);
}

/* ── AMENITIES ────────────────────────────────────────────── */
.section-hint { font-family: var(--font-sans); color: var(--text-muted); font-size: .9rem; margin-top: -.5rem; margin-bottom: 1.25rem; }

/* Group container */
.amenities-grouped { display: flex; flex-direction: column; gap: 1.4rem; }

.amenity-group {}
.amenity-group-label {
  font-family: var(--font-sans);
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: .65rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid var(--border);
}

/* Item grid within a group */
.amenities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.amenity-item {
  display: flex; align-items: center; gap: .75rem;
  font-family: var(--font-sans); font-size: .875rem; color: var(--text);
  padding: .75rem 0;
  border-bottom: 1px solid var(--border);
}
.amenity-item:last-child { border-bottom: none; }
.amenity-item:hover { color: var(--navy); }

/* Hostify SVG icons — use currentColor so they inherit navy */
.amenity-icon {
  color: var(--navy); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  background: rgba(6,27,48,.06); border-radius: 5px;
}
.amenity-icon .am-svg {
  display: block;
  color: var(--navy);
}
.amenity-name { line-height: 1.3; flex: 1; }

@media (max-width: 640px) {
  .amenities-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 380px) {
  .amenities-grid { grid-template-columns: 1fr; }
}

/* ── PROPERTY SECTION NAV ────────────────────────────────── */
.prop-section-nav {
  background: var(--navy);
  width: 100%;
  z-index: 120;
}
.prop-section-nav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
.psn-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: stretch;
}
.psn-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .95rem .75rem;
  color: rgba(255,255,255,.78);
  font-family: var(--font-sans);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,.12);
  transition: background .18s, color .18s;
  white-space: nowrap;
}
.psn-btn:last-child { border-right: none; }
.psn-btn:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.psn-btn.active {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-bottom: 2px solid var(--gold);
}
@media (max-width: 600px) {
  .psn-inner { padding: 0; overflow-x: auto; }
  .psn-btn {
    flex: 0 0 auto;
    padding: .85rem 1rem;
    font-size: .75rem;
  }
}

/* ── PROPERTY META BAR (Airbnb-style) ────────────────────── */
.prop-meta-bar {
  background: #fff;
  padding: 1.6rem 0 1rem;
  border-bottom: 1px solid var(--border);
}
.prop-meta-badges { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: .55rem; }
.property-title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  font-weight: 400; color: var(--navy);
  margin: 0 0 .55rem; line-height: 1.2;
}
.prop-meta-sub {
  display: flex; align-items: center; gap: .85rem; flex-wrap: wrap;
  font-family: var(--font-sans); font-size: .875rem; color: var(--text-muted);
  margin-bottom: .75rem;
}
.property-location { display: flex; align-items: center; gap: .3rem; }
.prop-rating-link {
  display: flex; align-items: center; gap: .3rem;
  font-family: var(--font-sans); font-size: .875rem; font-weight: 600; color: var(--navy);
  text-decoration: none; transition: opacity .15s;
}
.prop-rating-link:hover { opacity: .7; }
.prop-meta-star { color: #f59e0b; font-size: .95rem; }
.prop-rating-count { font-weight: 400; color: var(--text-muted); }

/* Inline facility specs (Airbnb: "Entire home · 4 guests · 2 bedrooms …") */
.prop-facility-row {
  display: flex; align-items: center; flex-wrap: wrap;
  font-family: var(--font-sans); font-size: .875rem; color: var(--text);
  gap: .2rem;
}
.pfr-dot {
  color: var(--text-muted); padding: 0 .2rem; font-weight: 400;
}

@media (max-width: 640px) {
  .property-title { font-size: 1.45rem; }
}

/* ── PROPERTY INFO STRIP — kept for possible [hfy_listing_facilities] shortcode use */
.prop-info-strip {
  background: var(--navy);
  padding: .85rem 0;
  color: #fff;
}
.hfy-listing-hotel-facilities {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: .5rem 0; list-style: none; margin: 0; padding: 0;
}
.hfy-listing-hotel-facilities > div {
  display: flex; align-items: center; gap: .55rem;
  padding: .3rem 1.4rem; font-family: var(--font-sans);
  font-size: .88rem; font-weight: 500; color: #fff; white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,.18);
}
.hfy-listing-hotel-facilities > div:last-child { border-right: none; }
.hfy-listing-hotel-facilities img {
  width: 22px; height: 22px; object-fit: contain; flex-shrink: 0;
  filter: brightness(0) invert(1);
}
@media (max-width: 600px) {
  .hfy-listing-hotel-facilities > div { padding: .3rem .9rem; font-size: .82rem; border-right: none; }
}

/* ── PROPERTY KEY HIGHLIGHTS ──────────────────────────────── */
.prop-highlights {
  display: flex; flex-direction: column; gap: 1rem;
  margin-bottom: 0;
}
.highlight-item {
  display: flex; align-items: flex-start; gap: .9rem;
  font-family: var(--font-sans); padding: .1rem 0;
}
.highlight-item svg { color: var(--navy); margin-top: .1rem; flex-shrink: 0; }
.highlight-item strong { display: block; font-size: .92rem; color: var(--text); margin-bottom: .1rem; }
.highlight-item span   { display: block; font-size: .82rem; color: var(--text-muted); }

/* ── DETAILS/SUMMARY ACCORDION ────────────────────────────── */
.prop-details-accordion { display: flex; flex-direction: column; gap: .5rem; }
.prop-detail-block {
  border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--font-sans); overflow: hidden;
  transition: box-shadow .2s;
}
.prop-detail-block[open] { box-shadow: 0 2px 12px rgba(6,27,48,.07); }
.prop-detail-block summary {
  display: flex; align-items: center; gap: .65rem;
  padding: .9rem 1.1rem;
  font-size: .92rem; font-weight: 600; color: var(--navy);
  cursor: pointer; list-style: none; user-select: none;
  transition: background .15s;
}
.prop-detail-block summary::-webkit-details-marker { display: none; }
.prop-detail-block summary::after {
  content: '›'; margin-left: auto; font-size: 1.1rem; color: var(--text-muted);
  transition: transform .2s;
}
.prop-detail-block[open] summary::after { transform: rotate(90deg); }
.prop-detail-block summary:hover { background: var(--off-white); }
.prop-detail-block summary svg { color: var(--navy); flex-shrink: 0; }
.prop-detail-body {
  padding: 1rem 1.1rem 1.1rem;
  font-size: .88rem; color: var(--text); line-height: 1.75;
  border-top: 1px solid var(--border); background: var(--off-white);
}

/* ── REVIEW STAR ICON ─────────────────────────────────────── */
.review-star-icon { color: #f59e0b; }

/* ── AVAILABILITY CALENDAR ────────────────────────────────── */
.cal-months-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 640px) { .cal-months-wrap { grid-template-columns: 1fr; } }

.cal-month { font-family: var(--font-sans); }
.cal-month-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: .75rem; gap: .5rem;
}
.cal-month-title { font-weight: 600; font-size: .95rem; color: var(--text); letter-spacing: .02em; flex: 1; text-align: center; }
.cal-nav-btn {
  background: transparent; border: 1px solid var(--border); border-radius: 4px;
  color: var(--navy); font-size: 1rem; line-height: 1;
  padding: .3rem .55rem; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cal-nav-btn:hover:not(:disabled) { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal-nav-btn:disabled { opacity: .3; cursor: not-allowed; }

.cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px;
}
.cal-head {
  text-align: center; font-size: .72rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: .06em;
  padding: .4rem 0;
  text-transform: uppercase;
}
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-family: var(--font-sans);
  border: 1px solid transparent; border-radius: 4px;
  cursor: pointer; background: transparent; color: var(--text);
  transition: background .12s, color .12s, border-color .12s;
}
.cal-day:not(.cal-past):not(.cal-blocked):hover {
  background: var(--navy); color: #fff;
}
.cal-empty { background: transparent; border: none; cursor: default; }
.cal-past   { color: var(--text-light); cursor: not-allowed; background: transparent; }
.cal-today  { font-weight: 700; }
.cal-blocked {
  color: var(--text-light); cursor: not-allowed;
  text-decoration: line-through; background: var(--off-white);
}
.cal-sel-start,
.cal-sel-end {
  background: var(--navy); color: #fff; border-radius: 4px;
}
.cal-in-range {
  background: rgba(6,27,48,.1); color: var(--navy); border-radius: 0;
}
.cal-sel-start { border-radius: 4px 0 0 4px; }
.cal-sel-end   { border-radius: 0 4px 4px 0; }
.cal-sel-start.cal-sel-end { border-radius: 4px; }

.cal-selection-bar {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  background: var(--off-white); border: 1px solid var(--border);
  padding: .75rem 1rem; border-radius: 6px; margin-top: 1rem;
  font-family: var(--font-sans); font-size: .88rem;
}
.cal-nights { color: var(--text-muted); font-style: italic; }
.cal-hint   { color: var(--text-muted); font-style: italic; }
.cal-clear-btn {
  background: transparent; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 1rem; margin-left: auto;
  padding: .2rem .4rem; border-radius: 3px;
  transition: color .15s, background .15s;
}
.cal-clear-btn:hover { color: var(--navy); background: var(--cream); }

.avail-cal-legend {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-size: .8rem; color: var(--text-muted);
  margin-top: .85rem;
}
.legend-dot {
  width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex-shrink: 0;
}
.legend-avail    { background: var(--off-white); border: 1px solid var(--border); }
.legend-blocked  { background: var(--off-white); border: 1px solid var(--border); text-decoration: line-through; }
.legend-selected { background: var(--navy); }

/* ── REVIEWS ──────────────────────────────────────────────── */
.reviews-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap;
}
.reviews-header h2 {
  display: flex; align-items: center; gap: .45rem;
  font-family: var(--font-serif); font-size: 1.45rem; font-weight: 400;
  color: var(--navy); margin: 0;
}
.reviews-header h2 svg { color: #f59e0b; }
.reviews-airbnb-link {
  font-family: var(--font-sans); font-size: .82rem; font-weight: 600;
  color: var(--text-muted); text-decoration: underline; white-space: nowrap;
  display: flex; align-items: center; gap: .3rem;
  transition: color .15s;
}
.reviews-airbnb-link:hover { color: var(--navy); }

/* Category bars */
.review-categories {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .55rem 1.5rem; margin-bottom: 1.75rem;
}
.review-cat-item {
  display: flex; align-items: center; gap: .65rem;
  font-family: var(--font-sans); font-size: .85rem;
}
.review-cat-name { width: 110px; flex-shrink: 0; color: var(--text-muted); }
.review-cat-bar-wrap {
  flex: 1; height: 4px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.review-cat-bar {
  height: 100%; background: var(--navy); border-radius: 2px;
  transition: width .6s ease;
}
.review-cat-score { width: 28px; text-align: right; font-weight: 600; color: var(--text); }

/* Review cards */
.reviews-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1.25rem; margin-bottom: 1.25rem;
}
@media (max-width: 700px) { .reviews-grid { grid-template-columns: 1fr; } }

.review-card {
  border: 1px solid var(--border); border-radius: 8px;
  padding: 1.25rem; background: #fff;
  transition: box-shadow .2s;
}
.review-card:hover { box-shadow: 0 4px 20px rgba(6,27,48,.08); }
.review-hidden { display: none; }

.review-top {
  display: flex; align-items: flex-start; gap: .75rem; margin-bottom: .85rem;
}
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-sans); font-size: .82rem; font-weight: 700;
  flex-shrink: 0;
}
.review-meta { flex: 1; }
.review-meta strong { font-family: var(--font-sans); font-size: .9rem; }
.review-date { font-family: var(--font-sans); font-size: .78rem; color: var(--text-muted); margin-top: .15rem; }
.review-stars { margin-left: auto; color: #f59e0b; font-size: .88rem; letter-spacing: .05em; }
.rstar       { color: #f59e0b; }
.rstar.empty { color: var(--border); }
.review-text {
  font-family: var(--font-sans); font-size: .875rem;
  color: var(--text); line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Map */
.map-placeholder {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius);
  height: 260px;
  display: flex; align-items: center; justify-content: center;
}
.map-embed { border-radius: var(--radius); overflow: hidden; }
.map-address { margin-top: .75rem; font-family: var(--font-sans); color: var(--text-muted); font-size: .9rem; }
.map-inner { text-align: center; color: var(--text-muted); }
.map-inner span { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 600; display: block; margin-bottom: .5rem; color: var(--text); }

/* ── PILL / TAGS ──────────────────────────────────────────── */
.pill {
  flex-shrink: 0;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-sans); font-size: .875rem; font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  transition: all var(--transition);
  display: inline-flex; align-items: center; gap: .35rem;
  text-decoration: none;
}
.pill:hover, .pill.active { border-color: var(--navy); color: var(--navy); background: rgba(6,27,48,.04); }

/* ── BADGES (extended) ────────────────────────────────────── */
.property-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .5rem; }
.prop-badge { display: inline-block; padding: .25rem .75rem; border-radius: 2px; font-family: var(--font-sans); font-size: .75rem; font-weight: 600; background: var(--cream); color: var(--text-muted); border: 1px solid var(--border); }

/* ── TAGS ROW ─────────────────────────────────────────────── */
.tags-row { display: flex; gap: .4rem; flex-wrap: wrap; margin: .75rem 0; }
.tag-chip { padding: .2rem .65rem; background: rgba(6,27,48,.06); color: var(--navy); border-radius: 2px; font-family: var(--font-sans); font-size: .78rem; border: 1px solid rgba(6,27,48,.15); }

/* ── STAY DETAILS GRID ────────────────────────────────────── */
.stay-details-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; }
.stay-detail-item { display: flex; align-items: flex-start; gap: .75rem; padding: .75rem; background: var(--cream); border-radius: var(--radius); }
.stay-icon { font-size: 1.5rem; flex-shrink: 0; }
.stay-detail-item strong { font-family: var(--font-sans); display: block; font-size: .8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; margin-bottom: .15rem; }
.stay-detail-item div { font-family: var(--font-sans); font-size: .9rem; }

/* ── HOUSE RULES GRID ─────────────────────────────────────── */
.rules-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .6rem; margin-bottom: 1rem; }
.rule-item { padding: .5rem .9rem; border-radius: var(--radius); font-family: var(--font-sans); font-size: .88rem; font-weight: 500; }
.rule-ok { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.rule-no { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.cancel-policy { padding: .75rem 1rem; background: rgba(6,27,48,.04); border-radius: var(--radius); font-family: var(--font-sans); font-size: .88rem; border: 1px solid rgba(6,27,48,.15); }

/* ── TEXT BLOCK ───────────────────────────────────────────── */
.text-block { font-family: var(--font-sans); font-size: .93rem; line-height: 1.7; color: var(--text); }
.text-block.collapsible:not(.expanded) .collapsible-inner { max-height: 120px; overflow: hidden; position: relative; }
.text-block.collapsible:not(.expanded) .collapsible-inner::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40px; background: linear-gradient(transparent, #fff); }
.show-more-btn { margin-top: .5rem; background: none; border: none; color: var(--navy); font-family: var(--font-sans); font-weight: 600; cursor: pointer; padding: .6rem 0; min-height: 44px; font-size: .88rem; display: inline-flex; align-items: center; }
.muted { color: var(--text-muted); }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }

/* ── INPUT ICON WRAP ──────────────────────────────────────── */
.input-icon { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); color: var(--text-light); pointer-events: none; }
.input-icon-wrap { position: relative; }
.input-icon-wrap input { padding-left: 2.5rem; }

/* ── PRICE BREAKDOWN EXTRAS ───────────────────────────────── */
.price-row-tax span:first-child { color: var(--text-muted); font-size: .85rem; }
.price-row-deposit { border-top: 1px dashed var(--border); margin-top: .5rem; padding-top: .5rem; color: var(--text-muted); font-size: .88rem; }
.widget-cancel { margin-top: .75rem; padding: .6rem .75rem; background: var(--off-white); border-radius: var(--radius); font-family: var(--font-sans); font-size: .82rem; color: var(--text-muted); }

/* ── PAYMENT PAGE ─────────────────────────────────────────── */
.payment-page { padding: 2rem 0 4rem; background: var(--cream); min-height: 70vh; }
.payment-layout { display: grid; grid-template-columns: 1fr 400px; gap: 2.5rem; align-items: start; }
.payment-main { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.payment-step { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.step-badge { width: 32px; height: 32px; background: var(--navy); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-sans); font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.payment-step h2 { margin: 0; font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-family: var(--font-sans); font-size: .82rem; font-weight: 600; color: var(--text-muted); margin-bottom: .35rem; text-transform: uppercase; letter-spacing: .03em; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: .65rem .9rem; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-sans); font-size: .95rem; transition: border-color .15s; background: #fff; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(6,27,48,.1); }
.payment-methods { display: flex; gap: .75rem; margin-bottom: 1.25rem; }
.payment-method-opt { flex: 1; display: flex; align-items: center; gap: .6rem; padding: .75rem 1rem; border: 2px solid var(--border); border-radius: var(--radius); cursor: pointer; transition: border-color .15s; font-family: var(--font-sans); font-size: .9rem; }
.payment-method-opt input { display: none; }
.payment-method-opt.selected { border-color: var(--navy); background: rgba(6,27,48,.04); color: var(--navy); }
.secure-badge { display: flex; align-items: center; gap: .5rem; font-family: var(--font-sans); color: var(--text-muted); font-size: .82rem; margin-top: 1rem; }
.payment-summary { position: sticky; top: 6rem; }
.summary-card { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.summary-property { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.summary-property img { width: 80px; height: 60px; border-radius: var(--radius); object-fit: cover; flex-shrink: 0; }
.summary-property strong { font-family: var(--font-serif); font-size: .95rem; display: block; margin-bottom: .2rem; }
.summary-property p { font-family: var(--font-sans); font-size: .82rem; color: var(--text-muted); margin: 0; display: flex; align-items: center; gap: .25rem; }
.summary-dates { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.summary-date-item { display: flex; align-items: center; gap: .5rem; font-family: var(--font-sans); font-size: .88rem; }
.summary-date-item div { display: flex; flex-direction: column; }
.summary-date-item span { color: var(--text-muted); font-size: .75rem; }
.summary-date-item strong { font-size: .88rem; }
.summary-badges { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; font-family: var(--font-sans); font-size: .82rem; color: var(--text-muted); }
@media(max-width:900px) { .payment-layout { grid-template-columns: 1fr; } .payment-summary { position: static; } }

/* ── RESULT PAGE ──────────────────────────────────────────── */
.result-page { max-width: 600px; margin: 3rem auto; padding: 0 1rem 4rem; }
.result-card { background: #fff; border-radius: var(--radius); padding: 3rem 2.5rem; text-align: center; box-shadow: 0 4px 32px rgba(0,0,0,.08); }
.result-icon { margin-bottom: 1.5rem; }
.result-icon.success svg { color: #16a34a; }
.result-icon.error svg { color: #dc2626; }
.result-card h1 { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 300; margin-bottom: .5rem; }
.result-subtitle { font-family: var(--font-sans); color: var(--text-muted); margin-bottom: 1.5rem; }
.result-ref { background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: var(--radius); padding: .75rem 1.25rem; display: inline-block; margin-bottom: 1rem; font-family: var(--font-sans); font-size: .95rem; }
.result-email { font-family: var(--font-sans); color: var(--text-muted); font-size: .9rem; margin-bottom: 1.5rem; }
.result-details { text-align: left; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 2rem; }
.result-detail-item { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; border-bottom: 1px solid var(--border); font-family: var(--font-sans); font-size: .9rem; }
.result-detail-item:last-child { border-bottom: none; }
.result-detail-item svg { color: var(--navy); flex-shrink: 0; }
.result-detail-item div { display: flex; flex-direction: column; }
.result-detail-item span { color: var(--text-muted); font-size: .75rem; }
.result-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BOOKINGS PAGE ────────────────────────────────────────── */
.bookings-page { padding: 2rem 0 4rem; background: var(--cream); min-height: 70vh; }
.page-hero-sm { text-align: center; padding: 2.5rem 0 2rem; }
.page-hero-sm svg { color: var(--navy); margin-bottom: .75rem; }
.page-hero-sm h1 { font-family: var(--font-serif); font-size: 2rem; font-weight: 300; margin-bottom: .5rem; }
.page-hero-sm p { font-family: var(--font-sans); color: var(--text-muted); }
.bookings-search-wrap { max-width: 540px; margin: 0 auto 2.5rem; background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.bookings-search { display: flex; flex-direction: column; gap: .75rem; }
.bookings-empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 3rem; color: var(--text-muted); background: #fff; border-radius: var(--radius); margin-top: 1rem; box-shadow: 0 2px 16px rgba(0,0,0,.04); }
.bookings-empty svg { color: var(--border); margin-bottom: 1rem; }
.bookings-empty h3 { font-family: var(--font-serif); color: var(--text); margin-bottom: .5rem; }
.bookings-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 1rem; }
.booking-feature-card { background: #fff; border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: 0 2px 16px rgba(0,0,0,.04); }
.booking-feature-card svg { color: var(--navy); margin-bottom: 1rem; }
.booking-feature-card h3 { font-family: var(--font-serif); margin-bottom: .5rem; font-size: 1.1rem; }
.booking-feature-card p { font-family: var(--font-sans); color: var(--text-muted); font-size: .88rem; }

/* ── BOOKING MANAGE ───────────────────────────────────────── */
.back-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--navy); font-family: var(--font-sans); font-size: .9rem; font-weight: 500; margin-bottom: 1.5rem; }
.back-link:hover { text-decoration: underline; }
.booking-detail-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: 0 2px 16px rgba(0,0,0,.06); }
.booking-detail-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.booking-detail-header svg { color: var(--navy); }
.booking-detail-header h1 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 300; margin: 0 0 .3rem; }
.status-badge { display: inline-block; padding: .25rem .75rem; border-radius: 2px; font-family: var(--font-sans); font-size: .78rem; font-weight: 600; }
.status-confirmed { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.status-pending { background: rgba(6,27,48,.08); color: var(--navy); border: 1px solid rgba(6,27,48,.2); }
.booking-detail-sections { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.booking-detail-section { padding: 1.25rem; background: var(--cream); border-radius: var(--radius); }
.booking-detail-section h3 { font-family: var(--font-sans); display: flex; align-items: center; gap: .5rem; font-size: .95rem; margin-bottom: .5rem; color: var(--text-muted); }
.booking-detail-section p { font-family: var(--font-sans); color: var(--text-muted); font-size: .9rem; margin: 0; }
.booking-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── WISHLIST PAGE ────────────────────────────────────────── */
.wishlist-page { padding: 2rem 0 4rem; background: var(--cream); min-height: 70vh; }

/* ── CATEGORIES (legacy strip) ────────────────────────────── */
.categories { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.category-pills { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; scrollbar-width: none; }
.category-pills::-webkit-scrollbar { display: none; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 1024px) {
  .property-layout { grid-template-columns: 1fr; }
  .booking-widget { position: static; }
  .property-header { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .search-layout { grid-template-columns: 1fr; }
  .filter-card, .filters-sidebar { position: static; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed; top: 0; right: -320px; bottom: 0;
    width: min(320px, 85vw);
    background: #071e35;
    border-left: 1px solid rgba(196,166,97,.15);
    box-shadow: -8px 0 40px rgba(0,0,0,.4);
    flex-direction: column; align-items: stretch;
    padding: 0; gap: 0; z-index: 299;
    overflow-y: auto;
    transition: right .32s cubic-bezier(.4,0,.2,1);
  }
  .nav.open { right: 0; }

  /* Drawer header */
  .nav-links {
    display: flex; flex-direction: column;
    border-right: none; margin-right: 0;
    padding: 1rem 0 .5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    gap: 0;
  }
  .nav-actions {
    display: flex; flex-direction: column;
    gap: .75rem;
    padding: 1.25rem 1.5rem 1.5rem;
  }
  .nav-link {
    width: 100%;
    padding: .9rem 1.5rem;
    font-size: .9rem;
    border-bottom: 1px solid rgba(255,255,255,.05);
    border-radius: 0;
  }
  .nav-link::after { left: 1.5rem; right: 1.5rem; bottom: 0; }
  .nav-link:last-child { border-bottom: none; }

  /* Active link left-bar in mobile */
  .nav-link.active {
    background: rgba(196,166,97,.08);
    border-left: 3px solid var(--gold);
    padding-left: calc(1.5rem - 3px);
    color: #fff;
  }
  .nav-link.active::after { display: none; }

  .nav-link-ghost {
    width: 100%;
    justify-content: center;
    border-radius: 8px !important;
    padding: .85rem 1rem !important;
    font-size: .85rem !important;
    text-align: center;
  }
  .nav-link-cta {
    width: 100%;
    justify-content: center;
    border-radius: 8px !important;
    padding: .9rem 1rem !important;
    font-size: .88rem !important;
    background: #fff !important;
    color: var(--navy) !important;
  }
  .nav-toggle { display: flex; }

  .hero-content { padding: 72px 0 3rem; }
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.8rem); }

  .search-bar {
    flex-direction: column;
    background: rgba(255,255,255,.1);
    border-radius: 10px;
  }
  .search-field {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .search-field:last-of-type { border-bottom: none; }
  .search-btn { padding: 1rem 2rem; width: 100%; justify-content: center; }

  .cta-inner { flex-direction: column; text-align: center; }
  .cta-inner h2 { text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }

  .gallery-main-img { height: 280px; }
  .gallery-thumb { width: 80px; height: 54px; }
  .lightbox-inner { padding: 0 3rem; }
  .lightbox-prev { left: .25rem; }
  .lightbox-next { right: .25rem; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .areas-inner { padding: 0 1rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .section { padding: 4rem 0; }
  .property-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-dates { grid-template-columns: 1fr; }
  .booking-field + .booking-field { border-left: none; border-top: 1.5px solid var(--navy); }
  .services-grid { grid-template-columns: 1fr; }
}

/* ── Hostify-style admin panel ─── */
.admin-page { display:flex; flex-direction:column; min-height:100vh; background:#f0f2f5; font-family:'Inter',system-ui,sans-serif; }

/* Top bar */
.hfy-topbar { background:#1e2d3d; color:#fff; height:52px; display:flex; align-items:center; padding:0 1.5rem; gap:1rem; flex-shrink:0; }
.hfy-topbar .brand { display:flex; align-items:center; gap:.6rem; font-weight:700; font-size:1rem; white-space:nowrap; }
.hfy-topbar .brand .version { font-size:.75rem; color:#94a3b8; font-weight:400; margin-left:.25rem; }
.hfy-topbar .topbar-actions { margin-left:auto; display:flex; align-items:center; gap:.5rem; flex-wrap:nowrap; }

/* Layout */
.hfy-layout { display:flex; flex:1; min-height:0; }

/* Sidebar */
.hfy-sidebar { width:240px; background:#1e2d3d; flex-shrink:0; display:flex; flex-direction:column; overflow-y:auto; }
.hfy-sidebar-search { padding:.75rem 1rem; border-bottom:1px solid rgba(255,255,255,.07); }
.hfy-sidebar-search input { width:100%; background:#253649; border:1px solid rgba(255,255,255,.1); color:#cbd5e1; border-radius:.4rem; padding:.4rem .7rem; font-size:.82rem; box-sizing:border-box; }
.hfy-sidebar-search input::placeholder { color:#64748b; }
.hfy-sidebar-search input:focus { outline:none; border-color:rgba(37,99,235,.6); }
.hfy-nav-item { display:flex; align-items:center; gap:.75rem; padding:.7rem 1.25rem; color:#94a3b8; font-size:.85rem; cursor:pointer; border-left:3px solid transparent; transition:all .15s; text-decoration:none; }
.hfy-nav-item:hover { color:#e2e8f0; background:rgba(255,255,255,.05); }
.hfy-nav-item.active { color:#fff; background:rgba(37,99,235,.2); border-left-color:#2563eb; }
.hfy-nav-item svg { flex-shrink:0; opacity:.7; }
.hfy-nav-item.active svg { opacity:1; }

/* Content area */
.hfy-content { flex:1; overflow-y:auto; padding:2rem; }
.hfy-section { display:none; }
.hfy-section.active { display:block; }

/* Cards */
.hfy-card { background:#fff; border-radius:.75rem; padding:1.75rem; margin-bottom:1.25rem; box-shadow:0 1px 3px rgba(0,0,0,.07); }
.hfy-card h2 { font-size:1rem; margin:0 0 1.25rem; padding-bottom:.75rem; border-bottom:1px solid #f1f5f9; display:flex; align-items:center; gap:.5rem; color:#1e293b; }

/* Form fields */
.hfy-field { margin-bottom:1rem; }
.hfy-field label { display:block; font-size:.78rem; font-weight:600; color:#475569; margin-bottom:.35rem; letter-spacing:.02em; text-transform:uppercase; }
.hfy-field input, .hfy-field select, .hfy-field textarea { width:100%; padding:.55rem .8rem; border:1px solid #e2e8f0; border-radius:.4rem; font-size:.9rem; font-family:inherit; background:#fff; color:#1e293b; box-sizing:border-box; }
.hfy-field input:focus, .hfy-field select:focus, .hfy-field textarea:focus { outline:none; border-color:#2563eb; box-shadow:0 0 0 3px rgba(37,99,235,.1); }
.hfy-field textarea { resize:vertical; min-height:80px; }

/* Connected badge */
.hfy-connected { background:#f0fdf4; border:1px solid #bbf7d0; color:#166534; border-radius:.4rem; padding:.6rem .9rem; font-size:.85rem; display:flex; align-items:center; gap:.5rem; margin-top:.75rem; }

/* Flash messages */
.hfy-flash { padding:.7rem 1rem; border-radius:.5rem; font-size:.88rem; font-weight:500; margin-bottom:1.25rem; display:flex; align-items:center; gap:.75rem; }
.hfy-flash-success { background:#f0fdf4; color:#166534; border:1px solid #bbf7d0; }
.hfy-flash-error   { background:#fef2f2; color:#b91c1c; border:1px solid #fecaca; }
.hfy-flash-info    { background:#eff6ff; color:#1e40af; border:1px solid #bfdbfe; }

/* Version tags */
.version-tag { display:inline-flex; align-items:center; gap:.3rem; border-radius:.4rem; padding:.2rem .6rem; font-size:.78rem; font-weight:600; }
.version-tag.installed { background:#f0fdf4; color:#166534; border:1px solid #bbf7d0; }
.version-tag.available { background:#fef3c7; color:#92400e; border:1px solid #fde68a; }
.version-tag.new       { background:#eff6ff; color:#1e40af; border:1px solid #bfdbfe; }

/* Update banner */
.update-banner { background:linear-gradient(135deg,#1e3a5f,#2563eb); color:#fff; border-radius:.75rem; padding:1.25rem 1.5rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; box-shadow:0 4px 16px rgba(37,99,235,.25); }
.update-banner .ub-left { display:flex; align-items:center; gap:.85rem; }
.update-banner .ub-icon { background:rgba(255,255,255,.15); border-radius:.6rem; padding:.65rem; display:flex; }
.update-banner h3 { margin:0 0 .2rem; font-size:.95rem; }
.update-banner p  { margin:0; font-size:.82rem; opacity:.85; }
.update-banner .btn-white { background:#fff; color:#1e3a5f; border:none; font-weight:700; padding:.5rem 1.2rem; border-radius:.4rem; cursor:pointer; font-size:.85rem; transition:background .15s; white-space:nowrap; }
.update-banner .btn-white:hover { background:#e0eaff; }

/* Upload drop zone */
.upload-drop { border:2px dashed #cbd5e1; border-radius:.6rem; padding:1.25rem; text-align:center; cursor:pointer; transition:border-color .15s; position:relative; }
.upload-drop:hover { border-color:#2563eb; background:#f8fafc; }
.upload-drop input[type=file] { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; height:100%; }

/* Changelog list */
.changelog-list { list-style:none; padding:0; margin:0; }
.changelog-list li { padding:.3rem 0; font-size:.84rem; color:#475569; border-bottom:1px solid #f1f5f9; display:flex; align-items:flex-start; gap:.4rem; }
.changelog-list li:last-child { border-bottom:none; }
.changelog-list li::before { content:"•"; color:#2563eb; font-weight:700; flex-shrink:0; }

/* Page builder */
.pb-pages-list { list-style:none; padding:0; margin:0; }
.pb-page-item { display:flex; align-items:center; justify-content:space-between; padding:.6rem .85rem; border-radius:.4rem; margin-bottom:.3rem; background:#f8fafc; border:1px solid #e2e8f0; font-size:.85rem; }
.pb-page-item:hover { border-color:#2563eb; }
.pb-page-item .page-name { font-weight:500; color:#1e293b; }
.pb-page-item .page-actions { display:flex; gap:.35rem; }

.pb-block-list { display:flex; flex-direction:column; gap:.5rem; margin:1rem 0; }
.pb-block { background:#f8fafc; border:1px solid #e2e8f0; border-radius:.5rem; overflow:hidden; }
.pb-block-header { display:flex; align-items:center; gap:.6rem; padding:.6rem .9rem; cursor:pointer; user-select:none; }
.pb-block-header:hover { background:#f1f5f9; }
.pb-block-type { font-size:.7rem; font-weight:600; background:#dbeafe; color:#1e40af; padding:.15rem .45rem; border-radius:.25rem; white-space:nowrap; }
.pb-block-label { font-size:.85rem; font-weight:500; color:#1e293b; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pb-block-actions { display:flex; gap:.25rem; flex-shrink:0; }
.pb-block-body { padding:1rem; border-top:1px solid #e2e8f0; display:none; }
.pb-block-body.open { display:block; }

.pb-add-block { border:2px dashed #cbd5e1; border-radius:.5rem; padding:.75rem; text-align:center; cursor:pointer; color:#64748b; font-size:.85rem; transition:all .15s; margin-top:.5rem; display:flex; align-items:center; justify-content:center; gap:.4rem; }
.pb-add-block:hover { border-color:#2563eb; color:#2563eb; background:#eff6ff; }

.block-type-picker { display:grid; grid-template-columns:repeat(3,1fr); gap:.5rem; padding:.6rem; }
.block-type-btn { display:flex; flex-direction:column; align-items:center; gap:.35rem; padding:.75rem .5rem; background:#f8fafc; border:1px solid #e2e8f0; border-radius:.5rem; cursor:pointer; font-size:.78rem; color:#475569; transition:all .15s; }
.block-type-btn:hover { border-color:#2563eb; color:#2563eb; background:#eff6ff; }

.feat-item { background:#f8fafc; border:1px solid #e2e8f0; border-radius:.4rem; padding:.75rem; margin-bottom:.5rem; }
.feat-item-grid { display:grid; grid-template-columns:auto 1fr 2fr auto; gap:.5rem; align-items:start; }

/* SEO rows */
.seo-row { display:grid; grid-template-columns:200px 1fr 1fr auto; gap:.5rem; align-items:center; padding:.5rem 0; border-bottom:1px solid #f1f5f9; font-size:.85rem; }

/* Dictionary rows */
.dict-row { display:grid; grid-template-columns:220px 1fr; gap:.75rem; align-items:center; padding:.4rem 0; border-bottom:1px solid #f1f5f9; font-size:.85rem; }

/* Login screen — full-page centered card */
.admin-login { min-height:100vh; background:#f0f2f5; display:flex; align-items:center; justify-content:center; }
.admin-login-card { background:#fff; border-radius:1rem; padding:2.5rem 2rem; width:100%; max-width:400px; box-shadow:0 4px 24px rgba(0,0,0,.09); text-align:center; }
.admin-login-card h1 { font-size:1.4rem; margin-bottom:.4rem; color:#1e293b; }
.admin-login-card p { color:#64748b; margin-bottom:1.75rem; font-size:.88rem; }

/* Keep legacy admin classes working */
.admin-alert { padding:.75rem 1rem; border-radius:.5rem; font-size:.88rem; font-weight:500; margin-bottom:1.25rem; }
.admin-alert-success { background:#f0fdf4; color:#166534; border:1px solid #bbf7d0; }
.admin-alert-error   { background:#fef2f2; color:#b91c1c; border:1px solid #fecaca; }
.admin-alert-info    { background:#eff6ff; color:#1e40af; border:1px solid #bfdbfe; }
.admin-field { margin-bottom:1.25rem; }
.admin-field label { display:block; font-size:.82rem; font-weight:600; color:#475569; margin-bottom:.4rem; }
.admin-field input, .admin-field select, .admin-field textarea { width:100%; padding:.6rem .85rem; border:1px solid #cbd5e1; border-radius:.5rem; font-size:.9rem; font-family:inherit; background:#fff; color:#1e293b; }
.admin-field input:focus, .admin-field select:focus, .admin-field textarea:focus { outline:2px solid #2563eb; outline-offset:1px; border-color:#2563eb; }

/* ════════════════════════════════════════════════════════════
   PARTNER PAGE
   ════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
.partner-hero {
  position: relative; min-height: 560px;
  display: flex; align-items: center;
  overflow: hidden;
}
.partner-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #061b30 0%, #0d3155 55%, #1a4a7a 100%);
}
.partner-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.partner-hero-inner {
  position: relative; z-index: 1;
  padding: 5rem 0 4rem;
}
.partner-hero-eyebrow {
  display: inline-block;
  font-family: var(--font-sans); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold, #c4a661); margin-bottom: 1.25rem;
}
.partner-hero-title {
  font-family: var(--font-serif); font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300; color: #fff; line-height: 1.1; margin-bottom: 1.25rem;
}
.partner-hero-title em { font-style: italic; color: rgba(255,255,255,.75); }
.partner-hero-sub {
  font-family: var(--font-sans); font-size: 1.1rem; font-weight: 300;
  color: rgba(255,255,255,.8); max-width: 560px; line-height: 1.65; margin-bottom: 2rem;
}
.partner-hero-cta { font-size: 1rem; padding: .9rem 2.5rem; }

/* ── Value Props ──────────────────────────────────────────── */
.partner-props {
  background: var(--cream); border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.partner-props-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.partner-prop-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2rem;
  transition: box-shadow var(--transition);
}
.partner-prop-card:hover { box-shadow: 0 8px 32px rgba(6,27,48,.1); }
.partner-prop-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(6,27,48,.07); display: flex; align-items: center;
  justify-content: center; margin-bottom: 1.25rem; color: var(--navy);
}
.partner-prop-card h3 {
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400;
  color: var(--navy); margin-bottom: .75rem;
}
.partner-prop-card p {
  font-family: var(--font-sans); font-size: .9rem; color: var(--text-muted);
  line-height: 1.65;
}

/* ── Join Us for Growth ───────────────────────────────────── */
.partner-join { padding: 5rem 0; background: #fff; }
.partner-join-inner {
  display: grid; grid-template-columns: 1fr 340px; gap: 4rem; align-items: start;
}
.partner-join-text .section-eyebrow { display: block; margin-bottom: .75rem; }
.partner-join-text .section-title { margin-bottom: 1.5rem; }
.partner-join-text p {
  font-family: var(--font-sans); font-size: .975rem;
  color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem;
}
.partner-join-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem;
  align-content: start;
}
.partner-stat {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: .35rem; text-align: center;
}
.partner-stat-num {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 300;
  color: var(--navy); line-height: 1;
}
.partner-stat-label {
  font-family: var(--font-sans); font-size: .78rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted);
}

/* ── Services ─────────────────────────────────────────────── */
.partner-services { padding: 5rem 0; background: var(--cream); }
.partner-services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.partner-service-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 2.25rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.partner-service-card:hover {
  box-shadow: 0 12px 40px rgba(6,27,48,.1);
  transform: translateY(-2px);
}
.partner-service-icon {
  width: 60px; height: 60px;
  background: var(--navy); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: #fff; margin-bottom: 1.5rem;
}
.partner-service-card h3 {
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400;
  color: var(--navy); margin-bottom: .75rem;
}
.partner-service-card p {
  font-family: var(--font-sans); font-size: .9rem;
  color: var(--text-muted); line-height: 1.7;
}

/* ── Locations ────────────────────────────────────────────── */
.partner-locations { padding: 4rem 0; background: #fff; border-top: 1px solid var(--border); }
.partner-locations-grid {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
}
.partner-location-pill {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: 999px; padding: .55rem 1.1rem;
  font-family: var(--font-sans); font-size: .875rem; color: var(--navy);
  transition: all var(--transition);
}
.partner-location-pill:hover {
  background: var(--navy); color: #fff; border-color: var(--navy);
}
.partner-location-pill svg { flex-shrink: 0; }

/* ── Partner Form ─────────────────────────────────────────── */
.partner-form-section {
  padding: 5rem 0; background: var(--cream);
  border-top: 1px solid var(--border);
}
.partner-form-wrap {
  display: grid; grid-template-columns: 380px 1fr; gap: 4rem; align-items: start;
  background: #fff; border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2); overflow: hidden;
}
.partner-form-left {
  background: var(--navy); color: #fff;
  padding: 3rem 2.5rem; min-height: 100%;
}
.partner-form-left .section-eyebrow { color: rgba(255,255,255,.6); display: block; margin-bottom: .75rem; }
.partner-form-left .section-title { color: #fff; margin-bottom: 1.25rem; font-size: 1.8rem; }
.partner-form-left > p {
  font-family: var(--font-sans); font-size: .9rem;
  color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 2rem;
}
.partner-contact-list { display: flex; flex-direction: column; gap: 1.25rem; }
.partner-contact-item {
  display: flex; gap: .9rem; align-items: flex-start; color: rgba(255,255,255,.85);
}
.partner-contact-item svg { flex-shrink: 0; margin-top: 2px; opacity: .7; }
.partner-contact-item div { display: flex; flex-direction: column; gap: .2rem; }
.partner-contact-item span {
  font-family: var(--font-sans); font-size: .72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; opacity: .55;
}
.partner-contact-item a,
.partner-contact-item div > span:last-child {
  font-family: var(--font-sans); font-size: .875rem; color: rgba(255,255,255,.9);
}
.partner-contact-item a:hover { color: #fff; text-decoration: underline; }

/* Form itself */
.partner-form { padding: 3rem 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.form-group label {
  font-family: var(--font-sans); font-size: .8rem; font-weight: 600;
  color: var(--text-muted); letter-spacing: .04em;
}
.form-group .req { color: #e11d48; }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans); font-size: .9rem; color: var(--text);
  background: var(--off-white, #f8f7f4); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: .65rem .85rem;
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--navy); background: #fff;
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; }
.form-privacy {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--font-sans); font-size: .78rem; color: var(--text-muted);
  margin-top: .75rem;
}
.form-success {
  display: flex; align-items: center; gap: .75rem;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  border-radius: var(--radius); padding: 1rem 1.25rem;
  color: #166534; font-family: var(--font-sans); font-size: .9rem;
  margin-top: 1rem;
}
.form-error {
  background: #fef2f2; border: 1px solid #fecaca;
  border-radius: var(--radius); padding: .85rem 1.1rem;
  color: #991b1b; font-family: var(--font-sans); font-size: .875rem;
  margin-bottom: .75rem;
}

/* ── Partner page responsive ─────────────────────────────── */
@media (max-width: 1024px) {
  .partner-join-inner { grid-template-columns: 1fr; gap: 3rem; }
  .partner-form-wrap  { grid-template-columns: 1fr; }
  .partner-form-left  { padding: 2.5rem; }
}
@media (max-width: 768px) {
  .partner-props-grid       { grid-template-columns: 1fr; }
  .partner-services-grid    { grid-template-columns: 1fr; }
  .partner-join-stats       { grid-template-columns: repeat(2, 1fr); }
  .form-row                 { grid-template-columns: 1fr; }
  .partner-form             { padding: 2rem 1.5rem; }
}

/* ════════════════════════════════════════════════════════════
   REGISTER YOUR PROPERTY PAGE
   ════════════════════════════════════════════════════════════ */

/* nav-link-cta is defined in the header block above */
.search-bar-compact .nav-link-cta { /* inherits header styles */ }

/* ── Hero with photo BG ───────────────────────────────────── */
.reg-hero {
  position: relative; min-height: 580px;
  display: flex; align-items: center; overflow: hidden;
}
.reg-hero-bg {
  position: absolute; inset: 0;
}
.reg-hero-bg img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.reg-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(6,27,48,.88) 0%, rgba(6,27,48,.6) 60%, rgba(6,27,48,.35) 100%);
}
.reg-hero-inner {
  position: relative; z-index: 1; padding: 5rem 0 4rem;
}
.reg-hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .25rem; }
.btn-outline-light {
  border: 2px solid rgba(255,255,255,.55); color: #fff;
  background: transparent;
}
.btn-outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); color: #fff; }

/* ── Stats bar ────────────────────────────────────────────── */
.reg-stats-bar {
  background: var(--navy); padding: 2rem 0;
}
.reg-stats-grid {
  display: flex; align-items: center; justify-content: center; gap: 0;
  flex-wrap: wrap;
}
.reg-stat-item {
  flex: 1; min-width: 140px; text-align: center; padding: .75rem 1.5rem;
  display: flex; flex-direction: column; gap: .3rem;
}
.reg-stat-num {
  font-family: var(--font-serif); font-size: 2.2rem; font-weight: 300;
  color: #fff; line-height: 1;
}
.reg-stat-label {
  font-family: var(--font-sans); font-size: .75rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55);
}
.reg-stat-divider {
  width: 1px; height: 48px; background: rgba(255,255,255,.15); flex-shrink: 0;
}

/* ── Intro with video ─────────────────────────────────────── */
.reg-intro { padding: 5rem 0; background: #fff; }
.reg-intro-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.reg-intro-text .section-eyebrow { display: block; margin-bottom: .75rem; }
.reg-intro-text .section-title { margin-bottom: 1.5rem; }
.reg-intro-text p {
  font-family: var(--font-sans); font-size: .975rem;
  color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem;
}
.reg-intro-text p strong { color: var(--navy); }

/* Video */
.video-wrapper {
  position: relative; padding-bottom: 56.25%; /* 16:9 */
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 16px 48px rgba(6,27,48,.2);
  background: #0a1a2e;
}
.video-wrapper iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: none;
}
.video-caption {
  display: flex; align-items: center; gap: .4rem;
  font-family: var(--font-sans); font-size: .8rem;
  color: var(--text-muted); margin-top: .85rem; justify-content: center;
}

/* ── Onboarding steps ─────────────────────────────────────── */
.reg-onboarding { padding: 5rem 0; background: var(--cream); }
.onboarding-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.onboarding-step {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  position: relative;
  transition: box-shadow var(--transition), transform var(--transition);
}
.onboarding-step:hover {
  box-shadow: 0 8px 28px rgba(6,27,48,.1);
  transform: translateY(-3px);
}
.onboarding-step-num {
  position: absolute; top: -14px; left: 1.5rem;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: var(--font-sans); font-size: .75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.onboarding-step-icon {
  color: var(--navy); margin-bottom: 1rem; margin-top: .25rem;
}
.onboarding-step-body h4 {
  font-family: var(--font-sans); font-size: .9rem; font-weight: 600;
  color: var(--navy); margin-bottom: .5rem;
}
.onboarding-step-body p {
  font-family: var(--font-sans); font-size: .82rem;
  color: var(--text-muted); line-height: 1.6;
}

/* ── What to expect ──────────────────────────────────────── */
.reg-expect { padding: 5rem 0; background: #fff; }
.reg-expect-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.reg-expect-card {
  display: flex; gap: 1.25rem; align-items: flex-start;
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; transition: box-shadow var(--transition);
}
.reg-expect-card:hover { box-shadow: 0 8px 28px rgba(6,27,48,.08); }
.reg-expect-icon {
  flex-shrink: 0; width: 52px; height: 52px; border-radius: var(--radius);
  background: rgba(6,27,48,.07); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
}
.reg-expect-card h3 {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 400;
  color: var(--navy); margin-bottom: .6rem;
}
.reg-expect-card p {
  font-family: var(--font-sans); font-size: .875rem;
  color: var(--text-muted); line-height: 1.7;
}

/* ── Platform logos ──────────────────────────────────────── */
.reg-platforms {
  padding: 3rem 0 3.5rem; background: var(--cream);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.reg-platforms-label {
  text-align: center; font-family: var(--font-sans); font-size: .78rem;
  font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 2rem;
}

/* Carousel */
.reg-platforms-carousel-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.reg-platforms-track {
  display: flex; align-items: center;
  gap: 3.5rem;
  width: max-content;
  animation: logos-scroll 22s linear infinite;
}
.reg-platforms-track:hover { animation-play-state: paused; }
.reg-platform-item {
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem 1rem;
  transition: transform var(--transition);
}
.reg-platform-item:hover { transform: scale(1.08); }
.reg-platform-item img {
  height: 38px; width: auto; object-fit: contain;
  filter: none; opacity: 1;
}

@keyframes logos-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── CTA band ────────────────────────────────────────────── */
.reg-cta-band {
  background: var(--navy); padding: 4rem 0;
}
.reg-cta-band-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
}
.reg-cta-band h2 {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 300;
  color: #fff; margin-bottom: .6rem;
}
.reg-cta-band p {
  font-family: var(--font-sans); font-size: .95rem;
  color: rgba(255,255,255,.7); max-width: 500px; line-height: 1.65;
}
.reg-cta-band-actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

/* ── Register page responsive ────────────────────────────── */
@media (max-width: 1100px) {
  .onboarding-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .reg-intro-inner { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
  .reg-hero-ctas   { flex-direction: column; }
  .reg-stat-divider { display: none; }
  .reg-expect-grid { grid-template-columns: 1fr; }
  .onboarding-steps { grid-template-columns: 1fr; }
  .reg-cta-band-inner { flex-direction: column; text-align: center; }
  .reg-cta-band-actions { justify-content: center; }
  .nav-link-cta { display: none; } /* hide on mobile nav, shown via menu */
}

/* ════════════════════════════════════════════════════════════
   ABOUT PAGE
   ════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
.about-hero {
  background: linear-gradient(135deg, #061b30 0%, #0d3155 60%, #1a4a7a 100%);
  padding: 5rem 0 4rem;
  position: relative; overflow: hidden;
}
.about-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.about-hero-inner { position: relative; z-index: 1; }
.about-hero-text .section-eyebrow { display: block; margin-bottom: 1rem; }
.about-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300; color: #fff; line-height: 1.1; margin-bottom: 1rem;
}
.about-hero-title em { font-style: italic; color: rgba(255,255,255,.7); }
.about-hero-subtitle {
  font-family: var(--font-sans); font-size: 1.1rem; font-weight: 300;
  color: rgba(255,255,255,.65); letter-spacing: .02em;
}

/* ── Mission ──────────────────────────────────────────────── */
.about-mission { padding: 5rem 0; background: #fff; }
.about-mission-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-img-stack {
  position: relative; padding-bottom: 3rem; padding-right: 3rem;
}
.about-img-main {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(6,27,48,.18);
  display: block;
}
.about-img-secondary {
  position: absolute; bottom: 0; right: 0;
  width: 55%; border-radius: var(--radius);
  box-shadow: 0 8px 32px rgba(6,27,48,.22);
  border: 4px solid #fff;
}
.about-mission-text .section-eyebrow { display: block; margin-bottom: .75rem; }
.about-mission-text .section-title { margin-bottom: 1.5rem; }
.about-mission-text p {
  font-family: var(--font-sans); font-size: .975rem;
  color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem;
}
.about-pillars {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 2rem;
}
.about-pillar {
  display: flex; align-items: center; gap: .6rem;
  background: var(--cream); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .75rem 1rem;
  font-family: var(--font-sans); font-size: .875rem; font-weight: 500;
  color: var(--navy);
}
.about-pillar svg { flex-shrink: 0; }

/* ── Stats band ──────────────────────────────────────────── */
.about-stats-band {
  background: var(--cream); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 3rem 0;
}
.about-stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid var(--border); gap: 0;
}
.about-stat {
  text-align: center; padding: 1rem 1.5rem;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; gap: .35rem;
}
.about-stat:last-child { border-right: none; }
.about-stat-num {
  font-family: var(--font-serif); font-size: 2.4rem; font-weight: 300;
  color: var(--navy); line-height: 1;
}
.about-stat-label {
  font-family: var(--font-sans); font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted);
}

/* ── Team ────────────────────────────────────────────────── */
.about-team { padding: 5rem 0; background: #fff; }
.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.team-card {
  background: var(--cream); border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5); overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.team-card:hover {
  box-shadow: 0 12px 40px rgba(6,27,48,.12);
  transform: translateY(-4px);
}
.team-card-img {
  aspect-ratio: 3/4; overflow: hidden; background: #0d2035;
}
.team-card-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center top;
  transition: transform .5s ease;
  display: block;
}
.team-card:hover .team-card-img img { transform: scale(1.04); }
.team-card-body { padding: 1.5rem; }
.team-card-body h3 {
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 400;
  color: var(--navy); margin-bottom: .3rem;
}
.team-role {
  display: block; font-family: var(--font-sans); font-size: .78rem;
  font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  color: var(--text-muted);
}
.team-card-divider {
  height: 1px; background: var(--border); margin: .9rem 0;
}
.team-card-body p {
  font-family: var(--font-sans); font-size: .855rem;
  color: var(--text-muted); line-height: 1.6;
}

/* ── Maintenance section ─────────────────────────────────── */
.about-maintenance { padding: 5rem 0; background: var(--cream); }
.about-maintenance-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-maintenance-text .section-eyebrow { display: block; margin-bottom: .75rem; }
.about-maintenance-text .section-title { margin-bottom: 1.25rem; }
.about-maintenance-text p {
  font-family: var(--font-sans); font-size: .975rem;
  color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem;
}
.about-maintenance-points {
  display: flex; flex-direction: column; gap: .6rem; margin-top: 1.5rem;
}
.about-maint-point {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-sans); font-size: .875rem; color: var(--text);
}
.about-maint-point svg { color: var(--navy); flex-shrink: 0; }
.about-maintenance-photo img {
  width: 100%; border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(6,27,48,.15);
  display: block;
}

/* ── Testimonial video ───────────────────────────────────── */
.about-testimonial { padding: 5rem 0; background: #fff; }
.about-video-wrap { max-width: 800px; margin: 0 auto; }
.about-video-frame { border-radius: calc(var(--radius) * 1.5); overflow: hidden; }

/* ── CTA band ────────────────────────────────────────────── */
.about-cta {
  background: var(--navy); padding: 4rem 0;
}
.about-cta-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
}
.about-cta h2 {
  font-family: var(--font-serif); font-size: 1.9rem; font-weight: 300;
  color: #fff; margin-bottom: .6rem;
}
.about-cta p {
  font-family: var(--font-sans); font-size: .95rem;
  color: rgba(255,255,255,.7); max-width: 480px; line-height: 1.65;
}

/* ── About page responsive ───────────────────────────────── */
@media (max-width: 1100px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .about-mission-inner    { grid-template-columns: 1fr; gap: 3rem; }
  .about-maintenance-inner { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-stack        { padding-bottom: 2.5rem; padding-right: 2.5rem; }
}
@media (max-width: 768px) {
  .team-grid            { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .about-stats-grid     { grid-template-columns: repeat(2, 1fr); }
  .about-stat           { border-right: none; border-bottom: 1px solid var(--border); }
  .about-stat:nth-child(2n) { border-right: none; }
  .about-stat:last-child, .about-stat:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .about-pillars        { grid-template-columns: 1fr; }
  .about-cta-inner      { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════
   CONTACT PAGE
   ════════════════════════════════════════════════════════════ */

/* ── Hero ─────────────────────────────────────────────────── */
.contact-hero {
  background: linear-gradient(135deg, #061b30 0%, #0d3155 60%, #1a4a7a 100%);
  padding: 5rem 0 4rem; position: relative; overflow: hidden;
}
.contact-hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.contact-hero-inner { position: relative; z-index: 1; }
.contact-hero-inner .section-eyebrow { display: block; margin-bottom: 1rem; }
.contact-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  font-weight: 300; color: #fff; line-height: 1.1; margin-bottom: 1rem;
}
.contact-hero-title em { font-style: italic; color: rgba(255,255,255,.7); }
.contact-hero-sub {
  font-family: var(--font-sans); font-size: 1rem; font-weight: 300;
  color: rgba(255,255,255,.7); max-width: 520px; line-height: 1.65;
}

/* ── Info Cards ──────────────────────────────────────────── */
.contact-cards-section {
  background: var(--cream); border-bottom: 1px solid var(--border);
  padding: 3.5rem 0;
}
.contact-cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
}
.contact-info-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.75rem 1.5rem;
  display: flex; flex-direction: column; gap: .5rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.contact-info-card:hover {
  box-shadow: 0 8px 28px rgba(6,27,48,.1);
  transform: translateY(-3px);
}
.contact-card-icon {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(6,27,48,.07); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: .5rem; flex-shrink: 0;
}
.contact-info-card h3 {
  font-family: var(--font-sans); font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted);
}
.contact-info-card p {
  font-family: var(--font-sans); font-size: .925rem; color: var(--text);
  line-height: 1.65;
}
.contact-info-card p a { color: var(--text); }
.contact-info-card p a:hover { color: var(--navy); }
.contact-card-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-sans); font-size: .8rem; font-weight: 600;
  color: var(--navy); margin-top: auto; padding-top: .5rem;
}
.contact-card-link:hover { gap: .55rem; }
.contact-card-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0;
  border-radius: 999px; padding: .3rem .75rem;
  font-family: var(--font-sans); font-size: .78rem; font-weight: 600;
  margin-top: auto;
}

/* ── Main: form + map ────────────────────────────────────── */
.contact-main-section { padding: 5rem 0; background: #fff; }
.contact-main-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}

/* Form side */
.contact-form-wrap .section-eyebrow { display: block; margin-bottom: .75rem; }
.contact-form-wrap .section-title { margin-bottom: .75rem; }
.contact-form-intro {
  font-family: var(--font-sans); font-size: .9rem;
  color: var(--text-muted); line-height: 1.65; margin-bottom: 2rem;
}
.contact-form { display: flex; flex-direction: column; }

/* Map side */
.contact-map-wrap .section-eyebrow { display: block; margin-bottom: .75rem; }
.contact-map-wrap .section-title   { margin-bottom: .6rem; }
.contact-map-address {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-size: .9rem; color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.contact-map-frame {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(6,27,48,.1);
  height: 380px;
}
.contact-map-frame iframe { width: 100%; height: 100%; border: none; display: block; }
.contact-map-actions { margin-top: 1rem; }

/* ── Social Section ──────────────────────────────────────── */
/* ── CONTACT — SOCIAL SECTION ──────────────────────────────── */
.contact-social {
  background: var(--navy);
  padding: 5rem 0 5.5rem;
  position: relative;
  overflow: hidden;
}
.contact-social::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 110%, rgba(196,166,97,.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Header */
.contact-social-header {
  text-align: center;
  margin-bottom: 3rem;
}
.contact-social-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  color: #fff;
  margin: .35rem 0 .75rem;
  letter-spacing: -.01em;
}
.contact-social-sub {
  color: rgba(255,255,255,.55);
  font-size: .95rem;
  max-width: 420px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Grid */
.contact-social-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  max-width: 900px;
  margin: 0 auto;
}

/* Card */
.csb {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .55rem;
  width: 152px;
  padding: 1.75rem 1rem 1.5rem;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
  color: #fff;
  transition: transform .22s ease, background .22s ease, border-color .22s ease, box-shadow .22s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.csb::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 0 0 14px 14px;
  opacity: 0;
  transition: opacity .22s ease;
}
.csb:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.11);
  border-color: rgba(255,255,255,.22);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.csb:hover::after { opacity: 1; }

/* Icon bubble */
.csb__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.1);
  margin-bottom: .25rem;
  transition: background .22s;
}
.csb:hover .csb__icon { background: rgba(255,255,255,.18); }

.csb__name {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: .01em;
}
.csb__handle {
  font-size: .72rem;
  color: rgba(255,255,255,.45);
  line-height: 1.3;
  word-break: break-word;
}
.csb__cta {
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  margin-top: .2rem;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.csb:hover .csb__cta { opacity: 1; transform: translateY(0); }

/* Brand accent colours */
.csb--instagram::after  { background: linear-gradient(90deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.csb--facebook::after   { background: #1877f2; }
.csb--tiktok::after     { background: linear-gradient(90deg, #69c9d0, #ee1d52); }
.csb--linkedin::after   { background: #0a66c2; }
.csb--youtube::after    { background: #ff0000; }

.csb--instagram:hover .csb__icon { background: rgba(220,39,67,.25); }
.csb--facebook:hover  .csb__icon { background: rgba(24,119,242,.25); }
.csb--tiktok:hover    .csb__icon { background: rgba(238,29,82,.2); }
.csb--linkedin:hover  .csb__icon { background: rgba(10,102,194,.25); }
.csb--youtube:hover   .csb__icon { background: rgba(255,0,0,.22); }

/* ── LOGO IMAGE ──────────────────────────────────────────── */
.logo-img {
  display: block;
  height: 48px;
  width: auto;
  object-fit: contain;
  /* invert to white so it reads on the dark header */
  filter: brightness(0) invert(1);
}

/* ── WHATSAPP FLOATING BUTTON ────────────────────────────── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  text-decoration: none;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.whatsapp-float:hover {
  background: #20b858;
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,.5);
}
.whatsapp-float svg { flex-shrink: 0; }
.whatsapp-float-label { display: none; }

@media (max-width: 600px) {
  .whatsapp-float { bottom: 1.25rem; left: 1.25rem; width: 50px; height: 50px; }
}

/* ── Contact page responsive ─────────────────────────────── */
@media (max-width: 1100px) {
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .contact-main-grid { grid-template-columns: 1fr; }
  .contact-map-frame { height: 320px; }
}
@media (max-width: 768px) {
  .contact-cards-grid { grid-template-columns: 1fr 1fr; }
  .csb { width: 140px; padding: 1.5rem .85rem 1.25rem; }
}
@media (max-width: 480px) {
  .contact-cards-grid { grid-template-columns: 1fr; }
  .contact-social-grid { gap: .75rem; }
  .csb { width: calc(50% - .375rem); }
}

/* ═══════════════════════════════════════════════════════════════
   BLOG — Listing page
   ═══════════════════════════════════════════════════════════════ */

/* Hero banner */
.blog-hero {
  background: var(--navy);
  padding: 5rem 0 4rem;
  text-align: center;
}
.blog-hero-inner { max-width: 640px; margin: 0 auto; }
.blog-hero-tag {
  display: inline-block;
  font-family: var(--font-sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.blog-hero-title {
  font-family: var(--font-serif); font-size: clamp(2rem,5vw,3rem);
  font-weight: 400; color: #fff; margin: 0 0 .85rem;
}
.blog-hero-sub {
  font-family: var(--font-sans); font-size: 1rem; line-height: 1.65;
  color: rgba(255,255,255,.72); margin: 0;
}

/* Section spacing */
.blog-section { padding-top: 3.5rem; }

/* Featured post */
.blog-featured {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}
.blog-featured-img-link { display: block; border-radius: 12px; overflow: hidden; }
.blog-featured-img {
  width: 100%; aspect-ratio: 16/9; object-fit: cover;
  display: block; transition: transform .4s ease;
}
.blog-featured-img-link:hover .blog-featured-img { transform: scale(1.03); }
.blog-featured-body {}
.blog-featured-title {
  font-family: var(--font-serif); font-size: clamp(1.5rem,3vw,2rem);
  font-weight: 400; color: var(--navy); margin: .6rem 0 .9rem; line-height: 1.3;
}
.blog-featured-title a { color: inherit; text-decoration: none; }
.blog-featured-title a:hover { color: var(--gold); }
.blog-featured-excerpt {
  font-family: var(--font-sans); font-size: .95rem; line-height: 1.65;
  color: var(--text-muted); margin: 0 0 1.5rem;
}
.blog-read-btn { display: inline-flex; align-items: center; gap: .4rem; }

/* Meta line */
.blog-post-meta {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-size: .78rem;
  color: var(--text-muted); margin-bottom: .4rem;
}
.blog-post-sep { opacity: .5; }
.blog-post-cat { color: var(--gold); font-weight: 500; }

/* Post grid */
.blog-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.blog-card {
  border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; background: #fff;
  transition: box-shadow .25s, transform .25s;
}
.blog-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,.1);
  transform: translateY(-3px);
}
.blog-card-img-link { display: block; overflow: hidden; }
.blog-card-img-wrap { overflow: hidden; aspect-ratio: 16/9; }
.blog-card-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-body { padding: 1.25rem; }
.blog-card-title {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 400;
  color: var(--navy); margin: .4rem 0 .6rem; line-height: 1.4;
}
.blog-card-title a { color: inherit; text-decoration: none; }
.blog-card-title a:hover { color: var(--gold); }
.blog-card-excerpt {
  font-family: var(--font-sans); font-size: .85rem; color: var(--text-muted);
  line-height: 1.6; margin: 0 0 .9rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-read-more {
  font-family: var(--font-sans); font-size: .82rem; font-weight: 600;
  color: var(--gold); text-decoration: none;
}
.blog-read-more:hover { color: var(--navy); }

/* Empty state */
.blog-empty {
  text-align: center; padding: 5rem 0;
  font-family: var(--font-sans); color: var(--text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   BLOG — Single post page
   ═══════════════════════════════════════════════════════════════ */

/* Hero */
.post-hero {
  position: relative; overflow: hidden;
  height: clamp(320px, 45vw, 520px);
  display: flex; align-items: flex-end;
  background: var(--navy);
}
.post-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,30,.85) 0%, rgba(10,15,30,.3) 60%, transparent 100%);
}
.post-hero-content {
  position: relative; z-index: 1;
  padding-bottom: 2.5rem;
}
.post-breadcrumb {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-size: .78rem;
  color: rgba(255,255,255,.65); margin-bottom: .85rem;
}
.post-breadcrumb a { color: var(--gold); text-decoration: none; }
.post-breadcrumb a:hover { text-decoration: underline; }
.post-cats { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .65rem; }
.post-cat-badge {
  font-family: var(--font-sans); font-size: .68rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  background: var(--gold-light); color: var(--gold);
  padding: .25rem .65rem; border-radius: 20px;
  border: 1px solid rgba(83,126,172,.4);
}
.post-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  font-weight: 400; color: #fff; margin: 0 0 .75rem;
  line-height: 1.25; max-width: 760px;
}
.post-byline {
  display: flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans); font-size: .82rem;
  color: rgba(255,255,255,.65);
}
.post-byline-sep { opacity: .5; }

/* Layout */
.post-section { padding-top: 3rem; }
.post-container {}
.post-layout {
  display: grid; grid-template-columns: 1fr 300px;
  gap: 4rem; align-items: start;
}

/* Content area */
.post-content {}
.post-lead {
  font-family: var(--font-sans); font-size: 1.1rem; line-height: 1.75;
  color: var(--text-muted); border-left: 3px solid var(--gold);
  padding-left: 1.25rem; margin: 0 0 2rem;
}
.post-h2 {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400;
  color: var(--navy); margin: 2.25rem 0 .85rem; line-height: 1.3;
}
.post-h3 {
  font-family: var(--font-serif); font-size: 1.2rem; font-weight: 400;
  color: var(--navy); margin: 1.75rem 0 .65rem;
}
.post-p {
  font-family: var(--font-sans); font-size: .97rem; line-height: 1.8;
  color: var(--text); margin: 0 0 1.2rem;
}
.post-quote {
  font-family: var(--font-serif); font-size: 1.15rem; font-style: italic;
  color: var(--navy); background: var(--off-white);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem; margin: 2rem 0;
  border-radius: 0 8px 8px 0;
}
.post-figure {
  margin: 1.75rem 0;
}
.post-img {
  width: 100%; border-radius: 10px;
  display: block; max-height: 480px; object-fit: cover;
}
/* Video embed */
.post-video-wrap { position: relative; padding-bottom: 56.25%; height: 0; }
.post-video-iframe {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; border-radius: 10px;
}
.post-video-file {
  width: 100%; border-radius: 10px; max-height: 480px;
}

/* Tags */
.post-tags {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.post-tag {
  font-family: var(--font-sans); font-size: .75rem;
  background: var(--off-white); color: var(--text-muted);
  padding: .3rem .75rem; border-radius: 20px;
  border: 1px solid var(--border);
}

/* Sidebar */
.post-sidebar { position: sticky; top: 100px; }
.sidebar-back-btn {
  display: block; font-family: var(--font-sans); font-size: .85rem;
  font-weight: 600; color: var(--navy); text-decoration: none;
  margin-bottom: 1.75rem;
}
.sidebar-back-btn:hover { color: var(--gold); }
.sidebar-section { margin-bottom: 2rem; }
.sidebar-heading {
  font-family: var(--font-sans); font-size: .65rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); margin: 0 0 1rem;
}
.sidebar-posts { list-style: none; margin: 0; padding: 0; }
.sidebar-post-item {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .85rem 0; border-bottom: 1px solid var(--border);
}
.sidebar-post-item:last-child { border-bottom: none; }
.sidebar-post-thumb-link { flex-shrink: 0; }
.sidebar-post-thumb {
  width: 64px; height: 50px; object-fit: cover;
  border-radius: 6px; display: block;
}
.sidebar-post-info { display: flex; flex-direction: column; gap: .2rem; }
.sidebar-post-title {
  font-family: var(--font-sans); font-size: .83rem; font-weight: 500;
  color: var(--navy); text-decoration: none; line-height: 1.4;
}
.sidebar-post-title:hover { color: var(--gold); }
.sidebar-post-date {
  font-family: var(--font-sans); font-size: .72rem; color: var(--text-muted);
}
/* CTA box */
.sidebar-cta {
  background: var(--navy); border-radius: 12px;
  padding: 1.5rem; text-align: center; margin-top: 1.5rem;
}
.sidebar-cta-title {
  font-family: var(--font-serif); font-size: 1.1rem; font-weight: 400;
  color: #fff; margin: 0 0 .5rem;
}
.sidebar-cta-text {
  font-family: var(--font-sans); font-size: .82rem; line-height: 1.55;
  color: rgba(255,255,255,.7); margin: 0 0 1.1rem;
}

/* ─── Blog responsive ─────────────────────────────────── */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .post-sidebar { position: static; }
}
@media (max-width: 768px) {
  .blog-featured { grid-template-columns: 1fr; gap: 1.5rem; }
  .blog-grid { grid-template-columns: 1fr; }
  .post-hero { height: clamp(260px,55vw,380px); }
}
@media (max-width: 480px) {
  .blog-hero { padding: 3.5rem 0 3rem; }
  .post-title { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE UX IMPROVEMENTS
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. BUTTONS — minimum 44px tap targets on mobile ─────── */
@media (max-width: 768px) {
  .btn { padding: .75rem 1.5rem; font-size: .85rem; min-height: 44px; }
  .btn-sm { padding: .6rem 1rem; font-size: .8rem; min-height: 44px; }
  .btn-lg { padding: 1rem 2rem; }
  /* block buttons full width on small screens */
  .btn-block { width: 100%; justify-content: center; }
}

/* ── 2. NAVIGATION — mobile overrides (handled above) ──────── */

/* ── 3. SEARCH BAR COMPACT (search.php) — stack on mobile ─── */
@media (max-width: 768px) {
  .search-bar-compact {
    flex-direction: column;
    border-radius: var(--radius);
  }
  .search-bar-compact .search-field {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .search-bar-compact .search-field:last-of-type { border-bottom: none; }
  .search-bar-compact .search-btn {
    border-radius: 0 0 var(--radius) var(--radius);
    width: 100%; justify-content: center;
    padding: .9rem; font-size: .85rem; min-height: 48px;
  }
  /* Light theme labels readable */
  .search-bar-compact .search-field label { color: var(--text-muted); font-size: .68rem; }
  .search-bar-compact .search-field input,
  .search-bar-compact .search-field .search-select {
    font-size: 16px; /* prevent iOS auto-zoom */
    color: var(--text);
  }
}

/* ── 4. SEARCH FIELD LABELS — minimum readable size ─────────── */
.search-field label { font-size: .68rem; } /* was .6rem */
@media (max-width: 768px) {
  .search-field label { font-size: .72rem; }
}

/* ── 5. HERO SEARCH — prevent iOS zoom on inputs ────────────── */
@media (max-width: 768px) {
  .search-field input,
  .search-field .search-select { font-size: 16px; }
}

/* ── 6. SECTION HEADERS — responsive space-between ──────────── */
@media (max-width: 600px) {
  .section-header.space-between {
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
  }
  .section-header.space-between .btn { align-self: flex-start; }
}

/* ── 7. SECTION PADDING — tighter on small phones ───────────── */
@media (max-width: 480px) {
  .section { padding: 3.5rem 0; }
  .section-header { margin-bottom: 2.25rem; }
  .section-title { font-size: 1.65rem; }
}

/* ── 8. PROPERTY GRID — single column at 360px ──────────────── */
@media (max-width: 360px) {
  .property-grid { grid-template-columns: 1fr; }
}

/* ── 9. CARD FOOTER — prevent price/btn overlap ─────────────── */
@media (max-width: 380px) {
  .card-footer { flex-direction: column; align-items: flex-start; gap: .75rem; }
  .card-footer .btn { width: 100%; justify-content: center; }
}

/* ── 10. BOOKING WIDGET — readable labels, iOS zoom fix ──────── */
@media (max-width: 768px) {
  .booking-field label { font-size: .7rem; } /* was .58rem — illegible */
  .booking-field input,
  .booking-field select { font-size: 16px; } /* prevent iOS zoom */
}

/* ── 11. CALENDAR NAV BUTTONS — 44px tap target ─────────────── */
.cal-nav-btn { min-width: 44px; min-height: 44px; }

/* ── 12. LIGHTBOX — reduce side padding on mobile ───────────── */
@media (max-width: 768px) {
  .lightbox-inner { padding: 0 2.5rem; }
}
@media (max-width: 480px) {
  .lightbox-inner { padding: 0 2rem; }
  .lightbox-prev { left: .1rem; } .lightbox-next { right: .1rem; }
}

/* ── 13. MOBILE FILTER TOGGLE (search.php) ──────────────────── */
.mobile-filter-toggle {
  display: none; /* hidden on desktop */
}
.sidebar-close-btn { display: none; }
.sidebar-overlay { display: none; }

@media (max-width: 900px) {
  /* Show the "Filters" toggle button */
  .mobile-filter-toggle {
    display: flex;
    align-items: center; gap: .6rem;
    background: var(--navy); color: #fff;
    border: none; border-radius: var(--radius);
    padding: .7rem 1.25rem;
    font-family: var(--font-sans); font-size: .85rem; font-weight: 600;
    cursor: pointer; margin-bottom: 1.25rem;
    min-height: 44px; width: 100%; justify-content: center;
    position: relative;
  }
  .mobile-filter-badge {
    background: var(--gold); color: #fff;
    font-size: .68rem; font-weight: 700;
    border-radius: 50%; width: 18px; height: 18px;
    display: inline-flex; align-items: center; justify-content: center;
    position: absolute; top: 6px; right: 8px;
  }

  /* Sidebar is hidden by default, slides in as drawer */
  .filters-sidebar {
    position: fixed !important;
    inset: 0 0 0 0 !important;
    left: auto !important; right: 0 !important;
    top: 0 !important; bottom: 0 !important;
    width: min(320px, 85vw);
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
    z-index: 500;
    border-radius: 0 !important;
    box-shadow: -8px 0 40px rgba(0,0,0,.2);
    padding-bottom: 5rem !important; /* space for Done btn */
  }
  .filters-sidebar.open { transform: translateX(0); }

  /* Done button inside sidebar */
  .sidebar-close-btn {
    display: flex;
    position: sticky; bottom: 0;
    width: 100%; background: var(--navy); color: #fff;
    border: none; padding: 1rem;
    font-family: var(--font-sans); font-size: .9rem; font-weight: 600;
    cursor: pointer; justify-content: center; align-items: center;
    min-height: 52px; margin-top: 1rem;
  }
  .sidebar-close-btn:hover { background: var(--navy-2); }

  /* Dimmed overlay behind sidebar */
  .sidebar-overlay {
    display: block;
    position: fixed; inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 499;
    opacity: 0; pointer-events: none;
    transition: opacity .28s ease;
  }
  .sidebar-overlay.active { opacity: 1; pointer-events: all; }

  /* Hide native sidebar in the grid on mobile */
  .search-layout { grid-template-columns: 1fr !important; }
}

/* ── 14. HERO TITLES — scale down on very small phones ──────── */
@media (max-width: 480px) {
  .partner-hero-title,
  .about-hero-title { font-size: 2.2rem !important; }
  .hero-title { font-size: clamp(1.5rem, 6.5vw, 2.2rem); }
}

/* ── 15. ABOUT — prevent absolutely-positioned image overflow ── */
@media (max-width: 480px) {
  .about-img-stack { overflow: hidden; padding-right: 1.5rem !important; padding-bottom: 1.5rem !important; }
  .about-img-secondary { width: 50% !important; }
}

/* ── 16. WHATSAPP BUTTON — safe area for Android gestures ───── */
.whatsapp-float {
  bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}

/* ── 17. FOOTER LINKS — minimum tap area ────────────────────── */
@media (max-width: 768px) {
  .footer-col ul a,
  .footer-col address p a {
    display: inline-flex; align-items: center;
    min-height: 40px; padding: .25rem 0;
  }
  .footer-col ul li { margin-bottom: .25rem; }
}

/* ── 18. CONTACT FORM ROW — stack at ≤640px ──────────────────── */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr !important; }
}

/* ── 19. ALL FORM INPUTS — prevent iOS zoom (16px minimum) ───── */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  input[type="date"],
  input[type="password"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ── 20. PROPERTY PAGE — mobile layout tweaks ─────────────────── */
@media (max-width: 600px) {
  .gallery-main-img { height: 220px; }
}
@media (max-width: 480px) {
  .prop-meta-bar { flex-wrap: wrap; gap: .5rem; }
  .property-title { font-size: 1.35rem !important; }
  .review-categories { flex-direction: column; }
  .review-cat-name { width: auto !important; min-width: 80px; }
}

/* ── 21. SEARCH PAGE RESULTS TOOLBAR ─────────────────────────── */
@media (max-width: 600px) {
  .results-toolbar {
    flex-direction: column; align-items: flex-start; gap: .65rem;
  }
  .results-count { font-size: .82rem; }
  .results-sort select { min-height: 44px; font-size: 15px; }
}

/* ── 22. ACTIVE FILTER CHIPS — bigger tap area ───────────────── */
.active-chip { min-height: 36px; padding: .4rem .85rem; }
.active-chip span { font-size: .9rem; margin-left: .25rem; }

/* ── 23. PAGINATION — bigger tap targets ─────────────────────── */
@media (max-width: 768px) {
  .page-btn { min-width: 44px; min-height: 44px; padding: .5rem .9rem; }
}

/* ── 24. BLOG — button sizing on mobile ──────────────────────── */
@media (max-width: 480px) {
  .blog-featured-title { font-size: 1.4rem; }
  .blog-card-body { padding: 1rem; }
  .post-hero-content { padding-bottom: 1.75rem; }
}

/* ── 25. FILTER CHECKBOX — bigger touch area ─────────────────── */
.filter-checkbox { padding: .55rem 0; min-height: 44px; }

/* ── 26. GENERAL — tap highlight for touch devices ───────────── */
@media (hover: none) {
  * { -webkit-tap-highlight-color: rgba(196,166,97,.15); }
  a, button { cursor: pointer; }
}


/* ══════════════════════════════════════════════════════════════
   PRIVACY POLICY CONSENT CHECKBOX
   ══════════════════════════════════════════════════════════════ */

.form-privacy-consent {
  margin-bottom: 1rem;
  padding: .85rem 1rem;
  background: #f7f9fc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.privacy-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  cursor: pointer;
  line-height: 1.55;
  font-size: .88rem;
  color: #4a5568;
}

.privacy-checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: .18rem;
  accent-color: var(--gold);
  cursor: pointer;
}

.privacy-checkbox-label a {
  color: var(--gold);
  text-decoration: underline;
  font-weight: 600;
}
.privacy-checkbox-label a:hover { color: var(--navy); }

/* Show a red border when form tries to submit without checking */
.privacy-checkbox-label input[type="checkbox"]:required:invalid ~ span {
  color: #c53030;
}

/* ── FOOTER LEGAL LINKS ──────────────────────────────────────── */

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-legal-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-legal-links a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .82rem;
  transition: color .2s;
}
.footer-legal-links a:hover { color: var(--gold); }

@media (max-width: 560px) {
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-legal-links { justify-content: center; }
}

/* ═══════════════════════════════════════════════════════════
   LANGUAGE SWITCHER
   ═══════════════════════════════════════════════════════════ */
.lang-switcher {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* ── Trigger button — globe icon only ── */
.lang-switcher-btn {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 20px;
  padding: .3rem .55rem;
  cursor: pointer;
  color: #fff;
  transition: border-color .2s, background .2s;
}
.lang-switcher-btn:hover {
  border-color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.1);
}
.lang-globe {
  width: 17px; height: 17px;
  flex-shrink: 0;
  stroke: #fff;
}
.lang-chevron {
  width: 10px; height: 10px;
  transition: transform .22s;
  opacity: .65;
  flex-shrink: 0;
  stroke: #fff;
}
.lang-switcher.open .lang-chevron { transform: rotate(180deg); }

/* ── Dropdown panel ── */
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid rgba(6,27,48,.1);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(6,27,48,.14);
  min-width: 185px;
  padding: .5rem;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.lang-switcher.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── Individual language rows ── */
.lang-option {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .75rem;
  border-radius: 8px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--navy);
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
}
.lang-option:hover { background: rgba(6,27,48,.05); }
.lang-option.active {
  background: rgba(6,27,48,.07);
  font-weight: 700;
}
.lang-opt-flag  { font-size: 1.1rem; line-height: 1; flex-shrink: 0; }
.lang-opt-name  { flex: 1; }
.lang-opt-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: rgba(6,27,48,.35);
  background: rgba(6,27,48,.06);
  border-radius: 4px;
  padding: .1rem .35rem;
  flex-shrink: 0;
}
.lang-option.active .lang-opt-label {
  background: rgba(6,27,48,.12);
  color: rgba(6,27,48,.6);
}

/* ═══════════════════════════════════════════════════════════
   PER-LANGUAGE FONT OVERRIDES
   Overrides --font-sans / --font-serif at the html level so
   every element that uses var(--font-sans) or var(--font-serif)
   automatically inherits the correct typeface — no individual
   selector changes needed.
   ═══════════════════════════════════════════════════════════ */

/* Arabic — Tajawal: clean geometric UI font built for Arabic luxury brands.
   Excellent Arabic glyph coverage, harmonious Latin fallback. */
html[lang="ar"] {
  --font-sans:  'Tajawal', 'Segoe UI', Arial, sans-serif;
  --font-serif: 'Tajawal', 'Segoe UI', Arial, sans-serif;
}
html[lang="ar"] body { line-height: 1.85; }
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3 { font-weight: 700; }

/* Urdu — Noto Nastaliq Urdu: authentic calligraphic Nastaliq script.
   Nastaliq glyphs are tall; generous line-height is required. */
html[lang="ur"] {
  --font-sans:  'Noto Nastaliq Urdu', 'Segoe UI', serif;
  --font-serif: 'Noto Nastaliq Urdu', 'Segoe UI', serif;
}
html[lang="ur"] body { line-height: 2.2; }
html[lang="ur"] .btn,
html[lang="ur"] .pm-hero-chip,
html[lang="ur"] .pm-trust-pill { font-size: 1.05em; }

/* Hindi — Hind: purpose-built Devanagari + Latin at all weights,
   optimised for screen legibility. */
html[lang="hi"] {
  --font-sans:  'Hind', 'Noto Sans Devanagari', Arial, sans-serif;
  --font-serif: 'Hind', 'Noto Sans Devanagari', Arial, sans-serif;
}
html[lang="hi"] body { line-height: 1.75; }

/* Russian — Inter already covers full Cyrillic at all weights.
   Slight tracking tightening as Cyrillic letterforms are wider. */
html[lang="ru"] {
  letter-spacing: -0.01em;
}

/* ═══════════════════════════════════════════════════════════
   RTL GLOBAL OVERRIDES
   Applied when <html dir="rtl"> is set (Arabic / Urdu)
   ═══════════════════════════════════════════════════════════ */
[dir="rtl"] {
  /* Swap text alignment */
  text-align: right;
}

[dir="rtl"] .container,
[dir="rtl"] .header-inner,
[dir="rtl"] .nav {
  direction: rtl;
}

/* Flex row-reverse for key layout areas */
[dir="rtl"] .header-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-links     { flex-direction: row-reverse; }
[dir="rtl"] .nav-actions   { flex-direction: row-reverse; }
[dir="rtl"] .footer-grid   { direction: rtl; }
[dir="rtl"] .footer-bottom-inner { flex-direction: row-reverse; }

/* Footer social + address */
[dir="rtl"] .social-links { justify-content: flex-start; }
[dir="rtl"] address p     { flex-direction: row-reverse; }

/* Buttons — keep icon on correct side */
[dir="rtl"] .btn { flex-direction: row-reverse; }

/* WhatsApp float — fully isolated from RTL */
[dir="rtl"] .whatsapp-float {
  direction: ltr !important;
  unicode-bidi: isolate !important;
}
[dir="rtl"] .whatsapp-float svg {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* Cards / grids */
[dir="rtl"] .footer-brand,
[dir="rtl"] .footer-col  { text-align: right; }

/* Language dropdown flips to left side */
[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

/* RTL serif font override */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3,
[dir="rtl"] .pm-section-title, [dir="rtl"] .pm-hero-title {
  font-family: var(--font-sans); /* Arabic/Urdu don't use Cormorant */
}

/* ── RTL for property-management sections ─────────────────── */
[dir="rtl"] .pm-hero-inner      { flex-direction: row-reverse; }
[dir="rtl"] .pm-ticker-inner    { flex-direction: row-reverse; }
[dir="rtl"] .pm-roi-inner       { flex-direction: row-reverse; }
[dir="rtl"] .pm-process-inner   { flex-direction: row-reverse; }
[dir="rtl"] .pm-faq-grid        { flex-direction: row-reverse; direction: rtl; }
[dir="rtl"] .pm-cta-inner       { flex-direction: row-reverse; }

[dir="rtl"] .pm-hero-chips      { justify-content: flex-start; }
[dir="rtl"] .pm-hero-actions    { flex-direction: row-reverse; }
[dir="rtl"] .pm-trust-pills     { flex-direction: row-reverse; flex-wrap: wrap; }

[dir="rtl"] .pm-roi-checklist li { flex-direction: row-reverse; }
[dir="rtl"] .pm-process-step    { text-align: right; }
[dir="rtl"] .pm-step-top        { flex-direction: row-reverse; }

[dir="rtl"] .pm-testi-card      { text-align: right; }
[dir="rtl"] .pm-testi-author    { flex-direction: row-reverse; }

[dir="rtl"] .pm-faq-item summary  { flex-direction: row-reverse; text-align: right; }

[dir="rtl"] .pm-cta-trust-badges { flex-direction: row-reverse; flex-wrap: wrap; }
[dir="rtl"] .pm-trust-badge      { flex-direction: row-reverse; }

[dir="rtl"] .form-row { flex-direction: row-reverse; }
[dir="rtl"] .form-group label { text-align: right; }
[dir="rtl"] input, [dir="rtl"] select, [dir="rtl"] textarea {
  text-align: right;
  direction: rtl;
}
[dir="rtl"] .privacy-checkbox-label { flex-direction: row-reverse; gap: .6rem; }

/* ── RTL for hero card ──────────────────────────────────── */
[dir="rtl"] .pm-hero-card { text-align: right; }

/* Phone numbers always LTR even in RTL layouts */
[dir="rtl"] a[href^="tel:"],
[dir="rtl"] a[href^="https://wa.me"],
[dir="rtl"] .partner-contact-item a[href^="tel:"],
[dir="rtl"] .ty-contact a[href^="tel:"] {
    direction: ltr;
    display: inline-block;
    unicode-bidi: embed;
}

/* ── RTL-aware language switcher placement in nav ────────── */
[dir="rtl"] .lang-switcher { margin-right: 0; margin-left: .5rem; }

/* ── Mobile nav RTL ─────────────────────────────────────── */
@media (max-width: 900px) {
  [dir="rtl"] .nav-links,
  [dir="rtl"] .nav-actions { flex-direction: column; align-items: flex-end; }
}

/* ── UAE Dirham symbol ──────────────────────────────────── */
.d-sym {
  display: inline-block;
  height: .85em;
  width: auto;
  vertical-align: -.1em;
}
