/* ===== Design tokens ===== */
:root {
  --green-900: #0e3522;
  --green-800: #154029;
  --green-700: #1b5e3a;
  --green-600: #1f7a4d;
  --green-500: #2a9d63;
  --green-400: #43b97c;
  --lime: #a3e635;
  --lime-dark: #84cc16;

  --cream: #f6f8f3;
  --paper: #ffffff;
  --ink: #16241c;
  --muted: #5c6b61;
  --line: #e3e9e0;

  --shadow-sm: 0 1px 2px rgba(14, 53, 34, .06), 0 1px 3px rgba(14, 53, 34, .08);
  --shadow-md: 0 8px 24px rgba(14, 53, 34, .10);
  --shadow-lg: 0 24px 60px rgba(14, 53, 34, .18);

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1180px;

  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-body);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--green-700); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: .96rem;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap; cursor: pointer;
}
.btn-lg { padding: 15px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary {
  background: var(--green-600); color: #fff; box-shadow: 0 6px 18px rgba(31, 122, 77, .28);
}
.btn-primary:hover { background: var(--green-700); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(31, 122, 77, .34); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1.5px solid rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--green-700); border: 1.5px solid var(--green-600); }
.btn-outline:hover { background: var(--green-600); color: #fff; transform: translateY(-2px); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 248, 243, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s ease, border-color .25s ease, background .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); background: rgba(255,255,255,.9); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }

.brand { display: flex; align-items: center; gap: 11px; margin-right: auto; }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green-600), var(--green-800)); color: #fff;
  box-shadow: var(--shadow-sm);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.12rem; color: var(--green-800); letter-spacing: -.02em; }
.brand-sub { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.nav-list { display: flex; gap: 6px; }
.nav-list a {
  display: block; padding: 9px 14px; border-radius: 9px; font-weight: 500; font-size: .96rem; color: var(--ink);
  transition: background .15s ease, color .15s ease;
}
.nav-list a:hover { background: rgba(31,122,77,.09); color: var(--green-700); }

.header-cta { padding: 10px 18px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--green-800); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { position: relative; color: #fff; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(163,230,53,.20), transparent 60%),
    radial-gradient(900px 500px at 0% 100%, rgba(67,185,124,.28), transparent 55%),
    linear-gradient(160deg, var(--green-800) 0%, var(--green-700) 45%, var(--green-600) 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 5c2 6 2 10 0 14-2-4-2-8 0-14z' fill='%23ffffff' fill-opacity='0.04'/%3E%3C/svg%3E");
  opacity: .6;
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center;
  padding: 84px 24px 96px;
}
.eyebrow {
  display: inline-block; font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 16px;
}
.eyebrow-light { color: var(--lime); }
.section .eyebrow { color: var(--green-600); }
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); font-weight: 800; margin-bottom: 18px; }
.hero h1 .accent { color: var(--lime); display: inline-block; }
.hero-lead { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 540px; margin-bottom: 30px; }
.hero-lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.trust-badges { display: flex; flex-wrap: wrap; gap: 22px; }
.trust-badges li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: rgba(255,255,255,.92); }
.trust-badges svg { color: var(--lime); }

