/* ===========================================================================
 * services-shared.css
 * Shared design-system atoms for the May 2026 service pages redesign.
 * Loaded by every draft under /wp-content/themes/houzez/services-drafts/.
 * Brand palette: teal #234250 · gold #C58D5A · cream #f5efe6
 * Type: Cinzel display + Josefin Sans body
 * =========================================================================== */

:root {
  --teal-950: #142730;
  --teal-900: #1a313c;
  --teal-800: #234250;
  --teal-700: #2c5364;
  --gold-700: #9a6a3e;
  --gold-600: #b07a48;
  --gold-500: #c58d5a;
  --gold-400: #d6a577;
  --gold-300: #e6bf94;
  --cream: #f5efe6;
  --cream-soft: #ece4d6;
  --sand: #faf6ef;
  --ink: #0e1f27;
  --ink-soft: #3a4d56;
  --shadow-sm: 0 4px 14px rgba(20,39,48,.06);
  --shadow-md: 0 10px 30px rgba(20,39,48,.12);
  --shadow-lg: 0 24px 56px rgba(20,39,48,.18);
  --container: 1320px;
  --gutter: clamp(20px, 3.2vw, 56px);
  --ease: cubic-bezier(.2,.7,.2,1);
  --section-y: clamp(80px, 10vw, 130px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* Full-bleed: inner pages render inside an Elementor flexbox container that
 * adds default padding around the HTML widget — visible as a cream margin
 * around the dark teal hero. Zero that padding so hero/section atoms reach
 * edge-to-edge of the viewport, matching the homepage. */
.elementor .e-con,
.elementor .e-con > .e-con-inner {
  --container-default-padding-block-start: 0px;
  --container-default-padding-block-end: 0px;
  --container-default-padding-inline-start: 0px;
  --container-default-padding-inline-end: 0px;
  padding: 0 !important;
  max-width: 100% !important;
}
img { content-visibility: auto; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; }
}
body {
  background: var(--sand);
  color: var(--ink);
  font-family: 'Josefin Sans', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* draft tag (review only) */
.draft-tag {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  z-index: 9999; padding: 8px 22px;
  background: rgba(20,39,48,.95); color: var(--gold-300);
  border-radius: 0 0 14px 14px;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; backdrop-filter: blur(10px);
  border: 1px solid rgba(214,165,119,.3); border-top: none;
  font-family: 'Josefin Sans', sans-serif;
}

/* ===== Universal section atoms ===== */
.section { padding: var(--section-y) 0; position: relative; }
.section--light { background: var(--sand); }
.section--cream { background: linear-gradient(180deg,#fafaf7 0%,#f1ebde 100%); }
.section--ink   { background: linear-gradient(180deg,var(--teal-900) 0%,var(--teal-950) 100%); color: var(--cream); }
.section--teal  { background: var(--teal-800); color: var(--cream); }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px; letter-spacing: .42em; text-transform: uppercase;
  color: var(--gold-700); font-weight: 600;
  margin-bottom: 18px;
}
.section--ink .eyebrow, .section--teal .eyebrow { color: var(--gold-400); }

.section__head { text-align: center; margin-bottom: clamp(48px, 6vw, 72px); }
.section__head--left { text-align: left; }

.h-section {
  font-family: 'Cinzel', serif;
  font-size: clamp(30px, 3.8vw, 50px);
  font-weight: 500; line-height: 1.12; letter-spacing: -.005em;
  color: var(--teal-900); margin: 0 0 22px;
}
.section--ink .h-section, .section--teal .h-section { color: var(--cream); }
.h-section em { font-style: italic; font-weight: 400; color: var(--gold-700); }
.section--ink .h-section em, .section--teal .h-section em { color: var(--gold-400); }

.lede {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.75; color: var(--ink-soft);
  max-width: 760px; margin: 0 auto;
  font-weight: 300;
}
.section--ink .lede, .section--teal .lede { color: rgba(245,239,230,.8); }
.section__head--left .lede { margin: 0; max-width: none; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 14px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; text-decoration: none;
  cursor: pointer; border: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .3s var(--ease);
  position: relative; overflow: hidden;
}
.btn--gold {
  background: linear-gradient(180deg,var(--gold-400) 0%,var(--gold-500) 50%,var(--gold-600) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 0 1px rgba(176,122,72,.4), 0 14px 30px rgba(122,80,40,.32);
}
.btn--gold::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.5) 50%, transparent 65%);
  transform: translateX(-130%); transition: transform 1s var(--ease);
}
.btn--gold:hover { transform: translateY(-3px); filter: brightness(1.06); box-shadow: 0 22px 44px rgba(122,80,40,.45); }
.btn--gold:hover::before { transform: translateX(130%); }

.btn--teal { background: var(--teal-800); color: var(--cream); box-shadow: 0 12px 28px rgba(20,39,48,.32); }
.btn--teal:hover { transform: translateY(-3px); background: var(--teal-900); box-shadow: 0 18px 38px rgba(20,39,48,.42); }

.btn--ghost-light { background: transparent; color: var(--teal-800); border: 1.5px solid var(--teal-800); }
.btn--ghost-light:hover { background: var(--teal-800); color: #fff; transform: translateY(-2px); }

.btn--ghost-dark { background: rgba(255,255,255,.06); color: var(--cream); border: 1.5px solid rgba(245,239,230,.25); }
.btn--ghost-dark:hover { background: rgba(245,239,230,.12); border-color: var(--gold-400); }

.btn-arrow { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ===== Recurring patterns ===== */

/* Hero — split layout (editorial mast left + glass card right) */
.svc-hero {
  background:
    radial-gradient(circle at 88% 18%, rgba(214,165,119,.16) 0%, transparent 50%),
    linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 55%, var(--teal-700) 100%);
  color: var(--cream);
  padding: clamp(110px, 14vw, 180px) 0 clamp(80px, 9vw, 120px);
  position: relative; overflow: hidden;
}
.svc-hero::before {
  content: ""; position: absolute;
  top: -120px; right: -120px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(214,165,119,.14) 0%, transparent 70%);
  border-radius: 50%; pointer-events: none;
}
.svc-hero__grid {
  display: grid; grid-template-columns: 1.2fr .85fr;
  gap: clamp(40px, 5vw, 64px); align-items: center;
  position: relative; z-index: 2;
}
.svc-hero__eyebrow {
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px; letter-spacing: .42em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-300);
  margin-bottom: 22px;
}
.svc-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(38px, 5vw, 64px); font-weight: 500;
  line-height: 1.08; letter-spacing: -.01em;
  color: var(--cream); margin: 0 0 24px;
}
.svc-hero h1 em { font-style: italic; font-weight: 400; color: var(--gold-300); }
.svc-hero p.svc-hero__lede {
  font-size: clamp(15px, 1.25vw, 18px); line-height: 1.85;
  color: rgba(245,239,230,.86); font-weight: 300;
  max-width: 580px; margin: 0 0 34px;
}
.svc-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.svc-hero__card {
  background: rgba(245,239,230,.08);
  border: 1px solid rgba(214,165,119,.22);
  border-radius: 28px;
  padding: 32px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 56px rgba(0,0,0,.32);
}
.svc-hero__card h3 {
  font-family: 'Cinzel', serif; font-weight: 500;
  font-size: 22px; color: var(--cream);
  margin: 0 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(214,165,119,.22);
}
.svc-hero__card h3 em { font-style: italic; color: var(--gold-300); font-weight: 400; }
.svc-hero__kpis { display: grid; gap: 14px; }
.svc-hero__kpi {
  background: rgba(245,239,230,.05);
  border: 1px solid rgba(245,239,230,.1);
  border-radius: 16px;
  padding: 14px 16px;
}
.svc-hero__kpi strong {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold-300); font-weight: 700;
  display: block; margin-bottom: 6px;
}
.svc-hero__kpi span {
  font-family: 'Cinzel', serif;
  color: var(--cream); font-size: 18px;
  font-weight: 500; line-height: 1.3;
  letter-spacing: -.005em;
  display: block;
}
.svc-hero__kpi-note {
  font-size: 12.5px; line-height: 1.6;
  color: rgba(245,239,230,.7);
  margin: 14px 0 0; font-weight: 300;
  padding-top: 14px; border-top: 1px solid rgba(214,165,119,.18);
}

