/* ============================================================
   Y.F.L Estates — Custom Site CSS
   Palette:  emerald #0a3b2e  ·  gold #c9a13b  ·  burgundy #7a2e3a  ·  cream #f6f1e8
   Type:     display Cormorant Garamond  ·  ui Plus Jakarta Sans  ·  body Inter
   ============================================================ */

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: "ss01", "cv02", "cv11";
  color: #1a1a1a;
  background: #faf6ed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  letter-spacing: -0.02em;
  color: #06231b;
}

.font-ui { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }

p { line-height: 1.7; }

/* ---------- Section padding ---------- */
.section-pad { padding: 112px 24px; }
@media (max-width: 768px) { .section-pad { padding: 72px 20px; } }

.section-pad-sm { padding: 72px 24px; }
@media (max-width: 768px) { .section-pad-sm { padding: 56px 20px; } }

/* ---------- Hero & page-hero ---------- */
.hero-bg {
  position: relative;
  background-image:
    linear-gradient(95deg, rgba(6,35,27,0.92) 0%, rgba(6,35,27,0.84) 30%, rgba(10,59,46,0.42) 65%, rgba(6,35,27,0.10) 100%),
    radial-gradient(50% 60% at 95% 0%, rgba(201,161,59,0.20) 0%, rgba(6,35,27,0) 60%),
    linear-gradient(180deg, rgba(6,35,27,0.20) 0%, rgba(6,35,27,0) 30%, rgba(6,35,27,0.45) 100%),
    url('brand_assets/photos/hero-home.jpg');
  background-size: cover;
  background-position: center right;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: overlay;
}

.page-hero {
  position: relative;
  background-image:
    linear-gradient(135deg, rgba(6,35,27,0.92) 0%, rgba(10,59,46,0.82) 45%, rgba(6,35,27,0.94) 100%),
    radial-gradient(60% 60% at 80% 20%, rgba(201,161,59,0.18) 0%, rgba(6,35,27,0) 60%),
    url('brand_assets/photos/hero-home.jpg');
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.55;
  mix-blend-mode: overlay;
}

.cta-bg {
  background-image:
    linear-gradient(120deg, rgba(6,35,27,0.97) 0%, rgba(10,59,46,0.93) 100%),
    radial-gradient(60% 80% at 0% 0%, rgba(201,161,59,0.22) 0%, rgba(6,35,27,0) 70%),
    radial-gradient(50% 70% at 100% 100%, rgba(122,46,58,0.18) 0%, rgba(6,35,27,0) 60%);
  background-color: #06231b;
}

