/* Lucky Lawns — Design DNA
   Register: BRAND
   Mood: Dry West Texas prairie gold, not Rio Grande Valley lush-green. Playful,
   confident "your luck just changed" energy without going cartoonish.
   Anchor refs: a wheat field at golden hour, a scratch-off ticket, a horseshoe
   nailed above a shop door
   Color: warm wheat/khaki canvas, deep espresso ink, clover-green used as a
   sparing pop accent only (never dominant — differentiates from the four other
   green-forward lawn sites in this build set), lucky-gold as the primary brand hue
   Type: Lilita One (playful rounded display) + Nunito Sans (rounded humanist body)
   Layout: editorial columns with pull-quote style callouts, not a card grid
   Motion: physical, springy settle — no bounce/elastic
   Signature element: four-leaf clover badge that flips into place like a coin,
   used as the trust mark
*/

:root {
  --canvas: oklch(93% 0.03 95);
  --canvas-alt: oklch(88% 0.035 92);
  --panel: oklch(97% 0.018 95);
  --ink: oklch(24% 0.02 90);
  --ink-soft: oklch(43% 0.02 88);
  --gold: oklch(76% 0.15 85);
  --gold-dark: oklch(62% 0.15 78);
  --clover: oklch(50% 0.14 145);
  --clover-dark: oklch(38% 0.12 145);
  --line: oklch(80% 0.02 90);
}

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

html { scroll-behavior: smooth; }

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

h1, h2, h3, .display {
  font-family: 'Lilita One', sans-serif;
  font-weight: 400;
  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: 26px 32px;
  max-width: 1120px;
  margin: 0 auto;
}

.nav-brand { font-family: 'Lilita One', sans-serif; font-size: 22px; }
.nav-brand span { color: var(--clover); }

.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 700; }
.nav-links a { color: var(--ink-soft); transition: color 0.25s ease; }
.nav-links a:hover { color: var(--gold-dark); }

.nav-cta {
  background: var(--gold-dark);
  color: white !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}
.nav-cta:hover { background: oklch(52% 0.15 76); }

/* ---- Hero ---- */
.hero {
  max-width: 1120px;
  margin: 20px auto 0;
  padding: 40px 32px 0;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(36px, 5.6vw, 58px);
  line-height: 1.08;
  margin-bottom: 20px;
}

.hero-copy .sub {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 500px;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold-dark);
  color: white;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.34,1.4,0.64,1), background 0.25s ease;
}
.btn-primary:hover { background: oklch(52% 0.15 76); transform: translateY(-2px); }

.btn-secondary {
  border: 2px solid var(--clover);
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 15px;
  color: var(--clover-dark);
  transition: transform 0.3s cubic-bezier(0.34,1.4,0.64,1), background 0.25s ease;
}
.btn-secondary:hover { background: var(--clover); color: white; transform: translateY(-2px); }

/* Signature: clover coin-flip badge */
.clover-badge {
  justify-self: end;
  width: 168px;
  height: 168px;
  background: var(--panel);
  border: 3px solid var(--gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px oklch(24% 0.02 90 / 0.14);
  animation: coinFlip 1.1s cubic-bezier(0.34,1.4,0.64,1) forwards;
  transform: rotateY(90deg);
}
.clover-badge svg { width: 84px; height: 84px; }
@keyframes coinFlip {
  0% { transform: rotateY(90deg); }
  60% { transform: rotateY(-14deg); }
  100% { transform: rotateY(0deg); }
}

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

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

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

/* ---- Services: editorial columns with pull-quote callouts ---- */
.editorial-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  margin-top: 48px;
}
.editorial-col { columns: 2; column-gap: 32px; }
.service-block {
  break-inside: avoid;
  margin-bottom: 28px;
}
.service-block .num { color: var(--gold-dark); font-size: 13px; font-weight: 800; letter-spacing: 0.06em; margin-bottom: 8px; display: block; }
.service-block h3 { font-size: 18px; margin-bottom: 8px; }
.service-block p { font-size: 14.5px; color: var(--ink-soft); }

.pull-quote {
  border-left: 4px solid var(--clover);
  padding-left: 24px;
  font-family: 'Lilita One', sans-serif;
  font-size: 24px;
  line-height: 1.3;
  color: var(--clover-dark);
  align-self: start;
  position: sticky;
  top: 32px;
}

/* ---- Trust / rating strip ---- */
.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: 'Lilita One', sans-serif;
  font-size: clamp(36px, 5.5vw, 54px);
  color: var(--gold-dark);
  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(--clover);
  color: white;
  text-align: center;
  padding: 72px 32px;
  border-radius: 24px;
}
.cta-band h2 { color: white; font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 14px; }
.cta-band p { color: oklch(94% 0.03 145); margin-bottom: 28px; }
.cta-band .btn-primary { background: var(--gold); color: var(--clover-dark); }
.cta-band .btn-primary:hover { background: var(--gold-dark); color: 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 ---- */
.page-header {
  padding: 56px 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); }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto 64px;
  padding: 0 32px;
}
.stat-strip .stat {
  padding: 24px;
  background: var(--panel);
  border-radius: 16px;
  border: 1px solid var(--line);
}
.stat strong { font-family: 'Lilita One', sans-serif; font-size: 26px; display: block; color: var(--clover-dark); margin-bottom: 6px; }
.stat span { font-size: 14px; color: var(--ink-soft); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 1120px;
  margin: 0 auto 80px;
  padding: 0 32px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 36px;
  background: var(--panel);
}
.contact-card a.phone { font-family: 'Lilita One', sans-serif; font-size: 28px; color: var(--gold-dark); 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: 800; color: var(--ink); }
form.light-form input, form.light-form select, form.light-form textarea {
  border: 2px solid var(--line);
  border-radius: 12px;
  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(--clover);
  color: white;
  border: none;
  border-radius: 999px;
  padding: 14px;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.25s ease, transform 0.3s cubic-bezier(0.34,1.4,0.64,1);
}
form.light-form button:hover { background: var(--clover-dark); transform: translateY(-2px); }

@media (max-width: 780px) {
  .hero { grid-template-columns: 1fr; }
  .clover-badge { justify-self: start; }
  .editorial-layout { grid-template-columns: 1fr; }
  .editorial-col { columns: 1; }
  .pull-quote { position: static; }
  .stat-strip, .contact-layout { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
