/* ===================================================================
   My Father's Professional Lawn Care
   Warm & Earthy — sleek, minimal
   =================================================================== */

:root {
  /* Palette */
  --green-900: #223528;
  --green-800: #2f4a34;
  --green-700: #3c5c40;
  --green-600: #4d6f4f;
  --gold-500:  #c99a4b;
  --gold-600:  #b5863a;
  --cream-50:  #f7f3ea;
  --cream-100: #efe9db;
  --sand-200:  #e4dcc9;
  --ink-900:   #262219;
  --ink-700:   #4a4536;
  --ink-500:   #7b7563;
  --white:     #ffffff;

  /* Semantic */
  --bg:          var(--cream-50);
  --bg-alt:      var(--cream-100);
  --text:        var(--ink-900);
  --text-soft:   var(--ink-700);
  --text-muted:  var(--ink-500);
  --accent:      var(--gold-500);
  --accent-dark: var(--gold-600);
  --brand:       var(--green-800);

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --container: 1140px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(38, 34, 25, 0.06);
  --shadow-md: 0 12px 34px rgba(38, 34, 25, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; cursor: pointer; border: 1px solid transparent;
  font-family: var(--sans); font-weight: 600; font-size: 0.98rem;
  padding: 12px 24px; border-radius: 100px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: var(--cream-50); }
.btn-primary:hover { background: var(--green-900); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(38,34,25,0.2); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-sm { padding: 9px 18px; font-size: 0.9rem; }
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* On dark hero, ghost button reads light */
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.5); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--sans); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent-dark); margin: 0 0 14px;
}
.hero .eyebrow { color: var(--gold-500); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { max-width: 640px; margin: 0 auto clamp(40px, 6vw, 64px); text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 16px; }
.section-sub { color: var(--text-soft); font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 234, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--sand-200); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; background: var(--brand); color: var(--gold-500);
  flex-shrink: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.12rem; color: var(--brand); }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav > a:not(.btn) { font-weight: 500; font-size: 0.96rem; color: var(--text-soft); position: relative; }
.nav > a:not(.btn):hover { color: var(--brand); }
.nav > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width 0.25s var(--ease);
}
.nav > a:not(.btn):hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--brand); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 12px 24px 24px; border-bottom: 1px solid var(--sand-200); background: var(--cream-50); }
.mobile-menu a:not(.btn) { padding: 12px 4px; font-weight: 500; color: var(--text-soft); border-bottom: 1px solid var(--sand-200); }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 780px); display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(20,28,20,0.78) 0%, rgba(20,28,20,0.45) 45%, rgba(20,28,20,0.15) 100%),
    linear-gradient(to top, rgba(20,28,20,0.6) 0%, rgba(20,28,20,0) 45%);
}
.hero-content { position: relative; z-index: 1; color: var(--white); padding-top: 40px; padding-bottom: 40px; }
.hero h1 {
  font-size: clamp(2.7rem, 6.5vw, 5rem); font-weight: 500; color: var(--white);
  margin-bottom: 22px; text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.hero-lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 540px; color: rgba(255,255,255,0.92); margin-bottom: 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Trust bar ---------- */
.trust { background: var(--brand); color: var(--cream-50); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 4px; padding: 30px 16px; position: relative;
}
.trust-item:not(:last-child)::after {
  content: ""; position: absolute; right: 0; top: 24%; height: 52%; width: 1px;
  background: rgba(255,255,255,0.15);
}
.trust-num { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; color: var(--gold-500); }
.trust-label { font-size: 0.9rem; color: rgba(255,255,255,0.82); letter-spacing: 0.02em; }

/* ---------- Services ---------- */
.services { background: var(--bg); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius);
  padding: 34px 30px; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--cream-100); color: var(--brand); margin-bottom: 20px;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 10px; }
.service-card p { color: var(--text-soft); font-size: 0.98rem; margin: 0; }
.tag {
  display: inline-block; font-family: var(--sans); font-size: 0.66rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark);
  background: var(--cream-100); padding: 2px 8px; border-radius: 6px; vertical-align: middle; margin-left: 4px;
}
.service-card--cta {
  background: var(--green-800); color: var(--cream-50); border-color: transparent;
  display: flex; flex-direction: column; justify-content: center;
}
.service-card--cta h3 { color: var(--white); }
.service-card--cta p { color: rgba(255,255,255,0.8); }
.link-arrow { color: var(--gold-500); font-weight: 600; margin-top: auto; padding-top: 12px; transition: gap 0.2s; }
.link-arrow:hover { color: var(--white); }

