/* ============================================================
   OUR AGENTS — Northumberland Estate Agency
   Design system: premium / editorial
   Brand: teal #117670 + orange #e0752f, warm stone neutrals
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300..600;1,6..72,300..500&family=Hanken+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* brand */
  --teal:        #117670;
  --teal-deep:   #0d5e5a;
  --teal-ink:    #073f3d;
  --teal-700:    #0f6967;
  --orange:      #e0752f;
  --orange-deep: #c96520;

  /* neutrals — warm stone */
  --paper:   #ffffff;
  --cream:   #f9f7f3;
  --cream-2: #f1ede6;
  --sand:    #e7ddcc;
  --ink:     #16211f;
  --ink-2:   #3c4a47;
  --ink-3:   #6c7773;
  --line:    rgba(20,33,31,0.12);
  --line-2:  rgba(20,33,31,0.07);

  /* type */
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* layout */
  --maxw: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(7,63,61,0.05), 0 4px 14px rgba(7,63,61,0.06);
  --shadow-md: 0 10px 30px rgba(7,63,61,0.10), 0 2px 8px rgba(7,63,61,0.06);
  --shadow-lg: 0 30px 70px rgba(7,63,61,0.16);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- typography ---------- */
h1,h2,h3,h4 { font-family: var(--serif); font-weight: 400; margin: 0; line-height: 1.06; letter-spacing: -0.01em; }
.display {
  font-size: clamp(2.6rem, 6.2vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 0.98;
}
.h-xl { font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -0.02em; }
.h-lg { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.05; }
.h-md { font-size: clamp(1.3rem, 2.2vw, 1.6rem); line-height: 1.15; }
em, .italic { font-style: italic; }
.serif-accent { font-family: var(--serif); font-style: italic; color: var(--teal); font-weight: 400; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--orange);
  display: inline-block;
}
.eyebrow.center::before { display: none; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.5; }
.muted { color: var(--ink-3); }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.wrap-narrow { max-width: 940px; margin: 0 auto; padding-inline: var(--gutter); }
section { position: relative; }
.section-pad { padding-block: clamp(64px, 9vw, 130px); }
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-cream2 { background: var(--cream-2); }
.bg-teal { background: var(--teal); color: #fff; }
.bg-ink { background: var(--teal-ink); color: #fff; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h-lg { margin-top: 18px; }
.section-head .lead { margin-top: 18px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 15px 28px; border-radius: var(--radius);
  border: 1px solid transparent; transition: all 0.3s var(--ease);
  letter-spacing: 0.01em; white-space: nowrap; line-height: 1;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(224,117,47,0.32); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17,118,112,0.28); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--teal-ink); }
.btn-white:hover { background: var(--cream); transform: translateY(-2px); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.4); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.btn-lg { padding: 18px 36px; font-size: 1.02rem; }

.text-link { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; color: var(--teal); font-size: 0.95rem; transition: gap 0.25s var(--ease); }
.text-link svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.text-link:hover { gap: 0.8em; }
.text-link:hover svg { transform: translateX(3px); }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; top: var(--anno-offset, 0px); left: 0; right: 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  display: flex; align-items: center; gap: 28px;
  height: 84px; transition: height 0.35s var(--ease);
}
.brand img { height: 34px; width: auto; transition: opacity 0.3s; }
.brand .logo-white { display: none; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 5px;
  padding: 10px 14px; font-size: 0.92rem; font-weight: 500; color: var(--ink);
  border-radius: var(--radius); transition: color 0.2s, background 0.2s;
}
.nav-link .chev { width: 11px; height: 11px; opacity: 0.5; transition: transform 0.25s var(--ease); }
.nav-item:hover .nav-link { color: var(--teal); }
.nav-item:hover .chev { transform: rotate(180deg); }

/* dropdown */
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: #fff; border: 1px solid var(--line-2); border-radius: 8px;
  box-shadow: var(--shadow-md); padding: 10px; min-width: 268px;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all 0.28s var(--ease); z-index: 50;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 14px; border-radius: 6px; transition: background 0.18s;
}
.dropdown a:hover { background: var(--cream); }
.dropdown a strong { font-weight: 600; font-size: 0.93rem; color: var(--ink); }
.dropdown a span { font-size: 0.78rem; color: var(--ink-3); }

.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 0.92rem; color: var(--ink); white-space: nowrap; }
.phone-link svg { width: 15px; height: 15px; color: var(--teal); }
.phone-link:hover { color: var(--teal); }

/* Non-hero pages — white header from the start */
.site-header:not(.on-hero) { background: rgba(255,255,255,0.97); border-bottom-color: var(--line-2); box-shadow: 0 1px 0 var(--line-2); }
/* Scrolled state — white with blur */
.site-header.scrolled { background: rgba(255,255,255,0.96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line-2); box-shadow: 0 2px 20px rgba(7,63,61,0.05); }
.site-header.scrolled .bar { height: 70px; }

