/* ===========================
   Rhino Fence — Stylesheet
   Colors sampled from company logo
=========================== */

:root {
  --ink: #231f20;
  --charcoal: #3a3b3d;
  --gray-dark: #67686b;
  --gray: #939598;
  --gray-light: #d1d3d4;
  --rust: #ba6a3e;
  --rust-light: #cc7f5a;
  --rust-dark: #96502c;
  --cream: #f7f4f1;
  --white: #ffffff;

  --font-head: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius: 6px;
  --shadow: 0 10px 30px rgba(35, 31, 32, 0.12);
  --container: 1160px;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 16px;
}

h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; color: var(--charcoal); }

a { color: inherit; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 10px;
}

.section {
  padding: 88px 0;
}

.section--tight { padding: 64px 0; }

.section--dark {
  background: var(--ink);
  color: var(--white);
}
.section--dark h2, .section--dark h3, .section--dark p { color: var(--white); }
.section--dark p { color: var(--gray-light); }

.section--cream { background: var(--cream); }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head p { max-width: 560px; margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--rust {
  background: var(--rust);
  color: var(--white);
}
.btn--rust:hover { background: var(--rust-dark); }

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover { background: var(--white); color: var(--ink); }

.btn--outline-dark {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--outline-dark:hover { background: var(--ink); color: var(--white); }

.btn--block { width: 100%; justify-content: center; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-light);
}

.topbar {
  background: var(--ink);
  color: var(--gray-light);
  font-size: 0.85rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a {
  color: var(--gray-light);
  text-decoration: none;
}
.topbar a:hover { color: var(--rust-light); }
.topbar .topbar-contact { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar .topbar-contact span { display: inline-flex; align-items: center; gap: 6px; }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 24px;
  max-width: var(--container);
  margin: 0 auto;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand img { height: 52px; width: auto; }
.brand-text {
  font-family: var(--font-head);
  text-transform: uppercase;
  line-height: 1.05;
}
.brand-text strong { display: block; font-size: 1.25rem; letter-spacing: 0.03em; white-space: nowrap; }
.brand-text span { display: block; font-size: 0.7rem; color: var(--rust); letter-spacing: 0.12em; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
.nav-links a {
  text-decoration: none;
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--charcoal);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--rust); border-color: var(--rust); }

.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta .btn { padding: 12px 22px; font-size: 0.85rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 2px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(35,31,32,0.92), rgba(58,59,61,0.86)), var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-top: 90px;
  padding-bottom: 90px;
  min-height: 560px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: normal;
  color: var(--rust-light);
}
.hero p.lead {
  color: var(--gray-light);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 32px;
}
.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1.15;
  height: 2.3rem;
  color: var(--rust-light);
}
.hero-stats div strong.stat-infinity {
  font-size: 3.1rem;
  line-height: 0.75;
}
.hero-stats div span {
  font-size: 0.82rem;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art img {
  max-width: 420px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.45));
}

/* Fence divider strip */
.fence-strip {
  height: 26px;
  background: repeating-linear-gradient(
    90deg,
    var(--rust) 0px, var(--rust) 18px,
    var(--rust-dark) 18px, var(--rust-dark) 36px
  );
  clip-path: polygon(0% 100%, 0% 40%, 3% 0%, 6% 40%, 9% 0%, 12% 40%, 15% 0%, 18% 40%, 21% 0%, 24% 40%, 27% 0%, 30% 40%, 33% 0%, 36% 40%, 39% 0%, 42% 40%, 45% 0%, 48% 40%, 51% 0%, 54% 40%, 57% 0%, 60% 40%, 63% 0%, 66% 40%, 69% 0%, 72% 40%, 75% 0%, 78% 40%, 81% 0%, 84% 40%, 87% 0%, 90% 40%, 93% 0%, 96% 40%, 99% 0%, 100% 40%, 100% 100%);
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-media {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-light);
}
.about-media img { max-width: 280px; }

