/* ==========================================================================
   HostXpert — Design System
   Built from the HostXpert Brand Identity Style Guide (v3, 2026):
     Primary   — Warm Terracotta #b17d70   Soft Ivory     #ffeed1
     Secondary — Deep Espresso   #54362e   Metallic Gold  #d3af37
   Metallic Gold is used selectively for highlights and key details (accent
   rules, icons, stat figures) on dark surfaces only: it fails contrast on ivory.
   Typography: Luxerie (display: h1–h4, stats, taglines) + TT Firs Neue (body,
   nav, buttons, h5 labels). Luxerie is a licensed
   face that is not bundled with the site — it is picked up automatically if
   installed / self-hosted (see @font-face below); until then Jost Light is the
   closest open stand-in.
   Brand pattern: the repeating "Ho" key mark (assets/img/brand/pattern-*.svg).
   ========================================================================== */

@font-face {
  font-family: "TT Firs Neue";
  src: url("../fonts/TTFirsNeue-Var.ttf") format("truetype-variations"),
       url("../fonts/TTFirsNeue-Var.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* To use the real Luxerie: drop Luxerie.woff2 into assets/fonts/ and add
   `url("../fonts/Luxerie.woff2") format("woff2")` to this src list. */
@font-face {
  font-family: "Luxerie";
  src: local("Luxerie"), local("Luxerie Light"), local("Luxerie-Light"), local("Luxerie Regular");
  font-weight: 100 500;
  font-display: swap;
  /* Luxerie ships without numerals: digits fall through to Jost so
     "5-star", "300+" etc. never render blank. */
  unicode-range: U+0000-002F, U+003A-10FFFF;
}

:root {
  /* Brand palette */
  --espresso: #54362e;
  --terracotta: #b17d70;
  --ivory: #ffeed1;
  --metallic-gold: #d3af37;

  /* Tints & shades derived from the three brand colours */
  --espresso-deep: #3d2621;
  --espresso-night: #2a1915;
  --terracotta-light: #d3ada2;
  --terracotta-text: #8a5b4f;   /* terracotta darkened for small text on ivory (AA) */
  --ivory-soft: #fff8ea;
  --ivory-deep: #f7e3bc;

  --line: rgba(84, 54, 46, 0.16);
  --line-light: rgba(255, 238, 209, 0.2);

  /* Legacy variable names still referenced by some inline styles */
  --sand: var(--ivory);
  --white: var(--ivory-soft);
  --gold: var(--terracotta);
  --gold-light: var(--terracotta-light);
  --navy: var(--espresso);
  --charcoal: var(--espresso-night);
  --border: var(--line);

  --font-display: "Luxerie", "Jost", "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
  --font-body: "TT Firs Neue", "Helvetica Neue", Arial, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 350;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--espresso);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--terracotta); color: var(--ivory); }

img { max-width: 100%; }

/* ---------- Type hierarchy (Overline / Main Title / By-line / Body / CTA) ---------- */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.18;
}
h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.35;
}
h5 {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.35;
}
h2 { font-size: clamp(1.7rem, 3.1vw, 2.65rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.55rem; }
p { color: rgba(84, 54, 46, 0.86); }
.text-muted { color: rgba(84, 54, 46, 0.7) !important; }
.lead { font-weight: 350; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta-text);
  margin-bottom: 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.text-center .eyebrow::after,
.section-head .eyebrow::after,
.page-hero .eyebrow::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

a { color: var(--espresso); text-decoration-color: var(--terracotta); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-text); }

:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; }

/* ---------- Buttons (Call To Action) ---------- */
.btn,
.btn-header-cta,
.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
  border-radius: 0;
  padding: 1.1rem 2.3rem;
  border: 1px solid transparent;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
              border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.btn i, .btn-header-cta i, .btn-hero-primary i, .btn-hero-secondary i {
  font-size: 0.9rem;
  transition: transform 0.35s var(--ease);
}
.btn:hover i, .btn-header-cta:hover i, .btn-hero-primary:hover i { transform: translateX(5px); }
.btn-lg { padding: 1.25rem 2.8rem; font-size: 0.8rem; }

/* Primary on light: solid espresso */
.btn-gold {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--ivory);
}
.btn-gold:hover, .btn-gold:focus {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--espresso-night);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(84, 54, 46, 0.22);
}
/* Secondary on light: hairline espresso */
.btn-outline-navy {
  background: transparent;
  border-color: var(--espresso);
  color: var(--espresso);
}
.btn-outline-navy:hover {
  background: var(--espresso);
  color: var(--ivory);
  transform: translateY(-2px);
}
.btn-outline-light-custom {
  background: transparent;
  border-color: var(--line-light);
  color: var(--ivory);
}
.btn-outline-light-custom:hover { background: var(--ivory); color: var(--espresso); }

/* On dark surfaces the primary button flips to ivory */
.section-dark .btn-gold,
.section-charcoal .btn-gold,
.page-hero .btn-gold {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--espresso);
}
.section-dark .btn-gold:hover,
.section-charcoal .btn-gold:hover,
.page-hero .btn-gold:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--espresso-night);
}

/* Hero buttons */
.btn-hero-primary {
  background: var(--ivory);
  color: var(--espresso);
  border-color: var(--ivory);
}
.btn-hero-primary:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--espresso-night);
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.35);
}
.btn-hero-secondary {
  background: rgba(42, 25, 21, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: var(--ivory);
  border-color: rgba(255, 238, 209, 0.55);
}
.btn-hero-secondary:hover {
  background: rgba(255, 238, 209, 0.14);
  border-color: var(--ivory);
  color: var(--ivory);
  transform: translateY(-3px);
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1030;
  padding: 1.1rem 0;
  /* v3 website direction: a solid Soft Ivory bar carrying the Warm Terracotta
     logo lockup (an approved logo/background pairing) on every page. */
  background: rgba(255, 238, 209, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header.scrolled,
.site-header.menu-open { box-shadow: 0 10px 30px rgba(42, 25, 21, 0.06); }
.site-header.scrolled,
.site-header.menu-open { padding: 0.7rem 0; }

.site-header .navbar-brand { display: inline-flex; align-items: center; padding: 0; margin-right: 2rem; }
/* Full lockup (wordmark + PROPERTY MANAGEMENT tagline), sized so the tagline
   stays legible. The header padding provides the required clear space. */
.brand-logo { height: 46px; width: auto; display: block; transition: height 0.4s var(--ease); }
.site-header.scrolled .brand-logo { height: 40px; }
@media (max-width: 575.98px) { .brand-logo, .site-header.scrolled .brand-logo { height: 36px; } }

.site-header .nav-link {
  position: relative;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--espresso);
  padding: 0.5rem 0 !important;
  margin: 0 0.85rem;
  transition: color 0.3s var(--ease);
}
.site-header .nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0.1rem;
  height: 1px;
  background: currentColor;
  transition: right 0.4s var(--ease);
}
.site-header .nav-link:hover::after,
.site-header .nav-link.active::after { right: 0; }
.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--terracotta-text); }