/* £895 header badge — desktop only */
.header-895 { display:inline-flex; align-items:center; padding:6px 14px; background:var(--orange); color:#fff; font-size:0.8rem; font-weight:700; border-radius:100px; text-decoration:none; white-space:nowrap; transition:opacity 0.2s; letter-spacing:0.02em; }
.header-895:hover { opacity:0.85; color:#fff; }
.site-header.on-hero:not(.scrolled) .header-895 { background:rgba(255,255,255,0.2); border:1px solid rgba(255,255,255,0.4); }
@media (max-width: 920px) { .header-895 { display:none; } }

/* Anno bar — mobile only (hidden on desktop where badge is in header) */
@media (min-width: 921px) { .anno-bar { display:none !important; } }

/* transparent over hero */
.site-header.on-hero:not(.scrolled) { color: #fff; }
.site-header.on-hero:not(.scrolled) .brand .logo-dark { display: none; }
.site-header.on-hero:not(.scrolled) .brand .logo-white { display: block; }
.site-header.on-hero:not(.scrolled) .nav-link,
.site-header.on-hero:not(.scrolled) .phone-link { color: #fff; }
.site-header.on-hero:not(.scrolled) .nav-item:hover .nav-link { color: #fff; opacity: 0.75; }
.site-header.on-hero:not(.scrolled) .phone-link svg { color: #fff; }
.site-header.on-hero:not(.scrolled) .nav-link .chev { opacity: 0.7; }

/* hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: none; margin-left: auto; }
.hamburger span { width: 24px; height: 2px; background: currentColor; transition: all 0.3s var(--ease); border-radius: 2px; }
.site-header.on-hero:not(.scrolled) .hamburger { color: #fff; }
.site-header:not(.on-hero) .hamburger, .site-header.scrolled .hamburger { color: var(--ink); }

/* mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 250; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(7,63,61,0.45); opacity: 0; transition: opacity 0.35s var(--ease); }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(90vw, 400px);
  background: var(--cream); box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform 0.4s var(--ease);
  display: flex; flex-direction: column; overflow-y: auto;
}
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px var(--gutter); border-bottom: 1px solid var(--line); }
.drawer-head img { height: 30px; }
.drawer-close { width: 42px; height: 42px; border: 1px solid var(--line); background: #fff; border-radius: var(--radius); display: grid; place-items: center; }
.drawer-close svg { width: 18px; height: 18px; }
.drawer-nav { padding: 12px var(--gutter); }
.drawer-group { border-bottom: 1px solid var(--line-2); }
.drawer-group > button, .drawer-group > a {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 18px 2px; font-family: var(--serif); font-size: 1.35rem; color: var(--ink);
  background: none; border: none; text-align: left;
}
.drawer-group > button svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); color: var(--teal); }
.drawer-group.open > button svg { transform: rotate(180deg); }
.drawer-sub { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.drawer-group.open .drawer-sub { max-height: 400px; }
.drawer-sub a { display: block; padding: 11px 2px; font-size: 1rem; color: var(--ink-2); }
.drawer-sub a:last-child { padding-bottom: 18px; }
.drawer-foot { margin-top: auto; padding: 24px var(--gutter); display: flex; flex-direction: column; gap: 12px; background: var(--cream-2); }
.drawer-foot .btn { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1; background: linear-gradient(180deg, rgba(7,63,61,0.45) 0%, rgba(7,63,61,0.15) 35%, rgba(7,63,61,0.55) 100%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(40px, 6vw, 76px); padding-top: 140px; }
.hero h1 { max-width: 16ch; }
.hero .lead { color: rgba(255,255,255,0.9); max-width: 50ch; margin-top: 22px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-size: 0.86rem; font-weight: 500; color: rgba(255,255,255,0.85); }
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }

/* search bar */
.search {
  margin-top: 34px; background: rgba(255,255,255,0.97); backdrop-filter: blur(6px);
  border-radius: 10px; box-shadow: var(--shadow-lg); color: var(--ink);
  max-width: 760px; overflow: hidden;
}
.search-tabs { display: flex; border-bottom: 1px solid var(--line-2); }
.search-tab { flex: 0 0 auto; padding: 15px 26px; font-weight: 600; font-size: 0.92rem; color: var(--ink-3); background: none; border: none; border-bottom: 2px solid transparent; transition: all 0.2s; }
.search-tab.active { color: var(--teal); border-bottom-color: var(--orange); }
.search-tab:hover:not(.active) { color: var(--ink); }
.search-body { display: flex; align-items: flex-end; gap: 0; padding: 16px; flex-wrap: wrap; }
.search-field { flex: 1 1 200px; padding: 6px 14px; border-right: 1px solid var(--line-2); }
.search-field:first-child { padding-left: 8px; }
.search-field label { display: block; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.search-field input, .search-field select { width: 100%; border: none; background: none; font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--ink); padding: 4px 0; outline: none; }
.search-field select { cursor: pointer; }
.search-body .btn { flex: 0 0 auto; margin: 4px; }

/* ---------- stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; overflow: hidden; }
.stat-band.on-light { background: var(--line); border-color: var(--line); }
.stat { padding: clamp(28px,4vw,46px) clamp(20px,3vw,40px); background: var(--teal); }
.stat-band.on-light .stat { background: var(--paper); }
.stat-num { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; letter-spacing: -0.02em; }
.stat-num .unit { font-size: 0.4em; font-family: var(--sans); font-weight: 600; margin-left: 4px; letter-spacing: 0; }
.stat-label { margin-top: 12px; font-weight: 600; font-size: 0.98rem; }
.stat-sub { margin-top: 4px; font-size: 0.8rem; opacity: 0.7; display: inline-flex; align-items: center; gap: 6px; }
.stat-band.on-light .stat-num { color: var(--teal); }
.stat-band.on-light .stat-label { color: var(--ink); }
.stat-band.on-light .stat-sub { color: var(--ink-3); }

/* ---------- process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; border-top: 1px solid var(--line); }
.step { padding: 34px 28px 34px 0; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: none; padding-right: 0; }
.step:not(:first-child) { padding-left: 28px; }
.step-no { font-family: var(--serif); font-size: 0.95rem; color: var(--orange); font-weight: 500; letter-spacing: 0.05em; }
.step-no::before { content: ""; display: block; width: 30px; height: 3px; background: var(--orange); margin-bottom: 18px; }
.step h3 { font-size: 1.42rem; margin: 16px 0 10px; }
.step p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
.step .when { margin-top: 16px; display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); background: var(--cream-2); padding: 5px 11px; border-radius: 100px; }

/* ---------- property cards ---------- */
.prop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 26px; }

/* card shell */
.prop-card { background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); display: flex; flex-direction: column; }
.prop-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.prop-img-link { display: block; text-decoration: none; }

/* image */
.prop-media { position: relative; aspect-ratio: 16/11; overflow: hidden; background: var(--cream); }
.prop-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.prop-card:hover .prop-media img { transform: scale(1.04); }
.prop-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }

/* fallback when no photo available */
.prop-img-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--cream); }
.prop-img-fallback svg { width: 36px; height: 36px; color: var(--ink-3); opacity: 0.4; }
.prop-img-fallback span { font-size: 0.8rem; color: var(--ink-3); }

/* status badge — top left */
.prop-badge { position: absolute; top: 12px; left: 12px; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 11px; border-radius: 4px; color: #fff; z-index: 2; }
.badge-new   { background: #117670; }   /* For Sale */
.badge-offer { background: #e0752f; }   /* Under Offer */
.badge-sold  { background: #2a3533; }   /* Sold */

/* promotional flag — bottom of image */
.prop-flag { position: absolute; bottom: 12px; left: 12px; right: 12px; font-size: 0.78rem; font-weight: 600; color: #fff; background: rgba(7,63,61,0.82); backdrop-filter: blur(6px); padding: 7px 12px; border-radius: 5px; display: flex; align-items: center; gap: 7px; z-index: 2; }
.prop-flag svg { width: 13px; height: 13px; color: #e0752f; flex: none; }

/* body */
.prop-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }

/* price row: qualifier + price */
.prop-price-row { display: flex; flex-direction: column; gap: 1px; }
.prop-qualifier { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-3); }
.prop-price { font-family: var(--serif); font-size: 1.45rem; color: var(--ink); line-height: 1.1; }

/* address + town */
.prop-address { margin-top: 7px; font-size: 0.94rem; font-weight: 600; color: var(--ink); line-height: 1.3; }
.prop-town { font-size: 0.82rem; color: var(--ink-3); margin-top: 2px; }

/* feature chips: beds, baths, receptions, type */
.prop-feats { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 0.82rem; color: var(--ink-3); font-weight: 500; }
.prop-feats span { display: inline-flex; align-items: center; gap: 5px; }
.prop-feats svg { width: 14px; height: 14px; color: var(--teal); flex: none; }

/* short description */
.prop-desc { font-size: 0.86rem; color: var(--ink-2); line-height: 1.55; margin-top: 10px; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* property reference */
.prop-ref { font-size: 0.72rem; color: var(--ink-3); margin-top: 10px; letter-spacing: 0.03em; }

/* action buttons */
.prop-foot { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.prop-foot-primary { display: flex; }
.prop-foot-primary .btn { flex: 1; justify-content: center; font-size: 0.88rem; padding: 11px 14px; }
.prop-foot-secondary { display: flex; gap: 8px; }
.prop-foot-secondary .btn { flex: 1; justify-content: center; font-size: 0.8rem; padding: 9px 10px; white-space: nowrap; }

/* views counter */
.prop-views { font-size: 0.76rem; color: var(--teal); font-weight: 600; margin-top: 8px; display: flex; align-items: center; gap: 5px; }
.prop-views svg { width: 13px; height: 13px; }

/* ---------- property carousel ---------- */
.carousel-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.carousel-head-text { flex: 1; min-width: 0; }
.carousel-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; flex: none; }
.carousel-counter-wrap { font-size: 0.8rem; color: rgba(255,255,255,0.5); letter-spacing: 0.06em; font-weight: 600; text-align: right; }
.carousel-counter { font-variant-numeric: tabular-nums; }
.carousel-nav-btns { display: flex; gap: 8px; }
.carousel-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.07); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background 0.25s, border-color 0.25s, opacity 0.25s; flex: none; }
.carousel-btn:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.4); }
.carousel-btn:disabled { opacity: 0.25; cursor: default; }
.carousel-btn svg { width: 18px; height: 18px; }

.prop-carousel { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; cursor: grab; }
.prop-carousel::-webkit-scrollbar { display: none; }
.prop-carousel.is-grabbing { cursor: grabbing; scroll-behavior: auto; }
.prop-carousel .prop-card { min-width: clamp(280px, 31vw, 370px); max-width: clamp(280px, 31vw, 370px); scroll-snap-align: start; flex: none; }
.prop-carousel .prop-foot-secondary { flex-direction: column; gap: 8px; }
.prop-carousel .prop-foot-secondary .btn { width: 100%; justify-content: center; }

.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.carousel-dot { width: 6px; height: 6px; border-radius: 50%; border: none; background: rgba(255,255,255,0.25); padding: 0; cursor: pointer; transition: background 0.3s, transform 0.3s; }
.carousel-dot.active { background: #fff; transform: scale(1.5); }

.carousel-footer { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }

@media (max-width: 760px) {
  .carousel-head { align-items: flex-start; }
  .carousel-controls { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  /* Tablet: show ~2 cards, constrain width */
  .prop-carousel .prop-card { min-width: min(calc(100vw - 52px), 320px); max-width: 320px; }
}

@media (max-width: 600px) {
  /* Small tablet / large phone: nearly full-width card */
  .prop-carousel .prop-card { min-width: calc(100vw - 48px); max-width: calc(100vw - 48px); }
}
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 4/3.4; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.flow-list { list-style: none; padding: 0; margin: 28px 0 0; }
.flow-list li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--line); }
.flow-list li:last-child { border-bottom: 1px solid var(--line); }
.flow-no { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal); display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; font-family: var(--sans); }
.flow-list h4 { font-family: var(--sans); font-weight: 700; font-size: 1rem; margin: 4px 0 5px; }
.flow-list p { margin: 0; font-size: 0.92rem; color: var(--ink-2); }

/* on teal background, flow list adapts */
.bg-teal .flow-list li, .bg-ink .flow-list li { border-color: rgba(255,255,255,0.18); }
.bg-teal .flow-no, .bg-ink .flow-no { border-color: rgba(255,255,255,0.5); color: #fff; }
.bg-teal .flow-list p, .bg-ink .flow-list p { color: rgba(255,255,255,0.78); }

/* ---------- services grid ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.svc { background: var(--paper); padding: 34px 28px; display: flex; flex-direction: column; min-height: 250px; transition: background 0.3s; }
.svc:hover { background: var(--cream); }
.svc-ico { width: 44px; height: 44px; color: var(--teal); margin-bottom: auto; }
.svc-ico svg { width: 100%; height: 100%; stroke-width: 1.3; }
.svc h3 { font-size: 1.25rem; margin: 22px 0 8px; }
.svc p { font-size: 0.88rem; color: var(--ink-2); margin: 0 0 16px; line-height: 1.45; }
.svc .text-link { margin-top: auto; }

/* ---------- reviews ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.rev-card { background: var(--paper); border: 1px solid var(--line-2); border-radius: 10px; padding: 32px 30px; display: flex; flex-direction: column; color: var(--ink-2); }
.rev-card strong { color: var(--ink); }
.stars { display: flex; gap: 3px; color: var(--orange); }
.stars svg { width: 17px; height: 17px; }
.rev-text { font-family: var(--serif); font-size: 1.22rem; line-height: 1.4; color: var(--ink); margin: 20px 0 24px; flex: 1; letter-spacing: -0.01em; }
.rev-who { display: flex; flex-direction: column; gap: 2px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.rev-who strong { font-weight: 600; font-size: 0.95rem; }
.rev-who span { font-size: 0.82rem; color: var(--ink-3); }
.rating-hero { display: flex; align-items: center; gap: 18px; }
.rating-hero .big { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--teal); }

/* ---------- why-choose accordion ---------- */
.why-list { border-top: 1px solid var(--line); }
.why-item { border-bottom: 1px solid var(--line); }
.why-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 4px; background: none; border: none; text-align: left; }
.why-q h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); transition: color 0.25s; }
.why-item.open .why-q h3 { color: var(--teal); }
.why-icon { flex: none; width: 30px; height: 30px; position: relative; }
.why-icon::before, .why-icon::after { content: ""; position: absolute; background: var(--teal); border-radius: 2px; transition: transform 0.3s var(--ease); }
.why-icon::before { top: 50%; left: 4px; right: 4px; height: 2px; transform: translateY(-50%); }
.why-icon::after { left: 50%; top: 4px; bottom: 4px; width: 2px; transform: translateX(-50%); }
.why-item.open .why-icon::after { transform: translateX(-50%) scaleY(0); }
.why-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.why-item.open .why-a { max-height: 240px; }
.why-a p { margin: 0 0 26px; max-width: 60ch; color: var(--ink-2); font-size: 1.02rem; }

