/* ============================================================
   Adler Real State Version 7 Multi — homepage
   Home-only styles. Enqueued in includes/class.php on is_home()/is_front_page().
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap");

/* ---------- HERO ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(
      ellipse 900px 560px at 82% -10%,
      rgba(138, 106, 63, 0.22),
      transparent 60%
    ),
    linear-gradient(155deg, #1c1a13 0%, #16140f 55%, #100e0a 100%);
  padding: 96px 32px 84px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.02) 0px,
    rgba(255, 255, 255, 0.02) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  z-index: 0;
}
.hero .eyebrow {
  color: var(--brass-light);
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--paper);
  font-size: clamp(46px, 8vw, 92px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.02;
}
.hero-sub {
  margin-top: 20px;
  font-size: 14px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b9ae98;
}
.hero-sub b {
  color: var(--brass-light);
  font-weight: 500;
}
.search {
  margin: 44px auto 0;
  /* max-width: 520px; */
  display: flex;
  /* background: rgba(251, 249, 244, 0.96); */
  /* border-radius: 2px; */
  /* overflow: hidden; */
  justify-content: center;
}

/* .search input {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 16px 18px;
  font-family: "Jost", sans-serif;
  font-size: 14px;
  color: var(--charcoal);
  outline: none;
}
.search button {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0 26px;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}
.search button:hover {
  background: var(--brass);
} */

@media screen and (max-width: 992px) {
  .rch-search-listing-form,
  .property-search-form {
    width: 100%;
  }
}

/* ---------- STATS ---------- */
.stats {
  background: var(--stone);
  padding: 56px 32px;
}
.stats-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: center;
}
.stat-num {
  font-size: clamp(36px, 4.4vw, 52px);
  color: var(--paper);
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3a3122;
}
.stat-sub {
  margin-top: 3px;
  font-size: 11.5px;
  color: #5b5142;
}
@media (max-width: 720px) {
  .stats-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- FEATURE BAND ---------- */
.feature-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.feature {
  position: relative;
  aspect-ratio: 4/5;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 30px;
}
.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(15, 13, 9, 0.82) 0%,
    rgba(15, 13, 9, 0.28) 55%,
    rgba(15, 13, 9, 0.42) 100%
  );
}
.feature-label {
  position: relative;
  color: var(--paper);
  font-size: clamp(19px, 2vw, 24px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.25;
}
@media (max-width: 720px) {
  .feature-band {
    grid-template-columns: 1fr;
  }
  .feature {
    aspect-ratio: 16/10;
  }
}

/* ---------- SECTION HEADERS ---------- */
.section {
  padding: 96px 32px;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 20px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink);
}
.section-head .eyebrow {
  color: var(--brass);
  margin-bottom: 14px;
}
.section-head p {
  margin-top: 18px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal-soft);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- ABOUT / BIO ---------- */
.about {
  background: var(--parchment);
}
.bio {
  max-width: 1180px;
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  background: var(--paper);
  border: 1px solid var(--line);
}
.bio-photo {
  background: #2a271f;
}
.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.bio-text {
  padding: 56px;
}
.bio-kicker {
  color: var(--brass);
}
.bio-text h3 {
  margin-top: 10px;
  font-size: clamp(30px, 3.4vw, 40px);
  letter-spacing: 0.02em;
  color: var(--ink);
}
.bio-role {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--charcoal-soft);
}
.bio-text p.copy {
  margin-top: 22px;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--charcoal-soft);
  max-width: 52ch;
}
.bio-contact {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.bio-contact b {
  color: var(--ink);
  font-weight: 500;
}
.bio-cta {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 30px;
  background: var(--ink);
  color: var(--paper);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.bio-cta:hover {
  background: var(--brass);
}
@media (max-width: 820px) {
  .bio {
    grid-template-columns: 1fr;
  }
  .bio-photo {
    aspect-ratio: 4/3;
  }
  .bio-text {
    padding: 36px 28px;
  }
}

/* ---------- QUOTE ---------- */
.quote-band {
  background: var(--ink);
  padding: 100px 32px;
  text-align: center;
}
.quote-mark {
  font-family: "Cormorant", serif;
  font-size: 64px;
  color: var(--brass-light);
  line-height: 1;
  margin-bottom: 8px;
}
.quote-band blockquote {
  max-width: 820px;
  margin: 0 auto;
  font-family: "Cormorant", serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.5;
  color: var(--paper);
}
.quote-cite {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
}

/* ---------- SOLD RAIL ---------- */
.sold {
  background: var(--paper);
}
.rail {
  margin-top: 48px;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-bottom: 14px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar {
  height: 8px;
}
.rail::-webkit-scrollbar-thumb {
  background: var(--stone);
  border-radius: 8px;
}
.rail::-webkit-scrollbar-track {
  background: var(--parchment);
}
.card {
  position: relative;
  flex: 0 0 300px;
  aspect-ratio: 3/4;
  scroll-snap-align: start;
  overflow: hidden;
  background: #2a271f;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover img {
  transform: scale(1.06);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(15, 13, 9, 0.9) 0%,
    rgba(15, 13, 9, 0.05) 46%,
    transparent 60%
  );
}
.card-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--brick);
  color: var(--paper);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 2px;
}
.card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px;
  color: var(--paper);
}
.card-info .addr {
  font-family: "Cormorant", serif;
  font-size: 19px;
  letter-spacing: 0.02em;
  line-height: 1.25;
}
.card-info .meta {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #d8d0bd;
}
.card-info .price {
  margin-top: 6px;
  font-size: 15px;
  color: var(--brass-light);
}
/* Rechat listings shortcode mount inside the sold section */
.rail-mount {
  margin-top: 48px;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  background: var(--parchment);
}

