/*
 * Fornax Suites — Public Frontend CSS
 * All brand colours reference CSS vars set by settings()->cssVars()
 * Change colours/font in Admin → Settings → Appearance and this entire
 * site updates instantly. Zero code changes needed.
 */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BASE TOKENS (fallbacks only — real values injected by settings()->cssVars())
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
:root {
  /* These are only fallbacks. The real values come from PHP settings->cssVars() */
  --pub-accent:          #f29d14;
  --pub-accent-dk:       #c97f0a;
  --pub-accent-alpha:    rgba(242,157,20,.12);
  --pub-dark:            #51473D;
  --pub-dark-lt:         #6b5e52;
  --pub-bg:              #f5f4f0;
  --pub-surface:         #ffffff;
  --pub-font:            'Outfit', system-ui, sans-serif;

  /* Fixed tokens — not overrideable */
  --ink:        #1a1714;
  --ink-70:     rgba(26,23,20,.7);
  --ink-40:     rgba(26,23,20,.4);
  --ink-12:     rgba(26,23,20,.12);
  --ink-06:     rgba(26,23,20,.06);
  --warm-off:   #f2ede6;
  --warm-mid:   #e4ddd3;
  --success:    #2d6a4f;
  --success-bg: #d1fae5;
  --danger:     #b5373a;
  --danger-bg:  #fee2e2;

  --ff-display: 'Cormorant Garamond', Georgia, serif;
  --nav-h:      72px;
  --max-w:      1260px;
  --r-sm:       2px;
  --r-md:       6px;
  --r-lg:       12px;
  --r-xl:       20px;
  --ease:       cubic-bezier(.16,1,.3,1);
  --dur:        .32s;
  --shadow-sm:  0 1px 4px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.06);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESET
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { font-family: var(--pub-font); background: var(--pub-bg); color: var(--ink); line-height: 1.65; }
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NAVIGATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  display: flex;
  align-items: center;
  padding: 0 clamp(16px, 5vw, 60px);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav.scrolled {
  background: rgba(250,248,245,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--ink-12);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 58px; height: 58px;
 
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo-mark img { width: 58px; height: 58px; object-fit: contain; }
.nav-logo-letter {
  font-family: var(--ff-display);
  font-size: 20px;
  color: var(--pub-accent);
  font-style: italic;
}
.nav-logo-text { line-height: 1.15; }
.nav-logo-name {
  font-family: var(--ff-display);
  font-size: 19px;
  color: var(--ink);
  font-weight: 400;
  letter-spacing: .01em;
  display: block;
}
.nav-logo-tagline {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-40);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav-link {
  padding: 8px 15px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-70);
  letter-spacing: .01em;
  position: relative;
  transition: color .2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 15px; right: 15px;
  height: 1.5px;
  background: var(--pub-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--ink); }

.nav-cta {
  padding: 9px 22px;
  background: var(--pub-dark);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background .2s;
  margin-left: 8px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--pub-accent-dk); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--pub-bg);
  z-index: 850;
  flex-direction: column;
  padding: 28px clamp(16px,5vw,60px);
  gap: 4px;
  overflow-y: auto;
  border-top: 1px solid var(--ink-12);
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  font-size: 15px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-06);
  color: var(--ink);
}
.nav-mobile .nav-link::after { display: none; }
.nav-mobile .nav-cta {
  margin: 16px 0 0;
  display: block;
  text-align: center;
  padding: 14px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   LAYOUT HELPERS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(16px, 5vw, 60px);
}
.section {
  padding: clamp(60px,8vw,110px) 0;
}
.section-sm { padding: clamp(40px,5vw,70px) 0; }
.page-wrap   { padding-top: var(--nav-h); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TYPOGRAPHY
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pub-accent);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1.5px;
  background: var(--pub-accent);
  flex-shrink: 0;
}

.display-title {
  font-family: var(--ff-display);
  font-size: clamp(32px, 5vw, 62px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--ink);
}
.display-title em {
  font-style: italic;
  color: var(--pub-accent-dk);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(26px, 4vw, 44px);
  font-weight: 300;
  line-height: 1.18;
  color: var(--ink);
}
.section-title em { font-style: italic; color: var(--pub-accent-dk); }

.lead {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--ink-70);
  line-height: 1.7;
  max-width: 54ch;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BUTTONS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: all .22s var(--ease);
  white-space: nowrap;
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn i { font-size: 11px; }

/* Primary — uses accent colour from settings */
.btn-primary {
  background: var(--pub-accent);
  color: var(--pub-dark);
  border-color: var(--pub-accent);
}
.btn-primary:hover {
  background: var(--pub-accent-dk);
  border-color: var(--pub-accent-dk);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--pub-accent-alpha);
}

