/*
Theme Name: Only Homes Properties
Theme URI: https://onlyhomesproperties.co.ke
Description: Astra child theme carrying the Only Homes Properties design system (gold / ink / cream, Cormorant Garamond + Manrope). Header, homepage and footer are rendered from templates against live Estatik data.
Author: Elmenta Consulting
Template: astra
Version: 1.0.0
Text Domain: onlyhomes
*/

/* ==========================================================================
   1. Design tokens (ported from the TanStack Start build)
   ========================================================================== */
:root {
  --gold-50:#fbf6e6; --gold-100:#f5e9c3; --gold-200:#ecd795; --gold-300:#e2c566;
  --gold-400:#d9b748; --gold-500:#d4af37; --gold-600:#b8932a; --gold-700:#8f6f1e;
  --gold-800:#6a5216; --gold-900:#463713;

  --ink-50:#f4f5f7; --ink-100:#e4e7ec; --ink-200:#c4c9d1; --ink-300:#9aa0aa;
  --ink-400:#767c86; --ink-500:#565c65; --ink-600:#3a3e45; --ink-700:#2a2d32;
  --ink-800:#1e2024; --ink-850:#17181b; --ink-900:#121214; --ink-950:#0a0a0b;

  --cream-50:#fbfaf6; --cream-100:#f7f5ee; --cream-200:#efebdf; --cream-300:#e3ddcb;

  --brand:var(--gold-500); --brand-strong:var(--gold-600);
  --brand-soft:var(--gold-100); --brand-tint:var(--gold-50);

  --bg:#fff; --bg-subtle:var(--cream-100); --bg-muted:var(--cream-200);
  --surface:#fff; --surface-sunken:var(--cream-50);
  --ink-surface:var(--ink-900); --ink-surface-2:var(--ink-800);

  --text:var(--ink-900); --text-muted:var(--ink-500); --text-subtle:var(--ink-400);
  --text-gold:var(--gold-600); --text-on-dark:#f4f5f7; --text-on-gold:var(--ink-950);
  --on-ink:#f4f5f7; --on-ink-muted:#f4f5f79e;

  --border:#0a0a0b1a; --border-strong:#0a0a0b2e;
  --border-gold:#d4af3773; --border-on-ink:#ffffff1a;

  --font-sans:"Manrope",system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-serif:"Cormorant Garamond","Times New Roman",Georgia,serif;
  --font-body:var(--font-sans); --font-display:var(--font-serif);

  --fw-light:300; --fw-regular:400; --fw-medium:500;
  --fw-semibold:600; --fw-bold:700; --fw-extrabold:800;

  --text-2xs:.6875rem; --text-xs:.75rem; --text-sm:.875rem; --text-base:1rem;
  --text-md:1.0625rem; --text-lg:1.25rem; --text-xl:1.5rem;
  --text-2xl:clamp(1.75rem,1.4rem + 1.6vw,2.25rem);
  --text-3xl:clamp(2.25rem,1.7rem + 2.6vw,3rem);
  --text-4xl:clamp(2.75rem,1.9rem + 4vw,4rem);
  --text-5xl:clamp(3.5rem,2.2rem + 6vw,5.5rem);

  --leading-tight:1.08; --leading-snug:1.22; --leading-normal:1.5; --leading-relaxed:1.7;
  --tracking-tighter:-.03em; --tracking-tight:-.015em;
  --tracking-wide:.04em; --tracking-wider:.12em; --tracking-widest:.24em;

  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem;
  --space-5:1.25rem; --space-6:1.5rem; --space-8:2rem; --space-10:2.5rem;
  --space-12:3rem; --space-16:4rem; --space-20:5rem; --space-24:6rem;

  --radius-xs:4px; --radius-sm:7px; --radius-md:10px; --radius-lg:14px;
  --radius-xl:20px; --radius-2xl:28px; --radius-pill:999px;

  --container:1240px; --container-wide:1440px; --container-narrow:760px;
  --gutter:clamp(1.25rem,.5rem + 3vw,3rem);
  --section-y:clamp(4rem,2.5rem + 7vw,8rem);
  --section-y-sm:clamp(2.5rem,1.5rem + 4vw,4.5rem);

  --shadow-xs:0 1px 2px #0a0a0b0f;
  --shadow-sm:0 2px 6px #0a0a0b12,0 1px 2px #0a0a0b0d;
  --shadow-md:0 8px 24px -8px #0a0a0b29,0 2px 6px #0a0a0b0f;
  --shadow-lg:0 22px 48px -16px #0a0a0b38,0 6px 14px #0a0a0b14;
  --shadow-xl:0 40px 80px -24px #0a0a0b52,0 10px 24px #0a0a0b1a;
  --shadow-card:0 18px 40px -22px #4637134d,0 4px 10px #0a0a0b0d;
  --glow-gold:0 8px 28px -8px #d4af378c;
  --inset-gold:inset 0 0 0 1px #d4af3759;
  --focus-ring:0 0 0 3px #d4af3773;

  --gradient-gold:linear-gradient(135deg,#f7e7a8 0%,#d4af37 38%,#b8932a 62%,#8f6f1e 100%);
  --gradient-ink:linear-gradient(180deg,#1e2024 0%,#0a0a0b 100%);
  --gradient-ink-radial:radial-gradient(120% 120% at 50% 0%,#25282e 0%,#121214 45%,#0a0a0b 100%);
  --scrim-full:linear-gradient(180deg,#0a0a0b8c 0%,#0a0a0b33 45%,#0a0a0bd9 100%);
  --scrim-bottom:linear-gradient(180deg,#0a0a0b00 0%,#0a0a0b0d 40%,#0a0a0bd1 100%);

  --dur-fast:.12s; --dur-base:.2s; --dur-slow:.36s;
  --ease-out:cubic-bezier(.16,1,.3,1);
  --ease-emphasized:cubic-bezier(.2,.8,.2,1);

  --status-sale:var(--gold-500); --status-rent:#2c6cb5;
  --status-new:#2e7d5b; --status-sold:var(--ink-400);
}

/* ==========================================================================
   2. Base + Astra resets
   ========================================================================== */
body, .ast-container, body.ast-separate-container {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: var(--leading-normal);
}
body.ast-separate-container { background-color: var(--bg); }
.site-content .ast-container { max-width: none; padding: 0; }
.ast-separate-container .ast-article-single,
.ast-separate-container .site-content > .ast-container { padding: 0; background: none; }
#content .ast-container { display: block; }

h1,h2,h3,h4 { font-family: var(--font-display); font-weight: var(--fw-medium); letter-spacing: var(--tracking-tight); line-height: var(--leading-snug); color: var(--text); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-xs); }

.oh-container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.oh-container--wide { max-width: var(--container-wide); }
.oh-container--narrow { max-width: var(--container-narrow); }

.oh-eyebrow {
  display: inline-block; font-family: var(--font-sans); font-size: var(--text-xs);
  font-weight: var(--fw-bold); letter-spacing: var(--tracking-wider);
  text-transform: uppercase; color: var(--text-gold);
}
.oh-section { padding-block: var(--section-y); }
.oh-section--sunken { background: var(--surface-sunken); }
.oh-section--ink { background: var(--gradient-ink-radial); color: var(--on-ink); }
.oh-section--ink h2, .oh-section--ink h3 { color: var(--on-ink); }

.oh-section__head { max-width: 720px; margin-bottom: var(--space-12); }
.oh-section__title { font-size: var(--text-3xl); margin: var(--space-3) 0 var(--space-4); }
.oh-section__sub { color: var(--text-muted); font-size: var(--text-md); margin: 0; }
.oh-section--ink .oh-section__sub { color: var(--on-ink-muted); }

.oh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wide); padding: .875rem 1.75rem;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background var(--dur-base);
}
.oh-btn:hover { transform: translateY(-2px); }
.oh-btn--gold { background: var(--gradient-gold); color: var(--text-on-gold); box-shadow: var(--glow-gold); }
.oh-btn--ink { background: var(--ink-950); color: var(--on-ink); }
.oh-btn--ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.oh-btn--on-ink { background: transparent; border-color: var(--border-on-ink); color: var(--on-ink); }
.oh-btn--on-ink:hover { background: #ffffff14; }

/* ==========================================================================
   3. Header
   ========================================================================== */
.ohh {
  position: sticky; top: 0; z-index: 60;
  background: transparent;
  border-top: 2px solid transparent;
  border-bottom: 1px solid #ffffff1a;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}

/* Overlay mode: the hero scrolls underneath the header. */
.ohh--overlay { position: fixed; inset-inline: 0; }
.ohh--static  { background: var(--ink-950); }

.ohh--solid {
  background: #121212;
  border-top-color: var(--brand);
  border-bottom-color: transparent;
  box-shadow: 0 12px 32px -18px #0000008c;
}

.ohh__inner {
  position: relative;
  display: flex; align-items: center; gap: var(--space-6);
  height: 78px;
  transition: height .25s var(--ease-out);
}
.ohh--solid .ohh__inner { height: 70px; }

.ohh__brand { display: inline-flex; align-items: center; gap: var(--space-3); margin-inline-end: auto; flex-shrink: 0; }
.ohh__brand img { height: 36px; width: auto; display: block; }
.ohh__brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.ohh__brand-name { font-family: var(--font-display); font-size: 20px; font-weight: var(--fw-semibold); letter-spacing: .05em; color: #fff; }
.ohh__brand-eyebrow { font-family: var(--font-sans); font-size: 9px; font-weight: var(--fw-bold); letter-spacing: .3em; text-transform: uppercase; color: var(--brand); margin-top: 3px; }

/* Nav is optically centred in the bar, independent of logo width. */
.ohh__nav {
  position: absolute; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 30px;
}
.ohh__link {
  position: relative; padding: 6px 0; border: 0; background: none;
  font-family: var(--font-sans); font-size: 12px; font-weight: var(--fw-semibold);
  letter-spacing: .14em; text-transform: uppercase;
  color: #fff; transition: color var(--dur-base);
}
.ohh--solid .ohh__link { color: #ffffffb8; }
.ohh__link:hover, .ohh__link.is-active { color: var(--brand); }

.ohh__actions { display: flex; align-items: center; gap: var(--space-5); margin-inline-start: auto; flex-shrink: 0; }

.ohh__phone { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; line-height: 1.1; }
.ohh__phone-eyebrow { font-size: 9px; font-weight: var(--fw-bold); letter-spacing: .22em; text-transform: uppercase; color: var(--brand); }
.ohh__phone-num { font-family: var(--font-display); font-size: 15px; font-weight: var(--fw-medium); color: #fff; }

.ohh__icons { display: flex; align-items: center; gap: 14px; padding-inline-start: var(--space-5); border-inline-start: 1px solid #ffffff2e; }
.ohh--solid .ohh__icons { border-inline-start-color: #ffffff1a; }
.ohh__admin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border: 0; background: none; border-radius: 0;
  color: #fff; transition: color .2s;
}
.ohh--solid .ohh__admin { color: var(--brand); }
.ohh__admin:hover { color: var(--brand); }
.ohh--solid .ohh__admin:hover { color: #fff; }

/* Square gold CTA */
.ohh__book-cta .oh-btn {
  background: var(--brand); border: 0; border-radius: 0;
  padding: 12px 22px;
  font-family: var(--font-sans); font-size: 11px; font-weight: var(--fw-bold);
  letter-spacing: .15em; text-transform: uppercase;
  color: #0b0b0b;
  box-shadow: 0 10px 24px -12px #c4a6628c;
  transition: background .2s, color .2s, transform var(--dur-base) var(--ease-out);
}
.ohh--overlay:not(.ohh--solid) .ohh__book-cta .oh-btn { color: #fff; }
.ohh__book-cta .oh-btn:hover { background: #fff; color: #0b0b0b; transform: translateY(-1px); }

.ohh__burger { display: none; padding: 6px; border: 0; background: none; color: #fff; cursor: pointer; }
.ohh--solid .ohh__burger { color: var(--brand); }

@media (max-width: 1400px) { .ohh__nav { gap: 22px; } }
@media (max-width: 1240px) {
  .ohh__phone { display: none; }
  .ohh__nav { gap: 18px; }
}
@media (max-width: 1080px) {
  .ohh__nav {
    position: fixed; left: 0; right: 0; top: 78px; transform: translateY(-12px);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-950); padding: var(--space-2) var(--gutter) var(--space-6);
    border-bottom: 1px solid #ffffff1a; box-shadow: var(--shadow-lg);
    opacity: 0; pointer-events: none;
    transition: opacity var(--dur-base), transform var(--dur-base) var(--ease-out);
  }
  .ohh.is-open .ohh__nav { opacity: 1; transform: none; pointer-events: auto; }
  .ohh__link { padding: var(--space-4) 0; font-size: 13px; border-bottom: 1px solid #ffffff14; }
  .ohh__burger { display: block; }
}
@media (max-width: 640px) {
  .ohh__icons { padding-inline-start: var(--space-3); }
  .ohh__book-cta { display: none; }
}


/* ==========================================================================
   5. Property cards
   ========================================================================== */
.oh-grid { display: grid; gap: var(--space-8); grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.oh-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out), border-color var(--dur-base);
}
.oh-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--border-gold); }
.oh-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-muted); }
.oh-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.oh-card:hover .oh-card__media img { transform: scale(1.06); }
.oh-card__badges { position: absolute; top: var(--space-4); left: var(--space-4); display: flex; gap: var(--space-2); }
.oh-badge {
  font-size: var(--text-2xs); font-weight: var(--fw-extrabold); letter-spacing: var(--tracking-wider);
  text-transform: uppercase; padding: .375rem .75rem; border-radius: var(--radius-pill);
  background: #ffffffe6; color: var(--ink-800); backdrop-filter: blur(6px);
}
.oh-badge--featured { background: var(--gradient-gold); color: var(--text-on-gold); }
.oh-badge--rent { background: var(--status-rent); color: #fff; }
.oh-badge--sale { background: var(--ink-950); color: var(--on-ink); }
.oh-card__count { position: absolute; right: var(--space-4); bottom: var(--space-4); display: flex; align-items: center; gap: 6px; font-size: var(--text-2xs); font-weight: var(--fw-bold); color: #fff; background: #0a0a0b99; padding: .3rem .6rem; border-radius: var(--radius-pill); backdrop-filter: blur(4px); }
.oh-card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.oh-card__title { font-size: var(--text-lg); margin: 0; line-height: var(--leading-snug); }
.oh-card__loc { display: flex; align-items: center; gap: 6px; font-size: var(--text-sm); color: var(--text-muted); }
.oh-card__price { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--fw-semibold); color: var(--text); margin-top: auto; }
.oh-card__price span { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--text-muted); }
.oh-card__specs { display: flex; gap: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--border); font-size: var(--text-sm); color: var(--ink-600); }
.oh-card__spec { display: flex; align-items: center; gap: 6px; font-weight: var(--fw-semibold); }
.oh-card__spec svg { color: var(--text-subtle); }
.oh-card__link { position: absolute; inset: 0; z-index: 3; }

/* ==========================================================================
   6. Locations
   ========================================================================== */
.oh-locs { display: grid; gap: var(--space-5); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.oh-loc { position: relative; aspect-ratio: 3/4; border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; }
.oh-loc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--dur-slow) var(--ease-out); }
.oh-loc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim-bottom); }
.oh-loc:hover img { transform: scale(1.07); }
.oh-loc__body { position: absolute; inset-inline: 0; bottom: 0; padding: var(--space-6); color: #fff; }
.oh-loc__name { font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--fw-semibold); }
.oh-loc__count { font-size: var(--text-xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--gold-300); }

/* ==========================================================================
   7. Why us / testimonial / CTA
   ========================================================================== */
.oh-why { display: grid; gap: var(--space-16); grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 900px) { .oh-why { grid-template-columns: 1fr; } }
.oh-why__media { position: relative; border-radius: var(--radius-2xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.oh-why__chips { position: absolute; left: var(--space-6); top: var(--space-6); display: flex; flex-direction: column; gap: var(--space-2); align-items: flex-start; }
.oh-chip { background: #ffffffe6; backdrop-filter: blur(8px); border-radius: var(--radius-pill); padding: .5rem 1rem; font-size: var(--text-xs); font-weight: var(--fw-bold); box-shadow: var(--shadow-sm); }
.oh-feats { display: flex; flex-direction: column; gap: var(--space-8); margin: var(--space-10) 0; }
.oh-feat { display: grid; grid-template-columns: 44px 1fr; gap: var(--space-4); }
.oh-feat__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius-md); background: var(--brand-tint); color: var(--brand-strong); box-shadow: var(--inset-gold); }
.oh-feat__t { font-family: var(--font-sans); font-size: var(--text-md); font-weight: var(--fw-bold); margin: 0 0 var(--space-1); }
.oh-feat__d { font-size: var(--text-sm); color: var(--text-muted); margin: 0; }

.oh-quote { max-width: 820px; margin-inline: auto; text-align: center; }
.oh-quote__text { font-family: var(--font-display); font-size: var(--text-2xl); font-style: italic; line-height: var(--leading-snug); color: var(--on-ink); margin: 0 0 var(--space-8); }
.oh-quote__who { display: flex; align-items: center; justify-content: center; gap: var(--space-4); }
.oh-quote__avatar { width: 52px; height: 52px; border-radius: var(--radius-pill); background: var(--gradient-gold); color: var(--text-on-gold); display: grid; place-items: center; font-weight: var(--fw-extrabold); font-size: var(--text-sm); }
.oh-quote__name { font-weight: var(--fw-bold); font-size: var(--text-sm); color: var(--on-ink); }
.oh-quote__meta { font-size: var(--text-xs); color: var(--on-ink-muted); }

.oh-cta { text-align: center; }
.oh-cta__title { font-size: var(--text-3xl); margin: 0 0 var(--space-4); }
.oh-cta__sub { color: var(--text-muted); font-size: var(--text-md); max-width: 52ch; margin: 0 auto var(--space-10); }
.oh-cta__actions { display: flex; gap: var(--space-4); justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   8. Footer
   ========================================================================== */
.ohf { background: var(--gradient-ink); color: var(--on-ink); padding-block: var(--section-y) var(--space-8); }
.ohf__top { display: grid; gap: var(--space-12); grid-template-columns: 1.6fr repeat(3, 1fr) 1.4fr; }
@media (max-width: 1100px) { .ohf__top { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 700px) { .ohf__top { grid-template-columns: 1fr 1fr; } }
.ohf__brand img { height: 46px; width: auto; margin-bottom: var(--space-5); filter: brightness(0) invert(1); }
.ohf__tag { font-family: var(--font-display); font-size: var(--text-lg); color: var(--on-ink); margin: 0 0 var(--space-3); }
.ohf__blurb { font-size: var(--text-sm); color: var(--on-ink-muted); margin: 0 0 var(--space-6); max-width: 34ch; }
.ohf__contact { display: flex; flex-direction: column; gap: var(--space-2); font-size: var(--text-sm); }
.ohf__contact a { color: var(--on-ink-muted); transition: color var(--dur-base); }
.ohf__contact a:hover { color: var(--gold-300); }
.ohf__h { font-size: var(--text-2xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--gold-400); margin: 0 0 var(--space-5); }
.ohf__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.ohf__list a { font-size: var(--text-sm); color: var(--on-ink-muted); transition: color var(--dur-base), padding-inline-start var(--dur-base); }
.ohf__list a:hover { color: var(--on-ink); padding-inline-start: 4px; }
.ohf__news p { font-size: var(--text-sm); color: var(--on-ink-muted); margin: 0 0 var(--space-4); }
.ohf__form { display: flex; gap: var(--space-2); }
.ohf__form input { flex: 1; min-width: 0; background: #ffffff0f; border: 1px solid var(--border-on-ink); border-radius: var(--radius-pill); padding: .75rem 1.125rem; color: var(--on-ink); font-family: var(--font-sans); font-size: var(--text-sm); }
.ohf__form input::placeholder { color: #ffffff66; }
.ohf__bottom { display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: space-between; align-items: center; margin-top: var(--space-16); padding-top: var(--space-8); border-top: 1px solid var(--border-on-ink); font-size: var(--text-xs); color: var(--on-ink-muted); }
.ohf__legal { display: flex; gap: var(--space-6); }
.ohf__legal a:hover { color: var(--gold-300); }

/* ==========================================================================
   10. Locations band (refined)
   ========================================================================== */
.oh-locs-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfaf6 0%, #f4f6f9 55%, #eef1f6 100%);
}
.oh-locs__orb {
  position: absolute; z-index: -1; inset-inline-start: -160px; top: 40px;
  width: 420px; height: 420px; border-radius: 50%;
  border: 44px solid var(--gold-100); opacity: .5;
}
.oh-locs__dots {
  position: absolute; z-index: -1; inset-inline-end: 3%; top: 8%;
  width: 190px; height: 130px; opacity: .5;
  background-image: radial-gradient(var(--ink-200) 1.6px, transparent 1.6px);
  background-size: 15px 15px;
}

.oh-section__head--center { max-width: 880px; margin-inline: auto; text-align: center; }
.oh-section__title--xl { font-size: clamp(2.25rem, 1.5rem + 3.2vw, 3.5rem); font-weight: var(--fw-semibold); }
.oh-section__title--xl span { color: var(--brand); font-style: normal; }
.oh-section__head--center .oh-section__sub { margin-inline: auto; max-width: 60ch; }

/* Eyebrow as a floating chip */
.oh-chip-eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--surface); border-radius: var(--radius-pill);
  padding: .625rem 1.25rem; box-shadow: var(--shadow-sm);
  font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--fw-bold);
  letter-spacing: var(--tracking-wider); text-transform: uppercase; color: var(--ink-700);
}
.oh-chip-eyebrow svg { color: var(--brand); }

/* Trust pills */
.oh-pills {
  list-style: none; margin: var(--space-8) 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: var(--space-4); justify-content: center;
}
.oh-pill {
  display: inline-flex; align-items: center; gap: var(--space-3);
  background: var(--surface); border-radius: var(--radius-pill);
  padding: .8125rem 1.5rem; box-shadow: var(--shadow-sm);
  font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--ink-700);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.oh-pill:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.oh-pill svg { color: var(--brand); flex: none; }

/* Cards */
.oh-locs-section .oh-locs {
  margin-top: var(--space-12);
  display: grid; gap: var(--space-5);
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1240px) { .oh-locs-section .oh-locs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 780px)  { .oh-locs-section .oh-locs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px)  { .oh-locs-section .oh-locs { grid-template-columns: 1fr; } }

.oh-locs-section .oh-loc {
  aspect-ratio: 3/4.35;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out);
}
.oh-locs-section .oh-loc:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.oh-locs-section .oh-loc::after {
  background: linear-gradient(180deg, #0a0a0b00 0%, #0a0a0b1f 42%, #0a0a0be0 100%);
}

.oh-loc__badge {
  position: absolute; top: var(--space-4); inset-inline-start: var(--space-4); z-index: 2;
  font-family: var(--font-sans); font-size: var(--text-2xs); font-weight: var(--fw-extrabold);
  letter-spacing: var(--tracking-wider); text-transform: uppercase;
  padding: .4375rem .875rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
}
.oh-loc__badge--gold { background: var(--gradient-gold); color: var(--text-on-gold); }
.oh-loc__badge--ink  { background: var(--ink-900); color: var(--on-ink); }

.oh-locs-section .oh-loc__body { padding: var(--space-5); }
.oh-locs-section .oh-loc__name {
  display: block; font-family: var(--font-display); font-weight: var(--fw-bold);
  font-size: clamp(1.375rem, 1.1rem + .7vw, 1.75rem); line-height: 1.1; color: #fff;
}
.oh-loc__tag {
  display: block; margin-top: 2px; font-family: var(--font-sans);
  font-size: var(--text-sm); font-weight: var(--fw-medium); color: #ffffffc7;
}
.oh-loc__foot {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  margin-top: var(--space-4); padding-top: var(--space-4);
  border-top: 1px solid #ffffff2e;
}
.oh-locs-section .oh-loc__count {
  font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--fw-semibold);
  letter-spacing: 0; text-transform: none; color: #ffffffdb;
}
.oh-loc__go {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: var(--radius-pill);
  border: 1px solid #ffffff59; color: #fff;
  transition: background var(--dur-base), border-color var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.oh-locs-section .oh-loc:hover .oh-loc__go {
  background: var(--gradient-gold); border-color: transparent;
  color: var(--text-on-gold); transform: translateX(3px);
}

.oh-locs__cta { margin: var(--space-12) 0 0; text-align: center; }
.oh-btn--lg { padding: 1.0625rem 2.5rem; font-size: var(--text-base); }

/* ==========================================================================
   11. Featured listings (refined)
   ========================================================================== */
.oh-feat-section { background: var(--cream-50); }

/* Eyebrow with trailing rule */
.oh-eyebrow--rule { display: flex; align-items: center; gap: var(--space-4); }
.oh-eyebrow--rule::after {
  content: ""; width: 34px; height: 2px; border-radius: 2px;
  background: var(--gold-400); opacity: .85;
}

/* Title left, CTA right */
.oh-head-row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--space-8); margin-bottom: var(--space-12);
}
.oh-head-row__text { max-width: 720px; }
.oh-head-row__text .oh-section__title { margin: var(--space-3) 0 var(--space-3); }
.oh-head-row__text .oh-section__sub { margin: 0; }
.oh-head-row__cta { flex: none; }
@media (max-width: 860px) {
  .oh-head-row { flex-direction: column; align-items: flex-start; gap: var(--space-6); }
  .oh-head-row__cta { display: none; }
}

/* Gold outline button */
.oh-btn--outline-gold {
  background: var(--surface);
  border-color: var(--border-gold);
  color: var(--text);
  padding: .8125rem 1.25rem .8125rem 1.75rem;
  box-shadow: var(--shadow-xs);
}
.oh-btn--outline-gold:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-md);
  background: var(--surface);
}
.oh-btn__go {
  display: grid; place-items: center; flex: none;
  width: 34px; height: 34px; margin-inline-start: var(--space-2);
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-gold); color: var(--brand-strong);
  transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.oh-btn--outline-gold:hover .oh-btn__go {
  background: var(--gradient-gold); border-color: transparent;
  color: var(--text-on-gold); transform: translateX(2px);
}
.oh-btn__icon {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; margin-inline-end: var(--space-2);
  border-radius: var(--radius-pill);
  background: var(--gradient-gold); color: var(--text-on-gold);
  box-shadow: var(--glow-gold);
}
.oh-btn--xl {
  padding: .75rem 1.25rem .75rem .75rem;
  font-size: var(--text-md); gap: var(--space-3);
  border-radius: var(--radius-pill);
}