/* Header CTA: Warm Terracotta pill, as in the v3 website mockup */
.btn-header-cta {
  padding: 0.8rem 1.5rem;
  font-size: 0.68rem;
  border-radius: 999px;
  background: var(--terracotta);
  color: var(--ivory);
  border-color: var(--terracotta);
}
.btn-header-cta:hover {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--ivory);
}

.navbar-toggler { color: var(--espresso); padding: 0.25rem; }
.navbar-toggler:focus { box-shadow: none; }

@media (max-width: 1199.98px) {
  .site-header .navbar-collapse { padding: 1.25rem 0 1.5rem; }
  .site-header .nav-link { margin: 0; padding: 0.85rem 0 !important; border-bottom: 1px solid var(--line); font-size: 0.78rem; }
  .site-header .nav-link::after { display: none; }
  .btn-header-cta { width: 100%; }
}

/* ---------- Brand pattern ---------- */
.has-pattern { position: relative; isolation: isolate; }
.has-pattern::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/brand/pattern-terracotta.svg") center top / 340px auto repeat;
  opacity: 0.16;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
}
.has-pattern.pattern-strong::before { opacity: 0.3; }
.has-pattern.pattern-espresso::before { background-image: url("../img/brand/pattern-espresso.svg"); opacity: 0.2; }
.has-pattern.pattern-ivory::before { background-image: url("../img/brand/pattern-ivory.svg"); opacity: 0.09; }
.has-pattern.pattern-fill::before { -webkit-mask-image: none; mask-image: none; }

/* ---------- Sections ---------- */
.section { padding: 7.5rem 0; position: relative; }
.section-sm { padding: 5rem 0; position: relative; }
.section-alt { background: var(--ivory-soft); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 4rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { max-width: 640px; margin: 0 auto; }
.section-head.with-mark::before {
  content: "";
  display: block;
  width: 58px; height: 29px;
  margin: 0 auto 1.6rem;
  background: url("../img/brand/mark-terracotta.svg") center / contain no-repeat;
}

.section-dark {
  background: var(--espresso);
  color: var(--ivory);
}
.section-dark p { color: rgba(255, 238, 209, 0.78); }
.section-dark .eyebrow { color: var(--terracotta-light); }
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--ivory); }
.section-dark .text-muted { color: rgba(255, 238, 209, 0.7) !important; }

.section-charcoal {
  background:
    linear-gradient(180deg, rgba(42,25,21,0.9), rgba(42,25,21,0.95)),
    var(--section-bg-image, none) center / cover no-repeat,
    var(--espresso-night);
  color: var(--ivory);
}
.section-charcoal p { color: rgba(255, 238, 209, 0.78); }
.section-charcoal .eyebrow { color: var(--terracotta-light); }
.section-charcoal h2 { color: var(--ivory); }
.text-white { color: var(--ivory) !important; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-color: var(--espresso-night);
  background-size: cover;
  background-position: 68% center;
  color: var(--ivory);
  padding: 9rem 0 8rem;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(42,25,21,0.94) 0%, rgba(42,25,21,0.72) 38%, rgba(42,25,21,0.12) 72%),
    linear-gradient(0deg, rgba(42,25,21,0.85) 0%, rgba(42,25,21,0) 34%),
    linear-gradient(180deg, rgba(42,25,21,0.55) 0%, rgba(42,25,21,0) 22%);
}
.hero-content { max-width: 680px; }
.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 4rem);
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 1.5rem;
}
.hero h1 strong { font-weight: inherit; display: block; } /* v3 Main Title: one light weight, all caps */
.hero .lead {
  font-size: 1.12rem;
  max-width: 520px;
  color: rgba(255, 238, 209, 0.88);
  margin-bottom: 2.5rem;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero-kicker { color: var(--terracotta-light); }

@media (max-width: 575.98px) {
  .hero { min-height: auto; flex-direction: column; align-items: stretch; padding: 8rem 0 0; background-position: 74% center; }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(42,25,21,0.7) 0%, rgba(42,25,21,0.82) 55%, rgba(42,25,21,0.96) 100%);
  }
  .hero .container { padding-bottom: 3rem; }
  .hero-cta-row { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .hero-cta-row .btn-hero-primary, .hero-cta-row .btn-hero-secondary { width: 100%; padding: 1rem 1.25rem; white-space: normal; text-align: center; }
  .section { padding: 5rem 0; }
}
@media (min-width: 576px) { .trust-strip { position: absolute; bottom: 0; left: 0; } }

/* Inner-page banner: fluted espresso wall (from the brand imagery) + pattern */
.page-hero {
  position: relative;
  isolation: isolate;
  padding: 11.5rem 0 6rem;
  background:
    linear-gradient(180deg, rgba(42,25,21,0.82), rgba(61,38,33,0.9)),
    url("../img/photos/brand-fluted.webp") center / cover no-repeat,
    var(--espresso);
  color: var(--ivory);
  text-align: center;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/brand/pattern-terracotta.svg") center / 340px auto repeat;
  opacity: 0.1;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 90%);
          mask-image: linear-gradient(180deg, #000, transparent 90%);
}
.page-hero::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 1px; height: 3.2rem;
  background: linear-gradient(180deg, rgba(211,173,162,0), var(--terracotta-light));
}
.page-hero .eyebrow { color: var(--terracotta-light); }
.page-hero h1 { color: var(--ivory); font-size: clamp(1.9rem, 4vw, 3.3rem); max-width: 900px; margin: 0 auto 1.5rem; }
.page-hero .lead { color: rgba(255, 238, 209, 0.82); max-width: 700px; margin: 0 auto; }

/* Trust strip */
.trust-strip {
  background: rgba(42, 25, 21, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 1.15rem 0;
  border-top: 1px solid var(--line-light);
}
.trust-logo { height: 20px; width: auto; filter: brightness(0) invert(1) sepia(0.35) saturate(0.6); opacity: 0.8; }
.trust-text {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 238, 209, 0.72);
  font-weight: 500;
}
.trust-label {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  font-weight: 500;
  padding-right: 1.5rem;
  border-right: 1px solid var(--line-light);
  margin-right: 0.25rem;
}
@media (max-width: 991px) {
  .trust-label { border-right: none; padding-right: 0; margin-right: 0; width: 100%; text-align: center; }
}

