/* ============================================================
   Castle Estates — South Coast & Weald
   Modern redesign · static site
   Palette: forest green / cream / brass
   Type: Fraunces (display) + Inter (body)
   ============================================================ */

:root {
  --ink: #1a1f1c;
  --muted: #64705f;
  --forest: #1e3a2a;
  --forest-deep: #152a1e;
  --forest-soft: #2c4a37;
  --cream: #faf7f1;
  --white: #ffffff;
  --brass: #b98a2f;
  --brass-light: #d4a94e;
  --line: #e6e1d5;
  --shadow-sm: 0 1px 3px rgba(21, 42, 30, 0.08);
  --shadow-md: 0 6px 24px rgba(21, 42, 30, 0.10);
  --shadow-lg: 0 16px 48px rgba(21, 42, 30, 0.16);
  --radius: 14px;
  --radius-sm: 9px;
  --header-h: 76px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-brass {
  background: var(--brass);
  color: #fff;
  box-shadow: 0 4px 14px rgba(185, 138, 47, 0.35);
}
.btn-brass:hover { background: #a67c28; }

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn-dark {
  background: var(--forest);
  color: #fff;
}
.btn-dark:hover { background: var(--forest-deep); }

.btn-outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn-outline:hover { background: var(--forest); color: #fff; }

.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--forest);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.28);
  background: var(--forest-deep);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo img {
  height: 42px;
  width: auto;
}

.main-nav { display: flex; align-items: center; gap: 4px; }

.main-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.main-nav a.active { color: #fff; background: rgba(255, 255, 255, 0.12); }

.header-cta { display: flex; align-items: center; gap: 18px; }

.header-phone {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.header-phone:hover { color: #fff; }
.header-phone svg { width: 16px; height: 16px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 96px;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(16, 30, 22, 0.88) 0%, rgba(16, 30, 22, 0.62) 45%, rgba(16, 30, 22, 0.25) 100%);
}
.hero .container { position: relative; z-index: 2; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 22px;
}
.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 1.5px;
  background: var(--brass-light);
}

.hero h1 {
  font-size: clamp(40px, 5.6vw, 68px);
  font-weight: 500;
  max-width: 13ch;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: italic;
  color: var(--brass-light);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 52ch;
  margin-bottom: 36px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Search card ---------- */
.search-card {
  position: relative;
  z-index: 3;
  margin-top: -56px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 26px 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr auto;
  gap: 18px;
  align-items: end;
}
.search-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.search-field select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s ease;
}
.search-field select:focus { outline: none; border-color: var(--forest); }

/* ---------- Trust bar ---------- */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 34px;
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
.trust-item .dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brass);
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}
.section-head .eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  max-width: 22ch;
}
.section-head p {
  color: var(--muted);
  max-width: 46ch;
  margin-top: 14px;
}

/* ---------- Property cards ---------- */
.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 26px;
}

.prop-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.prop-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.prop-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.prop-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.prop-card:hover .prop-photo img { transform: scale(1.05); }

.prop-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(21, 42, 30, 0.85);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.prop-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.prop-price {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--forest);
}
.prop-price span { font-size: 14px; font-weight: 400; color: var(--muted); font-family: var(--font-body); }
.prop-name { font-size: 16.5px; font-weight: 600; }
.prop-loc { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.prop-loc svg { width: 14px; height: 14px; flex-shrink: 0; }
.prop-specs {
  display: flex;
  gap: 16px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted);
}
.prop-specs span { display: inline-flex; align-items: center; gap: 6px; }
.prop-specs svg { width: 15px; height: 15px; }

