:root {
  --green: #2f7d32;
  --green-dark: #173c22;
  --green-light: #74b84f;
  --yellow: #f3d236;
  --cream: #f6f4ea;
  --ink: #1d251f;
  --muted: #667066;
  --white: #ffffff;
  --border: #dfe5dc;
  --shadow: 0 18px 50px rgba(20, 45, 25, 0.12);
  --radius: 18px;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  background: white;
  color: var(--green-dark);
  font-weight: 800;
  box-shadow: var(--shadow);
  transform: translateY(-200%);
}

.skip-link:focus {
  transform: translateY(0);
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.topbar {
  background: var(--green);
  color: white;
  font-size: 0.9rem;
}
.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.top-link { font-weight: 700; }
.topbar-note { opacity: 0.9; margin-right: auto; }
.estimate-link {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 0 18px;
  background: var(--yellow);
  color: #1f2b1d;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .78rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,229,220,.8);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 50% 50% 45% 55%;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--green), var(--green-light));
  color: white; font-family: "Oswald", sans-serif; font-size: 1.5rem; font-weight: 700;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.35);
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-name {
  font-family: "Oswald", sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
}
.brand-sub { color: var(--muted); font-size: .75rem; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 28px; font-weight: 700; font-size: .92rem; }
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; height: 2px; left: 0; right: 100%; bottom: -8px;
  background: var(--green); transition: .2s ease;
}
.nav a:hover::after { right: 0; }

.nav-toggle {
  display: none; width: 44px; height: 40px; background: none; border: 0; padding: 8px;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 6px 0; }

.hero {
  position: relative;
  min-height: 670px;
  display: flex;
  align-items: center;
  background-color: var(--green-dark);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  isolation: isolate;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(15,38,22,.92) 0%, rgba(15,38,22,.70) 46%, rgba(15,38,22,.20) 74%, rgba(15,38,22,.08) 100%);
}
.hero-content { color: white; padding: 90px 0; }
.eyebrow {
  margin: 0 0 12px;
  font-size: .79rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--yellow);
}
.eyebrow.dark { color: var(--green); }
.hero h1, .section h2 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .01em;
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(3.3rem, 6.5vw, 6.5rem);
  line-height: .98;
  text-shadow: 0 3px 20px rgba(0,0,0,.18);
}
.hero-copy {
  max-width: 650px;
  font-size: 1.15rem;
  color: rgba(255,255,255,.9);
  margin: 24px 0 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 2px solid transparent;
  font-weight: 800; cursor: pointer; font: inherit;
}
.btn-primary { background: var(--yellow); color: #1e2a1e; }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn-secondary { border-color: rgba(255,255,255,.65); color: white; background: rgba(255,255,255,.08); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 32px; font-weight: 700; color: rgba(255,255,255,.88); }

.section { padding: 94px 0; }
.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2, .about-copy h2, .estimate h2 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1.03;
}
.section-heading p { color: var(--muted); }

.services { background: var(--cream); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  min-height: 245px;
  box-shadow: 0 8px 26px rgba(29,37,31,.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; background: #eef6e9; font-size: 1.35rem;
}
.service-card h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.service-card p { color: var(--muted); margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.about-image {
  min-height: 520px;
  border-radius: 26px;
  background-color: #dfe9da;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}
.about-copy p { color: var(--muted); }
.check-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin: 24px 0;
  font-weight: 700;
}
.check-grid span::first-letter { color: var(--green); }
.text-link { color: var(--green); font-weight: 800; }

.gallery { background: #f8faf6; }
.gallery-grid { display: grid; grid-template-columns: 1.15fr .85fr .85fr; gap: 18px; }
.gallery-card {
  position: relative;
  min-height: 330px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  background-color: var(--green-dark);
}
.gallery-card img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.gallery-card figcaption {
  position: relative;
  z-index: 1;
  background: rgba(15,38,22,.75);
  backdrop-filter: blur(6px);
  padding: 10px 14px;
  border-radius: 999px;
}
.estimate {
  background:
    radial-gradient(circle at top right, rgba(116,184,79,.22), transparent 32%),
    var(--green-dark);
  color: white;
}
.estimate-grid {
  display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start;
}
.estimate p { color: rgba(255,255,255,.78); }
.contact-stack { display: grid; gap: 14px; margin-top: 32px; }
.contact-stack a, .contact-stack div {
  display: grid; gap: 2px;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 14px;
}
.contact-stack strong { color: var(--yellow); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }

.estimate-form {
  background: white;
  color: var(--ink);
  padding: 28px;
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; font-weight: 700; font-size: .88rem; margin-bottom: 14px; }
input, select, textarea {
  width: 100%; border: 1px solid #ccd5ca; border-radius: 12px;
  padding: 13px 14px; font: inherit; background: white; color: var(--ink);
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(116,184,79,.25); border-color: var(--green-light); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #0969da;
  outline-offset: 3px;
}

.wide { width: 100%; border: 0; }
.form-note { text-align: center; font-size: .78rem; color: var(--muted) !important; }

.footer { background: #101811; color: rgba(255,255,255,.78); padding: 50px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .7fr 1fr; gap: 30px; }
.footer-brand { font-family: "Oswald", sans-serif; text-transform: uppercase; color: white; font-size: 1.3rem; }
.footer-links, .footer-contact { display: grid; align-content: start; gap: 8px; }
.footer-bottom {
  margin-top: 34px; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; gap: 16px;
  font-size: .78rem;
}

@media (max-width: 900px) {
  .topbar-note { display: none; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 82px; left: 20px; right: 20px;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: white; border-radius: 16px; box-shadow: var(--shadow);
    padding: 10px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; border-radius: 10px; }
  .nav a:hover { background: #f4f7f2; }
  .nav a::after { display: none; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .estimate-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-image { min-height: 420px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  .topbar-inner { gap: 10px; }
  .estimate-link { padding: 0 12px; margin-left: auto; }
  .brand-sub { max-width: 190px; }
  .hero { min-height: 650px; background-position: 62% center; }
  .hero-overlay { background: linear-gradient(90deg, rgba(15,38,22,.94), rgba(15,38,22,.72)); }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.8rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-badges { gap: 10px 18px; font-size: .9rem; }
  .section { padding: 72px 0; }
  .service-grid, .gallery-grid, .field-row, .check-grid { grid-template-columns: 1fr; }
  .gallery-card:first-child { grid-column: auto; }
  .gallery-card { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

/* BIRDSALL MOBILE POLISH V1
   These overrides keep the mobile hero impactful without allowing the
   headline or service-card spacing to dominate the viewport. */
@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(3.35rem, 13.5vw, 3.9rem);
    line-height: .95;
  }

  .service-card {
    min-height: 0;
    padding: 28px 24px;
  }

  .service-card .service-icon {
    margin-bottom: 24px;
  }

  .service-card p:last-child {
    margin-bottom: 0;
  }
}

/* ABOUT IMAGE ELEMENT
   The customer About visual is rendered as a normal image rather than a
   CSS background so it remains reliable, accessible, and easy to replace. */
img.about-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
