/*
Theme Name: Texas Homes By Moody
Theme URI: https://texashomesbymoody.com
Author: Moody Glasgow
Description: Clean, modern one-page real estate theme for Moody Glasgow, REALTOR® with Orchard Realty, Temple TX.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: texas-homes-by-moody
*/

/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
  --navy:        #2b2d5b;   /* Orchard brand navy */
  --navy-dark:   #1e2044;
  --white:       #ffffff;
  --off-white:   #f8f8f8;
  --light-gray:  #f2f2f2;
  --border:      #e5e5e5;
  --text:        #1a1a1a;
  --text-mid:    #555555;
  --text-light:  #888888;

  --font: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  --nav-h: 78px;
  --transition: 0.25s ease;
  --radius: 4px;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
  --shadow-md: 0 8px 40px rgba(0,0,0,0.12);
}

/* ==========================================
   RESET
   ========================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: var(--font); }

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4 { font-family: var(--font); line-height: 1.15; color: var(--text); }
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.015em; }
h3 { font-size: 1.4rem; font-weight: 600; }
p  { color: var(--text-mid); line-height: 1.75; }

/* ==========================================
   LAYOUT
   ========================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 100px 0;
}

.section--gray {
  background: var(--off-white);
}

/* ==========================================
   HEADER
   ========================================== */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo — matches "Orchard" dark-square style */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

.logo-box {
  width: 56px;
  height: 56px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
}

.logo-box span {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
  text-align: center;
}

.logo-text {
  margin-left: 14px;
  display: flex;
  flex-direction: column;
}

.logo-text .name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.logo-text .title {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* Desktop nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0;
}

.main-nav a {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
  padding: 8px 18px;
  transition: color var(--transition);
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--navy);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 999;
}

.mobile-nav.open { display: block; }

.mobile-nav a {
  display: block;
  padding: 16px 40px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.mobile-nav a:hover { color: var(--navy); background: var(--light-gray); }

/* ==========================================
   HERO — full-bleed image with text overlay
   ========================================== */
#hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  /* Fallback for Unsplash — user should replace with their own photo */
}

/* Light gray-white overlay matching the screenshot */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
  margin-bottom: 0;
}

.hero-subtitle-wrap {
  display: inline-block;
  background: rgba(255,255,255,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 14px 48px;
  margin-top: 28px;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
  letter-spacing: 0.02em;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn--dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.btn--dark:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(43,45,91,0.3);
}

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ==========================================
   SOCIAL STRIP (below hero, white bar)
   ========================================== */
.social-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.social-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.social-strip a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: var(--transition);
}

.social-strip a:hover {
  color: var(--navy);
  background: var(--light-gray);
}

.social-strip a i {
  font-size: 1.1rem;
}

.social-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* ==========================================
   ABOUT
   ========================================== */
#about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--light-gray);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 4rem;
}

.about-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  display: block;
}

.about-text h2 {
  margin-bottom: 24px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-divider {
  width: 40px;
  height: 3px;
  background: var(--navy);
  margin: 20px 0 32px;
}

.about-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 32px 0;
  padding: 28px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.detail-item .d-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.detail-item .d-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.detail-item .d-val a {
  color: var(--navy);
}

.detail-item .d-val a:hover { text-decoration: underline; }

/* ==========================================
   CONTACT
   ========================================== */
#contact {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  display: block;
}

.contact-info h2 { margin-bottom: 20px; }
.contact-info p { margin-bottom: 32px; font-size: 1.05rem; }

.contact-nums {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-num {
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-num i {
  width: 40px;
  height: 40px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.contact-num a {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}

.contact-num a:hover { color: var(--navy); }

/* Contact form card */
.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  margin-bottom: 6px;
}

.contact-form-card .form-subtitle {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

.form-group textarea { resize: vertical; min-height: 120px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#cf-error {
  font-size: 0.85rem;
  color: #c0392b;
  margin-top: 12px;
  display: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 24px;
}

.form-success .success-check {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.form-success h4 { margin-bottom: 10px; }
.form-success p { margin-bottom: 24px; }

/* ==========================================
   LISTINGS
   ========================================== */
#listings {
  background: var(--white);
}

.listings-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 12px;
}

.listings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.listing-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  background: var(--white);
}

.listing-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.listing-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--border);
  font-size: 2.5rem;
}