/* ---------- big CTA ---------- */
.cta-band { text-align: center; }
.cta-band .display { max-width: 18ch; margin: 0 auto; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.cta-note { margin-top: 22px; font-size: 0.9rem; opacity: 0.8; }
.cta-note a { color: inherit; border-bottom: 1px solid rgba(255,255,255,0.4); }

/* ---------- footer ---------- */
.footer { background: var(--teal-ink); color: rgba(255,255,255,0.72); padding-top: clamp(56px, 7vw, 90px); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand img { height: 38px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.92rem; line-height: 1.6; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; display: grid; place-items: center; transition: all 0.25s; }
.footer-social a:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { font-family: var(--sans); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.92rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 11px; font-size: 0.92rem; margin-bottom: 13px; line-height: 1.45; }
.footer-contact svg { width: 16px; height: 16px; color: var(--orange); flex: none; margin-top: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 26px 0; font-size: 0.82rem; }
.footer-bottom .links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } html { scroll-behavior: auto; } }

/* ---------- reviews header: center on mobile ---------- */
@media (max-width: 680px) {
  #about .listing-meta { align-items: center !important; text-align: center; }
  #about .listing-meta .section-head { text-align: center; }
  #about .listing-meta .eyebrow { justify-content: center; }
  #about .rating-hero { justify-content: center; }
}

/* ---------- page entrance / exit transition ---------- */
@media (prefers-reduced-motion: no-preference) {
  body { animation: page-enter 0.6s var(--ease) both; }
  @keyframes page-enter { from { opacity: 0; } to { opacity: 1; } }
  body.is-leaving { animation: none; opacity: 0; transform: translateY(-6px); transition: opacity 0.32s var(--ease), transform 0.32s var(--ease); }
}

/* ---------- image upload slots ---------- */
.hero-media image-slot,
.prop-media image-slot,
.split-media image-slot {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
}
.hero-media image-slot { z-index: 0; }

/* ---------- image placeholder ---------- */
.ph { position: relative; background:
  repeating-linear-gradient(135deg, var(--cream-2) 0 14px, var(--sand) 14px 28px);
  display: grid; place-items: center; color: var(--teal-deep); }
