/* Jomass Landscaping — single stylesheet. No webfonts, no JS, no frameworks. */

:root {
  --ink:        #14231a;
  --ink-soft:   #33473a;
  --muted:      #5d7466;
  --line:       #dde6de;
  --line-soft:  #eaf0ea;
  --bg:         #ffffff;
  --bg-alt:     #f4f8f4;
  --accent:     #17683c;
  --accent-dim: #0f4e2c;
  --accent-bg:  #e7f2ea;
  --sun:        #b45309;
  --sun-bg:     #fdf1e0;
  --on-accent:  #ffffff;
  --radius:     12px;
  --wrap:       1120px;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 1px 2px rgba(20,35,26,.08), 0 8px 24px -12px rgba(20,35,26,.22);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink:        #eaf3ec;
    --ink-soft:   #c3d5c8;
    --muted:      #93ab9a;
    --line:       #23342a;
    --line-soft:  #1a2820;
    --bg:         #0c130f;
    --bg-alt:     #121c16;
    --accent:     #5fd48d;
    --accent-dim: #8ce7b0;
    --accent-bg:  #16281d;
    --sun:        #f0a94a;
    --sun-bg:     #2a1e0c;
    --on-accent:  #06120b;
    --shadow: 0 1px 2px rgba(0,0,0,.5), 0 8px 24px -12px rgba(0,0,0,.7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink-soft);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.022em; }
h1 { font-size: clamp(2.25rem, 6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); font-weight: 780; }
h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.012em; }
p  { margin: 0 0 1.1em; }
a  { color: var(--accent); }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--on-accent);
  padding: 12px 18px; border-radius: 0 0 var(--radius) 0; font-weight: 650;
}
.skip:focus { left: 0; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- header ---------- */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky; top: 0; z-index: 20;
}
.head-inner { display: flex; align-items: center; gap: 16px; min-height: 72px; }

.brand {
  font-weight: 800; font-size: 1.18rem; color: var(--ink);
  text-decoration: none; letter-spacing: -0.032em; margin-right: auto;
  display: inline-flex; align-items: center; gap: 10px;
}
.brand span { color: var(--accent); }
.brand .mono {
  width: 34px; height: 34px; flex: none; border-radius: 50%;
  border: 2px solid var(--accent); color: var(--accent);
  display: grid; place-items: center;
  font-size: .8rem; font-weight: 800; letter-spacing: -0.05em;
}

.nav { display: flex; gap: 2px; align-items: center; }
.nav a {
  color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 600;
  padding: 9px 13px; border-radius: 8px;
}
.nav a:hover { color: var(--ink); background: var(--bg-alt); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-bg); }

.head-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--on-accent);
  text-decoration: none; font-weight: 750; font-size: .95rem;
  padding: 11px 18px; border-radius: 999px; white-space: nowrap;
}
.head-call:hover { background: var(--accent-dim); }
.head-call svg { width: 16px; height: 16px; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; font-family: inherit; min-height: 52px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-dim); transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--bg); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn-big { font-size: 1.12rem; padding: 18px 32px; min-height: 60px; }

/* ---------- sections ---------- */
section { padding: 68px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.section-head { max-width: 640px; margin-bottom: 38px; }
.section-head p { color: var(--muted); margin-bottom: 0; font-size: 1.05rem; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .12em; font-size: .75rem;
  font-weight: 800; color: var(--accent); margin-bottom: 14px;
}

/* ---------- hero ---------- */
.hero {
  padding: 84px 0 66px;
  background:
    radial-gradient(1100px 460px at 78% -8%, var(--accent-bg), transparent 62%),
    linear-gradient(180deg, var(--bg-alt), var(--bg) 78%);
  border-bottom: 1px solid var(--line-soft);
}
.hero h1 { max-width: 15ch; }
.hero .lede { font-size: 1.22rem; color: var(--ink-soft); max-width: 46ch; }

.hero-grid {
  display: grid; gap: 48px; align-items: start;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 34px; } }

/* the estimate card — the conversion point on the widest screens */
.call-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 16px; padding: 30px 28px; box-shadow: var(--shadow);
}
.call-card .cc-label {
  font-size: .74rem; text-transform: uppercase; letter-spacing: .11em;
  font-weight: 800; color: var(--muted); margin: 0 0 10px;
}
.call-card .num {
  display: inline-block; font-size: clamp(1.9rem, 4vw, 2.35rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--accent); text-decoration: none; line-height: 1.05;
}
.call-card .num:hover { color: var(--accent-dim); }
.call-card .who { font-size: .96rem; color: var(--muted); margin: 8px 0 0; }
.call-card .btn { width: 100%; }
.call-card .btn-row { margin-top: 22px; flex-direction: column; gap: 10px; }
.call-card .cc-foot {
  margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: .89rem; color: var(--muted);
}

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sun-bg); color: var(--ink);
  border: 1px solid var(--sun);
  font-size: .8rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sun); }