.hero-card {
  background: rgba(255,255,255,.97); color: var(--ink); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-lg);
}
.hero-card-badge {
  display: inline-block; background: rgba(163,230,53,.22); color: var(--green-700);
  font-weight: 700; font-size: .76rem; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.hero-card-top h2 { font-size: 1.5rem; margin-bottom: 8px; color: var(--green-800); }
.hero-card-top p { color: var(--muted); margin-bottom: 22px; }
.hero-phone {
  display: flex; flex-direction: column; padding: 14px 18px; border-radius: var(--radius);
  background: var(--cream); border: 1px solid var(--line); margin-bottom: 12px;
  transition: border-color .15s ease, transform .15s ease;
}
.hero-phone:hover { border-color: var(--green-400); transform: translateY(-1px); }
.hero-phone-label { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.hero-phone-num { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; color: var(--green-700); }
.hero-email { display: block; text-align: center; margin-top: 6px; color: var(--green-600); font-weight: 600; }
.hero-email:hover { text-decoration: underline; }

/* ===== Section scaffolding ===== */
.section { padding: 88px 0; }
.section-alt { background: var(--paper); }
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 14px; color: var(--green-900); }
.section-sub { color: var(--muted); font-size: 1.08rem; }

.grid { display: grid; gap: 22px; }

/* ===== Service cards ===== */
.services-grid { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green-400); }
.card-icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(67,185,124,.16), rgba(163,230,53,.18)); color: var(--green-700);
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--green-900); }
.card p { color: var(--muted); font-size: .96rem; }
.card-cta {
  background: linear-gradient(150deg, var(--green-700), var(--green-600)); color: #fff;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; border: none;
}
.card-cta h3 { color: #fff; }
.card-cta p { color: rgba(255,255,255,.88); }
.card-cta .btn { background: #fff; color: var(--green-700); margin-top: 4px; }
.card-cta .btn:hover { background: var(--cream); }

/* ===== Plans ===== */
.plans-grid { grid-template-columns: repeat(2, 1fr); max-width: 860px; margin: 0 auto; }
.plan {
  position: relative; background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan-featured { background: linear-gradient(160deg, var(--green-800), var(--green-600)); color: #fff; border-color: transparent; box-shadow: var(--shadow-md); }
.plan-tag {
  position: absolute; top: -13px; left: 30px; background: var(--lime); color: var(--green-900);
  font-weight: 700; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px;
}
.plan-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.plan-count { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; color: var(--green-600); }
.plan-featured .plan-count { color: var(--lime); }
.plan-period { color: var(--muted); font-weight: 600; }
.plan-featured .plan-period { color: rgba(255,255,255,.85); }
.plan h3 { font-size: 1.35rem; margin-bottom: 10px; }
.plan > p { margin-bottom: 18px; color: var(--muted); }
.plan-featured > p { color: rgba(255,255,255,.9); }
.plan-list { margin-bottom: 26px; display: grid; gap: 10px; }
.plan-list li { position: relative; padding-left: 28px; color: var(--ink); }
.plan-featured .plan-list li { color: rgba(255,255,255,.95); }
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(31,122,77,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231f7a4d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan-featured .plan-list li::before {
  background: rgba(255,255,255,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a3e635' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan .btn { width: 100%; }

/* ===== Specials ===== */
.specials-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.specials-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 14px; color: var(--green-900); }
.specials-copy .section-sub { margin-bottom: 26px; }
.specials-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.specials-list li {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--green-800);
  box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 12px;
  transition: transform .18s ease, border-color .18s ease;
}
.specials-list li::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--lime)); flex-shrink: 0;
}
.specials-list li:hover { transform: translateX(4px); border-color: var(--green-400); }
.specials-list li:last-child { grid-column: 1 / -1; }

/* ===== Why (dark) ===== */
.section-dark { background: var(--green-900); color: #fff; }
.section-dark .section-head h2 { color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,.78); }
.why-grid { grid-template-columns: repeat(4, 1fr); }
.why-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s ease, background .2s ease;
}
.why-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.09); }
.why-icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 13px; margin-bottom: 16px;
  background: rgba(163,230,53,.16); color: var(--lime);
}
.why-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.why-card p { color: rgba(255,255,255,.78); font-size: .96rem; }

/* ===== CTA / Contact ===== */
.section-cta { background: linear-gradient(160deg, var(--cream), #eef3ea); }
.cta-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.cta-copy h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 14px; color: var(--green-900); }
.cta-copy .section-sub { margin-bottom: 28px; }
.contact-methods { display: grid; gap: 12px; }
.contact-method {
  display: flex; align-items: center; gap: 16px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-sm);
  transition: transform .15s ease, border-color .15s ease;
}
.contact-method:hover { transform: translateY(-2px); border-color: var(--green-400); }
.contact-method-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(31,122,77,.12); color: var(--green-700); flex-shrink: 0; }
.contact-method-label { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; }
.contact-method-value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; color: var(--green-800); }