.testimonial-card {
  background: var(--line);
}

/* ---------- CTA / CONTACT ---------- */
.cta {
  background: linear-gradient(155deg, #1c1a13 0%, #16140f 60%, #100e0a 100%);
  padding: 100px 32px;
  color: var(--paper);
}
.cta-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.cta-left .eyebrow {
  color: var(--brass-light);
  margin-bottom: 18px;
}
.cta-left h2 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: 0.02em;
}
.cta-left p {
  margin-top: 20px;
  font-size: 15px;
  line-height: 1.8;
  color: #c6bda8;
  max-width: 44ch;
}
.cta-buttons {
  margin-top: 32px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cta-buttons a {
  padding: 14px 26px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 2px;
}
.btn-solid {
  background: var(--brass-light);
  color: var(--ink) !important;
}
.btn-solid:hover {
  background: #dcc9a0;
}
.btn-line {
  border: 1px solid #6b6250;
  color: var(--paper);
}
.btn-line:hover {
  border-color: var(--brass-light);
  color: var(--brass-light);
}
.cta-info {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark);
  font-size: 14px;
  line-height: 2;
  color: #c6bda8;
  display: flex;
  flex-direction: column;
}
.cta-info b {
  color: var(--paper);
  font-weight: 500;
  font-size: var(--text-2xl);
}

.form {
  background: rgba(251, 249, 244, 0.04);
  border: 1px solid var(--line-dark);
  padding: 36px;
}

.form form {
  gap: 14px;
  display: grid;
}

.form form label {
  display: none;
}

.form h3 {
  color: var(--paper);
  font-size: 24px;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
.form input,
.form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line-dark);
  color: var(--paper);
  padding: 13px 14px;
  font-family: "Jost", sans-serif;
  font-size: 13.5px;
  outline: none;
}
.form input::placeholder,
.form textarea::placeholder {
  color: #7d7460;
}
.form input:focus,
.form textarea:focus {
  border-color: var(--brass-light);
}
.form textarea {
  resize: vertical;
  min-height: 90px;
}
.form button {
  margin-top: 6px;
  width: 100%;
  padding: 15px;
  background: var(--brass-light);
  color: var(--ink);
  border: 0;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s ease;
}
.form button:hover {
  background: #dcc9a0;
}
.form-note {
  margin-top: 12px;
  font-size: 12px;
  color: var(--brass-light);
  text-align: center;
  min-height: 14px;
}
@media (max-width: 900px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}
@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* the plugin forces testimonial columns to >= 400px (!important), wider than a
   phone: columns may shrink to the screen */
.testimonials .testimonials__list {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)) !important;
}
.testimonials .testimonial-card {
  min-width: 0;
}

/* hero title on one line (desktop); wraps naturally on phones */
.hero-inner {
  max-width: 1180px;
}
.hero .search {
  max-width: 900px;
}
@media (min-width: 721px) {
  .hero h1 {
    font-size: clamp(40px, 6.4vw, 88px);
    white-space: nowrap;
  }
}
