/* ============================================================
   WHITETAIL LEGACY PROPERTIES — Main Stylesheet
   Customize: search for CUSTOMIZE comments throughout
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --pine:       #1a2818;
  --bark:       #2d1f0e;
  --bark-light: #3d2a12;
  --moss:       #3d5c2a;
  --sage:       #6b8f52;
  --amber:      #c8822a;
  --gold:       #e8a94a;
  --cream:      #f5efe0;
  --parchment:  #ede0c4;
  --stone:      #8a8070;
  --charcoal:   #1c1c1a;
  --offwhite:   #faf7f0;
  --nav-h:      70px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Barlow', sans-serif; background: var(--charcoal); color: var(--cream); overflow-x: hidden; }

/* ── UTILITY ── */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--gold); }
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.btn-primary {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--amber);
  color: var(--bark);
  border: none;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold); }
.btn-outline {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(245,239,224,0.35);
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ── NAVIGATION ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: var(--nav-h);
  background: rgba(26,40,24,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200,130,42,0.2);
  transition: box-shadow 0.3s;
}
#main-nav.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.4); }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 700; color: var(--cream); line-height: 1.1; }
.logo-sub { font-family: 'Barlow Condensed', sans-serif; font-size: 0.62rem; letter-spacing: 0.25em; color: var(--gold); font-weight: 600; text-transform: uppercase; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-cta {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  background: var(--amber);
  color: var(--bark);
  border: none;
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.nav-cta:hover { background: var(--gold); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-hamburger span { display: block; width: 24px; height: 2px; background: var(--cream); transition: all 0.3s; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0d1a0c 0%, #1a2818 40%, #2d4020 70%, #0d1a0c 100%);
}
.hero-texture {
  position: absolute; inset: 0; opacity: 0.04;
  background-image: repeating-linear-gradient(45deg,#fff 0,#fff 1px,transparent 0,transparent 50%);
  background-size: 8px 8px;
}
.hero-img {
  position: absolute; right: 0; top: 0; bottom: 0; width: 60%;
  /* CUSTOMIZE: Replace with a real hero image */
  background: url('images/hero.jpg') center/cover no-repeat, linear-gradient(135deg,#2d4020,#1a2818);
  opacity: 0.35;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(13,26,12,0.92) 0%, rgba(13,26,12,0.5) 55%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; padding: 4rem 4rem 4rem; max-width: 680px; }
.hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold); }
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-desc {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245,239,224,0.72);
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  position: absolute;
  bottom: 3rem; right: 4rem;
  display: flex; gap: 3rem;
  z-index: 2;
}
.stat { text-align: center; }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--gold); display: block; }
.stat-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,239,224,0.45); font-weight: 600; }
.hero-scroll {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.hero-scroll span { font-family: 'Barlow Condensed', sans-serif; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(245,239,224,0.35); }
.scroll-line {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: top; }
}

/* ── TYPES BAR ── */
.types-bar {
  background: var(--bark);
  padding: 1.1rem 3rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  border-bottom: 2px solid var(--amber);
  flex-wrap: wrap;
}
.type-badge {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(245,239,224,0.38);
  display: flex; align-items: center; gap: 6px;
}
.type-badge.active { color: var(--gold); }
.type-badge svg { width: 15px; height: 15px; fill: currentColor; }