.listing-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.listing-card:hover .listing-img img { transform: scale(1.04); }

.listing-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius);
}

.listing-body { padding: 22px; }

.listing-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.listing-address {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin-bottom: 16px;
}

.listing-specs {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.listing-spec {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 500;
}

.listing-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 40px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
}

.listing-empty h3 { margin-bottom: 12px; }
.listing-empty p  { margin-bottom: 24px; }

/* ==========================================
   VIDEO
   ========================================== */
#video {
  background: var(--off-white);
}

.video-inner {
  text-align: center;
}

.video-inner .section-label { margin-bottom: 12px; }
.video-inner h2 { margin-bottom: 16px; }
.video-inner > p { max-width: 560px; margin: 0 auto 48px; font-size: 1.05rem; }

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--light-gray);
}

.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--light-gray);
  color: var(--text-light);
}

.video-placeholder i { font-size: 3rem; }
.video-placeholder p { font-size: 0.85rem; }

/* ==========================================
   MORTGAGE CALCULATOR
   ========================================== */
#mortgage {
  background: var(--white);
}

.mortgage-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.mortgage-intro .section-label { margin-bottom: 12px; }
.mortgage-intro h2 { margin-bottom: 20px; }
.mortgage-intro p  { font-size: 1.05rem; margin-bottom: 16px; }

.calc-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.calc-card h3 {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 1.2rem;
}

.calc-field {
  margin-bottom: 20px;
}

.calc-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.calc-field input,
.calc-field select {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.calc-field input:focus,
.calc-field select:focus { border-color: var(--navy); }

.input-prefix { position: relative; }
.input-prefix::before {
  content: '$';
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-weight: 500;
  pointer-events: none;
}
.input-prefix input { padding-left: 26px; }

.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.calc-result {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  margin-top: 24px;
}

.calc-result .r-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
}

.calc-result .r-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
}

.calc-result .r-period {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.calc-result .r-breakdown {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  margin-top: 20px;
  overflow: hidden;
}

.r-item {
  background: rgba(255,255,255,0.06);
  padding: 12px;
}

.r-item .ri-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 3px;
}

.r-item .ri-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.calc-note {
  font-size: 0.76rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 14px;
  font-style: italic;
}

/* ==========================================
   FOOTER
   ========================================== */
#site-footer {
  background: var(--text);
  padding: 60px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 32px;
}

.footer-brand .fb-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand .logo-box-sm {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-brand .logo-box-sm span {
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
}

.footer-brand .fb-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.footer-brand .fb-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

.footer-brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  max-width: 280px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--navy);
  color: var(--white);
}

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}

.footer-col a:hover { color: var(--white); }

.footer-col .fc-item { margin-bottom: 12px; }
.footer-col .fc-item .fci-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 2px;
}
.footer-col .fc-item a,
.footer-col .fc-item span {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logos {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logos img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.3;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}

.footer-copy a {
  color: rgba(255,255,255,0.45);
  text-decoration: underline;
}

.footer-copy a:hover { color: rgba(255,255,255,0.8); }

/* ==========================================
   BACK TO TOP
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  z-index: 500;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
}

/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .about-grid        { grid-template-columns: 1fr; max-width: 600px; margin: 0 auto; }
  .about-photo       { display: none; }
  .contact-grid      { grid-template-columns: 1fr; }
  .listings-grid     { grid-template-columns: 1fr 1fr; }
  .mortgage-inner    { grid-template-columns: 1fr; }
  .footer-top        { grid-template-columns: 1fr 1fr; }
  .footer-brand      { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 24px; }
  .section { padding: 72px 0; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .listings-grid { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; }
  .calc-card { padding: 28px 20px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .logo-text { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .about-details { grid-template-columns: 1fr; }
}
