/* ===== Self-hosted fonts (Inter + Playfair Display, latin) ===== */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter-567244.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/inter-567244.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/inter-567244.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/inter-567244.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/playfair-display-9385b6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/playfair-display-9385b6.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/playfair-display-48d1e9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/playfair-display-48d1e9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/playfair-display-48d1e9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   GAYA YAFFA — Los Angeles Real Estate
   Modern Flat Luxury · White + Saturated Red
   ============================================================ */

:root {
  /* Brand */
  --red:        #DB2436;   /* saturated red, slightly faded */
  --red-light:  #FF5A6E;   /* lighter red for the gradient tail */
  --red-deep:   #A0121F;   /* deep red for hover/depth */
  --red-tint:   #FCF4F5;   /* soft red wash for section bg */
  --red-tint-2: #F8E8EA;
  --red-glow:   rgba(219, 36, 54, 0.30);

  /* Modern red gradient — saturated → lighter */
  --red-grad:      linear-gradient(120deg, #DB2436 0%, #FF5A6E 100%);
  --red-grad-deep: linear-gradient(120deg, #B81626 0%, #E23A4D 100%);
  --green-grad:    linear-gradient(120deg, #2BC56E 0%, #5DE7A2 100%); /* available/"for sale" */

  /* Ink / neutrals */
  --ink:        #18181B;   /* near-black */
  --ink-2:      #3A3A40;
  --ink-soft:   #5E5E66;
  --muted:      #94949E;
  --line:       rgba(24, 24, 27, 0.08);
  --line-2:     rgba(24, 24, 27, 0.05);
  --bg:         #ffffff;
  --bg-soft:    #FBFAF8;   /* warm off-white */
  --glass:      rgba(255, 255, 255, 0.72);   /* frosted surfaces */
  --glass-brd:  rgba(255, 255, 255, 0.62);

  /* Champagne gold (nod to the GY monogram) */
  --gold:       #C9A86A;
  --gold-2:     #E7D4A6;

  /* Type */
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius:   9px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 10px rgba(24,24,27,0.05);
  --shadow:    0 18px 50px -24px rgba(24,24,27,0.28);
  --shadow-hover: 0 14px 38px -22px rgba(24,24,27,0.14); /* gentle lift on hover */
  --shadow-red: 0 12px 28px -16px rgba(219,36,54,0.20);
  --shadow-soft:   0 14px 34px -16px rgba(24,24,27,0.16);  /* clean, diffuse — for photos */
  --shadow-soft-h: 0 22px 46px -18px rgba(24,24,27,0.22);  /* on hover */
  --container: 1200px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 76px;
}
/* Soft ambient color — airy, modern depth (very faint) */
body::before, body::after {
  content: ""; position: fixed; border-radius: 50%; filter: blur(100px);
  z-index: -1; pointer-events: none;
}
body::before { width: 540px; height: 540px; top: -190px; right: -150px;
  background: radial-gradient(circle, rgba(219,36,54,0.07), transparent 70%); }
body::after { width: 480px; height: 480px; bottom: -210px; left: -170px;
  background: radial-gradient(circle, rgba(201,168,106,0.08), transparent 70%); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background-color: rgba(250, 249, 246, 0.66); }
.section--tint { background: var(--red-tint); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; color: var(--ink); }
.display { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 600; line-height: 1.04; letter-spacing: -0.02em; }
.h-xl { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.h-lg { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.h-md { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
/* Gradient text — saturated red fading to a lighter red */
.red, .text-grad, .feature__sig, .brand__name b, .hero-split__badge .num,
.quote__stars, .trust-row__stars, .step__n, .magnet__tag, .sold-card__meta b {
  background: var(--red-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--red); /* fallback */
}
.italic { font-style: italic; }
/* Verified-agent seal (red) — scales with surrounding text, so it's mobile-friendly by default */
.verified { width: 1.85em; height: 1.85em; flex: none; vertical-align: -0.45em; color: var(--red); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans);
  font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--red); opacity: .6; }
.eyebrow--center::after { content: ""; width: 26px; height: 1px; background: var(--red); opacity: .6; }
.eyebrow--light { color: rgba(255,255,255,0.85); }
.eyebrow--light::before, .eyebrow--light::after { background: rgba(255,255,255,0.7); }

.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 56ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head .lead { margin: 18px auto 0; }
.section-head p { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-weight: 600; font-size: 0.92rem;
  letter-spacing: 0.02em;
  padding: 15px 30px; border-radius: var(--radius);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary { background-color: var(--red); background-image: var(--red-grad); color: #fff; box-shadow: var(--shadow-red); }
.btn-primary:hover { background-image: var(--red-grad-deep); transform: translateY(-1px); box-shadow: 0 14px 28px -16px rgba(219,36,54,0.24); }
.btn-dark { background-color: var(--ink); background-image: linear-gradient(120deg, #2B2B31 0%, #141417 100%); color: #fff; }
.btn-dark:hover { background-image: linear-gradient(120deg, #232328 0%, #0B0B0D 100%); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn-outline-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.55); }
.btn-outline-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-lg { padding: 17px 36px; font-size: 1rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,0.25); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 84px; }

/* Logo */
.brand { display: flex; align-items: center; gap: 13px; }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__txt { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--serif); font-size: 1.32rem; font-weight: 600;
  letter-spacing: 0.04em; color: var(--ink);
}
.brand__name b { color: var(--red); font-weight: 600; }
.brand__sub {
  font-family: var(--sans); font-size: 0.56rem; font-weight: 600;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted);
  margin-top: 5px;
}

.nav__links { position: fixed; inset: 84px 0 auto 0; display: flex; flex-direction: column; gap: 0; align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 0 20px; transform: translateY(-130%); transition: transform .35s var(--ease); box-shadow: var(--shadow); }
body.nav-open .nav__links { transform: none; }
.nav__link {
  font-size: 1rem; font-weight: 500; color: var(--ink-2);
  position: relative; padding: 16px 24px; border-bottom: 1px solid var(--line-2); transition: color .2s;
}
.nav__link::after {
  content: ""; display: none; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--red); transition: width .28s var(--ease);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }
.nav__link.active { color: var(--ink); }

.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__cta .btn { display: none; }
.nav__phone { font-size: 0.9rem; font-weight: 600; color: var(--ink); display: none; align-items: center; gap: 7px; }
.nav__phone svg { width: 15px; height: 15px; color: var(--red); }

.nav__burger { display: block; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.nav__burger span { position: absolute; left: 8px; width: 28px; height: 2px; border-radius: 2px; background: var(--ink); transition: .3s var(--ease); }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 22px; }
.nav__burger span:nth-child(3) { top: 29px; }
body.nav-open .nav__burger span:nth-child(1) { top: 22px; transform: rotate(45deg); }
body.nav-open .nav__burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav__burger span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero-split { display: grid; grid-template-columns: 1fr; gap: 0; align-items: stretch; }
.hero-split__text { padding: 64px 0 56px; display: flex; flex-direction: column; justify-content: center; }
.hero-split__media { position: relative; min-height: 420px; }
.hero-split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); transition: transform .6s var(--ease), box-shadow .5s ease; }
.hero-split__media:hover img { transform: scale(1.015); box-shadow: var(--shadow-soft-h); }
.hero-split__badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 3; max-width: calc(100% - 28px);
  background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 14px 18px; border-radius: var(--radius-lg);
  box-shadow: 0 16px 38px -20px rgba(24,24,27,0.34); border: 1px solid var(--glass-brd);
  display: flex; align-items: center; gap: 18px;
}
.hero-split__badge .num { font-family: var(--serif); font-size: 2rem; color: var(--red); line-height: 1; }
.hero-split__badge .lbl { font-size: 0.78rem; color: var(--ink-soft); max-width: 13ch; }
.hero h1 { margin-bottom: 22px; }
.hero .lead { margin-bottom: 34px; }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.hero-actions .btn { width: 100%; }

/* Full-bleed image hero (inner pages) */
.hero-banner { position: relative; min-height: 520px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-banner__bg { position: absolute; inset: 0; }
.hero-banner__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(15,15,18,0.82) 0%, rgba(20,20,24,0.55) 45%, rgba(20,20,24,0.15) 100%);
}
.hero-banner__inner { position: relative; z-index: 2; padding: 90px 0; max-width: 620px; }
.hero-banner h1 { color: #fff; margin-bottom: 20px; }
.hero-banner .lead { color: rgba(255,255,255,0.88); }

/* Hero with inline lead form */
.hero-form-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }

/* ---------- Trust bar / stats ---------- */
.stats { display: grid; grid-template-columns: 1fr; gap: 28px; }
.stat { text-align: center; padding: 8px 10px; }
.stat__num { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--ink); line-height: 1; }
.stat__num .red { color: var(--red); }
.stat__lbl { margin-top: 12px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.stats--divided .stat { border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.stats--divided .stat:last-child { border-bottom: none; }

/* ---------- Cards / generic ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 30px; }
.grid-4 { display: grid; grid-template-columns: 1fr; gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: 38px 34px; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .55s ease, border-color .5s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: var(--line-2); transition-delay: 0s; }
.card__icon {
  width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center;
  background-image: var(--red-grad); color: #fff; margin-bottom: 22px;
  box-shadow: var(--shadow-red);
}
.card__icon svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.96rem; }

/* Path cards (Buy / Sell choice) */
.path-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 360px;
  display: flex; align-items: flex-end; color: #fff; isolation: isolate;
  box-shadow: var(--shadow-soft); transition: transform .45s var(--ease), box-shadow .5s ease;
}
.path-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft-h); }
.path-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.path-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(15,15,18,0.88) 0%, rgba(15,15,18,0.28) 60%, rgba(15,15,18,0.12) 100%); }
.path-card:hover img { transform: scale(1.06); }
.path-card__body { padding: 36px; width: 100%; }
.path-card__body h3 { color: #fff; font-size: 1.7rem; margin-bottom: 8px; }
.path-card__body p { color: rgba(255,255,255,0.85); margin-bottom: 18px; font-size: 0.96rem; }
.path-card__link { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.92rem; color: #fff; }
.path-card__link svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.path-card:hover .path-card__link svg { transform: translateX(5px); }

/* ---------- SOLD gallery ---------- */
.sold-grid { display: grid; grid-template-columns: 1fr; gap: 26px; }
.sold-card { display: block; color: inherit; border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--shadow-soft); transition: transform .5s var(--ease), box-shadow .55s ease; }
.sold-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft-h); transition-delay: 0s; }
.listing-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
.sold-card__addr { font-size: 0.82rem; color: var(--muted); margin: -6px 0 12px; }
.sold-badge--sale { background-image: var(--green-grad); }
.sold-badge--pending { background-image: linear-gradient(120deg, #c77d12, #e7a53b); }
.sold-card__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.sold-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.sold-card:hover .sold-card__img img { transform: scale(1.07); }
.sold-badge {
  position: absolute; top: 16px; left: 16px;
  background-image: var(--red-grad); color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; padding: 7px 14px; border-radius: 2px;
  box-shadow: var(--shadow-red);
}
.sold-card__body { padding: 22px 24px 26px; }
.sold-card__loc { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.sold-card__price { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin: 4px 0 12px; }
.sold-card__meta { display: flex; gap: 18px; font-size: 0.84rem; color: var(--ink-soft); border-top: 1px solid var(--line-2); padding-top: 14px; }
.sold-card__meta b { color: var(--red); font-weight: 700; }

/* ---------- About / split feature ---------- */
.feature { display: grid; grid-template-columns: 1fr; gap: 44px; justify-items: center; text-align: left; align-items: center; }
.feature--rev { grid-template-columns: 1fr; }
.feature--rev .feature__media { order: -1; }
.feature__media { max-width: 420px; width: 100%; margin-left: auto; margin-right: auto; }
.feature__text { max-width: 620px; }
.feature__media { position: relative; }
.feature__media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-soft); transition: transform .5s var(--ease), box-shadow .5s ease; }
.feature__media .frame { position: absolute; inset: 12px -12px -12px 12px; border: 1px solid var(--gold); border-radius: var(--radius-lg); z-index: -1; }
.feature__media:hover > img { transform: translateY(-5px); box-shadow: var(--shadow-soft-h); }
.feature__media .portrait { box-shadow: var(--shadow-soft); transition: transform .5s var(--ease), box-shadow .5s ease; }
.feature__media:hover .portrait { transform: translateY(-5px); box-shadow: var(--shadow-soft-h); }
.feature__sig { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--red); margin-top: 8px; }
.feature ul.checks { margin-top: 26px; display: grid; gap: 14px; }
.checks li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-2); font-size: 0.98rem; }
.checks li svg { width: 21px; height: 21px; flex: none; color: var(--red); margin-top: 2px; }

