/* ==========================================================================
   Etmanskie Contracting — lawn-maintenance.css
   Page-specific styles for lawn-maintenance.php only. Loaded alongside
   pages.css via $page_css_extra, set in lawn-maintenance.php before including
   header.php. Follows the same page-hero / spec-strip / about-split /
   incl-grid / process-split / price-grid / contact-grid pattern established
   in stump-grinding.css and landscaping.css (ported here rather than shared,
   same reasoning as those files' own header comments — no new colors
   introduced, every token is the site's own from global.css :root).

   Two things that are this page's own: .result-pairs, showing two separate
   before/after comparisons (mowing and sodding) side by side instead of the
   single photo stump-grinding.php and landscaping.php each use; and the
   sod-scroll.mp4 clip in the "How It Works" section (.process-split__right
   video) that plays once when it scrolls into view (see main.js's
   data-play-once handling), matching landscaping's gravel-scroll.mp4
   treatment.
   ========================================================================== */

/* --- Page hero -------------------------------------------------------------
   Shorter than the homepage's video hero: a still image, min-height 60vh. */
.page-hero {
  position: relative;
  background-color: var(--ink);
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(38, 34, 35, 0.72), rgba(38, 34, 35, 0.52));
}

.page-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 72px 64px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--paper);
  max-width: 18ch;
}

.page-hero__title em {
  font-style: normal;
  color: var(--red);
  display: block;
}

.page-hero__lede {
  color: var(--paper);
  opacity: 0.8;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.7;
  max-width: 52ch;
  margin: 26px 0 34px;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 480px) {
  .page-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .page-hero__actions {
    justify-content: center;
  }
}

/* --- Spec strip (facts, directly under the hero) --------------------------- */
.spec-strip {
  background-color: var(--ink);
  border-top: 2px solid var(--red-dark);
  padding-block: 30px;
}

.spec-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 28px 40px;
}

@media (max-width: 480px) {
  .spec-strip__grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

.spec__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.spec__value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
  text-transform: uppercase;
  line-height: 1.15;
}

.spec__note {
  font-size: 12px;
  line-height: 1.6;
  color: var(--paper-45);
  margin-top: 6px;
}

/* --- Why stay on top of it (ported from home.css's .about-split) ----------- */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 72px;
  align-items: start;
}

.about-split__lead .section-title {
  font-size: clamp(30px, 3.4vw, 44px);
}

.about-split__body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.75;
  margin-bottom: 18px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 28px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(38, 34, 35, 0.12);
}

.about-stat__num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: 0.6;
}

@media (max-width: 800px) {
  .about-split {
    grid-template-columns: 1fr;
  }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .about-stats {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .about-split__lead,
  .about-split__body p {
    text-align: center;
  }
}

/* --- Feature photo (this page's full-width photo block, same component as
   landscaping's .feature-photo) ----------------------------------------------- */
.feature-photo__text {
  font-size: 15px;
  line-height: 1.75;
  color: var(--paper);
  opacity: 0.72;
  max-width: 56ch;
  margin: 18px 0 0;
}

.feature-photo__frame {
  position: relative;
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background-color: rgba(242, 242, 242, 0.06);
}

.feature-photo__media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 480px) {
  .feature-photo__frame {
    aspect-ratio: 4 / 5;
  }
  .feature-photo .shell > .eyebrow,
  .feature-photo .section-title,
  .feature-photo__text {
    text-align: center;
  }
}

/* --- What's included -------------------------------------------------------- */
.incl-grid {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  gap: var(--grid-gap);
}

.incl-card {
  background-color: var(--ink);
  padding: 34px 30px;
}

.incl-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.incl-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.incl-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  padding-block: 13px;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
  opacity: 0.85;
}

.incl-list li:last-child {
  border-bottom: 0;
}

.incl-list li b {
  font-weight: 700;
  opacity: 1;
}

.incl-mark {
  color: var(--red);
  font-weight: 700;
}

@media (max-width: 800px) {
  .incl-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- Process (ported from home.css's .process-split, page-local) ----------- */
.process-split {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 56px 72px;
  align-items: start;
}

.process-split__lead .section-title {
  margin-bottom: 20px;
}

.process-split__intro {
  font-size: 15px;
  line-height: 1.75;
  color: var(--paper);
  opacity: 0.75;
  max-width: 40ch;
  margin-bottom: 32px;
}

.process-split__right {
  background-color: var(--ink);
  border-radius: 10px;
  padding: 14px;
}

.process-split__right picture,
.process-split__right video {
  display: block;
  border-radius: 6px;
  margin-bottom: var(--grid-gap);
}

.process-split__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 6px;
  background-color: rgba(242, 242, 242, 0.06);
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-steps li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--hairline);
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
  opacity: 0.85;
}