.badge-row {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border: 1px solid var(--gray-light);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
}
.badge svg { width: 18px; height: 18px; color: var(--rust); flex-shrink: 0; }

/* ===== Services grid ===== */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color .2s ease;
}
.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--rust-light);
}
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--rust-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 8px; }
.card p { margin-bottom: 0; font-size: 0.95rem; }

/* Fence type cards */
.fence-card {
  background: var(--cream);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 22px 20px 26px;
  text-align: center;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.fence-card:hover {
  transform: translateY(-4px);
  border-color: var(--rust);
  box-shadow: var(--shadow);
}
.fence-card .swatch {
  width: 100%;
  height: 118px;
  border-radius: 4px;
  margin-bottom: 16px;
  overflow: hidden;
  background: #eceae7;
  display: block;
}
.fence-card .swatch svg { width: 100%; height: 100%; display: block; }
.fence-card h4 {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1rem;
  margin: 0;
  letter-spacing: 0.03em;
}
.fence-card p { font-size: .88rem; margin-top: 10px; margin-bottom: 0; }

/* ===== Scroll-driven gate showcase ===== */
.gate-showcase {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 72px;
  box-shadow: var(--shadow);
}
.gate-showcase-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 30px 34px 26px;
  flex-wrap: wrap;
}
.gate-showcase-head h3 { margin-bottom: 8px; font-size: 1.4rem; }
.gate-showcase-head p { margin: 0; max-width: 560px; font-size: .95rem; }

.gate-readout {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  padding: 12px 18px;
  border-radius: 999px;
  flex-shrink: 0;
}
.gate-beacon {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #5f6164;
  box-shadow: 0 0 0 0 rgba(186,106,62,0);
  transition: background .2s ease;
}
.gate-beacon.is-moving {
  background: var(--rust);
  animation: beaconPulse 0.7s ease-in-out infinite;
}
.gate-beacon.is-open { background: #7fb069; }
@keyframes beaconPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(186,106,62,0.7); }
  50%      { box-shadow: 0 0 0 7px rgba(186,106,62,0); }
}
.gate-status {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .85rem;
  color: var(--white);
  min-width: 74px;
}
.gate-progress-label {
  font-size: .78rem;
  color: var(--gray);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.gate-stage {
  position: relative;
  border-top: 1px solid var(--gray-light);
  background: #e3e0d8;
  line-height: 0;
}
.gate-stage > svg {
  width: 100%;
  height: clamp(215px, 27vw, 330px);
  display: block;
}
#gateLeaf { will-change: transform; }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(35, 31, 32, 0.82);
  color: var(--white);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .74rem;
  padding: 8px 16px;
  border-radius: 999px;
  line-height: 1;
  transition: opacity .35s ease;
}
.scroll-hint svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  animation: hintBob 1.6s ease-in-out infinite;
}
@keyframes hintBob {
  0%, 100% { transform: translateY(-2px); }
  50%      { transform: translateY(2px); }
}
.scroll-hint.is-hidden { opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .gate-beacon.is-moving { animation: none; }
  .scroll-hint svg { animation: none; }
  .scroll-hint { display: none; }
}

/* ===== Automatic gates ===== */
.gate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.gate-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 0 0 28px;
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.gate-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--rust-light);
}
.gate-art {
  background: #eae7e2;
  border-bottom: 1px solid var(--gray-light);
  margin-bottom: 24px;
}
.gate-art svg { width: 100%; height: auto; display: block; }
.gate-card h3 { padding: 0 26px; margin-bottom: 10px; }
.gate-card > p { padding: 0 26px; font-size: .95rem; }

