/* L&W Solutions LLC — forest, teal, amber. Mobile first. */

:root {
  --forest: #203c35;
  --forest-dark: #172e28;
  --teal: #327c85;
  --teal-dark: #1f5f66;
  --amber: #d79a48;
  --paper: #f4f1e8;
  --card: #fffcf6;
  --ink: #303b40;
  --muted: #5c6a70;
  --line: #e3d9c8;
  --white: #fffcf6;
  --max: 1120px;
  --bar-h: 64px;
  --shadow: 0 10px 28px rgba(23, 46, 40, 0.08);
  --display: Manrope, Inter, "Segoe UI", sans-serif;
  --sans: Inter, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
.phone-line,
.cta-phone {
  font-family: var(--display);
  color: var(--forest);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  margin: 0 0 14px;
  font-size: 36px;
  font-weight: 800;
}

h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--teal-dark);
}

p a,
.prose a {
  text-underline-offset: 0.15em;
}

:focus-visible {
  outline: 3px solid var(--forest);
  outline-offset: 3px;
}

.hero :focus-visible,
.page-head :focus-visible,
.band :focus-visible,
.cta :focus-visible,
.site-header :focus-visible,
.site-footer :focus-visible,
.site-nav :focus-visible {
  outline-color: var(--paper);
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 80;
  background: var(--paper);
  color: var(--forest);
  padding: 8px 12px;
  border-radius: 8px;
}

.skip:focus {
  top: 8px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.kicker {
  margin: 0 0 10px;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rule {
  width: 48px;
  height: 3px;
  margin: 0 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--teal);
}

.lede {
  max-width: 40rem;
  margin-bottom: 20px;
  font-size: 18px;
}

.intro {
  max-width: 42rem;
}

.muted {
  color: var(--muted);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--forest);
}

.utility {
  margin: 0;
  padding: 8px 16px;
  background: var(--forest-dark);
  color: var(--paper);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-align: center;
}

.header-bar {
  background: var(--forest);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 72px;
}

.logo {
  display: block;
  margin-right: auto;
  line-height: 0;
}

.logo {
  min-width: 0;
}

.logo img {
  display: block;
  width: 168px;
  height: auto;
  max-width: 46vw;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(244, 241, 232, 0.35);
  border-radius: 8px;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger::before {
  top: -6px;
}

.burger::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .burger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .burger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .burger::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: none;
}

.site-nav.is-open {
  display: block;
  position: absolute;
  z-index: 30;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--forest-dark);
  box-shadow: 0 16px 28px rgba(23, 46, 40, 0.28);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(244, 241, 232, 0.12);
  color: var(--paper);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--amber);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.header-call,
.header-text {
  min-height: 44px;
  padding: 0 12px;
  white-space: nowrap;
}

.header-call-long {
  display: none;
}

.site-header .btn-secondary {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}

.site-header .btn-secondary:hover {
  background: rgba(244, 241, 232, 0.1);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--amber);
  border-radius: 8px;
  background: var(--amber);
  color: var(--forest-dark);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  filter: brightness(0.97);
}

.btn-secondary {
  background: transparent;
  border-color: var(--forest);
  color: var(--forest);
}

.btn-secondary:hover {
  filter: none;
  background: rgba(32, 60, 53, 0.06);
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.actions .btn {
  width: 100%;
}

.text-link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  margin-top: 8px;
  color: var(--forest);
  font-weight: 700;
  text-decoration: none;
}

