:root {
  --green: #03b728;
  --green-dark: #229039;
  --green-light: #3ac280;
  --ink: #1a2315;
  --gray: #626a5e;
  --bg: #ffffff;
  --bg-alt: #f4f7f2;
  --border: #e5e9e1;
  --radius: 16px;
  --shadow: 0 2px 10px rgba(20, 40, 15, .06);
  --shadow-lg: 0 16px 40px rgba(20, 40, 15, .14);
  --header-h: 72px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body.nav-locked { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  box-shadow: 0 6px 18px rgba(3, 183, 40, .28);
}
.btn:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(3, 183, 40, .32); }
.btn:active { transform: translateY(0); }
.btn-outline {
  background: rgba(255,255,255,.08);
  border: 2px solid rgba(255,255,255,.85);
  color: #fff;
  box-shadow: none;
}
.btn-outline:hover { background: rgba(255,255,255,.18); }
.btn-dark {
  background: var(--ink);
  box-shadow: none;
}
.btn-dark:hover { background: #000; }

/* Top bar */
.topbar {
  background: var(--ink);
  color: #cdd4c8;
  font-size: .82rem;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  padding-bottom: 8px;
  flex-wrap: wrap;
  gap: 6px;
}
.topbar a { color: #fff; font-weight: 600; }

/* Header */
header.main {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
  width: 100%;
}
header.main .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo svg { height: 46px; width: auto; display: block; }

nav#mainNav ul {
  display: flex;
  gap: 22px;
  flex-wrap: nowrap;
  font-weight: 600;
  font-size: .93rem;
  white-space: nowrap;
}
nav#mainNav a:hover { color: var(--green); }
.header-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-cta .btn { white-space: nowrap; }
.phone-cta { font-weight: 700; font-size: 1rem; color: var(--green-dark); white-space: nowrap; }
.nav-head, .nav-close, .nav-cta { display: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(12,32,8,.78), rgba(3,120,30,.55)), url("images/hero.jpg") center 35% / cover no-repeat;
  color: #fff;
  padding: clamp(56px, 10vw, 130px) 0;
}
.hero .container { max-width: 720px; }
.hero h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); margin-bottom: 16px; line-height: 1.12; font-weight: 800; letter-spacing: -.02em; }
.hero p.lead { font-size: clamp(1rem, 2.4vw, 1.2rem); opacity: .95; margin-bottom: 26px; max-width: 56ch; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Trust bar */
.trust {
  background: var(--bg-alt);
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.trust ul {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: nowrap;
  width: max-content;
  margin: 0 auto;
}
.trust li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--green-dark);
  font-size: .85rem;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.trust li::before { content: "\2713"; color: var(--green); font-weight: 800; }

/* Section */
section { padding: clamp(48px, 8vw, 90px) 0; }
section.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(30px, 5vw, 48px); }
.section-head h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 12px; font-weight: 800; letter-spacing: -.01em; }
.section-head p { color: var(--gray); }