.process-steps li:last-child {
  border-bottom: 0;
}

.process-steps__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

@media (max-width: 800px) {
  .process-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .process-split__lead {
    text-align: center;
  }
}

/* --- Result (two before/after pairs — mowing and sodding are different
   enough jobs that showing one photo of each beats a single composite) ------ */
.result-pairs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.result-pair__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

.result-pair__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.result-pair__caption {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--paper);
  opacity: 0.72;
  text-align: center;
}

/* --- What sets the price ----------------------------------------------------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--grid-gap);
}

.price-card {
  background-color: var(--paper);
  color: var(--ink);
  padding: 30px 26px;
}

.price-card__num {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 18px;
}

.price-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 10px;
}

.price-card p {
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.72;
}

.price-note {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 242, 242, 0.2);
  font-size: 14px;
  line-height: 1.7;
  color: var(--paper);
  opacity: 0.8;
  max-width: 62ch;
}

/* --- Pull-quote (single review) ---------------------------------------------- */
.pull-quote {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.pull-quote__text {
  font-style: italic;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.5;
  margin-bottom: 20px;
}

.pull-quote__by {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
}

/* --- Quote (ported from home.css's .contact-grid/.quote-form, page-local) -- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 56px 72px;
  align-items: start;
}

.contact__lede {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink);
  opacity: 0.72;
  margin: 20px 0 36px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

@media (max-width: 480px) {
  .contact-grid > div:first-child {
    text-align: center;
  }
  .contact-methods {
    align-items: center;
  }
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.contact-method__icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  background-color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--ease);
}

.contact-method:hover .contact-method__icon {
  background-color: var(--red-dark);
}

.contact-method__label {
  font-size: 10px;
  font-weight: 700;
  color: var(--ink);
  opacity: 0.45;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-method__value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--ink);
}

.contact-method__value--sm {
  font-size: 14px;
  font-weight: 600;
  word-break: break-all;
}

.quote-form {
  background-color: var(--ink);
  padding: 36px 32px;
}

.quote-form h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.field {
  margin-bottom: 14px;
}

.field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: rgba(242, 242, 242, 0.55);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  background-color: rgba(242, 242, 242, 0.08);
  border: 1px solid rgba(242, 242, 242, 0.18);
  border-radius: 0;
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
}

.field select {
  background-color: rgba(242, 242, 242, 0.08);
  appearance: none;
}

.field textarea {
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(242, 242, 242, 0.28);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(228, 31, 39, 0.2);
}

.field option {
  background: var(--ink);
  color: var(--paper);
}

.field--trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.quote-form__submit {
  width: 100%;
  background-color: var(--red);
  color: var(--paper);
  border: 0;
  padding: 15px;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--ease);
}

.quote-form__submit:hover {
  background-color: var(--red-dark);
}

.quote-sent {
  text-align: center;
  padding: 36px 0;
}

.quote-sent[hidden] {
  display: none;
}

.quote-sent__check {
  width: 56px;
  height: 56px;
  background-color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.quote-sent h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--paper);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.quote-sent p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--paper);
  opacity: 0.72;
}

@media (max-width: 600px) {
  .quote-form {
    padding: 28px 22px;
  }
}

/* --- Related services -------------------------------------------------------- */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--grid-gap);
}

.related-card {
  display: block;
  text-decoration: none;
  background-color: var(--paper);
  transition: background-color var(--ease);
}

.related-card:hover {
  background-color: var(--red);
}

.related-card:hover h3,
.related-card:hover p {
  color: var(--paper);
}

.related-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.related-card__body {
  padding: 22px 24px 26px;
}

.related-card h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 8px;
  transition: color var(--ease);
}

.related-card p {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink);
  opacity: 0.7;
  transition: color var(--ease);
}

/* --- Closing CTA band -------------------------------------------------------- */
.cta-band {
  background-color: var(--red-dark);
  padding-block: 64px;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

@media (max-width: 480px) {
  .cta-band__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--paper);
  max-width: 22ch;
}

.cta-band p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
  opacity: 0.85;
  margin-top: 12px;
  max-width: 40ch;
}

.cta-band .btn--solid {
  background-color: var(--ink);
}

.cta-band .btn--solid:hover {
  background-color: var(--paper);
  color: var(--ink);
}

@media (max-width: 600px) {
  :root {
    --section-y: 64px;
  }
}