/* Fixed 3-up grid */
.oh-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); }
@media (max-width: 1100px) { .oh-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px)  { .oh-grid--3 { grid-template-columns: 1fr; } }

/* Card tuning to match the refinement */
.oh-feat-section .oh-card {
  border-color: #0a0a0b0f;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 18px -10px #0a0a0b26, 0 1px 3px #0a0a0b0d;
}
.oh-feat-section .oh-card:hover {
  box-shadow: 0 26px 50px -24px #46371340, 0 6px 16px #0a0a0b12;
}
.oh-feat-section .oh-card__media { aspect-ratio: 16/10; }
.oh-feat-section .oh-card__body { padding: var(--space-5); gap: var(--space-2); }
.oh-feat-section .oh-card__title { font-size: var(--text-md); font-weight: var(--fw-semibold); }
.oh-feat-section .oh-card__loc { font-size: var(--text-xs); }
.oh-feat-section .oh-card__price { font-size: var(--text-lg); margin-top: var(--space-1); }
.oh-feat-section .oh-card__specs { margin-top: var(--space-3); padding-top: var(--space-3); gap: var(--space-6); }
.oh-feat-section .oh-card__count { right: var(--space-3); bottom: var(--space-3); }

.oh-feat__cta { margin: var(--space-12) 0 0; text-align: center; }