/* Services grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.card .card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.card:hover .card-img { transform: scale(1.06); }
.card .card-img.placeholder {
  background: linear-gradient(135deg, var(--bg-alt), var(--border));
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  font-weight: 600;
  font-size: .85rem;
  text-align: center;
  padding: 10px;
}
.card .card-body { padding: 24px; }
.card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--bg-alt);
  color: var(--green);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 8px; font-size: 1.12rem; font-weight: 700; }
.card p { color: var(--gray); font-size: .95rem; margin-bottom: 14px; }
.card a.link { color: var(--green-dark); font-weight: 700; font-size: .9rem; }

/* Recent work gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform .25s ease;
}
.gallery-grid img:hover { transform: scale(1.02); }

/* Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }
.two-col img, .two-col .placeholder {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.placeholder {
  background: linear-gradient(135deg, var(--bg-alt), var(--border));
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  font-weight: 600;
}
.two-col h2 { font-size: clamp(1.5rem, 3.6vw, 1.9rem); margin-bottom: 16px; font-weight: 800; }
.two-col ol, .two-col ul { margin-top: 16px; }
.two-col li { margin-bottom: 14px; padding-left: 4px; }
.two-col li strong { color: var(--green-dark); display: block; margin-bottom: 2px; }

/* Numbered process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}
.process-step .num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
  box-shadow: 0 6px 16px rgba(3, 183, 40, .3);
}
.process-step h3 { margin-bottom: 8px; font-size: 1.05rem; font-weight: 700; }
.process-step p { color: var(--gray); font-size: .93rem; }

/* Testimonials */
.testimonial {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}
.testimonial p.quote { font-style: italic; margin-bottom: 14px; }
.stars { color: #e0a300; margin-bottom: 10px; letter-spacing: 2px; }
.testimonial .name { font-weight: 700; font-size: .9rem; }

/* CTA band */
.cta-band {
  background: linear-gradient(120deg, var(--green-dark), var(--green));
  color: #fff;
  text-align: center;
  padding: clamp(46px, 8vw, 70px) 0;
}
.cta-band h2 { font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 12px; font-weight: 800; }
.cta-band p { opacity: .95; margin-bottom: 26px; }
.cta-band .btn { background: #fff; color: var(--green-dark); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.cta-band .btn:hover { background: #f2f2f2; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info li { margin-bottom: 18px; display: flex; gap: 12px; }
.contact-info .label { font-weight: 700; display: block; }
.contact-info .icon { color: var(--green); font-size: 1.2rem; }

form.estimate { display: grid; gap: 14px; background: var(--bg-alt); padding: 24px; border-radius: var(--radius); border: 1px solid var(--border); }
form.estimate input, form.estimate select, form.estimate textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: .95rem;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
form.estimate input:focus, form.estimate select:focus, form.estimate textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(3,183,40,.15);
}
form.estimate textarea { resize: vertical; min-height: 100px; }
form.estimate label { font-weight: 600; font-size: .9rem; margin-bottom: 4px; display: block; }

/* Footer */
footer {
  background: var(--ink);
  color: #cdd4c8;
  padding: 50px 0 max(24px, env(safe-area-inset-bottom));
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 34px;
}
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { color: #fff; margin-bottom: 14px; font-size: 1rem; }
footer li { margin-bottom: 8px; }
footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .82rem;
  color: #8a9184;
}

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

/* Mobile nav + responsive */
@media (max-width: 1040px) {
  .topbar .container { justify-content: center; text-align: center; }
  .header-cta .btn { display: none; }

  .nav-toggle { display: inline-flex; }

  nav#mainNav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(320px, 85vw);
    background: #fff;
    box-shadow: -12px 0 40px rgba(0,0,0,.18);
    z-index: 60;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .28s ease;
    overflow-y: auto;
  }
  nav#mainNav.open { transform: translateX(0); }

  .nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--border);
  }
  .nav-head-title { font-weight: 800; font-size: 1.05rem; }
  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg-alt);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: var(--ink);
  }

  nav#mainNav ul { flex-direction: column; gap: 2px; font-size: 1.05rem; }
  nav#mainNav li { border-bottom: 1px solid var(--border); }
  nav#mainNav a { display: block; padding: 14px 4px; }

  .nav-cta { display: flex; margin-top: 18px; width: 100%; }

  .nav-scrim {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 20, 8, .5);
    z-index: 50;
    opacity: 0;
    transition: opacity .25s ease;
  }
  .nav-scrim.open { display: block; opacity: 1; }

  .mobile-call-bar {
    display: flex;
    gap: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 45;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 10px 14px max(10px, env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px rgba(0,0,0,.08);
  }
  .mobile-call-bar .btn { flex: 1; padding: 13px 10px; font-size: .9rem; }
  body { padding-bottom: 74px; }
  body.nav-locked .mobile-call-bar { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero .actions { flex-direction: column; }
  .hero .actions .btn { width: 100%; }
  .logo svg { height: 40px; }
}
