/* =============================================================
   Nightrise Lawn & Landscape — golden-hour design system
   Palette, type, layout, and components. Dependency-free.
   ============================================================= */

:root {
  /* Golden-hour palette: deep pine -> warm light */
  --pine-900: #0e2a20;   /* deepest, near-night canopy   */
  --pine-800: #12352a;
  --pine-700: #184536;   /* primary brand green          */
  --pine-600: #25624a;
  --moss-500: #3f8762;   /* lively foliage               */
  --honey-500: #e0a02e;  /* the "rise" — golden accent   */
  --honey-400: #efb84e;
  --ember-500: #d97a39;  /* warm low-sun ember           */
  --parch-50:  #f5f6f0;  /* barely-sage off-white        */
  --parch-100: #ecefe4;
  --ink-900:   #16201b;  /* body ink                     */
  --ink-600:   #4a5750;
  --line:      rgba(20,40,30,.14);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
  --gutter: clamp(1.1rem, 4vw, 3rem);
  --radius: 18px;
  --radius-sm: 11px;
  --shadow: 0 18px 50px -22px rgba(14,42,32,.45);
  --shadow-sm: 0 8px 22px -14px rgba(14,42,32,.5);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--parch-50);
  line-height: 1.6;
  font-size: 1.02rem;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.04;
  letter-spacing: -.012em;
  margin: 0;
  font-optical-sizing: auto;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--moss-500);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--honey-500);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--honey-500);
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 700; font-size: .98rem;
  padding: .92rem 1.5rem; border-radius: 999px;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  white-space: nowrap;
}
.btn--gold { background: var(--honey-500); color: var(--pine-900); box-shadow: 0 10px 24px -10px rgba(224,160,46,.8); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(224,160,46,.9); }
.btn--pine { background: var(--pine-700); color: var(--parch-50); }
.btn--pine:hover { transform: translateY(-2px); background: var(--pine-800); }
.btn--ghost { background: transparent; color: var(--pine-700); border: 1.5px solid var(--line); }
.btn--ghost:hover { border-color: var(--pine-700); background: rgba(24,69,54,.05); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* =============================================================
   TOP BAR + HEADER
   ============================================================= */
.topbar {
  background: var(--pine-900); color: #d6e3da;
  font-size: .85rem; font-weight: 500;
}
.topbar .wrap { display: flex; gap: 1.2rem; align-items: center; justify-content: space-between; padding-block: .5rem; }
.topbar a { color: #e6efe8; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--honey-400); }
.topbar__left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar__right { display: flex; gap: 1rem; align-items: center; }
.topbar .sep { opacity: .35; }
@media (max-width: 720px){ .topbar__left .email { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(245,246,240,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .85rem; }

.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--pine-800); }
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.34rem; letter-spacing: -.02em; line-height: 1; }
.brand__sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--moss-500); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { text-decoration: none; color: var(--ink-900); font-weight: 600; font-size: .96rem; padding: .55rem .8rem; border-radius: 10px; transition: background .2s, color .2s; }
.nav a:hover { background: rgba(24,69,54,.07); color: var(--pine-700); }
.nav__cta { margin-left: .5rem; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--pine-800); margin: 5px 0; transition: .3s; }

@media (max-width: 940px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(320px, 82vw); background: var(--parch-50);
    flex-direction: column; align-items: stretch; gap: .2rem; padding: 5.5rem 1.4rem 2rem;
    transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: var(--shadow); }
  .nav.is-open { transform: translateX(0); }
  .nav a { padding: .85rem 1rem; font-size: 1.05rem; }
  .nav__cta { margin: .6rem 0 0; text-align: center; justify-content: center; }
  .menu-toggle { display: block; z-index: 70; }
  .menu-toggle.is-open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .menu-toggle.is-open span:nth-child(2){ opacity: 0; }
  .menu-toggle.is-open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
}

/* =============================================================
   HERO — layered golden-hour landscape (CSS/SVG, no photos needed)
   ============================================================= */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #f9ead0 0%, var(--parch-50) 62%); isolation: isolate; }