/* ---------- Buttons ---------- */
.btn-base {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 140ms cubic-bezier(.2,.9,.3,1.2), box-shadow 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.btn-gold {
  background: linear-gradient(180deg, #dcbb5e 0%, #c9a13b 100%);
  color: #06231b;
  box-shadow: 0 8px 22px -6px rgba(201,161,59,0.55), 0 2px 4px -1px rgba(168,130,39,0.30);
}
.btn-gold:hover {
  background: linear-gradient(180deg, #e8d3aa 0%, #c9a13b 100%);
  box-shadow: 0 12px 28px -8px rgba(201,161,59,0.65), 0 4px 6px -2px rgba(168,130,39,0.35);
  transform: translateY(-1px);
}
.btn-gold:active { transform: translateY(1px) scale(0.99); }
.btn-gold:focus-visible { outline: 2px solid #f5e9c3; outline-offset: 3px; }

.btn-primary {
  background: #0a3b2e;
  color: #ffffff;
  border-color: #0a3b2e;
}
.btn-primary:hover {
  background: #11503e;
  box-shadow: 0 10px 24px -6px rgba(10,59,46,0.42);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(1px) scale(0.99); }
.btn-primary:focus-visible { outline: 2px solid #c9a13b; outline-offset: 3px; }

.btn-burgundy {
  background: #7a2e3a;
  color: #ffffff;
  border-color: #7a2e3a;
}
.btn-burgundy:hover {
  background: #9a3947;
  box-shadow: 0 10px 24px -6px rgba(122,46,58,0.40);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #06231b;
  border-color: #0a3b2e;
}
.btn-outline:hover {
  background: #0a3b2e;
  color: #ffffff;
  transform: translateY(-1px);
}
.btn-outline:active { transform: translateY(1px) scale(0.99); }
.btn-outline:focus-visible { outline: 2px solid #c9a13b; outline-offset: 3px; }

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255,255,255,0.85);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.10);
  border-color: #ffffff;
  transform: translateY(-1px);
}
.btn-outline-light:active { transform: translateY(1px) scale(0.99); }
.btn-outline-light:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }

.btn-ghost-light {
  background: rgba(255,255,255,0.08);
  color: #ffffff;
  border-color: rgba(255,255,255,0.14);
  backdrop-filter: blur(6px);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.22);
}

.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky; top: 0; z-index: 50;
  background: rgba(6,35,27,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-link {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.86);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
}
.nav-link:hover { color: #dcbb5e; background-color: rgba(255,255,255,0.05); }
.nav-link:focus-visible { outline: 2px solid #c9a13b; outline-offset: 2px; }
.nav-link.active { color: #dcbb5e; }

.brand {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, #dcbb5e 0%, #a88227 100%);
  color: #06231b;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
  box-shadow: 0 6px 16px -4px rgba(201,161,59,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #86671e;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: linear-gradient(90deg, #c9a13b, transparent);
  display: inline-block;
}
.eyebrow-light { color: #dcbb5e; }
.eyebrow-light::before { background: linear-gradient(90deg, #dcbb5e, transparent); }
.eyebrow-center {
  justify-content: center;
}
.eyebrow-center::after {
  content: "";
  width: 28px;
  height: 1.5px;
  background: linear-gradient(270deg, #c9a13b, transparent);
  display: inline-block;
}

/* ---------- Cards ---------- */
.card {
  background: #ffffff;
  border: 1px solid #ece6d6;
  border-radius: 14px;
  padding: 28px;
  transition: box-shadow 240ms ease, transform 240ms cubic-bezier(.2,.9,.3,1.2), border-color 240ms ease;
}
.card:hover {
  box-shadow: 0 18px 36px -12px rgba(6,35,27,0.16), 0 6px 12px -4px rgba(6,35,27,0.06);
  transform: translateY(-3px);
  border-color: #d9cdb3;
}

.card-dark {
  background: linear-gradient(180deg, #0d4a3a 0%, #06231b 100%);
  border: 1px solid rgba(220,187,94,0.18);
  border-radius: 14px;
  padding: 28px;
  color: rgba(255,255,255,0.92);
  transition: box-shadow 240ms ease, transform 240ms cubic-bezier(.2,.9,.3,1.2), border-color 240ms ease;
}
.card-dark:hover {
  box-shadow: 0 22px 48px -12px rgba(0,0,0,0.45);
  transform: translateY(-3px);
  border-color: rgba(220,187,94,0.42);
}
.card-dark h3 { color: #ffffff; }

/* ---------- Listing card ---------- */
.listing-card {
  background: #ffffff;
  border: 1px solid #ece6d6;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 260ms ease, transform 260ms cubic-bezier(.2,.9,.3,1.2);
}
.listing-card:hover {
  box-shadow: 0 24px 48px -16px rgba(6,35,27,0.22), 0 8px 14px -4px rgba(6,35,27,0.10);
  transform: translateY(-4px);
}
.listing-card .img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d4a3a;
}
.listing-card .img-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(6,35,27,0.32) 100%);
  pointer-events: none;
}
.listing-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms cubic-bezier(.2,.9,.3,1);
}
.listing-card:hover .img-wrap img { transform: scale(1.06); }

.badge {
  position: absolute;
  top: 14px; left: 14px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: #c9a13b;
  color: #06231b;
  padding: 6px 12px;
  border-radius: 999px;
  box-shadow: 0 4px 12px -2px rgba(0,0,0,0.30);
  z-index: 2;
}
.badge-dark {
  background: #06231b;
  color: #dcbb5e;
}
.badge-burgundy {
  background: #7a2e3a;
  color: #ffffff;
}

/* ---------- Search bar ---------- */
.search-shell {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 32px 60px -20px rgba(6,35,27,0.45), 0 12px 22px -10px rgba(6,35,27,0.20);
  border: 1px solid rgba(255,255,255,0.6);
}
.search-tabs {
  display: inline-flex;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 4px;
}
.search-tab {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  padding: 9px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 200ms ease, background 200ms ease;
}
.search-tab:hover { color: #ffffff; }
.search-tab.active {
  background: #ffffff;
  color: #06231b;
  box-shadow: 0 4px 10px -2px rgba(0,0,0,0.20);
}

/* ---------- Forms / fields ---------- */
.field {
  width: 100%;
  border: 1px solid #d9cdb3;
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 15px;
  font-family: 'Inter', system-ui, sans-serif;
  color: #1a1a1a;
  background: #ffffff;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.field:hover { border-color: #c9a13b; }
.field:focus {
  outline: none;
  border-color: #0a3b2e;
  box-shadow: 0 0 0 3px rgba(201,161,59,0.22);
}
.field::placeholder { color: #98a0ab; }
select.field {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none' stroke='%233d4f24' stroke-width='2'><polyline points='3,5 7,9 11,5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.label {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 12px;
  color: #06231b;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.field-light {
  background: #ffffff;
  border: 1px solid #ece6d6;
}

/* ---------- Stat / metric ---------- */
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  font-weight: 600;
  line-height: 1;
  color: #c9a13b;
  letter-spacing: -0.02em;
}
@media (max-width: 768px) {
  .stat-num { font-size: 42px; }
}
.stat-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 8px;
}

/* ---------- Icon tile ---------- */
.icon-tile {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,161,59,0.20) 0%, rgba(201,161,59,0.06) 100%);
  color: #86671e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201,161,59,0.24);
}
.icon-tile-dark {
  background: linear-gradient(135deg, rgba(220,187,94,0.18) 0%, rgba(220,187,94,0.04) 100%);
  color: #dcbb5e;
  border-color: rgba(220,187,94,0.28);
}

.check-icon {
  width: 30px; height: 30px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(201,161,59,0.18);
  color: #86671e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Guarantee Star Seal — gold starburst medallion ---------- */
@keyframes seal-bounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-14px) scale(1.015); }
}
@keyframes seal-pulse {
  0%, 100% {
    filter:
      drop-shadow(0 0 18px rgba(220,187,94,0.55))
      drop-shadow(0 0 36px rgba(201,161,59,0.40))
      drop-shadow(0 18px 28px rgba(0,0,0,0.30));
  }
  50% {
    filter:
      drop-shadow(0 0 32px rgba(220,187,94,0.85))
      drop-shadow(0 0 64px rgba(201,161,59,0.65))
      drop-shadow(0 22px 32px rgba(0,0,0,0.32));
  }
}
@keyframes seal-spin {
  to { transform: rotate(360deg); }
}

.seal {
  position: relative;
  width: 280px; height: 280px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation:
    seal-bounce 4.5s cubic-bezier(.45,.05,.55,.95) infinite,
    seal-pulse  3.0s ease-in-out infinite;
  will-change: transform, filter;
}
@media (max-width: 768px) { .seal { width: 240px; height: 240px; } }
@media (prefers-reduced-motion: reduce) {
  .seal { animation: none; }
  .seal-burst { animation: none !important; }
}

.seal-burst {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  animation: seal-spin 28s linear infinite;
  transform-origin: 50% 50%;
}
.seal-inner {
  position: relative;
  z-index: 2;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 28%, #f5e9c3 0%, #dcbb5e 35%, #c9a13b 70%, #86671e 100%);
  border: 5px solid #06231b;
  box-shadow:
    inset 0 3px 1px rgba(255,255,255,0.45),
    inset 0 -3px 1px rgba(0,0,0,0.18),
    0 8px 22px -4px rgba(0,0,0,0.40);
  color: #06231b;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
}
.seal-inner::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  border: 1.5px dashed rgba(6,35,27,0.42);
  pointer-events: none;
}
.seal-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #06231b;
  margin-bottom: 4px;
}
.seal-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.015em;
  color: #06231b;
  white-space: nowrap;
}
.seal-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #06231b;
  margin-top: 2px;
}
.seal-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: #06231b;
  margin-top: 4px;
  white-space: nowrap;
}
.seal-rule {
  width: 36%;
  height: 1px;
  background: rgba(6,35,27,0.45);
  margin: 8px 0 6px;
}
.seal-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #06231b;
  line-height: 1.25;
  padding: 0 6px;
}