/* ==========================================================================
   12. Why Only Homes (refined)
   ========================================================================== */
.oh-why-section { background: #fbfaf8; }
.oh-why-section .oh-why {
  grid-template-columns: 1fr 1.02fr;
  gap: clamp(2.5rem, 4vw, 5.5rem);
  align-items: center;
}
@media (max-width: 980px) { .oh-why-section .oh-why { grid-template-columns: 1fr; } }

/* Image + decorative dot grids */
.oh-why__media { position: relative; box-shadow: none; border-radius: 0; overflow: visible; }
.oh-why__frame {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 30px 60px -30px #4637134d, 0 8px 20px -12px #0a0a0b1f;
}
.oh-why__frame img { width: 100%; height: 100%; object-fit: cover; }
.oh-why__dots {
  position: absolute; z-index: -1; width: 150px; height: 110px; opacity: .75;
  background-image: radial-gradient(var(--gold-300) 1.7px, transparent 1.7px);
  background-size: 14px 14px;
}
.oh-why__dots--tl { top: -34px; inset-inline-start: -34px; }
.oh-why__dots--br { bottom: -34px; inset-inline-end: -34px; }

/* Chips */
.oh-why__chips { position: absolute; inset-inline-start: var(--space-5); top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.oh-why-section .oh-chip {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: #fff; border-radius: var(--radius-pill);
  padding: .625rem 1.125rem; box-shadow: 0 8px 20px -10px #0a0a0b40, 0 2px 4px #0a0a0b14;
  font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--fw-semibold);
  color: var(--ink-800); backdrop-filter: none;
}
.oh-why-section .oh-chip svg { color: var(--brand); flex: none; }

/* Text column */
.oh-why__title {
  font-size: clamp(2rem, 1.35rem + 2.7vw, 3.25rem);
  line-height: 1.08; letter-spacing: var(--tracking-tight);
  margin: var(--space-4) 0 var(--space-8);
  max-width: 17ch;
}

/* Feature list with hairline dividers */
.oh-why-section .oh-feats { list-style: none; margin: 0 0 var(--space-10); padding: 0; display: block; }
.oh-why-section .oh-feat {
  display: grid; grid-template-columns: 72px 1fr; gap: var(--space-5);
  align-items: start; padding-block: var(--space-6);
}
.oh-why-section .oh-feat + .oh-feat { border-top: 1px solid #0a0a0b12; }
.oh-why-section .oh-feat:first-child { padding-top: 0; }
.oh-why-section .oh-feat__icon {
  width: 72px; height: 72px; border-radius: var(--radius-lg);
  background: var(--gold-50); color: var(--brand-strong);
  box-shadow: none; display: grid; place-items: center;
}
.oh-why-section .oh-feat__icon svg { stroke-width: 1.4; }
.oh-why-section .oh-feat__t {
  font-family: var(--font-sans); font-size: var(--text-md);
  font-weight: var(--fw-bold); color: var(--ink-900);
  margin: 0 0 var(--space-2); letter-spacing: 0;
}
.oh-why-section .oh-feat__d {
  font-size: var(--text-sm); line-height: var(--leading-normal);
  color: var(--ink-500); margin: 0; max-width: 44ch;
}

/* Dark pill with gold arrow */
.oh-btn--story { padding: .75rem 1rem .75rem 1.875rem; gap: var(--space-4); font-size: var(--text-md); }
.oh-btn__go--onink { border-color: #ffffff33; color: var(--brand); width: 38px; height: 38px; margin-inline-start: 0; }
.oh-btn--story:hover .oh-btn__go--onink { background: var(--brand); border-color: transparent; color: var(--ink-950); transform: translateX(2px); }

/* ==========================================================================
   13. Closing CTA (refined)
   ========================================================================== */
.oh-cta-section { background: #fbfaf6; padding-bottom: 0; }
.oh-cta-card {
  position: relative; isolation: isolate; overflow: hidden;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-2xl);
  background: linear-gradient(180deg, #fdfcf9 0%, #faf7f0 100%);
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem) var(--gutter);
  text-align: center;
  box-shadow: 0 24px 60px -40px #46371340;
}
.oh-cta__waves {
  position: absolute; z-index: -1; top: -20%; width: 42%; height: 140%;
  opacity: .5; pointer-events: none;
  background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0 17px, var(--gold-200) 17px 18px);
}
.oh-cta__waves--l { inset-inline-start: -14%; }
.oh-cta__waves--r { inset-inline-end: -14%; }

/* Eyebrow flanked by rules on both sides */
.oh-eyebrow--rules { display: inline-flex; align-items: center; gap: var(--space-4); }
.oh-eyebrow--rules::before,
.oh-eyebrow--rules::after {
  content: ""; width: 42px; height: 2px; border-radius: 2px;
  background: var(--gold-400); opacity: .9;
}

.oh-cta__title {
  font-family: var(--font-display); font-weight: var(--fw-medium);
  font-size: clamp(1.9rem, 1.2rem + 3vw, 3.25rem);
  line-height: 1.14; letter-spacing: var(--tracking-tight);
  color: var(--ink-900); margin: var(--space-5) 0 var(--space-10);
}
.oh-cta__title em { font-style: italic; }

.oh-cta-section .oh-cta__actions { display: flex; gap: var(--space-5); justify-content: center; flex-wrap: wrap; }
.oh-btn--cta { padding: 1.0625rem 2.25rem; font-size: var(--text-md); gap: var(--space-3); letter-spacing: 0; }
.oh-btn--cta svg { flex: none; }
.oh-btn--outline-gold.oh-btn--cta { border-width: 1px; color: var(--ink-900); }
.oh-btn--outline-gold.oh-btn--cta svg { color: var(--brand-strong); }

/* ==========================================================================
   14. Footer (refined)
   ========================================================================== */
.ohf { background: #0d0d0d; color: var(--on-ink); padding-block: var(--section-y) var(--space-8); }
.ohf__top {
  display: grid; gap: clamp(2rem, 3vw, 4rem);
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.25fr;
}
@media (max-width: 1200px) { .ohf__top { grid-template-columns: 1fr 1fr 1fr; } .ohf__brand { grid-column: 1 / -1; } }
@media (max-width: 640px)  { .ohf__top { grid-template-columns: 1fr 1fr; } }

/* Logo lockup */
.ohf__lockup { display: inline-flex; flex-direction: column; align-items: flex-start; }
.ohf__mark { color: var(--brand); margin-bottom: var(--space-3); }
.ohf__wordmark {
  font-family: var(--font-sans); font-size: clamp(1.375rem, 1.2rem + .5vw, 1.75rem);
  font-weight: var(--fw-light); letter-spacing: .16em; text-transform: uppercase; color: #fff;
}
.ohf__lockup-rule { width: 68px; height: 2px; background: var(--brand); margin: var(--space-3) 0; }
.ohf__sub {
  font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--fw-medium);
  letter-spacing: .34em; text-transform: uppercase; color: var(--brand);
}

.ohf__blurb { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: #ffffffb3; margin: var(--space-6) 0; max-width: 36ch; }

.ohf__contact { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.ohf__contact li { display: flex; align-items: center; gap: var(--space-3); font-size: var(--text-sm); color: #ffffffcc; }
.ohf__contact svg { color: var(--brand); flex: none; }
.ohf__contact a { color: inherit; transition: color var(--dur-base); }
.ohf__contact a:hover { color: var(--brand); }

.ohf__social { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-3); }
.ohf__social a {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: var(--radius-pill); border: 1px solid #ffffff2e; color: #fff;
  transition: border-color var(--dur-base), background var(--dur-base), color var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.ohf__social a:hover { border-color: var(--brand); background: var(--brand); color: var(--ink-950); transform: translateY(-2px); }

/* Columns */
.ohf__h {
  font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--fw-semibold);
  letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
  margin: 0 0 var(--space-6);
}
.ohf__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); }
.ohf__list a { font-size: var(--text-base); color: #ffffffd6; transition: color var(--dur-base), padding-inline-start var(--dur-base); }
.ohf__list a:hover { color: var(--brand); padding-inline-start: 4px; }

/* Newsletter: stacked full-width field + button */
.ohf__news p { font-size: var(--text-sm); line-height: var(--leading-relaxed); color: #ffffffb3; margin: 0 0 var(--space-5); max-width: 34ch; }
.ohf__form { display: flex; flex-direction: column; gap: var(--space-4); max-width: 320px; }
.ohf__form input {
  width: 100%; background: #ffffff0a; border: 1px solid #ffffff2e;
  border-radius: var(--radius-pill); padding: 1rem 1.375rem;
  color: #fff; font-family: var(--font-sans); font-size: var(--text-sm);
  transition: border-color var(--dur-base), background var(--dur-base);
}
.ohf__form input::placeholder { color: #ffffff73; }
.ohf__form input:focus { border-color: var(--border-gold); background: #ffffff12; outline: none; }
.ohf__form .oh-btn { width: 100%; padding: 1rem 1.5rem; font-size: var(--text-base); letter-spacing: 0; }

/* Bottom bar */
.ohf__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-6);
  flex-wrap: wrap; margin-top: var(--space-16); padding-top: var(--space-8);
  border-top: 1px solid #ffffff1f;
}
.ohf__copy { font-size: var(--text-sm); color: #ffffff8c; margin: 0; }
.ohf__legal { display: flex; align-items: center; gap: var(--space-5); margin-inline-start: auto; }
.ohf__legal a { position: relative; font-size: var(--text-sm); color: #ffffffcc; transition: color var(--dur-base); }
.ohf__legal a + a::before {
  content: ""; position: absolute; inset-inline-start: calc(var(--space-5) / -2);
  top: 50%; transform: translateY(-50%); width: 1px; height: 14px; background: #ffffff33;
}
.ohf__legal a:hover { color: var(--brand); }
.ohf__totop {
  display: grid; place-items: center; width: 46px; height: 46px; flex: none;
  border-radius: var(--radius-pill); border: 1px solid var(--border-gold);
  background: transparent; color: var(--brand); cursor: pointer;
  transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base) var(--ease-out);
}
.ohf__totop:hover { background: var(--brand); color: var(--ink-950); transform: translateY(-3px); }
@media (max-width: 700px) { .ohf__legal { margin-inline-start: 0; } }

/* ==========================================================================
   9. Motion
   ========================================================================== */
.oh-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.oh-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .oh-reveal { opacity: 1; transform: none; }
}


/* ==========================================================================
   HERO REDESIGN (2026) - navy token
   ========================================================================== */
:root { --navy:#0b1c33; --navy-2:#0f2340; }

/* ---- Header: light (white) variant, homepage above the hero ---- */
.ohh--light { position: sticky; top: 0; background: #fff; border-top: 2px solid var(--brand); border-bottom: 1px solid var(--border); box-shadow: 0 6px 24px -20px #0a0a0b40; }
.ohh--light .ohh__inner { height: 90px; }
.ohh--light .ohh__brand img { height: 44px; }
.ohh--light .ohh__link { color: var(--ink-700); }
.ohh--light .ohh__link:hover { color: var(--brand-strong); }
.ohh--light .ohh__link.is-active { color: var(--ink-900); }
.ohh--light .ohh__link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--brand); border-radius: 2px; }
.ohh--light .ohh__phone { flex-direction: row; align-items: center; gap: var(--space-3); }
.ohh--light .ohh__phone-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--radius-pill); background: var(--gold-50); color: var(--brand-strong); }
.ohh--light .ohh__phone-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.ohh--light .ohh__phone-eyebrow { color: var(--text-gold); }
.ohh--light .ohh__phone-num { color: var(--ink-900); }
.ohh--light .ohh__icons { border-inline-start-color: var(--border); }
.ohh--light .ohh__admin { color: var(--ink-600); }
.ohh--light .ohh__admin:hover { color: var(--brand-strong); }
.ohh--light .ohh__book-cta .oh-btn { background: var(--gradient-gold); color: var(--text-on-gold); border-radius: var(--radius-pill); box-shadow: var(--glow-gold); padding: 12px 24px; letter-spacing: .06em; }
.ohh--light .ohh__book-cta .oh-btn:hover { background: var(--gradient-gold); color: var(--text-on-gold); transform: translateY(-2px); }
.ohh--light .ohh__burger { color: var(--ink-800); }
@media (max-width: 1080px) {
  .ohh--light .ohh__nav { top: 90px; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .ohh--light .ohh__link { color: var(--ink-800); border-bottom: 1px solid var(--border); }
  .ohh--light .ohh__link.is-active::after { display: none; }
}
body.home .hero { padding-top: 0; }

/* ---- Hero: full-bleed image (right), content left ---- */
.hero { position: relative; background: var(--surface); overflow: hidden; }
.hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 58%; z-index: 0; border-radius: 0; box-shadow: none; }
.hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, var(--surface) 0%, rgba(255,255,255,0.92) 10%, rgba(255,255,255,0) 44%); }
.hero__inner { position: relative; z-index: 2; display: flex; align-items: center; min-height: clamp(260px, 26vh, 320px); padding-block: clamp(1.25rem, 1rem + 1vw, 2.25rem); }
.hero__content { max-width: 44rem; }
.hero__eyebrow { color: var(--text-gold); letter-spacing: var(--tracking-wider); }
.hero__title { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.25rem); line-height: 1.08; letter-spacing: var(--tracking-tighter); color: var(--ink-900); margin: 0 0 var(--space-5); max-width: 24ch; }
.hero__title em { font-style: italic; color: var(--brand-strong); font-weight: var(--fw-medium); }
.hero__sub { font-family: var(--font-sans); font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--text-muted); max-width: 42ch; margin: 0 0 var(--space-10); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.oh-btn--hero { padding: 1rem 1.75rem; font-size: var(--text-sm); min-height: 52px; }
.oh-btn--hero-outline { background: var(--surface); border-color: var(--border-strong); color: var(--ink-900); }
.oh-btn--hero-outline:hover { border-color: var(--brand); box-shadow: var(--shadow-md); background: var(--surface); }
.oh-btn--hero-outline svg { color: var(--brand-strong); }