/* Dark — uses secondary colour from settings */
.btn-dark {
  background: var(--pub-dark);
  color: #fff;
  border-color: var(--pub-dark);
}
.btn-dark:hover {
  background: var(--pub-dark-lt);
  border-color: var(--pub-dark-lt);
  transform: translateY(-1px);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink-40);
}
.btn-outline:hover {
  border-color: var(--pub-accent);
  color: var(--pub-accent-dk);
}

/* Ghost — for dark backgrounds */
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.3);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.5);
}

.btn-sm { padding: 9px 18px; font-size: 11.5px; }
.btn-lg { padding: 16px 36px; font-size: 14px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CARDS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.card {
  background: var(--pub-surface);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROPERTY CARD
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.prop-card { display: flex; flex-direction: column; }
.prop-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--warm-off);
}
.prop-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.prop-card:hover .prop-card-img img { transform: scale(1.04); }
.prop-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--pub-accent);
  color: var(--pub-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-sm);
}
.prop-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.prop-card-name {
  font-family: var(--ff-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
}
.prop-card-location {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--ink-40);
}
.prop-card-location i { font-size: 11px; color: var(--pub-accent); }
.prop-card-meta {
  display: flex; gap: 14px; padding: 10px 0;
  border-top: 1px solid var(--ink-06);
  border-bottom: 1px solid var(--ink-06);
}
.prop-card-meta-item {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; color: var(--ink-70);
}
.prop-card-meta-item i { font-size: 11px; color: var(--pub-accent); }
.prop-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto;
}
.prop-card-price { line-height: 1.1; }
.prop-card-price .amount {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
}
.prop-card-price .per { font-size: 11px; color: var(--ink-40); }
.prop-card-price .launch {
  font-size: 11px;
  color: var(--pub-accent-dk);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--pub-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .35;
  transition: opacity 1.2s;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--pub-dark) 0%, transparent 70%);
  opacity: .7;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--nav-h) + 40px) 0 60px;
}
.hero-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--pub-accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 1.5px;
  background: var(--pub-accent);
}
.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 300;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; color: var(--pub-accent); }
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  max-width: 50ch;
  margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero-stat-value {
  font-family: var(--ff-display);
  font-size: 32px;
  color: var(--pub-accent);
  font-weight: 300;
  line-height: 1;
}
.hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BOOKING WIDGET
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.booking-bar {
  background: var(--pub-surface);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.booking-field { flex: 1; min-width: 140px; }
.booking-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-40);
  margin-bottom: 6px;
}
.booking-field input,
.booking-field select {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--ink-12);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--ink);
  background: var(--pub-bg);
  transition: border-color .2s;
  appearance: none;
}
.booking-field input:focus,
.booking-field select:focus {
  outline: none;
  border-color: var(--pub-accent);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   GRID LAYOUTS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-2-1 { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: center; }
.grid-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   SECTION DIVIDER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 48px;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--ink-12);
}
.divider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--pub-accent);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FORMS (contact, booking)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
  margin-bottom: 7px;
}
.form-label .req { color: var(--pub-accent); margin-left: 3px; }
.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--ink-12);
  border-radius: var(--r-md);
  font-size: 14px;
  color: var(--ink);
  background: var(--pub-surface);
  transition: border-color .2s, box-shadow .2s;
  line-height: 1.5;
}
.form-control:focus {
  outline: none;
  border-color: var(--pub-accent);
  box-shadow: 0 0 0 3px var(--pub-accent-alpha);
}
.form-control::placeholder { color: var(--ink-40); }
.form-control.is-invalid { border-color: var(--danger); }
textarea.form-control { resize: vertical; min-height: 110px; }

