/* ==========================================================================
   Louie's Outdoor Care — global styles
   Palette: pine / fern / sage / cream / sand  ·  Type: Fraunces + Outfit
   ========================================================================== */

:root {
  --pine: #22392c;
  --pine-deep: #1a2d22;
  --fern: #40614a;
  --sage: #a9bca3;
  --sage-tint: #e8eee1;
  --cream: #fbf8f0;
  --card: #fffdf7;
  --sand: #f0e8d6;
  --sand-deep: #ddcda9;
  --ink: #22302a;
  --ink-soft: #56644f;
  --gold: #8f7a3c;
  --focus: #2f5d46;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;

  --radius: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(34, 57, 44, 0.06), 0 6px 24px rgba(34, 57, 44, 0.05);
  --wrap: 1120px;
}

/* ---------- Reset-lite ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  font-weight: 350;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- Typography ---------- */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 550;
  line-height: 1.15;
  color: var(--pine);
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
}

h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
}

p {
  margin: 0 0 1.1em;
}

a {
  color: var(--fern);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--pine);
}

strong {
  font-weight: 600;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fern);
  margin-bottom: 1rem;
}

.lede {
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 44ch;
}

.center {
  text-align: center;
}

.center .lede {
  margin-inline: auto;
}

/* ---------- Focus & accessibility ---------- */

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pine);
  color: var(--cream);
  padding: 0.6rem 1.2rem;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Layout ---------- */

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: clamp(64px, 9vw, 110px);
}

.section--sand {
  background: var(--sand);
}

.section--pine {
  background: var(--pine);
  color: var(--sage-tint);
}

.section--pine h2,
.section--pine h3 {
  color: var(--cream);
}

.section--pine .lede {
  color: var(--sage);
}

.section-head {
  max-width: 620px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* ---------- Signature: mowed-lawn stripes & grass edges ---------- */

.lawn-stripes {
  background: repeating-linear-gradient(
    100deg,
    #b7c8ae 0px,
    #b7c8ae 72px,
    #a3b899 72px,
    #a3b899 144px
  );
}

.grass-edge {
  height: 15px;
  background-repeat: repeat-x;
  background-size: 120px 15px;
  background-position: bottom;
}

.grass-edge--cream {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='15' viewBox='0 0 120 15' preserveAspectRatio='none'%3E%3Cpath d='M0 15 L3 6 L6 12 L10 3 L13 11 L17 5 L20 13 L25 4 L28 11 L32 6 L35 12 L39 2 L42 10 L46 5 L49 13 L54 6 L57 11 L61 3 L64 12 L68 6 L71 13 L76 4 L79 10 L83 5 L86 12 L90 3 L93 11 L97 6 L100 13 L105 4 L108 11 L112 6 L115 12 L120 5 L120 15 Z' fill='%23fbf8f0'/%3E%3C/svg%3E");
}

.grass-edge--pine {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='15' viewBox='0 0 120 15' preserveAspectRatio='none'%3E%3Cpath d='M0 15 L3 6 L6 12 L10 3 L13 11 L17 5 L20 13 L25 4 L28 11 L32 6 L35 12 L39 2 L42 10 L46 5 L49 13 L54 6 L57 11 L61 3 L64 12 L68 6 L71 13 L76 4 L79 10 L83 5 L86 12 L90 3 L93 11 L97 6 L100 13 L105 4 L108 11 L112 6 L115 12 L120 5 L120 15 Z' fill='%2322392c'/%3E%3C/svg%3E");
}

.grass-edge--sand {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='15' viewBox='0 0 120 15' preserveAspectRatio='none'%3E%3Cpath d='M0 15 L3 6 L6 12 L10 3 L13 11 L17 5 L20 13 L25 4 L28 11 L32 6 L35 12 L39 2 L42 10 L46 5 L49 13 L54 6 L57 11 L61 3 L64 12 L68 6 L71 13 L76 4 L79 10 L83 5 L86 12 L90 3 L93 11 L97 6 L100 13 L105 4 L108 11 L112 6 L115 12 L120 5 L120 15 Z' fill='%23f0e8d6'/%3E%3C/svg%3E");
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 240, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--sage-tint);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  flex: none;
}

.brand-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.45rem;
  color: var(--pine);
  line-height: 1;
}

.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 600;
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--fern);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
  padding-block: 6px;
}

.site-nav a:hover {
  color: var(--fern);
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--sage);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
  color: var(--pine);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
  background: var(--pine);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--fern);
  color: var(--cream);
}

.btn--ghost {
  background: transparent;
  color: var(--pine);
  border-color: var(--sage);
}

.btn--ghost:hover {
  border-color: var(--fern);
  color: var(--fern);
}

.btn--light {
  background: var(--cream);
  color: var(--pine);
}

.btn--light:hover {
  background: var(--sage-tint);
  color: var(--pine-deep);
}

.btn--nav {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(64px, 9vw, 120px) clamp(80px, 10vw, 130px);
  position: relative;
}

.hero .wrap {
  max-width: 860px;
}

