:root {
  --ink: #14231b;
  --muted: #516057;
  --green: #226b3d;
  --green-dark: #164a2b;
  --leaf: #c8df74;
  --sky: #dceef7;
  --clay: #b76137;
  --cream: #f7f3e8;
  --white: #fffdf7;
  --line: #d9dfd3;
  --shadow: 0 18px 48px rgba(20, 35, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3.5rem);
  background: rgba(255, 253, 247, 0.94);
  border-bottom: 1px solid rgba(217, 223, 211, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border-radius: 6px;
  background: var(--green-dark);
  color: var(--leaf);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.79rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  color: var(--muted);
  font-size: 0.95rem;
}

.top-nav a,
.header-call,
.site-footer a {
  text-decoration: none;
}

.top-nav a:hover,
.header-call:hover,
.site-footer a:hover {
  color: var(--green);
}

.header-call {
  padding: 0.62rem 0.85rem;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: var(--green-dark);
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 72px));
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/jockey-club-lawn-hero.png");
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(11, 29, 19, 0.78) 0%, rgba(11, 29, 19, 0.58) 43%, rgba(11, 29, 19, 0.18) 100%),
    linear-gradient(0deg, rgba(11, 29, 19, 0.22), rgba(11, 29, 19, 0.08));
}

.hero-content {
  position: relative;
  width: min(760px, calc(100% - 2rem));
  margin-left: clamp(1rem, 7vw, 6rem);
  padding: clamp(3rem, 9vw, 7rem) 0;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--leaf);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1rem;
  font-size: clamp(2.75rem, 7vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 64ch;
  margin-bottom: 1.4rem;
  color: rgba(255, 253, 247, 0.92);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.hero-actions,
.quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.1rem;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--leaf);
  color: #14210d;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.button.secondary {
  border: 1px solid rgba(255, 253, 247, 0.68);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.button.secondary.dark {
  border-color: var(--green-dark);
  color: var(--green-dark);
  background: transparent;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 760px;
  margin: 2rem 0 0;
}

.hero-facts div {
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 253, 247, 0.28);
  border-radius: 8px;
  background: rgba(20, 35, 27, 0.48);
}

.hero-facts dt {
  color: var(--leaf);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 0.18rem 0 0;
  color: var(--white);
  font-weight: 700;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3.5rem);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.intro {
  background: var(--white);
}

.prose {
  color: var(--muted);
  font-size: 1.07rem;
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.narrow {
  max-width: 620px;
}

.section-heading.left {
  margin-bottom: 0;
}

.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
}

.service-area-band {
  background: linear-gradient(180deg, var(--sky), #edf5ef);
}

.local-views {
  background: #f1f6f0;
}

.view-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.view-card {
  overflow: hidden;
  border: 1px solid rgba(34, 107, 61, 0.18);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(20, 35, 27, 0.04);
}

.view-card iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 0;
  background: var(--line);
}

.view-card div {
  padding: 1rem;
}

.view-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.source-note {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.street-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.street-grid li {
  min-height: 4rem;
  display: flex;
  align-items: center;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(34, 107, 61, 0.2);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.76);
  font-weight: 800;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  min-height: 13rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 0 rgba(20, 35, 27, 0.04);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.quote-band {
  background: var(--green-dark);
  color: var(--white);
}

.quote-band .eyebrow {
  color: var(--leaf);
}

.quote-band p {
  max-width: 58ch;
  margin-bottom: 0;
  color: rgba(255, 253, 247, 0.86);
}

.quote-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.quote-actions {
  justify-content: flex-end;
  min-width: min(100%, 360px);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
}

.faq-list {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3.5rem) 6rem;
  background: #101b16;
  color: var(--white);
}

.site-footer p {
  margin: 0.25rem 0 0;
  color: rgba(255, 253, 247, 0.72);
}

.site-footer a {
  color: var(--leaf);
  font-weight: 800;
  white-space: nowrap;
}

.mobile-cta {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 6;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid rgba(217, 223, 211, 0.9);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.96);
  box-shadow: var(--shadow);
}

.mobile-cta a {
  min-height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--green-dark);
  color: var(--white);
  font-weight: 800;
  text-decoration: none;
}

.mobile-cta a + a {
  background: var(--leaf);
  color: #14210d;
}

@media (max-width: 900px) {
  .top-nav {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    width: min(680px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 5.5rem 0 4rem;
  }

  h1 {
    max-width: 11ch;
  }

  .hero-facts,
  .two-column,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .street-grid,
  .service-grid,
  .view-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quote-layout {
    align-items: flex-start;
    flex-direction: column;
  }

  .quote-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  body {
    padding-bottom: 4.5rem;
  }

  .site-header {
    position: static;
  }

  .brand small,
  .header-call {
    display: none;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(11, 29, 19, 0.48) 0%, rgba(11, 29, 19, 0.76) 45%, rgba(11, 29, 19, 0.88) 100%);
  }

  .hero-media {
    background-position: 58% center;
  }

  .hero-content {
    padding: 3rem 0 7rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.35rem, 13vw, 3.55rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.65rem);
  }

  .hero-actions,
  .quote-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: none;
  }

  .street-grid,
  .service-grid,
  .view-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-cta {
    display: grid;
  }
}
