:root {
  --ink: #07141a;
  --ink-soft: #263842;
  --green: #63bd24;
  --green-dark: #25651f;
  --red: #e80f16;
  --accent-light: #f4faf5;
  --cream: #f7f6ef;
  --white: #ffffff;
  --line: #dbe3d6;
  --shadow: 0 20px 60px rgba(7, 20, 26, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 230px;
  overflow-x: clip;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 10px 24px;
  padding: 8px clamp(18px, 4vw, 56px) 14px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  min-width: 0;
  grid-column: 2;
  justify-self: center;
  justify-content: center;
}

.brand span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.brand img {
  width: clamp(220px, 29vw, 390px);
  height: clamp(150px, 19vw, 260px);
  object-fit: contain;
}

nav {
  position: absolute;
  top: calc(100% - 6px);
  right: clamp(18px, 4vw, 56px);
  display: none;
  width: min(280px, calc(100vw - 28px));
  max-width: calc(100vw - 28px);
  padding: 12px;
  color: var(--white);
  background: #07141a;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  font-size: 14px;
  font-weight: 800;
}

nav a {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  text-decoration: none;
}

nav a:hover {
  background: rgba(255, 255, 255, .1);
}

.site-header.menu-open nav {
  display: flex;
}

.menu-toggle {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: inline-grid;
  gap: 6px;
  width: 52px;
  height: 52px;
  padding: 13px 12px;
  background: #07141a;
  border: 0;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(7, 20, 26, .18);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 4px;
  background: var(--white);
  border-radius: 999px;
}

.header-cta {
  position: relative;
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: stretch;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  padding: 16px 20px;
  color: var(--white);
  background: linear-gradient(135deg, #9d0008 0%, #e80f16 45%, #ff3b30 58%, #b5000b 100%);
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(232, 15, 22, .28);
  font-weight: 900;
  text-transform: uppercase;
  text-decoration: none;
}

.header-cta::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -40%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: skewX(-22deg);
  animation: shimmer 2.8s infinite;
}

@keyframes shimmer {
  0% {
    left: -45%;
  }
  46%,
  100% {
    left: 125%;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  min-height: calc(100vh - 76px);
  background: var(--ink);
  color: var(--white);
}

.hero-copy {
  align-self: center;
  padding: clamp(40px, 7vw, 92px) clamp(22px, 5vw, 68px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.pricing .eyebrow {
  color: var(--accent-light);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 9ch;
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: .96;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.1;
}

.hero-lede {
  max-width: 670px;
  margin: 22px 0 0;
  color: #e4eee7;
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 0;
  border-radius: 7px;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: linear-gradient(135deg, #9d0008 0%, #e80f16 45%, #ff3b30 58%, #b5000b 100%);
  box-shadow: 0 10px 24px rgba(232, 15, 22, .28);
}

.button.primary::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -40%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: skewX(-22deg);
  animation: shimmer 2.8s infinite;
}

.button.secondary {
  color: var(--ink);
  background: var(--accent-light);
}

.hero-media {
  position: relative;
  min-height: 480px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--red);
  color: var(--white);
}

.service-strip div {
  padding: 22px clamp(18px, 3vw, 38px);
  border-right: 1px solid rgba(255, 255, 255, .24);
}

.service-strip strong {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
}

.service-strip strong img {
  width: 52px;
  height: 52px;
  padding: 6px;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(7, 20, 26, .18);
}

.service-strip span {
  display: block;
  margin-top: 6px;
  color: #ffe9e9;
  font-weight: 700;
}

.discount-banners {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: clamp(28px, 5vw, 56px) clamp(18px, 5vw, 72px);
  background: var(--ink);
}

.discount-banners img {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  scroll-margin-top: 230px;
  padding: clamp(56px, 8vw, 108px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 840px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.cards,
.pricing-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pricing-card,
.quote-form {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(7, 20, 26, .06);
}

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

.service-card-photo {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 360px;
  padding: 16px;
  color: var(--white);
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(7, 20, 26, .16);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(7, 20, 26, .14);
}

.service-card-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 20, 26, .02), rgba(7, 20, 26, .24) 50%, rgba(7, 20, 26, .7)),
    linear-gradient(90deg, rgba(7, 20, 26, .45), rgba(7, 20, 26, .04));
}

.service-card-photo div {
  position: relative;
  max-width: min(340px, 78%);
  padding: 12px 13px;
  background: rgba(7, 20, 26, .7);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .32);
}

.service-card-photo h3 {
  color: var(--white);
  margin-bottom: 7px;
  font-size: 22px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, .8);
  text-transform: uppercase;
}

