/* De Leon's Lawn Care & Tree Trimming Services — Design DNA
   Mood: Deep canopy shade meeting Rio Grande Valley gold light. Grounded, humid,
   green-forward — not a dry West Texas trade shop.
   Color: moss-tinted canvas, deep forest canopy green + citrus gold accent
   Type: Fraunces (display) + Inter (body)
   Layout: full-width oversized headline + horizontal canopy band (no split-screen),
   asymmetric featured-service layout, stacked stat strip on inner pages
   Motion: calm, slow fades with a slightly longer settle than default
   Signature element: hand-drawn tree canopy line with leaf marks, drawing across
   a full-width band beneath the hero headline
*/

:root {
  --canvas: oklch(96% 0.015 145);
  --canvas-alt: oklch(92% 0.02 145);
  --ink: oklch(23% 0.02 145);
  --ink-soft: oklch(42% 0.015 145);
  --canopy: oklch(34% 0.09 152);
  --canopy-dark: oklch(26% 0.08 152);
  --gold: oklch(74% 0.14 80);
  --gold-dark: oklch(58% 0.15 78);
  --line: oklch(85% 0.015 145);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.6;
}

h1, h2, h3, .display {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 32px; }

/* ---- Nav ---- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  max-width: 1120px;
  margin: 0 auto;
}

.nav-brand { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; }
.nav-brand span { color: var(--canopy); }

.nav-links { display: flex; gap: 32px; font-size: 15px; }
.nav-links a { color: var(--ink-soft); transition: color 0.25s ease; }
.nav-links a:hover { color: var(--canopy); }

.nav-cta {
  background: var(--canopy);
  color: white !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
}

/* ---- Hero: oversized type, full-width, no split screen ---- */
.hero {
  max-width: 1120px;
  margin: 32px auto 0;
  padding: 40px 32px 0;
}

.hero-copy { max-width: 760px; }

.hero-copy h1 {
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) forwards;
}

.hero-copy .sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.18s forwards;
}

.hero-ctas { display: flex; gap: 16px; opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.22,1,0.36,1) 0.34s forwards; }

.btn-primary {
  background: var(--canopy);
  color: white;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  display: inline-block;
  transition: background 0.25s ease;
}
.btn-primary:hover { background: var(--canopy-dark); }

.btn-secondary {
  border: 1.5px solid var(--line);
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.25s ease;
}
.btn-secondary:hover { border-color: var(--canopy); }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Signature element: canopy line band, full width, beneath hero copy */
.canopy-band {
  position: relative;
  max-width: 1120px;
  margin: 56px auto 0;
  padding: 0 32px;
}
.canopy-svg { width: 100%; height: auto; display: block; }
.canopy-line {
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
  animation: drawCanopy 2.6s ease-out 0.5s forwards;
}
.leaf-mark {
  opacity: 0;
  animation: leafIn 0.6s ease-out forwards;
}
@keyframes drawCanopy {
  to { stroke-dashoffset: 0; }
}
@keyframes leafIn {
  to { opacity: 1; }
}
@media (hover: hover) {
  .canopy-band:hover .canopy-line { animation: drawCanopy 1.5s ease-out forwards; }
}

.rating-badge {
  position: absolute;
  top: -18px;
  right: 32px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  display: flex;
  gap: 8px;
  align-items: center;
  box-shadow: 0 6px 20px oklch(23% 0.02 145 / 0.06);
}
.rating-badge strong { color: var(--gold-dark); }

/* ---- Sections ---- */
section { padding: 80px 0; }
.section-alt { background: var(--canvas-alt); }

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  color: var(--canopy);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-head h2 { font-size: clamp(28px, 3.5vw, 38px); margin-bottom: 16px; max-width: 640px; }
.section-head p { color: var(--ink-soft); font-size: 17px; max-width: 560px; }

/* ---- Services: asymmetric, one featured block + mixed grid ---- */
.services-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.service-featured {
  background: var(--canopy);
  color: white;
  border-radius: 8px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
}
.service-featured .num { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 16px; display: block; }
.service-featured h3 { color: white; font-size: 24px; margin-bottom: 12px; }
.service-featured p { color: oklch(94% 0.02 145); font-size: 15px; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-card {
  border-top: 1px solid var(--line);
  padding: 22px 0 0;
}
.service-card h3 { font-size: 18px; margin-bottom: 8px; }
.service-card p { font-size: 14.5px; color: var(--ink-soft); }
.service-card .num { color: var(--canopy); font-size: 13px; font-weight: 700; letter-spacing: 0.05em; margin-bottom: 10px; display: block; }

/* ---- Trust / rating strip (no side stripes, hairline framed) ---- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 48px 0;
  text-align: center;
}
.trust-strip .big-rating {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 6vw, 64px);
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 8px;
}
.trust-strip p { color: var(--ink-soft); font-size: 15px; max-width: 480px; margin: 0 auto; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--gold);
  color: var(--canopy-dark);
  text-align: center;
  padding: 72px 32px;
  border-radius: 0;
}
.cta-band h2 { color: var(--canopy-dark); font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 14px; }
.cta-band p { color: oklch(30% 0.06 152); margin-bottom: 28px; }
.cta-band .btn-primary { background: var(--canopy-dark); color: white; }
.cta-band .btn-primary:hover { background: var(--canopy); }

/* ---- Footer ---- */
footer {
  padding: 40px 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---- Inner page layout (about/contact) ---- */
.page-header {
  padding: 60px 32px 40px;
  max-width: 780px;
  margin: 0 auto;
}
.page-header h1 { font-size: clamp(32px, 4.5vw, 44px); margin-bottom: 16px; }
.page-header p { font-size: 18px; color: var(--ink-soft); }

/* Stacked stat strip (about) — differs from Edward's sidebar rail */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1120px;
  margin: 0 auto 64px;
  padding: 0 32px;
}
.stat-strip .stat {
  padding: 24px 24px 0;
  border-top: 1px solid var(--line);
}
.stat-strip .stat + .stat { border-left: none; }
.stat strong { font-family: 'Fraunces', serif; font-size: 30px; display: block; color: var(--canopy); margin-bottom: 6px; }
.stat span { font-size: 14px; color: var(--ink-soft); }

.about-copy {
  max-width: 720px;
  margin: 0 auto 80px;
  padding: 0 32px;
}
.about-copy p { margin-bottom: 18px; color: var(--ink-soft); font-size: 17px; }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1120px;
  margin: 0 auto 80px;
  padding: 0 32px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 36px;
  background: var(--canvas-alt);
}
.contact-card a.phone { font-family: 'Fraunces', serif; font-size: 26px; color: var(--canopy); display: block; margin: 8px 0 24px; }
.contact-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.contact-row:last-child { border-bottom: none; }

form.light-form { display: flex; flex-direction: column; gap: 16px; }
form.light-form label { font-size: 14px; font-weight: 600; color: var(--ink); }
form.light-form input, form.light-form select, form.light-form textarea {
  border: 1.5px solid var(--line);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--canvas);
}
form.light-form textarea { resize: vertical; min-height: 90px; }
form.light-form button {
  background: var(--canopy);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.25s ease;
}
form.light-form button:hover { background: var(--canopy-dark); }

@media (max-width: 780px) {
  .services-layout, .stat-strip, .contact-layout { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .stat-strip .stat { border-left: none !important; }
  .nav-links { display: none; }
  .rating-badge { position: static; margin-bottom: 16px; display: inline-flex; }
}