/* Portrait fallback (until real photo dropped in) */
.portrait { position: relative; background: linear-gradient(150deg, #f3eee6, #efe6d6); }
.portrait img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.portrait img.is-missing { display: none; }
.portrait__ph { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 30px; color: var(--ink-soft); }
.portrait.show-ph .portrait__ph { display: flex; }
.portrait__ph .mono { width: 84px; height: 84px; }
.portrait__ph small { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 18px; }
.step__n { font-family: var(--serif); font-size: 2.6rem; color: var(--red-tint-2); line-height: 1; }
.step h4 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin: 10px 0 8px; }
.step p { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Neighborhoods ---------- */
.hood-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.hood { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 3/2; display: flex; align-items: flex-end; color: #fff; box-shadow: var(--shadow-soft); transition: transform .45s var(--ease), box-shadow .5s ease; }
.hood:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft-h); }
.hood img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hood::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,15,18,0.82), rgba(15,15,18,0.05) 70%); }
.hood:hover img { transform: scale(1.08); }
.hood__name { position: relative; z-index: 2; padding: 22px 24px; font-family: var(--serif); font-size: 1.3rem; }
.hood__name span { display: block; font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.75); margin-top: 3px; }

/* ---------- Testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
.quote { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 34px 32px; }
.quote__stars { color: var(--red); letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 16px; }
.quote__text { font-family: var(--serif); font-size: 1.12rem; line-height: 1.5; color: var(--ink-2); margin-bottom: 22px; }
.quote__who { display: flex; align-items: center; gap: 13px; }
.quote__avatar { width: 44px; height: 44px; border-radius: 50%; background-image: var(--red-grad); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.1rem; flex: none; }
.quote__name { font-weight: 600; font-size: 0.92rem; }
.quote__role { font-size: 0.8rem; color: var(--muted); }

/* ---------- Forms ---------- */
.lead-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 38px 36px; box-shadow: var(--shadow); }
.lead-form--on-dark { box-shadow: 0 30px 70px -28px rgba(0,0,0,0.5); }
.lead-form__head { margin-bottom: 24px; }
.lead-form__head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.lead-form__head p { font-size: 0.9rem; color: var(--ink-soft); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg-soft); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--red); background: #fff;
  box-shadow: 0 0 0 3px rgba(219,36,54,0.12);
}
.field-row { display: grid; grid-template-columns: 1fr; gap: 14px; }

