/* Hernandez Lawn Care and Landscaping — Design DNA
   Mood: Family-owned, hand-stamped warmth. A porch-and-toolbox business, not a trade shop.
   Color: sunny ivory canvas, marigold gold + deep denim blue
   Type: Fredoka (display, rounded) + Work Sans (body, geometric sans)
   Layout: oversized-type hero, left-weighted, hand-stamped badge bleeding off the right edge
   Motion: physical / springy settle, no bounce or elastic
   Signature element: hand-drawn rubber-stamp badge that "stamps down" into place
*/

:root {
  --canvas: oklch(96% 0.03 100);
  --canvas-alt: oklch(93% 0.035 95);
  --ink: oklch(23% 0.02 80);
  --ink-soft: oklch(42% 0.02 80);
  --gold: oklch(72% 0.14 75);
  --gold-dark: oklch(58% 0.15 68);
  --denim: oklch(38% 0.07 250);
  --denim-light: oklch(88% 0.03 250);
  --line: oklch(86% 0.015 90);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, .display {
  font-family: 'Fredoka', sans-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: 'Fredoka', sans-serif; font-size: 19px; font-weight: 600; }
.nav-brand span { color: var(--denim); }

.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(--denim); }

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

/* ---- Hero: oversized type, left-weighted, badge bleeds off edge ---- */
.hero {
  position: relative;
  max-width: 1120px;
  margin: 20px auto 110px;
  padding: 0 32px;
  overflow: visible;
}

.hero-copy { max-width: 720px; position: relative; z-index: 2; }

.hero-copy .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--denim);
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) forwards;
}

.hero-copy h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
  margin-bottom: 22px;
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.1s forwards;
}

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

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

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  display: inline-block;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-1px); }

.btn-secondary {
  border: 1.5px solid var(--line);
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}

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

/* Signature element: hand-stamped badge, stamps down into place */
.stamp-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 190px;
  height: 190px;
  z-index: 3;
  opacity: 0;
  transform: scale(1.6) rotate(-14deg);
  animation: stampDown 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s forwards;
}
.stamp-badge svg { width: 100%; height: 100%; }
@keyframes stampDown {
  0% { opacity: 0; transform: scale(1.7) rotate(-14deg); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: scale(1) rotate(-8deg); }
}
@media (hover: hover) {
  .hero:hover .stamp-badge { animation: stampDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
}

/* ---- 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(--denim);
  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 row list, not a card grid */
.services-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: 90px 1fr 1.2fr;
  gap: 24px;
  align-items: start;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.service-row .num {
  font-family: 'Fredoka', sans-serif;
  font-size: 32px;
  color: var(--gold-dark);
  font-weight: 600;
}
.service-row h3 { font-size: 20px; margin-bottom: 4px; }
.service-row p { font-size: 15px; color: var(--ink-soft); }

/* ---- Rating strip ---- */
.rating-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22,1,0.36,1) 0.46s forwards;
}
.rating-strip .stars { color: var(--gold-dark); font-size: 18px; letter-spacing: 2px; }
.rating-strip span.rt-text { font-size: 14px; color: var(--ink-soft); }

/* ---- Testimonial / trust note (generic, unattributed) ---- */
.trust-note {
  border-left: 3px solid var(--denim);
  padding-left: 28px;
  max-width: 680px;
  margin: 48px auto 0;
}
.trust-note p { font-size: 20px; font-family: 'Fredoka', sans-serif; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.trust-note cite { font-size: 14px; color: var(--ink-soft); font-style: normal; }

/* ---- CTA band ---- */
.cta-band {
  background: var(--denim);
  color: white;
  text-align: center;
  padding: 76px 32px;
  border-radius: 28px;
}
.cta-band h2 { color: white; font-size: clamp(26px, 3.5vw, 38px); margin-bottom: 14px; }
.cta-band p { color: var(--denim-light); margin-bottom: 28px; }
.cta-band .btn-primary { background: var(--gold); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--gold-dark); }

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

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

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  max-width: 1120px;
  margin: 0 auto 80px;
  padding: 0 32px;
}
.about-layout p { margin-bottom: 18px; color: var(--ink-soft); }
.about-stats { display: flex; flex-direction: column; gap: 24px; }
.stat { border-left: 3px solid var(--gold-dark); padding-left: 20px; }
.stat strong { font-family: 'Fredoka', sans-serif; font-size: 28px; display: block; color: var(--ink); }
.stat span { font-size: 14px; color: var(--ink-soft); }

.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: 18px;
  padding: 36px;
  background: var(--canvas-alt);
}
.contact-card a.phone { font-family: 'Fredoka', sans-serif; font-size: 28px; color: var(--denim); 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: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  background: var(--canvas);
}
form.light-form button {
  background: var(--gold);
  color: var(--ink);
  border: none;
  padding: 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s ease;
}
form.light-form button:hover { background: var(--gold-dark); }

@media (max-width: 780px) {
  .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 50px 1fr; }
  .service-row p { grid-column: 2 / 3; }
  .nav-links { display: none; }
  .stamp-badge { width: 130px; height: 130px; top: -4px; right: 0; }
}