/* ---------- Photo frame (offset hairline) ---------- */
.photo-frame { position: relative; }
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--terracotta);
  transform: translate(18px, 18px);
  z-index: 0;
  transition: transform 0.6s var(--ease);
}
.photo-frame:hover::before { transform: translate(10px, 10px); }
.photo-frame .photo {
  position: relative;
  z-index: 1;
  aspect-ratio: var(--ar, 4 / 3);
  background-size: cover;
  background-position: center;
  background-color: var(--espresso-deep);
}
.photo-frame.frame-left::before { transform: translate(-18px, 18px); }
.photo-frame.frame-left:hover::before { transform: translate(-10px, 10px); }
.section-dark .photo-frame::before { border-color: var(--terracotta-light); opacity: 0.7; }
@media (max-width: 767.98px) {
  .photo-frame::before, .photo-frame.frame-left::before { transform: translate(10px, 10px); }
}

/* ---------- Feature / Icon cards ---------- */
.icon-card {
  position: relative;
  background: var(--ivory-soft);
  border: 1px solid var(--line);
  padding: 2.5rem 2rem 2.25rem;
  height: 100%;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.icon-card::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--terracotta);
  transition: width 0.5s var(--ease);
}
.icon-card:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(84, 54, 46, 0.12); border-color: rgba(177, 125, 112, 0.5); }
.icon-card:hover::after { width: 100%; }
.icon-card .icon-wrap,
.icon-wrap {
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--terracotta);
  color: var(--terracotta-text);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.icon-card:hover .icon-wrap { background: var(--terracotta); color: var(--ivory); }
.icon-card h4 { font-size: 1.08rem; margin-bottom: 0.6rem; }
.icon-card p { font-size: 0.95rem; color: rgba(84, 54, 46, 0.78); margin-bottom: 0; }
.icon-card.text-center .icon-wrap { margin-left: auto; margin-right: auto; }

/* Numbered list (dark sections) */
.numbered-item { display: flex; gap: 1.75rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line-light); margin-bottom: 0; }
.numbered-item:first-of-type { padding-top: 0; }
.numbered-item .num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--terracotta);
  min-width: 3.2rem;
}
.numbered-item h4 { color: var(--ivory); font-size: 1.1rem; margin-bottom: 0.4rem; }
.numbered-item p { color: rgba(255, 238, 209, 0.74); font-size: 0.95rem; margin-bottom: 0; }
.numbered-item .icon-wrap { margin-bottom: 0; border-color: var(--terracotta); color: var(--terracotta-light); }
.numbered-item.mb-0 { border-bottom: none; padding-bottom: 0; }

/* Callout / pull-quote */
.callout {
  position: relative;
  border-left: 1px solid var(--terracotta);
  background: rgba(177, 125, 112, 0.1);
  padding: 2rem 2.25rem;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--ivory);
  margin: 1.5rem 0;
}
.callout.on-light { color: var(--espresso); background: rgba(177, 125, 112, 0.12); }

/* ---------- Stat counters ---------- */
.stat-box {
  text-align: center;
  padding: 2.4rem 1.25rem;
  height: 100%;
  background: rgba(42, 25, 21, 0.4);
  border: 1px solid var(--line-light);
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.stat-box:hover { background: rgba(42, 25, 21, 0.6); border-color: var(--terracotta); transform: translateY(-4px); }
.stat-group-title {
  display: flex; align-items: center; gap: 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--terracotta-light);
  margin-bottom: 1.5rem;
}
.stat-group-title::before, .stat-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.stat-note {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ivory);
  border: 1px solid var(--line-light);
  padding: 0.7rem 1.75rem;
}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 3.8rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1;
  letter-spacing: 0.02em;
}
.stat-label { font-size: 0.84rem; letter-spacing: 0.02em; color: rgba(255, 238, 209, 0.72); margin-top: 0.85rem; line-height: 1.55; }

/* ---------- Horizontal journey rail (home teaser) ---------- */
.path-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.75rem 0 1.75rem;
  margin: 0 -0.25rem;
  scrollbar-width: thin;
  scrollbar-color: var(--terracotta) transparent;
}
.path-track::-webkit-scrollbar { height: 4px; }
.path-track::-webkit-scrollbar-thumb { background: var(--terracotta); }
.path-track::-webkit-scrollbar-track { background: transparent; }
.path-step { flex: 0 0 auto; width: 176px; text-align: center; scroll-snap-align: start; padding: 0 0.75rem; position: relative; }
.path-step .path-connector {
  position: absolute; top: 37px; left: -50%; width: 100%; height: 0;
  border-top: 1px dashed rgba(177, 125, 112, 0.7);
  z-index: 0;
}
.path-step:first-child .path-connector { display: none; }
.path-circle {
  position: relative; z-index: 1;
  width: 74px; height: 74px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: var(--ivory);
  border: 1px solid var(--terracotta);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: transform 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.path-step:hover .path-circle { transform: translateY(-5px); background: var(--espresso); box-shadow: 0 16px 28px rgba(84, 54, 46, 0.22); }
.path-circle i { font-size: 1.2rem; color: var(--terracotta-text); line-height: 1; transition: color 0.4s var(--ease); }
.path-step:hover .path-circle i { color: var(--ivory); }
.path-circle .path-num {
  font-size: 0.56rem; font-weight: 600; color: rgba(84, 54, 46, 0.55);
  letter-spacing: 0.14em; margin-top: 0.3rem;
  transition: color 0.4s var(--ease);
}
.path-step:hover .path-circle .path-num { color: var(--terracotta-light); }
.path-step h4 { font-size: 0.9rem; margin-bottom: 0; line-height: 1.35; }
.path-scroll-hint { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(84, 54, 46, 0.55); }
@media (min-width: 992px) {
  .path-track { overflow-x: visible; flex-wrap: nowrap; justify-content: space-between; padding-bottom: 0.5rem; }
  .path-step { width: auto; flex: 1 1 0; }
  .path-scroll-hint { display: none; }
}

/* ---------- Zig-zag process timeline (How It Works) ---------- */
.process-phase { text-align: center; position: relative; z-index: 2; margin: 4.5rem 0 3rem; }
.process-phase:first-child { margin-top: 0; }
.process-phase .process-phase-pill {
  display: inline-block;
  background: var(--ivory);
  padding: 0.7rem 2rem;
  border: 1px solid var(--terracotta);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--terracotta-text);
}
.process-timeline { position: relative; }
.process-timeline::before {
  content: "";
  position: absolute; left: 28px; top: 0; bottom: 0; width: 1px;
  background: linear-gradient(180deg, rgba(177, 125, 112,0.1), var(--terracotta) 10%, var(--terracotta) 90%, rgba(177, 125, 112,0.1));
}
.process-item { position: relative; display: flex; align-items: center; margin-bottom: 2rem; }
.process-item:last-child { margin-bottom: 0; }
.process-dot {
  position: relative; z-index: 2; flex: 0 0 auto;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--espresso); color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 7px var(--ivory);
  font-size: 1.05rem;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
