/* Lawn & Stone — lawnandstone.com
   Earthy, modern landscaping site: deep greens, stone gray, warm sand.
*/

:root {
  --green-950: #0e1a14;
  --green-900: #13261c;
  --green-800: #1b3326;
  --green-700: #244a35;
  --green-600: #2f5e43;
  --green-500: #3d7a54;
  --green-400: #5a9a6e;
  --green-200: #b7d4c0;
  --stone-800: #3a3c39;
  --stone-600: #5c5f5b;
  --stone-500: #72756f;
  --stone-400: #8a8d88;
  --stone-300: #b8b9b4;
  --stone-200: #d5d2ca;
  --stone-100: #ebe8e1;
  --sand-400: #d4c2a3;
  --sand-300: #e6d7bf;
  --sand-200: #f0e6d4;
  --sand-100: #f7f1e6;
  --cream: #fbf8f2;
  --clay: #c36a3c;
  --clay-dark: #9d4f28;
  --clay-soft: #f3e0d4;
  --ink: #1a1c18;
  --muted: #5a5d57;
  --line: rgba(26, 28, 24, 0.12);
  --white: #fffdf8;
  --shadow: 0 14px 40px rgba(19, 38, 28, 0.12);
  --shadow-soft: 0 8px 24px rgba(19, 38, 28, 0.08);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 4.5rem;
  --font-serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Source Sans 3", "Source Sans Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 72rem;
  --narrow: 42rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--green-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--green-800); }

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--white);
  color: var(--ink);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(19, 38, 28, 0.94);
  color: var(--sand-100);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 215, 191, 0.1);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}
.logo:hover { color: var(--sand-300); }
.logo-mark { width: 2.25rem; height: 2.25rem; display: block; }
.logo-text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  line-height: 1;
}
.logo-text em {
  font-style: italic;
  font-weight: 500;
  color: var(--sand-400);
  padding: 0 0.08em;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--sand-100);
  border: 1px solid rgba(247, 241, 230, 0.25);
  border-radius: 8px;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 2; }

.site-nav { margin-left: auto; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.15rem 1.35rem;
  align-items: center;
}
.site-nav a {
  color: var(--sand-200);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--sand-400);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.45rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { color: inherit; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-book {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
  padding: 0.62rem 1.15rem;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-left: 0.4rem;
}
.btn-book:hover {
  background: var(--clay-dark);
  border-color: var(--clay-dark);
  color: var(--white);
}

.btn-primary {
  background: var(--clay);
  color: var(--white);
  border-color: var(--clay);
}
.btn-primary:hover {
  background: var(--clay-dark);
  border-color: var(--clay-dark);
  color: var(--white);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 253, 248, 0.65);
}
.btn-secondary:hover {
  background: rgba(255, 253, 248, 0.12);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--green-800);
  border-color: var(--green-700);
}
.btn-outline:hover {
  background: var(--green-800);
  color: var(--white);
}

.btn-lg { padding: 0.95rem 1.65rem; font-size: 1.05rem; }

/* ---------- Main / layout ---------- */
main { flex: 1; }

.wrap {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-500);
  margin: 0 0 0.65rem;
}

.section {
  padding: 4.5rem 0;
}
.section-tight { padding: 3.25rem 0; }

.section h2,
.page-hero h1,
.hero-copy h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 0.85rem;
}

.section h2 { font-size: clamp(1.85rem, 3.4vw, 2.55rem); }
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 2rem;
}

.section-head { margin-bottom: 2.25rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(86vh, 42rem);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-color: var(--green-900);
  background-image:
    linear-gradient(100deg, rgba(14, 26, 20, 0.88) 0%, rgba(14, 26, 20, 0.55) 48%, rgba(14, 26, 20, 0.28) 100%),
    var(--hero-image),
    linear-gradient(160deg, var(--green-900), var(--green-700) 55%, #4a5340);
  background-size: cover;
  background-position: center;
}
.hero-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 5.5rem 0 4.25rem;
}
.hero-copy { max-width: 38rem; }
.hero-copy .kicker { color: var(--sand-400); }
.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin-bottom: 1rem;
}
.hero-copy p {
  font-size: 1.18rem;
  color: var(--sand-200);
  margin: 0 0 1.75rem;
  max-width: 34rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}
