/* ============================================================
   Businessbook Theme4 — Estate Gallery (real estate)
   LOOK extract: Brandbox Editorial Luxury (theme1) / Mayukha gold-on-navy
   Structure/contract: Businessbook theme3 (Designer Studio Pro blocks)
   Fonts: Playfair Display (display) + Poppins (body) via theme.json
   Independent of Brandbox runtime — lives under themes/businessbook only.
   ============================================================ */

:root {
  /* Mayukha / Editorial Luxury defaults (palette overrides via --color-*) */
  --ink: #e8e2d8;
  --ink-soft: #8b8070;
  --teal: #0b1526;
  --teal-deep: #060c18;
  --teal-mid: #122038;
  --mint: color-mix(in srgb, #c9a55c 14%, transparent);
  --mint-strong: color-mix(in srgb, #c9a55c 28%, transparent);
  --mint-pale: #121a2a;
  --ivory: #060c18;
  --white: #ffffff;
  --gold: #c9a55c;
  --gold-light: #dcc07a;
  --gold-dark: #a67c2d;
  --line: color-mix(in srgb, #c9a55c 28%, transparent);
  --shadow: 0 8px 40px rgba(6, 12, 24, 0.45);
  --shadow-soft: 0 4px 24px rgba(6, 12, 24, 0.28);
  --shadow-gold: 0 4px 30px color-mix(in srgb, #c9a55c 25%, transparent);
  --shadow-card: 0 8px 40px color-mix(in srgb, #060c18 35%, transparent);
  /* Balanced Mayukha gold — warm brass midtones (avoid muddy dark / washed pale ends) */
  --gradient-gold: linear-gradient(
    135deg,
    #a67c2d 0%,
    #b8923f 26%,
    #c9a55c 52%,
    #d4b56a 78%,
    #e0c57a 100%
  );
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --container: min(1240px, calc(100vw - 48px));
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-accent: "Playfair Display", Georgia, serif;
  --nav-link-tracking: 0.055em;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --navbar-edge: color-mix(in srgb, #c9a55c 22%, transparent);
  --navbar-bg: linear-gradient(
    180deg,
    color-mix(in srgb, #0b1526 97%, transparent) 0%,
    color-mix(in srgb, #060c18 92%, transparent) 45%,
    color-mix(in srgb, #060c18 88%, transparent) 100%
  );
  --navbar-bg-scrolled: linear-gradient(
    180deg,
    color-mix(in srgb, #0b1526 99%, transparent) 0%,
    color-mix(in srgb, #060c18 98%, transparent) 100%
  );
  --navbar-shadow: 0 10px 40px color-mix(in srgb, #060c18 50%, transparent);
  --navbar-shadow-scrolled: 0 6px 32px color-mix(in srgb, #060c18 55%, transparent);
  --hero-scrim-top: color-mix(in srgb, #060c18 35%, transparent);
  --hero-scrim-bottom: color-mix(in srgb, #060c18 82%, transparent);
  /* Sticky header is in-flow — keep only a light top breath. */
  --hero-top-clearance: clamp(4px, 1vh, 12px);
  --gray-100: #f6f6f6;
  --gray-200: #eaeaea;
  --gray-500: #888888;
}

/* Admin palette bridge — Editorial Luxury token map */
body.site-theme-theme4 {
  --ink: var(--color-text, #e8e2d8);
  --ink-soft: var(--color-muted, #8b8070);
  /* Chrome / dark bands use surface+bg; CTAs use gold tokens */
  --teal: var(--color-surface, #0b1526);
  --teal-deep: var(--color-bg, #060c18);
  --teal-mid: color-mix(in srgb, var(--color-surface, #0b1526) 72%, var(--color-text, #e8e2d8));
  --mint: var(--color-primary-soft, color-mix(in srgb, var(--color-primary, #c9a55c) 14%, transparent));
  --mint-strong: var(--color-secondary-soft, color-mix(in srgb, var(--color-primary, #c9a55c) 28%, transparent));
  --mint-pale: color-mix(in srgb, var(--color-surface, #0b1526) 92%, var(--color-text, #e8e2d8));
  --ivory: var(--color-bg, #060c18);
  /* Cards stay light on dark pages unless surface is already light */
  --white: #ffffff;
  --gold: var(--color-primary, #c9a55c);
  --gold-light: var(--color-accent, #dcc07a);
  --gold-dark: var(--color-secondary, #a67c2d);
  --line: color-mix(in srgb, var(--color-border, #c9a55c) 28%, transparent);
  --shadow: 0 8px 40px color-mix(in srgb, var(--color-bg, #060c18) 45%, transparent);
  --shadow-soft: 0 4px 24px color-mix(in srgb, var(--color-bg, #060c18) 28%, transparent);
  --shadow-gold: 0 4px 30px color-mix(in srgb, var(--color-primary, #c9a55c) 25%, transparent);
  --shadow-card: 0 8px 40px color-mix(in srgb, var(--color-bg, #060c18) 35%, transparent);
  --gradient-gold: linear-gradient(
    135deg,
    var(--gold-dark) 0%,
    color-mix(in srgb, var(--gold-dark) 40%, var(--gold)) 28%,
    var(--gold) 55%,
    color-mix(in srgb, var(--gold) 45%, var(--gold-light)) 78%,
    var(--gold-light) 100%
  );
  --navbar-edge: color-mix(in srgb, var(--color-primary, #c9a55c) 22%, transparent);
  --navbar-bg: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-surface, #0b1526) 97%, transparent) 0%,
    color-mix(in srgb, var(--color-bg, #060c18) 92%, transparent) 45%,
    color-mix(in srgb, var(--color-bg, #060c18) 88%, transparent) 100%
  );
  --navbar-bg-scrolled: linear-gradient(
    180deg,
    color-mix(in srgb, var(--color-surface, #0b1526) 99%, transparent) 0%,
    color-mix(in srgb, var(--color-bg, #060c18) 98%, transparent) 100%
  );
  --hero-scrim-top: color-mix(in srgb, var(--color-bg, #060c18) 35%, transparent);
  --hero-scrim-bottom: color-mix(in srgb, var(--color-bg, #060c18) 82%, transparent);
  --color-ink: var(--ink);
  --color-on-primary: var(--color-primary-text, #111111);
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family:
    var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
  font-family:
    var(--font-body);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3rem, 5.2vw, 5.7rem);
}

h2 {
  font-size: clamp(2.1rem, 3.4vw, 3.5rem);
}

h3 {
  font-size: 1.22rem;
  line-height: 1.3;
}

p {
  color: var(--ink-soft);
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 1000;
  background: var(--white);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: 20px;
}

.site-container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 7vw, 108px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  line-height: 1.4;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.eyebrow::before,
.eyebrow::after {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.eyebrow-light {
  color: var(--gold-light);
}

.button {
  align-items: center;
  background: var(--white);
  border: 1px solid transparent;
  border-radius: var(--radius-sm, 4px);
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  justify-content: center;
  letter-spacing: 1.5px;
  min-height: 48px;
  padding: 0 26px;
  text-transform: uppercase;
  transition: var(--transition, all 0.35s cubic-bezier(0.4, 0, 0.2, 1));
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-gold {
  background: var(--gradient-gold, var(--gold));
  background-image: var(--gradient-gold);
  border-color: transparent;
  box-shadow:
    var(--shadow-gold, 0 4px 30px color-mix(in srgb, var(--gold) 25%, transparent)),
    inset 0 1px 0 rgba(255, 248, 220, 0.28),
    inset 0 -1px 0 rgba(90, 60, 20, 0.12);
  color: #1a1408;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.button-gold:hover,
.button-gold:focus-visible {
  transform: translateY(-3px);
  background: var(--gradient-gold, var(--gold));
  background-image: linear-gradient(
    135deg,
    color-mix(in srgb, var(--gold-dark) 88%, #6a4f1c) 0%,
    var(--gold-dark) 24%,
    var(--gold) 52%,
    var(--gold-light) 82%,
    color-mix(in srgb, var(--gold-light) 85%, #fff8e0) 100%
  );
  box-shadow:
    0 8px 36px color-mix(in srgb, var(--gold) 40%, transparent),
    inset 0 1px 0 rgba(255, 250, 230, 0.35),
    inset 0 -1px 0 rgba(90, 60, 20, 0.1);
  color: #1a1408;
  filter: none;
}

.button-dark {
  background: var(--teal);
  color: var(--ink);
  border-color: color-mix(in srgb, var(--gold) 35%, transparent);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--teal-deep);
  border-color: var(--gold);
}

.button-ghost-light {
  background: transparent;
  border-color: color-mix(in srgb, var(--gold) 55%, #fff);
  color: var(--white);
  backdrop-filter: blur(10px);
}

.button-ghost-light:hover,
.button-ghost-light:focus-visible {
  background: color-mix(in srgb, var(--gold) 18%, transparent);
  border-color: var(--gold);
  color: var(--gold-light, #e8c880);
}

.bb-studio-specific__article-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  margin-top: 10px;
}

.bb-studio-specific__article-ctas .text-link {
  margin-top: 0;
}

.text-link {
  align-items: center;
  color: var(--teal);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin-top: 10px;
  text-transform: uppercase;
}

.text-link::after {
  content: "↗";
  color: var(--gold);
  font-size: 1rem;
  margin-left: 9px;
  transition: transform 180ms ease;
}

.text-link:hover::after {
  transform: translate(3px, -3px);
}

.section-heading {
  margin-bottom: 48px;
  max-width: 820px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.heading-split {
  align-items: end;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  max-width: none;
}

.heading-split > p,
.heading-split > div:last-child p {
  font-size: 1.03rem;
  margin-bottom: 0;
}

/* Header */
.utility-bar {
  background: var(--teal-deep);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.utility-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 36px;
}

.utility-contact {
  align-items: center;
  display: flex;
  gap: 16px;
}

.utility-contact a:hover {
  color: var(--gold-light);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 18px 0;
  overflow: visible;
  background: var(--navbar-bg);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--navbar-edge);
  box-shadow: var(--navbar-shadow);
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, padding 0.35s ease,
    backdrop-filter 0.35s ease;
}
.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--gold) 35%, transparent) 20%,
    color-mix(in srgb, var(--gold-light) 50%, transparent) 50%,
    color-mix(in srgb, var(--gold) 35%, transparent) 80%,
    transparent 100%
  );
  opacity: 0.85;
  pointer-events: none;
}
.site-header.is-scrolled {
  padding: 10px 0;
  background: var(--navbar-bg-scrolled);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  box-shadow: var(--navbar-shadow-scrolled), inset 0 -1px 0 color-mix(in srgb, var(--gold) 8%, transparent);
}

.header-inner {
  align-items: center;
  display: flex;
  gap: clamp(10px, 2vw, 24px);
  justify-content: space-between;
  min-height: 64px;
  overflow: visible;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(420px, 100%);
  text-decoration: none;
  color: inherit;
}

/* Height-driven logo; width follows real image ratio (no forced 328px slot). */
.brand img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  aspect-ratio: auto;
  border-radius: 10px;
}

.brand .brand-name {
  flex: 0 1 auto;
  min-width: 0;
  font-weight: 700;
  font-size: clamp(1.18rem, 1.7vw, 1.35rem);
  line-height: 1.25;
  color: var(--ink);
}

/* Logo + name: sit side-by-side; don’t reserve a wide banner slot. */
.brand:has(.brand-name) {
  max-width: min(560px, 72%);
  width: auto;
  flex-basis: auto;
}

.brand:has(.brand-name) img {
  width: auto;
  max-width: min(88px, 22vw);
  height: 44px;
  border-radius: 10px;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.desktop-nav > a,
.nav-dropdown > summary {
  color: var(--ink);
  cursor: pointer;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.035em;
  list-style: none;
  padding: 31px 0 28px;
  position: relative;
  text-transform: uppercase;
}

.nav-dropdown > summary {
  align-items: center;
  display: inline-flex;
  gap: 8px;
}

.nav-caret {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--gold);
  display: inline-block;
  flex: 0 0 auto;
  height: 0;
  margin-top: 1px;
  transition: transform 180ms ease;
  width: 0;
}

.nav-dropdown[open] .nav-caret,
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret {
  transform: rotate(180deg);
}

.nav-dropdown > summary::-webkit-details-marker,
.mobile-menu > summary::-webkit-details-marker {
  display: none;
}

.desktop-nav > a::after,
.nav-dropdown > summary::after {
  background: var(--gold);
  bottom: 22px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.desktop-nav > a:hover::after,
.nav-dropdown > summary:hover::after,
.nav-dropdown[open] > summary::after {
  transform: scaleX(1);
}

.nav-dropdown {
  align-self: stretch;
  display: block;
  position: relative;
}

/* Override UA: closed <details> hides non-summary children — keep menu available for hover. */
.nav-dropdown > .treatment-menu {
  display: block;
}

.treatment-menu {
  /* Light panel on dark chrome: do not inherit body --ink (palette text is light). */
  background: var(--white);
  color: #142028;
  border-radius: 0 0 22px 22px;
  box-shadow: var(--shadow);
  left: 50%;
  min-width: min(780px, calc(100vw - 48px));
  opacity: 0;
  padding: 26px;
  pointer-events: none;
  position: absolute;
  top: calc(100% - 2px);
  transform: translate(-50%, -6px);
  transition:
    opacity 160ms ease,
    transform 160ms ease,
    visibility 160ms ease;
  visibility: hidden;
  z-index: 120;
}

/* Invisible bridge so the pointer can move from label into the panel. */
.treatment-menu::before {
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  right: 0;
  top: -14px;
}

.nav-dropdown[open] > .treatment-menu,
.nav-dropdown:hover > .treatment-menu,
.nav-dropdown:focus-within > .treatment-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.menu-heading {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 0 5px 18px;
}

.menu-heading span {
  color: inherit;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.menu-heading a {
  color: var(--gold-dark, var(--gold));
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu-links {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, 1fr);
}

.menu-links a {
  border-radius: 12px;
  color: inherit;
  padding: 12px 13px;
  transition: background 160ms ease;
}

.menu-links a:hover {
  /* Light hover wash — avoid dark --mint-pale (navy) on white panel. */
  background: color-mix(in srgb, var(--gold) 14%, #f4efe4);
}

.menu-links span,
.menu-links small {
  display: block;
}

.menu-links span {
  color: inherit;
  font-size: 0.83rem;
  font-weight: 800;
}

.menu-links small {
  color: color-mix(in srgb, #142028 48%, #7a8694);
  font-size: 0.63rem;
  line-height: 1.35;
  margin-top: 3px;
}

.button-header {
  background: var(--gradient-gold, var(--gold));
  color: #060c18;
  min-height: 44px;
  padding-inline: 24px;
  border: none;
  box-shadow: var(--shadow-gold);
}
.button-header:hover,
.button-header:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px color-mix(in srgb, var(--gold) 45%, transparent);
  color: #060c18;
}
.header-ctas {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.button-header--secondary {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  box-shadow: none;
}
.button-header--secondary:hover,
.button-header--secondary:focus-visible {
  background: var(--gold);
  color: #060c18;
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
}

/* Mobile bottom Email/Book bar removed — floating actions will replace it later. */
.mobile-cta {
  display: none !important;
}

/* Home */
.home-hero {
  background: var(--teal-deep);
  color: var(--white);
  min-height: max(640px, calc(100vh - 4.5rem));
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--hero-top-clearance) + env(safe-area-inset-top, 0px));
}

.home-hero-image,
.home-hero-overlay {
  inset: 0;
  height: 100%;
  position: absolute;
  width: 100%;
}

.home-hero-image {
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.home-hero-image.is-loaded,
.home-hero.is-ready .home-hero-image {
  transform: scale(1);
}

.home-hero-overlay {
  background: linear-gradient(to bottom, var(--hero-scrim-top) 0%, var(--hero-scrim-bottom) 100%);
}

.home-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: max(480px, calc(100vh - 7.5rem));
  padding: clamp(28px, 5vh, 64px) 0 clamp(36px, 5vh, 64px);
  position: relative;
  z-index: 2;
}

.home-hero-content > .eyebrow {
  margin-bottom: 1.75rem;
  max-width: 36rem;
  background: color-mix(in srgb, var(--gold) 15%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  padding: 8px 20px;
  border-radius: 50px;
  color: var(--gold-light);
  letter-spacing: 2px;
  font-weight: 500;
}
.home-hero-content > .eyebrow::before,
.home-hero-content > .eyebrow::after {
  display: none;
}

.home-hero h1 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 78px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 24px;
  max-width: 800px;
}

.home-hero h1 .bb4-hero-title-main {
  display: block;
  white-space: pre-line;
}

.home-hero h1 em,
.home-hero h1 .bb4-hero-em {
  color: var(--gold-light);
  display: block;
  font-family: var(--font-accent);
  font-size: 0.76em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-left: 0;
  margin-top: 0.22em;
}

.home-hero-content > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.02rem, 1.35vw, 1.2rem);
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.68;
  margin: 0;
  max-width: 34rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.85rem;
}

.home-hero .hero-actions .button {
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  min-height: 50px;
  padding-inline: 1.55rem;
}

.hero-credentials {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  gap: 1.25rem 1.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2.5rem, 5.5vh, 4rem);
  max-width: 36rem;
  padding-top: 1.35rem;
}

.hero-credentials span,
.hero-credentials strong {
  display: block;
}

.hero-credentials span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.hero-credentials strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.28rem;
}

.stats-section {
  background: var(--cream, #f7f3ec);
}

.bb4-stats-grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
}

.bb4-stats-card {
  background: var(--white);
  border: 1px solid rgba(28, 28, 28, 0.08);
  border-radius: var(--radius-sm, 14px);
  box-shadow: 0 10px 28px rgba(28, 28, 28, 0.05);
  padding: clamp(1.35rem, 2.5vw, 1.85rem) 1.25rem;
  text-align: center;
}

.bb4-stats-card__value {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 0.55rem;
}

.bb4-stats-card__suffix {
  margin-left: 0.08em;
}

.bb4-stats-card__label {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

.trust-ribbon {
  background: var(--gold);
  color: var(--white);
  overflow: hidden;
}

.trust-ribbon > div {
  align-items: center;
  display: flex;
  justify-content: center;
  min-width: max-content;
}

.trust-ribbon span {
  align-items: center;
  display: flex;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  min-height: 58px;
  padding: 0 34px;
  text-transform: uppercase;
}

.trust-ribbon span:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.6);
  content: "◆";
  font-size: 0.4rem;
  margin-left: 68px;
}

/* Highlights — centered heading + icon feature cards */
.highlights-section {
  background: var(--ivory);
}
.highlights-section .highlights-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.75rem;
}
.highlights-section .highlights-heading .eyebrow {
  display: block;
  margin-bottom: 0.65rem;
}
.highlights-section .highlights-heading h2 {
  margin: 0;
  text-align: center;
  max-width: 18ch;
}
.highlights-section .highlights-heading__text {
  margin: 1rem 0 0;
  max-width: 36rem;
  font-size: 1.03rem;
  line-height: 1.65;
  color: color-mix(in srgb, var(--ink, #1a2422) 72%, transparent);
  text-align: center;
}
.bb4-feature-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.bb4-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin: 0;
  padding: 1.85rem 1.35rem 1.9rem;
  background: var(--white);
  border: 1px solid color-mix(in srgb, var(--teal, #1f4d47) 12%, transparent);
  border-radius: 2px;
  min-height: 100%;
  box-shadow: 0 10px 28px rgba(20, 40, 36, 0.04);
}
.bb4-feature-card__icon {
  flex: 0 0 auto;
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--gold, #c9a55c) 16%, var(--white));
  color: var(--gold, #c9a55c);
  font-size: 1.1rem;
  line-height: 1;
}
.bb4-feature-card__icon i {
  display: block;
  line-height: 1;
}
.bb4-feature-card__check {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold, #c9a55c);
}
.bb4-feature-card__body {
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
}
.bb4-feature-card__title {
  margin: 0 0 0.4rem;
  font-family: var(--font-display, Georgia, "Times New Roman", serif);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink, #1a2422);
  line-height: 1.25;
  text-align: center;
}
.bb4-feature-card__text {
  margin: 0 auto;
  max-width: 22rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: color-mix(in srgb, var(--ink, #1a2422) 68%, transparent);
  text-align: center;
}
.bb4-feature-card.is-title-only .bb4-feature-card__title {
  margin-bottom: 0;
}

.services-home {
  background: var(--ivory);
}

.service-showcase {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.service-showcase > a {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-height: 460px;
  overflow: hidden;
  position: relative;
}

.service-showcase > a > img {
  height: 220px;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.service-showcase > a:hover > img {
  transform: scale(1.035);
}

.service-showcase > a > div {
  padding: 28px 28px 32px;
}

.service-showcase span,
.service-showcase strong {
  color: var(--gold);
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-showcase h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  font-weight: 500;
  margin: 11px 0 13px;
}

.service-showcase p {
  font-size: 0.88rem;
  line-height: 1.6;
}

.service-showcase .service-featured {
  display: grid;
  grid-column: span 2;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: stretch;
  min-height: 460px;
}

.service-showcase .service-featured > img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 55%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.service-showcase .service-featured > div {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
  padding: 42px;
  box-sizing: border-box;
  min-height: 460px;
  position: relative;
  z-index: 1;
}

.service-showcase .service-featured h3 {
  font-size: 2.55rem;
}

/* Desktop: fill the grid from card count (no trailing empty cells). */
@media (min-width: 1121px) {
  .service-showcase[data-layout="solo"] {
    grid-template-columns: 1fr;
  }

  .service-showcase[data-layout="solo"] .service-featured {
    grid-column: auto;
  }

  .service-showcase[data-layout="hero-pair"] {
    grid-template-columns: 1fr 1fr;
  }

  .service-showcase[data-layout="hero-pair"] .service-featured,
  .service-showcase[data-layout="hero-row"] .service-featured {
    grid-column: 1 / -1;
  }

  body.site-theme-theme4 .service-showcase[data-layout="equal"] a.service-featured {
    grid-column: span 1;
    display: block;
    grid-template-columns: unset;
    min-height: 460px;
  }

  body.site-theme-theme4 .service-showcase[data-layout="equal"] a.service-featured > img {
    position: static;
    width: 100%;
    height: 220px;
    min-height: 0;
    max-height: none;
  }

  body.site-theme-theme4 .service-showcase[data-layout="equal"] a.service-featured > div {
    grid-column: auto;
    display: block;
    min-height: 0;
    padding: 28px 28px 32px;
  }

  body.site-theme-theme4 .service-showcase[data-layout="equal"] a.service-featured h3 {
    font-size: 1.75rem;
  }
}

.doctor-home {
  background: var(--mint);
  overflow: hidden;
}

.doctor-home-grid {
  align-items: center;
  display: grid;
  gap: clamp(55px, 7vw, 100px);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.doctor-image-wrap {
  position: relative;
}

.doctor-image-wrap::before {
  border: 1px solid rgba(199, 146, 44, 0.6);
  border-radius: 50%;
  content: "";
  height: 330px;
  left: -120px;
  position: absolute;
  top: -90px;
  width: 330px;
}

.doctor-image-wrap img {
  aspect-ratio: 4 / 5;
  border-radius: 240px 240px 30px 30px;
  box-shadow: var(--shadow);
  object-fit: cover;
  object-position: 62% center;
  position: relative;
  width: 100%;
}

.doctor-badge {
  background: var(--teal);
  border: 5px solid var(--mint);
  border-radius: 18px;
  bottom: 34px;
  color: var(--white);
  max-width: 280px;
  padding: 20px 24px;
  position: absolute;
  right: -30px;
}

.doctor-badge span,
.doctor-badge strong,
.doctor-badge em {
  display: block;
}

.doctor-badge span {
  color: var(--gold-light);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.doctor-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 500;
}

.doctor-badge em {
  color: rgba(255, 255, 255, 0.85);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.85rem;
  font-style: italic;
  font-weight: 400;
  margin-top: 0.35rem;
}

.doctor-home-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.25rem;
}

.doctor-home-copy .lead {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.4;
}

.doctor-home-copy p:not(.lead) {
  font-size: 0.96rem;
}

.doctor-home-copy .button {
  margin-top: 12px;
}

/* CUSTOM HTML wrapper: pass through so theme sections keep their layout. */
.bb-pro-custom {
  display: contents;
}

.philosophy-section {
  background: var(--teal);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.philosophy-section::after {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  height: 640px;
  position: absolute;
  right: -260px;
  top: -220px;
  width: 640px;
}

.philosophy-grid {
  display: grid;
  gap: 90px;
  grid-template-columns: 0.9fr 1.1fr;
  position: relative;
  z-index: 1;
}

.philosophy-title h2 {
  color: var(--white);
}

.philosophy-copy > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
}

.promise-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: 1fr 1fr;
  margin-top: 42px;
}

.promise-grid article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  min-height: 150px;
  padding: 28px;
}

.promise-grid strong,
.promise-grid span {
  display: block;
}

.promise-grid strong {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.promise-grid span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.8rem;
}

.clinic-spotlight {
  background: var(--white);
}

.clinic-spotlight-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.75fr 1.25fr;
}

.feature-list {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}

.feature-list li {
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 0 12px 26px;
  position: relative;
}

.feature-list li::before {
  color: var(--gold);
  content: "✓";
  left: 0;
  position: absolute;
}

.feature-list li.has-icon {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0;
}

.feature-list li.has-icon::before {
  content: none;
  display: none;
}

.feature-list li.has-icon > i {
  color: var(--gold);
  flex: 0 0 auto;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-top: 1px;
  width: 1.1rem;
  text-align: center;
}

.feature-list li.has-icon > span {
  flex: 1 1 auto;
  min-width: 0;
}

.clinic-collage {
  display: grid;
  gap: 18px;
  grid-template-columns: 0.7fr 1.3fr;
}

.clinic-collage img {
  border-radius: var(--radius);
  height: 520px;
  object-fit: cover;
  width: 100%;
}

.clinic-collage img:first-child {
  margin-top: 70px;
}

/* Gallery */
.gallery-section {
  background: var(--mint-pale);
}

.care-gallery {
  display: grid;
  gap: 15px;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, 1fr);
}

/* Theme4 care rail — JS morphs a true wider center; no CSS width transitions. */
.care-gallery--rail {
  display: block;
  overflow: hidden;
}

.care-gallery--rail .care-gallery__track {
  display: flex;
  align-items: stretch;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.care-gallery--rail .care-gallery__track::-webkit-scrollbar {
  display: none;
}

.care-gallery--rail figure {
  flex: 0 0 calc(25% - 11.25px);
  min-width: 0;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  transform: none;
  transition: none;
  will-change: auto;
  z-index: 1;
}

.care-gallery--rail figure.is-center,
.care-gallery--rail .gallery-wide {
  flex: 0 0 calc(50% - 7.5px);
  grid-column: unset;
  transform: none;
  z-index: 2;
}

.care-gallery--rail figure img {
  border-radius: inherit;
  display: block;
  height: 100%;
  object-fit: cover;
  transition: none;
  width: 100%;
}

.care-gallery--rail figure:hover img {
  transform: none;
}

.care-gallery--rail figure::after {
  border-radius: inherit;
}

.care-gallery figure {
  border-radius: 20px;
  height: 300px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.care-gallery .gallery-wide {
  grid-column: span 2;
}

.care-gallery img {
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
  width: 100%;
}

.care-gallery figure:hover img {
  transform: scale(1.035);
}

.care-gallery figure::after {
  background: linear-gradient(0deg, rgba(6, 31, 27, 0.78), transparent 60%);
  content: "";
  inset: 0;
  position: absolute;
}

.care-gallery figcaption {
  bottom: 18px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  left: 20px;
  position: absolute;
  z-index: 1;
}

.care-gallery__dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.care-gallery__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal, #173b35) 22%, transparent);
  cursor: pointer;
  transition: background 0.18s ease, transform 0.18s ease, width 0.18s ease;
}

.care-gallery__dot:hover {
  background: color-mix(in srgb, var(--gold, #c7922c) 70%, transparent);
  transform: scale(1.12);
}

.care-gallery__dot.is-active {
  width: 22px;
  background: var(--gold, #c7922c);
}

.care-gallery__dot:focus-visible {
  outline: 2px solid var(--gold, #c7922c);
  outline-offset: 3px;
}

/* FAQ & forms */
.faq-section {
  background: var(--ivory);
}

.faq-layout {
  display: grid;
  gap: 85px;
  grid-template-columns: 0.78fr 1.22fr;
}

.faq-intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  justify-content: space-between;
  list-style: none;
  padding: 24px 0;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary span {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
  display: inline-flex;
  flex: 0 0 34px;
  font-family: Arial, sans-serif;
  height: 34px;
  justify-content: center;
  margin-left: 20px;
  transition: transform 180ms ease;
}

.accordion details[open] summary span {
  transform: rotate(45deg);
}

.accordion details p {
  font-size: 0.91rem;
  padding: 0 54px 24px 0;
}

.booking-band {
  background: var(--teal-deep);
  color: var(--white);
}

.booking-layout {
  align-items: center;
  display: grid;
  gap: 70px;
  grid-template-columns: minmax(0, 0.8fr) minmax(500px, 1.2fr);
}

.booking-layout h2 {
  color: var(--white);
}

.booking-layout > div:first-child > p {
  color: rgba(255, 255, 255, 0.68);
}

.appointment-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--ink);
  padding: 36px;
}

.appointment-form label,
.appointment-form label > span {
  display: block;
}

.appointment-form label > span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  background: #f7faf8;
  border: 1px solid rgba(20, 38, 34, 0.13);
  border-radius: 11px;
  color: var(--ink);
  outline: none;
  padding: 13px 14px;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
  width: 100%;
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 146, 44, 0.14);
}

.field-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}

.appointment-form > label {
  margin-bottom: 14px;
}

.appointment-form .button {
  border: 0;
  margin-top: 4px;
  width: 100%;
}

.form-note {
  color: #6b7c78;
  font-size: 0.7rem;
  line-height: 1.5;
  margin: 13px 0 0;
}

.appointment-form-compact {
  padding: 30px;
}

/* Service pages */
.service-hero {
  align-items: center;
  background: var(--teal-deep);
  color: var(--white);
  display: flex;
  min-height: 660px;
  overflow: hidden;
  position: relative;
}

.service-hero-image,
.service-hero-shade {
  inset: 0;
  height: 100%;
  position: absolute;
  width: 100%;
}

.service-hero-image {
  object-fit: cover;
}

.service-hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(9, 35, 31, 0.97) 0%,
      rgba(9, 35, 31, 0.88) 39%,
      rgba(9, 35, 31, 0.25) 72%,
      transparent
    ),
    linear-gradient(0deg, rgba(9, 35, 31, 0.45), transparent 50%);
}

.service-hero-content {
  padding: 95px 0 80px;
  position: relative;
  z-index: 2;
}

.service-hero h1 {
  color: var(--white);
  font-size: clamp(3.3rem, 5.8vw, 5.8rem);
  max-width: 810px;
}

.service-hero-content > p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.02rem;
  max-width: 710px;
}

.breadcrumbs {
  align-items: center;
  color: rgba(255, 255, 255, 0.64);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.66rem;
  font-weight: 700;
  gap: 9px;
  letter-spacing: 0.06em;
  margin-bottom: 55px;
  text-transform: uppercase;
}

.breadcrumbs a:hover {
  color: var(--gold-light);
}

.breadcrumbs-dark {
  color: #6a807a;
}

.prose-layout {
  display: grid;
  gap: 95px;
  grid-template-columns: 0.68fr 1.32fr;
}

.prose-aside {
  align-self: start;
  position: sticky;
  top: 135px;
}

.prose-aside h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
}

.prose-aside > p {
  font-size: 0.78rem;
}

.keyword-chip {
  background: var(--mint);
  border-radius: 999px;
  color: var(--teal);
  display: inline-flex;
  font-size: 0.67rem;
  font-weight: 800;
  margin: 12px 0 24px;
  padding: 10px 15px;
  text-transform: uppercase;
}

.rich-prose > p {
  font-size: 0.98rem;
  line-height: 1.68;
  max-width: 70ch;
}

.focus-panel {
  align-items: flex-start;
  background: var(--mint-pale);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  display: grid;
  gap: 22px;
  grid-template-columns: auto 1fr;
  margin-top: 36px;
  padding: 30px;
}

.focus-mark {
  align-items: center;
  background: var(--teal);
  border-radius: 50%;
  color: var(--gold-light);
  display: inline-flex;
  font-family: Georgia, "Times New Roman", serif;
  height: 56px;
  justify-content: center;
  width: 56px;
}

.focus-panel h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.focus-panel p {
  font-size: 0.88rem;
  margin-bottom: 0;
}

.care-section {
  background: var(--mint);
}

.care-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
}

.care-grid article {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 20px;
  min-height: 220px;
  padding: 28px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.care-grid article:hover {
  background: var(--white);
  transform: translateY(-4px);
}

.card-kicker {
  color: var(--gold);
  display: block;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
  text-transform: uppercase;
}

.care-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  font-weight: 500;
  margin-bottom: 9px;
}

.care-grid p {
  font-size: 0.82rem;
  line-height: 1.65;
  margin-bottom: 0;
}

.treatment-visual-section {
  background: var(--ivory);
}

.treatment-visual-heading {
  margin-bottom: 38px;
}

.treatment-visual-heading h2 {
  max-width: 760px;
}

.treatment-visual-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.treatment-visual-card {
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  display: grid;
  gap: 24px;
  grid-template-columns: 92px 1fr;
  min-height: 210px;
  padding: 30px;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.treatment-visual-card:hover {
  border-color: rgba(24, 167, 223, 0.36);
  box-shadow: 0 22px 45px rgba(17, 55, 72, 0.08);
  transform: translateY(-4px);
}

.treatment-icon {
  align-items: center;
  aspect-ratio: 1;
  background: #eef9fc;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  padding: 14px;
}

.treatment-icon svg {
  height: 64px;
  overflow: visible;
  width: 64px;
}

.treatment-icon .icon-base {
  fill: #24447b;
  stroke: #24447b;
}

.treatment-icon .icon-accent {
  fill: none;
  stroke: #16a7df;
}

.treatment-visual-card h3 {
  color: #24447b;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 7px 0 10px;
}

.treatment-visual-card p {
  font-size: 0.79rem;
  line-height: 1.62;
  margin: 0;
}

.pathway-section {
  background: var(--white);
}

.pathway-layout {
  align-items: center;
  display: grid;
  gap: 90px;
  grid-template-columns: 0.9fr 1.1fr;
}

.pathway-image-stack {
  position: relative;
}

.pathway-image-stack img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  object-fit: cover;
  width: 100%;
}

.pathway-note {
  background: var(--teal);
  border: 5px solid var(--white);
  border-radius: 18px;
  bottom: 32px;
  color: var(--white);
  max-width: 320px;
  padding: 24px;
  position: absolute;
  right: -32px;
}

.pathway-note span,
.pathway-note strong,
.pathway-note small {
  display: block;
}

.pathway-note span {
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

.pathway-note strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.pathway-note small {
  color: rgba(255, 255, 255, 0.68);
}

.pathway-list {
  margin-top: 36px;
}

.pathway-list article {
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr;
  padding: 0 0 24px;
  position: relative;
}

.pathway-list article:not(:last-child)::before {
  background: var(--mint-strong);
  content: "";
  height: calc(100% - 4px);
  left: 6px;
  position: absolute;
  top: 13px;
  width: 1px;
}

.pathway-list article > span {
  background: var(--gold);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--gold);
  height: 13px;
  margin-top: 7px;
  position: relative;
  width: 13px;
  z-index: 1;
}

.pathway-list h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.32rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.pathway-list p {
  font-size: 0.84rem;
  margin-bottom: 0;
}

.aftercare-section {
  background: var(--ivory);
  padding-top: 0;
}

.aftercare-card {
  background: var(--teal);
  border-radius: var(--radius-lg);
  color: var(--white);
  display: grid;
  gap: 70px;
  grid-template-columns: 0.8fr 1.2fr;
  padding: clamp(44px, 6vw, 80px);
}

.aftercare-card h2 {
  color: var(--white);
}

.aftercare-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.related-section {
  background: var(--white);
}

.related-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}

.related-grid a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 280px;
  padding: 30px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.related-grid a:hover {
  background: var(--mint-pale);
  transform: translateY(-4px);
}

.related-grid span {
  color: var(--gold);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.related-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 500;
  margin: 30px 0 12px;
}

.related-grid p {
  font-size: 0.82rem;
}

.related-grid strong {
  color: var(--teal);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* About */
.about-hero {
  background: var(--mint);
  padding: 90px 0 0;
}

.about-hero-grid {
  align-items: end;
  display: grid;
  gap: 70px;
  grid-template-columns: 0.9fr 1.1fr;
}

.about-hero-copy {
  padding-bottom: 90px;
}

.about-hero-copy .breadcrumbs {
  margin-bottom: 55px;
}

.about-hero h1 {
  font-size: clamp(2.75rem, 6.5vw, 5.75rem);
  line-height: 1.05;
  margin-bottom: 26px;
  overflow-wrap: anywhere;
}

.about-lead {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  line-height: 1.35;
}

.about-hero-copy > p:not(.about-lead) {
  font-size: 0.95rem;
  max-width: 620px;
}

.about-hero-copy .button {
  margin-top: 14px;
}

.about-hero-image {
  position: relative;
}

.about-hero-image > img {
  aspect-ratio: 4 / 5;
  border-radius: 260px 260px 0 0;
  object-fit: cover;
  object-position: 62% center;
  width: 100%;
}

.about-hero-image .doctor-badge {
  bottom: 28px;
  left: auto;
  max-width: min(280px, 72%);
  right: 18px;
}

.about-hero-copy .doctor-home-actions {
  margin-top: 1.5rem;
}

.about-hero-copy .about-lead + p {
  margin-top: 1.1rem;
}

.qualification-ribbon {
  background: var(--teal);
  border-radius: 18px 18px 0 0;
  bottom: 0;
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: 0.5fr 1.4fr 1.4fr;
  left: -50px;
  overflow: hidden;
  position: absolute;
  right: 0;
}

.qualification-ribbon span {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  font-size: 0.67rem;
  font-weight: 700;
  min-height: 90px;
  padding: 18px;
}

.biography-section {
  background: var(--white);
}

.biography-layout {
  display: grid;
  gap: 90px;
  grid-template-columns: 0.83fr 1.17fr;
}

.education-list {
  margin-top: 36px;
}

.education-list article {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.education-list strong,
.education-list span {
  display: block;
}

.education-list strong {
  font-size: 0.84rem;
}

.education-list span {
  color: #617771;
  font-size: 0.76rem;
  margin-top: 4px;
}

.founder-story {
  background: var(--teal);
  color: var(--white);
}

.founder-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.9fr 1.1fr;
}

.founder-photo img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  object-fit: cover;
}

.founder-grid h2 {
  color: var(--white);
}

.founder-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.promise-section {
  background: var(--ivory);
}

.promise-cards {
  display: grid;
  gap: 17px;
  grid-template-columns: repeat(4, 1fr);
}

.promise-cards article {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-height: 270px;
  padding: 30px;
}

.promise-cards span {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.promise-cards h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
  margin: 48px 0 12px;
}

.promise-cards p {
  font-size: 0.82rem;
}

/* ---------- Categories (catalogue productCategories) ---------- */
.bb4-categories-section {
  background: var(--ivory);
}
.bb4-categories-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.bb4-category-card {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  text-decoration: none;
  color: inherit;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.bb4-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(14, 42, 38, 0.12);
}
.bb4-category-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(20, 38, 34, 0.06);
}
.bb4-category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bb4-category-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 20px 22px;
}
.bb4-category-card__eyebrow {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bb4-category-card__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.25;
  color: var(--ink);
}
.bb4-category-card--no-media {
  justify-content: flex-end;
  min-height: 160px;
}

.quote-section {
  background: var(--mint);
}

.quote-card {
  align-items: center;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.quote-card > span {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8rem;
  line-height: 0.6;
}

.quote-card blockquote {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.18;
  max-width: 980px;
}

.quote-card cite {
  color: #5e756f;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
  margin-bottom: 30px;
}

/* Treatments */
.treatments-hero {
  background: var(--mint);
  padding: 90px 0;
  overflow: hidden;
}

.treatments-hero-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.9fr 1.1fr;
}

.treatments-hero h1 {
  font-size: clamp(3.3rem, 5.5vw, 5.6rem);
}

.treatments-hero p {
  font-size: 1rem;
  max-width: 680px;
}

.treatments-hero-images {
  display: grid;
  gap: 18px;
  grid-template-columns: 1.2fr 0.8fr;
}

.treatments-hero-images img {
  border-radius: 180px 180px 25px 25px;
  height: 540px;
  object-fit: cover;
  width: 100%;
}

.treatments-hero-images img:last-child {
  margin-top: 70px;
}

.treatments-hero-single {
  grid-template-columns: 1fr;
}

.treatments-hero-single img,
.treatments-hero-single img:last-child {
  border-radius: 240px 240px 28px 28px;
  margin-top: 0;
}

.treatment-intro {
  background: var(--white);
}

.all-treatments {
  background: var(--ivory);
}

.all-treatment-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, 1fr);
}

.all-treatment-grid article {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.treatment-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.treatment-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
  width: 100%;
}

.all-treatment-grid article:hover img {
  transform: scale(1.04);
}

.treatment-image span {
  background: rgba(14, 42, 38, 0.88);
  border-radius: 999px;
  bottom: 16px;
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 800;
  left: 16px;
  letter-spacing: 0.07em;
  padding: 8px 11px;
  position: absolute;
  text-transform: uppercase;
}

.all-treatment-grid article > div:last-child {
  padding: 27px;
}

.all-treatment-grid small {
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.all-treatment-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  margin: 10px 0 12px;
}

.all-treatment-grid p {
  font-size: 0.81rem;
}

.decision-section {
  background: var(--teal);
  color: var(--white);
}

.decision-grid {
  display: grid;
  gap: 85px;
  grid-template-columns: 0.72fr 1.28fr;
}

.decision-title {
  align-self: start;
  position: sticky;
  top: 130px;
}

.decision-title h2 {
  color: var(--white);
}

.decision-title p {
  color: rgba(255, 255, 255, 0.7);
}

.decision-options {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.decision-options article {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 26px;
}

.decision-options span {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}

.decision-options p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  margin: 12px 0 18px;
}

.decision-options a {
  color: var(--gold-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.treatment-standards {
  background: var(--white);
}

.standard-grid {
  display: grid;
  gap: 80px;
  grid-template-columns: 0.75fr 1.25fr;
}

.standard-list {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr 1fr;
}

.standard-list article {
  border-top: 3px solid var(--gold);
  padding-top: 20px;
}

.standard-list strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 500;
}

.standard-list p {
  font-size: 0.8rem;
  margin-top: 8px;
}

.simple-cta {
  background: var(--teal-deep);
}

.simple-cta-inner {
  align-items: center;
  color: var(--white);
  display: flex;
  gap: 50px;
  justify-content: space-between;
}

.simple-cta h2 {
  color: var(--white);
  margin-bottom: 0;
  max-width: 820px;
}

/* Contact */
.contact-hero {
  align-items: center;
  background: var(--teal);
  display: flex;
  min-height: 600px;
  overflow: hidden;
  position: relative;
}

.contact-hero > img,
.contact-hero-overlay {
  inset: 0;
  height: 100%;
  position: absolute;
  width: 100%;
}

.contact-hero > img {
  object-fit: cover;
  object-position: center 45%;
}

.contact-hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(10, 36, 32, 0.96),
    rgba(10, 36, 32, 0.72) 50%,
    rgba(10, 36, 32, 0.12)
  );
}

.contact-hero-content {
  color: var(--white);
  padding: 90px 0;
  position: relative;
}

.contact-hero h1 {
  color: var(--white);
  max-width: 900px;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
  max-width: 650px;
}

.contact-form-section {
  background: var(--mint);
}

.contact-grid {
  align-items: start;
  display: grid;
  gap: 80px;
  grid-template-columns: 0.92fr 1.08fr;
}

.contact-copy > p {
  font-size: 0.94rem;
}

.contact-cards {
  display: grid;
  gap: 12px;
  margin-top: 35px;
}

.contact-cards article {
  background: rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 18px 20px;
}

.contact-cards span,
.contact-cards strong,
.contact-cards a {
  display: block;
}

.contact-cards span {
  color: var(--gold);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-cards strong,
.contact-cards a {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.07rem;
  font-weight: 500;
  margin-top: 4px;
}

.form-card-heading {
  background: var(--teal);
  border-radius: var(--radius) var(--radius) 0 0;
  color: var(--white);
  padding: 28px 36px;
}

.form-card-heading span {
  color: var(--gold-light);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-card-heading h2 {
  color: var(--white);
  font-size: 2.2rem;
  margin: 5px 0 0;
}

.form-card .appointment-form {
  border-radius: 0 0 var(--radius) var(--radius);
}

.first-visit-section {
  background: var(--white);
}

.first-visit-grid {
  display: grid;
  gap: 80px;
  grid-template-columns: 0.8fr 1.2fr;
}

.visit-notes {
  display: grid;
  gap: 15px;
  grid-template-columns: 1fr 1fr;
}

.visit-notes article {
  background: var(--mint-pale);
  border-radius: 18px;
  padding: 26px;
}

.visit-notes strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 500;
}

.visit-notes p {
  font-size: 0.78rem;
  margin: 9px 0 0;
}

.visit-location {
  background: var(--teal);
  color: var(--white);
}

.visit-location-grid {
  align-items: center;
  display: grid;
  gap: 80px;
  grid-template-columns: 1.05fr 0.95fr;
}

.visit-location img {
  border-radius: var(--radius-lg);
  height: 560px;
  object-fit: cover;
  width: 100%;
}

.visit-location h2 {
  color: var(--white);
}

.visit-location p {
  color: rgba(255, 255, 255, 0.7);
}

/* Footer */
.site-footer {
  background: var(--teal-deep);
  color: var(--white);
  padding: 85px 0 26px;
}

.footer-grid {
  display: grid;
  gap: 50px;
  grid-template-columns: 1.6fr 0.8fr 1fr 1fr;
}

.footer-brand img {
  height: auto;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-brand > strong {
  color: var(--white);
  display: block;
  font-family: var(--font-display, inherit);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.3;
  margin: 0 0 0.35rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.57);
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0.65rem 0 0.85rem;
  max-width: 390px;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.85rem;
}

.footer-social__link {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 999px;
  color: var(--gold-light, #d4af37);
  display: inline-flex;
  font-size: 0.85rem;
  height: 2rem;
  justify-content: center;
  text-decoration: none;
  width: 2rem;
}

.footer-social__link:hover,
.footer-social__link:focus-visible {
  background: rgba(212, 175, 55, 0.18);
  color: #fff;
}

.footer-email {
  color: var(--gold-light);
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  margin-top: 0.15rem;
}

.footer-grid h2 {
  color: var(--gold-light);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.footer-grid > div:not(.footer-brand) > a {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-size: 0.9rem;
  line-height: 1.45;
  margin-bottom: 12px;
}

.footer-grid > div:not(.footer-brand) > a:hover {
  color: var(--white);
}

.footer-grid > div:not(.footer-brand) > p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-grid .button {
  color: var(--white);
  display: inline-flex !important;
  font-size: 0.88rem;
  margin-top: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.42);
  display: flex;
  font-size: 0.72rem;
  gap: 30px;
  justify-content: space-between;
  line-height: 1.45;
  margin-top: 70px;
  padding-top: 22px;
}

/* Clean, confident heading style inspired by the reference dental layout */
.menu-heading span,
.service-showcase h3,
.doctor-badge strong,
.promise-grid strong,
.accordion summary,
.focus-panel h3,
.care-grid h3,
.pathway-note strong,
.pathway-list h3,
.related-grid h3,
.promise-cards h3,
.all-treatment-grid h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Responsive */
@media (max-width: 1120px) {
  :root {
    --container: min(100% - 40px, 1080px);
  }

  .bb4-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .desktop-nav {
    gap: 19px;
  }

  .desktop-nav > a,
  .nav-dropdown > summary {
    font-size: 0.7rem;
  }

  .brand:not(:has(.brand-name)) {
    flex-basis: 264px;
  }

  .brand:not(:has(.brand-name)) img {
    height: 44px;
    width: auto;
    max-width: 180px;
    border-radius: 8px;
  }

  .brand:has(.brand-name) img {
    height: 40px;
    max-width: min(80px, 22vw);
    border-radius: 8px;
  }

  .button-header,
  .header-ctas {
    display: none;
  }

  .service-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .service-showcase .service-featured {
    grid-column: span 2;
  }

  .care-gallery:not(.care-gallery--rail) {
    grid-template-columns: repeat(3, 1fr);
  }

  .promise-cards {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 0.8fr 1fr;
  }

  .footer-grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  :root {
    --container: min(100% - 32px, 760px);
  }

  .section {
    padding: 82px 0;
  }

  .utility-contact span:last-child,
  .desktop-nav,
  .button-header,
  .header-ctas {
    display: none;
  }

  .header-inner {
    min-height: 82px;
  }

  .brand:not(:has(.brand-name)),
  .brand:not(:has(.brand-name)) img {
    width: 250px;
  }

  .brand:not(:has(.brand-name)) {
    flex-basis: 250px;
  }

  .brand:has(.brand-name) {
    width: auto;
    flex-basis: auto;
    max-width: calc(100% - 64px);
  }

  .brand:has(.brand-name) img {
    width: auto;
    height: auto;
    max-height: 52px;
    max-width: min(72px, 22vw);
  }

  .mobile-menu {
    display: block;
    margin-left: auto;
    position: relative;
  }

  .mobile-menu > summary {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    height: 44px;
    justify-content: center;
    list-style: none;
    width: 44px;
  }

  .mobile-menu > summary span {
    background: currentColor;
    height: 2px;
    width: 17px;
  }

  .mobile-menu nav {
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: none;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    padding: 20px;
    position: absolute;
    right: 0;
    top: 54px;
    width: min(370px, calc(100vw - 32px));
  }

  .mobile-menu[open] nav {
    display: block;
  }

  .mobile-menu nav > a {
    border-bottom: 1px solid var(--line);
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 11px 2px;
  }

  .mobile-treatment-dropdown {
    border-bottom: 1px solid var(--line);
  }

  .mobile-treatment-dropdown > summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 0.82rem;
    font-weight: 800;
    justify-content: space-between;
    list-style: none;
    padding: 12px 2px;
    text-transform: uppercase;
  }

  .mobile-treatment-dropdown > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-treatment-dropdown > summary span {
    color: var(--gold);
    transition: transform 180ms ease;
  }

  .mobile-treatment-dropdown[open] > summary span {
    transform: rotate(180deg);
  }

  .mobile-treatment-dropdown > div {
    background: var(--mint-pale);
    border-radius: 12px;
    margin: 0 0 12px;
    padding: 8px 12px;
  }

  .mobile-treatment-dropdown a {
    border-bottom: 1px solid rgba(20, 38, 34, 0.09);
    display: block;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 10px 2px;
  }

  .mobile-treatment-dropdown a:last-child {
    border-bottom: 0;
  }

  .mobile-menu nav .button {
    border: 0;
    color: var(--white);
    margin-top: 16px;
    width: 100%;
  }
  .mobile-menu-ctas {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }
  .mobile-menu-ctas .button {
    margin-top: 0;
    width: 100%;
  }
  .header-ctas {
    display: none;
  }

  .heading-split,
  .doctor-home-grid,
  .philosophy-grid,
  .clinic-spotlight-grid,
  .faq-layout,
  .booking-layout,
  .prose-layout,
  .pathway-layout,
  .aftercare-card,
  .about-hero-grid,
  .biography-layout,
  .founder-grid,
  .treatments-hero-grid,
  .decision-grid,
  .standard-grid,
  .contact-grid,
  .first-visit-grid,
  .visit-location-grid {
    grid-template-columns: 1fr;
  }

  .heading-split,
  .doctor-home-grid,
  .philosophy-grid,
  .clinic-spotlight-grid,
  .faq-layout,
  .prose-layout,
  .pathway-layout,
  .about-hero-grid,
  .biography-layout,
  .founder-grid,
  .treatments-hero-grid,
  .decision-grid,
  .standard-grid,
  .contact-grid,
  .first-visit-grid,
  .visit-location-grid {
    gap: 50px;
  }

  .prose-aside,
  .faq-intro,
  .decision-title {
    position: static;
  }

  .home-hero,
  .home-hero-content {
    min-height: min(560px, calc(100svh - 5.5rem));
  }

  .home-hero-content {
    padding: clamp(16px, 3vh, 36px) 0 clamp(28px, 4vh, 48px);
    padding-inline-end: 3.25rem; /* clear right dock */
  }

  .home-hero-image {
    object-position: 66% center;
  }

  .home-hero-overlay {
    background:
      linear-gradient(
        105deg,
        rgba(6, 12, 24, 0.97) 0%,
        rgba(6, 12, 24, 0.86) 42%,
        rgba(6, 12, 24, 0.42) 70%,
        rgba(6, 12, 24, 0.16) 100%
      ),
      linear-gradient(0deg, rgba(6, 12, 24, 0.62), transparent 52%);
  }

  .home-hero-content > .eyebrow {
    margin-bottom: 0.85rem;
    padding: 6px 14px;
    letter-spacing: 0.14em;
  }

  .home-hero h1 {
    font-size: clamp(1.85rem, 5.6vw, 2.85rem);
    line-height: 1.18;
    max-width: 100%;
    margin: 0 0 0.85rem;
  }

  .home-hero h1 .bb4-hero-title-main {
    white-space: pre-line;
  }

  .home-hero h1 em,
  .home-hero h1 .bb4-hero-em {
    margin-left: 0;
    font-size: 0.82em;
  }

  .hero-credentials {
    gap: 1rem 1.25rem;
    max-width: 100%;
  }

  .service-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .service-showcase .service-featured {
    display: block;
  }

  .service-showcase .service-featured > img {
    position: static;
    width: 100%;
    height: 300px;
    min-height: 0;
  }

  .service-showcase .service-featured > div {
    grid-column: auto;
    min-height: 0;
  }

  .doctor-image-wrap {
    max-width: 560px;
    margin-inline: auto;
  }

  .doctor-badge {
    right: -10px;
  }

  .clinic-collage img {
    height: 430px;
  }

  .care-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .service-hero {
    min-height: 620px;
  }

  .service-hero-shade {
    background:
      linear-gradient(
        90deg,
        rgba(9, 35, 31, 0.97),
        rgba(9, 35, 31, 0.74) 68%,
        rgba(9, 35, 31, 0.28)
      ),
      linear-gradient(0deg, rgba(9, 35, 31, 0.56), transparent 60%);
  }

  .care-grid,
  .treatment-visual-grid,
  .related-grid,
  .all-treatment-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pathway-image-stack {
    max-width: 560px;
  }

  .aftercare-card {
    gap: 30px;
  }

  .about-hero {
    padding-bottom: 0;
  }

  .about-hero-copy {
    padding-bottom: 10px;
  }

  .about-hero-image {
    max-width: 620px;
    margin-inline: auto;
  }

  .about-hero-image .doctor-badge {
    right: 12px;
    bottom: 20px;
  }

  .qualification-ribbon {
    left: 0;
  }

  .treatments-hero-images {
    max-width: 650px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 620px) {
  :root {
    --container: min(100% - 40px, 560px);
    --radius: 8px;
    --radius-lg: 12px;
  }

  body {
    font-size: 15px;
    padding-bottom: 62px;
  }

  h1 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  h2 {
    font-size: clamp(1.55rem, 6.5vw, 2.15rem);
  }

  .section {
    padding: 68px 0;
  }

  .utility-inner {
    justify-content: center;
  }

  .utility-inner > span:first-child {
    display: none;
  }

  .brand:not(:has(.brand-name)),
  .brand:not(:has(.brand-name)) img {
    width: 218px;
  }

  .brand:not(:has(.brand-name)) {
    flex-basis: 218px;
  }

  .header-inner {
    gap: 14px;
  }

  .home-hero,
  .home-hero-content {
    min-height: min(520px, calc(100svh - 5rem));
  }

  .home-hero-content {
    justify-content: center;
    padding: 18px 0 28px;
    padding-inline-end: 3.5rem; /* clear right dock */
  }

  .home-hero-image {
    object-position: 67% center;
  }

  .home-hero-overlay {
    background:
      linear-gradient(
        0deg,
        rgba(6, 12, 24, 0.97) 0%,
        rgba(6, 12, 24, 0.88) 42%,
        rgba(6, 12, 24, 0.35) 78%,
        rgba(6, 12, 24, 0.12) 100%
      ),
      linear-gradient(90deg, rgba(6, 12, 24, 0.72), rgba(6, 12, 24, 0.2) 70%, transparent);
  }

  .home-hero-content > .eyebrow {
    margin-bottom: 0.65rem;
    padding: 5px 12px;
    font-size: 0.68rem;
  }

  .home-hero h1 {
    /* Estate titles wrap naturally — avoid dental-era huge type + tight ch measure. */
    font-size: clamp(1.7rem, 7.2vw, 2.35rem);
    line-height: 1.2;
    margin: 0 0 0.65rem;
    max-width: 100%;
  }

  .home-hero h1 .bb4-hero-title-main {
    white-space: pre-line;
  }

  .home-hero h1 em,
  .home-hero h1 .bb4-hero-em {
    margin-left: 0;
    margin-top: 0.12em;
    font-size: 0.88em;
    width: auto;
    max-width: 100%;
  }

  .home-hero-content > p {
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
    max-width: 100%;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 1rem;
  }

  .hero-actions .button,
  .home-hero .hero-actions .button {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    min-height: 46px;
    padding-inline: 0.7rem;
    width: 100%;
  }

  .hero-credentials {
    gap: 0.7rem;
    grid-template-columns: 1fr;
    margin-top: 1.25rem;
    max-width: 100%;
    padding-top: 0.85rem;
  }

  .hero-credentials span:nth-child(3) {
    display: none;
  }

  .bb4-stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-ribbon > div {
    justify-content: flex-start;
    overflow-x: auto;
  }

  .trust-ribbon span {
    padding: 0 22px;
  }

  .trust-ribbon span:not(:last-child)::after {
    margin-left: 44px;
  }

  .bb4-feature-grid {
    grid-template-columns: 1fr;
  }

  .service-showcase,
  .care-grid,
  .treatment-visual-grid,
  .related-grid,
  .all-treatment-grid,
  .promise-cards,
  .decision-options,
  .standard-list,
  .visit-notes,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-showcase .service-featured {
    grid-column: auto;
  }

  .service-showcase > a {
    min-height: 0;
  }

  .treatment-visual-card {
    grid-template-columns: 82px 1fr;
    min-height: 0;
  }

  .service-showcase .service-featured > img,
  .service-showcase > a > img {
    height: 230px;
  }

  .service-showcase .service-featured > div,
  .service-showcase > a > div {
    padding: 25px;
  }

  .service-showcase .service-featured h3,
  .service-showcase h3 {
    font-size: 1.65rem;
  }

  .doctor-image-wrap::before {
    display: none;
  }

  .doctor-badge {
    bottom: 18px;
    right: -6px;
  }

  .promise-grid {
    grid-template-columns: 1fr;
  }

  .clinic-collage {
    grid-template-columns: 1fr 1fr;
  }

  .clinic-collage img {
    height: 320px;
  }

  .clinic-collage img:first-child {
    margin-top: 40px;
  }

  .care-gallery {
    gap: 9px;
    grid-template-columns: 1fr 1fr;
  }

  .care-gallery--rail .care-gallery__track {
    gap: 9px;
  }

  .care-gallery--rail figure {
    flex: 0 0 min(62vw, 240px);
    height: 220px;
    border-radius: 18px;
    transform: none;
  }

  .care-gallery--rail figure.is-center,
  .care-gallery--rail .gallery-wide {
    flex: 0 0 min(86vw, 340px);
    height: 220px;
    transform: none;
  }

  .care-gallery figure,
  .care-gallery .gallery-wide {
    grid-column: auto;
    height: 220px;
  }

  .care-gallery:not(.care-gallery--rail) figure:nth-child(1),
  .care-gallery:not(.care-gallery--rail) figure:nth-child(6),
  .care-gallery:not(.care-gallery--rail) figure:nth-child(11) {
    grid-column: span 2;
    height: 250px;
  }

  .care-gallery figcaption {
    bottom: 13px;
    font-size: 0.87rem;
    left: 14px;
  }

  .faq-layout {
    gap: 30px;
  }

  .accordion summary {
    font-size: 1.08rem;
  }

  .booking-layout {
    gap: 30px;
  }

  .appointment-form,
  .appointment-form-compact {
    padding: 22px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .service-hero {
    align-items: end;
    min-height: 670px;
  }

  .service-hero-content {
    padding: 80px 0 55px;
  }

  .service-hero-image {
    object-position: 58% center;
  }

  .service-hero-shade {
    background:
      linear-gradient(
        0deg,
        rgba(9, 35, 31, 0.98),
        rgba(9, 35, 31, 0.82) 52%,
        rgba(9, 35, 31, 0.2) 92%
      ),
      linear-gradient(90deg, rgba(9, 35, 31, 0.5), transparent);
  }

  .service-hero h1 {
    font-size: clamp(3.15rem, 15vw, 4.7rem);
  }

  .service-hero-content > p {
    font-size: 0.87rem;
  }

  .breadcrumbs {
    margin-bottom: 34px;
  }

  .focus-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .care-grid article {
    min-height: 0;
  }

  .pathway-note {
    bottom: 18px;
    right: -5px;
  }

  .aftercare-card {
    padding: 32px 24px;
  }

  .about-hero {
    padding-top: 60px;
  }

  .about-hero h1 {
    font-size: clamp(3.8rem, 20vw, 6rem);
  }

  .qualification-ribbon {
    grid-template-columns: 1fr;
    position: relative;
  }

  .qualification-ribbon span {
    min-height: 58px;
  }

  .about-hero-image > img {
    border-radius: 180px 180px 0 0;
  }

  .promise-cards article {
    min-height: 0;
  }

  .treatments-hero {
    padding: 60px 0 75px;
  }

  .treatments-hero-images img {
    border-radius: 120px 120px 18px 18px;
    height: 390px;
  }

  .treatments-hero-images img:last-child {
    margin-top: 45px;
  }

  .all-treatment-grid article {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
  }

  .treatment-image {
    height: 100%;
    min-height: 260px;
  }

  .all-treatment-grid article > div:last-child {
    padding: 22px;
  }

  .all-treatment-grid h3 {
    font-size: 1.35rem;
  }

  .simple-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-hero {
    align-items: end;
    min-height: 620px;
  }

  .contact-hero-overlay {
    background: linear-gradient(
      0deg,
      rgba(10, 36, 32, 0.98),
      rgba(10, 36, 32, 0.76) 60%,
      rgba(10, 36, 32, 0.08)
    );
  }

  .contact-hero-content {
    padding: 70px 0 50px;
  }

  .visit-location img {
    height: 430px;
  }

  .footer-grid > div:last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* ---- BB integration + layout-fix counter-overrides ---- */
body.site-theme-theme4 .container { width: var(--container); margin-inline: auto; }
body.site-theme-theme4 .bb4-hero-em,
body.site-theme-theme4 .home-hero h1 em {
  color: var(--gold-light);
  display: block;
  font-family: var(--font-accent);
  font-size: 0.76em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.12;
  margin-left: 0;
  margin-top: 0.22em;
}
body.site-theme-theme4 .home-hero h1 .bb4-hero-title-main {
  display: block;
  white-space: pre-line;
}
/* Mobile hero type lives in the shared @media blocks above — no dental size override. */
/* Restore clinic feature list (bb1-layout-fix zeros all ul/ol padding/list-style) */
body.site-theme-theme4 ul.feature-list,
body.site-theme-theme4 .feature-list {
  list-style: none !important;
  padding-left: 0 !important;
  padding-inline-start: 0 !important;
  margin: 18px 0 22px !important;
}
body.site-theme-theme4 .feature-list li {
  list-style: none !important;
  position: relative;
  padding-left: 1.15rem !important;
  margin: 0.55rem 0;
}
body.site-theme-theme4 .feature-list li.has-icon {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  padding-left: 0 !important;
}
body.site-theme-theme4 .feature-list li.has-icon::before {
  content: none !important;
  display: none !important;
}
body.site-theme-theme4 .bb4-feature-grid {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.site-theme-theme4 .bb4-feature-card {
  list-style: none !important;
}
/* Float chrome: Brandbox shared .pub-float-* (bb-floating.css) — do not hide on mobile */
body.site-theme-theme4 .bb4-form-status { margin: 12px 0 0; font-size: 0.9rem; color: var(--gold-light); }
body.site-theme-theme4 .bb4-form-status.is-error { color: #f5b4b4; }
body.site-theme-theme4 .bb4-form-status.is-ok { color: #b9e4c9; }
body.site-theme-theme4 .no-scroll { overflow: hidden; }
/* Estate floating dock — original navy rail + WhatsApp green */
body.site-theme-theme4 .pub-float-dock {
  /* Solid fill (not transparent): kills 1px corner nick / left-edge step under overflow clip */
  background: #0b1526 !important;
  border: 1px solid color-mix(in srgb, #0b1526 88%, #ffffff) !important;
  border-right: 0 !important;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
  box-shadow: -8px 10px 28px rgba(0, 0, 0, 0.42);
}
body.site-theme-theme4 .pub-float-btn--dock:not(.pub-float-btn--wa) {
  background: #0b1526 !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-left: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
body.site-theme-theme4 .pub-float-btn--dock:not(.pub-float-btn--wa):hover,
body.site-theme-theme4 .pub-float-btn--dock:not(.pub-float-btn--wa):focus-visible {
  background: #122038 !important;
  background-image: none !important;
  color: #fff !important;
  transform: none !important;
  filter: none !important;
}
body.site-theme-theme4 .pub-float-btn--dock::before {
  background: #0b1526 !important;
  color: var(--gold, #c9a55c) !important;
  border: 1px solid color-mix(in srgb, var(--gold, #c9a55c) 40%, transparent);
}
body.site-theme-theme4 .pub-float-btn--wa {
  background: #25d366 !important;
  background-image: none !important;
  color: #fff !important;
  border: 0 !important;
  border-left: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  /* Parent overflow clips the rail curve — child radius causes a 1px green step */
  border-radius: 0 !important;
}
body.site-theme-theme4 .pub-float-btn--wa:hover,
body.site-theme-theme4 .pub-float-btn--wa:focus-visible {
  background: #1ebe5b !important;
  background-image: none !important;
  color: #fff !important;
  filter: none !important;
}
/* Crisp WhatsApp mark — FA brands glyph AA fringe on green */
body.site-theme-theme4 .pub-float-btn--wa > i.fa-whatsapp {
  display: block;
  width: 1.2em;
  height: 1.2em;
  font-size: inherit;
  line-height: 0;
  color: transparent !important;
  background-color: #fff;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.435 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
body.site-theme-theme4 .pub-float-btn--wa > i.fa-whatsapp::before {
  content: none !important;
  display: none !important;
}
body.site-theme-theme4 .pub-float-stack a {
  background: #0b1526 !important;
  background-image: none !important;
  border: 1px solid color-mix(in srgb, #0b1526 70%, #ffffff) !important;
  color: #fff !important;
}
body.site-theme-theme4 .pub-float-stack a:hover {
  background: #122038 !important;
  filter: none;
  color: #fff !important;
}
/* Kill site-fx gradient paint on the dock rail */
body.site-fx-gradients.site-theme-theme4 .pub-float-btn--dock,
body.site-fx-gradients.site-theme-theme4 .pub-float-btn--wa,
body.site-fx-3d.site-theme-theme4 .pub-float-btn--dock,
body.site-fx-3d.site-theme-theme4 .pub-float-btn--wa {
  background-image: none !important;
  filter: none !important;
  transform: none !important;
}
body.site-theme-theme4 .bb4-wa-fab,
body.site-theme-theme4 .bb4-float-stack__btn,
body.site-theme-theme4 .bb4-float__btn {
  position: fixed; z-index: 80; display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; border-radius: 999px; background: var(--teal); color: var(--white);
  box-shadow: var(--shadow-soft);
}
body.site-theme-theme4 .bb4-wa-fab { right: 20px; bottom: 88px; background: #25d366; }
body.site-theme-theme4 .bb4-wa-fab--above-cart { bottom: 160px; }
body.site-theme-theme4 .bb4-float-stack {
  position: fixed; right: 20px; bottom: 88px; z-index: 80; display: flex; flex-direction: column; gap: 10px;
}
body.site-theme-theme4 .bb4-float-stack--with-wa { bottom: 156px; }
body.site-theme-theme4 .bb4-float-stack--above-cart { bottom: 160px; }
body.site-theme-theme4 .bb4-float-stack--with-wa.bb4-float-stack--above-cart { bottom: 228px; }

/* Cart FAB + drawer (markup/JS exist; must be fixed overlay — not document flow) */
body.site-theme-theme4 .bb4-cart-fab {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 120;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: var(--gold, #c9a227);
  color: #111;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
body.site-theme-theme4:has(.whatsapp-float) .bb4-cart-fab,
body.site-theme-theme4:has(.bb4-wa-fab) .bb4-cart-fab {
  bottom: var(--fab-cart-bottom, 90px);
  z-index: 999;
}
body.site-theme-theme4 .bb4-cart-fab[hidden] { display: none !important; }
body.site-theme-theme4 .bb4-cart-fab__badge {
  position: absolute;
  top: -0.2rem;
  right: -0.2rem;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--teal, #0f3d3a);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
}
body.site-theme-theme4 .bb4-cart-fab__badge[hidden] { display: none !important; }
body.site-theme-theme4 .bb4-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
}
body.site-theme-theme4 .bb4-cart-drawer[hidden] { display: none !important; }
body.site-theme-theme4 .bb4-cart-drawer.is-open { pointer-events: auto; }
body.site-theme-theme4 .bb4-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}
body.site-theme-theme4 .bb4-cart-drawer.is-open .bb4-cart-drawer__backdrop { opacity: 1; }
body.site-theme-theme4 .bb4-cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(22rem, 100%);
  height: 100%;
  background: #0b1210;
  color: #f4f1ea;
  border-left: 1px solid rgba(201, 162, 39, 0.35);
  box-shadow: -12px 0 40px rgba(0, 0, 0, 0.35);
  transform: translateX(105%);
  transition: transform 0.22s ease;
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  box-sizing: border-box;
}
body.site-theme-theme4 .bb4-cart-drawer.is-open .bb4-cart-drawer__panel { transform: none; }
body.site-theme-theme4 .bb4-cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 1.15rem;
}
body.site-theme-theme4 .bb4-cart-drawer__head button {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.35rem;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}
body.site-theme-theme4 .bb4-cart-drawer__list {
  flex: 1;
  overflow: auto;
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 0;
}
body.site-theme-theme4 .bb4-cart-drawer__list .bb4-cart-empty,
body.site-theme-theme4 .bb4-cart-drawer__list .bb2-cart-empty {
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 0;
}
body.site-theme-theme4 .bb4-cart-drawer__foot {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
body.site-theme-theme4 .bb4-cart-drawer__foot #bb4CartSummary {
  margin-bottom: 0.85rem;
  font-weight: 700;
}
body.site-theme-theme4 .bb4-cart-drawer__foot #bb4CartSummary > div {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}
body.site-theme-theme4 .bb4-cart-drawer__foot #bb4CartOrder {
  width: 100%;
}
body.site-theme-theme4 .bb4-cart-drawer .bb4-cart-line,
body.site-theme-theme4 .bb4-cart-drawer .bb2-cart-line {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
body.site-theme-theme4 .bb4-cart-drawer .bb4-cart-line__info,
body.site-theme-theme4 .bb4-cart-drawer .bb2-cart-line__info {
  grid-column: 1 / -1;
  min-width: 0;
  width: 100%;
}
body.site-theme-theme4 .bb4-cart-drawer .bb4-cart-line__name,
body.site-theme-theme4 .bb4-cart-drawer .bb2-cart-line__name {
  font-weight: 700;
  font-size: 0.95rem;
}
body.site-theme-theme4 .bb4-cart-drawer .bb4-cart-line__meta,
body.site-theme-theme4 .bb4-cart-drawer .bb2-cart-line__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: 100%;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}
body.site-theme-theme4 .bb4-cart-drawer .bb4-cart-line__rate,
body.site-theme-theme4 .bb4-cart-drawer .bb2-cart-line__rate {
  color: rgba(255, 255, 255, 0.65);
}
body.site-theme-theme4 .bb4-cart-drawer .bb4-cart-line__sum,
body.site-theme-theme4 .bb4-cart-drawer .bb2-cart-line__sum {
  font-weight: 800;
  white-space: nowrap;
  margin-left: auto;
}
body.site-theme-theme4 .bb4-cart-drawer .bb4-cart-line__qty,
body.site-theme-theme4 .bb4-cart-drawer .bb2-cart-line__qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(201, 162, 39, 0.55);
  border-radius: 0.4rem;
  padding: 0.2rem 0.3rem;
  font-weight: 700;
  justify-self: start;
}
body.site-theme-theme4 .bb4-cart-drawer button.bb4-cart-line__step,
body.site-theme-theme4 .bb4-cart-drawer button.bb2-cart-line__step {
  width: 1.65rem;
  height: 1.65rem;
  border: none;
  border-radius: 0.3rem;
  background: rgba(201, 162, 39, 0.2);
  color: var(--gold, #c9a227);
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
}
body.site-theme-theme4 .bb4-cart-drawer .bb4-cart-line__n,
body.site-theme-theme4 .bb4-cart-drawer .bb2-cart-line__n {
  min-width: 1.25rem;
  text-align: center;
  font-weight: 800;
}
body.site-theme-theme4 .bb4-cart-drawer .bb4-cart-line__remove,
body.site-theme-theme4 .bb4-cart-drawer .bb2-cart-line__remove {
  border: none;
  background: none;
  color: var(--gold, #c9a227);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  justify-self: end;
  padding: 0.25rem 0;
}
@media (prefers-reduced-motion: reduce) {
  body.site-theme-theme4 .bb4-cart-drawer__panel,
  body.site-theme-theme4 .bb4-cart-drawer__backdrop { transition: none !important; }
}

body.site-theme-theme4 .bb4-powered { color: rgba(255,255,255,0.55); font-size: 0.78rem; }
body.site-theme-theme4 .service-showcase a.bb4-service-card:not(.service-featured) { display: grid; }
@media (min-width: 861px) {
  body.site-theme-theme4 .service-showcase a.service-featured {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: stretch;
  }
  body.site-theme-theme4 .service-showcase a.service-featured > img {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 55%;
    height: 100%;
    min-height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center;
  }
  body.site-theme-theme4 .service-showcase a.service-featured > div {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 460px;
    position: relative;
    z-index: 1;
  }
}
@media (max-width: 860px) {
  body.site-theme-theme4 .service-showcase a.service-featured {
    display: block;
  }
  body.site-theme-theme4 .service-showcase a.service-featured > img {
    position: static;
    width: 100%;
    height: 300px;
    min-height: 0;
  }
  body.site-theme-theme4 .service-showcase a.service-featured > div {
    grid-column: auto;
    min-height: 0;
  }
}
body.site-theme-theme4 #contact,
body.site-theme-theme4 #enquireForm,
body.site-theme-theme4 #appointmentForm {
  scroll-margin-top: 96px;
}
body.site-theme-theme4 .brand img {
  height: 36px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
  aspect-ratio: auto;
  border-radius: 8px;
}
body.site-theme-theme4 .brand:has(.brand-name) img {
  max-width: min(56px, 18vw);
  height: 36px;
  border-radius: 8px;
}
@media (max-width: 860px) {
  body.site-theme-theme4 .brand { flex: 0 1 auto; min-width: 0; width: auto; }
  body.site-theme-theme4 .brand:not(:has(.brand-name)) img {
    width: min(140px, 44vw);
    height: auto;
    max-height: 34px;
    border-radius: 7px;
  }
  body.site-theme-theme4 .brand:has(.brand-name) img {
    width: auto;
    height: auto;
    max-height: 32px;
    max-width: min(52px, 18vw);
    border-radius: 7px;
  }
}
body.site-theme-theme4 .footer-disclaimer {
  max-width: 42rem; text-align: right; color: rgba(255,255,255,0.55); font-size: 0.78rem; line-height: 1.45;
}
@media (max-width: 860px) {
  body.site-theme-theme4 .footer-disclaimer { text-align: left; }
}

/* ---------- Testimonials — horizontal auto-scroll carousel ---------- */
body.site-theme-theme4 #testimonials .bb4-testimonials {
  --bb4-t-gap: 1.1rem;
  --bb4-t-per: 1;
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
  max-width: 58rem;
  margin: 0.35rem auto 0;
  box-sizing: border-box;
}
body.site-theme-theme4 #testimonials .bb4-testimonials__viewport {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 4px);
  padding: 0.15rem;
}
body.site-theme-theme4 #testimonials .bb4-testimonials__track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: var(--bb4-t-gap);
  list-style: none !important;
  margin: 0 !important;
  padding: 0.2rem 0.1rem 0.45rem !important;
  width: 100%;
  box-sizing: border-box;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
body.site-theme-theme4 #testimonials .bb4-testimonials__btn {
  flex: 0 0 auto;
  align-self: center;
  width: 2.75rem;
  height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--teal) 18%, transparent);
  border-radius: 999px;
  background: var(--white);
  color: var(--teal);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}
body.site-theme-theme4 #testimonials .bb4-testimonials__btn:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
  transform: translateY(-1px);
}
body.site-theme-theme4 #testimonials .bb4-testimonials__btn:disabled,
body.site-theme-theme4 #testimonials .bb4-testimonials__btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
  transform: none;
}
body.site-theme-theme4 #testimonials .bb4-testimonials.is-static .bb4-testimonials__btn {
  display: none;
}
body.site-theme-theme4 #testimonials .bb4-testimonials.is-static .bb4-testimonials__track {
  justify-content: center;
}
body.site-theme-theme4 #testimonials .bb4-testimonials.is-static .bb4-review-card:only-child {
  flex-basis: min(100%, 30rem);
  max-width: 30rem;
}
@media (min-width: 720px) {
  body.site-theme-theme4 #testimonials .bb4-testimonials {
    --bb4-t-per: 2;
    --bb4-t-gap: 1.2rem;
  }
}
@media (min-width: 1040px) {
  body.site-theme-theme4 #testimonials .bb4-testimonials {
    --bb4-t-per: 3;
    --bb4-t-gap: 1.25rem;
    max-width: 64rem;
  }
}
body.site-theme-theme4 #testimonials .bb4-review-card {
  flex: 0 0 calc((100% - (var(--bb4-t-per) - 1) * var(--bb4-t-gap)) / var(--bb4-t-per));
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  padding: 1.45rem 1.35rem 1.3rem;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--white) 92%, var(--mint-pale)) 0%, var(--white) 55%);
  border: 1px solid color-mix(in srgb, var(--teal) 12%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  box-sizing: border-box;
  list-style: none;
  min-height: 100%;
}
body.site-theme-theme4 #testimonials .bb4-review-stars {
  display: flex;
  gap: 0.18rem;
  color: var(--gold);
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.04em;
}
body.site-theme-theme4 #testimonials .bb4-review-text {
  margin: 0;
  flex: 1 1 auto;
  color: var(--ink-soft);
  font-family: var(--font-accent);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.55;
}
body.site-theme-theme4 #testimonials .bb4-review-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.15rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
body.site-theme-theme4 #testimonials .bb4-review-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid color-mix(in srgb, var(--gold) 55%, #fff);
  flex-shrink: 0;
  background: var(--mint);
}
body.site-theme-theme4 #testimonials .bb4-review-avatar--init {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mint);
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--teal);
}
body.site-theme-theme4 #testimonials .bb4-review-meta {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  min-width: 0;
}
body.site-theme-theme4 #testimonials .bb4-review-meta strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
}
body.site-theme-theme4 #testimonials .bb4-review-meta span {
  color: var(--ink-soft);
  font-size: 0.84rem;
  line-height: 1.3;
}
@media (max-width: 639px) {
  body.site-theme-theme4 #testimonials .bb4-testimonials { gap: 0.35rem; }
  body.site-theme-theme4 #testimonials .bb4-testimonials__btn {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.25rem;
  }
  body.site-theme-theme4 #testimonials .bb4-review-card {
    padding: 1.2rem 1.1rem 1.15rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.site-theme-theme4 #testimonials .bb4-testimonials__track {
    transition: none !important;
  }
}

/* ============================================================
   Estate Gallery — Editorial Luxury LOOK (Brandbox theme1 / Mayukha)
   Ports chrome onto Businessbook selectors; Studio markup unchanged.
   ============================================================ */

body.site-theme-theme4 {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
}

body.site-theme-theme4 .utility-bar {
  background: var(--teal-deep);
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
  color: color-mix(in srgb, var(--ink) 78%, transparent);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.site-theme-theme4 .utility-bar .utility-inner {
  min-height: 28px;
  padding: 3px 0;
}
/* Compact professional header height (Mayukha-standard) */
body.site-theme-theme4 .site-header {
  padding: 12px 0;
}
body.site-theme-theme4 .site-header.is-scrolled {
  padding: 8px 0;
}
body.site-theme-theme4 .header-inner {
  min-height: 58px;
  gap: clamp(8px, 1.4vw, 18px);
}
body.site-theme-theme4 .brand {
  gap: 10px;
}
body.site-theme-theme4 .brand,
body.site-theme-theme4 .brand .brand-name {
  color: #ffffff;
  font-family: var(--font-display);
}
body.site-theme-theme4 .brand .brand-name {
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

body.site-theme-theme4 .desktop-nav > a,
body.site-theme-theme4 .desktop-nav summary {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: var(--nav-link-tracking);
  text-transform: none;
  padding: 0.55rem 0 0.65rem;
}
body.site-theme-theme4 .header-ctas .button-header,
body.site-theme-theme4 .button-header {
  min-height: 38px;
  padding-inline: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

body.site-theme-theme4 .desktop-nav > a:hover,
body.site-theme-theme4 .desktop-nav > a:focus-visible,
body.site-theme-theme4 .desktop-nav > a[aria-current="page"],
body.site-theme-theme4 .desktop-nav summary:hover {
  color: var(--gold-light);
}

/* Underline under the label (base used bottom:22px which sat above after compact padding). */
body.site-theme-theme4 .desktop-nav > a::after,
body.site-theme-theme4 .desktop-nav summary::after {
  background: var(--gold);
  height: 2px;
  bottom: 0;
  top: auto;
  left: 0;
  right: 0;
  width: 100%;
}
body.site-theme-theme4 .desktop-nav > a:hover::after,
body.site-theme-theme4 .desktop-nav > a:focus-visible::after,
body.site-theme-theme4 .desktop-nav > a[aria-current="page"]::after,
body.site-theme-theme4 .desktop-nav summary:hover::after,
body.site-theme-theme4 .nav-dropdown[open] > summary::after {
  transform: scaleX(1);
}

body.site-theme-theme4 .home-hero h1 .bb4-hero-title-main {
  color: #ffffff;
  font-weight: 700;
}

body.site-theme-theme4 .home-hero h1 em,
body.site-theme-theme4 .home-hero h1 .bb4-hero-em {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  display: inline;
}

body.site-theme-theme4 .home-hero-content > p {
  max-width: 640px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
}

body.site-theme-theme4 .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}

body.site-theme-theme4 .button-ghost-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: #fff;
}
body.site-theme-theme4 .button-ghost-light:hover,
body.site-theme-theme4 .button-ghost-light:focus-visible {
  background: #fff;
  color: var(--teal-deep);
  border-color: #fff;
}

/* Section titles — Editorial Luxury scale */
body.site-theme-theme4 .section-heading h2,
body.site-theme-theme4 .highlights-section h2,
body.site-theme-theme4 .doctor-home h2,
body.site-theme-theme4 .clinic-spotlight h2,
body.site-theme-theme4 .faq-section h2,
body.site-theme-theme4 #testimonials h2,
body.site-theme-theme4 .bb4-categories-section h2,
body.site-theme-theme4 .service-showcase h2,
body.site-theme-theme4 .stats-section h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

body.site-theme-theme4 .section-heading h2::after,
body.site-theme-theme4 .title-underline {
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 16px;
  border-radius: 2px;
  background: var(--gradient-gold, var(--gold));
  content: "";
}

/* Light listing bands (featured / categories) — highlights stay dark */
body.site-theme-theme4 .service-showcase,
body.site-theme-theme4 .bb4-categories-section,
body.site-theme-theme4 section#featured.estate-featured,
body.site-theme-theme4 .estate-featured {
  background: var(--paper, #f6f5f2);
  color: #0b1526;
}
body.site-theme-theme4 .service-showcase h2,
body.site-theme-theme4 .bb4-categories-section h2,
body.site-theme-theme4 .estate-featured h2 {
  color: #0b1526;
}
body.site-theme-theme4 .service-showcase .eyebrow,
body.site-theme-theme4 .bb4-categories-section .eyebrow,
body.site-theme-theme4 .estate-featured .eyebrow {
  color: var(--gold-dark, var(--gold));
}
body.site-theme-theme4 .service-showcase .eyebrow::before,
body.site-theme-theme4 .service-showcase .eyebrow::after,
body.site-theme-theme4 .estate-featured .eyebrow::before,
body.site-theme-theme4 .estate-featured .eyebrow::after {
  background: var(--gold);
}

/* Property-card LOOK on showcase / category cards */
body.site-theme-theme4 .bb4-service-card,
body.site-theme-theme4 .service-showcase > a,
body.site-theme-theme4 .bb4-category-card,
body.site-theme-theme4 .highlight-card {
  background: #ffffff;
  color: #1a1620;
  border: 1px solid var(--gray-200, #eaeaea);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: none;
  transition: var(--transition);
  position: relative;
}
body.site-theme-theme4 .bb4-service-card:hover,
body.site-theme-theme4 .service-showcase > a:hover,
body.site-theme-theme4 .bb4-category-card:hover,
body.site-theme-theme4 .highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  border-color: color-mix(in srgb, var(--gold) 40%, transparent);
}
body.site-theme-theme4 .bb4-service-card img,
body.site-theme-theme4 .service-showcase > a img,
body.site-theme-theme4 .bb4-category-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
body.site-theme-theme4 .bb4-service-card:hover img,
body.site-theme-theme4 .service-showcase > a:hover img,
body.site-theme-theme4 .bb4-category-card:hover img {
  transform: scale(1.07);
}
body.site-theme-theme4 .bb4-service-card h3,
body.site-theme-theme4 .bb4-service-card .service-title,
body.site-theme-theme4 .bb4-category-card h3,
body.site-theme-theme4 .highlight-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: #0b1526;
  transition: color 0.3s;
}
body.site-theme-theme4 .bb4-service-card:hover h3,
body.site-theme-theme4 .bb4-service-card:hover .service-title,
body.site-theme-theme4 .service-showcase > a:hover h3 {
  color: var(--gold-dark);
}
body.site-theme-theme4 .bb4-service-card p,
body.site-theme-theme4 .highlight-card p,
body.site-theme-theme4 .bb4-category-card p {
  color: var(--gray-500, #888);
}

body.site-theme-theme4 .bb4-review-card,
body.site-theme-theme4 .faq-item,
body.site-theme-theme4 .bb-studio-specific__article {
  background: color-mix(in srgb, var(--teal) 92%, #fff);
  border: 1px solid color-mix(in srgb, var(--gold) 18%, transparent);
  border-radius: 12px;
}

body.site-theme-theme4 .status-badge,
body.site-theme-theme4 .bb4-status,
body.site-theme-theme4 .service-badge {
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
}
body.site-theme-theme4 .badge-ready { background: #1a7a4a; color: #fff; }
body.site-theme-theme4 .badge-under { background: #1a4a7a; color: #fff; }
body.site-theme-theme4 .badge-launch { background: #7a1a1a; color: #fff; }
body.site-theme-theme4 .badge-sold { background: #4a4a4a; color: #fff; }

/* Doctor / about / dark sections stay navy */
body.site-theme-theme4 .doctor-home,
body.site-theme-theme4 .clinic-spotlight,
body.site-theme-theme4 .stats-section,
body.site-theme-theme4 .faq-section,
body.site-theme-theme4 #testimonials,
body.site-theme-theme4 .booking-band {
  background: var(--teal-deep);
  color: var(--ink);
}
body.site-theme-theme4 .doctor-home h2,
body.site-theme-theme4 .clinic-spotlight h2,
body.site-theme-theme4 .stats-section h2,
body.site-theme-theme4 .faq-section h2,
body.site-theme-theme4 #testimonials h2 {
  color: #ffffff;
}

body.site-theme-theme4 .site-footer,
body.site-theme-theme4 footer.site-footer {
  background: var(--teal-deep);
  color: var(--ink);
  border-top: 1px solid color-mix(in srgb, var(--gold) 10%, transparent);
  padding-top: clamp(48px, 6vw, 80px);
}
body.site-theme-theme4 .site-footer h2,
body.site-theme-theme4 .site-footer .footer-title,
body.site-theme-theme4 .footer-grid h2 {
  font-family: var(--font-display);
  color: #ffffff;
  margin-bottom: 16px;
}
body.site-theme-theme4 .site-footer h2::after,
body.site-theme-theme4 .footer-grid h2::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 12px;
  background: var(--gold);
}
body.site-theme-theme4 .site-footer a:hover {
  color: var(--gold-light);
}
body.site-theme-theme4 .site-footer .social-link,
body.site-theme-theme4 .footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid color-mix(in srgb, var(--gold) 15%, transparent);
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
body.site-theme-theme4 .site-footer .social-link:hover,
body.site-theme-theme4 .footer-social a:hover {
  background: var(--gold);
  color: #060c18;
  border-color: var(--gold);
  transform: translateY(-3px);
}

body.site-theme-theme4 .form-control,
body.site-theme-theme4 input:not([type="checkbox"]):not([type="radio"]),
body.site-theme-theme4 textarea,
body.site-theme-theme4 select {
  border-radius: var(--radius, 8px);
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  background: color-mix(in srgb, var(--teal) 88%, #000);
  color: var(--ink);
}
body.site-theme-theme4 .form-control:focus,
body.site-theme-theme4 input:focus,
body.site-theme-theme4 textarea:focus,
body.site-theme-theme4 select:focus {
  border-color: var(--gold);
  outline: 2px solid color-mix(in srgb, var(--gold) 35%, transparent);
}

body.site-theme-theme4 .bb4-cart-fab {
  background: var(--gradient-gold, var(--gold));
  color: #060c18;
  box-shadow: var(--shadow-gold);
  border-radius: 8px;
}

body.site-theme-theme4 .mobile-menu > summary {
  color: var(--ink, #e8e2d8);
  border-color: color-mix(in srgb, var(--gold) 40%, transparent);
}
body.site-theme-theme4 .mobile-menu nav {
  background: var(--teal-deep);
  border-color: color-mix(in srgb, var(--gold) 22%, transparent);
}
body.site-theme-theme4 .mobile-menu nav > a {
  color: rgba(255, 255, 255, 0.92);
}

/* Light palette safety */
body.site-theme-theme4.site-palette-light .site-header {
  background: color-mix(in srgb, var(--ivory) 94%, #fff);
  border-bottom-color: color-mix(in srgb, var(--gold) 28%, transparent);
}
body.site-theme-theme4.site-palette-light .brand,
body.site-theme-theme4.site-palette-light .brand .brand-name,
body.site-theme-theme4.site-palette-light .desktop-nav > a,
body.site-theme-theme4.site-palette-light .mobile-menu > summary {
  color: #1a1620;
}


/* ============================================================
   Theme4 Mayukha estate sections — property cards, bands, FAQ
   ============================================================ */
body.site-theme-theme4 {
  --paper: #f6f5f2;
  --paper-deep: #f0eeea;
  --ink-on-light: #0b1526;
  --muted-on-light: #6b6570;
}

body.site-theme-theme4 .estate-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.75rem;
}
body.site-theme-theme4 .estate-heading .eyebrow {
  justify-content: center;
  width: 100%;
}
body.site-theme-theme4 .estate-heading h2 {
  margin: 0 0 0.55rem;
  color: inherit;
}
body.site-theme-theme4 .estate-heading__sub {
  margin: 0 auto;
  color: var(--muted-on-light, #6b6570);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.55;
}
body.site-theme-theme4 .estate-heading__body {
  margin: 0.65rem auto 0;
  max-width: 36rem;
  color: var(--muted-on-light, #6b6570);
  font-size: 0.95rem;
}
body.site-theme-theme4 .estate-heading .title-underline {
  margin-left: auto;
  margin-right: auto;
}
body.site-theme-theme4 .estate-heading--light h2 {
  color: var(--ink-on-light, #0b1526);
}

/* Featured property cards */
body.site-theme-theme4 .estate-featured {
  background: var(--paper, #f6f5f2);
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-catalogue--properties,
body.site-theme-theme4 #catalogue-page.estate-catalogue--properties {
  background: var(--paper, #f6f5f2);
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-catalogue--properties .estate-heading h2 {
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-property-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) {
  body.site-theme-theme4 .estate-property-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body.site-theme-theme4 .estate-property-grid { grid-template-columns: 1fr; }
}
body.site-theme-theme4 .estate-property-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(11, 21, 38, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(11, 21, 38, 0.06);
}
body.site-theme-theme4 .estate-property-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: #1a2030;
}
body.site-theme-theme4 .estate-property-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
body.site-theme-theme4 .estate-property-card:hover .estate-property-card__media img {
  transform: scale(1.04);
}
body.site-theme-theme4 .estate-property-card__media .status-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}
body.site-theme-theme4 .estate-property-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6,12,24,0.55) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
body.site-theme-theme4 .estate-property-card__actions {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
body.site-theme-theme4 .estate-property-card:hover .estate-property-card__overlay,
body.site-theme-theme4 .estate-property-card:hover .estate-property-card__actions {
  opacity: 1;
}
body.site-theme-theme4 .estate-property-card__body {
  padding: 1.15rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
body.site-theme-theme4 .estate-property-card__name {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink-on-light, #0b1526);
  line-height: 1.25;
}
body.site-theme-theme4 .estate-property-card__loc {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted-on-light, #6b6570);
}
body.site-theme-theme4 .estate-property-card__loc i {
  color: var(--gold);
  margin-right: 0.35rem;
}
body.site-theme-theme4 .estate-property-card__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted-on-light, #6b6570);
}
body.site-theme-theme4 .estate-property-card__specs i {
  color: var(--gold);
  margin-right: 0.3rem;
}
body.site-theme-theme4 .estate-property-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(11, 21, 38, 0.08);
}
body.site-theme-theme4 .estate-property-card__price {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .button-sm {
  padding: 0.45rem 0.95rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  border-radius: 6px;
}
body.site-theme-theme4 .button-lg {
  padding: 0.95rem 1.75rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
body.site-theme-theme4 .estate-section-action {
  display: flex;
  justify-content: center;
  margin-top: 2.5rem;
}

/* Catalogue / property detail — premium brochure */
body.site-theme-theme4 .estate-detail {
  background:
    radial-gradient(120% 80% at 50% -10%, color-mix(in srgb, var(--gold, #c9a55c) 10%, transparent), transparent 55%),
    linear-gradient(180deg, #f7f5f1 0%, #fff 28%, #fff 100%);
  color: var(--ink-on-light, #0b1526);
  padding-top: clamp(1.75rem, 3.5vw, 2.75rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}
body.site-theme-theme4 .estate-detail__wrap {
  max-width: 1120px;
}
body.site-theme-theme4 .estate-detail__back {
  margin: 0 0 1.1rem;
}
body.site-theme-theme4 .estate-detail__back .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-on-light, #6b6570);
  text-decoration: none;
  transition: color 160ms ease;
}
body.site-theme-theme4 .estate-detail__back .text-link:hover {
  color: var(--gold-dark, #a67c2d);
}
body.site-theme-theme4 .estate-detail__back i {
  font-size: 0.7rem;
}

body.site-theme-theme4 .estate-detail__hero {
  position: relative;
  margin: 0 0 clamp(1.75rem, 3.2vw, 2.35rem);
  border-radius: 18px;
  overflow: hidden;
  background: var(--teal-deep, #060c18);
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--gold, #c9a55c) 35%, transparent),
    0 22px 56px rgba(11, 21, 38, 0.16);
}
body.site-theme-theme4 .estate-detail__hero img {
  display: block;
  width: 100%;
  max-height: min(620px, 68vh);
  object-fit: cover;
  transform: scale(1.01);
}
body.site-theme-theme4 .estate-detail__hero-frame {
  pointer-events: none;
  position: absolute;
  inset: 14px;
  border: 1px solid color-mix(in srgb, var(--gold, #c9a55c) 55%, transparent);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  opacity: 0.85;
}
body.site-theme-theme4 .estate-detail__hero::after {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(6, 12, 24, 0.28) 100%);
}

body.site-theme-theme4 .estate-detail__masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.75fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
  padding: clamp(1.35rem, 2.4vw, 1.85rem) clamp(1.25rem, 2.2vw, 1.75rem);
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(11, 21, 38, 0.06);
  box-shadow: 0 14px 40px rgba(11, 21, 38, 0.06);
}
@media (max-width: 860px) {
  body.site-theme-theme4 .estate-detail__masthead {
    grid-template-columns: 1fr;
  }
}
body.site-theme-theme4 .estate-detail__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
body.site-theme-theme4 .estate-detail__badge,
body.site-theme-theme4 .estate-detail__type {
  display: inline-block;
  padding: 0.32rem 0.78rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
body.site-theme-theme4 .estate-detail__badge {
  border: 1px solid color-mix(in srgb, var(--gold, #c9a55c) 55%, transparent);
  background: color-mix(in srgb, var(--gold, #c9a55c) 14%, #fff);
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-detail__type {
  border: 1px solid rgba(11, 21, 38, 0.1);
  background: #f4f2ee;
  color: var(--muted-on-light, #6b6570);
}
body.site-theme-theme4 .estate-detail__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-detail__masthead .title-underline,
body.site-theme-theme4 .estate-detail__section-head .title-underline {
  margin: 0 0 1.05rem;
}
body.site-theme-theme4 .estate-detail__loc {
  margin: 0 0 1.1rem;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted-on-light, #6b6570);
}
body.site-theme-theme4 .estate-detail__loc i {
  color: var(--gold, #c9a55c);
  margin-right: 0.4rem;
}
body.site-theme-theme4 .estate-detail__specs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
body.site-theme-theme4 .estate-detail__spec {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--teal-deep, #060c18) 4%, #fff);
  border: 1px solid rgba(11, 21, 38, 0.07);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 600;
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-detail__spec i {
  color: var(--gold, #c9a55c);
}
body.site-theme-theme4 .estate-detail__spec em {
  font-style: normal;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-on-light, #6b6570);
  margin-right: 0.15rem;
}
body.site-theme-theme4 .estate-detail__masthead-aside {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 14px;
  background:
    linear-gradient(160deg, var(--teal-deep, #060c18) 0%, var(--teal-mid, #122038) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--gold, #c9a55c) 28%, transparent);
}
body.site-theme-theme4 .estate-detail__price-label {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--gold-light, #dcc07a) 80%, #fff);
}
body.site-theme-theme4 .estate-detail__price {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
}
body.site-theme-theme4 .estate-detail__mrp {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78em;
  font-weight: 500;
  text-decoration: line-through;
  opacity: 0.55;
}
body.site-theme-theme4 .estate-detail__actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
body.site-theme-theme4 .estate-detail__actions .button {
  width: 100%;
  justify-content: center;
  text-align: center;
}
body.site-theme-theme4 .estate-detail__actions-secondary {
  background: transparent !important;
  border: 1px solid color-mix(in srgb, var(--gold, #c9a55c) 45%, #fff) !important;
  color: #fff !important;
  box-shadow: none !important;
}
body.site-theme-theme4 .estate-detail__actions-secondary:hover {
  border-color: var(--gold-light, #dcc07a) !important;
  color: var(--gold-light, #dcc07a) !important;
  background: color-mix(in srgb, var(--gold, #c9a55c) 12%, transparent) !important;
}

body.site-theme-theme4 .estate-detail__section {
  margin-top: clamp(2.35rem, 4.5vw, 3.5rem);
  padding-top: clamp(1.75rem, 3vw, 2.25rem);
  border-top: 1px solid rgba(11, 21, 38, 0.08);
}
body.site-theme-theme4 .estate-detail__section-head {
  margin-bottom: 1.25rem;
}
body.site-theme-theme4 .estate-detail__eyebrow {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark, #a67c2d);
}
body.site-theme-theme4 .estate-detail__eyebrow--on-dark {
  color: color-mix(in srgb, var(--gold-light, #dcc07a) 88%, #fff);
}
body.site-theme-theme4 .estate-detail__section-title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 600;
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-detail__prose {
  max-width: 68ch;
  font-size: 1.05rem;
  line-height: 1.8;
  color: color-mix(in srgb, var(--ink-on-light, #0b1526) 86%, #6b6570);
}
body.site-theme-theme4 .estate-detail__prose p {
  margin: 0 0 1.15rem;
}
body.site-theme-theme4 .estate-detail__prose p:last-child {
  margin-bottom: 0;
}
body.site-theme-theme4 .estate-detail__amenities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem 1rem;
}
@media (max-width: 800px) {
  body.site-theme-theme4 .estate-detail__amenities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  body.site-theme-theme4 .estate-detail__amenities {
    grid-template-columns: 1fr;
  }
}
body.site-theme-theme4 .estate-detail__amenity {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(11, 21, 38, 0.07);
  background: #fff;
  box-shadow: 0 8px 22px rgba(11, 21, 38, 0.04);
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--ink-on-light, #0b1526);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
body.site-theme-theme4 .estate-detail__amenity:hover {
  border-color: color-mix(in srgb, var(--gold, #c9a55c) 45%, transparent);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(11, 21, 38, 0.07);
}
body.site-theme-theme4 .estate-detail__amenity-icon {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--gold, #c9a55c) 14%, #fff);
  border: 1px solid color-mix(in srgb, var(--gold, #c9a55c) 40%, transparent);
  color: var(--gold-dark, #a67c2d);
}
body.site-theme-theme4 .estate-detail__amenity-label {
  font-weight: 600;
}
body.site-theme-theme4 .estate-detail__gallery {
  --gal-cols: 4;
  --gal-gap: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gal-gap);
}
body.site-theme-theme4 .estate-detail__gallery[data-cols="1"] { --gal-cols: 1; }
body.site-theme-theme4 .estate-detail__gallery[data-cols="2"] { --gal-cols: 2; }
body.site-theme-theme4 .estate-detail__gallery[data-cols="3"] { --gal-cols: 3; }
body.site-theme-theme4 .estate-detail__gallery[data-cols="4"] { --gal-cols: 4; }
body.site-theme-theme4 .estate-detail__gallery-item {
  flex: 0 1 calc((100% - (var(--gal-cols) - 1) * var(--gal-gap)) / var(--gal-cols));
  width: calc((100% - (var(--gal-cols) - 1) * var(--gal-gap)) / var(--gal-cols));
  max-width: calc((100% - (var(--gal-cols) - 1) * var(--gal-gap)) / var(--gal-cols));
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #ece8e1;
  aspect-ratio: 4 / 3;
  box-shadow: 0 10px 28px rgba(11, 21, 38, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
body.site-theme-theme4 .estate-detail__gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(11, 21, 38, 0.12);
}
@media (max-width: 1100px) {
  body.site-theme-theme4 .estate-detail__gallery[data-cols="4"] {
    --gal-cols: 3;
  }
}
@media (max-width: 800px) {
  body.site-theme-theme4 .estate-detail__gallery:not([data-count="1"]) {
    --gal-cols: 2;
  }
}
@media (max-width: 480px) {
  body.site-theme-theme4 .estate-detail__gallery {
    --gal-cols: 1;
  }
}
body.site-theme-theme4 .estate-detail__gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 280ms ease;
}
body.site-theme-theme4 .estate-detail__gallery-item:hover img {
  transform: scale(1.04);
}
body.site-theme-theme4 .estate-detail__more-grid {
  margin-top: 0.25rem;
}

body.site-theme-theme4 .estate-detail__cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.75rem;
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.35rem, 2.8vw, 2.15rem);
  border-radius: 16px;
  background:
    linear-gradient(135deg, var(--teal-deep, #060c18) 0%, var(--teal-mid, #122038) 58%, color-mix(in srgb, var(--teal-mid, #122038) 70%, var(--gold, #c9a55c)) 100%);
  color: #fff;
  box-shadow:
    0 1px 0 color-mix(in srgb, var(--gold, #c9a55c) 30%, transparent),
    0 22px 48px rgba(11, 21, 38, 0.18);
}
body.site-theme-theme4 .estate-detail__cta-title {
  margin: 0.35rem 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}
body.site-theme-theme4 .estate-detail__cta-text {
  margin: 0;
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
body.site-theme-theme4 .estate-detail__cta-action .button {
  white-space: nowrap;
}

/* Highlights — dark navy */
body.site-theme-theme4 .highlights-section--estate,
body.site-theme-theme4 .highlights-section {
  background: var(--teal-deep, #060c18) !important;
  color: #fff;
}
body.site-theme-theme4 .highlights-section--estate .estate-heading h2,
body.site-theme-theme4 .highlights-section--estate .estate-heading__sub,
body.site-theme-theme4 .highlights-section--estate .estate-heading__body {
  color: #fff;
}
body.site-theme-theme4 .highlights-section--estate .estate-heading__sub {
  color: rgba(255,255,255,0.72);
}
body.site-theme-theme4 .highlights-section--estate .bb4-feature-card {
  /* Lift off navy page: lighten surface + stronger gold edge (palette tokens). */
  background: color-mix(in srgb, #ffffff 10%, var(--teal-mid, #122038));
  border: 1px solid color-mix(in srgb, var(--gold) 42%, transparent);
  border-radius: 12px;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--gold) 14%, transparent), 0 14px 36px rgba(0, 0, 0, 0.35);
  padding: 1.75rem 1.35rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
body.site-theme-theme4 .highlights-section--estate .bb4-feature-card__icon {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 32%, transparent);
  border: 1px solid color-mix(in srgb, var(--gold-light, var(--gold)) 58%, transparent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light, var(--gold));
  margin: 0 auto;
}
body.site-theme-theme4 .highlights-section--estate .bb4-feature-card__title {
  color: #fff;
  text-align: center;
}
body.site-theme-theme4 .highlights-section--estate .bb4-feature-card__text {
  color: color-mix(in srgb, #ffffff 88%, var(--ink-soft, #8b8070));
  text-align: center;
}
/* Mayukha: four highlight cards in one row (not a 3+1 wrap). */
body.site-theme-theme4 .highlights-section--estate .bb4-feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(0.85rem, 1.6vw, 1.25rem);
}
@media (max-width: 1120px) {
  body.site-theme-theme4 .highlights-section--estate .bb4-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  body.site-theme-theme4 .highlights-section--estate .bb4-feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Gallery expertise */
body.site-theme-theme4 .estate-gallery {
  background: #fff;
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-expertise-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  body.site-theme-theme4 .estate-expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  body.site-theme-theme4 .estate-expertise-grid { grid-template-columns: 1fr; }
}
body.site-theme-theme4 .estate-expertise-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(11, 21, 38, 0.06);
  border: 1px solid rgba(11, 21, 38, 0.06);
}
body.site-theme-theme4 .estate-expertise-card__media {
  aspect-ratio: 16 / 11;
  overflow: hidden;
}
body.site-theme-theme4 .estate-expertise-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.site-theme-theme4 .estate-expertise-card__body {
  padding: 1.1rem 1.2rem 1.35rem;
}
body.site-theme-theme4 .estate-expertise-card__body h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-expertise-card__sub {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted-on-light, #6b6570);
}
body.site-theme-theme4 .estate-expertise-card__sub i {
  color: var(--gold);
  margin-right: 0.35rem;
}

/* Stats — dark gold figures */
body.site-theme-theme4 .stats-section--estate,
body.site-theme-theme4 .stats-section {
  background: var(--teal-deep, #060c18) !important;
  color: #fff;
}
body.site-theme-theme4 .stats-section--estate .estate-heading h2 {
  color: #fff;
}
body.site-theme-theme4 .stats-section--estate .estate-heading__sub {
  color: rgba(255,255,255,0.7);
}
body.site-theme-theme4 .stats-section--estate .bb4-stats-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.5rem;
}
body.site-theme-theme4 .stats-section--estate .bb4-stats-card__value {
  color: var(--gold);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
}
body.site-theme-theme4 .stats-section--estate .bb4-stats-card__label {
  color: rgba(255,255,255,0.65);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

/* About — light split */
body.site-theme-theme4 .estate-about {
  background: #fff !important;
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-about-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}
body.site-theme-theme4 .estate-about-grid--solo {
  grid-template-columns: 1fr;
  max-width: 720px;
}
body.site-theme-theme4 .estate-about .about-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}
body.site-theme-theme4 .estate-about .about-tag::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}
body.site-theme-theme4 .estate-about h2 {
  color: var(--ink-on-light, #0b1526);
  margin: 0 0 1rem;
}
body.site-theme-theme4 .estate-about .about-desc {
  color: var(--muted-on-light, #6b6570);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 0.85rem;
}
body.site-theme-theme4 .estate-about .about-features {
  display: grid;
  gap: 0.55rem;
  margin: 1.1rem 0 1.35rem;
}
body.site-theme-theme4 .estate-about .about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.92rem;
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-about .about-feature i {
  flex: 0 0 auto;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 18%, #fff);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  margin-top: 0.1rem;
}
body.site-theme-theme4 .estate-about-media img,
body.site-theme-theme4 .estate-about .about-image-main {
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 16px 48px rgba(11, 21, 38, 0.12);
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
body.site-theme-theme4 .button-outline-gold {
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  border-radius: 6px;
  padding: 0.75rem 1.25rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
body.site-theme-theme4 .button-outline-gold:hover {
  background: color-mix(in srgb, var(--gold) 12%, transparent);
}
@media (max-width: 820px) {
  body.site-theme-theme4 .estate-about-grid {
    grid-template-columns: 1fr;
  }
}

/* Why — dark split */
body.site-theme-theme4 .estate-why {
  background: var(--teal-deep, #060c18);
  color: #fff;
}
body.site-theme-theme4 .estate-why .estate-heading h2 {
  color: #fff;
}
body.site-theme-theme4 .estate-why .estate-heading__sub {
  color: rgba(255,255,255,0.72);
}
body.site-theme-theme4 .estate-why-split {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  margin-top: 0.5rem;
}
body.site-theme-theme4 .estate-why-split--text {
  grid-template-columns: 1fr;
  max-width: 720px;
  margin-inline: auto;
}
body.site-theme-theme4 .estate-why-copy p {
  color: rgba(255,255,255,0.78);
  line-height: 1.85;
  margin: 0 0 1rem;
}
body.site-theme-theme4 .estate-why-media img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  aspect-ratio: 16 / 11;
  object-fit: cover;
}
@media (max-width: 820px) {
  body.site-theme-theme4 .estate-why-split {
    grid-template-columns: 1fr;
  }
}

/* FAQ light cards */
body.site-theme-theme4 .estate-faq,
body.site-theme-theme4 .faq-section {
  background: var(--paper, #f6f5f2) !important;
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-faq .estate-heading h2 {
  color: var(--ink-on-light, #0b1526);
}
body.site-theme-theme4 .estate-faq-accordion {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 0.75rem;
}
body.site-theme-theme4 .estate-faq-accordion details {
  background: #fff;
  border: 1px solid rgba(11, 21, 38, 0.1);
  border-radius: 8px;
  border-bottom: 1px solid rgba(11, 21, 38, 0.1);
  padding: 0 1.15rem;
}
body.site-theme-theme4 .estate-faq-accordion summary {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-on-light, #0b1526);
  padding: 1.05rem 0;
}
body.site-theme-theme4 .estate-faq-accordion details[open] summary {
  border-bottom: 1px solid rgba(11, 21, 38, 0.08);
}
body.site-theme-theme4 .estate-faq-accordion details p {
  color: var(--muted-on-light, #6b6570);
  padding: 0.85rem 0 1.15rem;
  margin: 0;
}

/* Footer gold serif headers */
body.site-theme-theme4 .site-footer .footer-grid h2,
body.site-theme-theme4 .footer-grid h2 {
  color: var(--gold) !important;
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
}
body.site-theme-theme4 .footer-grid > div:not(.footer-brand) > a::before {
  content: "›";
  color: var(--gold);
  margin-right: 0.4rem;
  opacity: 0.85;
}
body.site-theme-theme4 .button-gold {
  background: var(--gradient-gold, var(--gold));
  background-image: var(--gradient-gold);
  color: #1a1408 !important;
  border: none;
  box-shadow:
    0 4px 20px color-mix(in srgb, var(--gold, #c9a55c) 32%, transparent),
    inset 0 1px 0 rgba(255, 248, 220, 0.3),
    inset 0 -1px 0 rgba(90, 60, 20, 0.12);
}
body.site-theme-theme4 .button-gold:hover,
body.site-theme-theme4 .button-gold:focus-visible {
  background-image: linear-gradient(
    135deg,
    color-mix(in srgb, var(--gold-dark, #a67c2d) 90%, #6a4f1c) 0%,
    var(--gold-dark, #a67c2d) 24%,
    var(--gold, #c9a55c) 52%,
    var(--gold-light, #dcc07a) 82%,
    color-mix(in srgb, var(--gold-light, #dcc07a) 88%, #fff8e0) 100%
  );
  color: #1a1408 !important;
}


/* ============================================================
   Theme4 estate contact + WhatsApp enquiry (Mayukha)
   ============================================================ */
body.site-theme-theme4 .estate-contact,
body.site-theme-theme4 .estate-contact-enquire {
  background: var(--teal-deep, #060c18) !important;
  color: #fff;
}
body.site-theme-theme4 .estate-contact--with-form {
  padding-bottom: clamp(28px, 4vw, 48px);
}
body.site-theme-theme4 .estate-contact-enquire--follow {
  padding-top: 0;
}
body.site-theme-theme4 .estate-contact .estate-heading h2,
body.site-theme-theme4 .estate-contact-enquire .estate-heading h2 {
  color: #fff;
}
body.site-theme-theme4 .estate-contact .estate-heading__sub,
body.site-theme-theme4 .estate-contact .estate-heading__body,
body.site-theme-theme4 .estate-contact-enquire .estate-heading__sub {
  color: rgba(255, 255, 255, 0.72);
}
body.site-theme-theme4 .estate-contact .eyebrow,
body.site-theme-theme4 .estate-contact-enquire .eyebrow {
  color: var(--gold);
}
body.site-theme-theme4 .estate-contact .eyebrow::before,
body.site-theme-theme4 .estate-contact .eyebrow::after,
body.site-theme-theme4 .estate-contact-enquire .eyebrow::before,
body.site-theme-theme4 .estate-contact-enquire .eyebrow::after {
  background: var(--gold);
}

body.site-theme-theme4 .estate-contact-row {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: stretch;
}
body.site-theme-theme4 .estate-contact-row--split {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}
body.site-theme-theme4 .estate-contact-map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0e1624;
  min-height: 320px;
}
body.site-theme-theme4 .estate-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}
body.site-theme-theme4 .estate-contact-details__title {
  margin: 0 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 700;
  color: #fff;
}
body.site-theme-theme4 .estate-contact-item {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 0.95rem;
  align-items: flex-start;
  margin-bottom: 1.35rem;
}
body.site-theme-theme4 .estate-contact-item:last-child {
  margin-bottom: 0;
}
body.site-theme-theme4 .estate-contact-item__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, transparent);
  background: color-mix(in srgb, var(--gold) 10%, transparent);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
body.site-theme-theme4 .estate-contact-item__label {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}
body.site-theme-theme4 .estate-contact-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.55;
}
body.site-theme-theme4 .estate-contact-item a {
  color: #fff;
  text-decoration: none;
}
body.site-theme-theme4 .estate-contact-item a:hover {
  color: var(--gold-light, var(--gold));
}

body.site-theme-theme4 .estate-enquire-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: color-mix(in srgb, var(--teal-mid, #122038) 70%, #060c18);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}
body.site-theme-theme4 .estate-enquire-card__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  text-align: left;
}
body.site-theme-theme4 .estate-enquire-card__sub {
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
  line-height: 1.6;
}
body.site-theme-theme4 .estate-enquire-form {
  display: grid;
  gap: 1.05rem;
}
body.site-theme-theme4 .estate-enquire-row {
  display: grid;
  gap: 1.05rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.site-theme-theme4 .estate-enquire-field {
  display: grid;
  gap: 0.45rem;
}
body.site-theme-theme4 .estate-enquire-field > span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
body.site-theme-theme4 .estate-enquire-field input,
body.site-theme-theme4 .estate-enquire-field textarea,
body.site-theme-theme4 .estate-enquire-field .bb-lead-phone,
body.site-theme-theme4 .estate-enquire-field .bb-lead-phone__national,
body.site-theme-theme4 .estate-enquire-field input[type="tel"],
body.site-theme-theme4 .estate-enquire-field input[type="text"],
body.site-theme-theme4 .estate-enquire-field input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: color-mix(in srgb, #0a1118 88%, #fff);
  color: #fff;
  padding: 0.85rem 1rem;
  font-size: 0.95rem;
}
body.site-theme-theme4 .estate-enquire-field textarea {
  min-height: 7.5rem;
  resize: vertical;
}
body.site-theme-theme4 .estate-enquire-field input::placeholder,
body.site-theme-theme4 .estate-enquire-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.38);
}
body.site-theme-theme4 .estate-enquire-field input:focus,
body.site-theme-theme4 .estate-enquire-field textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--gold) 70%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 18%, transparent);
}
body.site-theme-theme4 .estate-enquire-field .bb-lead-phone {
  padding: 0;
  display: flex;
  align-items: stretch;
  overflow: hidden;
}
body.site-theme-theme4 .estate-enquire-field .bb-lead-phone input,
body.site-theme-theme4 .estate-enquire-field .bb-lead-phone__national {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
body.site-theme-theme4 .estate-enquire-submit {
  width: 100%;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 0.35rem;
  padding: 1rem 1.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 10px;
}
body.site-theme-theme4 .estate-enquire-submit i {
  font-size: 1.15rem;
}
body.site-theme-theme4 .estate-enquire-card .bb4-form-status {
  color: var(--gold-light, #e8c880);
}
body.site-theme-theme4 .estate-enquire-card .bb4-form-status.is-error {
  color: #f5b4b4;
}
@media (max-width: 820px) {
  body.site-theme-theme4 .estate-contact-row--split {
    grid-template-columns: 1fr;
  }
  body.site-theme-theme4 .estate-enquire-row {
    grid-template-columns: 1fr;
  }
}


/* ============================================================
   Theme4 estate contact+faq+footer parity (Mayukha original)
   ============================================================ */
body.site-theme-theme4 .estate-heading h2::after {
  display: none !important;
  content: none !important;
}
body.site-theme-theme4 .estate-heading .eyebrow {
  display: inline-flex;
  width: auto;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold) !important;
}
body.site-theme-theme4 .estate-heading .title-underline {
  width: 56px;
  height: 3px;
  margin: 1rem auto 0;
  background: var(--gold) !important;
  background-image: none !important;
}

/* Contact: solid map frame + solid gold CTA (not clinic gradient strip) */
body.site-theme-theme4 .estate-contact-map {
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 16px;
  min-height: 340px;
}
body.site-theme-theme4 .estate-contact-map iframe {
  min-height: 340px;
}
body.site-theme-theme4 .estate-enquire-card {
  background: #121820;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
body.site-theme-theme4 .estate-enquire-submit,
body.site-theme-theme4 .estate-enquire-submit.button-gold {
  background: var(--gradient-gold, var(--gold));
  background-image: var(--gradient-gold);
  color: #1a1408 !important;
  box-shadow:
    0 4px 22px color-mix(in srgb, var(--gold-dark, #8c6c2e) 38%, transparent),
    inset 0 1px 0 rgba(255, 248, 220, 0.45),
    inset 0 -1px 0 rgba(80, 55, 15, 0.18);
}
body.site-theme-theme4 .estate-enquire-field > span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
}

/* FAQ — light band like original */
body.site-theme-theme4 .estate-faq,
body.site-theme-theme4 .faq-section.estate-faq {
  background: #f6f5f2 !important;
  color: #0b1526;
}
body.site-theme-theme4 .estate-faq .estate-heading h2 {
  color: #0b1526 !important;
}
body.site-theme-theme4 .estate-faq .estate-heading__sub {
  color: #6b6570 !important;
}
body.site-theme-theme4 .estate-faq-accordion {
  max-width: 800px;
  gap: 12px;
}
body.site-theme-theme4 .estate-faq-accordion details {
  background: #fff;
  border: 1px solid #e6e4e0;
  border-radius: 12px;
  padding: 0 22px;
}
body.site-theme-theme4 .estate-faq-accordion summary {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: #0b1526;
  padding: 18px 0;
}
body.site-theme-theme4 .estate-faq-accordion summary span {
  border: 0;
  background: transparent;
  color: var(--gold);
  font-size: 1.25rem;
  width: auto;
  height: auto;
  margin-left: 12px;
}
body.site-theme-theme4 .estate-faq-accordion details[open] summary span {
  transform: none;
}
body.site-theme-theme4 .estate-faq-accordion details[open] summary span::before {
  content: "×";
}
body.site-theme-theme4 .estate-faq-accordion details[open] summary span {
  font-size: 0;
}
body.site-theme-theme4 .estate-faq-accordion details[open] summary span::before {
  font-size: 1.35rem;
  color: #0b1526;
}
body.site-theme-theme4 .estate-faq-accordion details p {
  color: #5c5660;
  line-height: 1.85;
  padding: 0 0 18px;
}

/* Footer — Mayukha columns */
body.site-theme-theme4 .estate-footer,
body.site-theme-theme4 footer.estate-footer {
  background: #060c18 !important;
  border-top: 1px solid color-mix(in srgb, var(--gold) 12%, transparent);
  padding-top: 72px;
}
body.site-theme-theme4 .estate-footer-grid {
  grid-template-columns: minmax(220px, 1.5fr) repeat(auto-fit, minmax(120px, 0.7fr)) minmax(180px, 1fr);
  gap: 40px 28px;
  align-items: start;
}
body.site-theme-theme4 .estate-footer .footer-brand img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
  max-width: 56px;
  margin-bottom: 14px;
}
body.site-theme-theme4 .estate-footer .footer-brand > strong {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 0.35rem;
}
body.site-theme-theme4 .estate-footer-tagline {
  margin: 0 0 0.75rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 0.68rem !important;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  max-width: none !important;
}
body.site-theme-theme4 .estate-footer .footer-brand > p:not(.estate-footer-tagline) {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 320px;
}
body.site-theme-theme4 .estate-footer .footer-email {
  display: none !important;
}
body.site-theme-theme4 .estate-footer-nav h2,
body.site-theme-theme4 .estate-footer-contact h2 {
  color: var(--gold) !important;
  font-family: var(--font-display) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin: 0 0 1rem;
  text-transform: none;
  letter-spacing: 0;
}
body.site-theme-theme4 .estate-footer-nav h2::after,
body.site-theme-theme4 .estate-footer-contact h2::after {
  display: none !important;
  content: none !important;
}
body.site-theme-theme4 .estate-footer-nav > a {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  margin: 0 0 0.55rem;
  text-decoration: none;
}
body.site-theme-theme4 .estate-footer-nav > a::before {
  content: "›";
  color: var(--gold);
  margin-right: 0.4rem;
}
body.site-theme-theme4 .estate-footer-nav > a:hover {
  color: var(--gold);
}
body.site-theme-theme4 .estate-footer-contact__row {
  display: grid;
  grid-template-columns: 1rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  margin: 0 0 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  line-height: 1.55;
}
body.site-theme-theme4 .estate-footer-contact__row i {
  color: var(--gold);
  margin-top: 0.2rem;
  font-size: 0.8rem;
}
body.site-theme-theme4 .estate-footer-contact__row a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}
body.site-theme-theme4 .estate-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0 1.5rem;
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
}
body.site-theme-theme4 .estate-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.15rem;
}
body.site-theme-theme4 .estate-footer-legal a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
body.site-theme-theme4 .estate-footer-legal a:hover {
  color: var(--gold);
}
@media (max-width: 900px) {
  body.site-theme-theme4 .estate-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  body.site-theme-theme4 .estate-footer-grid {
    grid-template-columns: 1fr;
  }
  body.site-theme-theme4 .estate-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ============================================================
   Theme4 blog listing + article (light paper on dark estate chrome)
   ============================================================ */
body.site-theme-theme4.site-route-blog #blog-page,
body.site-theme-theme4.site-route-blog-article #blog-article,
body.site-theme-theme4 #blog-article.estate-blog-article,
body.site-theme-theme4 #blog-page {
  background: #f6f5f2;
  color: #0b1526;
  padding-top: clamp(36px, 5vw, 56px);
  padding-bottom: clamp(64px, 8vw, 100px);
}
body.site-theme-theme4 #blog-page .section-heading h1,
body.site-theme-theme4 #blog-page h1 {
  color: #0b1526;
  font-family: var(--font-display);
  font-weight: 700;
}
body.site-theme-theme4 .bb4-blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
  margin-top: 1.5rem;
}
body.site-theme-theme4 .bb4-blog-card {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(11, 21, 38, 0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(11, 21, 38, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
body.site-theme-theme4 .bb4-blog-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--gold) 45%, transparent);
  box-shadow: 0 16px 40px rgba(11, 21, 38, 0.1);
}
body.site-theme-theme4 .bb4-blog-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
body.site-theme-theme4 .bb4-blog-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #1a2030;
}
body.site-theme-theme4 .bb4-blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
body.site-theme-theme4 .bb4-blog-card:hover .bb4-blog-card__media img {
  transform: scale(1.04);
}
body.site-theme-theme4 .bb4-blog-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.15rem 1.25rem 1.35rem;
}
body.site-theme-theme4 .bb4-blog-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: #0b1526;
}
body.site-theme-theme4 .bb4-blog-card__ex {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #5c5660;
}

body.site-theme-theme4 .estate-blog-article__wrap {
  max-width: min(720px, 100%);
  margin-inline: auto;
}
body.site-theme-theme4 .estate-blog-article__back {
  margin: 0 0 1.35rem;
}
body.site-theme-theme4 .estate-blog-article__back .text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-dark, #a67c2d);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
body.site-theme-theme4 .estate-blog-article__back .text-link:hover {
  color: #0b1526;
}
body.site-theme-theme4 .estate-blog-article__back .text-link::after {
  display: none;
}
body.site-theme-theme4 .estate-blog-article__hero {
  margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(11, 21, 38, 0.08);
  box-shadow: 0 14px 40px rgba(11, 21, 38, 0.1);
  background: #1a2030;
}
body.site-theme-theme4 .estate-blog-article__hero img {
  display: block;
  width: 100%;
  max-height: min(52vh, 440px);
  object-fit: cover;
}
body.site-theme-theme4 .estate-blog-article__head {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
body.site-theme-theme4 .estate-blog-article__date {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dark, #a67c2d);
}
body.site-theme-theme4 .estate-blog-article__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.55rem);
  font-weight: 700;
  line-height: 1.2;
  color: #0b1526;
  text-align: left;
}
body.site-theme-theme4 .estate-blog-article__head .title-underline {
  margin: 0 0 1.15rem;
  width: 56px;
  height: 3px;
  background: var(--gold, #c9a55c);
  background-image: none;
}
body.site-theme-theme4 .estate-blog-article__lead {
  margin: 0;
  max-width: 40rem;
  font-size: clamp(1.02rem, 0.15vw + 1rem, 1.12rem);
  line-height: 1.7;
  color: #5c5660;
}
body.site-theme-theme4 .bb4-blog-prose {
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #3d3a42;
}
body.site-theme-theme4 .bb4-blog-prose > *:first-child {
  margin-top: 0;
}
body.site-theme-theme4 .bb4-blog-prose p {
  margin: 0 0 1.15em;
}
body.site-theme-theme4 .bb4-blog-prose h1,
body.site-theme-theme4 .bb4-blog-prose h2,
body.site-theme-theme4 .bb4-blog-prose h3,
body.site-theme-theme4 .bb4-blog-prose h4 {
  font-family: var(--font-display);
  color: #0b1526;
  font-weight: 700;
  line-height: 1.28;
  margin: 1.75em 0 0.55em;
}
body.site-theme-theme4 .bb4-blog-prose h2 {
  font-size: clamp(1.3rem, 1.8vw, 1.55rem);
}
body.site-theme-theme4 .bb4-blog-prose h3 {
  font-size: clamp(1.12rem, 1.4vw, 1.28rem);
}
body.site-theme-theme4 .bb4-blog-prose ul,
body.site-theme-theme4 .bb4-blog-prose ol {
  margin: 0 0 1.15em;
  padding-left: 1.35em;
}
body.site-theme-theme4 .bb4-blog-prose ul {
  list-style: disc;
}
body.site-theme-theme4 .bb4-blog-prose ol {
  list-style: decimal;
}
body.site-theme-theme4 .bb4-blog-prose li {
  margin: 0.4em 0;
}
body.site-theme-theme4 .bb4-blog-prose li::marker {
  color: var(--gold-dark, #a67c2d);
}
body.site-theme-theme4 .bb4-blog-prose a {
  color: var(--gold-dark, #a67c2d);
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.site-theme-theme4 .bb4-blog-prose a:hover {
  color: #0b1526;
}
body.site-theme-theme4 .bb4-blog-prose strong {
  color: #0b1526;
  font-weight: 600;
}
body.site-theme-theme4 .bb4-blog-prose blockquote {
  margin: 1.35em 0;
  padding: 0.9rem 1.15rem;
  border-left: 4px solid var(--gold, #c9a55c);
  background: color-mix(in srgb, var(--gold, #c9a55c) 10%, #fff);
  border-radius: 0 10px 10px 0;
  font-style: italic;
  color: #2a2430;
}
body.site-theme-theme4 .bb4-blog-prose img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.25em 0;
}
body.site-theme-theme4 .bb4-blog-prose hr {
  border: 0;
  height: 1px;
  margin: 2em 0;
  background: linear-gradient(90deg, transparent, rgba(11, 21, 38, 0.14), transparent);
}
body.site-theme-theme4 .estate-blog-article__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
body.site-theme-theme4 .estate-blog-article__media-item {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f3efe6;
}
body.site-theme-theme4 .estate-blog-article__media-item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
body.site-theme-theme4 .estate-blog-article__media-item figcaption {
  padding: 0.55rem 0.75rem 0.7rem;
  font-size: 0.85rem;
  color: rgba(11, 21, 38, 0.72);
}
@media (max-width: 640px) {
  body.site-theme-theme4 .estate-blog-article__hero img {
    max-height: 240px;
  }
  body.site-theme-theme4 .estate-blog-article__media {
    grid-template-columns: 1fr;
  }
}

/* About logo = site logo → contain in brand panel (THEME_QA #10) */
.about-hero-image.is-brand-panel,
.doctor-image-wrap.is-brand-panel {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: clamp(28px, 4vw, 48px);
  background: color-mix(in srgb, var(--ivory, #f6f3ee) 70%, #fff);
  overflow: hidden;
}
.about-hero-image.is-brand-panel > img,
.doctor-image-wrap.is-brand-panel > img {
  aspect-ratio: auto !important;
  width: auto !important;
  max-width: min(280px, 72%) !important;
  max-height: 168px !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  border-radius: 0 !important;
}

.estate-about-media.is-brand-panel {
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
}
.estate-about-media.is-brand-panel img,
.estate-about-media.is-brand-panel .about-image-main {
  aspect-ratio: auto !important;
  width: auto !important;
  max-width: min(280px, 72%) !important;
  max-height: 168px !important;
  height: auto !important;
  object-fit: contain !important;
}
