/* ============================================================
   Homes by Beers — Warm Rustic Ranch design system
   ============================================================ */

:root {
  /* Color tokens */
  --color-bg: #FBF6EE;
  --color-bg-alt: #F1E3CE;
  --color-surface: #FFFFFF;
  --color-primary: #BF5B35;
  --color-primary-dark: #9E4A2A;
  --color-primary-light: #E8DDD0;
  --color-secondary: #7C5A3A;
  --color-navy: #223A54;
  --color-navy-dark: #172B3F;
  --color-text: #392E23;
  --color-text-muted: #6B5D4F;
  --color-border: #E4D3BC;
  --color-focus: #BF5B35;

  /* Type scale */
  --font-heading: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing (8pt rhythm) */
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 96px;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 8px rgba(57, 46, 35, 0.08);
  --shadow-md: 0 12px 32px rgba(57, 46, 35, 0.14);
  --shadow-lg: 0 24px 56px rgba(23, 20, 15, 0.28);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med: 280ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

/* Subtle film-grain texture so flat color sections feel crafted, not flat */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-navy); line-height: 1.15; margin: 0; font-weight: 600; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.reveal-left { transform: translateX(-40px); }
.reveal.reveal-right { transform: translateX(40px); }
.reveal.reveal-scale { transform: translateY(16px) scale(0.94); }
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}
/* Stagger grid children automatically without hand-authored delays per item */
.services-grid .reveal:nth-child(1) { --reveal-delay: 0ms; }
.services-grid .reveal:nth-child(2) { --reveal-delay: 120ms; }
.services-grid .reveal:nth-child(3) { --reveal-delay: 240ms; }
.gallery-grid .reveal:nth-child(1) { --reveal-delay: 0ms; }
.gallery-grid .reveal:nth-child(2) { --reveal-delay: 90ms; }
.gallery-grid .reveal:nth-child(3) { --reveal-delay: 180ms; }
.gallery-grid .reveal:nth-child(4) { --reveal-delay: 270ms; }
.testimonial-grid .reveal:nth-child(1) { --reveal-delay: 0ms; }
.testimonial-grid .reveal:nth-child(2) { --reveal-delay: 120ms; }
.testimonial-grid .reveal:nth-child(3) { --reveal-delay: 240ms; }
.faq-list .reveal:nth-child(1) { --reveal-delay: 0ms; }
.faq-list .reveal:nth-child(2) { --reveal-delay: 60ms; }
.faq-list .reveal:nth-child(3) { --reveal-delay: 120ms; }
.faq-list .reveal:nth-child(4) { --reveal-delay: 180ms; }
.faq-list .reveal:nth-child(5) { --reveal-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--dur-fast) var(--ease-out), background-color var(--dur-fast), box-shadow var(--dur-fast), color var(--dur-fast);
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); box-shadow: var(--shadow-sm); }
.btn-secondary { background: transparent; border-color: var(--color-secondary); color: var(--color-secondary); }
.btn-secondary:hover { background: var(--color-secondary); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); color: #fff; backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,0.25); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--dur-med), border-color var(--dur-med), background-color var(--dur-med);
}
.site-header.is-scrolled {
  border-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
  width: 44px; height: 44px; object-fit: contain;
  filter: brightness(1.18) contrast(1.08);
  mix-blend-mode: multiply;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-navy);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.main-nav ul { display: flex; gap: var(--space-5); }
.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-primary);
  transition: right var(--dur-med) var(--ease-out);
}
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: var(--space-4); }
.header-phone {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px; color: var(--color-navy);
}
.header-phone .icon { width: 18px; height: 18px; color: var(--color-primary); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}
.nav-toggle span {
  width: 22px; height: 2px; background: var(--color-navy);
  margin-inline: auto;
  transition: transform var(--dur-fast) var(--ease-out), opacity var(--dur-fast);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(23,18,13,0.55) 0%, rgba(23,18,13,0.5) 40%, rgba(20,15,11,0.82) 100%),
    linear-gradient(90deg, rgba(15,12,9,0.75) 0%, rgba(15,12,9,0.25) 55%, rgba(15,12,9,0.15) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-7);
  align-items: center;
  padding-block: var(--space-7);
  width: 100%;
}
.hero-inner > * { min-width: 0; }
.eyebrow {
  color: #F0C8A8;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0 0 var(--space-3);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  margin-bottom: var(--space-3);
}
.hero-sub {
  color: rgba(255,255,255,0.88);
  font-size: 1.1rem;
  max-width: 46ch;
  margin: 0 0 var(--space-5);
}
.hero-ctas { display: flex; gap: var(--space-3); flex-wrap: wrap; }

