/* Action Realty McNairy — site styles */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #8fa952; text-decoration: none; transition: color .15s ease; }
a:hover { color: #6e8540; }
h1, h2, h3, h4 { font-family: "Open Sans", Helvetica, Arial, sans-serif; font-weight: 700; color: #333; margin: 0 0 .6em; line-height: 1.2; }
h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }
.wrap { max-width: 1170px; margin: 0 auto; padding: 0 20px; }
.wrap-wide { max-width: 1260px; margin: 0 auto; padding: 0 20px; }

/* ============ HEADER / NAV ============ */
.site-header {
  background: #fff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 0;
  gap: 36px;
}
.nav-left, .nav-right {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
}
.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }
.nav-left a, .nav-right a {
  color: #555;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-left a:hover, .nav-right a:hover,
.nav-left a.active, .nav-right a.active {
  color: #8fa952;
  border-bottom-color: #8fa952;
}
.brand { flex: 0 0 auto; }
.brand img { max-height: 70px; width: auto; }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #444;
  margin: 5px 0;
  border-radius: 2px;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  min-height: 540px;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
}
.hero .wrap { position: relative; z-index: 1; padding: 80px 20px; width: 100%; }
.hero h1 {
  color: #fff;
  font-size: 2.8rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
.hero p.lead {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 30px;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.hero-search {
  background: rgba(255,255,255,.92);
  padding: 24px;
  border-radius: 6px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

/* ============ SECTION BANDS ============ */
.band {
  padding: 70px 0;
  text-align: center;
}
.band-green {
  background: #8fa952;
  color: #fff;
}
.band-green h1, .band-green h2, .band-green h3 { color: #fff; }
.band-green a:not(.btn) { color: #fff; text-decoration: underline; }
.band-brown {
  background: #36291c;
  color: #fff;
}
.band-brown-light {
  background: #372a1c;
  color: #fff;
}
.band-brown h1, .band-brown h2, .band-brown h3,
.band-brown-light h1, .band-brown-light h2, .band-brown-light h3 { color: #fff; }
.band h1 { font-size: 2.4rem; margin-bottom: 30px; text-transform: uppercase; }
.band h2 { font-size: 2rem; margin-bottom: 20px; }

.band-parallax {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  color: #fff;
  padding: 80px 0;
}
.band-parallax::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
}
.band-parallax .wrap { position: relative; z-index: 1; }
.band-parallax h2, .band-parallax h3, .band-parallax p { color: #fff; }

/* Two-column row */
.split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: center;
  text-align: left;
}
.split.split-right { grid-template-columns: 1fr 2fr; }
.split-copy h2 { color: #fff; font-size: 2rem; }
.split-copy .actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 28px;
  background: #8fa952;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 3px;
  border: 2px solid #8fa952;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
  text-decoration: none;
}
.btn:hover { background: #6e8540; border-color: #6e8540; }
.btn-outline {
  background: transparent;
  color: #fff !important;
  border-color: #fff;
}
.btn-outline:hover { background: #fff; color: #36291c !important; border-color: #fff; }
.btn-dark {
  background: #36291c;
  border-color: #36291c;
  color: #fff !important;
}
.btn-dark:hover { background: #1f180f; border-color: #1f180f; }
.btn-lg { padding: 16px 34px; font-size: 15px; }

/* ============ CONTACT BAND (#contactBrooke) ============ */
.contact-band {
  background: #372a1c;
  color: #fff;
  padding: 36px 0;
  text-align: center;
}
.contact-band h2 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.contact-band p { margin: 4px 0; font-size: 1rem; }
.contact-band a { color: #fff; }

/* ============ BROWSE BY CITY ============ */
.cities {
  padding: 50px 0;
  background: #36291c;
  color: #fff;
  text-align: center;
}
.cities h2 {
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 30px;
  font-size: 1.8rem;
}
.city-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
  max-width: 900px;
  margin: 0 auto;
}
.city-grid a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 2px;
}
.city-grid a:hover { color: #8fa952; border-bottom-color: #8fa952; }

/* ============ FOOTER ============ */
.site-footer {
  background: #8fa952;
  color: #fff;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.footer-grid h3 {
  color: #fff;
  text-transform: uppercase;
  font-size: 1.4rem;
  letter-spacing: .04em;
  margin-bottom: 20px;
}
.contact-form { display: grid; gap: 12px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(255,255,255,.92);
  color: #333;
  border-radius: 3px;
  font: inherit;
  font-size: 15px;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .btn { justify-self: start; background: #36291c; border-color: #36291c; }
.contact-form .btn:hover { background: #1f180f; border-color: #1f180f; }
.form-message {
  padding: 12px 14px;
  border-radius: 3px;
  margin-bottom: 8px;
  font-weight: 600;
}
.form-message.ok { background: rgba(255,255,255,.95); color: #2c5d18; }
.form-message.err { background: #b95151; color: #fff; }
.footer-info { text-align: left; }
.footer-info img.footer-logo { max-height: 110px; margin-bottom: 16px; }
.footer-info p { margin: 4px 0; }
.footer-info a { color: #fff; }
.footer-info .socials { margin: 14px 0 18px; display: flex; gap: 10px; }
.footer-info .socials img { height: 26px; width: 26px; }
.footer-credit {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.25);
  font-size: 13px;
  color: rgba(255,255,255,.85);
}
.footer-credit a { color: #fff; text-decoration: underline; }

/* ============ TEAM PAGE ============ */
.page-title {
  padding: 60px 0 20px;
  text-align: center;
  border-bottom: 1px solid #efefef;
}
.page-title h1 {
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 2.4rem;
}
.team-list {
  padding: 40px 0 60px;
}
.team-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 35px;
  align-items: start;
  background: #fff;
  border-top: 1px solid #dfdcdb;
  border-bottom: 1px solid #dfdcdb;
  padding: 30px 15px;
  margin: 25px 0;
}
.team-photo img {
  width: 100%;
  max-width: 320px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
}
.team-info h2 {
  margin-bottom: 14px;
  font-size: 1.7rem;
}
.team-info .bio p { margin-bottom: 14px; }
.team-info .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

/* ============ RELOCATING — STATS ============ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  text-align: center;
  padding: 60px 0;
}
.stat {
  padding: 24px 12px;
}
.stat .stat-icon {
  font-size: 2.5rem;
  color: #8fa952;
  margin-bottom: 12px;
  display: block;
}
.stat .stat-num {
  font-size: 2.6rem;
  font-weight: 700;
  color: #333;
  display: block;
  line-height: 1.1;
}
.stat .stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  color: #777;
  letter-spacing: .04em;
  margin-top: 6px;
  display: block;
}

/* ============ RELOCATING — CONTENT BOXES ============ */
.content-boxes { padding: 30px 0 60px; }
.content-box {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 25px;
  padding: 26px 0;
  border-bottom: 1px solid #efefef;
  align-items: start;
}
.content-box:last-child { border-bottom: 0; }
.content-box .icon-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.content-box h2 {
  font-size: 1.25rem;
  margin: 0 0 10px;
  color: #333;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.content-box ul { padding-left: 20px; margin: 0; }
.content-box li { margin: 6px 0; }

/* ============ DIVIDER ============ */
hr.divider {
  border: 0;
  height: 1px;
  background: #e6e6e6;
  margin: 30px 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .header-row { flex-wrap: wrap; }
  .nav-left, .nav-right {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0;
    background: #fff;
    border-top: 1px solid #ececec;
    padding: 10px 0;
  }
  .nav-left.open, .nav-right.open { display: flex; }
  .nav-left a, .nav-right a {
    padding: 12px 4px;
    border-bottom: 1px solid #f3f3f3;
  }
  .nav-toggle { display: block; }
  .brand { order: -1; }
  .hero { min-height: 460px; }
  .hero h1 { font-size: 2rem; }
  .split, .split.split-right { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-info { text-align: center; }
  .footer-info .socials { justify-content: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 40px 0; }
  .team-row { grid-template-columns: 1fr; gap: 20px; }
  .team-photo img { max-width: 260px; margin: 0 auto; }
  .content-box { grid-template-columns: 50px 1fr; gap: 16px; }
  .content-box .icon-circle { width: 44px; height: 44px; font-size: 1.2rem; }
  .city-grid { gap: 10px 16px; }
  .band-parallax { background-attachment: scroll; }
}
@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
}