.ph::after { content: attr(data-label); font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 7px 14px; background: rgba(255,255,255,0.82); border-radius: 100px; }
.hero-media.ph { position: absolute; inset: 0; background: repeating-linear-gradient(135deg, #0e6b67 0 22px, #0c615e 22px 44px); }
.hero-media.ph::after { z-index: 1; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-top: 150px; padding-bottom: 60px; }
.crumbs { font-size: 0.82rem; color: var(--ink-3); font-weight: 500; margin-bottom: 22px; display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--teal); }
.crumbs .sep { opacity: 0.5; }

/* ---------- listings filter bar (legacy) ---------- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; padding: 18px; background: #fff; border: 1px solid var(--line-2); border-radius: 10px; box-shadow: var(--shadow-sm); }
.filter-field { display: flex; flex-direction: column; gap: 4px; flex: 1 1 150px; }
.filter-field label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.filter-field select, .filter-field input { padding: 11px 12px; border: 1px solid var(--line); border-radius: 6px; font-family: var(--sans); font-size: 0.92rem; font-weight: 500; color: var(--ink); background: #fff; outline: none; transition: border-color 0.2s; }
.filter-field select:focus, .filter-field input:focus { border-color: var(--teal); }
.listing-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.listing-meta-left { display: flex; flex-direction: column; gap: 12px; }
.listing-meta-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.listing-count { font-size: 0.95rem; color: var(--ink-2); }
.listing-count strong { color: var(--ink); font-weight: 700; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { padding: 9px 16px; border-radius: 100px; border: 1px solid var(--line); background: #fff; font-size: 0.85rem; font-weight: 600; color: var(--ink-2); transition: all 0.2s; cursor: pointer; }
.chip.active, .chip:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* ---------- premium search bar (for-sale page) ---------- */
.fs-search-wrap { background: var(--teal-ink); padding: clamp(20px,3vw,36px) 0; position: sticky; top: var(--nav-h, 66px); z-index: 20; box-shadow: 0 4px 24px rgba(7,43,41,0.25); }
.fs-search-bar { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.fs-search-field { display: flex; flex-direction: column; gap: 5px; }
.fs-search-location { flex: 2 1 240px; position: relative; }
.fs-search-select { flex: 1 1 120px; }
.fs-search-field label { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); padding-left: 2px; }
.fs-search-location input { width: 100%; padding: 13px 40px 13px 44px; border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; background: rgba(255,255,255,0.1); color: #fff; font-family: var(--sans); font-size: 0.96rem; outline: none; transition: border-color 0.2s, background 0.2s; box-sizing: border-box; }
.fs-search-location input::placeholder { color: rgba(255,255,255,0.45); }
.fs-search-location input:focus { border-color: var(--orange); background: rgba(255,255,255,0.14); }
.fs-search-icon { position: absolute; left: 14px; bottom: 14px; width: 18px; height: 18px; color: rgba(255,255,255,0.5); pointer-events: none; }
.fs-clear { position: absolute; right: 12px; bottom: 10px; width: 24px; height: 24px; border: none; background: none; color: rgba(255,255,255,0.5); font-size: 1.2rem; cursor: pointer; padding: 0; line-height: 1; }
.fs-search-select select { padding: 13px 12px; border: 1px solid rgba(255,255,255,0.15); border-radius: 8px; background: rgba(255,255,255,0.1); color: #fff; font-family: var(--sans); font-size: 0.88rem; outline: none; transition: border-color 0.2s; width: 100%; cursor: pointer; }
.fs-search-select select:focus { border-color: var(--orange); }
.fs-search-select select option { background: #0e3533; color: #fff; }
.fs-search-btn { align-self: flex-end; padding: 13px 24px; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.fs-search-btn svg { width: 16px; height: 16px; }
.fs-search-actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.fs-search-actions-left { display: flex; gap: 8px; flex-wrap: wrap; }
.fs-action-btn { display: inline-flex; align-items: center; gap: 7px; padding: 7px 14px; border: 1px solid rgba(255,255,255,0.18); border-radius: 20px; background: none; color: rgba(255,255,255,0.72); font-size: 0.82rem; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: var(--sans); }
.fs-action-btn svg { width: 14px; height: 14px; }
.fs-action-btn:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.35); }
.fs-action-btn.saved { color: var(--orange); border-color: var(--orange); }
.fs-view-toggle { display: flex; gap: 4px; }
.fs-view-btn { width: 36px; height: 36px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.18); background: none; color: rgba(255,255,255,0.55); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.fs-view-btn svg { width: 16px; height: 16px; }
.fs-view-btn.active, .fs-view-btn:hover { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.35); }

/* save search / alert banner */
.fs-alert-banner { background: var(--teal); padding: 14px 0; }
.fs-alert-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.fs-alert-inner svg { width: 22px; height: 22px; color: #fff; flex: none; }
.fs-alert-inner > div { flex: 1; color: #fff; }
.fs-alert-inner strong { display: block; font-size: 0.96rem; }
.fs-alert-inner p { font-size: 0.82rem; color: rgba(255,255,255,0.8); margin: 2px 0 0; }
.fs-alert-close { width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: none; color: #fff; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }

/* map view placeholder */
.fs-map-panel { padding: clamp(40px,5vw,80px) 0; }
.fs-map-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; min-height: 400px; background: var(--cream); border: 2px dashed var(--line); border-radius: 14px; text-align: center; padding: clamp(40px,5vw,80px); }
.fs-map-icon { width: 56px; height: 56px; color: var(--ink-3); opacity: 0.4; }
.fs-map-placeholder h3 { font-size: 1.5rem; margin: 0; }
.fs-map-placeholder p { color: var(--ink-2); font-size: 0.95rem; max-width: 46ch; margin: 0; line-height: 1.6; }

/* featured property */
.fs-featured { margin-bottom: 40px; }
.fs-featured-label { display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.fs-featured-label svg { width: 14px; height: 14px; color: var(--orange); fill: var(--orange); }
.fs-featured-card { display: grid; grid-template-columns: 1.2fr 1fr; border-radius: 14px; overflow: hidden; border: 1px solid var(--line-2); background: #fff; text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease); }
.fs-featured-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.fs-featured-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.fs-featured-img image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.fs-featured-body { padding: clamp(24px,3vw,44px); display: flex; flex-direction: column; }
.fs-featured-addr { font-family: var(--serif); font-size: clamp(1.3rem,2.2vw,1.9rem); margin: 10px 0 4px; line-height: 1.2; }

/* sort select */
.fs-sort-select { padding: 9px 14px; border: 1px solid var(--line); border-radius: 6px; font-family: var(--sans); font-size: 0.86rem; color: var(--ink); background: #fff; outline: none; cursor: pointer; }
.fs-sort-select:focus { border-color: var(--teal); }

/* load more */
.fs-load-more { text-align: center; padding: clamp(32px,4vw,56px) 0 0; }
.fs-load-more-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.fs-load-more-note { font-size: 0.85rem; color: var(--ink-3); margin: 0; }
.fs-load-more-note a { color: var(--teal); font-weight: 600; }

/* recently viewed */
.fs-recently-viewed { margin-top: clamp(40px,5vw,72px); padding-top: clamp(32px,4vw,48px); border-top: 1px solid var(--line); }
.fs-rv-header { margin-bottom: 28px; }
.fs-rv-header h3 { font-size: 1.4rem; margin: 8px 0 0; }

/* list view variant */
.prop-grid.list-view { grid-template-columns: 1fr; }
.prop-grid.list-view .prop-card { flex-direction: row; max-height: 220px; }
.prop-grid.list-view .prop-img-link { flex: none; width: 280px; }
.prop-grid.list-view .prop-media { aspect-ratio: unset; height: 100%; }
.prop-grid.list-view .prop-desc { display: none; }

@media (max-width: 780px) {
  .fs-search-wrap { position: relative; top: 0; }
  .fs-search-location { flex: 1 1 100%; }
  .fs-search-select { flex: 1 1 calc(50% - 8px); }
  .fs-featured-card { grid-template-columns: 1fr; }
  .fs-featured-img { aspect-ratio: 16/9; }
  .prop-grid.list-view .prop-card { flex-direction: column; max-height: none; }
  .prop-grid.list-view .prop-img-link { width: 100%; }
  .prop-grid.list-view .prop-media { aspect-ratio: 16/11; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step { border-bottom: 1px solid var(--line); padding-left: 0 !important; padding-right: 24px; }
  .step:nth-child(2n) { border-right: none; }
}
@media (max-width: 920px) {
  .nav, .header-cta { display: none; }
  .hamburger { display: flex; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-media { order: 0; }
  /* dark sections: bleed imagery edge-to-edge so the background never frames it */
  .bg-teal .split-media, .bg-ink .split-media { margin-inline: calc(var(--gutter) * -1); border-radius: 0; }
  .bg-teal .split-media img, .bg-ink .split-media img { border-radius: 0 !important; }
  /* when the image stacks last, end the section flush with the photo (no band beneath) */
  section.bg-teal:has(.split:not(.reverse) .split-media), section.bg-ink:has(.split:not(.reverse) .split-media) { padding-bottom: 0 !important; }
  .rev-grid { grid-template-columns: 1fr; }
  .rev-grid .rev-card:nth-child(n+3) { display: none; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .stat-band { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: none; padding-right: 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .search-field { flex: 1 1 100%; border-right: none; border-bottom: 1px solid var(--line-2); padding-bottom: 12px; }
  .search-body .btn { width: 100%; margin: 12px 4px 4px; }
  .listing-meta { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr; }
  .cta-actions .btn { width: 100%; }
}

/* ============================================================
   CONTENT PAGES — nav active, forms, prose, cards
   ============================================================ */

/* active nav */
.nav-link.active { color: var(--teal); }
.site-header.on-hero:not(.scrolled) .nav-link.active { color: #fff; opacity: 0.85; }

/* generic intro paragraph under a page hero */
.page-hero .lead { margin-top: 18px; max-width: 60ch; }
.page-hero.bg-teal .lead, .page-hero.bg-ink .lead { color: rgba(255,255,255,0.85); }

/* ---------- two-column page layout (content + aside) ---------- */
.page-cols { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.page-cols.narrow { grid-template-columns: 1fr; max-width: 760px; }

/* ---------- prose ---------- */
.prose { color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-family: var(--serif); font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--ink); line-height: 1.1; margin-top: 1.8em; letter-spacing: -0.015em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--ink); margin-top: 1.5em; }
.prose p { font-size: 1.05rem; line-height: 1.65; }
.prose a { color: var(--teal); border-bottom: 1px solid rgba(17,118,112,0.3); }
.prose a:hover { border-bottom-color: var(--teal); }
.prose ul, .prose ol { padding-left: 1.2em; margin-top: 1em; }
.prose li { margin-bottom: 0.55em; line-height: 1.55; font-size: 1.02rem; }
.prose li::marker { color: var(--teal); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose hr { border: none; border-top: 1px solid var(--line); margin: 2.2em 0; }
.prose .small { font-size: 0.86rem; color: var(--ink-3); }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line-2); border-radius: 14px; padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.wide { grid-column: 1 / -1; }
.field label { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.field label .req { color: var(--orange); margin-left: 2px; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--ink); background: var(--cream);
  border: 1px solid var(--line); border-radius: 8px; padding: 13px 15px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; width: 100%;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(17,118,112,0.12);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); opacity: 0.7; }
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236c7773' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 8px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 100px; background: #fff; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: all 0.2s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover { border-color: var(--ink-3); }
.choice:has(input:checked) { background: var(--teal); border-color: var(--teal); color: #fff; }
.form-consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.88rem; color: var(--ink-2); line-height: 1.5; margin-top: 4px; }
.form-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--teal); flex: none; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.form-actions .note { font-size: 0.82rem; color: var(--ink-3); }
.form-success { display: none; text-align: center; padding: 36px 24px; }
.form-success.show { display: block; animation: page-enter 0.5s var(--ease) both; }
.form-success .tick { width: 58px; height: 58px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .tick svg { width: 28px; height: 28px; }
.form-success h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--ink); }
.form-success p { color: var(--ink-2); margin-top: 8px; }
.form.is-sent .form-body { display: none; }

/* error / invalid states */
.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: #c0392b; background: #fff5f5; box-shadow: 0 0 0 3px rgba(192,57,43,0.1); }
.field-error { font-size: 0.76rem; color: #c0392b; margin-top: 2px; display: flex; align-items: center; gap: 5px; }
.field-error svg { width: 13px; height: 13px; flex: none; }
.field.is-valid input,
.field.is-valid select,
.field.is-valid textarea { border-color: var(--teal); }

/* form trust bar */
.form-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line-2); margin-top: 20px; }
.form-trust-item { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--ink-3); }
.form-trust-item svg { width: 14px; height: 14px; color: var(--teal); flex: none; }

/* ---------- aside info panel ---------- */
.aside-card { background: var(--teal-ink); color: #fff; border-radius: 14px; padding: clamp(26px, 3.5vw, 38px); }
.aside-card h3 { color: #fff; }
.aside-card.light h3 { color: var(--ink); }
.aside-card.light { background: var(--cream-2); color: var(--ink); }
.aside-card h3 { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 16px; }
.aside-list { list-style: none; padding: 0; margin: 0; }
.aside-list li { display: flex; gap: 13px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,0.16); font-size: 0.96rem; line-height: 1.45; }
.aside-list li:first-child { border-top: none; padding-top: 0; }
.aside-card.light .aside-list li { border-top-color: var(--line); }
.aside-card.light .aside-list span { color: var(--ink-3); }
.aside-list svg { width: 19px; height: 19px; color: var(--orange); flex: none; margin-top: 2px; }
.aside-list strong { display: block; font-weight: 600; }
.aside-list span { color: rgba(255,255,255,0.72); font-size: 0.88rem; }
.aside-card.light .aside-list span { color: var(--ink-3); }

/* ---------- generic card grid ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.info-card { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 30px 28px; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.info-card .ico { width: 42px; height: 42px; color: var(--teal); margin-bottom: 18px; }
.info-card .ico svg { width: 100%; height: 100%; stroke-width: 1.4; }
.info-card h3 { font-size: 1.3rem; margin-bottom: 9px; }
.info-card p { font-size: 0.94rem; color: var(--ink-2); margin: 0; line-height: 1.5; }
.info-card .num { font-family: var(--serif); font-size: 2.4rem; color: var(--teal); line-height: 1; margin-bottom: 12px; }
.bg-cream .info-card, .bg-cream2 .info-card { background: #fff; }

/* numbered checklist */
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(17,118,112,0.12); color: var(--teal); display: grid; place-items: center; margin-top: 1px; }
.check-list .ck svg { width: 15px; height: 15px; }
.check-list strong { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.check-list p { margin: 0; font-size: 0.96rem; color: var(--ink-2); line-height: 1.5; }

/* ---------- team grid ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card .team-photo { aspect-ratio: 4/5; border-radius: 12px; overflow: hidden; position: relative; }
.team-card h3 { font-size: 1.35rem; margin: 18px 0 3px; }
.team-card .role { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.team-card p { font-size: 0.94rem; color: var(--ink-2); margin: 10px 0 0; line-height: 1.5; }

/* ---------- area guides ---------- */
.area-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.area-card { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.area-photo { aspect-ratio: 16/10; position: relative; overflow: hidden; }
.area-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.area-body h3 { font-size: 1.5rem; }
.area-body p { font-size: 0.95rem; color: var(--ink-2); margin: 10px 0 18px; line-height: 1.55; flex: 1; }
.area-facts { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.area-facts span { font-size: 0.82rem; color: var(--ink-3); font-weight: 500; }
.area-facts strong { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--teal); }

/* job listings */
.job-list { display: grid; gap: 16px; }
.job { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line-2); border-radius: 12px; padding: 24px 28px; transition: border-color 0.25s, box-shadow 0.25s; }
.job:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.job h3 { font-size: 1.3rem; }
.job .job-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 7px; font-size: 0.86rem; color: var(--ink-3); }
.job .job-meta span { display: inline-flex; align-items: center; gap: 6px; }

/* responsive for content pages */
@media (max-width: 920px) {
  .page-cols { grid-template-columns: 1fr; }
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .area-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; }
  .card-grid.cols-2, .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .job { flex-direction: column; align-items: flex-start; }
}

/* ---------- blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card.feature { grid-column: 1 / -1; flex-direction: row; }
.blog-thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; flex: none; }
.blog-card.feature .blog-thumb { width: 52%; aspect-ratio: auto; }
.blog-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card.feature .blog-body { padding: clamp(28px, 3vw, 44px); justify-content: center; }
.blog-tag { align-self: flex-start; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--teal); background: rgba(17,118,112,0.1); padding: 6px 12px; border-radius: 100px; }
.blog-card h3 { font-size: 1.32rem; margin: 15px 0 10px; line-height: 1.16; }
.blog-card.feature h3 { font-size: clamp(1.6rem, 2.6vw, 2.3rem); }
.blog-card p { font-size: 0.93rem; color: var(--ink-2); margin: 0 0 18px; line-height: 1.55; flex: 1; }
.blog-card.feature p { font-size: 1.05rem; flex: none; }
.blog-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.8rem; color: var(--ink-3); border-top: 1px solid var(--line-2); padding-top: 15px; margin-top: auto; }
.blog-meta span { display: inline-flex; align-items: center; gap: 6px; }
.blog-meta svg { width: 14px; height: 14px; }

/* article */
.article-wrap { max-width: 770px; margin: 0 auto; }
.article-head { max-width: 770px; margin: 0 auto; }
.article-meta { display: flex; align-items: center; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.article-meta .avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: var(--cream-2); flex: none; position: relative; }
.article-meta .byline { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.article-meta .byline span { display: block; font-weight: 400; color: var(--ink-3); font-size: 0.84rem; margin-top: 2px; }
.article-meta .dot-sep { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); opacity: 0.5; }
.article-hero-img { aspect-ratio: 16/8; border-radius: 14px; overflow: hidden; position: relative; }
.article-body { margin-top: 8px; }
.article-body p:first-of-type { font-size: 1.18rem; color: var(--ink); line-height: 1.6; }
.pull { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.3; color: var(--teal); border-left: 3px solid var(--orange); padding-left: 24px; margin: 1.8em 0; }
.share-row { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.share-row span { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); }
.share-row a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); transition: all 0.2s; }
.share-row a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.share-row svg { width: 16px; height: 16px; }

@media (max-width: 920px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card.feature { flex-direction: column; }
  .blog-card.feature .blog-thumb { width: 100%; aspect-ratio: 16/9; }
}
@media (max-width: 620px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ---------- 4-column stat band ---------- */
.stat-band.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .stat-band.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .stat-band.cols-4 { grid-template-columns: 1fr; } }

/* ---------- package price display ---------- */
.pkg-price { font-family: var(--serif); font-size: clamp(4rem,8vw,7rem); line-height: 0.95; color: var(--teal); letter-spacing: -0.02em; display: block; }
.pkg-note { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
.pkg-includes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; margin: 28px 0; padding: 0; list-style: none; }

/* Teal headings on light backgrounds */
.bg-cream h1, .bg-cream h2, .bg-cream h3,
.bg-paper h1, .bg-paper h2, .bg-paper h3,
.page-hero h1, .page-hero h2 { color: var(--teal); }
.bg-cream .serif-accent, .bg-paper .serif-accent, .page-hero .serif-accent { color: var(--teal-deep); }
/* …but never on dark surfaces nested inside light sections */
.page-hero.bg-teal h1, .page-hero.bg-teal h2, .page-hero.bg-ink h1, .page-hero.bg-ink h2,
.bg-cream .bg-teal h1, .bg-cream .bg-teal h2, .bg-cream .bg-teal h3,
.bg-paper .bg-teal h1, .bg-paper .bg-teal h2, .bg-paper .bg-teal h3,
.bg-cream .bg-ink h1, .bg-cream .bg-ink h2, .bg-cream .bg-ink h3,
.bg-paper .bg-ink h1, .bg-paper .bg-ink h2, .bg-paper .bg-ink h3,
.bg-cream .dark-card h1, .bg-cream .dark-card h2, .bg-cream .dark-card h3,
.bg-paper .dark-card h1, .bg-paper .dark-card h2, .bg-paper .dark-card h3 { color: #fff; }
.page-hero.bg-teal .serif-accent, .page-hero.bg-ink .serif-accent,
.bg-cream .bg-teal .serif-accent, .bg-paper .bg-teal .serif-accent,
.bg-cream .bg-ink .serif-accent, .bg-paper .bg-ink .serif-accent,
.bg-cream .dark-card .serif-accent, .bg-paper .dark-card .serif-accent { color: #fff; }

/* ---------- trust ticker ---------- */
.trust-ticker { background: var(--orange); overflow: hidden; white-space: nowrap; padding: 0; }
.ticker-track { display: inline-flex; gap: 0; animation: ticker-scroll 40s linear infinite; }
.ticker-track span { display: inline-block; padding: 10px 18px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: #fff; text-transform: uppercase; }
.ticker-dot { color: rgba(255,255,255,0.5) !important; padding: 10px 4px !important; }
@keyframes ticker-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }
.pkg-includes li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 500; color: var(--ink-2); list-style: none; }
.pkg-includes li::before { content: ''; width: 7px; height: 7px; min-width: 7px; border-radius: 50%; background: var(--teal); }

/* ---------- award badge ---------- */
.award-strip { display: inline-flex; align-items: center; gap: 12px; padding: 12px 20px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 100px; font-size: 0.85rem; font-weight: 600; }
.award-strip .star { color: var(--orange); font-size: 1rem; }


/* ========================================================================
   WHATSAPP SYSTEM
   ======================================================================== */

/* floating button */
.wa-fab { position: fixed; bottom: 24px; right: 24px; z-index: 200; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }

/* When cookie banner is visible, push the fab up */
.cookie-banner:not([style*="display:none"]) ~ .wa-fab,
body.cookie-visible .wa-fab { bottom: 90px; }

/* chat panel */
.wa-panel { background: #fff; border-radius: 16px; box-shadow: 0 8px 40px rgba(7,43,41,0.18); width: 280px; overflow: hidden; transform: scale(0.85) translateY(10px); transform-origin: bottom right; opacity: 0; pointer-events: none; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.wa-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
.wa-panel-head { background: #25D366; padding: 16px 18px; display: flex; align-items: center; gap: 12px; }
.wa-panel-avatar { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; flex: none; }
.wa-panel-avatar svg { width: 26px; height: 26px; color: #fff; }
.wa-panel-info { flex: 1; }
.wa-panel-name { font-weight: 700; font-size: 0.95rem; color: #fff; }
.wa-panel-status { font-size: 0.78rem; color: rgba(255,255,255,0.85); display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.wa-panel-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #fff; display: inline-block; }
.wa-panel-close { width: 28px; height: 28px; border-radius: 50%; border: none; background: rgba(255,255,255,0.2); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1rem; flex: none; padding: 0; line-height: 1; }
.wa-panel-body { padding: 18px; }
.wa-bubble { background: #f0f4f3; border-radius: 12px 12px 12px 2px; padding: 12px 14px; font-size: 0.88rem; color: var(--ink); line-height: 1.5; margin-bottom: 14px; }
.wa-bubble strong { display: block; margin-bottom: 4px; font-size: 0.95rem; }
.wa-panel-hours { font-size: 0.75rem; color: var(--ink-3); margin-bottom: 16px; display: flex; align-items: center; gap: 6px; }
.wa-panel-hours svg { width: 13px; height: 13px; color: #25D366; flex: none; }
.wa-start { display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #fff; text-decoration: none; padding: 13px 18px; border-radius: 10px; font-weight: 700; font-size: 0.92rem; transition: background 0.2s; }
.wa-start:hover { background: #1da851; }
.wa-start svg { width: 18px; height: 18px; }

/* FAB button itself */
.wa-btn { width: 56px; height: 56px; border-radius: 50%; background: #25D366; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.4); transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease); position: relative; }
.wa-btn:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }
.wa-btn svg { width: 30px; height: 30px; }
.wa-btn-badge { position: absolute; top: -2px; right: -2px; width: 16px; height: 16px; border-radius: 50%; background: var(--orange); border: 2px solid #fff; animation: wa-pulse 2.5s ease-in-out infinite; }
@keyframes wa-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.25); } }

/* WhatsApp inline buttons */
.btn-wa { background: #25D366; color: #fff; border-color: #25D366; }
.btn-wa:hover { background: #1da851; border-color: #1da851; color: #fff; }
.btn-wa svg { width: 16px; height: 16px; }

@media (max-width: 480px) {
  /* Search tabs — prevent "Selling Advice" clipping */
  .search-tab { flex: 1; padding: 12px 6px; font-size: 0.76rem; text-align: center; white-space: nowrap; }
  /* Property carousel cards — use width to prevent content stretching on small phones */
  .prop-carousel .prop-card { min-width: unset; width: calc(100vw - 56px); max-width: calc(100vw - 56px); }
  /* Package includes — commented: user prefers 2 cols */
  /* .pkg-includes { grid-template-columns: 1fr; gap: 8px; } */
  /* WhatsApp */
  .wa-fab { bottom: 16px; right: 16px; }
  .wa-panel { width: calc(100vw - 32px); }
}

/* ========================================================================
   COMPREHENSIVE RESPONSIVE AUDIT — SITE-WIDE FIXES
   ======================================================================== */

/* Prop placeholder 3-col grid (area guide pages) */
.prop-placeholder-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 860px) { .prop-placeholder-grid { grid-template-columns: 1fr !important; } }

/* Generic 4-col inline stat grids — target with data attr */
@media (max-width: 760px) {
  [data-grid-4] { grid-template-columns: repeat(2,1fr) !important; }
  /* village chips on area guides */
  .villages-row { gap: 8px; }
  /* todo grid on area guides — already has 5-col, reduce to 3 */
  .todo-grid { grid-template-columns: repeat(3,1fr) !important; }
}
@media (max-width: 540px) {
  [data-grid-4] { grid-template-columns: 1fr !important; }
  .todo-grid { grid-template-columns: repeat(2,1fr) !important; }
  /* pkg includes — keep 2 cols but smaller gap */
  .pkg-includes { gap: 8px 16px; }
  /* search box — reduce padding */
  .search { margin-top: 20px; }
  /* hero meta — stack */
  .hero-meta { flex-direction: column; gap: 6px; }
}

/* Page hero — extra padding when anno bar is present */
@media (min-width: 0px) {
  .page-hero { padding-top: clamp(140px, 18vw, 180px); }
}

/* split-media on small mobile — reduce aspect ratio */
@media (max-width: 480px) {
  .split-media { aspect-ratio: 4/3; }
  /* anno bar on small screens — tighter */
  .anno-inner { padding: 8px 16px; }
  .anno-tag { display: none; }
  /* cta actions on very small screens */
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { text-align: center; justify-content: center; }
}

/* Dropdown wide — prevent overflow on medium screens */
@media (max-width: 1200px) {
  .dropdown-wide { min-width: 220px; }
}

/* Footer contact on mobile */
@media (max-width: 480px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-bottom .links { gap: 14px; }
}

/* ======================================================================== */

/* reading progress bar */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 400; background: transparent; pointer-events: none; }
.read-progress-fill { height: 100%; background: var(--teal); width: 0%; transition: width 0.1s linear; }

/* post metadata JSON block (machine-readable, hidden) */
#post-meta { display: none; }

/* table of contents */
.toc-card { background: var(--cream); border: 1px solid var(--line-2); border-radius: 12px; padding: 22px 24px; margin: 32px 0; }
.toc-card h2 { font-family: var(--sans); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 14px; }
.toc-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.toc-list li { display: flex; gap: 10px; font-size: 0.92rem; }
.toc-list li::before { content: counter(toc-item, decimal) "."; counter-increment: toc-item; color: var(--teal); font-weight: 700; flex: none; width: 20px; }
.toc-list { counter-reset: toc-item; }
.toc-list a { color: var(--ink-2); text-decoration: none; transition: color 0.2s; }
.toc-list a:hover { color: var(--teal); }

/* tags */
.post-tags { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 24px 0; }
.post-tags span { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink-3); }
.tag-chip { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 20px; border: 1px solid var(--line); background: var(--cream); font-size: 0.78rem; color: var(--ink-2); text-decoration: none; transition: all 0.2s; }
.tag-chip:hover { background: var(--teal); border-color: var(--teal); color: #fff; }

/* FAQ section */
.post-faq { margin: 40px 0; border-top: 2px solid var(--teal); padding-top: 32px; }
.post-faq h2 { font-size: 1.5rem; margin-bottom: 24px; }
.faq-q-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; background: none; border: none; border-top: 1px solid var(--line); text-align: left; cursor: pointer; }
.faq-q-btn h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; color: var(--ink); margin: 0; transition: color 0.2s; }
.faq-item.open .faq-q-btn h3 { color: var(--teal); }
.faq-q-btn .faq-icon { flex: none; width: 24px; height: 24px; position: relative; }
.faq-q-btn .faq-icon::before, .faq-q-btn .faq-icon::after { content: ""; position: absolute; background: var(--teal); border-radius: 2px; transition: transform 0.3s; }
.faq-q-btn .faq-icon::before { top: 50%; left: 3px; right: 3px; height: 2px; transform: translateY(-50%); }
.faq-q-btn .faq-icon::after { left: 50%; top: 3px; bottom: 3px; width: 2px; transform: translateX(-50%); }
.faq-item.open .faq-q-btn .faq-icon::after { transform: translateX(-50%) scaleY(0); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p { color: var(--ink-2); font-size: 0.96rem; line-height: 1.65; margin: 0 0 20px; }

/* author bio card */
.author-bio { display: flex; gap: 20px; align-items: flex-start; background: var(--cream); border-radius: 14px; padding: 24px; margin: 40px 0; border: 1px solid var(--line-2); }
.author-bio-avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.5rem; flex: none; }
.author-bio-text h3 { font-size: 1rem; margin: 0 0 4px; }
.author-bio-text .role { font-size: 0.82rem; color: var(--teal); font-weight: 600; margin-bottom: 8px; }
.author-bio-text p { font-size: 0.9rem; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* article blog-card: author byline */
.blog-author { font-size: 0.78rem; color: var(--ink-3); margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.blog-author .blog-author-dot { width: 20px; height: 20px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--serif); font-size: 0.65rem; display: flex; align-items: center; justify-content: center; flex: none; }

/* blog subscribe band */
.blog-subscribe { background: var(--teal-ink); border-radius: 14px; padding: clamp(28px,4vw,48px); display: flex; align-items: center; gap: 32px; flex-wrap: wrap; margin-top: 48px; }
.blog-subscribe-text { flex: 1; min-width: 0; }
.blog-subscribe-text h3 { font-size: 1.4rem; color: #fff; margin: 0 0 6px; }
.blog-subscribe-text p { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin: 0; }
.blog-subscribe-actions { display: flex; gap: 10px; flex-wrap: wrap; flex: none; }

/* post-updated note */
.post-updated { font-size: 0.8rem; color: var(--ink-3); margin-top: 4px; }

/* category badges on blog.html */
.cat-count { font-size: 0.7rem; background: var(--line-2); border-radius: 10px; padding: 2px 7px; margin-left: 4px; color: var(--ink-3); }
/* ---------- valuation options trio ---------- */
.val-grid { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 24px; margin-top: 56px; align-items: stretch; }
.val-card { background: var(--paper); border: 1.5px solid var(--teal); border-radius: 18px; padding: clamp(28px,3.5vw,40px) clamp(22px,3vw,32px); display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; }
.val-card .ico { width: 78px; height: 78px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; margin-bottom: 22px; }
.val-card .ico svg { width: 34px; height: 34px; }
.val-card h3 { font-family: var(--sans); font-weight: 700; font-size: 1.25rem; color: var(--ink); margin: 0 0 12px; line-height: 1.3; }
.val-card .desc { font-size: 0.92rem; color: var(--ink-2); line-height: 1.6; margin: 0 0 22px; flex: 1; }
.val-card .acc-label { font-weight: 700; font-size: 0.92rem; color: var(--ink); margin-bottom: 8px; }
.val-meter { width: 140px; height: 10px; border-radius: 5px; background: var(--cream-2); overflow: hidden; margin: 0 auto 24px; }
.val-meter i { display: block; height: 100%; background: var(--orange); border-radius: 5px; }
.val-card .btn { min-width: 150px; justify-content: center; }
.val-card.featured { background: var(--teal-ink); border-color: var(--teal-ink); color: #fff; transform: scale(1.04); box-shadow: var(--shadow-lg); z-index: 1; }
.val-card.featured h3 { color: #fff; }
.val-card.featured .desc { color: rgba(255,255,255,0.82); }
.val-card.featured .acc-label { color: #fff; }
.val-card.featured .val-meter { background: rgba(255,255,255,0.18); }
.val-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; white-space: nowrap; }
@media (max-width: 920px) {
  .val-grid { grid-template-columns: 1fr; gap: 28px; max-width: 460px; margin-inline: auto; }
  .val-card.featured { transform: none; order: -1; }
}

/* live property cards */
.prop-media img + .prop-img-fallback { display: none; }
.prop-body .prop-foot { margin-top: auto; }
.prop-desc { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* anchor absolutely-positioned media (gallery thumbs, similar cards) */
.gallery-thumbs .thumb { position: relative; }
.prop-img { position: relative; aspect-ratio: 16/11; overflow: hidden; display: block; background: var(--cream); }
.prop-img-wrap { position: relative; display: block; }

/* property gallery: show the full photo, letterboxed on dark, never cropped */
.gallery-main { background: var(--teal-ink); }
.gallery-main img { object-fit: contain !important; }

/* ── property gallery redesign ── */
#gallery-main { aspect-ratio: auto !important; height: clamp(380px, 58vh, 640px); max-height: none !important; background: var(--teal-ink); }
#gallery-main img { object-fit: contain !important; }
#gallery-thumbs { height: 104px; gap: 6px; padding: 6px clamp(8px, 2vw, 20px); background: var(--teal-ink); overflow-x: auto; scrollbar-width: thin; justify-content: center; }
#gallery-thumbs .thumb { flex: 0 0 150px !important; aspect-ratio: 3/2 !important; border-radius: 6px; overflow: hidden; }
@media (max-width: 700px) {
  #gallery-main { height: clamp(240px, 42vh, 380px); }
  #gallery-thumbs { height: 76px; }
  #gallery-thumbs .thumb { flex: 0 0 104px !important; }
}

/* gallery: blurred photo backdrop + constrained width */
.gallery-wrap { background: var(--teal-ink); }
#gallery-main { max-width: 1320px; margin-inline: auto; overflow: hidden; }
#gallery-main .g-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover !important; filter: blur(26px) brightness(0.62); transform: scale(1.15); }
#gallery-main img:not(.g-bg) { position: absolute; inset: 0; width: 100%; height: 100%; }
#gallery-thumbs { max-width: 1320px; margin-inline: auto; }

/* ── mosaic gallery (premium portal style) ── */
.g-mosaic { max-width: 1320px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, clamp(160px, 26vh, 300px)); gap: 8px; padding: 16px clamp(12px, 2vw, 24px); position: relative; }
.g-mosaic.g-single { grid-template-columns: 1fr; grid-template-rows: clamp(320px, 52vh, 600px); }
.g-cell { display: block; position: relative; overflow: hidden; border-radius: 12px; }
.g-hero-cell { grid-row: span 2; }
.g-mosaic.g-single .g-hero-cell { grid-row: span 1; }
.g-cell img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.g-cell:hover img { transform: scale(1.03); }
.g-viewall { position: absolute; right: clamp(24px, 3vw, 40px); bottom: 28px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.95); border: none; border-radius: 8px; padding: 10px 16px; font-family: var(--sans); font-weight: 600; font-size: 0.88rem; color: var(--ink); cursor: pointer; box-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.g-viewall:hover { background: #fff; }
@media (max-width: 820px) {
  .g-mosaic { grid-template-columns: 1fr; grid-template-rows: clamp(240px, 40vh, 360px); padding: 0; gap: 0; }
  .g-mosaic .g-cell:not(.g-hero-cell) { display: none; }
  .g-cell { border-radius: 0; }
  .g-viewall { right: 14px; bottom: 14px; }
}
/* lightbox */
.g-lightbox { position: fixed; inset: 0; z-index: 600; background: rgba(10,18,17,0.96); display: flex; align-items: center; justify-content: center; }
.g-lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 6px; }
.g-lightbox button { position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: none; cursor: pointer; border-radius: 50%; width: 52px; height: 52px; font-size: 1.8rem; line-height: 1; display: grid; place-items: center; }
.g-lightbox button:hover { background: rgba(255,255,255,0.25); }
.g-lb-close { top: 22px; right: 26px; }
.g-lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.g-lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.g-lb-count { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 0.9rem; background: rgba(255,255,255,0.12); padding: 6px 14px; border-radius: 20px; }