/* Search card connected to navy stats bar, overlapping image bottom */
.hero__panel { position: relative; z-index: 3; margin-top: clamp(0.75rem, 0.4rem + 0.7vw, 1.5rem); padding-bottom: clamp(1.25rem, 1rem + 1vw, 2rem); }
.oh-hsearch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: var(--space-3); background: var(--surface); border: 1px solid var(--border); border-bottom: 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; box-shadow: var(--shadow-xl); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.oh-hsearch__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.oh-hsearch__label { font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-subtle); padding-inline-start: 2px; }
.oh-hsearch__control { display: flex; align-items: center; gap: var(--space-2); height: 52px; padding: 0 var(--space-4); background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--radius-md); transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.oh-hsearch__control:focus-within { border-color: var(--brand); box-shadow: var(--focus-ring); }
.oh-hsearch__control svg { color: var(--brand-strong); flex: none; }
.oh-hsearch__control select, .oh-hsearch__control input { width: 100%; min-width: 0; border: 0; background: none; font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text); appearance: none; }
.oh-hsearch__control input { cursor: text; }
.oh-hsearch__control input::placeholder { color: var(--text-subtle); font-weight: var(--fw-medium); }
.oh-hsearch__submit { height: 52px; padding-inline: var(--space-6); white-space: nowrap; align-self: end; }