.process-card {
  position: relative; flex: 1 1 auto; margin-left: 1.5rem;
  background: var(--ivory-soft);
  border: 1px solid var(--line);
  padding: 1.5rem 1.75rem;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.process-step-num {
  position: absolute; top: -0.4rem; right: 1rem;
  font-family: var(--font-display); font-weight: 300; font-size: 3.6rem; line-height: 1;
  color: rgba(177, 125, 112, 0.22);
  z-index: 0;
}
.process-card h4, .process-card p { position: relative; z-index: 1; }
.process-item:hover .process-card { transform: translateY(-4px); box-shadow: 0 20px 36px rgba(84, 54, 46, 0.12); border-color: rgba(177, 125, 112, 0.55); }
.process-item:hover .process-dot { background: var(--terracotta); color: var(--espresso-night); }
.process-card h4 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.process-card p { font-size: 0.92rem; color: rgba(84, 54, 46, 0.78); margin-bottom: 0; }
.process-spacer { display: none; }

@media (min-width: 992px) {
  .process-timeline::before { left: 50%; transform: translateX(-50%); }
  .process-item { margin-bottom: 2.75rem; justify-content: space-between; }
  .process-dot { position: absolute; left: 50%; transform: translateX(-50%); width: 64px; height: 64px; font-size: 1.2rem; }
  .process-card { flex: 0 0 auto; width: calc(50% - 3.25rem); margin-left: 0; padding: 1.9rem 2.25rem; }
  .process-spacer { display: block; width: calc(50% - 3.25rem); }
  .process-item.is-reverse { flex-direction: row-reverse; }
  .process-item:not(.is-reverse) .process-card { text-align: right; }
  .process-item:not(.is-reverse) .process-step-num { right: auto; left: 1rem; }
  .process-item.is-reverse .process-card { text-align: left; }
}

/* ---------- Location cards ---------- */
.photo-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: var(--espresso-deep);
}
.photo-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 1.2s var(--ease);
}
.photo-card:hover .photo-card-img { transform: scale(1.07); }
.photo-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42,25,21,0) 45%, rgba(42,25,21,0.88) 100%);
}
.photo-card::before {
  content: "";
  position: absolute; inset: 14px; z-index: 2;
  border: 1px solid rgba(255, 238, 209, 0.55);
  opacity: 0; transform: scale(1.03);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.photo-card:hover::before { opacity: 1; transform: scale(1); }
.photo-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.75rem; color: var(--ivory); z-index: 3; }
.photo-card-body h4 { color: var(--ivory); font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.1em; font-size: 1.1rem; margin-bottom: 0; }
.photo-card-body h4::after { content: ""; display: block; width: 2.2rem; height: 1px; background: var(--terracotta-light); margin-top: 0.85rem; transition: width 0.5s var(--ease); }
.photo-card:hover .photo-card-body h4::after { width: 4rem; }
.photo-card-body p { font-size: 0.82rem; color: rgba(255, 238, 209, 0.82); margin: 0.5rem 0 0; }

/* ---------- Comparison table ---------- */
.included-table { width: 100%; border-collapse: collapse; background: var(--ivory-soft); border: 1px solid var(--line); }
.included-table th {
  background: var(--espresso);
  color: var(--ivory);
  font-family: var(--font-display);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 1.25rem 1.75rem;
  text-align: left;
  font-size: 0.85rem;
}
.included-table td { padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; vertical-align: top; }
.included-table td:first-child { font-weight: 500; letter-spacing: 0.04em; }
.included-table tr:last-child td { border-bottom: none; }
.included-table .check-list { list-style: none; padding: 0; margin: 0; }
.included-table .check-list li { margin-bottom: 0.45rem; padding-left: 1.75rem; position: relative; }
.included-table .check-list li:last-child { margin-bottom: 0; }
.included-table .check-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 0.9rem; height: 1px;
  background: var(--terracotta);
}

/* ---------- Testimonial / assurance ---------- */
.testimonial-portrait {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--terracotta);
  color: var(--terracotta-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 300; font-size: 1.3rem; letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
}
.testimonial-attribution { color: var(--terracotta-light); font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; }
.assurance-panel .icon-wrap-dark {
  width: 68px; height: 68px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--terracotta);
  color: var(--terracotta-light);
  font-size: 1.7rem;
  margin-bottom: 1.5rem;
}
.testimonial-panel { position: relative; }
.testimonial-panel .bi-quote { font-size: 3.2rem; color: var(--terracotta); display: block; line-height: 1; margin-bottom: 0.5rem; }
.testimonial-panel blockquote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.55;
  color: var(--ivory);
  margin-bottom: 1.75rem;
}
.testimonial-panel .testimonial-portrait { flex-shrink: 0; margin: 0; }
@media (min-width: 992px) { .testimonial-panel { padding-left: 4rem; border-left: 1px solid var(--line-light); } }

