/* ============================================================
   STRATTONPROPS.COM — Main Stylesheet
   Palette (flipped): White dominant · Navy accent · Gold signature
   Fonts: Montserrat (display) · Mulish (body) · Pinyon Script (accent)
   ============================================================ */

:root {
  --navy:     #001532;
  --navy2:    #0A2147;
  --gold:     #C19A5B;
  --gold-soft:#E4D2AE;
  --cream:    #F6F1E7;
  --white:    #FFFFFF;
  --ink:      #0E1A2B;
  --ink2:     #4A5666;
  --ink3:     #939DAA;
  --line:     #E0E3E8;
  --bg:       #F4F6F9;

  --disp:   'Montserrat', sans-serif;
  --body:   'Mulish', sans-serif;
  --script: 'Pinyon Script', cursive;

  --max: 1200px;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(0,21,50,.10);
  --shadow-lg: 0 16px 48px rgba(0,21,50,.16);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--ink); background: var(--white); line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── UTILITY ── */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-block;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all .2s;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn-gold    { background: var(--gold); color: var(--white); }
.btn-navy    { background: var(--navy); color: var(--white); }
.btn-outline { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); opacity: 1; }

.section-label {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.section-label::before { content:''; width:22px; height:3px; background:var(--gold); flex-shrink:0; }

h1, h2, h3 { font-family: var(--disp); color: var(--navy); line-height: 1.1; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex;
  align-items: center;
  font-family: var(--disp);
  font-weight: 900;
  font-size: 17px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
}
.nav-logo span { color: var(--gold); }
.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
}
.nav-links { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-links a {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink2);
  transition: color .2s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 10px 22px;
  border-radius: var(--radius);
  transition: opacity .2s;
}
.nav-cta:hover { opacity: .85; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.nav-hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; }

/* ── HERO ── */
.hero {
  padding-top: 68px;
  position: relative;
  height: 92vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  gap: 28px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,21,50,.45) 0%,
    rgba(0,21,50,.55) 60%,
    rgba(0,21,50,.75) 100%
  );
}
.hero-text {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
}
.hero-eyebrow {
  font-family: var(--disp);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
  opacity: .9;
}
.hero h1 {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: var(--white);
  margin-bottom: 10px;
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 500;
}

/* ── SEARCH CARD ── */
.search-card {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.38), 0 4px 16px rgba(0,0,0,.18);
  width: calc(100% - 48px);
  max-width: 860px;
  overflow: hidden;
}

/* tabs */
.search-tabs {
  display: flex;
  align-items: center;
  padding: 0 20px;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}
.search-tab-group { display: flex; }
.search-tab {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink3);
  padding: 14px 20px;
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
}
.search-tab.active { color: var(--navy); border-bottom-color: var(--gold); }
.search-tab:hover { color: var(--navy); }

/* main bar */
.search-bar {
  display: flex;
  align-items: center;
  padding: 12px 12px 12px 8px;
  background: #ffffff;
  gap: 0;
}
.search-segment {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 18px;
  border-right: 1.5px solid var(--line);
  cursor: pointer;
  border-radius: 8px;
  transition: background .15s;
  min-width: 0;
}
.search-segment:hover { background: var(--bg); }
.search-segment label {
  font-family: var(--disp);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 4px;
  cursor: pointer;
  white-space: nowrap;
}
.search-segment select,
.search-segment input {
  font-family: var(--body);
  font-size: 14px;
  color: var(--ink2);
  background: none;
  border: none;
  outline: none;
  width: 100%;
  cursor: pointer;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-segment select option { color: var(--ink); background: var(--white); }
.search-segment.input-seg {
  flex: 2;
  border-right: none;
}
.search-segment.input-seg input {
  font-size: 14px;
  color: var(--ink);
  cursor: text;
}
.search-segment.input-seg input::placeholder { color: var(--ink3); }

.search-go {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: 10px;
  width: 52px;
  height: 52px;
  margin-left: 10px;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s, transform .15s;
}
.search-go:hover { background: var(--navy2); transform: scale(1.05); }
.search-go svg { width: 20px; height: 20px; }

/* ── LISTINGS SECTION ── */
.listings-section { padding: 80px 0; background: var(--bg); }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}
.section-header h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.listing-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s;
}
.listing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.listing-img { position: relative; aspect-ratio: 4/3; background: var(--line); overflow: hidden; }
.listing-img img { width: 100%; height: 100%; object-fit: cover; }
.listing-badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--disp); font-weight: 700; font-size: 10px;
  letter-spacing: .1em; text-transform: uppercase;
  background: var(--gold); color: var(--white);
  padding: 4px 10px; border-radius: 4px;
}
.listing-body { padding: 18px 20px 16px; }
.listing-price { font-family: var(--disp); font-weight: 800; font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.listing-address { font-size: 13px; color: var(--ink2); margin-bottom: 12px; }
.listing-stats {
  display: flex; gap: 14px; font-size: 12px; color: var(--ink2);
  padding-top: 12px; border-top: 1px solid var(--line);
}
.listing-stat { display: flex; align-items: center; gap: 5px; }
.listing-stat svg { color: var(--gold); }
.listing-cta {
  display: block; text-align: center;
  font-family: var(--disp); font-weight: 700; font-size: 11px;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--navy); padding: 12px;
  border-top: 1px solid var(--line);
  transition: background .2s, color .2s;
}
.listing-cta:hover { background: var(--navy); color: var(--white); }