.hero__stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); background: var(--navy); border-radius: 0 0 var(--radius-xl) var(--radius-xl); padding: clamp(0.85rem, 0.65rem + 0.6vw, 1.2rem) clamp(1.5rem, 1rem + 2vw, 3rem); margin: 0 clamp(0px, 3vw, 3.75rem); box-shadow: var(--shadow-lg); }
.hero__stat { display: flex; align-items: center; gap: var(--space-4); justify-content: center; position: relative; }
.hero__stat + .hero__stat::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; transform: translateY(-50%); width: 1px; height: 46px; background: #ffffff1f; }
.hero__stat-ico { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: var(--radius-md); background: #ffffff0f; color: var(--gold-300); }
.hero__stat-n { display: block; font-family: var(--font-display); font-size: var(--text-2xl); font-weight: var(--fw-semibold); line-height: 1; color: #fff; }
.hero__stat-l { display: block; margin-top: 4px; font-family: var(--font-sans); font-size: var(--text-2xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: #ffffffb3; }

/* Tablet */
@media (max-width: 1080px) {
  .hero__media { position: absolute; inset: 0; width: 100%; height: 100%; }
  .hero__media::before { display: block; background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 38%, rgba(255,255,255,0.76) 58%, rgba(255,255,255,0.55) 100%); }
  .hero__inner { position: relative; z-index: 2; min-height: clamp(380px, 62vw, 560px); padding-block: clamp(2rem, 1.2rem + 4vw, 3.5rem) 0; }
  .hero__content { max-width: none; }
  .hero__panel { position: relative; z-index: 3; margin-top: var(--space-8); }
  .oh-hsearch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .oh-hsearch__submit { grid-column: 1 / -1; }
  .hero__stats-bar { grid-template-columns: repeat(2, 1fr); gap: var(--space-6); row-gap: var(--space-8); margin-inline: 0; }
  .hero__stat + .hero__stat::before { display: none; }
}

/* Mobile */
@media (max-width: 600px) {
  .hero__title { font-size: clamp(2rem, 1.4rem + 3vw, 2.75rem); max-width: none; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .oh-btn--hero { width: 100%; }
  .oh-hsearch { grid-template-columns: 1fr; }
  .oh-hsearch__submit { grid-column: auto; }
  .hero__stats-bar { grid-template-columns: 1fr 1fr; padding-inline: var(--space-5); }
  .hero__stat { justify-content: flex-start; }
}

/* ---- Header (light): desktop nav in normal flow, centered, never overlaps ---- */
@media (min-width: 1081px) {
  .ohh--light .ohh__inner { gap: var(--space-4); }
  .ohh--light .ohh__brand { margin-inline-end: 0; flex: none; }
  .ohh--light .ohh__nav { position: static; left: auto; transform: none; margin-inline: auto; gap: clamp(16px, 1.35vw, 30px); }
  .ohh--light .ohh__actions { margin-inline-start: 0; flex: none; }
}

/* CALL US visible sitewide (light header) down to 1201px */
@media (min-width: 1201px) { .ohh--light .ohh__phone { display: flex; } }

/* compact phone icon tablet-mobile: icon-only tap-to-call */
@media (max-width: 1200px) {
  .ohh--light .ohh__phone { display: flex; }
  .ohh--light .ohh__phone-text { display: none; }
}

/* ---- Featured cards fuller design (heart, desc, view button) + tighter spacing ---- */
.oh-eyebrow__inner { display: inline-flex; align-items: center; gap: 6px; }
.oh-eyebrow__inner svg { color: var(--brand); }
.oh-card__media { position: relative; }
.oh-card__media-link { display: block; position: absolute; inset: 0; z-index: 1; }
.oh-card__fav { position: absolute; top: var(--space-4); right: var(--space-4); z-index: 4; }
.oh-card__fav ul, .oh-card__fav .es-control { list-style: none; margin: 0; padding: 0; display: block; }
.oh-card__fav .es-btn__wishlist, .oh-card__fav .es-btn { display: grid; place-items: center; width: 40px; height: 40px; min-width: 0; padding: 0; border: 0; border-radius: 50%; background: #ffffffe8; box-shadow: var(--shadow-sm); color: var(--ink-600); transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base) var(--ease-out); }
.oh-card__fav .es-btn__wishlist:hover, .oh-card__fav .es-btn__wishlist.es-btn--active { background: var(--brand); color: #fff; transform: translateY(-1px); }
.oh-card__fav .es-btn__label { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.oh-card__fav .es-icon_heart { font-size: 17px; line-height: 1; }
.oh-feat-section .oh-card__body { gap: var(--space-2); }
.oh-feat-section .oh-card__loc { order: -1; margin-bottom: 0; }
.oh-card__title a { color: inherit; transition: color var(--dur-base); }
.oh-card:hover .oh-card__title a, .oh-card__title a:hover { color: var(--brand-strong); }
.oh-card__desc { font-size: var(--text-sm); line-height: var(--leading-normal); color: var(--text-muted); margin: 2px 0 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oh-feat-section .oh-card__price { margin-top: auto; }
.oh-card__btn { width: 100%; margin-top: var(--space-4); justify-content: center; padding: .8125rem 1.25rem; }
.oh-card__btn .oh-btn__go { margin-inline-start: var(--space-2); }
.oh-feat-section { padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4rem); }
.oh-locs-section { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4rem); }

/* ---- Testimonials (Client Stories) slider ---- */
.oh-tst-section { background: radial-gradient(130% 120% at 50% 0%, #143059 0%, #0b1c33 55%, #081428 100%); overflow: hidden; }
.oh-tst { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
@media (max-width: 900px) { .oh-tst { grid-template-columns: 1fr; gap: var(--space-10); } }
.oh-tst__media { position: relative; }
.oh-tst__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-2xl); aspect-ratio: 4 / 4.4; box-shadow: 0 30px 70px -30px #00000099; }
@media (max-width: 900px) { .oh-tst__media img { aspect-ratio: 16 / 11; } }
.oh-tst__trust { position: absolute; left: clamp(0.75rem, 2vw, 1.5rem); bottom: clamp(0.75rem, 2vw, 1.5rem); right: clamp(2.5rem, 8vw, 5rem); display: flex; align-items: center; gap: var(--space-4); background: #0a1729d9; backdrop-filter: blur(8px); border: 1px solid #ffffff26; border-radius: var(--radius-lg); padding: var(--space-4) var(--space-5); }
.oh-tst__trust-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: var(--radius-md); background: var(--gradient-gold); color: var(--ink-950); box-shadow: var(--glow-gold); }
.oh-tst__trust-main { font-family: var(--font-sans); font-size: var(--text-sm); color: #fff; line-height: 1.35; }
.oh-tst__trust-main strong { font-weight: var(--fw-bold); }
.oh-tst__trust-sub { display: block; margin-top: 3px; font-family: var(--font-serif); font-style: italic; font-size: var(--text-sm); color: var(--gold-300); }
.oh-tst__content { min-width: 0; }
.oh-eyebrow--on-ink { color: var(--gold-400); }
.oh-eyebrow--on-ink.oh-eyebrow--rule::after { background: var(--gold-500); opacity: .55; }
.oh-tst__viewport { position: relative; margin-top: var(--space-6); min-height: clamp(300px, 34vh, 360px); }
.oh-tst__slide { display: none; }
.oh-tst__slide.is-active { display: block; animation: ohTstFade .5s var(--ease-out); }
@keyframes ohTstFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.oh-tst__stars { display: inline-flex; gap: 5px; margin-bottom: var(--space-5); }
.oh-tst__stars svg { fill: var(--gold-400); }
.oh-tst__quote { position: relative; font-family: var(--font-display); font-style: italic; font-weight: var(--fw-regular); font-size: clamp(1.375rem, 1rem + 1.35vw, 1.9rem); line-height: 1.5; color: #eef1f6; margin: 0 0 var(--space-8); padding-left: clamp(1.75rem, 3vw, 2.75rem); }
.oh-tst__quote::before { content: "\201C"; position: absolute; left: -0.08em; top: -0.3em; font-family: Georgia, "Times New Roman", serif; font-size: 3.4em; line-height: 1; color: var(--gold-500); opacity: .55; }
.oh-tst__author { display: flex; align-items: center; gap: var(--space-4); }
.oh-tst__avatar { display: grid; place-items: center; width: 62px; height: 62px; flex: none; border-radius: 50%; background: #12294a; border: 2px solid var(--gold-500); font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-lg); letter-spacing: .02em; color: var(--gold-300); }
.oh-tst__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.oh-tst__name { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-sans); font-size: var(--text-md); font-weight: var(--fw-bold); color: #fff; }
.oh-tst__badge { display: inline-grid; place-items: center; color: var(--gold-400); }
.oh-tst__role { font-family: var(--font-serif); font-style: italic; font-size: var(--text-sm); color: #ffffffb3; }
.oh-tst__loc { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: var(--fw-medium); color: var(--gold-300); }
.oh-tst__loc svg { color: var(--gold-400); flex: none; }
.oh-tst__nav { display: flex; align-items: center; justify-content: center; gap: var(--space-8); margin-top: var(--space-8); padding-top: var(--space-6); border-top: 1px solid #ffffff1f; }
.oh-tst__arrow { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1px solid var(--gold-500); background: transparent; color: var(--gold-400); cursor: pointer; transition: background var(--dur-base), color var(--dur-base), border-color var(--dur-base), transform var(--dur-base) var(--ease-out); }
.oh-tst__arrow:hover { background: var(--gradient-gold); color: var(--ink-950); border-color: transparent; transform: translateY(-2px); }
.oh-tst__count { font-family: var(--font-sans); font-size: var(--text-md); font-weight: var(--fw-bold); color: #ffffff73; letter-spacing: .06em; }
.oh-tst__count-cur { color: var(--gold-400); font-size: var(--text-lg); }
.oh-tst__count-sep { margin: 0 4px; }

/* ==========================================================================
   Single property page (Estatik) - Only Homes restyle
   ========================================================================== */
body.single-properties { background: var(--cream-50); }
body.single-properties .es-single { max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); padding-block: clamp(1.5rem, 1rem + 2vw, 3rem); font-family: var(--font-sans); color: var(--text); }
body.single-properties .es-single p, body.single-properties .es-single li, body.single-properties .es-single span, body.single-properties .es-single a, body.single-properties .es-single label, body.single-properties .es-single input, body.single-properties .es-single select, body.single-properties .es-single textarea, body.single-properties .es-single td, body.single-properties .es-single th { font-family: var(--font-sans); }

/* Breadcrumbs */
body.single-properties .es-breadcrumbs { font-size: var(--text-sm); color: var(--text-subtle); margin-bottom: var(--space-5); }
body.single-properties .es-breadcrumbs a { color: var(--text-muted); transition: color var(--dur-base); }
body.single-properties .es-breadcrumbs a:hover { color: var(--brand-strong); }

/* Gallery (subtle framing, no overflow clipping of controls) */
body.single-properties .es-gallery { border-radius: var(--radius-xl); box-shadow: var(--shadow-md); }
body.single-properties .es-gallery img { border-radius: var(--radius-lg); }

/* Header card */
body.single-properties .es-single__header { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-sm); margin-top: var(--space-6); }
body.single-properties .es-single__header-terms { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); }
body.single-properties .es-single__header-terms a, body.single-properties .es-single__header-terms > span { font-size: var(--text-2xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--brand-strong); background: var(--gold-50); border: 1px solid var(--border-gold); border-radius: var(--radius-pill); padding: .3rem .75rem; line-height: 1.6; }
body.single-properties .es-single__title, body.single-properties .es-single__header h1, body.single-properties .es-single__header h2 { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.12; letter-spacing: var(--tracking-tight); color: var(--ink-900); margin: 0 0 var(--space-3); }
body.single-properties .es-price, body.single-properties .es-price-container, body.single-properties .es-price-container .es-price { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem); color: var(--brand-strong); line-height: 1.1; }
body.single-properties .es-btn--request-info { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); background: var(--gradient-gold); color: var(--text-on-gold); border: 0; border-radius: var(--radius-pill); padding: .9rem 1.75rem; font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; font-size: var(--text-sm); box-shadow: var(--glow-gold); cursor: pointer; transition: transform var(--dur-base) var(--ease-out); }
body.single-properties .es-btn--request-info:hover { transform: translateY(-2px); color: var(--text-on-gold); }

/* Save / Share controls */
body.single-properties .es-single__header .es-control, body.single-properties .es-single__header .es-control li { list-style: none; margin: 0; padding: 0; }
body.single-properties .es-single__header .es-btn:not(.es-btn--request-info) { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: .55rem 1rem; color: var(--ink-700); font-weight: var(--fw-semibold); font-size: var(--text-sm); transition: border-color var(--dur-base), color var(--dur-base); }
body.single-properties .es-single__header .es-btn:not(.es-btn--request-info):hover { border-color: var(--brand); color: var(--brand-strong); }
body.single-properties .es-single__header .es-btn--active { border-color: var(--brand); color: var(--brand-strong); background: var(--gold-50); }

/* Section cards */
body.single-properties .es-property-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-sm); margin-top: var(--space-6); }
body.single-properties .es-property-section__title { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--text-2xl); color: var(--ink-900); margin: 0 0 var(--space-5); padding-bottom: var(--space-3); border-bottom: 1px solid var(--border); position: relative; }
body.single-properties .es-property-section__title::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 56px; height: 2px; background: var(--gradient-gold); }

/* Basic facts as a clean two-column grid */
body.single-properties .es-property_section--basic-facts .es-property-section__content { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0 var(--space-10); }
body.single-properties .es-property-field { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding: .7rem 0; border-bottom: 1px solid var(--border); font-size: var(--text-sm); }
body.single-properties .es-property-field > span:first-child, body.single-properties .es-property-field label { color: var(--text-muted); font-weight: var(--fw-medium); }
body.single-properties .es-property-field > span:last-child { color: var(--ink-900); font-weight: var(--fw-semibold); text-align: right; }

/* Description */
body.single-properties .es-property_section--description .es-property-section__content { font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--ink-700); }

/* Features / amenities */
body.single-properties .es-property_section--features ul { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--space-3); }
body.single-properties .es-property_section--features li { position: relative; padding-left: 1.9rem; font-size: var(--text-sm); color: var(--ink-700); line-height: 1.5; }
body.single-properties .es-property_section--features li::before { content: ""; position: absolute; left: 0; top: .1em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-50); box-shadow: inset 0 0 0 1px var(--border-gold); }
body.single-properties .es-property_section--features li::after { content: ""; position: absolute; left: 6px; top: .45em; width: 8px; height: 5px; border-left: 2px solid var(--brand-strong); border-bottom: 2px solid var(--brand-strong); transform: rotate(-45deg); }

/* Enquiry form */
body.single-properties .es-field__input { width: 100%; font-size: var(--text-sm); color: var(--text); background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--radius-md); padding: .8rem 1rem; transition: border-color var(--dur-base), box-shadow var(--dur-base); }
body.single-properties .es-field__input:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus-ring); background: var(--surface); }
body.single-properties textarea.es-field__input { min-height: 120px; resize: vertical; }
body.single-properties .es-request-form label { font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--ink-800); }
body.single-properties .es-request-form .es-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--gradient-gold); color: var(--text-on-gold); border: 0; border-radius: var(--radius-pill); padding: .95rem 2rem; font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; font-size: var(--text-sm); box-shadow: var(--glow-gold); cursor: pointer; transition: transform var(--dur-base) var(--ease-out); }
body.single-properties .es-request-form .es-btn:hover { transform: translateY(-2px); color: var(--text-on-gold); }

