/* =========================================================
   Big Kev's Trees — "Professional / Corporate" variant
   Palette: navy #0f2540 (structure/headings) + forest green #1f7a4d (CTAs/links)
   Type: Inter (Google Fonts) with system-font fallback
   ========================================================= */

:root {
  --navy: #0f2540;
  --navy-700: #16335a;
  --navy-50: #eef2f8;
  --green: #1f7a4d;
  --green-600: #1a6a43;
  --green-700: #155737;
  --ink: #1d2733;
  --muted: #5a6675;
  --line: #e2e6ec;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(15, 37, 64, .06), 0 1px 3px rgba(15, 37, 64, .08);
  --shadow-md: 0 6px 18px rgba(15, 37, 64, .08), 0 2px 6px rgba(15, 37, 64, .06);
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1140px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--green-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  font-weight: 800;
}

h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.18rem; font-weight: 700; }

p { margin: 0 0 1rem; }

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

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 200;
  transition: top .15s ease;
}
.skip-link:focus { top: 12px; text-decoration: none; }

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

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-weight: 700;
  font-size: 1rem;
  padding: .8em 1.4em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
  line-height: 1;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-600); color: #fff; }

.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: #c8d0db; background: var(--navy-50); }

.btn-ghost {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }

.btn .icon { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.2rem;
  letter-spacing: -.01em;
}
.brand:hover { text-decoration: none; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand .brand-sub {
  display: block;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a.nav-link {
  color: var(--navy);
  font-weight: 600;
  font-size: .98rem;
  padding: .55em .8em;
  border-radius: var(--radius-sm);
}
.nav a.nav-link:hover { background: var(--navy-50); text-decoration: none; }
.nav .btn { margin-left: 6px; }

/* mobile nav toggle */
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(31, 122, 77, .10), transparent 60%),
    linear-gradient(180deg, #fbfcfd 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  padding: clamp(48px, 7vw, 96px) 0;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--green-700);
  background: #e8f3ee;
  border: 1px solid #cfe6da;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  font-weight: 800;
  margin-bottom: .5em;
}
.hero h1 .accent { color: var(--green); }
.hero-lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 38ch;
  margin-bottom: 1.6rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.8rem;
}
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 24px;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.trust-badges li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--navy);
  list-style: none;
}
.trust-badges .icon { width: 20px; height: 20px; color: var(--green); flex: none; }
.trust-badges ul { margin: 0; padding: 0; }

/* hero side card */
.hero-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.hero-card h2 { color: #fff; font-size: 1.3rem; margin-bottom: .6em; }
.hero-card p { color: rgba(255, 255, 255, .82); margin-bottom: 1.2rem; }
.hero-card .card-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.hero-card .card-list li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .92);
}
.hero-card .card-list li:last-child { border-bottom: 0; }
.hero-card .card-list .icon { width: 20px; height: 20px; color: #56c98a; flex: none; }
.hero-card .card-phone {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .01em;
}
.hero-card .card-phone:hover { color: #fff; text-decoration: none; }
.hero-card .card-hours { font-size: .9rem; color: rgba(255,255,255,.7); margin: 2px 0 0; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 7vw, 88px) 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 64ch; margin-bottom: 40px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d3dbe4;
}
.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e8f3ee;
  color: var(--green-700);
  margin-bottom: 18px;
}
.service-icon .icon { width: 26px; height: 26px; }
.service-card h3 { margin-bottom: .35em; }
.service-card p { color: var(--muted); margin: 0; font-size: .97rem; }
.service-card .badge-247 {
  display: inline-block;
  margin-top: 12px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: #b3471a;
  background: #fdeee6;
  border: 1px solid #f6d3c0;
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-copy p { color: var(--muted); }
.about-copy .lead { color: var(--ink); font-size: 1.1rem; font-weight: 500; }
.trust-list { list-style: none; margin: 1.4rem 0 0; padding: 0; }
.trust-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.trust-list li:last-child { border-bottom: 0; }
.trust-list .icon { width: 22px; height: 22px; color: var(--green); flex: none; margin-top: 1px; }
.trust-list strong { color: var(--navy); }

/* photo placeholder */
.photo-placeholder {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  border: 2px dashed #c2cdda;
  background:
    repeating-linear-gradient(45deg, #f1f4f8, #f1f4f8 12px, #eaeff5 12px, #eaeff5 24px);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--muted);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.photo-placeholder .ph-icon { width: 46px; height: 46px; color: #9aa8ba; margin: 0 auto 10px; }
.photo-placeholder .ph-title { font-weight: 700; color: var(--navy); }
.photo-placeholder .ph-note { font-size: .85rem; }

/* ---------- Service areas ---------- */
.areas-wrap {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 600;
  font-size: .94rem;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
}
.chips .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none; }
.areas-note {
  background: var(--navy-50);
  border: 1px solid #d8e0ec;
  border-radius: var(--radius);
  padding: 24px;
}
.areas-note h3 { margin-bottom: .4em; }
.areas-note p { color: var(--muted); margin-bottom: 1rem; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.contact-info .info-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-info .info-item:first-child { padding-top: 0; }
.contact-info .info-item .icon { width: 24px; height: 24px; color: var(--green); flex: none; margin-top: 2px; }
.contact-info .info-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.contact-info .info-value { font-weight: 700; color: var(--navy); font-size: 1.08rem; }
.contact-info .info-value a { color: var(--navy); }

/* form */
.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.quote-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.field .req { color: var(--green); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid #cdd6e0;
  border-radius: var(--radius-sm);
  background: #fcfdfe;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(31, 122, 77, .15);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: .82rem; color: var(--muted); margin: 4px 0 16px; }
.quote-form .btn-primary { width: 100%; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .8);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.footer-brand svg { width: 34px; height: 34px; }
.site-footer p { color: rgba(255, 255, 255, .72); margin-bottom: .6rem; font-size: .95rem; }
.footer-col h4 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255, 255, 255, .78); font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-top: 22px;
  font-size: .86rem;
  color: rgba(255, 255, 255, .6);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-grid,
  .areas-wrap,
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    width: 44px; height: 44px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--navy);
  }
  .nav-toggle .icon { width: 24px; height: 24px; }

  .nav {
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
    display: none;
  }
  .nav.open { display: flex; }
  .nav a.nav-link { padding: .8em .8em; }
  .nav .btn { margin: 6px 0 0; justify-content: center; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .quote-form .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .brand .brand-sub { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .service-card:hover { transform: none; }
}