/* ---------- About split ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-text .eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.split-text h2 { font-size: clamp(30px, 3.2vw, 40px); margin-bottom: 20px; }
.split-text p { color: var(--muted); margin-bottom: 16px; }
.split-text p strong { color: var(--ink); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 16px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  color: var(--forest);
  line-height: 1.1;
}
.stat small {
  font-size: 12.5px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.split-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 4.6;
}
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Testimonials ---------- */
.testi-section { background: var(--white); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.testi-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.stars { display: flex; gap: 4px; }
.stars svg { width: 17px; height: 17px; fill: var(--brass); }
.testi-card blockquote {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink);
  flex: 1;
}
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 15px;
}
.testi-who b { display: block; font-size: 14.5px; }
.testi-who small { font-size: 12.5px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--forest);
  color: #fff;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.045);
}
.cta-band::after {
  content: "";
  position: absolute;
  right: 40px; bottom: -180px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(212, 169, 78, 0.07);
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-size: clamp(28px, 3vw, 38px); max-width: 24ch; }
.cta-inner p { color: rgba(255, 255, 255, 0.75); margin-top: 10px; max-width: 52ch; }

/* ---------- Page header (subpages) ---------- */
.page-header {
  background: var(--forest);
  color: #fff;
  padding: calc(var(--header-h) + 64px) 0 64px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  right: -100px; top: -140px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.page-header .eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 14px;
}
.page-header h1 { font-size: clamp(36px, 4.6vw, 54px); margin-bottom: 16px; }
.page-header p { color: rgba(255, 255, 255, 0.78); max-width: 60ch; font-size: 17px; }

/* ---------- Numbered list (landlords) ---------- */
.num-list { display: flex; flex-direction: column; gap: 22px; }
.num-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  align-items: start;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.num-item:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.num-item .num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--forest);
  color: #fff;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.num-item h3 { font-size: 20px; margin-bottom: 8px; }
.num-item p { color: var(--muted); font-size: 15.5px; }

/* ---------- Steps (tenants) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  color: var(--brass);
  line-height: 1;
  margin-bottom: 16px;
}
.step h3 { font-size: 18.5px; margin-bottom: 10px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* ---------- Fees table ---------- */
.fees-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15px;
}
.fees-table th {
  background: var(--forest);
  color: #fff;
  text-align: left;
  padding: 15px 22px;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}
.fees-table td {
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  vertical-align: top;
}
.fees-table tr:nth-child(even) td { background: var(--cream); }
.fees-table td:first-child { font-weight: 600; width: 38%; }
.fees-table td b { color: var(--forest); }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 24px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--forest), var(--forest-soft));
  color: #fff;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-role {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 14px;
}
.team-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- Coverage chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease;
}
.chip:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

/* ---------- Filter bar (to-let) ---------- */
.filter-bar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
}
.filter-bar label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 7px;
}
.filter-bar select {
  width: 100%;
  padding: 12px 13px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ink);
  cursor: pointer;
}
.filter-bar select:focus { outline: none; border-color: var(--forest); }
.result-count {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 20px;
}
.result-count b { color: var(--ink); }
.empty-state {
  text-align: center;
  padding: 64px 24px;
  background: var(--white);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}
.empty-state b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--ink); margin-bottom: 8px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.contact-cards { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--forest);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-card h3 { font-size: 16.5px; margin-bottom: 4px; }
.contact-card p { font-size: 14.5px; color: var(--muted); }
.contact-card a { color: var(--forest); font-weight: 600; }
.contact-card a:hover { text-decoration: underline; }

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form h2 { font-size: 26px; margin-bottom: 6px; }
.contact-form > p { color: var(--muted); font-size: 14.5px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; }
.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.15s ease;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { outline: none; border-color: var(--forest); }
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.form-success {
  display: none;
  background: #e8f3ec;
  border: 1px solid #bcd8c8;
  color: var(--forest);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 16px;
}
.form-success.show { display: block; }

.map-wrap {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.map-wrap iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 64px 0 0;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer-brand img { height: 40px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { transition: color 0.15s ease; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .legal { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .search-card { grid-template-columns: 1fr 1fr; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-photo { aspect-ratio: 16 / 10; order: -1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--forest-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 18px 6% 26px;
    gap: 6px;
    transform: translateY(-130%);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 13px 14px; font-size: 16px; }
  .nav-toggle { display: flex; }
  .header-phone { display: none; }
  .header-cta .btn { display: none; }
  .hero { min-height: 640px; padding-bottom: 120px; }
  .section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .search-card { grid-template-columns: 1fr; margin-top: -40px; }
  .filter-bar { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero h1 { font-size: 36px; }
  .num-item { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