/* Compact (used in CTA strip on home page) */
.seal-sm { width: 220px; height: 220px; }
.seal-sm .seal-headline { font-size: 20px; }

/* Legacy alias (in case any markup still references .guarantee-badge) */
.guarantee-badge { display: none; }

/* ---------- Logo image — footer placement (larger, brand re-statement) ---------- */
.logo-img--footer {
  height: 130px !important;
  width: auto;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(220,187,94,0.30))
    drop-shadow(0 10px 18px rgba(0,0,0,0.45));
}
@media (max-width: 768px) { .logo-img--footer { height: 100px !important; } }

/* ---------- Logo image (cream-interior plaque logo on dark nav) ---------- */
.logo-img {
  height: 72px;
  width: auto;
  display: block;
  object-fit: contain;
  /* Soft gold halo + grounded shadow so the cream plaque feels deliberate, not pasted */
  filter:
    drop-shadow(0 0 14px rgba(220,187,94,0.32))
    drop-shadow(0 8px 14px rgba(0,0,0,0.40));
  transition: transform 240ms cubic-bezier(.2,.9,.3,1.2), filter 240ms ease;
}
.logo-link:hover .logo-img {
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 22px rgba(220,187,94,0.55))
    drop-shadow(0 10px 18px rgba(0,0,0,0.45));
}
@media (max-width: 768px) { .logo-img { height: 56px; } }
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: opacity 180ms ease;
}
.logo-link:hover { opacity: 1; }