.hero__scene { position: absolute; inset: 0; z-index: -2; }
.hero__sun {
  position: absolute; left: 50%; top: 28%; transform: translate(-50%,-50%);
  width: min(54vw, 460px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,221,148,.95) 0%, rgba(240,184,78,.55) 38%, rgba(240,184,78,0) 70%);
  z-index: -2; animation: rise 1.6s var(--ease) both;
}
@keyframes rise { from { transform: translate(-50%, -20%) scale(.8); opacity: 0; } to { transform: translate(-50%,-50%) scale(1); opacity: 1; } }
.hero__hills { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: auto; }

.hero .wrap { position: relative; padding-block: clamp(3.2rem, 8vw, 6rem) clamp(8rem, 16vw, 12rem); }
.hero__inner { max-width: 660px; }
.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  letter-spacing: -.02em; margin-top: 1.1rem;
}
.hero h1 em { font-style: italic; color: var(--ember-500); font-weight: 500; }
.hero__lede { font-size: clamp(1.05rem, 2.3vw, 1.28rem); color: var(--ink-600); max-width: 33ch; margin: 1.3rem 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.3rem 2rem; margin-top: 2.4rem; }
.hero__trust div { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .92rem; color: var(--pine-800); }
.hero__trust svg { color: var(--moss-500); flex: none; }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =============================================================
   QUOTE CARD (floats over hero/section seam)
   ============================================================= */
.quotecard {
  position: relative; z-index: 5; margin-top: -6.5rem;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem);
}
.quotecard__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
@media (max-width: 820px){ .quotecard__grid { grid-template-columns: 1fr; } }
.quotecard h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); }
.quotecard p.sub { color: var(--ink-600); margin: .6rem 0 0; }

.checker { margin-top: 1.2rem; }
.checker__row { display: flex; gap: .6rem; }
.checker input {
  flex: 1; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; background: var(--parch-50);
}
.checker input:focus { outline: 2px solid var(--honey-500); outline-offset: 1px; border-color: transparent; }
.checker__result { margin-top: .8rem; font-weight: 600; font-size: .95rem; min-height: 1.4em; }
.checker__result.ok { color: var(--pine-600); }
.checker__result.no { color: var(--ember-500); }
.checker__towns { margin-top: .9rem; font-size: .82rem; color: var(--ink-600); }
.checker__towns b { color: var(--pine-700); }

/* the form */
.qform { display: grid; gap: .7rem; }
.qform .field { display: grid; gap: .3rem; }
.qform label { font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--pine-800); }
.qform input, .qform select, .qform textarea {
  font: inherit; padding: .72rem .85rem; border: 1.5px solid var(--line);
  border-radius: 11px; background: #fff; color: var(--ink-900); width: 100%;
}
.qform input:focus, .qform select:focus, .qform textarea:focus { outline: 2px solid var(--honey-500); outline-offset: 1px; border-color: transparent; }
.qform .two { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
@media (max-width: 460px){ .qform .two { grid-template-columns: 1fr; } }
.qform textarea { resize: vertical; min-height: 78px; }
.qform__status { font-size: .9rem; font-weight: 600; min-height: 1.2em; }
.qform__status.ok { color: var(--pine-600); }
.qform__status.err { color: var(--ember-500); }

/* =============================================================
   SECTIONS
   ============================================================= */
section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head { max-width: 620px; margin-bottom: 2.6rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 4.4vw, 3rem); margin-top: .8rem; }
.section-head p { color: var(--ink-600); font-size: 1.08rem; margin: .9rem 0 0; }

/* services grid */
.services { background: var(--parch-50); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
@media (max-width: 900px){ .svc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .svc-grid { grid-template-columns: 1fr; } }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.5rem; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.svc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--honey-500), var(--moss-500)); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.svc:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.svc:hover::after { transform: scaleX(1); }
.svc__icon { width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; background: rgba(63,135,98,.12); color: var(--pine-700); margin-bottom: 1.1rem; }
.svc h3 { font-size: 1.32rem; }
.svc p { color: var(--ink-600); margin: .55rem 0 1.1rem; font-size: .96rem; flex: 1; }
.svc__more { font-weight: 700; font-size: .9rem; color: var(--pine-700); display: inline-flex; align-items: center; gap: .4rem; }
.svc:hover .svc__more .arrow { transform: translateX(3px); }
.svc__more .arrow { transition: transform .25s var(--ease); }