/* ---------- CTA band (terracotta + espresso pattern) ---------- */
.cta-band {
  position: relative;
  isolation: isolate;
  background: var(--terracotta);
  color: var(--espresso-night);
  text-align: center;
  padding: 7rem 0;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/brand/pattern-espresso.svg") center / 340px auto repeat;
  opacity: 0.2;
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(177, 125, 112,0.96) 22%, rgba(177, 125, 112,0.55) 62%, rgba(177, 125, 112,0) 100%);
}
.cta-band h2 { color: var(--ivory); font-size: clamp(1.9rem, 4vw, 3.1rem); }
.cta-band p { color: var(--espresso-night); font-weight: 400; }
.cta-band .contact-line { color: var(--espresso-night); font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; margin: 1.5rem 0 2.5rem; }
.cta-band .btn-gold { background: var(--espresso); border-color: var(--espresso); color: var(--ivory); }
.cta-band .btn-gold:hover { background: var(--espresso-night); border-color: var(--espresso-night); color: var(--ivory); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  isolation: isolate;
  background: var(--espresso-night);
  color: rgba(255, 238, 209, 0.72);
  padding: 6rem 0 2rem;
  font-size: 0.92rem;
}
.site-footer::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: url("../img/brand/pattern-terracotta.svg") center top / 340px auto repeat;
  opacity: 0.09;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
}
.site-footer .footer-logo { width: min(320px, 100%); height: auto; display: block; margin-bottom: 1.5rem; }
.site-footer p { color: rgba(255, 238, 209, 0.72); }
.site-footer h5 {
  font-family: var(--font-body);
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.site-footer a { color: rgba(255, 238, 209, 0.72); text-decoration: none; transition: color 0.3s var(--ease); }
.site-footer a:hover { color: var(--terracotta-light); }
.site-footer .bi { color: var(--terracotta); }
.site-footer .footer-bottom {
  border-top: 1px solid var(--line-light);
  margin-top: 4rem;
  padding-top: 1.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(255, 238, 209, 0.5);
}
.footer-tagline { font-family: var(--font-display); font-weight: 300; font-size: 1.1rem; line-height: 1.6; color: var(--ivory) !important; max-width: 320px; }
.social-icons a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  margin-right: 0.6rem;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.social-icons a .bi { color: var(--ivory); }
.social-icons a:hover { background: var(--terracotta); border-color: var(--terracotta); }
.social-icons a:hover .bi { color: var(--espresso-night); }

/* ---------- Floating elements ---------- */
.whatsapp-bubble {
  position: fixed; right: 1.5rem; bottom: 1.5rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--espresso);
  border: 1px solid var(--terracotta);
  color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 12px 28px rgba(42, 25, 21, 0.35);
  z-index: 1040;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.whatsapp-bubble:hover { background: var(--terracotta); color: var(--espresso-night); transform: translateY(-3px); }
.mobile-cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--espresso-night);
  z-index: 1040;
  border-top: 1px solid var(--line-light);
}
.mobile-cta-bar a {
  flex: 1; text-align: center; color: var(--ivory);
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.8rem 0.25rem; text-decoration: none;
  border-right: 1px solid var(--line-light);
}
.mobile-cta-bar a:last-child { border-right: none; }
.mobile-cta-bar a i { display: block; font-size: 1.1rem; margin-bottom: 0.2rem; color: var(--terracotta-light); }
@media (max-width: 991px) {
  .mobile-cta-bar { display: flex; }
  body { padding-bottom: 60px; }
  .whatsapp-bubble { bottom: 4.6rem; }
}

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Forms ---------- */
.lead-form label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta-text);
  margin-bottom: 0.45rem;
}
.lead-form .form-control, .lead-form .form-select {
  border-radius: 0;
  border: 0;
  border-bottom: 1px solid rgba(84, 54, 46, 0.4);
  background-color: var(--ivory-soft);
  color: var(--espresso);
  padding: 0.85rem 1rem;
  font-size: 0.98rem;
  transition: border-color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.lead-form .form-control::placeholder { color: rgba(84, 54, 46, 0.4); }
.lead-form .form-control:focus, .lead-form .form-select:focus {
  background-color: #fff;
  border-bottom-color: var(--terracotta);
  box-shadow: 0 1px 0 0 var(--terracotta);
}
.lead-form .btn-gold { width: 100%; }

/* Map + misc */
.map-frame { border: 1px solid var(--line); padding: 10px; background: var(--ivory-soft); }
.map-frame iframe { filter: sepia(0.45) saturate(0.7) contrast(0.95); }

.contact-line-hero a { color: var(--ivory) !important; text-decoration: none; letter-spacing: 0.08em; }
.contact-line-hero a:hover { color: var(--terracotta-light) !important; }

/* Legacy helper for anywhere real photography isn't ready yet */
.ph-photo { background: linear-gradient(135deg, var(--espresso) 0%, #6b4c40 55%, var(--espresso-night) 100%); background-size: cover; background-position: center; }

/* ---------- Additions used by the inner pages ---------- */
.h2-places { font-size: clamp(1.25rem, 2.3vw, 1.9rem); letter-spacing: 0.1em; line-height: 1.7; }
.h2-places span { white-space: nowrap; }
.h2-places i { font-style: normal; color: var(--terracotta); margin: 0 0.35em; }

.avatar {
  width: 132px; height: 132px;
  border-radius: 50%;
  border: 1px solid var(--terracotta);
  padding: 6px;
  background-size: cover;
  background-position: center top;
  background-clip: content-box;
  background-color: var(--espresso-deep);
}
.service-row { position: relative; }
.service-row + .service-row::before { content: ""; position: absolute; top: 0; left: calc(var(--bs-gutter-x) * 0.5); right: calc(var(--bs-gutter-x) * 0.5); height: 1px; background: var(--line); }
.service-row h3 { font-family: var(--font-display); font-weight: 300; text-transform: uppercase; letter-spacing: 0.06em; font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 1rem; }
.has-pattern.pattern-strong::before { opacity: 0.2; }

/* ---------- Small-screen safeguards ---------- */
@media (max-width: 991.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
  .section { padding: 5.5rem 0; }
  .section-head { margin-bottom: 3rem; }
}
@media (max-width: 575.98px) {
  .btn, .btn-lg { white-space: normal; text-align: center; padding: 1.05rem 1.5rem; letter-spacing: 0.14em; }
  .page-hero { padding: 9rem 0 4.5rem; }
  .cta-band { padding: 5rem 0; }
  .site-footer { padding-top: 4.5rem; }
  .h2-places { letter-spacing: 0.06em; }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-header .navbar-brand { margin-right: 1rem; }
  .brand-logo { height: 21px; }
  .site-header .nav-link { margin: 0 0.6rem; letter-spacing: 0.12em; font-size: 0.7rem; }
  .btn-header-cta { padding: 0.8rem 1.15rem; letter-spacing: 0.14em; }
}
@media (max-width: 991.98px) { .whatsapp-bubble { display: none; } }

/* ---------- Metallic Gold accents (v3 secondary colour) ----------
   Selective highlights on dark surfaces only, per the guideline: "introduced
   selectively for highlights, key details, signage, icons". */
.section-dark .eyebrow::before, .section-dark .eyebrow::after,
.section-charcoal .eyebrow::before, .section-charcoal .eyebrow::after,
.page-hero .eyebrow::before, .page-hero .eyebrow::after,
.hero-kicker::before { background: var(--metallic-gold); opacity: 0.9; }
.page-hero::after { background: linear-gradient(180deg, rgba(211, 175, 55, 0), var(--metallic-gold)); }
.stat-box:hover { border-color: var(--metallic-gold); }
.stat-number { color: var(--metallic-gold); }
.numbered-item .icon-wrap { border-color: var(--metallic-gold); color: var(--metallic-gold); }
.site-footer .bi { color: var(--metallic-gold); }

/* ==========================================================================
   Listings (listings.php + listing.php)
   ========================================================================== */
.page-hero-compact { padding: 10rem 0 4.5rem; }
.listings-section { padding-top: 3.5rem; }

/* Filter toolbar */
.listing-toolbar {
  display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: stretch;
  background: var(--ivory-soft);
  border: 1px solid var(--line);
  padding: 0.75rem;
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(84, 54, 46, 0.08);
}
.toolbar-field {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.35rem 1.1rem;
  border-right: 1px solid var(--line);
}
.toolbar-field:last-child { border-right: 0; }
.toolbar-field label { font-size: 0.66rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta-text); margin: 0; }
.toolbar-field select, .toolbar-field input {
  border: 0; background: transparent; color: var(--espresso);
  font-family: var(--font-body); font-size: 0.92rem; padding: 0.35rem 0; outline: none;
}
.toolbar-field select { cursor: pointer; padding-right: 0.25rem; }
.toolbar-search { flex: 1 1 260px; }
.toolbar-search input { width: 100%; }
.toolbar-search .bi { color: var(--terracotta); }
.toolbar-field:focus-within { box-shadow: inset 0 -1px 0 var(--terracotta); }
@media (max-width: 767.98px) {
  .listing-toolbar { border-radius: 18px; }
  .toolbar-field { flex: 1 1 calc(50% - 0.75rem); border-right: 0; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; gap: 0; }
  .toolbar-search { flex-basis: 100%; flex-direction: row; align-items: center; gap: 0.6rem; }
  .toolbar-field select { width: 100%; }
}
.listing-count { margin: 2rem 0 1.25rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--terracotta-text); font-weight: 500; }

/* Card */
.listing-card {
  display: flex; flex-direction: column; height: 100%;
  background: var(--ivory-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  color: var(--espresso);
  text-decoration: none;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.listing-card:hover { color: var(--espresso); transform: translateY(-6px); box-shadow: 0 26px 48px rgba(84, 54, 46, 0.14); border-color: rgba(177, 125, 112, 0.5); }
.listing-card-img { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ivory-deep); }
.listing-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.listing-card:hover .listing-card-img img { transform: scale(1.06); }
.listing-badges { position: absolute; top: 0.9rem; left: 0.9rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.listing-badge {
  background: rgba(255, 248, 234, 0.94); color: var(--espresso);
  font-size: 0.66rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.75rem; border-radius: 999px;
}
.listing-photo-count {
  position: absolute; right: 0.9rem; bottom: 0.9rem;
  background: rgba(42, 25, 21, 0.62); color: var(--ivory);
  font-size: 0.72rem; padding: 0.3rem 0.65rem; border-radius: 999px;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.listing-card-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.listing-area { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta-text); font-weight: 500; margin-bottom: 0.55rem; }
.listing-title { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.05em; font-size: 1.25rem; line-height: 1.3; margin-bottom: 0.25rem; }
.listing-subtitle { font-size: 0.9rem; color: rgba(84, 54, 46, 0.72); margin-bottom: 1rem; }
.listing-facts { list-style: none; padding: 0; margin: 0 0 1.1rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; font-size: 0.85rem; color: rgba(84, 54, 46, 0.82); }
.listing-facts .bi { color: var(--terracotta); margin-right: 0.2rem; }
.listing-link { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--espresso); }
.listing-link .bi { transition: transform 0.35s var(--ease); display: inline-block; }
.listing-card:hover .listing-link .bi { transform: translateX(5px); }
.listing-empty { padding: 4rem 1rem; }
.listing-empty .bi { font-size: 2.4rem; color: var(--terracotta); }
.listing-empty h3 { margin: 1rem 0 0.5rem; }
.cta-band-lead { max-width: 560px; margin: 1rem auto 0; }

/* ----- Detail page ----- */
.listing-detail { padding-top: 7.5rem; background: #fffdf8; } /* lighter than Soft Ivory so the ivory cards and booking panel stand out */
.listing-gallery {
  position: relative;
  display: grid; gap: 8px;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 230px 230px;
  border-radius: 16px; overflow: hidden;
}
.gallery-tile { padding: 0; border: 0; background: var(--ivory-deep); overflow: hidden; cursor: zoom-in; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease), filter 0.4s var(--ease); }
.gallery-tile:hover img { transform: scale(1.04); filter: brightness(0.92); }
.gallery-tile-main { grid-row: 1 / span 2; }
.gallery-all {
  position: absolute; right: 1rem; bottom: 1rem;
  background: var(--ivory-soft); color: var(--espresso);
  border: 1px solid var(--espresso); border-radius: 999px;
  padding: 0.6rem 1.15rem; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease);
}
.gallery-all:hover { background: var(--espresso); color: var(--ivory); }
@media (max-width: 991.98px) { .listing-gallery { grid-template-rows: 170px 170px; } }
@media (max-width: 575.98px) {
  .listing-detail { padding-top: 6rem; }
  .listing-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 110px; border-radius: 12px; }
  .gallery-tile-main { grid-column: 1 / span 2; grid-row: auto; }
  .gallery-tile:nth-child(n+4) { display: none; }
}

