/* ===== CHAPEL HILL TREE SERVICE — SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --green-dark: #1a3a1e;
  --green-mid: #2d5a34;
  --green-light: #4a8c55;
  --green-pale: #e8f2e9;
  --amber: #d4821a;
  --amber-light: #f5a942;
  --cream: #faf7f0;
  --text-dark: #1a1a18;
  --text-mid: #444441;
  --text-light: #6b6b67;
  --white: #ffffff;
  --border: rgba(0,0,0,0.1);
}

html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--cream); color: var(--text-dark); line-height: 1.6; }

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(26,58,30,0.97); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px; height: 68px;
}
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--amber-light); text-decoration: none; letter-spacing: 0.02em; }
.nav-logo span { color: white; font-weight: 400; }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.8rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--amber-light); }
.nav-cta { background: var(--amber) !important; color: var(--white) !important; padding: 8px 18px !important; border-radius: 4px; font-weight: 500 !important; }
.nav-cta:hover { background: var(--amber-light) !important; }

/* ===== BUTTONS ===== */
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--amber); color: white; text-decoration: none; font-size: 1rem; font-weight: 500; padding: 14px 28px; border-radius: 4px; transition: background 0.2s, transform 0.1s; }
.btn-primary:hover { background: var(--amber-light); transform: translateY(-1px); }
.btn-outline { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(255,255,255,0.4); color: white; text-decoration: none; font-size: 1rem; font-weight: 400; padding: 13px 28px; border-radius: 4px; transition: all 0.2s; }
.btn-outline:hover { border-color: rgba(255,255,255,0.8); background: rgba(255,255,255,0.08); }
.btn-green { display: inline-flex; align-items: center; gap: 8px; background: var(--green-mid); color: white; text-decoration: none; font-size: 1rem; font-weight: 500; padding: 14px 28px; border-radius: 4px; transition: background 0.2s; }
.btn-green:hover { background: var(--green-dark); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero { background: var(--green-dark); padding: 140px 40px 80px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; opacity: 0.12; background-size: cover; background-position: center; }
.page-hero-inner { max-width: 800px; position: relative; }
.page-hero-badge { display: inline-block; background: var(--amber); color: white; font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 6px 16px; border-radius: 2px; margin-bottom: 20px; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(2.2rem, 5vw, 3.8rem); color: white; font-weight: 900; line-height: 1.1; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; font-weight: 300; max-width: 540px; line-height: 1.75; }

/* ===== SECTION BASICS ===== */
.section { padding: 96px 40px; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-green { background: var(--green-dark); }
.section-pale { background: var(--green-pale); }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-light); margin-bottom: 12px; }
.section-label-light { color: var(--amber-light); }
.section-title { font-family: 'Playfair Display', serif; font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 700; color: var(--text-dark); line-height: 1.15; margin-bottom: 16px; }
.section-title-light { color: white; }
.section-body { font-size: 1rem; color: var(--text-mid); max-width: 600px; line-height: 1.8; margin-bottom: 40px; }
.section-body-light { color: rgba(255,255,255,0.72); }

/* ===== TWO-COL LAYOUT ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }
.col-img { border-radius: 8px; overflow: hidden; }
.col-img img { width: 100%; height: 460px; object-fit: cover; display: block; }

/* ===== CALLOUT BOX ===== */
.callout { background: var(--green-pale); border-left: 3px solid var(--green-light); border-radius: 0 6px 6px 0; padding: 16px 20px; font-size: 0.9rem; font-style: italic; color: var(--text-mid); margin-top: 24px; line-height: 1.7; }

/* ===== CHECK LIST ===== */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 0.95rem; color: rgba(255,255,255,0.85); }
.check-list li.dark { color: var(--text-mid); }
.check-dot { width: 22px; height: 22px; background: var(--amber); border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.check-dot svg { width: 12px; height: 12px; stroke: white; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.check-dot.green { background: var(--green-light); }

/* ===== SERVICE CARDS GRID ===== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 48px; }
.service-card { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--cream); transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; display: block; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.10); }
.service-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.service-card-body { padding: 28px; }
.service-card-icon { width: 44px; height: 44px; background: var(--green-pale); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service-card-icon svg { width: 22px; height: 22px; stroke: var(--green-mid); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 1.2rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.service-card p { font-size: 0.875rem; color: var(--text-mid); line-height: 1.7; }
.service-card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 0.85rem; font-weight: 500; color: var(--green-mid); text-decoration: none; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--green-mid); padding: 20px 40px; display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 0.875rem; }
.trust-icon { width: 20px; height: 20px; fill: var(--amber-light); flex-shrink: 0; }

/* ===== AREA PILLS ===== */
.areas-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.area-pill { background: var(--white); border: 1px solid var(--border); border-radius: 100px; padding: 8px 20px; font-size: 0.875rem; color: var(--text-mid); }

/* ===== QUOTE FORM ===== */
.form-card { background: var(--white); border-radius: 12px; padding: 48px; border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group.no-mb { margin-bottom: 0; }
label { font-size: 0.78rem; font-weight: 500; color: var(--text-mid); letter-spacing: 0.05em; text-transform: uppercase; }
input, select, textarea { border: 1px solid rgba(0,0,0,0.15); border-radius: 6px; padding: 12px 14px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--text-dark); background: var(--cream); outline: none; transition: border-color 0.2s; width: 100%; }
input:focus, select:focus, textarea:focus { border-color: var(--green-light); background: white; }
.checkbox-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.checkbox-label { display: flex; align-items: center; gap: 7px; font-size: 0.85rem; color: var(--text-mid); cursor: pointer; background: var(--cream); border: 1px solid var(--border); border-radius: 6px; padding: 7px 12px; transition: all 0.15s; text-transform: none; letter-spacing: 0; font-weight: 400; }
.checkbox-label input[type="checkbox"] { width: auto; accent-color: var(--green-mid); }
.form-submit { width: 100%; background: var(--green-mid); color: white; border: none; border-radius: 6px; padding: 15px 28px; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500; cursor: pointer; transition: background 0.2s; margin-top: 8px; }
.form-submit:hover { background: var(--green-dark); }

/* ===== CTA BAND ===== */
.cta-band { background: var(--green-mid); padding: 80px 40px; text-align: center; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: white; font-weight: 700; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,0.75); font-size: 1rem; max-width: 500px; margin: 0 auto 36px; line-height: 1.7; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0; margin-top: 40px; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); padding: 24px 0; }
.faq-q { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.faq-a { font-size: 0.95rem; color: var(--text-mid); line-height: 1.8; }

/* ===== FOOTER ===== */
footer { background: var(--green-dark); color: rgba(255,255,255,0.65); padding: 60px 40px 32px; }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--amber-light); margin-bottom: 16px; display: block; }
.footer-desc { font-size: 0.875rem; line-height: 1.75; color: rgba(255,255,255,0.55); max-width: 280px; }
.footer-phone-link { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--amber-light); text-decoration: none; font-weight: 700; display: inline-block; margin-top: 20px; }
.footer-col h4 { color: white; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--amber-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; flex-wrap: wrap; gap: 16px; color: rgba(255,255,255,0.4); }

/* ===== BREADCRUMB ===== */
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--amber-light); }
.breadcrumb span { margin: 0 6px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 64px 20px; }
  .page-hero { padding: 100px 20px 60px; }
  .form-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .trust-bar { gap: 20px; padding: 20px; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-band { padding: 60px 20px; }
}
