/* ============================================
   Duane's Tree Climbing Services
   Palette: deep moss-green + burnt-orange accent
   ============================================ */

:root {
  --moss-deep: #1c2a17;
  --moss: #24371f;
  --moss-mid: #3f5e3f;
  --moss-light: #5c7a52;
  --moss-pale: #eef2ea;
  --orange: #c9611f;
  --orange-dark: #a34e18;
  --orange-light: #e98a3f;
  --cream: #f7f4ec;
  --ink: #1d2318;
  --ink-soft: #4a5245;
  --white: #ffffff;

  --font-head: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius: 10px;
  --shadow: 0 8px 24px rgba(28, 42, 23, 0.14);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  color: var(--moss-deep);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: inherit; }

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--orange);
  color: #fff;
  padding: 12px 18px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--orange-dark);
  font-size: 0.82rem;
  margin-bottom: 0.6em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-family: var(--font-head);
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(201, 97, 31, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--moss-deep);
  border-bottom: 3px solid var(--orange);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-height: 44px;
}

.brand-mark { flex-shrink: 0; }

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  font-size: 1.08rem;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--orange-light);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--moss-deep);
  display: flex;
  flex-direction: column;
  padding: 8px 20px 18px;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  border-bottom: 3px solid var(--orange);
}
.primary-nav.open {
  max-height: 400px;
}

.primary-nav a {
  color: #f2efe6;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-radius: 6px;
}
.primary-nav a:hover { background: rgba(255, 255, 255, 0.08); }

.nav-call {
  margin-top: 6px;
  background: var(--orange);
  color: #fff !important;
  border-radius: 999px;
  justify-content: center;
  font-family: var(--font-head);
}
.nav-call:hover { background: var(--orange-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--moss-deep);
  color: #fff;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}

.hero-graphic {
  order: -1;
  height: 220px;
}
.hero-graphic svg { width: 100%; height: 100%; }

.hero-inner {
  position: relative;
  padding: 40px 20px 48px;
  max-width: 620px;
  margin: 0 auto;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange-light);
  margin-bottom: 0.8em;
}

.hero h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5em;
}

.hero-lead {
  color: #dbe3d5;
  font-size: 1.05rem;
  margin-bottom: 1.6em;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 1.8em;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: #dbe3d5;
  font-size: 0.92rem;
}

.stars {
  color: var(--orange-light);
  letter-spacing: 2px;
}

/* ---------- Strip ---------- */
.strip {
  background: var(--orange);
}
.strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  text-align: center;
}
.strip-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: #fff;
}
.strip-item strong {
  font-family: var(--font-head);
  font-size: 1.05rem;
}
.strip-item span {
  font-size: 0.85rem;
  color: #fde8d4;
}

/* ---------- Sections ---------- */
.section {
  padding: 56px 20px;
}
.section-alt {
  background: var(--moss-pale);
}
.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.section h2 {
  font-size: 1.7rem;
  max-width: 640px;
}
.section-lead {
  color: var(--ink-soft);
  max-width: 560px;
  font-size: 1.02rem;
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 32px;
}
.about-copy p { color: var(--ink-soft); }

.about-card {
  background: var(--moss-deep);
  color: #fff;
  padding: 28px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-card h3 {
  color: #fff;
  font-size: 1.15rem;
}
.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  color: #dbe3d5;
  font-size: 0.96rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 32px;
}
.service-card {
  background: #fff;
  border: 1px solid #e2e6da;
  border-top: 4px solid var(--orange);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow);
}
.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--moss-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-size: 1.08rem;
  margin-bottom: 0.4em;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin: 0;
}
.services-note {
  margin-top: 28px;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- Reviews ---------- */
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 28px;
  flex-wrap: wrap;
}
.reviews-score {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--moss-deep);
}
.reviews-count {
  display: block;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 2px;
}
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.review-card {
  margin: 0;
  background: var(--moss-pale);
  border-radius: var(--radius);
  padding: 22px;
}
.review-card p {
  color: var(--ink);
  font-size: 0.98rem;
  margin: 10px 0;
}
.review-card cite {
  font-style: normal;
  color: var(--ink-soft);
  font-size: 0.86rem;
  font-weight: 600;
}
.reviews-disclaimer {
  margin: 0;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}
.contact-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-label {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange-dark);
}
.contact-list a {
  text-decoration: none;
  color: var(--moss-deep);
  font-weight: 600;
  font-size: 1.05rem;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.contact-form label {
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 10px;
  color: var(--moss-deep);
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid #d3d9c8;
  border-radius: 8px;
  min-height: 44px;
  background: var(--cream);
  color: var(--ink);
}
.contact-form textarea { min-height: 100px; resize: vertical; }
.contact-form button { margin-top: 16px; width: 100%; }

.contact-map iframe {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.map-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 10px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--moss-deep);
  color: #cdd6c4;
  padding: 32px 20px;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-brand .brand-name {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-contact a {
  color: var(--orange-light);
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-copy {
  font-size: 0.82rem;
  margin: 6px 0 0;
  color: #9fab90;
}

/* ============================================
   Tablet — 768px
   ============================================ */
@media (min-width: 768px) {
  .header-inner { padding: 14px 32px; }

  .hero-inner { padding: 64px 32px 72px; max-width: 760px; }
  .hero h1 { font-size: 2.6rem; }
  .hero-actions { flex-direction: row; }
  .hero-graphic { height: 320px; }

  .strip-inner {
    grid-template-columns: repeat(3, 1fr);
    padding: 24px 32px;
  }

  .section { padding: 76px 32px; }
  .section h2 { font-size: 2.1rem; }

  .about-grid {
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
  }

  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .review-grid { grid-template-columns: repeat(3, 1fr); }

  .contact-grid { grid-template-columns: 1.1fr 1fr; align-items: start; }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer-contact { flex-direction: row; gap: 20px; }
}

/* ============================================
   Desktop — 1440px / general large screens
   ============================================ */
@media (min-width: 1100px) {
  .nav-toggle { display: none; }

  .primary-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    max-height: none;
    overflow: visible;
    padding: 0;
    background: transparent;
    border-bottom: none;
    gap: 6px;
  }
  .primary-nav a { padding: 10px 14px; }
  .nav-call { margin-top: 0; margin-left: 8px; padding: 10px 22px; }

  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
  .hero-graphic { order: 0; height: 100%; }
  .hero-inner { padding: 96px 48px; max-width: 640px; margin: 0; margin-left: auto; }

  .services-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1300px) {
  .section-inner, .header-inner, .strip-inner, .footer-inner {
    padding-left: 48px;
    padding-right: 48px;
  }
}
