/* ============================================
   The Batten Team — Shared Styles
   Brand system: navy + green primary, terracotta accent,
   generous white space, serif + script + geometric sans
   ============================================ */

:root {
  --navy: #414556;
  --navy-dark: #2f3240;
  --green: #6b7976;
  --green-dark: #566360;
  --sage: #a9b6a0;
  --blush: #f4e0d4;
  --rust: #a86254;
  --rust-dark: #8f5142;
  --off-white: #f7f7f7;
  --white: #ffffff;
  --ink: #2a2726;
  --ink-soft: #6a655d;
  --line: #e7e4de;
  --shadow: 0 14px 34px rgba(42, 39, 38, 0.07);
  --shadow-lg: 0 22px 54px rgba(42, 39, 38, 0.12);
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Jost', 'Segoe UI', system-ui, sans-serif;
  background: var(--white);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.3rem; }
h3 { font-size: 1.5rem; }

.script {
  font-family: 'Alex Brush', cursive;
  color: var(--rust);
  font-size: 1.6em;
  font-weight: 400;
  display: inline-block;
  line-height: 1;
}

.tracked-caps {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}

p { margin: 0 0 1em; color: var(--ink-soft); font-weight: 300; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 500;
  margin-bottom: 14px;
}

hr.rule {
  width: 60px;
  height: 2px;
  background: var(--sage);
  border: none;
  margin: 18px auto;
}
.rule-left { margin: 18px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--rust); color: var(--white); }
.btn-primary:hover { background: var(--rust-dark); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-outline-dark { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline-dark:hover { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  max-width: 1180px;
  margin: 0 auto;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--navy);
}
.brand .script {
  display: block;
  font-size: 0.62em;
  letter-spacing: 0;
  text-transform: none;
  margin-top: 2px;
}
nav.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
nav.main-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--navy);
  border-bottom-color: var(--rust);
}
.header-cta { display: flex; align-items: center; gap: 22px; }
.header-phone { font-size: 0.88rem; letter-spacing: 0.04em; color: var(--navy); white-space: nowrap; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--navy); margin: 5px 0; }

/* ---------- Hero (light, airy, two-column) ---------- */
.hero {
  padding: 90px 0 100px;
  background: var(--off-white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero p.lead { font-size: 1.08rem; max-width: 460px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  filter: saturate(0.9);
}
.hero-media::before {
  content: "";
  position: absolute;
  top: 22px; left: 22px;
  width: 100%; height: 460px;
  border: 1.5px solid var(--sage);
  z-index: -1;
}

.page-hero {
  padding: 80px 0 64px;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}
.page-hero .eyebrow { color: var(--sage); }
.page-hero h1 { color: var(--white); margin-bottom: 14px; }
.page-hero p { color: #d8d9dd; max-width: 620px; margin: 0 auto; }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--white);
  padding: 46px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--navy);
}
.stat-label {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section-alt { background: var(--off-white); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.listing-card img { height: 230px; object-fit: cover; width: 100%; }
.listing-body { padding: 24px 26px 28px; }
.listing-price { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; color: var(--navy); font-weight: 600; }
.listing-tag {
  display: inline-block;
  background: var(--rust);
  color: var(--white);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 12px;
  position: absolute;
  top: 16px; left: 16px;
}
.listing-media { position: relative; }
.listing-addr { font-weight: 500; color: var(--ink); margin-bottom: 2px; }
.listing-city { color: var(--ink-soft); font-size: 0.88rem; margin-bottom: 12px; }
.listing-meta {
  display: flex; gap: 18px; font-size: 0.85rem; color: var(--ink-soft);
  border-top: 1px solid var(--line); padding-top: 14px; margin-top: 10px;
}

/* ---------- Testimonials ---------- */
.testimonial-card { padding: 36px 30px; border-top: 2px solid var(--sage); }
.stars { color: var(--rust); font-size: 0.95rem; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ink);
  font-size: 1.15rem;
  margin-bottom: 18px;
}
.testimonial-name { font-weight: 500; color: var(--navy); font-family: 'Jost', sans-serif; }
.testimonial-source { font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- Service area chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 10px 20px;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  color: var(--navy);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  padding: 64px 40px;
  text-align: center;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: #d8d9dd; max-width: 520px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--white); color: var(--ink-soft); padding: 70px 0 26px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 50px; }
.footer-grid h4 {
  color: var(--navy); font-family: 'Jost', sans-serif; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; font-weight: 500;
}
.footer-grid a, .footer-grid p { color: var(--ink-soft); font-size: 0.92rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 11px; }
.footer-grid li a:hover { color: var(--rust); }
.footer-brand { font-family: 'Cormorant Garamond', serif; color: var(--navy); font-size: 1.3rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--navy);
}
.social-row a:hover { border-color: var(--rust); color: var(--rust); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; font-size: 0.78rem; color: #a39d92; text-align: center; line-height: 1.7; }

/* ---------- Forms ---------- */
.form-card { background: var(--off-white); border: 1px solid var(--line); padding: 46px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
label { display: block; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; color: var(--navy); font-weight: 500; }
input, select, textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius);
  font-family: inherit; font-size: 0.95rem; background: var(--white); color: var(--ink); font-weight: 300;
}
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--rust); }
.form-full { margin-bottom: 20px; }

/* ---------- Misc ---------- */
.map-placeholder {
  height: 320px; background: var(--off-white);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px dashed var(--line);
}
.tag-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-chip { padding: 9px 18px; border: 1px solid var(--line); background: var(--white); font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink-soft); }
.filter-chip.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.divider { height: 1px; background: var(--line); margin: 0; }

.value-item { display: flex; gap: 20px; margin-bottom: 32px; }
.value-icon {
  width: 48px; height: 48px; border: 1px solid var(--sage);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: var(--green-dark);
}
.photo-frame { position: relative; }
.photo-frame img { position: relative; z-index: 1; }
.photo-frame::before {
  content: ""; position: absolute; top: -18px; left: -18px; right: 18px; bottom: 18px;
  border: 1.5px solid var(--sage); z-index: 0;
}

/* ============================================
   Responsive / Mobile
   ============================================ */
@media (max-width: 960px) {
  .container { padding: 0 24px; }
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.9rem; }
  section { padding: 60px 0; }
  .hero { padding: 56px 0 64px; }
  .page-hero { padding: 56px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-media { order: -1; }
  .hero-media img,
  .hero-media::before { height: 300px; }
  .hero p.lead { max-width: none; }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 24px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .nav-toggle { display: block; }
  .header-phone { display: none; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 32px 20px;
    box-shadow: var(--shadow);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }
  nav.main-nav a:last-child { border-bottom: none; }
  .header-cta { gap: 14px; }
}

@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav-wrap { padding: 18px 20px; }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.65rem; }
  .btn { padding: 13px 22px; font-size: 0.76rem; }
  .header-cta .btn { padding: 11px 16px; font-size: 0.7rem; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
  .stat-num { font-size: 1.9rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-media img,
  .hero-media::before { height: 220px; }
  .form-card { padding: 30px 22px; }
  .cta-banner { padding: 46px 24px; }
}