/* Powered / footer nav */
body.single-properties .es-powered { font-size: var(--text-xs); color: var(--text-subtle); margin-top: var(--space-8); text-align: center; }

/* ==========================================================================
   Custom single property (two-column) - .ohp
   ========================================================================== */
body.single-properties #oh-main.ohp-page { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem); background: var(--cream-50); }
.ohp__crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: var(--text-sm); color: var(--text-subtle); margin-bottom: var(--space-6); }
.ohp__crumbs a { color: var(--text-muted); } .ohp__crumbs a:hover { color: var(--brand-strong); }
.ohp__crumbs > span { color: var(--border-strong); } .ohp__crumbs-cur { color: var(--ink-800); font-weight: var(--fw-semibold); }
.ohp__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: start; }
@media (max-width: 1024px) { .ohp__grid { grid-template-columns: 1fr; } }
.ohp__gallery { position: relative; }
.ohp__badges { position: absolute; top: var(--space-4); left: var(--space-4); z-index: 5; display: flex; gap: var(--space-2); }
.ohp__gallery .es-gallery, .ohp__gallery img { border-radius: var(--radius-xl); }
.ohp__head { margin-top: var(--space-6); }
.ohp__loc { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--brand-strong); margin: 0 0 var(--space-2); }
.ohp__loc svg { color: var(--brand); }
.ohp__title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.ohp__title { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); line-height: 1.1; color: var(--ink-900); margin: 0; }
.ohp__title-actions .es-control { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--space-3); }
.ohp__title-actions .es-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--radius-pill); padding: .6rem 1.1rem; color: var(--ink-700); font-weight: var(--fw-semibold); font-size: var(--text-sm); }
.ohp__title-actions .es-btn:hover, .ohp__title-actions .es-btn--active { border-color: var(--brand); color: var(--brand-strong); }
.ohp__title-actions .es-btn__label { position: static !important; width: auto; height: auto; clip: auto; margin: 0; }
.ohp__facts { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-6); margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--border); }
.ohp__fact { display: inline-flex; align-items: center; gap: 8px; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--ink-700); }
.ohp__fact svg { color: var(--brand-strong); }
.ohp__block { margin-top: var(--space-8); }
.ohp__h { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--text-2xl); color: var(--ink-900); margin: 0 0 var(--space-4); }
.ohp__prose { font-size: var(--text-md); line-height: var(--leading-relaxed); color: var(--ink-700); }
.ohp__prose p { margin: 0 0 var(--space-4); }
.ohp__highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-6); }
@media (max-width: 680px) { .ohp__highlights { grid-template-columns: repeat(2, 1fr); } }
.ohp__highlight { display: flex; align-items: center; gap: var(--space-3); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4); }
.ohp__highlight-ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: var(--radius-md); background: var(--gold-50); color: var(--brand-strong); box-shadow: var(--inset-gold); }
.ohp__highlight-t { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--fw-bold); color: var(--ink-900); }
.ohp__tabs { margin-top: var(--space-10); }
.ohp__tabnav { display: flex; flex-wrap: wrap; gap: var(--space-6); border-bottom: 1px solid var(--border); }
.ohp__tab { background: none; border: 0; padding: 0 0 var(--space-3); margin-bottom: -1px; font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); color: var(--text-muted); cursor: pointer; border-bottom: 2px solid transparent; transition: color var(--dur-base), border-color var(--dur-base); }
.ohp__tab:hover { color: var(--ink-900); }
.ohp__tab.is-active { color: var(--brand-strong); border-bottom-color: var(--brand); }
.ohp__panels { padding-top: var(--space-6); }
.ohp__panel { display: none; }
.ohp__panel.is-active { display: block; animation: ohTstFade .4s var(--ease-out); }
.ohp__specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--space-10); }
@media (max-width: 560px) { .ohp__specs { grid-template-columns: 1fr; } }
.ohp__spec { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); padding: .7rem 0; border-bottom: 1px solid var(--border); font-size: var(--text-sm); }
.ohp__spec-k { color: var(--text-muted); font-weight: var(--fw-medium); }
.ohp__spec-v { color: var(--ink-900); font-weight: var(--fw-semibold); }
.ohp__ticks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--space-3); }
.ohp__ticks li { position: relative; padding-left: 1.9rem; font-size: var(--text-sm); color: var(--ink-700); }
.ohp__ticks li::before { content: ""; position: absolute; left: 0; top: .05em; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-50); box-shadow: inset 0 0 0 1px var(--border-gold); }
.ohp__ticks li::after { content: ""; position: absolute; left: 6px; top: .42em; width: 8px; height: 5px; border-left: 2px solid var(--brand-strong); border-bottom: 2px solid var(--brand-strong); transform: rotate(-45deg); }
.ohp__panel--map > *, .ohp__panel--map iframe { width: 100%; min-height: 340px; border: 0; border-radius: var(--radius-lg); }
.ohp__aside { position: sticky; top: 100px; }
@media (max-width: 1024px) { .ohp__aside { position: static; } }
.ohp__card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-2xl); box-shadow: var(--shadow-md); padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.ohp__agent { display: flex; align-items: center; gap: var(--space-4); }
.ohp__avatar { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 50%; border: 2px solid var(--gold-500); background: var(--gold-50); font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-xl); color: var(--brand-strong); }
.ohp__agent-info { display: flex; flex-direction: column; gap: 2px; }
.ohp__agent-name { font-family: var(--font-sans); font-size: var(--text-md); font-weight: var(--fw-bold); color: var(--ink-900); }
.ohp__agent-role { font-size: var(--text-2xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--brand-strong); }
.ohp__agent-rating { display: inline-flex; align-items: center; gap: 5px; font-size: var(--text-sm); color: var(--text-muted); }
.ohp__agent-rating svg { fill: var(--gold-400); }
.ohp__agent-link { display: inline-flex; align-items: center; gap: 6px; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--brand-strong); margin: var(--space-4) 0 var(--space-5); }
.ohp__agent-link:hover { color: var(--gold-700); }
.ohp__btn { display: flex; align-items: center; justify-content: center; gap: var(--space-2); width: 100%; padding: 1rem 1.5rem; border-radius: var(--radius-md); font-family: var(--font-sans); font-weight: var(--fw-bold); font-size: var(--text-md); margin-bottom: var(--space-3); transition: transform var(--dur-base) var(--ease-out); }
.ohp__btn--gold { background: var(--gradient-gold); color: var(--text-on-gold); box-shadow: var(--glow-gold); }
.ohp__btn--wa { background: #111214; color: #fff; }
.ohp__btn:hover { transform: translateY(-2px); }
.ohp__form { margin-top: var(--space-5); padding-top: var(--space-5); border-top: 1px solid var(--border); }
body.single-properties .ohp__form .es-btn { width: 100%; }
.ohp__contact { margin-top: var(--space-5); background: var(--surface-sunken); border-radius: var(--radius-lg); padding: var(--space-5); }
.ohp__contact-h { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--fw-semibold); color: var(--ink-900); margin: 0 0 var(--space-3); }
.ohp__contact-h svg { color: var(--brand-strong); }
.ohp__contact p { margin: 0 0 6px; font-size: var(--text-sm); color: var(--ink-700); }
.ohp__contact a:hover { color: var(--brand-strong); }

/* Sidebar enquiry form blended into light card */
.ohp__form .es-request-form, .ohp__form .es-request-form--sidebar { background: transparent !important; padding: 0 !important; box-shadow: none !important; color: var(--text); }
.ohp__form .es-widget__title { display: none; }
.ohp__form-h { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--text-xl); color: var(--ink-900); margin: 0 0 var(--space-4); }
.ohp__form .es-request-form__fields { display: flex; flex-direction: column; gap: var(--space-4); }
.ohp__form .es-field { margin: 0; }
.ohp__form .es-field__label { display: block; margin-bottom: 6px; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--ink-800); }
.ohp__form .es-component { font-size: var(--text-xs); line-height: 1.45; color: var(--text-subtle); margin: var(--space-2) 0 var(--space-3); }

/* form label contrast fix (Estatik sidebar form on light card) */
.ohp__form .es-field__label, .ohp__form .es-field label, .ohp__form label { color: var(--ink-800) !important; }
.ohp__form .es-component, .ohp__form .es-component * { color: var(--text-subtle) !important; }
.ohp__form .es-request-form__fields, .ohp__form .es-field__input { color: var(--text); }

/* Compact sticky sidebar (single property) */
.ohp__aside { top: 84px; }
.ohp__card { padding: var(--space-5); }
.ohp__agent { gap: var(--space-3); }
.ohp__avatar { width: 48px; height: 48px; font-size: var(--text-lg); }
.ohp__agent-link { margin: var(--space-3) 0 var(--space-4); }
.ohp__btn { padding: .8rem 1.25rem; font-size: var(--text-sm); margin-bottom: var(--space-2); }
.ohp__form { margin-top: var(--space-4); padding-top: var(--space-4); }
.ohp__form-h { font-size: var(--text-lg); margin-bottom: var(--space-3); }
.ohp__form .es-request-form__fields { gap: var(--space-3); }
.ohp__form .es-field__input { padding: .65rem .85rem; }
.ohp__form textarea.es-field__input { min-height: 84px; }
.ohp__form .es-component { margin: var(--space-1) 0 var(--space-2); }
.ohp__contact { margin-top: var(--space-4); padding: var(--space-4); }
.ohp__contact p { margin-bottom: 4px; }

/* sticky fix: body overflow must not create a scroll container (single property) */
body.single-properties { overflow: visible !important; }
html:has(body.single-properties) { overflow: visible !important; }
.ohp__aside { position: sticky; top: 84px; align-self: start; }

/* Full-width gallery above grid (single property) */
.ohp__gallery { position: relative; margin-bottom: var(--space-8); }
.ohp__gallery .es-slider, .ohp__gallery .es-slider img, .ohp__gallery img { border-radius: var(--radius-xl); }
.ohp__gallery .es-slider__item img, .ohp__gallery .es-slider img { width: 100%; max-height: 600px; object-fit: cover; }
.ohp__grid { align-items: start; }

/* sticky card inside stretched column (single property sidebar) */
.ohp__grid { align-items: stretch; }
.ohp__aside { position: static; display: flex; flex-direction: column; gap: var(--space-4); }
.ohp__card { position: sticky; top: 84px; align-self: start; width: 100%; }
.ohp__contact { margin-top: 0; }
/* trim the sticky card a touch more */
.ohp__btn { padding: .75rem 1.25rem; margin-bottom: var(--space-2); }
.ohp__form .es-request-form__fields { gap: var(--space-3); }
.ohp__form textarea.es-field__input { min-height: 76px; }

/* aggressive sticky-card trim so it fits laptop viewports */
.ohp__card { padding: var(--space-4); }
.ohp__avatar { width: 44px; height: 44px; font-size: var(--text-md); }
.ohp__agent { gap: var(--space-3); }
.ohp__agent-name { font-size: var(--text-sm); }
.ohp__agent-role { font-size: var(--text-2xs); }
.ohp__agent-link { margin: var(--space-2) 0 var(--space-3); font-size: var(--text-xs); }
.ohp__btn { padding: .6rem 1rem; font-size: var(--text-sm); margin-bottom: 7px; }
.ohp__form { margin-top: var(--space-3); padding-top: var(--space-3); }
.ohp__form-h { font-size: var(--text-md); margin-bottom: var(--space-2); }
.ohp__form .es-request-form__fields { gap: 9px; }
.ohp__form .es-field__label { margin-bottom: 3px; font-size: var(--text-xs); }
.ohp__form .es-field__input { padding: .5rem .75rem; }
.ohp__form textarea.es-field__input { min-height: 58px; }
.ohp__form .es-component { font-size: 11px; line-height: 1.35; margin: 6px 0; }
.ohp__form .es-btn { padding: .7rem 1.25rem; }