.listing-head { padding: 1.75rem 0 0; }
.listing-breadcrumb { font-size: 0.78rem; margin-bottom: 1.25rem; }
.listing-breadcrumb a { color: var(--terracotta-text); text-decoration: none; }
.listing-breadcrumb .active { color: rgba(84, 54, 46, 0.7); }
.listing-titlebar { display: flex; justify-content: space-between; align-items: flex-start; gap: 1.5rem; flex-wrap: wrap; }
.listing-titlebar h1 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); margin-bottom: 0.35rem; }
.listing-head-sub { font-size: 1.05rem; color: rgba(84, 54, 46, 0.78); margin-bottom: 1rem; }
.listing-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.listing-chip { border: 1px solid var(--line); background: var(--ivory-soft); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.listing-chip .bi { color: var(--terracotta); }
.listing-share { border-radius: 999px; }

.listing-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.75rem; margin-top: 2rem; }
.listing-stat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.2rem;
  background: var(--ivory-soft); border: 1px solid var(--line); border-radius: 14px; padding: 1.25rem 0.75rem;
}
.listing-stat .bi { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--terracotta); color: var(--ivory); font-size: 1.1rem; margin-bottom: 0.4rem; }
.listing-stat span { font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--terracotta-text); font-weight: 500; }
.listing-stat strong { font-weight: 500; font-size: 0.98rem; }
@media (max-width: 767.98px) { .listing-stats { grid-template-columns: repeat(2, 1fr); } .listing-stat:last-child { grid-column: 1 / -1; } }