/* Quote card */
.quote-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.quote-card h2 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 13px; font-weight: 700; color: var(--color-text-muted); }
.form-row .optional { font-weight: 400; text-transform: none; }
.form-row input,
.form-row select,
.form-row textarea {
  font-family: inherit;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  min-height: 44px;
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(191, 91, 53, 0.18);
  outline: none;
}
.form-row input:invalid[data-touched="true"],
.form-row textarea:invalid[data-touched="true"] {
  border-color: #B3261E;
}
.field-error {
  font-size: 12.5px;
  color: #B3261E;
  min-height: 16px;
}
.quote-note {
  font-size: 12.5px;
  color: var(--color-text-muted);
  text-align: center;
  margin: 0;
}
.quote-note.is-success { color: #2E6B3E; font-weight: 700; }
.quote-note.is-error { color: #B3261E; font-weight: 700; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--color-navy);
  padding-block: var(--space-4);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #F3E9DA;
  font-weight: 700;
  font-size: 14px;
  justify-content: center;
}
.trust-item .icon { color: #E8A972; }

/* ============================================================
   SECTION shared
   ============================================================ */
.section { padding-block: var(--space-8); }
.section-eyebrow {
  color: var(--color-primary);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  margin: 0 0 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  max-width: 24ch;
  margin-bottom: var(--space-3);
}
.section-lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 60ch;
  margin: 0 0 var(--space-6);
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--color-bg); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}
.services-grid > * { min-width: 0; }
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med);
  display: flex;
  flex-direction: column;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-media { aspect-ratio: 4 / 3; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-med) var(--ease-out); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-body { padding: var(--space-4); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--color-primary-light);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 6px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-body h3 { font-size: 1.2rem; }
