/* =========================================================
   Get Home Realty — Individual Agent Site
   Palette: red / black / white / light gray
   ========================================================= */
:root {
  --red: #d71920;
  --red-dark: #b3121a;
  --red-soft: #fdecec;
  --ink: #141414;
  --charcoal: #2a2a2a;
  --muted: #6b6b6b;
  --line: #ebe8e4;
  --gray: #f5f4f2;
  --warm: #faf7f3;
  --white: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 4px 14px rgba(20, 20, 20, .06);
  --shadow: 0 18px 50px rgba(20, 20, 20, .10);
  --shadow-lg: 0 30px 80px rgba(20, 20, 20, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1200px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 8px; }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.section { padding: 68px 0; }
.section--gray { background: var(--gray); }
.section--warm { background: var(--warm); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: #fff; }
.eyebrow--light::before { background: var(--red); }

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.02em; }
h2.title { font-size: clamp(32px, 4vw, 48px); font-weight: 800; margin: 10px 0 14px; }
h2.title em, h1 em { font-style: normal; color: var(--red); }
.lead { color: var(--muted); font-size: 17px; max-width: 46ch; margin: 0 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 28px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 28px rgba(215, 25, 32, .32); }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 16px 36px rgba(215, 25, 32, .4); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; transform: translateY(-2px); }
.btn--outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn--outline-light { border: 1.5px solid rgba(255,255,255,.6); color: #fff; }
.btn--outline-light:hover { background: #fff; color: var(--ink); transform: translateY(-2px); }
.btn--sm { padding: 9px 18px; font-size: 13.5px; font-weight: 800; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ink);
  transition: color .25s, gap .25s var(--ease);
}
.link-arrow svg { width: 16px; height: 16px; }
.link-arrow:hover { color: var(--red); gap: 12px; }

/* ---------- Navigation ---------- */
.nav-wrap { position: fixed; top: 0; left: 0; right: 0; z-index: 100; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 10px max(16px, calc((100% - var(--container)) / 2));
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 1px 0 rgba(20, 20, 20, .06), 0 10px 30px rgba(20, 20, 20, .08);
  transition: background .35s, box-shadow .35s, padding .35s;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 40px; height: 40px; border-radius: 12px; background: var(--red);
  display: grid; place-items: center; flex-shrink: 0;
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__logo { height: 42px; width: auto; flex-shrink: 0; }
.brand__logo + .brand__text, .brand__logo + .brand__logo + .brand__text { padding-left: 10px; border-left: 2px solid rgba(20,20,20,.12); }
.footer .brand__logo { height: 64px; }
.footer .brand__logo + .brand__text { border-left-color: rgba(255,255,255,.18); }
.brand__text { line-height: 1.1; }
.brand__name { font-weight: 900; font-size: 14px; letter-spacing: -.01em; display: block; }
.nav .brand__name { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: .005em; color: var(--ink); white-space: nowrap; }
.brand__sub { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.nav__menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  position: relative; display: block; padding: 8px 0; font-size: 13.5px; font-weight: 800; color: var(--charcoal);
  transition: color .25s;
}
.nav__menu a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease);
}
.nav__menu a:hover { color: var(--ink); }
.nav__menu a:hover::after, .nav__menu a.is-active::after { transform: scaleX(1); }
.nav__menu a.is-active { color: var(--red); }
.brand__logo--light { display: none; }