/* Give the nav a touch more vertical room so the larger logo breathes */
.nav-wrap > .max-w-container { padding-top: 10px; padding-bottom: 10px; }

/* ---------- Decorative divider ---------- */
.gold-rule {
  display: inline-block;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #dcbb5e, #c9a13b);
  border-radius: 2px;
}

/* ---------- Honeypot ---------- */
.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

/* ---------- Notice (form responses) ---------- */
.notice {
  background: #e8f4ee;
  border: 1px solid #26856a;
  color: #06231b;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14px;
}
.notice-error {
  background: #fce7e7;
  border-color: #e48a8a;
  color: #6e1a1a;
}

/* ---------- Grain overlay ---------- */
.grain { position: relative; }
.grain::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.45;
  mix-blend-mode: overlay;
}

/* ---------- Footer ---------- */
.footer {
  background: #06231b;
  color: rgba(255,255,255,0.78);
}
.footer a { color: rgba(255,255,255,0.78); transition: color 180ms ease; }
.footer a:hover { color: #dcbb5e; }
.footer h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #dcbb5e;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- Mobile menu ---------- */
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }

/* ---------- Hero text ---------- */
.hero-display {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(40px, 6.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: #ffffff;
}
.hero-display em {
  font-style: italic;
  color: #dcbb5e;
  font-weight: 400;
}

.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: #06231b;
}
.section-title em {
  font-style: italic;
  color: #86671e;
  font-weight: 400;
}
.section-title-light { color: #ffffff; }
.section-title-light em { color: #dcbb5e; }

/* ---------- Tool / metric chip ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #06231b;
  background: #ece6d6;
  padding: 5px 12px;
  border-radius: 999px;
}
.chip-dark {
  background: rgba(220,187,94,0.14);
  color: #dcbb5e;
  border: 1px solid rgba(220,187,94,0.30);
}
.chip-burgundy {
  background: rgba(122,46,58,0.10);
  color: #7a2e3a;
  border: 1px solid rgba(122,46,58,0.22);
}

/* ============================================================
   InstantOffers-style multi-offer comparison table & cards
   ============================================================ */

.offer-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 14px;
}
.offer-table thead th {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: #6b7570;
  text-align: right;
  padding: 14px 16px;
  border-bottom: 1.5px solid #ece6d6;
  background: #fbf7eb;
}
.offer-table thead th:first-child { text-align: left; }
.offer-table tbody td {
  padding: 18px 16px;
  border-bottom: 1px solid #f5eed9;
  text-align: right;
  color: #06231b;
}
.offer-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: #06231b;
}
.offer-table tbody tr {
  transition: background 180ms ease;
}
.offer-table tbody tr:hover { background: #fbf7eb; }
.offer-table tbody tr.featured {
  background: linear-gradient(90deg, rgba(201,161,59,0.10), rgba(201,161,59,0));
}
.offer-table tbody tr.featured td:first-child::before {
  content: "★";
  color: #c9a13b;
  margin-right: 8px;
}
.offer-table tbody td.net {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 18px;
  color: #0a3b2e;
}
.offer-table tbody tr.featured td.net { color: #86671e; }

.offer-card {
  background: #ffffff;
  border: 1px solid #ece6d6;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 240ms ease, transform 240ms cubic-bezier(.2,.9,.3,1.2), border-color 240ms ease;
  display: flex;
  flex-direction: column;
}
.offer-card:hover {
  box-shadow: 0 18px 36px -12px rgba(6,35,27,0.16);
  transform: translateY(-3px);
  border-color: #d9cdb3;
}
.offer-card.featured { border-color: #c9a13b; box-shadow: 0 12px 28px -8px rgba(201,161,59,0.28); }
.offer-card .head {
  padding: 20px 22px 16px;
  border-bottom: 1px solid #f5eed9;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.offer-card .head h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 22px;
  color: #06231b;
  margin: 0;
  line-height: 1.15;
}
.offer-card .head .net {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 26px;
  color: #86671e;
  white-space: nowrap;
  line-height: 1;
}
.offer-card .body {
  padding: 18px 22px;
  flex: 1;
}
.offer-row {
  display: flex; justify-content: space-between;
  padding: 8px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  color: #2a2e2c;
  border-bottom: 1px dashed #ece6d6;
}
.offer-row:last-child { border-bottom: 0; }
.offer-row .k { color: #6b7570; font-weight: 500; }
.offer-row .v { font-weight: 700; color: #06231b; }
.offer-row.total {
  margin-top: 6px; padding-top: 14px;
  border-top: 1.5px solid #c9a13b;
  border-bottom: 0;
}
.offer-row.total .k { color: #06231b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 11px; }
.offer-row.total .v { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 22px; color: #0a3b2e; }
.offer-card .desc {
  padding: 14px 22px 18px;
  border-top: 1px solid #f5eed9;
  font-size: 13px;
  color: #2a2e2c;
  line-height: 1.6;
}
.offer-card .foot {
  padding: 16px 22px 20px;
  border-top: 1px solid #f5eed9;
  background: #fbf7eb;
  display: flex; gap: 8px; align-items: center;
}

/* ============================================================
   Realist-style property research result block
   ============================================================ */
.research-shell {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #ece6d6;
  box-shadow: 0 24px 48px -16px rgba(6,35,27,0.22);
  overflow: hidden;
}
.research-tabs {
  display: flex;
  border-bottom: 1px solid #ece6d6;
  background: #fbf7eb;
}
.research-tab {
  flex: 1;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #6b7570;
  padding: 16px 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}
.research-tab:hover { color: #06231b; background: #f5e9c3; }
.research-tab.active { color: #06231b; border-bottom-color: #c9a13b; background: #ffffff; }

.research-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  padding: 12px 24px;
  font-size: 14px;
  border-bottom: 1px solid #f5e9c3;
  align-items: center;
}
.research-row:last-child { border-bottom: 0; }
.research-row .k {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: #6b7570;
}
.research-row .v {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  color: #06231b;
}
.research-row .v.muted { color: #6b7570; font-weight: 500; }
.research-row .v.gold { color: #86671e; font-weight: 700; }

.research-summary {
  background: #06231b;
  color: #ffffff;
  padding: 22px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.research-summary .stat .label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.research-summary .stat .num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 26px;
  color: #dcbb5e;
  line-height: 1;
  letter-spacing: -0.01em;
}
@media (max-width: 768px) {
  .research-summary { grid-template-columns: repeat(2, 1fr); }
  .research-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
}
