/* DLT Lawn Care — Design DNA
   Mood: Fresh, humid-climate lush growth. Rio Grande Valley energy, not
   West Texas dry-heat trade-shop. Feels closer to a growth chart than a
   toolbox: things are thriving fast down here and need to be kept in line.
   Color: cool mint canvas, saturated jungle green + citrus-lime accent + gulf teal
   Type: Fraunces (display) + Inter (body) — same pairing as the template,
   weighted and sized differently (heavier display, wider tracking on labels)
   Layout: oversized stacked-type hero (no split grid), alternating
   editorial service rows (not a card grid), horizontal stat strip,
   vertical accent rail on inner pages
   Motion: calm, slow fades, one line-draw signature — no wipes
   Signature element: a hand-drawn climbing vine/tendril line with leaf
   nodes that draws itself up through the hero, standing in for how fast
   things grow in RGV humidity
*/

:root {
  --canvas: oklch(96% 0.012 155);
  --canvas-alt: oklch(91% 0.025 155);
  --ink: oklch(19% 0.025 200);
  --ink-soft: oklch(40% 0.02 200);
  --green: oklch(42% 0.13 148);
  --green-dark: oklch(33% 0.13 148);
  --lime: oklch(82% 0.16 128);
  --aqua: oklch(58% 0.09 210);
  --line: oklch(83% 0.015 160);
}

* { 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: 700;
  letter-spacing: -0.015em;
  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: 700; }
.nav-brand span { color: var(--green); }

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

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

/* ---- Hero: oversized stacked type, full width, signature vine behind ---- */
.hero {
  position: relative;
  max-width: 1120px;
  margin: 20px auto 0;
  padding: 60px 32px 40px;
  overflow: hidden;
}

.hero-vine {
  position: absolute;
  top: -20px;
  right: -40px;
  width: 340px;
  height: 620px;
  pointer-events: none;
  z-index: 0;
}

.vine-path {
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  animation: growVine 2.6s ease-out 0.3s forwards;
}
.leaf {
  opacity: 0;
  animation: leafIn 0.6s ease-out forwards;
}
@keyframes growVine { to { stroke-dashoffset: 0; } }
@keyframes leafIn { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: scale(1); } }

.hero-copy { position: relative; z-index: 1; max-width: 760px; }

.hero-copy .section-label { margin-bottom: 18px; }

.hero-copy h1 {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}

.hero-copy .sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.15s forwards;
}

.hero-ctas { display: flex; gap: 16px; margin-bottom: 40px; opacity: 0; animation: fadeUp 0.8s ease 0.3s forwards; }

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

.btn-secondary {
  border: 1.5px solid var(--line);
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

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

/* ---- Stat strip (horizontal, not stacked) ---- */
.stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}
.stat-strip .stat { display: flex; flex-direction: column; }
.stat-strip .stat strong { font-family: 'Fraunces', serif; font-size: 24px; color: var(--green); }
.stat-strip .stat span { font-size: 13px; color: var(--ink-soft); }

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

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

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

/* ---- Services: alternating editorial rows, not a card grid ---- */
.services-rows { margin-top: 48px; display: flex; flex-direction: column; }

.service-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.service-row:first-child { padding-top: 0; }
.service-row:nth-child(even) { grid-template-columns: 1fr 120px; }
.service-row:nth-child(even) .num { order: 2; text-align: right; }
.service-row:nth-child(even) .service-copy { order: 1; }

.service-row .num {
  font-family: 'Fraunces', serif;
  font-size: 44px;
  color: var(--lime);
  -webkit-text-stroke: 1.5px var(--green);
  color: transparent;
  line-height: 1;
}

.service-copy h3 { font-size: 21px; margin-bottom: 10px; }
.service-copy p { font-size: 15px; color: var(--ink-soft); max-width: 560px; }

/* ---- Testimonial strip ---- */
.testimonial {
  border-left: 3px solid var(--green);
  padding-left: 28px;
  max-width: 680px;
  margin: 48px auto 0;
}
.testimonial p { font-size: 20px; font-family: 'Fraunces', serif; font-style: italic; color: var(--ink); margin-bottom: 12px; }
.testimonial cite { font-size: 14px; color: var(--ink-soft); font-style: normal; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--green);
  color: white;
  text-align: center;
  padding: 72px 32px;
  border-radius: 20px;
}
.cta-band h2 { color: white; font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 14px; }
.cta-band p { color: oklch(94% 0.03 148); margin-bottom: 28px; }
.cta-band .btn-primary { background: var(--lime); color: var(--green-dark); }
.cta-band .btn-primary:hover { background: white; }

/* ---- 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, 46px); margin-bottom: 16px; }
.page-header p { font-size: 18px; color: var(--ink-soft); }

/* About: vertical accent rail on the left, content on the right */
.about-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  max-width: 1120px;
  margin: 0 auto 80px;
  padding: 0 32px;
}
.rail {
  border-left: 4px solid var(--green);
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.rail .rail-stat strong { font-family: 'Fraunces', serif; font-size: 22px; display: block; color: var(--green); }
.rail .rail-stat span { font-size: 13px; color: var(--ink-soft); }
.about-copy p { margin-bottom: 18px; color: var(--ink-soft); font-size: 16px; }

.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: 16px;
  padding: 36px;
  background: var(--canvas-alt);
}
.contact-card a.phone { font-family: 'Fraunces', serif; font-size: 28px; color: var(--green); 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: 8px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--canvas);
}
form.light-form button {
  background: var(--green);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  margin-top: 8px;
}
form.light-form button:hover { background: var(--green-dark); }

@media (max-width: 780px) {
  .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .service-row, .service-row:nth-child(even) { grid-template-columns: 60px 1fr; }
  .nav-links { display: none; }
  .hero-vine { opacity: 0.35; width: 220px; height: 420px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy h1, .hero-copy .sub, .hero-ctas, .stat-strip, .vine-path, .leaf {
    animation: none !important;
    opacity: 1 !important;
    stroke-dashoffset: 0 !important;
  }
}