.listing-body { padding: 3rem 0 5rem; }
.listing-block { padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.listing-block:last-child { border-bottom: 0; margin-bottom: 0; }
.listing-h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 1.25rem; }
.listing-h3 { font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta-text); margin-bottom: 1rem; }
.listing-highlight { height: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; background: var(--ivory-soft); }
.listing-highlight .bi { font-size: 1.4rem; color: var(--terracotta); }
.listing-highlight h3 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 500; margin: 0.75rem 0 0.35rem; letter-spacing: 0; }
.listing-highlight p { font-size: 0.88rem; margin: 0; }

.amenity-grid { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem 2rem; }
.amenity-grid li { display: flex; align-items: center; gap: 0.85rem; font-size: 0.95rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); }
.amenity-grid li[hidden] { display: none; }
.amenity-grid .bi { width: 38px; height: 38px; flex: none; border: 1px solid var(--terracotta); border-radius: 50%; display: grid; place-items: center; color: var(--terracotta-text); }
@media (max-width: 575.98px) { .amenity-grid { grid-template-columns: 1fr; } }

.sleep-card { border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; background: var(--ivory-soft); height: 100%; }
.sleep-card .bi { font-size: 1.5rem; color: var(--terracotta); }
.sleep-card h3 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 500; margin: 0.6rem 0 0.2rem; letter-spacing: 0; }
.sleep-card p { margin: 0; font-size: 0.9rem; }

.listing-map { aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; }
.nearby-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem 2rem; }
.nearby-list li { display: flex; flex-direction: column; padding-left: 1rem; border-left: 1px solid var(--terracotta); }
.nearby-list strong { font-weight: 500; }
.nearby-list span { font-size: 0.85rem; color: rgba(84, 54, 46, 0.72); }
@media (max-width: 575.98px) { .nearby-list { grid-template-columns: 1fr; } }

.rule-list { list-style: none; padding: 0; margin: 0; }
.rule-list li { display: flex; gap: 0.65rem; font-size: 0.9rem; margin-bottom: 0.7rem; line-height: 1.5; }
.rule-list .bi { color: var(--terracotta); margin-top: 0.1rem; }

/* Booking card */
.booking-card {
  position: sticky; top: 7rem;
  background: var(--ivory-soft); border: 1px solid var(--line); border-radius: 18px;
  padding: 2rem 1.75rem; box-shadow: 0 24px 50px rgba(84, 54, 46, 0.12);
}
.booking-card-kicker { font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.06em; font-size: 1.35rem; margin-bottom: 0.25rem; color: var(--espresso); }
.booking-card-note { font-size: 0.85rem; color: rgba(84, 54, 46, 0.72); margin-bottom: 1.5rem; }
.booking-or { display: flex; align-items: center; gap: 1rem; margin: 1.25rem 0; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(84, 54, 46, 0.6); }
.booking-or::before, .booking-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.booking-trust { list-style: none; padding: 1.5rem 0 0; margin: 1.5rem 0 0; border-top: 1px solid var(--line); }
.booking-trust li { display: flex; gap: 0.85rem; margin-bottom: 1rem; }
.booking-trust li:last-child { margin-bottom: 0; }
.booking-trust .bi { font-size: 1.15rem; color: var(--terracotta); }
.booking-trust strong { display: block; font-weight: 500; font-size: 0.9rem; }
.booking-trust span { font-size: 0.8rem; color: rgba(84, 54, 46, 0.72); }
@media (max-width: 991.98px) { .booking-card { position: static; } }

.booking-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1020;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--ivory-soft); border-top: 1px solid var(--line);
  padding: 0.75rem 1rem; box-shadow: 0 -10px 30px rgba(42, 25, 21, 0.08);
}
.booking-bar strong { display: block; font-weight: 500; font-size: 0.9rem; line-height: 1.3; }
.booking-bar span { font-size: 0.78rem; color: rgba(84, 54, 46, 0.72); }
.booking-bar .btn { padding: 0.75rem 1.4rem; flex: none; }
@media (max-width: 991.98px) {
  body:has(.booking-bar) .site-footer { padding-bottom: 5rem; }
  body:has(.booking-bar) .whatsapp-bubble { bottom: 5.5rem; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(42, 25, 21, 0.96);
  display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto;
  align-items: center; padding: 1.5rem 0.5rem 1rem;
}
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; grid-column: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; min-height: 0; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 190px); object-fit: contain; border-radius: 8px; }
.lightbox-figure figcaption { display: flex; justify-content: space-between; gap: 1rem; width: 100%; max-width: 1100px; color: rgba(255, 238, 209, 0.82); font-size: 0.85rem; margin-top: 0.85rem; }
.lightbox-nav, .lightbox-close {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 238, 209, 0.35); background: transparent; color: var(--ivory);
  display: grid; place-items: center; font-size: 1.15rem;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.lightbox-nav:hover, .lightbox-close:hover { background: rgba(255, 238, 209, 0.12); border-color: var(--metallic-gold); }
.lightbox-prev { grid-column: 1; justify-self: center; }
.lightbox-next { grid-column: 3; justify-self: center; }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; z-index: 1; }
.lightbox-thumbs { grid-column: 1 / -1; display: flex; gap: 0.5rem; overflow-x: auto; justify-content: safe center; padding: 0.75rem 1rem 0; scrollbar-width: thin; }
.lightbox-thumbs button { flex: none; width: 84px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; opacity: 0.55; transition: opacity 0.3s var(--ease), border-color 0.3s var(--ease); }
.lightbox-thumbs button.active, .lightbox-thumbs button:hover { opacity: 1; border-color: var(--metallic-gold); }
.lightbox-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 575.98px) {
  .lightbox { grid-template-columns: 1fr; padding-top: 4rem; }
  .lightbox-nav { display: none; }
  .lightbox-figure { grid-column: 1; }
  .lightbox-thumbs button { width: 64px; height: 44px; }
}

/* ---------- Header dropdown ("For Owners": How It Works + Owner Portal) ---------- */
.site-header .nav-dropdown .dropdown-toggle {
  background: none; border: 0;
  font-family: var(--font-body);
}
/* Swap the hover underline used by other links for Bootstrap's caret */
.site-header .nav-dropdown .dropdown-toggle::after {
  position: static;
  display: inline-block;
  width: 0; height: 0;
  margin-left: 0.45em;
  vertical-align: 0.2em;
  background: none;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-left: 0.3em solid transparent;
  border-bottom: 0;
  transition: transform 0.3s var(--ease);
}
.site-header .nav-dropdown .dropdown-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.site-header .nav-dropdown .dropdown-toggle.active { color: var(--terracotta-text); }