/* ── SEARCH ── */
#search { background: var(--pine); padding: 4rem 3rem; }
.search-box {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,130,42,0.25);
  padding: 2rem;
  margin-top: 2rem;
}
.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  align-items: end;
}
.field-group { display: flex; flex-direction: column; gap: 0.4rem; }
.field-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.field-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(138,128,112,0.3);
  color: var(--cream);
  padding: 0.6rem 0.9rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
}
.field-input:focus { border-color: var(--amber); }
select.field-input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%238a8070'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2rem; }
select.field-input option { background: #2d1f0e; color: var(--cream); }
.search-btn {
  background: var(--amber);
  color: var(--bark);
  border: none;
  padding: 0.6rem 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  height: fit-content;
}
.search-btn:hover { background: var(--gold); }

/* ── LISTINGS ── */
#listings { background: var(--charcoal); padding: 4rem 3rem; }
.listings-count { font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; letter-spacing: 0.1em; color: var(--stone); margin-top: 0.5rem; }
.listings-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2px; margin-top: 2rem; }
.listing-card { position: relative; overflow: hidden; cursor: pointer; background: var(--pine); transition: transform 0.2s; }
.listing-card:hover { transform: translateY(-2px); }
.listing-img-wrap { overflow: hidden; position: relative; height: 260px; }
.listing-img-bg {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: filter 0.4s, transform 0.4s;
}
.listing-card:hover .listing-img-bg { filter: brightness(1.1); transform: scale(1.04); }
.listing-badge {
  position: absolute; top: 1rem; left: 1rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.62rem; letter-spacing: 0.15em; text-transform: uppercase;
  font-weight: 700; padding: 0.28rem 0.7rem;
  background: var(--amber); color: var(--bark);
  z-index: 1;
}
.listing-badge.featured { background: var(--gold); }
.listing-body { padding: 1.25rem 1.25rem 1.5rem; background: rgba(26,40,24,0.97); border-top: 2px solid var(--moss); }
.listing-price { font-family: 'Playfair Display', serif; font-size: 1.45rem; font-weight: 700; color: var(--gold); margin-bottom: 0.2rem; }
.listing-name { font-family: 'Barlow Condensed', sans-serif; font-size: 0.95rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream); margin-bottom: 0.2rem; }
.listing-loc { font-size: 0.78rem; color: var(--stone); margin-bottom: 0.65rem; display: flex; align-items: center; gap: 4px; }
.listing-desc { font-size: 0.82rem; color: rgba(245,239,224,0.5); margin-bottom: 0.75rem; line-height: 1.55; }
.listing-attrs { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.listing-attr { font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(245,239,224,0.5); display: flex; align-items: center; gap: 3px; font-weight: 600; }
.listing-attr-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.listing-more { font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-top: 1rem; display: inline-block; font-weight: 600; }
.no-results { grid-column: 1/-1; padding: 3rem; text-align: center; font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.1em; color: var(--stone); }

/* ── PHOTO COUNT BADGE ── */
.photo-count {
  position: absolute; bottom: 0.75rem; right: 0.75rem;
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; letter-spacing: 0.08em; font-weight: 600;
  background: rgba(0,0,0,0.55); color: var(--cream);
  padding: 0.25rem 0.6rem; display: flex; align-items: center; gap: 5px;
  backdrop-filter: blur(4px);
}

/* ── MODAL ── */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.82);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}
.modal-backdrop[hidden] { display: none; }
.modal {
  background: var(--pine);
  border: 1px solid rgba(200,130,42,0.3);
  max-width: 820px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  position: relative;
}
.modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem;
  background: rgba(0,0,0,0.4); border: none; color: var(--cream);
  font-size: 1.5rem; cursor: pointer; line-height: 1;
  transition: color 0.2s; z-index: 10;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { color: var(--gold); background: rgba(0,0,0,0.65); }

/* Gallery */
.modal-gallery { position: relative; background: #0a0a08; }
.gallery-main { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.gallery-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.2s; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.45); border: none; color: var(--cream);
  font-size: 2rem; line-height: 1; cursor: pointer;
  padding: 0.5rem 0.75rem; transition: background 0.2s;
}
.gallery-nav:hover { background: rgba(0,0,0,0.72); }
.gallery-prev { left: 0; }
.gallery-next { right: 0; }
.gallery-counter {
  position: absolute; bottom: 0.75rem; right: 0.75rem;
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem; letter-spacing: 0.1em;
  background: rgba(0,0,0,0.55); color: var(--cream); padding: 0.2rem 0.6rem;
}
.gallery-thumbs {
  display: flex; gap: 3px; overflow-x: auto; padding: 3px;
  background: #0a0a08; scrollbar-width: thin;
}
.gallery-thumbs::-webkit-scrollbar { height: 4px; }
.gallery-thumbs::-webkit-scrollbar-track { background: #0a0a08; }
.gallery-thumbs::-webkit-scrollbar-thumb { background: var(--stone); }
.gallery-thumb {
  width: 72px; height: 50px; object-fit: cover; flex-shrink: 0;
  cursor: pointer; opacity: 0.5; transition: opacity 0.2s;
  border: 2px solid transparent;
}
.gallery-thumb:hover { opacity: 0.8; }
.gallery-thumb.active { opacity: 1; border-color: var(--gold); }

/* Modal info */
.modal-info { padding: 1.75rem 2rem 2rem; }
.modal-price { font-family: 'Playfair Display', serif; font-size: 1.9rem; font-weight: 700; color: var(--gold); }
.modal-name { font-family: 'Barlow Condensed', sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream); margin-bottom: 0.3rem; }
.modal-loc { font-size: 0.83rem; color: var(--stone); margin-bottom: 1.25rem; }
.modal-attrs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.25rem; }
.modal-attr-tag {
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
  padding: 0.28rem 0.75rem; background: rgba(61,92,42,0.35); border: 1px solid rgba(107,143,82,0.3); color: var(--sage);
}
.modal-desc { font-size: 0.92rem; line-height: 1.8; color: rgba(245,239,224,0.72); margin-bottom: 1.75rem; }
.modal-cta-row { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.modal-mls { font-family: 'Barlow Condensed', sans-serif; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone); }