.spec-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0 26px;
}
.spec-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 9px;
  font-size: .9rem;
  color: var(--charcoal);
  line-height: 1.5;
}
.spec-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--rust);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* Operator comparison */
.operator-block { margin-top: 8px; }
.operator-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.operator-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 34px 30px;
  position: relative;
}
.operator-card--premium {
  border-color: var(--rust);
  border-width: 2px;
  box-shadow: var(--shadow);
}
.operator-card h3 { margin-bottom: 4px; font-size: 1.35rem; }
.operator-sub {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: .8rem;
  color: var(--gray-dark);
  margin-bottom: 16px;
}
.operator-card > p { font-size: .95rem; }
.operator-card .spec-list { padding: 0; }
.operator-tag {
  display: inline-block;
  background: var(--rust);
  color: var(--white);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.operator-tag--alt { background: var(--charcoal); }
.operator-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-light);
  font-size: .88rem;
  color: var(--gray-dark);
  font-style: italic;
}
.operator-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding: 28px 32px;
  background: var(--ink);
  border-radius: var(--radius);
}
.operator-cta p {
  color: var(--gray-light);
  margin: 0;
  max-width: 620px;
  font-size: .98rem;
}

/* ===== Service area ===== */
.area-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.area-list h4 {
  font-family: var(--font-head);
  color: var(--rust-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  font-size: 1rem;
}
.area-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 24px;
}
.area-list li {
  padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.95rem;
  color: var(--gray-light);
}

/* ===== Reviews ===== */
.reviews-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.google-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.google-card .g-logo {
  width: 52px;
  margin: 0 auto 18px;
}
.stars { color: var(--rust); font-size: 1.4rem; letter-spacing: 2px; margin-bottom: 10px; }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
}
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ===== Featured reviews ===== */
.featured-reviews { margin-top: 64px; }
.featured-reviews-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gray-light);
}
.featured-reviews-head h3 { margin: 0; }
.featured-note {
  font-size: .85rem;
  color: var(--gray-dark);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-grid > * { min-width: 0; }

.review-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.review-stars {
  color: var(--rust);
  font-size: 1.1rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.review-card blockquote {
  margin: 0 0 20px;
  padding: 0;
  font-size: .96rem;
  line-height: 1.6;
  color: var(--charcoal);
  flex-grow: 1;
}
.review-card blockquote::before { content: "\201C"; }
.review-card blockquote::after  { content: "\201D"; }
.review-card figcaption {
  border-top: 1px solid var(--gray-light);
  padding-top: 14px;
}
.review-name {
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .95rem;
  color: var(--ink);
}
.review-meta {
  display: block;
  font-size: .8rem;
  color: var(--gray-dark);
  margin-top: 2px;
}

/* Placeholder styling — makes unfilled cards obvious before launch.
   Delete the "is-placeholder" class from a card once it holds a real review. */
.review-card.is-placeholder {
  border-style: dashed;
  border-color: var(--rust-light);
  background: #fdf8f4;
}
.review-card.is-placeholder blockquote { color: var(--gray-dark); font-style: italic; }
.review-card.is-placeholder::before {
  content: "Replace with a real review";
  display: block;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .68rem;
  color: var(--rust);
  margin-bottom: 10px;
}

/* Widget mount — collapses to nothing until a snippet is pasted in */
#google-reviews-widget:not(:empty) { margin-top: 32px; }

.reviews-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--gray-light);
}
.reviews-footer p {
  margin: 0;
  font-size: .92rem;
  color: var(--gray-dark);
  max-width: 620px;
}

/* ===== Estimate form ===== */
.estimate-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
}
.estimate-info h2 { color: var(--white); }
.estimate-info .contact-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.estimate-info .contact-line svg { width: 22px; height: 22px; color: var(--rust-light); flex-shrink: 0; }
.estimate-info .contact-line a { color: var(--white); text-decoration: none; }
.estimate-info .contact-line a:hover { color: var(--rust-light); }
.estimate-info .hours {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  color: var(--gray-light);
  font-size: 0.92rem;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  color: var(--ink);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  background: var(--cream);
  color: var(--ink);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rust);
  background: var(--white);
}
.field textarea { min-height: 110px; resize: vertical; }

.radio-group {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.radio-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  text-transform: none;
  color: var(--charcoal);
}
.radio-group input { width: auto; }