.trustbar {
  display: flex; flex-wrap: wrap; gap: 12px 30px; margin-top: 42px;
  padding: 26px 0 0; border-top: 1px solid var(--line);
  font-size: .94rem; color: var(--muted); list-style: none;
}
.trustbar b { color: var(--ink); font-weight: 750; }

/* ---------- phone block ---------- */
.phone-hero { margin-top: 30px; }
.phone-hero .num {
  display: inline-block; font-size: clamp(2rem, 7vw, 2.9rem); font-weight: 800;
  letter-spacing: -0.03em; color: var(--accent); text-decoration: none; line-height: 1.1;
}
.phone-hero .num:hover { color: var(--accent-dim); }
.phone-hero .who { font-size: .95rem; color: var(--muted); margin: 6px 0 0; }

/* ---------- service grid ---------- */
.svc-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(272px, 1fr)); }
@media (min-width: 900px) { .svc-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }

.svc {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
  scroll-margin-top: 96px;
}
.svc h3 { margin-bottom: .45em; }
.svc h3 a { color: inherit; text-decoration: none; }
.svc h3 a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.svc p:last-child { margin-bottom: 0; color: var(--muted); font-size: .97rem; }
.svc .ic {
  width: 40px; height: 40px; border-radius: 11px; background: var(--accent-bg);
  display: grid; place-items: center; margin-bottom: 15px; color: var(--accent);
}
.svc .ic svg { width: 21px; height: 21px; display: block; }

.chips { display: flex; flex-wrap: wrap; gap: 9px; list-style: none; margin: 0; padding: 0; }
.chips li {
  border: 1px solid var(--line); background: var(--bg);
  border-radius: 999px; padding: 8px 16px; font-size: .93rem;
  font-weight: 600; color: var(--ink);
}

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.step { position: relative; padding-left: 54px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--on-accent);
  display: grid; place-items: center; font-weight: 800; font-size: .98rem;
}
.step h3 { margin-bottom: .3em; }
.step p { margin-bottom: 0; color: var(--muted); font-size: .97rem; }

/* ---------- contact ---------- */
.contact-grid { display: grid; gap: 46px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }

.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.detail-list li:first-child { padding-top: 0; }
.detail-list .label {
  display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); font-weight: 800; margin-bottom: 4px;
}
.detail-list .value { font-size: 1.06rem; color: var(--ink); font-weight: 600; }
.detail-list .value a { text-decoration: none; }
.detail-list .value a:hover { text-decoration: underline; }
.detail-list .value.big { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.02em; }

form { display: grid; gap: 17px; }
.field { display: grid; gap: 6px; }
label { font-size: .89rem; font-weight: 700; color: var(--ink); }
.opt { font-weight: 500; color: var(--muted); }
input, textarea, select {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 9px; padding: 13px 14px; width: 100%;
  min-height: 50px;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg);
}
textarea { min-height: 140px; resize: vertical; }
.form-note {
  font-size: .88rem; color: var(--muted); background: var(--bg-alt);
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  padding: 13px 15px; border-radius: 0 9px 9px 0; margin: 0;
}

/* ---------- cta ---------- */
.cta { text-align: center; background: var(--accent-bg); border-top: 1px solid var(--line-soft); }
.cta h2 { margin-bottom: .35em; }
.cta p { color: var(--ink-soft); max-width: 46ch; margin: 0 auto; }
.cta .btn-row { justify-content: center; }

/* ---------- footer ---------- */
.site-foot {
  border-top: 1px solid var(--line); background: var(--bg-alt);
  padding: 48px 0 32px; font-size: .93rem; color: var(--muted);
}
.foot-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-bottom: 32px; }
.foot-grid h2 { font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink); margin: 0 0 13px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li { margin-bottom: 8px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-tag { color: var(--ink); font-weight: 650; }
.foot-phone { color: var(--accent); font-weight: 800; font-size: 1.18rem; text-decoration: none; }
.foot-bar { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- sticky mobile call bar ---------- */
.callbar { display: none; }

@media (max-width: 760px) {
  .callbar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    background: var(--bg); border-top: 1px solid var(--line);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px -8px rgba(20,35,26,.35);
  }
  .callbar .btn { width: 100%; }
  .site-foot { padding-bottom: 104px; }

  .head-inner { min-height: 64px; flex-wrap: wrap; gap: 10px; }
  .brand { font-size: 1.06rem; }
  .nav { order: 3; width: 100%; margin-left: -13px; padding-bottom: 8px; }
  .head-call { padding: 9px 15px; font-size: .9rem; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 52px 0; }
  .hero { padding: 54px 0 44px; }
  .btn { width: 100%; }
  .btn-row { gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn-primary:hover { transform: none; }
}