@media (max-width: 600px) {
  .modal-info { padding: 1.25rem; }
  .modal-cta-row { flex-direction: column; }
  .gallery-thumb { width: 56px; height: 40px; }
}

/* ── MAP ── */
#map { background: var(--bark); padding: 4rem 3rem; }
.map-intro { font-size: 0.9rem; color: var(--stone); margin-top: 0.5rem; margin-bottom: 1.5rem; }
.map-container { position: relative; height: 420px; overflow: hidden; border: 1px solid rgba(200,130,42,0.2); }
.map-note { font-family: 'Barlow', sans-serif; font-size: 0.78rem; color: rgba(245,239,224,0.25); }

/* ── ABOUT ── */
#about { background: var(--pine); padding: 5rem 3rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 4rem; align-items: center; }
.about-photo-col { position: relative; }
.about-photo-frame { width: 100%; aspect-ratio: 3/4; overflow: hidden; position: relative; background: var(--bark); }
.about-photo-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; filter: sepia(0.1) brightness(0.9); display: block; }
.about-photo-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1rem; color: var(--stone);
  font-family: 'Barlow', sans-serif; font-size: 0.8rem; letter-spacing: 0.05em;
}
.about-photo-accent {
  position: absolute; bottom: -1.25rem; right: -1.25rem;
  width: 65%; height: 65%;
  border: 2px solid rgba(200,130,42,0.35);
  z-index: -1;
}
.about-license {
  display: inline-block;
  font-family: 'Barlow Condensed', sans-serif; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 600;
  padding: 0.32rem 0.75rem; border: 1px solid var(--amber); color: var(--amber);
  margin-top: 1.5rem;
}
.about-text p { font-size: 0.98rem; font-weight: 300; line-height: 1.85; color: rgba(245,239,224,0.72); margin-bottom: 1.2rem; }
.about-creds { display: flex; flex-direction: column; gap: 0.7rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(138,128,112,0.2); }
.cred { display: flex; align-items: center; gap: 0.7rem; font-family: 'Barlow Condensed', sans-serif; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(245,239,224,0.48); font-weight: 600; }
.cred svg { width: 15px; height: 15px; fill: var(--sage); flex-shrink: 0; }

/* ── TESTIMONIALS ── */
#testimonials { background: var(--charcoal); padding: 5rem 3rem; }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.testimonial { padding: 1.75rem; border: 1px solid rgba(138,128,112,0.15); border-top: 3px solid var(--amber); background: rgba(26,40,24,0.4); }
.reviews-loading { grid-column: 1/-1; display: flex; align-items: center; gap: 0.75rem; padding: 2.5rem 0; color: var(--stone); font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; letter-spacing: 0.1em; }
.reviews-spinner { width: 18px; height: 18px; border: 2px solid rgba(200,130,42,0.2); border-top-color: var(--amber); border-radius: 50%; animation: spin 0.8s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.reviews-footer { margin-top: 1.5rem; text-align: center; }
.reviews-source { font-family: 'Barlow Condensed', sans-serif; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.reviews-source:hover { color: var(--gold); }
.stars { color: var(--gold); font-size: 0.75rem; letter-spacing: 2px; margin-bottom: 0.9rem; }
.testimonial-text { font-family: 'Playfair Display', serif; font-size: 0.95rem; font-style: italic; line-height: 1.72; color: rgba(245,239,224,0.78); margin-bottom: 1.4rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; }
.author-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--moss); display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 0.82rem; color: var(--cream); flex-shrink: 0; }
.author-name { font-family: 'Barlow Condensed', sans-serif; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream); }
.author-detail { font-size: 0.75rem; color: var(--stone); margin-top: 0.1rem; }