.form-note {
  font-size: 0.8rem;
  color: var(--gray-dark);
  margin-top: 10px;
}

/* honeypot field hidden from real users */
.hidden-field { position: absolute; left: -9999px; top: -9999px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: var(--gray-light);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { height: 44px; }
.footer-brand strong {
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--white);
}
.footer-col h4 {
  color: var(--white);
  font-family: var(--font-head);
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col a { color: var(--gray-light); text-decoration: none; }
.footer-col a:hover { color: var(--rust-light); }
.footer-col .contact-item { display: flex; align-items: center; gap: 10px; }
.footer-col .contact-item svg { width: 16px; height: 16px; color: var(--rust-light); flex-shrink: 0; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.82rem;
  color: var(--gray);
  flex-wrap: wrap;
  gap: 10px;
}

/* Back to top */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--rust);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 90;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 60px; padding-bottom: 60px; }
  .hero-art { order: -1; }
  .hero-art img { max-width: 260px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { padding: 24px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .gate-grid { grid-template-columns: 1fr; }
  .operator-grid { grid-template-columns: 1fr; }
  .operator-cta { flex-direction: column; align-items: flex-start; }
  .area-grid { grid-template-columns: 1fr; }
  .reviews-panel { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr 1fr; }
  .reviews-footer { flex-direction: column; align-items: flex-start; }
  .estimate-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .navbar.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--gray-light);
    box-shadow: var(--shadow);
    z-index: 99;
  }
}

@media (max-width: 760px) {
  .topbar .container { justify-content: center; text-align: center; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* keep grid children from forcing the page wider than the viewport */
.grid-3 > *, .grid-4 > *, .gate-grid > *, .operator-grid > *,
.about-grid > *, .area-grid > *, .reviews-panel > *,
.estimate-wrap > *, .footer-grid > *, .form-row > * {
  min-width: 0;
}

@media (max-width: 620px) {
  .btn--block { white-space: normal; text-align: center; padding-left: 16px; padding-right: 16px; }
  .google-card { padding: 28px 20px; }
  .form-card { padding: 26px 20px; }
  .operator-card { padding: 26px 20px; }
  .gate-card h3, .gate-card > p, .spec-list { padding-left: 20px; padding-right: 20px; }
  .operator-card .spec-list { padding-left: 0; padding-right: 0; }
  .operator-cta { padding: 24px 20px; }
}

@media (max-width: 520px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .area-list ul { columns: 1; }
}

/* ==========================================================================
   SUBPAGES — service pages and service-area city pages
   ========================================================================== */

/* Breadcrumbs */
.crumbs {
  background: var(--cream);
  border-bottom: 1px solid var(--gray-light);
  font-size: .86rem;
  padding: 12px 0;
}
.crumbs a { color: var(--gray-dark); text-decoration: none; }
.crumbs a:hover { color: var(--rust); text-decoration: underline; }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }
.crumb-sep { margin: 0 9px; color: var(--gray); }

/* Page hero */
.page-hero {
  background: var(--ink);
  color: var(--white);
  padding: 66px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg,
    var(--rust) 0 22px, var(--rust-dark) 22px 26px);
  opacity: .85;
}
.page-hero .eyebrow { color: var(--rust-light); }
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  line-height: 1.05;
  margin: 10px 0 18px;
  max-width: 20ch;
}
.page-hero .lede {
  color: var(--gray-light);
  font-size: 1.06rem;
  max-width: 64ch;
  margin: 0 0 28px;
}
.page-hero .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.badge-home {
  display: inline-block;
  background: var(--rust);
  color: var(--white);
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .09em;
  font-size: .72rem;
  padding: 5px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.btn--outline-light {
  border: 2px solid rgba(255,255,255,.55);
  color: var(--white);
  background: transparent;
}
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Left-aligned section heads for subpages */
.section-head--left { text-align: left; margin-left: 0; margin-right: 0; max-width: 70ch; }
.section-head--left p { margin-left: 0; margin-right: 0; }

/* Pick grid — fence styles / service items */
.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pick-grid > * { min-width: 0; }
.pick {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-left: 4px solid var(--rust);
  border-radius: var(--radius);
  padding: 22px 22px 24px;
}
.pick h3 { font-size: 1.05rem; margin-bottom: 8px; }
.pick p { font-size: .92rem; margin: 0; }

.after-grid { margin-top: 24px; font-size: .94rem; }
.after-grid a { color: var(--rust); font-weight: 600; }

/* Note cards — build considerations */
.note-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.note-grid > * { min-width: 0; }
.note-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.note-card h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--rust-dark); }
.note-card p { font-size: .94rem; margin: 0; }