/* final sticky-card compaction */
.ohp__card { padding: var(--space-3) var(--space-4); }
.ohp__agent { margin-bottom: var(--space-3); }
.ohp__btn { padding: .55rem 1rem; margin-bottom: 6px; }
.ohp__form { margin-top: var(--space-3); padding-top: var(--space-3); }
.ohp__form .es-request-form__fields { gap: 7px; }
.ohp__form .es-field__label { margin-bottom: 2px; }
.ohp__form .es-field__input { padding: .48rem .7rem; }
.ohp__form textarea.es-field__input { min-height: 46px; }
.ohp__form .es-component { font-size: 10.5px; line-height: 1.3; margin: 4px 0; }
.ohp__form .es-btn { padding: .65rem 1.25rem; }

/* floating labels via placeholders (sidebar form) */
.ohp__form .es-field__label { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ohp__form .es-field__input::placeholder { color: var(--text-subtle); opacity: 1; }
.ohp__form .es-request-form__fields { gap: 10px; }
.ohp__form .es-field__input { padding: .6rem .8rem; }
.ohp__form textarea.es-field__input { min-height: 64px; }

/* ==========================================================================
   Buy / Rent listings page (.ohl)
   ========================================================================== */
.ohl-page { background: var(--cream-50); overflow-x: clip; }
.ohl-hero { background: radial-gradient(120% 130% at 50% 0%, #143059 0%, #0b1c33 60%, #08152a 100%); padding-block: clamp(2.25rem, 1.5rem + 4vw, 4.5rem); }
.ohl-hero__eyebrow { color: var(--gold-400); }
.ohl-hero__title { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.08; color: #fff; margin: var(--space-2) 0 0; }
.ohl-body { padding-block: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.ohl-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 2.5rem); align-items: start; }
@media (max-width: 980px) { .ohl-grid { grid-template-columns: 1fr; } }

/* Sidebar filters */
.ohl-sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: var(--space-6); box-shadow: var(--shadow-sm); position: sticky; top: 84px; }
@media (max-width: 980px) { .ohl-sidebar { position: static; } }
.ohl-sidebar__h { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--text-xl); color: var(--ink-900); margin: 0 0 var(--space-5); padding-bottom: var(--space-3); border-bottom: 1px solid var(--border); }
.ohl-sidebar .es-search, .ohl-sidebar .es-form, .ohl-sidebar form { background: transparent !important; padding: 0 !important; box-shadow: none !important; border: 0 !important; }
.ohl-sidebar .es-widget__title, .ohl-sidebar .es-search__title { display: none; }
.ohl-sidebar .es-field { margin-bottom: var(--space-4); }
.ohl-sidebar .es-field__label { display: block; margin-bottom: 6px; font-size: var(--text-xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-subtle); }
.ohl-sidebar .es-field__input { width: 100%; background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--radius-md); padding: .7rem .9rem; font-size: var(--text-sm); color: var(--text); }
.ohl-sidebar .es-field__input:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus-ring); }
.ohl-sidebar .es-field-row__range { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.ohl-sidebar .es-btn--primary, .ohl-sidebar button[type="submit"] { width: 100%; background: var(--gradient-gold); color: var(--text-on-gold); border: 0; border-radius: var(--radius-pill); padding: .85rem 1.5rem; font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; font-size: var(--text-sm); box-shadow: var(--glow-gold); cursor: pointer; margin-top: var(--space-4); transition: transform var(--dur-base) var(--ease-out); }
.ohl-sidebar .es-btn--primary:hover { transform: translateY(-2px); }

/* Results top bar */
.ohl-main .es-listings-filter { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-6); padding-bottom: var(--space-4); border-bottom: 1px solid var(--border); }
.ohl-main .es-title { display: none; }
.ohl-main .es-total { font-family: var(--font-sans); font-size: var(--text-md); font-weight: var(--fw-bold); color: var(--ink-900); }
.ohl-main .es-form { margin-inline-start: auto; }
.ohl-main .es-field__sort .es-field__label { display: none; }
.ohl-main .es-field__sort .es-field__input { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: .5rem 1rem; font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--ink-800); }
.ohl-main .es-control--layouts { display: flex; gap: 3px; list-style: none; margin: 0; padding: 3px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-pill); }
.ohl-main .es-control--layouts li { display: flex; }
.ohl-main .es-control--layouts .es-btn { width: 36px; height: 34px; display: grid; place-items: center; border: 0; background: none; border-radius: var(--radius-pill); color: var(--ink-500); }
.ohl-main .es-control--layouts .es-btn--active { background: var(--ink-900); color: #fff; }

/* Listings grid */
.ohl-main .es-listings { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: var(--space-6); }
@media (max-width: 640px) { .ohl-main .es-listings { grid-template-columns: 1fr; } }
.ohl-main .es-listings--list .es-listings, .ohl-main .es-listings.es-listings--list { grid-template-columns: 1fr; }

/* Listing cards */
.ohl-page .es-listing { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out); }
.ohl-page .es-listing:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.ohl-page .es-listing__image { position: relative; aspect-ratio: 16 / 11; overflow: hidden; background: var(--bg-muted); }
.ohl-page .es-listing__image img { width: 100%; height: 100%; object-fit: cover; }
.ohl-page .es-badges { position: absolute; top: var(--space-3); left: var(--space-3); display: flex; gap: 6px; z-index: 2; }
.ohl-page .es-badge { font-size: var(--text-2xs); font-weight: var(--fw-extrabold); letter-spacing: var(--tracking-wide); text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--radius-pill); background: var(--ink-950); color: #fff; }
.ohl-page .es-badge.es-badge--featured, .ohl-page .es-badge--label { background: var(--gradient-gold); color: var(--text-on-gold); }
.ohl-page .es-control--property-image { position: absolute; top: var(--space-3); right: var(--space-3); z-index: 3; margin: 0; }
.ohl-page .es-control--property-image .es-control, .ohl-page .es-control--property-image ul { list-style: none; margin: 0; padding: 0; }
.ohl-page .es-btn__wishlist { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #ffffffe8; color: var(--ink-600); box-shadow: var(--shadow-sm); }
.ohl-page .es-btn__wishlist:hover, .ohl-page .es-btn__wishlist.es-btn--active { background: var(--brand); color: #fff; }
.ohl-page .es-btn__wishlist .es-btn__label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ohl-page .es-listing__content { padding: var(--space-5); flex: 1; display: flex; flex-direction: column; }
.ohl-page .es-listing__content__inner { display: block; }
.ohl-page .es-listing__title { font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--fw-semibold); line-height: var(--leading-snug); color: var(--ink-900); margin: 0 0 var(--space-1); }
.ohl-page .es-listing__title a { color: inherit; transition: color var(--dur-base); }
.ohl-page .es-listing__title a:hover { color: var(--brand-strong); }
.ohl-page .es-address { display: block; font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 var(--space-3); }
.ohl-page .es-price { display: block; font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--fw-semibold); color: var(--brand-strong); margin: 0 0 var(--space-3); }
.ohl-page .es-excerpt { font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 var(--space-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ohl-page .es-listing__meta { display: flex; flex-wrap: wrap; gap: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--border); margin-top: auto; font-size: var(--text-sm); color: var(--ink-600); }
.ohl-page .es-listing__meta > * { display: inline-flex; align-items: center; gap: 5px; font-weight: var(--fw-semibold); }
.ohl-page .es-listing__footer, .ohl-page .es-listing__terms { padding: 0 var(--space-5) var(--space-4); }

/* Select2 theming (gold) - applies to all styled dropdowns */
.select2-dropdown { border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; }
.select2-container--default .select2-results__option { font-family: var(--font-sans); font-size: var(--text-sm); color: var(--ink-800); padding: .6rem .9rem; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted { background-color: var(--gold-50) !important; color: var(--ink-900) !important; }
.select2-container--default .select2-results__option[aria-selected="true"] { background-color: var(--brand) !important; color: var(--text-on-gold) !important; }
.select2-search--dropdown .select2-search__field { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: .5rem .6rem; }

/* Sidebar Select2 boxes match the field styling */
.ohl-sidebar .select2-container { width: 100% !important; }
.ohl-sidebar .select2-container--default .select2-selection--single { height: auto; min-height: 44px; display: flex; align-items: center; background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--radius-md); padding: .35rem .9rem; }
.ohl-sidebar .select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--text); font-weight: var(--fw-semibold); font-size: var(--text-sm); line-height: 1.5; padding: 0; }
.ohl-sidebar .select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; top: 0; right: 10px; }
.ohl-sidebar .select2-container--default.select2-container--open .select2-selection--single { border-color: var(--brand); box-shadow: var(--focus-ring); }
.ohl-sidebar .es-field-row__range { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.ohl-sidebar .es-field { margin-bottom: var(--space-5); }
.ohl-sidebar .es-field:last-child { margin-bottom: 0; }

/* sidebar bedroom pills + location input */
.ohl-sidebar .es-field__from_bedrooms > .es-field-row { display: flex; flex-wrap: wrap; gap: 6px; }
.ohl-sidebar .es-field--radio-item-bordered { flex: 0 0 auto; margin: 0; padding: 0; }
.ohl-sidebar .es-radio--bordered { position: relative; display: block; }
.ohl-sidebar .es-radio--bordered input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.ohl-sidebar .es-radio--bordered label { display: block; margin: 0; min-width: 42px; padding: .45rem .8rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--ink-700); cursor: pointer; text-align: center; transition: background var(--dur-base), border-color var(--dur-base), color var(--dur-base); }
.ohl-sidebar .es-radio--bordered:hover label { border-color: var(--brand); }
.ohl-sidebar .es-radio--bordered input:checked + label { background: var(--brand); border-color: var(--brand); color: #fff; }
.ohl-sidebar .js-es-address { width: 100%; background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--radius-md); padding: .7rem .9rem; font-size: var(--text-sm); color: var(--text); }
.ohl-sidebar .js-es-address:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus-ring); }
.ohl-sidebar .es-search__address { position: relative; display: block; }
.ohl-sidebar .es-search__address button[type="submit"] { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; min-width: 0; padding: 0; display: grid; place-items: center; background: var(--gradient-gold); color: var(--text-on-gold); border: 0; border-radius: var(--radius-md); box-shadow: none; margin: 0; }
.ohl-sidebar .es-field__address { margin-bottom: 0; }

/* Price on single property head */
.ohp__price--single { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); color: var(--brand-strong); line-height: 1.1; margin: var(--space-3) 0 0; }
.ohp__price--single span { font-family: var(--font-sans); font-size: var(--text-md); font-weight: var(--fw-medium); color: var(--text-muted); }

/* Listing cards match featured design (Buy/Rent) */
.ohl-page .es-listing__image .es-badges { position: absolute; top: var(--space-3); left: var(--space-3); }
.ohl-page .es-listing__content { padding: var(--space-5); display: flex; flex-direction: column; }
.ohl-page .es-listing__content__inner { display: block; }
.ohl-page .es-listing__content__left { display: flex; flex-direction: column; }
.ohl-page .es-address { order: 1; margin: 0 0 var(--space-1); color: var(--brand-strong); font-weight: var(--fw-semibold); font-size: var(--text-sm); }
.ohl-page .es-listing__title { order: 2; font-family: var(--font-display); font-size: var(--text-lg); font-weight: var(--fw-semibold); line-height: var(--leading-snug); margin: 0 0 var(--space-2); }
.ohl-page .es-excerpt { order: 3; display: -webkit-box !important; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--text-sm); color: var(--text-muted); margin: 0 0 var(--space-3); }
.ohl-page .es-listing__content .es-badges { order: 4; position: static; display: block; margin: 0 0 var(--space-3); padding: 0; }
.ohl-page .es-listing__content .es-badges .es-price, .ohl-page .es-listing__content__left .es-price { display: block; background: none; padding: 0; font-family: var(--font-display); font-size: var(--text-xl); font-weight: var(--fw-semibold); color: var(--brand-strong); }
.ohl-page .es-listing__meta { order: 5; display: flex; flex-wrap: wrap; gap: var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--border); font-size: var(--text-sm); color: var(--ink-600); }
.ohl-page .es-listing__meta > * { display: inline-flex; align-items: center; gap: 5px; font-weight: var(--fw-semibold); }