.cta-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); }
.cta-form h3 { font-size: 1.4rem; margin-bottom: 20px; color: var(--green-900); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 11px; background: var(--cream);
  color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(42,157,99,.15); background: #fff;
}
.field textarea { resize: vertical; }
.form-note { margin-top: 14px; font-weight: 600; font-size: .95rem; min-height: 1.2em; }
.form-note.success { color: var(--green-600); }
.form-note.error { color: #c0392b; }

/* ===== Footer ===== */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.8); padding-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand .brand-name { color: #fff; font-size: 1.3rem; display: block; margin-bottom: 12px; }
.footer-brand p { max-width: 420px; font-size: .96rem; }
.footer-tags { margin-top: 12px; color: var(--lime); font-weight: 600; letter-spacing: .04em; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; padding-bottom: 24px;
  font-size: .9rem;
}
.footer-top-link:hover { color: var(--lime); }

/* ===== Sticky mobile call bar ===== */
.mobile-call-bar {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  align-items: center; justify-content: center; gap: 10px;
  background: var(--green-600); color: #fff; font-weight: 700; padding: 14px; border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transform: translateY(140%); transition: transform .3s ease; will-change: transform;
}
.mobile-call-bar.show { transform: none; }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .services-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; padding-bottom: 72px; }
  .hero-card { max-width: 460px; }
  .specials-inner, .cta-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .header-cta { display: none; }
  .nav { position: fixed; inset: 72px 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .22s ease, opacity .22s ease; }
  .nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-list { flex-direction: column; gap: 2px; padding: 12px 16px 18px; }
  .nav-list a { padding: 13px 14px; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .section { padding: 56px 0; }
  .plans-grid { grid-template-columns: 1fr; }
  .mobile-call-bar { display: flex; }
  .site-footer { padding-bottom: 88px; }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .brand-sub { display: none; }

  /* Tighter section rhythm */
  .section { padding: 48px 0; }
  .section-head { margin-bottom: 30px; }
  .section-head h2 { font-size: 1.65rem; }
  .section-sub { font-size: 1rem; }

  /* Hero */
  .hero-inner { padding-top: 48px; padding-bottom: 56px; gap: 28px; }
  .hero h1 { font-size: 2.05rem; }
  .hero .eyebrow { letter-spacing: .08em; font-size: .76rem; margin-bottom: 12px; }
  .hero-lead { font-size: 1.02rem; margin-bottom: 24px; }
  .hero-actions { gap: 12px; margin-bottom: 24px; }
  .hero-actions .btn { flex: 1; }
  .trust-badges { gap: 10px 18px; }
  .trust-badges li { font-size: .92rem; }
  .hero-card { padding: 22px; }
  .hero-card-top h2 { font-size: 1.3rem; }
  .hero-phone { padding: 12px 16px; }
  .hero-phone-num { font-size: 1.2rem; }

  /* Compact two-column service & why grids */
  .services-grid, .why-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card { padding: 18px 15px; }
  .card-icon { width: 42px; height: 42px; border-radius: 11px; margin-bottom: 12px; }
  .card-icon svg { width: 21px; height: 21px; }
  .card h3 { font-size: .98rem; margin-bottom: 6px; }
  .card p { font-size: .84rem; line-height: 1.5; }
  .card-cta { grid-column: 1 / -1; padding: 22px 20px; }
  .card-cta .btn { width: 100%; }
  .why-card { padding: 18px 15px; }
  .why-icon { width: 42px; height: 42px; margin-bottom: 12px; }
  .why-card h3 { font-size: .98rem; }
  .why-card p { font-size: .84rem; line-height: 1.5; }

  /* Single-column lists where 2-col would be too tight */
  .specials-list { grid-template-columns: 1fr; }
  .specials-list li { padding: 16px 18px; font-size: 1.02rem; }
  .specials-list li:last-child { grid-column: auto; }

  /* Plans & contact */
  .plan { padding: 26px 22px; }
  .cta-form { padding: 22px; }
  .cta-form h3 { font-size: 1.25rem; }
  .contact-method { padding: 14px 15px; gap: 12px; }
  .contact-method-value { font-size: 1.02rem; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 36px; }
  .footer-brand { grid-column: auto; }
}