/* ── CONTACT ── */
#contact { background: var(--bark); padding: 5rem 3rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; margin-top: 2.5rem; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon { width: 40px; height: 40px; background: rgba(200,130,42,0.12); border: 1px solid rgba(200,130,42,0.28); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 18px; height: 18px; fill: var(--amber); }
.contact-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.63rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone); font-weight: 600; margin-bottom: 0.2rem; }
.contact-val { font-size: 0.93rem; color: var(--cream); }
.contact-link { text-decoration: none; color: var(--cream); transition: color 0.2s; }
.contact-link:hover { color: var(--gold); }
.contact-disc { font-size: 0.78rem; color: var(--stone); line-height: 1.5; margin-top: 0.25rem; }
.wi-box { margin-top: 2rem; padding: 1.4rem; border: 1px solid rgba(200,130,42,0.15); background: rgba(26,40,24,0.3); }
.wi-box-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; font-weight: 600; }
.wi-box p { font-size: 0.78rem; color: rgba(138,128,112,0.7); line-height: 1.6; }

/* ── CONTACT FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-label { font-family: 'Barlow Condensed', sans-serif; font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.req { color: var(--amber); }
.form-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(138,128,112,0.25);
  color: var(--cream);
  padding: 0.7rem 1rem;
  font-family: 'Barlow', sans-serif; font-size: 0.88rem;
  outline: none; transition: border-color 0.2s; width: 100%;
}
.form-input:focus { border-color: var(--amber); }
.form-input::placeholder { color: rgba(138,128,112,0.45); }
textarea.form-input { resize: vertical; min-height: 120px; }
select.form-input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M0 0l6 8 6-8z' fill='%238a8070'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2rem; }
select.form-input option { background: #2d1f0e; }
.submit-btn { width: 100%; background: var(--amber); color: var(--bark); border: none; padding: 0.9rem; font-family: 'Barlow Condensed', sans-serif; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; cursor: pointer; transition: background 0.2s; }
.submit-btn:hover { background: var(--gold); }
.submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.form-success { background: rgba(61,92,42,0.3); border: 1px solid var(--sage); padding: 1rem; font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; letter-spacing: 0.05em; color: var(--sage); text-align: center; margin-top: 0.75rem; }
.form-error { background: rgba(180,50,30,0.2); border: 1px solid rgba(200,80,60,0.4); padding: 1rem; font-family: 'Barlow Condensed', sans-serif; font-size: 0.85rem; color: #e07060; text-align: center; margin-top: 0.75rem; }
.field-error { font-family: 'Barlow', sans-serif; font-size: 0.75rem; color: #e07060; margin-top: 0.25rem; display: block; min-height: 1rem; }
.form-input[aria-invalid="true"] { border-color: #e07060; }
.form-disc { font-size: 0.72rem; color: rgba(138,128,112,0.5); line-height: 1.5; margin-top: 0.75rem; }

/* ── FOOTER ── */
footer { background: var(--pine); padding: 2rem 3rem; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid rgba(200,130,42,0.15); flex-wrap: wrap; gap: 1rem; }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 0.9rem; font-weight: 700; color: rgba(245,239,224,0.45); }
.footer-text { font-size: 0.72rem; color: rgba(138,128,112,0.45); text-align: center; line-height: 1.6; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-family: 'Barlow Condensed', sans-serif; font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(138,128,112,0.45); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  #main-nav { padding: 0 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: var(--nav-h); left: 0; right: 0; background: rgba(26,40,24,0.98); padding: 1.5rem; gap: 1.25rem; border-bottom: 1px solid rgba(200,130,42,0.2); }
  .nav-links.open { display: flex; }
  .nav-hamburger { display: flex; }
  .nav-cta { display: none; }
  .hero-content { padding: 2rem 1.5rem 10rem; }
  .hero-stats { bottom: 1.5rem; right: 1.5rem; gap: 1.5rem; }
  .stat-num { font-size: 1.4rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-photo-col { max-width: 380px; }
  section { padding: 3rem 1.5rem; }
  #search, #listings, #map, #testimonials, #contact, #about { padding: 3rem 1.5rem; }
  footer { flex-direction: column; text-align: center; padding: 2rem 1.5rem; }
  .types-bar { padding: 1rem 1.5rem; gap: 1rem; }
  .search-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-img { width: 100%; opacity: 0.2; }
}
@media (max-width: 600px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-stats { position: static; flex-direction: row; justify-content: center; padding: 1.5rem; margin-top: 1rem; }
  .search-grid { grid-template-columns: 1fr; }
  .listings-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .modal { padding: 1.5rem; }
  .modal-cta-row { flex-direction: column; }
}