/* Light card grid (3-col / 4-col) */
.svc-grid { display: grid; gap: clamp(20px, 2.4vw, 28px); }
.svc-grid--3 { grid-template-columns: repeat(3, 1fr); }
.svc-grid--4 { grid-template-columns: repeat(4, 1fr); }
.svc-grid--2 { grid-template-columns: 1fr 1fr; }

.svc-card {
  background: #fff;
  border: 1px solid rgba(176,122,72,.10);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 3px;
  background: linear-gradient(180deg,var(--gold-400) 0%,var(--gold-600) 100%);
  border-radius: 0 3px 3px 0; opacity: .85;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(176,122,72,.30); }
.svc-card__num {
  font-family: 'Cinzel', serif;
  font-size: 14px; font-weight: 600;
  color: var(--gold-600); letter-spacing: .14em;
  margin-bottom: 14px; display: block;
}
.svc-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 22px; font-weight: 500;
  color: var(--teal-900); margin: 0 0 12px;
  letter-spacing: -.005em;
}
.svc-card p {
  font-size: 14.5px; line-height: 1.75;
  color: var(--ink-soft); font-weight: 300; margin: 0;
}
.svc-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #fff; border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: 0 10px 22px rgba(176,122,72,.30);
}
.svc-card__icon svg { width: 22px; height: 22px; }