.service-card-photo p {
  margin-bottom: 0;
  color: #f5fbf4;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}

.service-mowing {
  background-image: url("assets/service-photo-mowing.png");
}

.service-edging {
  background-image: url("assets/service-photo-edging.png");
}

.service-trimming {
  background-image: url("assets/service-photo-weed-eating.png");
}

.service-blowing {
  background-image: url("assets/service-photo-blowing.png");
}

.service-hedges {
  background-image: url("assets/service-photo-hedge-trimming.png");
}

.service-pressure {
  background-image: url("assets/service-photo-pressure-washing.png");
}

.pricing-card p {
  color: var(--ink-soft);
}

.area-section {
  background: #e8f3e1;
}

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

.area-grid a {
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 18px;
  background: var(--white);
  border: 1px solid #cfe0c6;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
}

.pricing {
  background: var(--ink);
  color: var(--white);
}

.pricing .section-heading p:not(.eyebrow),
.pricing-card p,
.pricing-notes p {
  color: #d9e6df;
}

.pricing-card {
  overflow: hidden;
  background: #10232c;
  border-color: rgba(255, 255, 255, .16);
}

.pricing-card img {
  width: calc(100% + 48px);
  max-width: none;
  height: 180px;
  margin: -24px -24px 20px;
  object-fit: cover;
}

.price-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.price-head h3 {
  margin-bottom: 0;
}

.price-head strong {
  color: var(--accent-light);
  font-size: 30px;
  line-height: 1;
  white-space: nowrap;
}

.pricing-card.alert {
  border-color: rgba(232, 15, 22, .5);
  box-shadow: inset 0 0 0 2px rgba(232, 15, 22, .18);
}

.pricing-card ul {
  margin: 0;
  padding-left: 20px;
}

.pricing-card li + li {
  margin-top: 8px;
}

.pricing-notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.pricing-notes p {
  margin: 0;
  padding: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
  font-weight: 700;
}

.payment-note {
  margin: 0;
  padding: 16px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 8px;
}

.payment-note p {
  margin: 0 0 12px;
  padding: 0;
  background: none;
  border: 0;
}

.payment-note img {
  width: 100%;
  max-height: 96px;
  object-fit: contain;
  padding: 8px;
  background: #f7fbff;
  border-radius: 7px;
}

.payment-note strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  min-height: 34px;
  padding: 7px 10px;
  color: var(--white);
  background: var(--red);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.quote {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 36px;
  align-items: start;
  background: #fdfdf9;
}

.quote-copy {
  position: sticky;
  top: 104px;
}

.quote-copy p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 18px;
}

.quote-form {
  display: grid;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px;
  color: var(--ink);
  background: #fbfcf8;
  border: 1px solid #bfcbc0;
  border-radius: 7px;
  font: inherit;
}

textarea {
  resize: vertical;
}

.checks {
  display: grid;
  gap: 10px;
}

.checks label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
}

.checks input {
  width: 18px;
  min-height: 18px;
}

.form-note {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
}

footer {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 30px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--ink);
}

footer img {
  width: 128px;
  height: 86px;
  object-fit: contain;
  border-radius: 8px;
}

footer p {
  max-width: 820px;
  margin: 4px 0 0;
  color: #d9e6df;
}

@media (max-width: 980px) {
  .hero,
  .quote {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 360px;
    order: -1;
  }

  h1 {
    max-width: 13ch;
  }

  .service-strip,
  .pricing-layout,
  .area-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .pricing-notes {
    grid-template-columns: 1fr;
  }

  .quote-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    gap: 8px 12px;
    padding: 8px 14px 12px;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
    justify-content: center;
  }

  .brand span {
    font-size: 14px;
  }

  .brand img {
    width: min(72vw, 285px);
    height: 188px;
  }

  nav {
    right: 14px;
    left: auto;
    width: min(280px, calc(100vw - 28px));
    max-width: calc(100vw - 28px);
  }

  .header-cta {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .hero-copy {
    padding-top: 34px;
  }

  .hero-media {
    min-height: 300px;
  }

  h1 {
    font-size: 44px;
  }

  .service-strip,
  .pricing-layout,
  .area-grid {
    grid-template-columns: 1fr;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .service-card-photo {
    min-height: 300px;
  }

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