/* View Property button (injected) */
.ohl-view-btn { display: flex; align-items: center; justify-content: center; gap: var(--space-2); width: 100%; margin-top: var(--space-4); padding: .75rem 1.25rem; border: 1px solid var(--border-gold); border-radius: var(--radius-pill); background: var(--surface); color: var(--ink-900); font-family: var(--font-sans); font-weight: var(--fw-bold); font-size: var(--text-sm); letter-spacing: var(--tracking-wide); transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.ohl-view-btn:hover { border-color: var(--brand); box-shadow: var(--shadow-md); color: var(--ink-900); }
.ohl-view-btn__go { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; border: 1px solid var(--border-gold); color: var(--brand-strong); transition: background var(--dur-base), color var(--dur-base), border-color var(--dur-base); }
.ohl-view-btn:hover .ohl-view-btn__go { background: var(--gradient-gold); color: var(--text-on-gold); border-color: transparent; }

/* Hide Powered by Estatik */
.es-powered { display: none !important; }

/* Listing pagination */
.ohl-main .es-pagination, .ohl-main .es-properties__pagination, .ohl-main nav.pagination, .ohl-main .pagination, .ohl-main .es-listings__pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; align-items: center; margin-top: var(--space-8); padding: 0; list-style: none; }
.ohl-main .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .65rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--ink-700); font-family: var(--font-sans); font-weight: var(--fw-semibold); font-size: var(--text-sm); text-decoration: none; transition: border-color var(--dur-base), color var(--dur-base), background var(--dur-base); }
.ohl-main a.page-numbers:hover { border-color: var(--brand); color: var(--brand-strong); }
.ohl-main .page-numbers.current { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.ohl-main .page-numbers.dots { border: 0; background: none; min-width: 24px; }
.ohl-main .page-numbers.next, .ohl-main .page-numbers.prev { color: var(--brand-strong); }

/* Pagination horizontal fix (ul.page-numbers is a list container, not a button) */
.ohl-main .es-pagination { display: flex !important; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: var(--space-8); }
.ohl-main ul.page-numbers { display: flex !important; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; border: 0 !important; background: none !important; min-width: 0 !important; height: auto !important; }
.ohl-main ul.page-numbers > li { margin: 0; padding: 0; display: flex; }
.ohl-main li .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 .6rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--ink-700); font-weight: var(--fw-semibold); font-size: var(--text-sm); text-decoration: none; transition: border-color var(--dur-base), color var(--dur-base), background var(--dur-base); }
.ohl-main li a.page-numbers:hover { border-color: var(--brand); color: var(--brand-strong); }
.ohl-main li .page-numbers.current { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.ohl-main .es-pagination__info, .ohl-main .es-total--pagination { font-size: var(--text-sm); color: var(--text-muted); font-weight: var(--fw-semibold); }

/* ==========================================================================
   Blog listing (.ohb)
   ========================================================================== */
.ohb-page { background: var(--cream-50); }
.ohb-hero { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(1.5rem, 1rem + 2vw, 3rem); text-align: center; }
.ohb-hero__eyebrow { color: var(--text-gold); }
.ohb-hero__title { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); line-height: 1.08; color: var(--ink-900); margin: var(--space-3) 0; }
.ohb-hero__sub { max-width: 48ch; margin: 0 auto; font-family: var(--font-sans); font-size: var(--text-md); color: var(--text-muted); }
.ohb-body { padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.ohb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8); }
@media (max-width: 1000px) { .ohb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ohb-grid { grid-template-columns: 1fr; } }
.ohb-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur-slow) var(--ease-out), box-shadow var(--dur-slow) var(--ease-out); }
.ohb-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.ohb-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-muted); }
.ohb-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-slow) var(--ease-out); }
.ohb-card:hover .ohb-card__media img { transform: scale(1.05); }
.ohb-card__ph { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 4rem; font-weight: var(--fw-semibold); color: var(--gold-300); background: var(--gradient-ink-radial); }
.ohb-card__cat { position: absolute; top: var(--space-4); left: var(--space-4); font-family: var(--font-sans); font-size: var(--text-2xs); font-weight: var(--fw-extrabold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-on-gold); background: var(--gradient-gold); padding: .35rem .75rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.ohb-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--space-6); }
.ohb-card__meta { display: flex; align-items: center; gap: var(--space-2); font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--fw-semibold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-subtle); margin-bottom: var(--space-3); }
.ohb-card__dot { color: var(--brand); }
.ohb-card__title { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--text-xl); line-height: 1.2; margin: 0 0 var(--space-3); }
.ohb-card__title a { color: var(--ink-900); transition: color var(--dur-base); }
.ohb-card__title a:hover { color: var(--brand-strong); }
.ohb-card__excerpt { font-family: var(--font-sans); font-size: var(--text-sm); line-height: var(--leading-relaxed); color: var(--text-muted); margin: 0 0 var(--space-5); }
.ohb-card__more { display: inline-flex; align-items: center; gap: var(--space-2); margin-top: auto; font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); color: var(--brand-strong); }
.ohb-card__go { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--border-gold); color: var(--brand-strong); transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base) var(--ease-out); }
.ohb-card__more:hover .ohb-card__go { background: var(--gradient-gold); color: var(--text-on-gold); border-color: transparent; transform: translateX(2px); }
.ohb-empty { text-align: center; color: var(--text-muted); font-size: var(--text-md); padding-block: var(--space-16); }
/* blog pagination (horizontal) */
.ohb-pagination { margin-top: var(--space-12); }
.ohb-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.ohb-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .7rem; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface); color: var(--ink-700); font-weight: var(--fw-semibold); font-size: var(--text-sm); text-decoration: none; transition: border-color var(--dur-base), color var(--dur-base), background var(--dur-base); }
.ohb-pagination a.page-numbers:hover { border-color: var(--brand); color: var(--brand-strong); }
.ohb-pagination .page-numbers.current { background: var(--ink-900); color: #fff; border-color: var(--ink-900); }
.ohb-pagination .page-numbers svg { display: block; }

/* ==========================================================================
   Single blog post (.ohs)
   ========================================================================== */
.ohs-page { background: var(--surface); }
.ohs-head { background: var(--cream-50); padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); text-align: center; }
.ohs-back { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--text-muted); margin-bottom: var(--space-5); }
.ohs-back:hover { color: var(--brand-strong); }
.ohs-cat { display: inline-block; font-family: var(--font-sans); font-size: var(--text-2xs); font-weight: var(--fw-extrabold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-on-gold); background: var(--gradient-gold); padding: .35rem .8rem; border-radius: var(--radius-pill); margin-bottom: var(--space-4); }
.ohs-title { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: clamp(2rem, 1.4rem + 2.8vw, 3.25rem); line-height: 1.1; letter-spacing: var(--tracking-tight); color: var(--ink-900); margin: 0 auto var(--space-5); max-width: 22ch; }
.ohs-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-3); font-family: var(--font-sans); font-size: var(--text-sm); color: var(--text-muted); }
.ohs-meta__author { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--fw-semibold); color: var(--ink-800); }
.ohs-avatar { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-50); border: 1px solid var(--border-gold); font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-sm); color: var(--brand-strong); }
.ohs-meta__dot { color: var(--border-strong); }
.ohs-hero { margin-block: clamp(1.5rem, 1rem + 2vw, 2.5rem); max-width: 980px; }
.ohs-hero img { width: 100%; height: auto; border-radius: var(--radius-2xl); box-shadow: var(--shadow-lg); }
.ohs-content { padding-block: clamp(1rem, .5rem + 2vw, 2.5rem) clamp(3rem, 2rem + 4vw, 5rem); }

/* Prose */
.ohs-prose { font-family: var(--font-sans); font-size: 1.0625rem; line-height: var(--leading-relaxed); color: var(--ink-700); }
.ohs-prose > * + * { margin-top: var(--space-5); }
.ohs-prose h2 { font-family: var(--font-display); font-weight: var(--fw-medium); font-size: var(--text-2xl); line-height: 1.2; color: var(--ink-900); margin-top: var(--space-10); }
.ohs-prose h3 { font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-xl); color: var(--ink-900); margin-top: var(--space-8); }
.ohs-prose h4 { font-family: var(--font-sans); font-weight: var(--fw-bold); font-size: var(--text-md); color: var(--ink-900); margin-top: var(--space-6); }
.ohs-prose a { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.ohs-prose a:hover { color: var(--gold-700); }
.ohs-prose strong { color: var(--ink-900); font-weight: var(--fw-bold); }
.ohs-prose ul, .ohs-prose ol { padding-inline-start: 1.4em; }
.ohs-prose li + li { margin-top: var(--space-2); }
.ohs-prose ul li::marker { color: var(--brand); }
.ohs-prose blockquote { margin: var(--space-8) 0; padding: var(--space-2) 0 var(--space-2) var(--space-6); border-inline-start: 3px solid var(--brand); font-family: var(--font-display); font-style: italic; font-size: var(--text-xl); line-height: var(--leading-snug); color: var(--ink-900); }
.ohs-prose img { border-radius: var(--radius-lg); height: auto; }
.ohs-prose figure { margin: var(--space-8) 0; }
.ohs-prose figcaption { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--text-subtle); text-align: center; }
.ohs-prose hr { border: 0; border-top: 1px solid var(--border); margin: var(--space-10) 0; }
.ohs-prose code { font-family: ui-monospace, monospace; font-size: .9em; background: var(--surface-sunken); padding: .1em .4em; border-radius: var(--radius-xs); }
.ohs-prose blockquote > * + * { margin-top: var(--space-3); }

.ohs-tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--border); }
.ohs-tag { font-family: var(--font-sans); font-size: var(--text-sm); font-weight: var(--fw-semibold); color: var(--ink-700); background: var(--surface-sunken); border: 1px solid var(--border); border-radius: var(--radius-pill); padding: .35rem .9rem; }
.ohs-tag:hover { border-color: var(--brand); color: var(--brand-strong); }

.ohs-authorbox { display: flex; gap: var(--space-4); align-items: center; margin-top: var(--space-8); padding: var(--space-6); background: var(--surface-sunken); border-radius: var(--radius-xl); }
.ohs-authorbox__avatar { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--gold-50); border: 2px solid var(--border-gold); font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: var(--text-lg); color: var(--brand-strong); }
.ohs-authorbox__name { display: block; margin-bottom: 2px; font-family: var(--font-sans); font-weight: var(--fw-bold); font-size: var(--text-md); color: var(--ink-900); }
.ohs-authorbox__bio { margin: 0; font-size: var(--text-sm); color: var(--text-muted); }

.ohs-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-block: 0 clamp(3rem, 2rem + 4vw, 5rem); }
@media (max-width: 640px) { .ohs-postnav { grid-template-columns: 1fr; } }
.ohs-postnav__link { display: flex; flex-direction: column; gap: 4px; padding: var(--space-5); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.ohs-postnav__link:hover { border-color: var(--brand); box-shadow: var(--shadow-md); }
.ohs-postnav__link--next { text-align: right; }
.ohs-postnav__label { font-family: var(--font-sans); font-size: var(--text-xs); font-weight: var(--fw-bold); letter-spacing: var(--tracking-wide); text-transform: uppercase; color: var(--text-gold); }
.ohs-postnav__title { font-family: var(--font-display); font-size: var(--text-md); font-weight: var(--fw-semibold); color: var(--ink-900); }