.hero h1 {
  margin-bottom: 0.4em;
}

.hero .lede {
  max-width: 54ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 1rem;
}

.hero-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- Trust band on lawn stripes ---------- */

.trust-band {
  padding-block: 40px 52px;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
}

.trust-list li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cream);
  border: 1px solid var(--sage);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--pine);
  box-shadow: var(--shadow-soft);
}

.trust-list svg {
  width: 17px;
  height: 17px;
  color: var(--fern);
  flex: none;
}

/* ---------- Cards ---------- */

.card {
  background: var(--card);
  border: 1px solid var(--sage-tint);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin-bottom: 0.4em;
}

.card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--sage-tint);
  color: var(--fern);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.card-icon svg {
  width: 24px;
  height: 24px;
}

.section--sand .card {
  border-color: var(--sand-deep);
}

/* ---------- Steps ---------- */

.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--pine);
  background: var(--sage-tint);
  border: 1px solid var(--sage);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}

.steps h3 {
  margin-bottom: 0.3em;
}

.steps p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0;
}

/* ---------- Checklist (dark band + services page) ---------- */

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.checklist svg {
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 3px;
  color: var(--sage);
}

.section--pine .checklist li {
  color: var(--sage-tint);
}

.checklist--ink svg {
  color: var(--fern);
}

.checklist--ink li {
  color: var(--ink);
}

/* ---------- Split layout ---------- */

.split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

/* ---------- Service detail blocks ---------- */

.service-block {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid var(--sand-deep);
}

.service-block:last-of-type {
  border-bottom: none;
}

.service-block .card-icon {
  margin-bottom: 0;
}

.service-block h3 {
  margin-bottom: 0.3em;
}

.service-block p {
  color: var(--ink-soft);
  margin-bottom: 0;
}

/* ---------- Values / team ---------- */

.value-list dt {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--pine);
  margin-top: 1.2em;
}

.value-list dd {
  margin: 0.2em 0 0;
  color: var(--ink-soft);
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 2rem;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}

/* ---------- Area tags ---------- */

.area-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tags li {
  background: var(--sage-tint);
  border: 1px solid var(--sage);
  color: var(--pine);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.phone-card {
  background: var(--pine);
  color: var(--sage-tint);
  border-radius: var(--radius);
  padding: 34px 32px;
  margin-bottom: 24px;
}

.phone-card h3 {
  color: var(--cream);
}

.phone-card a.phone-number {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  display: inline-block;
  margin: 6px 0 10px;
}

.phone-card a.phone-number:hover {
  color: var(--sage);
}

.phone-card p {
  margin-bottom: 0;
  color: var(--sage);
  font-size: 1rem;
}

/* ---------- Form ---------- */

.form-card {
  background: var(--card);
  border: 1px solid var(--sage-tint);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
}

.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.98rem;
  margin-bottom: 7px;
  color: var(--pine);
}

.form-field .optional {
  font-weight: 400;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--sage);
  border-radius: 10px;
  padding: 13px 15px;
}

.form-field textarea {
  min-height: 130px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
  border-color: var(--fern);
}

.form-status {
  display: none;
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 18px;
  font-weight: 500;
}

.form-status.is-success {
  display: block;
  background: var(--sage-tint);
  border: 1px solid var(--fern);
  color: var(--pine);
}

.form-status.is-error {
  display: block;
  background: #f6e8dd;
  border: 1px solid #b06a3c;
  color: #6e3c17;
}

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

/* ---------- FAQ ---------- */

.faq {
  max-width: 760px;
}

.faq details {
  border-bottom: 1px solid var(--sand-deep);
  padding-block: 6px;
}

.faq summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--pine);
  padding: 16px 36px 16px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--fern);
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  color: var(--ink-soft);
  padding-bottom: 16px;
  margin: 0;
  max-width: 64ch;
}

/* ---------- CTA band ---------- */

.cta-band {
  text-align: center;
}

.cta-band .lede {
  margin-inline: auto;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--pine);
  color: var(--sage);
  padding-block: 64px 32px;
  font-size: 0.98rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.site-footer h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin: 0 0 14px;
}

.site-footer a {
  color: var(--sage-tint);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.footer-brand .brand-name {
  color: var(--cream);
}

.footer-brand .brand-tag {
  color: var(--sage);
}

.footer-brand p {
  margin-top: 16px;
  max-width: 34ch;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-credentials li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.footer-credentials svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 4px;
  color: var(--sage);
}

.footer-bottom {
  border-top: 1px solid rgba(169, 188, 163, 0.25);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--sage);
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--sage);
    padding: 10px 24px 20px;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a {
    padding-block: 12px;
    border-bottom: 1px solid var(--sage-tint);
  }
  .site-nav a[aria-current="page"] {
    box-shadow: none;
    font-weight: 600;
  }
  .site-nav .btn--nav {
    margin-top: 16px;
    justify-content: center;
  }
  .service-block {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (max-width: 540px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-actions .btn {
    width: 100%;
  }
}