/* Transparent header over the homepage hero; turns solid on scroll */
.nav-wrap--overlay .nav:not(.is-scrolled):not(.is-open) {
  background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none;
  padding-block: 18px;
}
.nav-wrap--overlay .nav:not(.is-scrolled):not(.is-open) .brand__logo--dark { display: none; }
.nav-wrap--overlay .nav:not(.is-scrolled):not(.is-open) .brand__logo--light { display: block; }
.nav-wrap--overlay .nav:not(.is-scrolled):not(.is-open) .brand__logo + .brand__logo + .brand__text { border-left-color: rgba(255,255,255,.3); }
.nav-wrap--overlay .nav:not(.is-scrolled):not(.is-open) .brand__name { color: #fff; }
.nav-wrap--overlay .nav:not(.is-scrolled):not(.is-open) .nav__menu a { color: rgba(255,255,255,.9); }
.nav-wrap--overlay .nav:not(.is-scrolled):not(.is-open) .nav__menu a:hover,
.nav-wrap--overlay .nav:not(.is-scrolled):not(.is-open) .nav__menu a.is-active { color: #fff; }
.nav-wrap--overlay .nav:not(.is-scrolled):not(.is-open) > .btn--red {
  background: transparent; border: 1.5px solid rgba(255,255,255,.75); box-shadow: none;
}
.nav-wrap--overlay .nav:not(.is-scrolled):not(.is-open) > .btn--red:hover { background: #fff; color: var(--ink); }
.nav-wrap--overlay .nav:not(.is-scrolled):not(.is-open) .nav__toggle { background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.6); }
.nav__toggle { display: none; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; place-items: center; }
.nav__toggle svg { width: 20px; height: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;  /* sized by its content, so there's no empty band under the header */
  display: flex; align-items: flex-end; color: var(--ink); isolation: isolate;
  overflow: hidden;
}
/* Light brand background (no photo): warm off-white, a soft red glow behind
   the agent and a faint dot pattern for texture */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 74% 58%, rgba(215, 25, 32, .16), transparent 42%),
    radial-gradient(circle at 12% 18%, rgba(215, 25, 32, .06), transparent 35%),
    radial-gradient(rgba(20, 20, 20, .07) 1px, transparent 1.4px) 0 0 / 22px 22px,
    linear-gradient(180deg, #fbf7f4 0%, #f4eee9 100%);
}
/* White rounded band the agent and search card overlap into */
.hero__curve {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 150px; z-index: 0;
  background: var(--white); border-radius: 56px 56px 0 0;
}
.hero__inner {
  position: relative; z-index: 1;
  width: min(var(--container), 100% - 40px); margin-inline: auto;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: end; gap: 40px;
  padding-top: clamp(104px, 14vh, 128px);  /* header (~62px) + breathing room */
}
.hero__agent { --agent-w: 440px; position: relative; align-self: end; display: flex; justify-content: center;
  margin-bottom: clamp(20px, 4vh, 40px); } /* same bottom line as the search card (.hero__content padding) */
.hero__agent::before {
  content: ""; position: absolute; bottom: 12%; left: 50%; translate: -50% 0;
  width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(215,25,32,.35), rgba(215,25,32,0) 66%);
  z-index: -1;
}
.hero__agent img {
  width: min(var(--agent-w), 100%); height: auto; max-height: 62vh; object-fit: contain; object-position: bottom;
  /* Transparent cutout: only the person shows. A soft shadow lifts him off the
     background photo; the short fade softens where the portrait is cropped. */
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .18));

}
.hero__badge {
  position: absolute; left: max(0px, calc(50% - var(--agent-w) / 2 - 36px)); bottom: 30%; color: var(--ink);
  background: #fff; border-radius: 12px; padding: 7px 12px 7px 7px; box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 8px; animation: float 6s ease-in-out infinite;
}
.hero__badge strong { display: block; font-size: 15px; line-height: 1; }
.hero__badge span { font-size: 10px; color: var(--muted); font-weight: 600; }
.hero__badge .dot { width: 28px; height: 28px; border-radius: 8px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.hero__badge .dot svg { width: 15px; height: 15px; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero__name {
  position: absolute; bottom: 9%; left: 50%; translate: -50% 0; z-index: 2;
  background: #fff; color: var(--ink); text-align: center; white-space: nowrap;
  padding: 12px 26px 11px; border-radius: 16px; box-shadow: var(--shadow-lg);
  border-bottom: 4px solid var(--red);
}
.hero__name strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.1; letter-spacing: .005em; }
.hero__name span { display: block; margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }

.hero__content { padding-bottom: clamp(20px, 4vh, 40px); order: -1; }  /* text left, photo right on desktop */
.hero__kicker { font-size: 13px; font-weight: 800; letter-spacing: .3em; color: var(--charcoal); margin-bottom: clamp(10px, 2vh, 18px); }
.hero__kicker b { color: var(--red); }
.hero h1 { font-size: clamp(36px, min(5.2vw, 7.4vh), 70px); font-weight: 800; letter-spacing: -.035em; line-height: 1.03; }
.hero h1 em { font-family: var(--font-display); font-style: italic; font-weight: 700; color: var(--red); }
.hero__text { font-size: 17.5px; color: var(--muted); max-width: 44ch; margin: clamp(12px, 2vh, 20px) 0 clamp(16px, 3vh, 30px); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: clamp(18px, 3.5vh, 40px); }

/* ---------- Search card (sits in the hero, straddling the white band) ---------- */
.search {
  position: relative; color: var(--ink);
  background: #fff; border-radius: 26px; box-shadow: var(--shadow-lg);
  padding: 14px; border: 1px solid var(--line);
}
.search__tabs { display: inline-flex; gap: 4px; background: var(--gray); border-radius: 999px; padding: 5px; margin: 4px 0 12px 4px; }
.search__tab {
  padding: 8px 22px; border-radius: 999px; font-size: 14px; font-weight: 700; color: var(--muted);
  transition: background .25s, color .25s, box-shadow .25s;
}
.search__tab[aria-selected="true"] { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(215,25,32,.3); }
.search__form { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 10px; }
.search__form .field--wide { grid-column: 1 / -1; }
.field {
  position: relative; display: flex; flex-direction: column; justify-content: center;
  background: var(--gray); border-radius: 16px; padding: 10px 16px; border: 1.5px solid transparent;
  transition: border-color .25s, background .25s;
}
.field:focus-within { border-color: var(--red); background: #fff; }
.field label { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select {
  border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 3px 0 0; outline: none; width: 100%; appearance: none; -webkit-appearance: none;
}
.field select { cursor: pointer; padding-right: 20px; }
.field--select::after {
  content: ""; position: absolute; right: 18px; bottom: 18px; width: 7px; height: 7px;
  border-right: 2px solid var(--charcoal); border-bottom: 2px solid var(--charcoal); transform: rotate(45deg);
  pointer-events: none;
}
.search__submit { border-radius: 16px; }
.search__note { font-size: 12px; color: var(--muted); margin: 10px 6px 2px; }

/* ---------- About + Options ---------- */
.about { display: grid; grid-template-columns: .85fr 1.6fr; gap: 40px; align-items: center; }
.about__stats { display: flex; gap: 30px; margin: 0 0 22px; padding: 0; list-style: none; }
.about__stats strong { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.about__stats strong span { color: var(--red); }
.about__stats li { font-size: 13px; color: var(--muted); font-weight: 600; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__icon { width: 42px; height: 42px; border-radius: 13px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin: -45px 0 14px; position: relative; border: 4px solid #fff; box-sizing: content-box; }
.card__icon svg { width: 20px; height: 20px; }
.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 14.5px; margin: 0 0 18px; flex: 1; }

/* ---------- Featured listings ---------- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head .lead { margin: 0; }
.listing-more { display: flex; justify-content: center; margin-top: 28px; }
.listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.listing { position: relative; }
.listing__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px); color: var(--ink);
  font-size: 12px; font-weight: 800; padding: 7px 12px; border-radius: 999px;
}
.listing__tag--red { background: var(--red); color: #fff; }
.listing__price { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 4px; }
.listing__addr { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.listing__meta { display: flex; gap: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: var(--charcoal); }
.listing__meta span { display: inline-flex; align-items: center; gap: 6px; }
.listing__meta svg { width: 17px; height: 17px; color: var(--red); }
.listing .card__media { aspect-ratio: 16 / 11; }
.listing a.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Videos + Reviews ---------- */
.media-grid { display: grid; grid-template-columns: .8fr 1.7fr; gap: 40px; align-items: center; }
.media-right { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.video-card .card__media { aspect-ratio: 16 / 10; }
.video-card .card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55)); }
.play {
  position: absolute; z-index: 2; top: 50%; left: 50%; translate: -50% -50%;
  width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--red);
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .35s var(--ease), background .3s, color .3s;
}
.play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.3); opacity: 0; } }
.play svg { width: 24px; height: 24px; margin-left: 3px; }
.video-card:hover .play { transform: scale(1.1); background: var(--red); color: #fff; }
.duration {
  position: absolute; z-index: 2; bottom: 14px; right: 14px; color: #fff; font-size: 12px; font-weight: 700;
  background: rgba(0,0,0,.55); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px);
}
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }
.video-card h3 { font-size: 17px; }
.video-card button.card__media { width: 100%; padding: 0; text-align: left; }