/* Optional collapsible message — keeps the form short, expands on demand */
.field-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--sans); font-size: 0.85rem; font-weight: 600; color: var(--red);
  background: none; cursor: pointer; padding: 8px 0; transition: opacity .2s;
}
.field-toggle:hover { opacity: 0.72; }
.field-toggle svg { width: 15px; height: 15px; }
.field-collapse {
  max-height: 0; overflow: hidden; opacity: 0; transform: translateY(-4px);
  transition: max-height .35s var(--ease), opacity .3s var(--ease), transform .35s var(--ease);
}
.field-collapse.is-open { max-height: 240px; opacity: 1; transform: none; margin-top: 12px; }
.field-collapse label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.field-collapse textarea { resize: none; min-height: 100px; }
.form-note { font-size: 0.76rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form-note a { color: var(--red); }

/* Segmented intent toggle */
.intent { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 18px; }
.intent label { cursor: pointer; }
.intent input { position: absolute; opacity: 0; pointer-events: none; }
.intent__opt {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px; border: 1px solid var(--line); border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); transition: .2s;
}
.intent__opt svg { width: 17px; height: 17px; }
.intent input:checked + .intent__opt { border-color: var(--red); background: var(--red-tint); color: var(--red); }

/* Form success state */
.form-success { display: none; text-align: center; padding: 26px 10px; }
.lead-form.is-sent .form-body { display: none; }
.lead-form.is-sent .form-success { display: block; animation: rise .5s var(--ease) both; }
.form-success__icon { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; background-image: var(--red-grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-red); }
.form-success__icon svg { width: 30px; height: 30px; }
.form-success h3 { margin-bottom: 8px; }
.form-success p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; color: #fff; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(176,20,35,0.88) 0%, rgba(219,36,54,0.78) 50%, rgba(255,98,118,0.62) 100%); }
.cta-band__inner { position: relative; z-index: 2; text-align: center; padding: 100px 0; }
.cta-band h2 { color: #fff; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 56ch; margin: 0 auto 32px; }
.cta-band .btn-light { color: var(--red-deep); }

/* ---------- Contact info ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 44px; align-items: start; }
.info-list { display: grid; gap: 26px; margin: 30px 0; }
.info-item { display: flex; gap: 18px; align-items: flex-start; }
.info-item__icon { width: 46px; height: 46px; flex: none; border-radius: var(--radius); background-image: var(--red-grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-red); }
.info-item__icon svg { width: 21px; height: 21px; }
.info-item h4 { font-family: var(--sans); font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.info-item p, .info-item a { color: var(--ink-soft); font-size: 0.95rem; }
.info-item a:hover { color: var(--red); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); height: 280px; margin-top: 30px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.2) contrast(1.05); }

.socials { display: flex; gap: 12px; margin-top: 24px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--ink-2); transition: .25s var(--ease); }
.socials a:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Logo strip / trust ---------- */
.trust-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 46px; }
.trust-strip span { font-family: var(--serif); font-size: 1.15rem; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.66); padding: 72px 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1fr; gap: 34px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .brand__name { color: #fff; }
.footer .brand__name b { color: var(--red); }
.footer .brand__sub { color: rgba(255,255,255,0.5); }
.footer__about { margin-top: 20px; font-size: 0.92rem; max-width: 34ch; }
.footer h5 { color: #fff; font-family: var(--sans); font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 20px; }
.footer__links { display: grid; gap: 12px; }
.footer__links a { font-size: 0.92rem; transition: color .2s; }
.footer__links a:hover { color: #fff; }
.footer__contact p { font-size: 0.92rem; margin-bottom: 12px; display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 16px; height: 16px; color: var(--red); flex: none; margin-top: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; padding-top: 26px; font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer__bottom .eho { display: inline-flex; align-items: center; gap: 8px; }
.footer__bottom .eho svg { width: 15px; height: 15px; }

/* ---------- Trust row (instant credibility) ---------- */
.trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; }
.trust-row__item { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
.trust-row__item strong { color: var(--ink); font-weight: 700; }
.trust-row__stars { color: var(--red); letter-spacing: 1px; font-size: 0.95rem; }
.trust-row__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--line); }
.trust-row--light .trust-row__item { color: rgba(255,255,255,0.85); }
.trust-row--light .trust-row__item strong { color: #fff; }
.trust-row--light .trust-row__sep { background: rgba(255,255,255,0.4); }

/* Availability pill — modern green gradient (saturated → lighter) */
.pill {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  padding: 9px 18px; border-radius: 100px;
  background: linear-gradient(120deg, rgba(43,197,110,0.16), rgba(93,231,162,0.10));
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(34,160,90,0.30);
  color: #178A4B; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.01em;
  box-shadow: 0 6px 18px -12px rgba(26,160,83,0.35);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22A35A; box-shadow: 0 0 0 0 rgba(40,198,107,0.6); animation: pulse 1.8s infinite; }
.pill--light { background-image: none; background-color: rgba(255,255,255,0.16); color: #fff; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(40,198,107,.6);} 70% { box-shadow: 0 0 0 7px rgba(40,198,107,0);} 100% { box-shadow: 0 0 0 0 rgba(40,198,107,0);} }

/* ---------- Assurance strip (risk reversal) ---------- */
.assurance { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
.assure { display: flex; gap: 14px; align-items: flex-start; }
.assure__icon { width: 42px; height: 42px; flex: none; border-radius: 50%; background-image: var(--red-grad); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-red); }
.assure__icon svg { width: 20px; height: 20px; }
.assure h4 { font-family: var(--sans); font-weight: 700; font-size: 0.95rem; margin-bottom: 3px; }
.assure p { font-size: 0.84rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Lead magnet ---------- */
.magnet { background: var(--red-tint); border: 1px solid var(--red-tint-2); border-radius: var(--radius-lg); padding: 32px 24px; display: grid; grid-template-columns: 1fr; gap: 30px; align-items: center; }
.magnet__tag { display: inline-flex; align-items: center; gap: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.magnet h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.magnet p { color: var(--ink-soft); margin-bottom: 18px; }
.magnet .checks li { font-size: 0.94rem; }
.magnet form { background: #fff; border-radius: var(--radius-lg); padding: 30px 28px; box-shadow: var(--shadow); }
.magnet form h4 { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; margin-bottom: 14px; }

/* ---------- FAQ (objection handling) ---------- */
.faq { max-width: 840px; margin: 0 auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; list-style: none; padding: 24px 6px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink); transition: color .2s; }
.faq__item summary:hover { color: var(--red); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--sans); font-weight: 400; font-size: 1.7rem; color: var(--red); line-height: 1; flex: none; transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 6px 26px; color: var(--ink-soft); font-size: 0.99rem; max-width: 72ch; animation: rise .4s var(--ease) both; }

/* ---------- Sticky mobile CTA bar ---------- */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  box-shadow: 0 -8px 26px -18px rgba(0,0,0,0.35); }
.mobile-cta .btn { flex: 1; padding: 14px 10px; font-size: 0.92rem; }

/* ---------- Comparison (why an agent vs an app) ---------- */
.compare { display: grid; grid-template-columns: 1fr; gap: 22px; }
.compare__col { border-radius: var(--radius-lg); padding: 34px 30px; }
.compare__col--bad { background: var(--bg-soft); border: 1px solid var(--line-2); }
.compare__col--good { background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.compare__col h4 { font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em; margin-bottom: 18px; }
.compare__col--good h4 { color: #fff; }
.compare li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 0; font-size: 0.94rem; border-top: 1px solid var(--line-2); }
.compare__col--good li { border-top-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); }
.compare li:first-child { border-top: none; }
.compare li svg { width: 19px; height: 19px; flex: none; margin-top: 2px; }
.compare__col--bad li svg { color: var(--muted); }
.compare__col--good li svg { color: #28c66b; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease), box-shadow .55s ease, border-color .55s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
/* hover should respond instantly & ease softly — never inherit the reveal stagger delay */
.reveal.card:hover, .reveal.sold-card:hover, a.sold-card.reveal:hover { transition-delay: 0s; }

/* Very discreet icon entrance — they settle in just after their card reveals */
.card__icon, .assure__icon, .info-item__icon, .quote__avatar {
  transition: transform .55s var(--ease) .14s, opacity .55s var(--ease) .14s;
}
.reveal:not(.in) .card__icon,
.reveal:not(.in) .assure__icon,
.reveal:not(.in) .info-item__icon,
.reveal:not(.in) .quote__avatar { transform: scale(0.72); opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .card__icon, .assure__icon, .info-item__icon, .quote__avatar { transition: none; }
  .reveal:not(.in) .card__icon,
  .reveal:not(.in) .assure__icon,
  .reveal:not(.in) .info-item__icon,
  .reveal:not(.in) .quote__avatar { transform: none; opacity: 1; }
}

@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ---------- Responsive (mobile-first) — base = phone, enhanced upward ---------- */
@media (min-width: 761px) {
  .container { padding: 0 28px; }
  .section { padding: 110px 0; }
  .section--tight { padding: 78px 0; }
  body { padding-bottom: 0; }
  .mobile-cta { display: none; }

  /* horizontal nav */
  .nav__links { position: static; inset: auto; flex-direction: row; align-items: center; gap: 26px; background: none; border: none; box-shadow: none; padding: 0; transform: none; }
  .nav__link { font-size: 0.92rem; padding: 6px 0; border-bottom: none; }
  .nav__link::after { display: block; }
  .nav__burger { display: none; }
  .nav__cta .btn { display: inline-flex; }

  /* grids */
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .sold-grid, .hood-grid, .quote-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4, .listing-grid, .stats, .steps, .assurance { grid-template-columns: repeat(2, 1fr); }
  .compare, .footer__grid, .field-row, .intent { grid-template-columns: repeat(2, 1fr); }

  .stats--divided .stat { border-right: 1px solid var(--line); border-bottom: none; padding-bottom: 8px; }
  .stats--divided .stat:last-child { border-right: none; }

  .hero-actions { flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .hero-actions .btn { width: auto; }

  .hero-split__badge { display: flex; left: 16px; bottom: 16px; max-width: 70%; padding: 20px 24px; }
  .feature__media .frame { inset: 18px -18px -18px 18px; }
}

@media (min-width: 1025px) {
  .hero-split { grid-template-columns: 1.05fr 0.95fr; min-height: 640px; }
  .hero-split__text { padding: 96px 64px 96px 0; }
  .hero-split__media { min-height: auto; }
  .hero-split__badge { left: -54px; bottom: 56px; }
  .hero-form-grid { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
  .feature { grid-template-columns: 0.95fr 1.05fr; gap: 64px; justify-items: stretch; }
  .feature--rev { grid-template-columns: 1.05fr 0.95fr; }
  .feature--rev .feature__media { order: 0; }
  .feature__media { max-width: none; }
  .feature__text { max-width: none; }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 60px; }
  .grid-4, .listing-grid, .stats, .steps, .assurance { grid-template-columns: repeat(4, 1fr); }
  .magnet { grid-template-columns: 1.15fr 0.85fr; padding: 50px; gap: 50px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .compare { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1081px) {
  .nav__phone { display: inline-flex; }
  .nav__links { gap: 38px; }
}