.text-link .label {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

.text-link .arrow {
  color: var(--teal);
}

/* Hero and sections */

.hero,
.page-head {
  background: var(--forest);
  color: var(--paper);
  padding: 36px 0 40px;
}

.hero h1,
.page-head h1,
.band h2,
.cta h2,
.cta-phone a {
  color: var(--paper);
}

.hero .lede,
.page-head .lede,
.band p,
.cta p {
  color: #e7e2d6;
}

.hero .kicker,
.page-head .kicker,
.band .kicker {
  color: #e7c48a;
}

.hero .rule,
.page-head .rule,
.band .rule {
  background: var(--amber);
}

.hero .btn-secondary,
.page-head .btn-secondary,
.band .btn-secondary {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}

.hero .btn-secondary:hover,
.page-head .btn-secondary:hover,
.band .btn-secondary:hover {
  background: rgba(244, 241, 232, 0.1);
}

.band .text-link,
.band .text-link .label {
  color: var(--paper);
}

.band .text-link .arrow {
  color: var(--amber);
}

.hero .hours-note {
  margin-top: 16px;
  color: #e7e2d6;
}

.hero-grid,
.page-grid,
.split,
.card-grid,
.photo-grid,
.fact-grid,
.contact-layout {
  display: grid;
  gap: 22px;
}

.fact-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fact-grid li {
  margin: 0;
}

.section {
  padding: 48px 0;
}

.section-white {
  background: var(--card);
}

.band,
.cta {
  background: var(--forest);
  color: var(--paper);
  padding: 48px 0;
}

.cta {
  text-align: center;
}

.cta-phone {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 800;
}

.cta-phone a {
  text-decoration: none;
}

.cta .actions {
  width: min(100%, 420px);
  margin-inline: auto;
}

.cta .btn-secondary {
  background: transparent;
  border-color: var(--paper);
  color: var(--paper);
}

.cta .btn-secondary:hover {
  background: rgba(244, 241, 232, 0.1);
}

.card,
.fact,
.step,
.quote-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.card,
.fact,
.step {
  padding: 22px;
}

.card p:last-child,
.fact p:last-child,
.step p:last-child,
.card .plain:last-child {
  margin-bottom: 0;
}

.card h2 {
  font-size: 24px;
}

.service-stack {
  display: grid;
  gap: 18px;
}

.card h3 a {
  color: var(--forest);
  text-decoration: none;
}

.card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.fact h3,
.step h3 {
  font-size: 18px;
}

.fact p,
.step p,
.card p {
  color: var(--muted);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: rgba(50, 124, 133, 0.12);
  color: var(--teal-dark);
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  counter-increment: step;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--forest-dark);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
}

.plain {
  margin: 0 0 12px;
  padding-left: 1.15rem;
}

.plain li {
  margin: 0.25rem 0;
}

.plain li:last-child {
  margin-bottom: 0;
}

/* Photo placeholders. These are empty on purpose. */

.photo-slot {
  margin: 0;
}

.slot {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  min-height: 200px;
  padding: 20px;
  border: 2px dashed rgba(50, 124, 133, 0.75);
  border-radius: 12px;
  background: repeating-linear-gradient(
    -45deg,
    rgba(50, 124, 133, 0.05),
    rgba(50, 124, 133, 0.05) 8px,
    rgba(244, 241, 232, 0.4) 8px,
    rgba(244, 241, 232, 0.4) 16px
  );
  text-align: center;
}

.slot-kicker {
  margin: 0;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.slot strong {
  color: var(--forest);
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.25;
}

.slot p {
  margin: 0;
  max-width: 16rem;
  color: var(--muted);
  font-size: 14px;
}

.photo-slot figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.hero .slot {
  min-height: 240px;
  border-color: rgba(244, 241, 232, 0.55);
  background: rgba(244, 241, 232, 0.06);
}

.hero .slot-kicker {
  color: #e7c48a;
}

.hero .slot strong,
.hero .slot p,
.hero .photo-slot figcaption {
  color: var(--paper);
}

.hero .photo-slot figcaption {
  color: #e7e2d6;
}

/* FAQ */

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

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 0;
  color: var(--forest);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  margin-top: -4px;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg);
}

.faq details[open] summary::after {
  margin-top: 4px;
  transform: rotate(225deg);
}

.faq details p:last-child {
  margin-bottom: 16px;
}

/* Forms */

.quote-form {
  position: relative;
  margin: 0;
  padding: 22px;
  color: var(--ink);
}

.quote-form h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.quote-lead,
.privacy {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
}

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

.field {
  margin-bottom: 16px;
}

.quote-form fieldset {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  min-width: 0;
}