.form-error {
  font-size: 11.5px;
  color: var(--danger);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FEATURE LIST (about, amenities)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.feature-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--ink-06);
}
.feature-item:last-child { border-bottom: none; }
.feature-icon {
  width: 42px; height: 42px;
  border-radius: var(--r-md);
  background: var(--pub-accent-alpha);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--pub-accent-dk);
  flex-shrink: 0;
}
.feature-title { font-weight: 600; font-size: 14.5px; margin-bottom: 4px; }
.feature-desc  { font-size: 13px; color: var(--ink-70); line-height: 1.55; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   STAT STRIP
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.stat-strip {
  background: var(--pub-dark);
  padding: 48px 0;
}
.stat-strip-inner {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
  text-align: center;
}
.stat-strip-value {
  font-family: var(--ff-display);
  font-size: 42px;
  color: var(--pub-accent);
  font-weight: 300;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-strip-label {
  font-size: 11px;
  color: rgba(255,255,255,.5);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TESTIMONIALS
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.testimonial-card {
  background: var(--pub-surface);
  border: 1px solid var(--ink-12);
  border-radius: var(--r-lg);
  padding: 28px;
}
.testimonial-stars { color: var(--pub-accent); font-size: 13px; letter-spacing: 2px; margin-bottom: 14px; }
.testimonial-text  { font-family: var(--ff-display); font-size: 17px; font-style: italic; color: var(--ink); line-height: 1.55; margin-bottom: 18px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--pub-accent-alpha);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-display);
  font-size: 15px;
  color: var(--pub-accent-dk);
  font-style: italic;
  flex-shrink: 0;
}
.testimonial-name  { font-size: 13.5px; font-weight: 600; }
.testimonial-sub   { font-size: 11.5px; color: var(--ink-40); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   TOAST
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
#toast-container {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--pub-dark);
  color: #fff;
  border-radius: var(--r-lg);
  font-size: 13px;
  min-width: 280px;
  max-width: 360px;
  box-shadow: var(--shadow-lg);
  pointer-events: all;
  animation: toastIn .25s var(--ease);
  border-left: 4px solid var(--pub-accent);
}
.toast.toast-success { border-left-color: #4ade80; }
.toast.toast-error   { border-left-color: var(--danger); }
.toast-icon  { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.toast-title { font-weight: 600; font-size: 13px; }
.toast-msg   { font-size: 12px; opacity: .8; margin-top: 2px; }
.toast-close { margin-left: auto; opacity: .5; font-size: 14px; cursor: pointer; flex-shrink: 0; padding: 0 0 0 4px; }
.toast-close:hover { opacity: 1; }
@keyframes toastIn { from { opacity:0; transform:translateY(10px) scale(.97) } to { opacity:1; transform:none } }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAGE HERO (inner pages)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page-hero {
  background: var(--pub-dark);
  padding: calc(var(--nav-h) + 60px) 0 60px;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: center;
}
/* Background image layer */
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  opacity: .28;
  transition: opacity 1s;
}
/* Dark gradient overlay — ensures text always readable */
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(26,23,20,.92) 0%,
    rgba(26,23,20,.65) 55%,
    rgba(26,23,20,.45) 100%
  );
}
/* Accent underline */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--pub-accent);
  z-index: 2;
}
.page-hero > .container {
  position: relative;
  z-index: 3;
  width: 100%;
}
.page-hero-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--pub-accent);
  display: flex; align-items: center; gap: 8px; margin-bottom: 12px;
}
.page-hero-eyebrow::before { content:''; width:24px; height:1.5px; background:var(--pub-accent); }
.page-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(28px,5vw,54px);
  font-weight: 300;
  color: #fff;
  line-height: 1.1;
}
.page-hero-title em { font-style: italic; color: var(--pub-accent); }
.page-hero-sub { font-size: 15px; color: rgba(255,255,255,.65); margin-top: 12px; max-width: 52ch; line-height: 1.6; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BREADCRUMB
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,.4);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.55); transition: color .2s; }
.breadcrumb a:hover { color: var(--pub-accent); }
.breadcrumb-sep { font-size: 10px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   AMENITY BADGE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.amenity-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--pub-accent-alpha);
  border: 1px solid var(--pub-accent);
  border-radius: var(--r-md);
  font-size: 12.5px;
  color: var(--pub-accent-dk);
  font-weight: 500;
}
.amenity-badge i { font-size: 11px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer {
  background: var(--pub-dark);
  color: rgba(255,255,255,.6);
  padding: 56px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand-name {
  font-family: var(--ff-display);
  font-size: 22px;
  color: #fff;
  font-weight: 400;
  margin-bottom: 10px;
  display: block;
}
.footer-brand-desc { font-size: 13px; line-height: 1.6; max-width: 28ch; }

.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--pub-accent);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.footer-col-title::before { content:''; width:16px; height:1px; background:var(--pub-accent); }

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-links a:hover { color: var(--pub-accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-bottom: 10px;
}
.footer-contact-item i { font-size: 13px; color: var(--pub-accent); margin-top: 2px; flex-shrink: 0; }

.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}
.footer-bottom a { color: var(--pub-accent); }
.footer-bottom a:hover { text-decoration: underline; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ALERTS / NOTICES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.alert {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  font-size: 13.5px;
  margin-bottom: 20px;
  border: 1px solid transparent;
}
.alert i { font-size: 15px; flex-shrink: 0; margin-top: 1px; }
.alert-success { background: var(--success-bg); color: var(--success); border-color: rgba(45,106,79,.2); }
.alert-error   { background: var(--danger-bg);  color: var(--danger);  border-color: rgba(181,55,58,.2); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   UTILITIES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.text-center  { text-align: center; }
.text-accent  { color: var(--pub-accent-dk); }
.text-muted   { color: var(--ink-40); }
.text-white   { color: #fff; }
.mb-2  { margin-bottom: 8px; }
.mb-3  { margin-bottom: 14px; }
.mb-4  { margin-bottom: 20px; }
.mb-6  { margin-bottom: 30px; }
.mb-8  { margin-bottom: 40px; }
.mt-4  { margin-top: 20px; }
.mt-6  { margin-top: 30px; }
.flex  { display: flex; }
.items-center { align-items: center; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 18px; }
.hidden { display: none !important; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE — Mobile-first, fully tested breakpoints
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ── 1024px tablet ── */
@media (max-width: 1024px) {
  .footer-grid      { grid-template-columns: 1fr 1fr; }
  .grid-4           { grid-template-columns: 1fr 1fr; }
  .stat-strip-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .grid-2-1, .grid-1-2 { grid-template-columns: 1fr; gap: 32px; }

  /* Property detail two-col → single col */
  .prop-detail-grid { grid-template-columns: 1fr !important; }
  .prop-sticky      { position: static !important; top: auto !important; }
}

/* ── 768px mobile ── */
@media (max-width: 768px) {
  /* Nav */
  .nav-links, .nav-cta { display: none !important; }
  .nav-auth-desktop    { display: none !important; }
  .nav-hamburger       { display: flex; }

  /* Hero — critical mobile fixes */
  .hero {
    min-height: 100svh;  /* safe-area aware */
    min-height: 100vh;
    align-items: flex-end;
    padding-bottom: 0;
  }
  .hero-content {
    padding: calc(var(--nav-h) + 24px) 0 40px;
    width: 100%;
  }
  .hero-title {
    font-size: clamp(32px, 9vw, 52px);
    margin-bottom: 16px;
    word-break: break-word;
  }
  .hero-sub {
    font-size: 15px;
    margin-bottom: 24px;
    max-width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
  .hero-stats {
    gap: 16px;
    margin-top: 36px;
    padding-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
  }
  .hero-stat-value { font-size: 24px; }
  .hero-stat-label { font-size: 10px; }

  /* Booking bar */
  .booking-bar {
    flex-direction: column;
    gap: 12px;
    margin-top: -24px;
    border-radius: var(--r-md);
  }
  .booking-field  { min-width: 100%; }

  /* Grids */
  .grid-3, .grid-2       { grid-template-columns: 1fr; gap: 16px; }
  .grid-4                { grid-template-columns: 1fr; gap: 16px; }
  .footer-grid           { grid-template-columns: 1fr; gap: 28px; }
  .stat-strip-inner      { grid-template-columns: 1fr 1fr; gap: 20px; }
  .form-row              { grid-template-columns: 1fr; }

  /* Page hero */
  .page-hero { min-height: 260px; padding: calc(var(--nav-h) + 36px) 0 44px; }
  .page-hero-title { font-size: clamp(24px, 7vw, 38px); }
  .page-hero-sub   { font-size: 14px; }

  /* Section spacing */
  .section    { padding: clamp(44px, 7vw, 72px) 0; }
  .section-sm { padding: clamp(28px, 5vw, 50px) 0; }

  /* Property card sidebar → below */
  .prop-booking-sidebar { order: -1; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  /* Stat strip */
  .stat-strip         { padding: 36px 0; }
  .stat-strip-value   { font-size: 32px; }

  /* Testimonials */
  .testimonial-card { padding: 20px; }

  /* Buttons full-width in hero */
  .btn-lg { padding: 13px 20px; font-size: 13.5px; }
}

/* ── 480px small mobile ── */
@media (max-width: 480px) {
  :root { --nav-h: 62px; }

  .stat-strip-inner { grid-template-columns: 1fr 1fr; }
  .hero-stats       { grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
  .hero-stat-value  { font-size: 22px; }

  /* Prop card meta compress */
  .prop-card-meta   { gap: 8px; flex-wrap: wrap; }
  .prop-card-footer { flex-direction: column; gap: 10px; align-items: flex-start; }
  .prop-card-footer .btn { width: 100%; justify-content: center; }

  /* User dashboard sidebar → top nav strip on mobile */
  .ud-stat { padding: 12px; }
}

/* ── 360px very small ── */
@media (max-width: 380px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .hero-stats > div:last-child { display: none; } /* hide 3rd stat on tiny screens */
  .container  { padding: 0 14px; }
}