.depth-note {
  margin-top: 22px;
  background: var(--ink);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.depth-note h3 { color: var(--rust-light); margin-bottom: 8px; font-size: 1.05rem; }
.depth-note p { color: var(--gray-light); margin: 0; font-size: .95rem; }

/* Cross-links between pages */
.cross-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cross-grid > * { min-width: 0; }
.cross-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 24px 22px;
  text-decoration: none;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.cross-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--rust);
}
.cross-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.cross-card p { font-size: .9rem; margin-bottom: 12px; }
.cross-go {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .78rem;
  color: var(--rust);
}

/* FAQ */
.faq { max-width: 78ch; }
.faq details {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 17px 22px;
  font-family: var(--font-head);
  font-size: 1rem;
  list-style: none;
  position: relative;
  padding-right: 52px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--rust);
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--rust); outline-offset: -2px; }
.faq details p {
  padding: 0 22px 20px;
  margin: 0;
  font-size: .95rem;
  color: var(--charcoal);
}

/* Nearby towns */
.nearby-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nearby-list a {
  display: inline-block;
  border: 1px solid var(--gray-light);
  border-radius: 999px;
  padding: 8px 18px;
  font-size: .9rem;
  color: var(--charcoal);
  text-decoration: none;
  background: var(--white);
  transition: border-color .18s, color .18s;
}
.nearby-list a:hover { border-color: var(--rust); color: var(--rust); }

/* Service-area index */
.area-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.area-cols > * { min-width: 0; }
.area-col h3 {
  font-size: 1.15rem;
  color: var(--rust);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-light);
  margin-bottom: 6px;
}
.area-links { list-style: none; padding: 0; margin: 0; }
.area-links li { border-bottom: 1px solid var(--gray-light); }
.area-links a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 12px 4px;
  text-decoration: none;
  color: var(--ink);
  transition: color .15s, padding-left .15s;
}
.area-links a:hover { color: var(--rust); padding-left: 10px; }
.area-links strong { font-weight: 600; font-size: .98rem; }
.area-links span { font-size: .8rem; color: var(--gray-dark); text-align: right; }

.area-all { margin-top: 28px; text-align: center; }
.area-all a { color: var(--rust-light); font-weight: 600; }

/* CTA band */
.cta-band { background: var(--rust); padding: 46px 0; }
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-band h2 { color: var(--white); margin-bottom: 8px; font-size: 1.6rem; }
.cta-band p { color: rgba(255,255,255,.92); margin: 0; max-width: 58ch; font-size: .98rem; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn--rust {
  background: var(--ink);
  border-color: var(--ink);
}
.cta-band .btn--rust:hover { background: #000; border-color: #000; }

@media (max-width: 980px) {
  .pick-grid  { grid-template-columns: 1fr 1fr; }
  .cross-grid { grid-template-columns: 1fr; }
  .area-cols  { grid-template-columns: 1fr; gap: 32px; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  .pick-grid { grid-template-columns: 1fr; }
  .note-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 46px 0 44px; }
  .page-hero h1 { font-size: 1.9rem; }
  .depth-note { padding: 22px 20px; }
  .faq summary { padding: 15px 46px 15px 18px; font-size: .95rem; }
  .faq details p { padding: 0 18px 18px; }
}