label,
.quote-form legend {
  display: block;
  margin-bottom: 6px;
  color: var(--forest);
  font-weight: 700;
}

.optional {
  color: var(--muted);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cfc4b0;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.checks {
  display: grid;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: 44px;
  margin: 0;
  padding: 8px 0;
  font-weight: 600;
  cursor: pointer;
}

.check input {
  width: 22px;
  min-width: 22px;
  height: 22px;
  min-height: 22px;
  margin: 1px 0 0;
  accent-color: var(--forest);
}

.quote-form .btn {
  width: 100%;
}

.field-error,
.form-status.is-error {
  color: #6b2b16;
  font-size: 15px;
  font-weight: 700;
}

.field-error {
  margin: 6px 0 0;
}

.quote-form input[aria-invalid="true"],
.quote-form textarea[aria-invalid="true"] {
  border-color: #6b2b16;
}

.form-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  font-weight: 700;
}

.form-status.is-success {
  color: var(--forest);
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.25;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.phone-line {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 800;
}

.phone-line a,
.email-line a {
  color: var(--forest);
  text-decoration: none;
}

.email-line {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.email-line a {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* Footer */

.site-footer {
  background: var(--forest-dark);
  color: #e7e2d6;
  padding: 36px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 22px;
}

.footer-name {
  margin: 0 0 4px;
  color: var(--paper);
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
}

.footer-sub {
  margin: 0 0 12px;
  color: var(--paper);
  font-weight: 600;
}

.site-footer p {
  margin: 0 0 10px;
}

.site-footer a {
  color: var(--paper);
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(244, 241, 232, 0.16);
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
}

.credit {
  color: #c9c2b3;
}

.credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Mobile call bar */

.mobile-bar {
  position: fixed;
  z-index: 45;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.mobile-bar .btn {
  min-height: 48px;
  padding: 0 8px;
  font-size: 15px;
}

.mobile-bar.is-hidden,
body.nav-open .mobile-bar {
  display: none;
}

#quote,
#photos,
#drainage,
#grading,
#clearing,
#hauling,
#trees,
#other,
#extras {
  scroll-margin-top: 96px;
}

@media (max-width: 380px) {
  .logo img {
    width: 142px;
  }

  .header-call,
  .header-text {
    padding: 0 8px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom));
  }
}

@media (min-width: 700px) {
  .quote-pair,
  .checks,
  .card-grid,
  .fact-grid,
  .photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .actions .btn,
  .cta .actions .btn {
    width: auto;
  }

  .cta .actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
}

@media (min-width: 769px) {
  body {
    padding-bottom: 0;
    font-size: 18px;
  }

  h1 {
    font-size: 52px;
  }

  h2 {
    font-size: 36px;
  }

  .wrap {
    width: min(var(--max), calc(100% - 48px));
  }

  .hero,
  .page-head,
  .section,
  .band,
  .cta {
    padding: 72px 0;
  }

  .hero-grid,
  .page-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: 40px;
    align-items: center;
  }

  .contact-layout,
  .split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    display: grid;
    gap: 18px;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
  }

  .logo img {
    width: 248px;
    max-width: none;
  }

  .mobile-bar {
    display: none;
  }

  .cta-phone {
    font-size: 40px;
  }
}

@media (min-width: 1000px) {
  .card-grid,
  .fact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }

  .header-inner {
    gap: 20px;
    min-height: 80px;
  }

  .logo {
    margin-right: 0;
  }

  .site-nav,
  .site-nav.is-open {
    display: block;
    position: static;
    flex: 1 1 auto;
    background: transparent;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px 16px;
  }

  .site-nav a {
    min-height: 44px;
    padding: 0;
    border: 0;
    color: var(--paper);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
  }

  .site-nav a[aria-current="page"] {
    color: var(--amber);
    box-shadow: inset 0 -2px 0 var(--amber);
  }
}

@media (min-width: 1100px) {
  .header-call-short {
    display: none;
  }

  .header-call-long {
    display: inline;
  }

  .site-nav a {
    font-size: 16px;
  }
}

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