/* split / about */
.about { background: linear-gradient(180deg, var(--parch-50), var(--parch-100)); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px){ .split { grid-template-columns: 1fr; } }
.about__media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3.4; background: linear-gradient(160deg,#2c6249,#0e2a20); display: grid; place-items: center; }
.about__media .placeholder-note { color: rgba(255,255,255,.55); font-size: .8rem; text-align: center; padding: 1rem; max-width: 22ch; }
.about__media .badge { position: absolute; right: 1rem; bottom: 1rem; background: var(--honey-500); color: var(--pine-900); border-radius: 14px; padding: .9rem 1.1rem; font-weight: 800; box-shadow: var(--shadow-sm); line-height: 1; }
.about__media .badge span { display: block; font-size: 2rem; font-family: var(--font-display); }
.about__media .badge small { font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.about p { color: var(--ink-600); font-size: 1.05rem; }
.about ul { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.about li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; color: var(--pine-800); }
.about li svg { color: var(--moss-500); flex: none; margin-top: 2px; }

/* process / steps (a real sequence — numbering earns its place) */
.process { background: var(--pine-800); color: #e8efe9; }
.process .section-head h2 { color: #fff; }
.process .section-head p { color: #b9cdc1; }
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; counter-reset: step; }
@media (max-width: 760px){ .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 2.4rem; }
.step__n { font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--pine-900); background: var(--honey-500); width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; position: absolute; top: 0; left: 0; }
.step h3 { color: #fff; font-size: 1.28rem; margin-bottom: .5rem; }
.step p { color: #b9cdc1; font-size: .98rem; margin: 0; }

/* testimonials */
.quotes { background: var(--parch-50); }
.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
@media (max-width: 860px){ .quote-grid { grid-template-columns: 1fr; } }
.tq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.tq__stars { color: var(--honey-500); letter-spacing: 2px; font-size: 1rem; }
.tq p { margin: 0; font-size: 1.02rem; color: var(--ink-900); flex: 1; }
.tq__who { display: flex; align-items: center; gap: .7rem; }
.tq__av { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(150deg, var(--moss-500), var(--pine-700)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .9rem; }
.tq__who b { display: block; font-size: .95rem; }
.tq__who small { color: var(--ink-600); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--pine-700), var(--pine-900)); color: #fff; position: relative; overflow: hidden; }
.cta-band__sun { position: absolute; right: -6%; top: -40%; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(240,184,78,.5), transparent 65%); }
.cta-band .wrap { position: relative; display: flex; gap: 2rem; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.7rem); max-width: 18ch; }
.cta-band p { color: #cbdccf; margin: .7rem 0 0; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* =============================================================
   FOOTER
   ============================================================= */
.site-footer { background: var(--pine-900); color: #cfe0d5; padding-block: clamp(3rem,7vw,4.5rem) 0; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 860px){ .foot-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } }
@media (max-width: 520px){ .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-body); font-weight: 800; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--honey-400); margin: 0 0 1rem; }
.site-footer a { color: #cfe0d5; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .96rem; }
.foot-brand .brand__name { color: #fff; }
.foot-brand p { color: #9fb6a8; font-size: .94rem; margin: 1rem 0 0; max-width: 30ch; }
.foot-contact { display: grid; gap: .6rem; font-size: .96rem; }
.foot-contact a { display: inline-flex; gap: .55rem; align-items: flex-start; }
.foot-hours { font-size: .92rem; display: grid; gap: .35rem; }
.foot-hours .row { display: flex; justify-content: space-between; gap: 1rem; }
.foot-hours .closed { color: #7f978a; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.6rem; padding-block: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .85rem; color: #8ea99a; }

/* =============================================================
   MOBILE STICKY CALL BAR
   ============================================================= */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; gap: .5rem; padding: .55rem; background: rgba(14,42,32,.96); backdrop-filter: blur(8px); }
.callbar a { flex: 1; text-align: center; justify-content: center; }
@media (max-width: 720px){ .callbar { display: flex; } body { padding-bottom: 70px; } }

/* utility */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
hr.rule { border: 0; height: 1px; background: var(--line); margin: 0; }