.hero-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--sand-300);
}
.hero-note a { color: var(--sand-100); }

/* Inner page hero */
.page-hero {
  background: var(--green-900);
  color: var(--sand-100);
  padding: 3.25rem 0 2.75rem;
  background-image:
    linear-gradient(110deg, rgba(19, 38, 28, 0.92), rgba(19, 38, 28, 0.72)),
    var(--page-image, none),
    linear-gradient(160deg, var(--green-900), var(--green-700));
  background-size: cover;
  background-position: center;
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.1rem, 4.5vw, 3.15rem);
  margin-bottom: 0.6rem;
}
.page-hero p {
  margin: 0;
  max-width: 36rem;
  color: var(--sand-200);
  font-size: 1.12rem;
}

/* ---------- Service cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.45rem;
  box-shadow: var(--shadow-soft);
  height: 100%;
}
.card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.7rem 0 0.45rem;
  color: var(--green-900);
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}
.card a.card-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--green-600);
}
.card a.card-link:hover { color: var(--green-800); }

.icon {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--green-600);
}
.icon svg { width: 100%; height: 100%; display: block; }

/* ---------- Split / media ---------- */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3rem;
  align-items: center;
}
.split + .split { margin-top: 3.5rem; }
.split-img {
  border-radius: 18px;
  min-height: 22rem;
  background-color: var(--green-800);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
}
.split.flip .split-img { order: 2; }
.split h2 { margin-top: 0; }
.split p { color: var(--muted); margin: 0 0 1rem; }

/* ---------- Why choose ---------- */
.why {
  background: var(--green-900);
  color: var(--sand-100);
}
.why h2 { color: var(--white); }
.why .lede { color: var(--sand-300); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.why-item {
  padding: 1.4rem 1.2rem;
  background: rgba(255, 253, 248, 0.05);
  border: 1px solid rgba(247, 241, 230, 0.1);
  border-radius: var(--radius);
}
.why-item h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.4rem;
  color: var(--sand-200);
}
.why-item p { margin: 0; color: var(--stone-300); font-size: 0.98rem; }
.why-num {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--sand-400);
  font-size: 1.15rem;
  margin-bottom: 0.55rem;
}

/* ---------- Service area ---------- */
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.area-list li {
  background: var(--white);
  border: 1px solid var(--stone-200);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
  color: var(--green-800);
  font-size: 0.98rem;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--sand-200);
  text-align: center;
  padding: 4rem 0;
}
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: var(--muted);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

/* ---------- Call banner ---------- */
.call-banner {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 1.5rem;
  align-items: center;
  background: var(--green-800);
  color: var(--sand-100);
  border-radius: 18px;
  padding: 1.6rem 1.8rem;
  margin: 0 0 2.5rem;
}
.call-banner h2 {
  color: var(--white);
  font-size: 1.7rem;
  margin: 0 0 0.35rem;
}
.call-banner p { margin: 0; color: var(--sand-300); }
.call-banner .phone-xl {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.call-banner .phone-xl:hover { color: var(--sand-300); }
.call-banner .btn { justify-self: end; }

/* ---------- Forms ---------- */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.75rem 1.6rem 1.9rem;
  box-shadow: var(--shadow-soft);
}
.form-aside p { color: var(--muted); margin-top: 0; }
.form-aside ul { margin: 0.4rem 0 1.2rem; padding-left: 1.15rem; color: var(--muted); }
.form-aside a.phone {
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  color: var(--green-700);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.field { margin-bottom: 1rem; }
.field-full { grid-column: 1 / -1; }

label,
.legend {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: var(--green-900);
}
.hint {
  display: block;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
select,
textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--stone-200);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.8rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
input:hover,
select:hover,
textarea:hover { border-color: var(--stone-400); }
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--green-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(61, 122, 84, 0.2);
}
textarea { min-height: 8rem; resize: vertical; }
select { cursor: pointer; }