.service-body p { color: var(--color-text-muted); margin: 0; flex: 1; }
.service-link {
  color: var(--color-primary);
  font-weight: 700;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-link span { transition: transform var(--dur-fast) var(--ease-out); }
.service-link:hover span { transform: translateX(4px); }

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us { background: var(--color-bg); }
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-2);
}
.why-us-item { max-width: 34ch; }
.why-us-num {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--color-primary-light);
  -webkit-text-stroke: 1.5px var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-3);
}
.why-us-item h3 { font-size: 1.15rem; margin-bottom: 8px; }
.why-us-item p { color: var(--color-text-muted); margin: 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about { background: var(--color-bg-alt); }
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.about-grid > * { min-width: 0; }
.about-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}
.about-img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-media-single {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin-inline: auto;
}
.about-copy p { color: var(--color-text-muted); }
.about-points { margin: var(--space-4) 0; display: flex; flex-direction: column; gap: 10px; }
.about-points li {
  padding-left: 28px;
  position: relative;
  font-weight: 600;
  color: var(--color-text);
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 18px; height: 18px;
  background: var(--color-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--color-bg); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
}
.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-med) var(--ease-out); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--space-3) var(--space-3) 14px;
  background: linear-gradient(180deg, rgba(23,18,13,0) 0%, rgba(23,18,13,0.75) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

/* ============================================================
   BEFORE / AFTER SLIDER
   ============================================================ */
.before-after { background: var(--color-bg-alt); }
.ba-slider {
  --pos: 50%;
  position: relative;
  max-width: 900px;
  aspect-ratio: 4 / 3;
  margin-inline: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  touch-action: pan-y;
  user-select: none;
  cursor: ew-resize;
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-before-wrap {
  position: absolute;
  inset: 0;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}
.ba-label {
  position: absolute;
  top: var(--space-3);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(23, 18, 13, 0.55);
  backdrop-filter: blur(3px);
  pointer-events: none;
}
.ba-label-before { left: var(--space-3); z-index: 2; }
.ba-label-after { right: var(--space-3); z-index: 1; }
.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 3px;
  margin-left: -1.5px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(23,18,13,0.15);
  z-index: 3;
  pointer-events: none;
}
.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.ba-handle svg { width: 24px; height: 24px; }
.ba-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
}
.ba-slider:focus-within .ba-handle {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--color-navy); }
.testimonials .section-eyebrow { color: #E8A972; }
.testimonials .section-title { color: #fff; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
}
.testimonial-grid > * { min-width: 0; }
.testimonial-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin: 0;
  color: #EDE4D6;
}
.quote-mark { width: 28px; height: 28px; color: var(--color-primary); margin-bottom: 10px; }
.testimonial-card p { font-size: 1rem; margin: 0 0 var(--space-3); }
.testimonial-card cite { font-style: normal; font-weight: 700; color: #fff; font-size: 14px; }
.testimonial-tag { font-weight: 400; color: rgba(255,255,255,0.5); font-size: 12.5px; }

/* ============================================================
   SERVICE AREA
   ============================================================ */
.service-area-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  max-width: 720px;
  margin-inline: auto;
}
.service-area-inner .section-lead { margin-inline: auto; }
.tx-mark { width: 160px; height: 160px; color: var(--color-primary); flex-shrink: 0; }
.area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: var(--space-3);
}
.area-list li {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  color: var(--color-navy);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq .section-eyebrow, .faq .section-title, .faq .section-lead {
  text-align: center;
  margin-inline: auto;
}
.faq-list { display: flex; flex-direction: column; gap: var(--space-3); max-width: 820px; margin-inline: auto; }
.faq-item {
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: none;
  border: none;
  padding: var(--space-4);
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-navy);
}
.faq-chevron { color: var(--color-primary); transition: transform var(--dur-med) var(--ease-out); }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-med) var(--ease-out);
}
.faq-answer p {
  overflow: hidden;
  margin: 0;
  padding: 0 var(--space-4);
  color: var(--color-text-muted);
}
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.faq-item.is-open .faq-answer p { padding-bottom: var(--space-4); }
.faq-answer > p { min-height: 0; }
.faq-answer { overflow: hidden; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding-block: var(--space-6);
}
.cta-band-inner { text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255,255,255,0.9); margin: var(--space-2) 0 var(--space-4); font-size: 1.05rem; }
.cta-band .btn-primary { background: var(--color-navy); }
.cta-band .btn-primary:hover { background: var(--color-navy-dark); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--color-bg-alt); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
}
.contact-grid > * { min-width: 0; }
.contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: var(--color-navy);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--dur-fast);
}
.contact-line .icon { color: var(--color-primary); }
a.contact-line:hover { color: var(--color-primary); }
.contact-line-static { cursor: default; }
.contact-form {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.contact-form h3 { font-size: 1.2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--color-navy-dark); color: #D9CFC0; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-6);
  padding-block: var(--space-7);
}
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand .brand-mark { filter: brightness(1.4) contrast(1.1) saturate(0.7); mix-blend-mode: normal; background: #fff; border-radius: 8px; padding: 4px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { margin: 0; font-size: 14px; color: #A79A87; max-width: 30ch; }
.footer-col h4 { color: #fff; font-family: var(--font-body); font-size: 14px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: var(--space-3); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14.5px; transition: color var(--dur-fast); }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: var(--space-3);
}
.footer-bottom p { margin: 0; font-size: 13px; color: #8A7D6C; text-align: center; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .quote-card { max-width: 480px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .main-nav { display: none; }
  .header-phone span { display: none; }
  .nav-toggle { display: flex; }
  .brand-name { font-size: 17px; }
}

@media (max-width: 640px) {
  .header-actions .btn-primary { display: none; }

  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: var(--space-3) var(--space-4);
  }
  .main-nav.is-open ul { flex-direction: column; gap: 0; }
  .main-nav.is-open a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--color-border); }
  .main-nav.is-open li:last-child a { border-bottom: none; }

  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .why-us-grid { grid-template-columns: 1fr; gap: var(--space-5); }
  .why-us-item { max-width: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { align-items: center; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
}