/* Premium dark teal card */
.svc-darkcard {
  background:
    radial-gradient(circle at 12% 0%, rgba(214,165,119,.18) 0%, transparent 55%),
    linear-gradient(160deg, var(--teal-800) 0%, var(--teal-900) 60%, var(--teal-950) 100%);
  color: var(--cream);
  border-radius: 32px;
  padding: clamp(40px, 5vw, 64px);
  box-shadow: 0 24px 56px rgba(20,39,48,.32), inset 0 1px 0 rgba(255,255,255,.08);
  position: relative; overflow: hidden;
}
.svc-darkcard::after {
  content: ""; position: absolute; top: 0; left: 32px; right: 32px; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(214,165,119,.55) 50%, transparent 100%);
}
.svc-darkcard h2, .svc-darkcard h3 {
  color: var(--cream); font-family: 'Cinzel', serif;
}
.svc-darkcard h2 em, .svc-darkcard h3 em { color: var(--gold-300); font-style: italic; font-weight: 400; }
.svc-darkcard p { color: rgba(245,239,230,.84); }

/* Numbered process — vertical or horizontal */
.svc-steps { display: grid; gap: clamp(18px, 2vw, 24px); position: relative; }
.svc-steps--4 { grid-template-columns: repeat(4, 1fr); }
.svc-steps--5 { grid-template-columns: repeat(5, 1fr); }
.svc-steps--3 { grid-template-columns: repeat(3, 1fr); }
.svc-step {
  position: relative;
  background: #fff;
  border: 1px solid rgba(176,122,72,.10);
  border-radius: 22px;
  padding: 36px 24px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc-step__num {
  position: absolute; top: -22px; left: 24px;
  width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 17px; font-weight: 600;
  border-radius: 14px;
  box-shadow: 0 12px 26px rgba(176,122,72,.34);
}
.svc-step h3 {
  font-family: 'Cinzel', serif;
  font-size: 18px; font-weight: 500;
  color: var(--teal-900); margin: 12px 0 8px;
  letter-spacing: -.005em;
}
.svc-step p {
  font-size: 13.5px; line-height: 1.7;
  color: var(--ink-soft); font-weight: 300; margin: 0;
}

/* Steps inside a dark teal section */
.section--ink .svc-step, .section--teal .svc-step {
  background: rgba(245,239,230,.05);
  border-color: rgba(214,165,119,.18);
  box-shadow: none;
}
.section--ink .svc-step:hover, .section--teal .svc-step:hover {
  background: rgba(245,239,230,.10);
  border-color: rgba(214,165,119,.34);
}
.section--ink .svc-step h3, .section--teal .svc-step h3 { color: var(--cream); }
.section--ink .svc-step p, .section--teal .svc-step p { color: rgba(245,239,230,.78); }

/* FAQ accordion */
.svc-faq { max-width: 920px; margin: 0 auto; display: grid; gap: 12px; }
.svc-faq__item {
  background: #fff;
  border: 1px solid rgba(176,122,72,.12);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.svc-faq__item[open] { border-color: rgba(176,122,72,.28); box-shadow: var(--shadow-sm); }
.svc-faq__q {
  padding: 22px 26px;
  cursor: pointer;
  font-family: 'Cinzel', serif;
  font-size: 16.5px; font-weight: 500;
  color: var(--teal-900); letter-spacing: -.005em;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
}
.svc-faq__q::-webkit-details-marker { display: none; }
.svc-faq__q::after {
  content: "+"; flex: 0 0 auto;
  font-family: 'Cinzel', serif; font-weight: 500;
  color: var(--gold-600); font-size: 22px;
  transition: transform .25s var(--ease);
}
.svc-faq__item[open] .svc-faq__q::after { content: "−"; }
.svc-faq__a {
  padding: 0 26px 22px;
  font-size: 14.5px; line-height: 1.75;
  color: var(--ink-soft); font-weight: 300;
}

/* Final CTA box */
.svc-cta-box {
  background: linear-gradient(180deg,#ffffff 0%,#fcfaf7 100%);
  border-radius: 32px;
  padding: clamp(48px, 6vw, 72px) clamp(28px, 4vw, 56px);
  box-shadow: 0 24px 56px rgba(20,39,48,.10);
  border: 1px solid rgba(176,122,72,.14);
  text-align: center;
  max-width: 1100px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.svc-cta-box::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
}
.svc-cta-box .h-section { margin-bottom: 18px; }
.svc-cta-box p {
  margin: 0 auto 36px; max-width: 720px;
  font-size: clamp(15px, 1.2vw, 17px); line-height: 1.85;
  color: var(--ink-soft); font-weight: 300;
}
.svc-cta-buttons { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Final CTA — dark variant */
.svc-cta-box--dark {
  background:
    radial-gradient(circle at 12% 0%, rgba(214,165,119,.18) 0%, transparent 55%),
    linear-gradient(160deg, var(--teal-800) 0%, var(--teal-900) 60%, var(--teal-950) 100%);
  color: var(--cream); border: none;
}
.svc-cta-box--dark .h-section { color: var(--cream); }
.svc-cta-box--dark .h-section em { color: var(--gold-300); }
.svc-cta-box--dark .eyebrow { color: var(--gold-300); }
.svc-cta-box--dark p { color: rgba(245,239,230,.86); }
.svc-cta-box--dark::before { background: linear-gradient(90deg, transparent, var(--gold-400), transparent); }

/* Trust strip */
.svc-trust {
  background: #fff;
  border-bottom: 1px solid rgba(176,122,72,.12);
  padding: 22px 0;
}
.svc-trust__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.svc-trust__item { display: flex; align-items: center; gap: 14px; padding: 6px 0; }
.svc-trust__icon {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(214,165,119,.18), rgba(176,122,72,.10));
  color: var(--gold-600);
  border: 1px solid rgba(176,122,72,.18);
}
.svc-trust__icon svg { width: 18px; height: 18px; }
.svc-trust__txt { display: flex; flex-direction: column; line-height: 1.2; }
.svc-trust__lbl {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-700); font-weight: 700; margin-bottom: 4px;
}
.svc-trust__val {
  font-family: 'Cinzel', serif;
  font-size: 15px; color: var(--teal-900); font-weight: 500;
  letter-spacing: -.005em;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .svc-hero__grid { grid-template-columns: 1fr; }
  .svc-grid--3, .svc-grid--4 { grid-template-columns: 1fr 1fr; }
  .svc-grid--2 { grid-template-columns: 1fr; }
  .svc-steps--4, .svc-steps--5 { grid-template-columns: 1fr 1fr; }
  .svc-steps--3 { grid-template-columns: 1fr 1fr; }
  .svc-trust__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .svc-grid--3, .svc-grid--4 { grid-template-columns: 1fr; }
  .svc-steps--4, .svc-steps--5, .svc-steps--3 { grid-template-columns: 1fr; }
  .svc-trust__grid { grid-template-columns: 1fr; }
  .svc-hero { padding: 92px 0 70px; }
  .svc-hero__card, .svc-card, .svc-step, .svc-darkcard { padding: 24px; }
}

/* =========================================================================
 * Region pages — hero with bg image, featured property spotlight, live grid
 * Used by /regions-drafts/* and the deployed region pages.
 * ========================================================================= */

.rg-hero {
  position: relative; overflow: hidden;
  padding: clamp(110px, 14vw, 180px) 0 clamp(80px, 9vw, 120px);
  color: var(--cream);
  background:
    radial-gradient(circle at 88% 18%, rgba(214,165,119,.18) 0%, transparent 55%),
    linear-gradient(135deg, var(--teal-900) 0%, var(--teal-800) 55%, var(--teal-700) 100%);
}
.rg-hero__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(1.05);
  opacity: 0;
  animation: rgFadeIn 1.2s var(--ease) forwards;
  z-index: 0;
}
.rg-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(20,39,48,.92) 0%, rgba(35,66,80,.78) 50%, rgba(44,83,100,.62) 100%);
  z-index: 1; pointer-events: none;
}
@keyframes rgFadeIn { to { opacity: .7; } }
.rg-hero > .container { position: relative; z-index: 2; }
.rg-hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(40px, 5vw, 64px); align-items: center;
}
.rg-hero__eyebrow {
  display: inline-block;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px; letter-spacing: .42em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-300);
  margin-bottom: 22px;
  padding: 8px 14px;
  background: rgba(20,39,48,.4);
  border: 1px solid rgba(214,165,119,.32);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.rg-hero h1 {
  font-family: 'Cinzel', serif;
  font-size: clamp(40px, 5.4vw, 72px); font-weight: 500;
  line-height: 1.05; letter-spacing: -.01em;
  color: var(--cream); margin: 0 0 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,.35);
}
.rg-hero h1 em { font-style: italic; font-weight: 400; color: var(--gold-300); }
.rg-hero p.rg-hero__lede {
  font-size: clamp(15px, 1.25vw, 18px); line-height: 1.85;
  color: rgba(245,239,230,.92); font-weight: 300;
  max-width: 580px; margin: 0 0 34px;
  text-shadow: 0 2px 16px rgba(0,0,0,.32);
}
.rg-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* Featured Property Spotlight (hero right side) */
.rg-spotlight {
  background: rgba(245,239,230,.08);
  border: 1px solid rgba(214,165,119,.28);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 56px rgba(0,0,0,.42);
  display: grid; grid-template-rows: 280px auto;
  min-height: 460px;
  opacity: 0;
  transition: opacity .6s var(--ease);
}
.rg-spotlight.is-loaded { opacity: 1; }
.rg-spotlight__img {
  position: relative;
  background-size: cover; background-position: center;
  background-color: var(--cream-soft);
  display: block;
  text-decoration: none;
  overflow: hidden;
  transition: transform .8s var(--ease);
}
.rg-spotlight__img:hover { transform: scale(1.04); }
.rg-spotlight__label, .rg-spotlight__status {
  position: absolute; z-index: 2;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700;
  padding: 7px 12px; border-radius: 999px;
}
.rg-spotlight__label {
  top: 16px; left: 16px;
  background: linear-gradient(135deg, #d65a3a, #a93b22);
  color: #fff;
}
.rg-spotlight__status {
  top: 16px; right: 16px;
  background: rgba(255,255,255,.96);
  color: var(--teal-900);
}
.rg-spotlight__body { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 8px; }
.rg-spotlight__eyebrow {
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10px; letter-spacing: .26em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-300);
}
.rg-spotlight__title {
  font-family: 'Cinzel', serif; font-weight: 500;
  font-size: 22px; line-height: 1.2; color: var(--cream);
  text-decoration: none; letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rg-spotlight__title:hover { color: var(--gold-300); }
.rg-spotlight__price {
  font-family: 'Cinzel', serif; font-weight: 600;
  font-size: 26px; color: var(--gold-300);
  letter-spacing: -.01em; line-height: 1;
  margin-top: 4px;
}
.rg-spotlight__meta {
  display: flex; gap: 16px;
  margin-top: 8px; padding-top: 14px;
  border-top: 1px solid rgba(214,165,119,.22);
  font-size: 13px; color: rgba(245,239,230,.8);
}
.rg-spotlight__meta strong { font-family: 'Cinzel', serif; color: var(--cream); font-weight: 500; }
.rg-spotlight__cta {
  display: inline-block; margin-top: 4px;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; color: var(--gold-300);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.rg-spotlight__cta:hover { color: var(--gold-400); }

/* Properties grid */
.rg-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 28px);
}
.rg-card {
  display: block; text-decoration: none; color: inherit;
  background: #fff;
  border: 1px solid rgba(176,122,72,.10);
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.rg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(176,122,72,.30);
}
.rg-card__img {
  position: relative;
  aspect-ratio: 16/11;
  background-size: cover; background-position: center;
  background-color: var(--cream-soft);
  overflow: hidden;
}
.rg-card__img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,39,48,.18) 100%);
}
.rg-card:hover .rg-card__img { transform: scale(1.0); }
.rg-card__label, .rg-card__status {
  position: absolute; z-index: 2;
  font-family: 'Josefin Sans', sans-serif;
  font-size: 10px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 700; padding: 6px 12px; border-radius: 999px;
}
.rg-card__label {
  top: 14px; left: 14px;
  background: linear-gradient(135deg, #d65a3a, #a93b22);
  color: #fff;
}
.rg-card__status {
  top: 14px; right: 14px;
  background: rgba(255,255,255,.96);
  color: var(--teal-900);
}
.rg-card__body { padding: 22px 22px 24px; }
.rg-card__price {
  font-family: 'Cinzel', serif; font-weight: 600;
  font-size: 22px; color: var(--teal-900);
  letter-spacing: -.01em; line-height: 1;
  margin-bottom: 8px;
}
.rg-card__title {
  font-family: 'Cinzel', serif; font-weight: 500;
  font-size: 18px; line-height: 1.25; color: var(--teal-900);
  margin: 0 0 12px; letter-spacing: -.005em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rg-card:hover .rg-card__title { color: var(--gold-700); }
.rg-card__meta {
  display: flex; gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(176,122,72,.12);
  font-size: 13px; color: var(--ink-soft); font-weight: 300;
}
.rg-card__meta strong { font-family: 'Cinzel', serif; color: var(--teal-900); font-weight: 500; }

/* No-listings state */
.rg-no-listings .rg-properties-section,
.rg-no-listings .rg-spotlight { display: none !important; }

/* Map embed */
.rg-map-wrap {
  position: relative;
  border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(176,122,72,.14);
  box-shadow: var(--shadow-md);
  aspect-ratio: 16/7;
  background: var(--cream-soft);
}
.rg-map-wrap iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
}

/* All-listings CTA pill */
.rg-listings-cta {
  text-align: center; margin-top: clamp(40px, 5vw, 56px);
}

@media (max-width: 1024px) {
  .rg-hero__grid { grid-template-columns: 1fr; }
  .rg-cards { grid-template-columns: 1fr 1fr; }
  .rg-spotlight { grid-template-rows: 240px auto; min-height: 0; }
}
@media (max-width: 600px) {
  .rg-cards { grid-template-columns: 1fr; }
  .rg-spotlight { grid-template-rows: 220px auto; }
  .rg-spotlight__body { padding: 22px; }
  .rg-spotlight__title { font-size: 19px; }
  .rg-spotlight__price { font-size: 22px; }
}

/* =========================================================================
 * Houzez property card cleanup — hide agency + "X years ago" footer strip.
 * Buyers don't care when a listing was posted; the agency info is implicit
 * in the brand-styled page. Applied site-wide on every redesigned page.
 * ========================================================================= */
.item-listing-wrap .item-footer,
.item-wrap-v1 .item-footer,
.item-wrap-v2 .item-footer,
.section--lux .item-footer,
.property-cards-module .item-footer { display: none !important; }
.item-listing-wrap .item-author,
.item-listing-wrap .item-date { display: none !important; }