.check-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem 1rem;
  margin: 0.2rem 0 0;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--ink);
}
.check input { margin-top: 0.3rem; accent-color: var(--green-600); flex-shrink: 0; }

.radios {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}
.radios label {
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
}

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

.form-error {
  background: #f8e8e4;
  border: 1px solid #e0b0a4;
  color: #6b2c1e;
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  margin-bottom: 1rem;
  display: none;
}
.form-error.is-visible { display: block; }

.upload-box {
  border: 1.5px dashed var(--stone-400);
  border-radius: var(--radius-sm);
  padding: 1rem;
  background: var(--sand-100);
}
.upload-box input[type="file"] { width: 100%; }
.previews {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.previews img {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--stone-200);
}

.req { color: var(--clay); }

/* ---------- Service detail list ---------- */
.service-detail {
  display: grid;
  gap: 1.15rem;
}
.service-block {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
}
.service-block h2 {
  font-size: 1.4rem;
  margin: 0 0 0.35rem;
}
.service-block p { margin: 0; color: var(--muted); }
.service-block .icon { width: 2.75rem; height: 2.75rem; }

/* ---------- Contact facts ---------- */
.fact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.fact-list li { margin: 0 0 1rem; }
.fact-list .label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-500);
  margin-bottom: 0.15rem;
}
.fact-list a { font-weight: 600; font-size: 1.15rem; text-decoration: none; }

/* ---------- Thanks / 404 ---------- */
.notice-page {
  text-align: center;
  padding: 5rem 0 5.5rem;
}
.notice-page h1 { font-family: var(--font-serif); font-size: clamp(2.1rem, 4vw, 3rem); color: var(--green-900); margin: 0 0 0.7rem; }
.notice-page p { color: var(--muted); max-width: 32rem; margin: 0 auto 1.5rem; font-size: 1.12rem; }

/* ---------- Privacy ---------- */
.prose { max-width: var(--narrow); }
.prose h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.7rem);
  color: var(--green-900);
  margin: 0 0 0.6rem;
}
.prose h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 2rem 0 0.5rem;
}
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 1.2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: var(--stone-300);
  padding: 3rem 0 1.6rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(247, 241, 230, 0.1);
}
.site-footer .logo { margin-bottom: 0.75rem; }
.site-footer p { margin: 0 0 0.7rem; max-width: 22rem; }
.site-footer h2 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-400);
  margin: 0.2rem 0 0.7rem;
  font-weight: 700;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.4rem; }
.site-footer a { color: var(--sand-200); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1.2rem;
  font-size: 0.9rem;
  color: var(--stone-400);
}
.footer-bottom a { color: var(--stone-300); }

/* ---------- Utilities ---------- */
.bg-sand { background: var(--sand-100); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .card-grid,
  .why-grid { grid-template-columns: 1fr 1fr; }
  .split,
  .split.flip .split-img,
  .form-layout,
  .call-banner,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .split.flip .split-img { order: 0; }
  .split-img { min-height: 16rem; }
  .call-banner .btn,
  .call-banner .phone-xl { justify-self: start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--green-900);
    padding: 0.5rem 1rem 1.1rem;
    border-bottom: 1px solid rgba(230, 215, 191, 0.1);
    margin: 0;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a {
    display: block;
    padding: 0.7rem 0.4rem;
    border-bottom: 0;
  }
  .btn-book { margin-left: 0; }
  .header-inner { position: relative; }
  .form-row,
  .check-grid,
  .card-grid,
  .why-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 4rem 0 3rem; }
  .section { padding: 3.25rem 0; }
}

@media (min-width: 761px) {
  .site-nav { display: block !important; }
}

@media (max-width: 400px) {
  .logo-text { font-size: 1.05rem; }
  .btn-book { padding: 0.55rem 0.9rem; font-size: 0.9rem; }
  .header-inner { gap: 0.55rem; width: min(100% - 1.25rem, var(--max)); }
}