/* ---------- About ---------- */
.about { background: var(--bg-alt); }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about-media { position: relative; }
.about-media img {
  width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 4.4; object-fit: cover; object-position: center 30%;
}
.about-caption {
  position: absolute; left: 16px; bottom: 16px;
  background: rgba(34, 53, 40, 0.92); color: var(--cream-50);
  font-family: var(--sans); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
  padding: 8px 16px; border-radius: 100px; backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
}
.about-body h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 20px; }
.about-body p { color: var(--text-soft); }
.about-body em { font-style: italic; color: var(--brand); }
.verse {
  margin: 28px 0; padding: 18px 24px; border-left: 3px solid var(--accent);
  font-family: var(--serif); font-size: 1.18rem; font-style: italic; color: var(--brand); line-height: 1.5;
}
.verse cite { display: block; margin-top: 8px; font-size: 0.85rem; font-style: normal; font-family: var(--sans); letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- Our Work ---------- */
.work { background: var(--bg); }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.work-item { margin: 0; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.work-item:hover img { transform: scale(1.05); }
.work-item--wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.work-item:not(.work-item--wide) { aspect-ratio: 4 / 3; }

/* ---------- Quote ---------- */
.quote { background: var(--green-900); color: var(--cream-50); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 72px); align-items: start; }
.quote-intro .eyebrow { color: var(--gold-500); }
.quote-intro h2 { color: var(--white); font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 18px; }
.quote-intro > p { color: rgba(255,255,255,0.8); }
.quote-points { margin: 26px 0; display: flex; flex-direction: column; gap: 12px; }
.quote-points li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.92); }
.check { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--brand); color: var(--gold-500); font-size: 0.8rem; flex-shrink: 0; }
.quote-contact { margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.12); }
.quote-contact p { margin: 0 0 4px; color: rgba(255,255,255,0.8); }
.phone-link { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: var(--gold-500); }
.phone-link:hover { color: var(--white); }
.muted { color: rgba(255,255,255,0.45) !important; font-size: 0.82rem; }

/* Form */
.quote-form-wrap { background: var(--cream-50); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-md); }
.form-row { margin-bottom: 18px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--text); margin-bottom: 7px; }
.req { color: var(--accent-dark); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 1rem; color: var(--text);
  background: var(--white); border: 1px solid var(--sand-200); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(77,111,79,0.15);
}
.field.invalid input, .field.invalid select { border-color: #b4472f; box-shadow: 0 0 0 3px rgba(180,71,47,0.12); }
.error { color: #b4472f; font-size: 0.8rem; margin-top: 6px; min-height: 1em; }
.form-note { text-align: center; color: var(--text-muted); font-size: 0.84rem; margin: 14px 0 0; }
.submit-error { text-align: center; color: #b4472f; font-size: 0.9rem; margin: 14px 0 0; }

/* Honeypot: pulled out of view and out of the tab order; bots still see it */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }

.quote-success { text-align: center; padding: 30px 10px; }
.success-icon { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--green-800); color: var(--gold-500); }
.success-icon svg { width: 34px; height: 34px; }
.quote-success h3 { font-size: 1.7rem; color: var(--brand); margin-bottom: 10px; }
.quote-success p { color: var(--text-soft); margin-bottom: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-900); color: rgba(255,255,255,0.7); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand-name { color: var(--white); font-size: 1.3rem; display: block; margin-bottom: 6px; }
.footer-owner { color: var(--gold-500); font-weight: 600; font-size: 0.92rem; letter-spacing: 0.03em; margin: 0 0 14px; }
.verse-small { font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: rgba(255,255,255,0.6); max-width: 360px; line-height: 1.55; }
.footer-col h4 { font-family: var(--sans); font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-500); margin-bottom: 14px; }
.footer-col p { color: rgba(255,255,255,0.7); margin-bottom: 8px; font-size: 0.96rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 0.86rem; color: rgba(255,255,255,0.5); }
.footer-bottom p { margin: 0; }
.to-top:hover { color: var(--white); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; }
  .quote-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu:not([hidden]) { display: flex; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2)::after { display: none; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .work-item--wide { aspect-ratio: 16 / 10; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .hero-actions .btn { flex: 1; }
}