.site-header .nav-dropdown .dropdown-menu {
  min-width: 13rem;
  padding: 0.5rem;
  background: var(--ivory-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(42, 25, 21, 0.12);
}
.site-header .nav-dropdown .dropdown-item {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--espresso);
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
}
.site-header .nav-dropdown .dropdown-item:hover,
.site-header .nav-dropdown .dropdown-item:focus { background: rgba(177, 125, 112, 0.14); color: var(--espresso); }
.site-header .nav-dropdown .dropdown-item.active { background: var(--terracotta); color: var(--ivory); }

@media (min-width: 1200px) {
  /* Open on hover too; no top margin so the menu does not close while the pointer moves onto it */
  .site-header .nav-dropdown:hover > .dropdown-menu { display: block; }
  .site-header .nav-dropdown > .dropdown-menu { margin-top: 0; top: 100%; }
}
@media (max-width: 1199.98px) {
  .site-header .nav-dropdown .dropdown-toggle { width: 100%; text-align: left; }
  .site-header .nav-dropdown .dropdown-menu {
    position: static; box-shadow: none; border: 0; background: transparent;
    padding: 0.25rem 0 0.5rem 1rem;
  }
  .site-header .nav-dropdown .dropdown-item { padding: 0.75rem 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-header .nav-dropdown .dropdown-item.active { background: none; color: var(--terracotta-text); }
}

/* ---------- Brand tiles (home "Our Approach") ----------
   Modelled on the V5 brand guide's social media templates: portrait card,
   overline, uppercase Luxerie headline, short body, logo + web address at the foot. */
.brand-tile {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  aspect-ratio: 4 / 5;
  padding: 2.25rem 2rem 1.75rem;
  height: 100%;
}
.brand-tile::before {
  /* faint key-mark pattern, as on the template backgrounds */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: url("../img/brand/pattern-ivory.svg") center / 260px auto repeat;
  opacity: 0.035;
}
.tile-terracotta { background: var(--terracotta); color: var(--ivory); }
.tile-ivory { background: var(--ivory); color: var(--terracotta-text); border: 1px solid var(--line); }
.tile-ivory::before { background-image: url("../img/brand/pattern-terracotta.svg"); opacity: 0.045; }
.brand-tile-overline { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; opacity: 0.85; margin-top: auto; margin-bottom: 0.9rem; }
.brand-tile-title {
  font-family: var(--font-display); font-weight: 300; text-transform: uppercase;
  letter-spacing: 0.05em; line-height: 1.25; font-size: clamp(1.35rem, 2vw, 1.7rem);
  color: inherit; margin-bottom: 1rem;
}
.brand-tile-body { font-size: 0.88rem; line-height: 1.6; color: inherit; opacity: 0.9; margin-bottom: auto; }
.brand-tile-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; padding-top: 1.75rem; }
.brand-tile-foot img { width: 110px; height: auto; }
.brand-tile-foot span { font-size: 0.68rem; letter-spacing: 0.06em; opacity: 0.85; }
@media (max-width: 991.98px) and (min-width: 768px) { .brand-tile { aspect-ratio: auto; min-height: 30rem; } }
@media (max-width: 767.98px) { .brand-tile { aspect-ratio: auto; min-height: 24rem; } }

/* ==========================================================================
   Client revisions 2026-10-07
   ========================================================================== */

/* ---------- New brand pattern: interlocking "Ho" band that fades out from the top
   (client-supplied BRAND PATTERN-01 / -02). Replaces the old tiled SVG. ---------- */
.has-pattern::before,
.page-hero::before,
.site-footer::before,
.cta-band::before,
.brand-tile::before {
  background: url("../img/brand/pattern-band-gold.webp") center top / 1200px auto repeat-x;
  -webkit-mask-image: none;
          mask-image: none;
}
.has-pattern::before { opacity: 0.20; }
.has-pattern.pattern-strong::before { opacity: 0.6; }
.page-hero::before { opacity: 0.4; }
.site-footer::before { opacity: 0.22; }
.cta-band::before { background-image: url("../img/brand/pattern-band-terracotta.webp"); opacity: 0.9; }
.cta-band::after { background: radial-gradient(ellipse at 50% 65%, rgba(177, 125, 112, 0.85) 18%, rgba(177, 125, 112, 0) 60%); }

/* Brand tiles share the guide's 4:5 ratio, so the band sits exactly as on the templates */
.brand-tile::before { background-size: 100% auto; }
.tile-terracotta::before { opacity: 0.85; }
.tile-ivory::before { background-image: url("../img/brand/pattern-band-gold.webp"); opacity: 1; }

/* ---------- Section key mark: a bit bigger ---------- */
.section-head.with-mark::before { width: 92px; height: 46px; margin-bottom: 1.9rem; }
.cta-band img[src*="mark-ivory"] { width: 96px; height: auto; }

/* ---------- Founder portrait: branded headshot, head clear of the ring ---------- */
.testimonial-panel .testimonial-portrait {
  width: 76px; height: 76px;
  padding: 3px;
  background-clip: content-box !important;
  background-color: var(--espresso-deep) !important;
}

/* ---------- WhatsApp in its own green ---------- */
:root { --whatsapp: #25d366; --whatsapp-dark: #1da851; }
.whatsapp-bubble { background: var(--whatsapp); border-color: var(--whatsapp); color: #fff; box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35); }
.whatsapp-bubble:hover { background: var(--whatsapp-dark); border-color: var(--whatsapp-dark); color: #fff; }
.site-footer .bi-whatsapp,
.mobile-cta-bar a i.bi-whatsapp,
.bi-whatsapp { color: var(--whatsapp) !important; }
.whatsapp-bubble .bi-whatsapp { color: #fff !important; }

/* ---------- Mission / Vision: larger type ---------- */
.mv-card { padding: 3rem 2.75rem; }
.mv-card h4 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); letter-spacing: 0.08em; margin-bottom: 1rem; }
.mv-card p { font-size: clamp(1.08rem, 1.4vw, 1.25rem); line-height: 1.75; }

/* ---------- Leadership team: larger branded portraits ---------- */
.team-avatar { width: 190px; height: 190px; max-width: 100%; padding: 5px; background-position: center; }
.team-name { font-size: 0.95rem; margin: 1rem 0 0.2rem; }
.team-role { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--terracotta-text); margin: 0; }