/* ── BUYER / SELLER SPLIT ── */
.split-section { display: grid; grid-template-columns: 1fr 1fr; }
.split-panel { padding: 80px 60px; }
.split-panel.dark { background: var(--navy); }
.split-panel.light { background: var(--white); border-left: 1px solid var(--line); }
.split-panel h2 {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: -.01em; margin-bottom: 16px;
}
.split-panel.dark h2 { color: var(--white); }
.split-panel.light h2 { color: var(--navy); }
.split-panel p { font-size: 15px; line-height: 1.75; margin-bottom: 32px; max-width: 400px; }
.split-panel.dark p { color: rgba(255,255,255,.7); }
.split-panel.light p { color: var(--ink2); }

/* ── ABOUT STRIP ── */
.about-strip { padding: 96px 0; background: var(--white); }
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-img {
  border-radius: 12px; overflow: hidden;
  aspect-ratio: 3/4; background: var(--bg);
  box-shadow: var(--shadow-lg);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-text h2 {
  font-size: clamp(26px, 3vw, 40px); font-weight: 800;
  text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 20px;
}
.about-text p { font-size: 15px; color: var(--ink2); line-height: 1.75; margin-bottom: 16px; }
.about-script { font-family: var(--disp); font-weight: 600; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 24px; }

/* ── EVALUATION CTA ── */
.eval-section { background: var(--navy); padding: 96px 0; text-align: center; }
.eval-section h2 {
  font-size: clamp(28px, 3.5vw, 48px); font-weight: 900;
  text-transform: uppercase; letter-spacing: -.01em;
  color: var(--white); margin-bottom: 16px;
}
.eval-section h2 span { color: var(--gold); }
.eval-section p { font-size: 16px; color: rgba(255,255,255,.7); max-width: 500px; margin: 0 auto 36px; line-height: 1.65; }

/* ── FOOTER ── */
.footer { background: var(--navy); border-top: 1px solid #16315E; padding: 56px 0 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .nav-logo { color: var(--white); margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.65; max-width: 280px; }
.footer-script { font-family: var(--disp); font-weight: 600; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-top: 16px; opacity: .8; }
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-img,
.footer-powerhouse-img {
  height: 40px;
  width: auto;
  display: block;
  background: var(--white);
  border-radius: 6px;
  padding: 5px 10px;
}
.footer-powerhouse { display: flex; }
.footer-col h4 {
  font-family: var(--disp); font-weight: 700; font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid #16315E; padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.35); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp .45s ease-out forwards; }
.fade-up-2 { animation: fadeUp .45s ease-out .15s both; }
.fade-up-3 { animation: fadeUp .45s ease-out .3s both; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: 1fr; }
  .split-panel { padding: 60px 32px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .search-bar { flex-wrap: wrap; padding: 12px; }
  .search-segment { flex: 1 1 40%; margin: 6px; border-right: none; border: 1px solid var(--line); border-radius: 8px; }
  .search-segment.input-seg { flex: 1 1 100%; }
  .search-go { width: 100%; margin: 6px; border-radius: 8px; height: 48px; }
}
@media (max-width: 600px) {
  .listings-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 32px; }
  .search-card { width: calc(100% - 32px); border-radius: 12px; }
}