/* ---------- Testimonials ---------- */
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.testimonials {
  overflow: hidden; padding: 10px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
/* Continuous right-to-left scroll. js/main.js repeats the cards so one loop
   is wider than the screen; the track then moves left by exactly one loop. */
.testimonials__track {
  display: flex; gap: 24px; width: max-content;
  animation: testimonials-scroll var(--marquee-duration, 40s) linear infinite;
}
.testimonials:hover .testimonials__track,
.testimonials:focus-within .testimonials__track { animation-play-state: paused; }
@keyframes testimonials-scroll { to { transform: translateX(calc(-50% - 12px)); } }
.testimonial {
  flex: none; width: 360px;
  margin: 0; position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px 28px;
  box-shadow: var(--shadow-sm); transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.testimonial:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testimonial::before {
  content: "“"; position: absolute; top: -26px; right: 18px; font-family: var(--font-display);
  font-size: 150px; color: var(--red); opacity: .14; line-height: 1;
}
.stars { display: flex; gap: 3px; color: #ffb547; margin-bottom: 18px; }
.stars svg { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 26px; font-size: 16px; line-height: 1.7; color: var(--charcoal); flex: 1; }
.testimonial__person { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial__person .testimonial__avatar {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center;
  background: var(--red-soft); color: var(--red); border: 2px solid var(--red);
  font-weight: 800; font-size: 16px; letter-spacing: .02em;
}
.testimonial__person strong { display: block; font-size: 15px; }
.testimonial__person span { font-size: 13px; color: var(--muted); }

/* ---------- CTA / Contact ---------- */
.cta { position: relative; color: #fff; overflow: hidden; isolation: isolate; padding: 80px 0; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10,10,10,.88) 0%, rgba(10,10,10,.7) 50%, rgba(10,10,10,.45) 100%); }
.cta__grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 40px; align-items: center; }
.cta h2.title { color: #fff; font-size: clamp(36px, 4.6vw, 58px); }
.cta .lead { color: rgba(255,255,255,.78); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.cta__phone { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; color: rgba(255,255,255,.75); }
.cta__phone a { color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.01em; transition: color .25s; }
.cta__phone a:hover { color: var(--red); }
.cta__phone .ic { width: 50px; height: 50px; border-radius: 50%; background: var(--red); display: grid; place-items: center; }
.cta__phone .ic svg { width: 22px; height: 22px; }
/* Contact form card */
.lead-form {
  background: #fff; color: var(--ink); border-radius: 26px; padding: 28px 26px 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.lead-form__title { font-size: 22px; font-weight: 800; }
.lead-form__sub { margin: 6px 0 18px; color: var(--muted); font-size: 14px; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lead-form__grid .field--wide { grid-column: 1 / -1; }
.lead-form textarea {
  border: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink);
  padding: 3px 0 0; outline: none; width: 100%; resize: vertical; min-height: 64px;
}
.lead-form .field input::placeholder, .lead-form textarea::placeholder { color: #9a9a9a; font-weight: 500; }
.lead-form .field.is-invalid { border-color: var(--red); background: var(--red-soft); }
.lead-form__submit { width: 100%; margin-top: 14px; padding-block: 15px; }
.lead-form__note { margin: 10px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.lead-form__status:empty { display: none; }
.lead-form__status { margin: 12px 0 0; padding: 12px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.lead-form__status.is-ok { background: #e8f5ea; color: #1e6b2a; }
.lead-form__status.is-error { background: var(--red-soft); color: #b5141a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: #0e0e0e; color: rgba(255,255,255,.7); padding: 40px 0 28px; font-size: 14px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer .brand__name { color: #fff; }
.footer__contact { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__contact a { display: inline-flex; gap: 8px; align-items: center; color: #fff; font-weight: 600; transition: color .25s; }
.footer__contact a:hover { color: var(--red); }
.footer__contact svg { width: 17px; height: 17px; color: var(--red); }
.socials { display: flex; gap: 10px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; transition: background .25s, border-color .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--red); border-color: var(--red); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 12.5px; color: rgba(255,255,255,.45); }

/* ---------- Mobile action bar ---------- */
.mobile-bar { display: none; }

/* ---------- Inner pages ---------- */
.page-hero { padding: 116px 0 32px; background: var(--warm); }
.page-hero h1 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 800; margin: 12px 0 12px; }
.page-hero h1 em { font-style: normal; color: var(--red); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; }
.chip { padding: 10px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 14px; background: #fff; transition: all .25s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; grid-column: 1 / -1; }

.detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; border-radius: var(--radius); overflow: hidden; height: 520px; margin-bottom: 40px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery img:first-child { grid-row: span 2; }
.detail h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; }
.detail__price { font-size: 30px; font-weight: 800; color: var(--red); margin: 10px 0 6px; }
.detail__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 28px 0; }
.detail__facts div { background: var(--gray); border-radius: 16px; padding: 16px; }
.detail__facts strong { display: block; font-size: 20px; }
.detail__facts span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.detail p { color: #444; }
.sidebar { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.sidebar__agent { display: flex; gap: 14px; align-items: center; margin-bottom: 20px; }
.sidebar__agent img { width: 62px; height: 62px; border-radius: 50%; object-fit: cover; object-position: top; }
.sidebar form { display: grid; gap: 10px; }
.sidebar input, .sidebar textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--gray); outline: none; transition: border-color .25s, background .25s;
}
.sidebar input:focus, .sidebar textarea:focus { border-color: var(--red); background: #fff; }
.sidebar .btn { width: 100%; }
.breadcrumb { font-size: 13.5px; color: var(--muted); }
.breadcrumb a:hover { color: var(--red); }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  /* No auto-scroll: the strip becomes swipeable instead */
  .testimonials { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Contact page ---------- */
.contact-hero {
  padding: 140px 0 64px; color: #fff;
  background:
    radial-gradient(circle at 78% 20%, rgba(215, 25, 32, .28), transparent 55%),
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px) 0 0 / 56px 56px,
    #111;
}
.crumbs { display: flex; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 18px; color: rgba(255,255,255,.55); }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--red); }
.contact-hero h1 { font-size: clamp(38px, 5.4vw, 68px); font-weight: 800; letter-spacing: -.03em; margin: 14px 0 16px; }
.contact-hero h1 em { font-family: var(--font-display); font-style: italic; font-weight: 700; color: #ff3b42; }
.contact-hero p { max-width: 52ch; color: rgba(255,255,255,.78); font-size: 17px; margin: 0; }

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.contact-form { box-shadow: var(--shadow); }
.contact-form .lead-form__title { font-size: 24px; }
.contact-side { display: grid; gap: 14px; }
.contact-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px;
  box-shadow: var(--shadow-sm); transition: border-color .25s, transform .25s var(--ease);
}
a.contact-card:hover { border-color: var(--red); transform: translateY(-3px); }
.contact-card__label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 6px; }
.contact-card__value { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; word-break: break-word; }
.contact-card__text { color: var(--charcoal); font-weight: 600; line-height: 1.6; }
.contact-card--agent { text-align: center; padding: 26px 22px; }
.contact-card--agent img {
  width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: center; margin: 0 auto 12px;
  border: 3px solid var(--red); background: radial-gradient(circle at 50% 30%, #fbe9ea, #f1d4d6);
}
.contact-card--agent strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.contact-card--agent span { display: block; margin-top: 4px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

.contact-talk { text-align: center; }
.contact-talk .eyebrow { justify-content: center; }
.contact-talk .lead { margin-inline: auto; }
.contact-talk__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .about, .media-grid { grid-template-columns: 1fr; gap: 28px; }
  .media-right { grid-template-columns: 1fr 1fr; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
@media (max-width: 900px) {
  .nav__menu, .nav .btn--red { display: none; }
  .nav__toggle { display: grid; }
  .nav.is-open { flex-wrap: wrap; padding-bottom: 18px; }
  .nav.is-open .nav__menu a::after { display: none; }
  .nav.is-open .nav__menu { display: flex; flex-direction: column; width: 100%; order: 3; gap: 2px; }
  .nav.is-open .nav__menu a { padding: 13px 14px; font-size: 16px; }
  .nav.is-open .nav-cta-mobile { display: flex; }
  .hero { min-height: 0; }
  .hero__inner { grid-template-columns: minmax(0,1fr); gap: 0; padding-top: 88px; }
  .hero__content { order: 0; }  /* phones: photo first, then text */
  .hero__agent { --agent-w: min(280px, 72vw); margin-bottom: 16px; }
  .hero__agent img { max-height: 30vh; }
  .hero__text { font-size: 16px; }
  /* Small rating chip pinned to the photo's right edge */
  .hero__badge {
    left: auto; right: calc(50% - var(--agent-w) / 2 - 34px); top: 4%; bottom: auto;
    gap: 6px; padding: 5px 9px 5px 5px; border-radius: 10px;
  }
  .hero__badge .dot { width: 22px; height: 22px; border-radius: 7px; }
  .hero__badge .dot svg { width: 12px; height: 12px; }
  .hero__badge strong { font-size: 13px; }
  .hero__badge span { font-size: 9px; }
  .hero__name { bottom: 6%; padding: 8px 16px 7px; }
  .hero__name strong { font-size: 19px; }
  .hero__name span { font-size: 9.5px; letter-spacing: .12em; }
  .hero__content { padding-bottom: 24px; }
  .hero__curve { height: 230px; border-radius: 36px 36px 0 0; }
  .search__form { grid-template-columns: 1fr; }
  .search__submit { padding-block: 16px; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-3 .card { flex-direction: row; }
  .cards-3 .card__media { aspect-ratio: auto; width: 38%; flex-shrink: 0; }
  .cards-3 .card__icon { display: none; }
  .cta__grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 14px; }
  /* Phones: agent first (compact), then the form, then phone / email / WhatsApp / brokerage */
  .contact-side { display: contents; }
  .contact-card--agent { order: -1; display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; text-align: left; padding: 16px 18px; }
  .contact-card--agent img { grid-row: span 2; width: 76px; height: 76px; margin: 0; }
  .contact-card--agent strong { font-size: 21px; align-self: end; }
  .contact-card--agent span { align-self: start; margin-top: 2px; }
  .contact-form { margin-bottom: 18px; }
  .contact-hero { padding: 116px 0 44px; }
  .lead-form { padding: 22px 18px 20px; }
  .section { padding: 48px 0; }
  .cta { padding: 56px 0; }
  .gallery { height: 360px; grid-template-columns: 1fr; grid-template-rows: 1fr; }
  .gallery img:not(:first-child) { display: none; }
  .detail__facts { grid-template-columns: repeat(2, 1fr); }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90;
    padding: 8px; border-radius: 999px; background: rgba(255,255,255,.88);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 40px rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.8);
  }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px; border-radius: 999px; font-weight: 800; font-size: 15px; }
  .mobile-bar svg { width: 19px; height: 19px; }
  .mobile-bar .call { background: var(--red); color: #fff; }
  .mobile-bar .wa { background: var(--ink); color: #fff; }
  body { padding-bottom: 84px; }
}
.nav-cta-mobile { display: none; width: 100%; order: 4; margin-top: 6px; }
.nav-cta-mobile .btn { width: 100%; }
@media (max-width: 600px) {
  .listing-grid, .media-right { grid-template-columns: 1fr; }
  .lead-form__grid { grid-template-columns: 1fr; }
  .testimonial { width: min(300px, 82vw); padding: 26px 22px 22px; }
  .video-card .card__media { aspect-ratio: 16 / 10; }
  .cards-3 .card { flex-direction: column; }
  .cards-3 .card__media { width: 100%; aspect-ratio: 16 / 9; }
  .about__stats { gap: 22px; }
  .hero__actions .btn { flex: 1 1 auto; padding-inline: 20px; }
  .search__tabs { margin-left: 4px; }
  .brand__sub { display: none; }
  .nav .brand__logo { height: 34px; }
  .nav .brand__name { font-size: 16px; }
  .footer__top { flex-direction: column; align-items: flex-start; }
}
