/* ============ Additional styles for multi-page site ============ */

/* HERO SEARCH BAR (homepage) */
.hero-search {
  margin-top: 40px;
  max-width: 900px;
}
.search-row {
  display: grid;
  grid-template-columns: 140px 1fr 140px 160px auto;
  gap: 10px;
  background: rgba(246, 242, 236, 0.95);
  padding: 16px;
  backdrop-filter: blur(12px);
}
.search-row select,
.search-row input {
  padding: 14px 16px;
  border: 1px solid #d9cfbf;
  background: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #14110f;
  width: 100%;
}
.search-row select:focus,
.search-row input:focus { outline: none; border-color: #7d5a22; }
.search-row button {
  padding: 14px 34px;
  background: #14110f;
  color: #f6f2ec;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background .3s ease;
}
.search-row button:hover { background: #7d5a22; }
.search-quick {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 16px;
  font-size: 12px;
  color: #ede4d2;
  letter-spacing: 0.06em;
}
.search-quick span { opacity: 0.75; }
.search-quick a {
  color: #e6cf9e;
  border-bottom: 1px solid rgba(230, 207, 158, 0.4);
  padding-bottom: 2px;
  transition: color .3s ease;
}
.search-quick a:hover { color: #fff; border-color: #fff; }

@media (max-width: 900px) {
  .search-row { grid-template-columns: 1fr; }
}

/* PAGE HEADER (used on all subpages) */
.page-header {
  padding: 180px 0 80px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.page-header .overline { margin-bottom: 20px; }
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.page-header h1 em { font-style: italic; color: var(--gold); }
.page-header p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto;
}

/* CTA BAND */
.cta-band {
  background: var(--ink);
  color: var(--ivory);
  padding: 100px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.05;
  margin-bottom: 34px;
}
.cta-band h2 em { font-style: italic; color: #e6cf9e; }
.cta-band-actions {
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* TEAM (About page) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
  margin-top: 30px;
}
.team-member {
  text-align: center;
}
.team-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--paper);
  margin-bottom: 30px;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member h3 {
  font-size: 40px;
  margin-bottom: 8px;
}
.team-member .title {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.team-member .bio {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 auto 24px;
  max-width: 460px;
}
@media (max-width: 720px) {
  .team-grid { grid-template-columns: 1fr; gap: 60px; }
}

/* LISTINGS SEARCH PAGE */
.listings-toolbar {
  background: var(--paper);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 68px;
  z-index: 50;
}
.toolbar-row {
  display: grid;
  grid-template-columns: 160px 1fr 140px 140px 140px 140px auto;
  gap: 10px;
  align-items: center;
}
.toolbar-row select, .toolbar-row input {
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--ivory);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: var(--ink);
}
.toolbar-row button {
  padding: 12px 24px;
  background: var(--ink);
  color: var(--ivory);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: none; cursor: pointer;
}
.toolbar-row button:hover { background: var(--gold); }
.listings-status {
  padding: 12px 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.08em;
}
@media (max-width: 960px) {
  .toolbar-row { grid-template-columns: 1fr 1fr; }
}

.listings-main {
  padding: 60px 0 120px;
  background: var(--ivory);
}

/* SINGLE LISTING */
.listing-detail {
  padding: 120px 0 100px;
  background: var(--ivory);
}
.listing-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
  height: 560px;
  margin-bottom: 60px;
}
.listing-gallery img {
  width: 100%; height: 100%; object-fit: cover;
}
.listing-gallery img:first-child {
  grid-row: 1 / span 2;
}
.listing-body {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}
.listing-info h1 {
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  margin-bottom: 8px;
}
.listing-info .addr {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 30px;
}
.listing-info .price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  color: var(--gold);
  margin-bottom: 30px;
}
.listing-facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}
.listing-facts div { text-align: left; }
.listing-facts .n {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  color: var(--ink);
}
.listing-facts .l {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}
.listing-desc {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.75;
}
.listing-cta {
  background: var(--paper);
  padding: 40px;
  position: sticky;
  top: 100px;
  height: fit-content;
}
.listing-cta h3 { font-size: 26px; margin-bottom: 20px; }
.listing-cta input, .listing-cta textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); background: var(--ivory);
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--ink); margin-bottom: 10px;
}
.listing-cta textarea { min-height: 80px; }
.listing-cta button {
  width: 100%; padding: 14px;
  background: var(--ink); color: var(--ivory);
  border: none; font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; cursor: pointer;
}
.listing-cta button:hover { background: var(--gold); }
@media (max-width: 960px) {
  .listing-body { grid-template-columns: 1fr; }
  .listing-gallery { grid-template-columns: 1fr; height: auto; }
  .listing-gallery img { height: 300px; }
  .listing-gallery img:first-child { grid-row: auto; }
  .listing-facts { grid-template-columns: repeat(2, 1fr); }
}

/* NEIGHBORHOODS FULL PAGE */
.neigh-full {
  padding: 100px 0;
  background: var(--ivory);
}
.neigh-full .neigh-grid {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 960px) { .neigh-full .neigh-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .neigh-full .neigh-grid { grid-template-columns: 1fr; } }

/* VALUATION EDUCATIONAL */
.val-info {
  background: var(--ivory);
  padding: 100px 0;
}
.val-info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 40px;
}
.val-info-card {
  padding: 30px;
  background: var(--paper);
  border-top: 3px solid var(--gold);
}
.val-info-card h3 { font-size: 24px; margin-bottom: 12px; }
.val-info-card p { color: var(--ink-soft); font-size: 14px; }
@media (max-width: 900px) { .val-info-grid { grid-template-columns: 1fr; } }

/* TESTIMONIALS PAGE */
.test-full {
  padding: 100px 0;
  background: var(--ivory);
}
.test-full .test-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 50px;
}
.test-full .test { color: var(--ink); }
.test-full .quote { color: var(--ink-soft); }
.test-full .quote::before { color: var(--gold); }
.test-full .author { color: var(--gold); }
@media (max-width: 720px) { .test-full .test-grid { grid-template-columns: 1fr; } }

/* CONTACT PAGE */
.contact-full {
  padding: 100px 0;
  background: var(--ivory);
}
.map-embed {
  height: 400px;
  background: var(--paper);
  margin-top: 60px;
  border: 1px solid var(--line);
}
