/* ============================================
   INNER PAGE STYLES
   ============================================ */

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  padding: 56px 0 52px;
  color: var(--white);
}
.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--bark-light); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  margin-bottom: 14px;
  line-height: 1.15;
}
.page-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin-bottom: 28px;
  font-weight: 300;
}

/* INNER LAYOUT */
.inner-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

/* MAIN CONTENT */
.main-content h2 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-top: 36px;
  margin-bottom: 14px;
  line-height: 1.25;
}
.main-content h2:first-child { margin-top: 0; }
.main-content p {
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
  font-size: 0.97rem;
}
.content-list {
  margin: 0 0 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.content-list li {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.65;
}
.content-list.numbered { list-style: decimal; }
.content-list:not(.numbered) { list-style: disc; }
.content-list li strong { color: var(--text); }

/* PRICE TABLE */
.price-table {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0 24px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.price-row:last-child { border-bottom: none; }
.price-row span:first-child { color: var(--text-mid); }
.price-row span:last-child { font-weight: 700; color: var(--green-dark); }

/* SIDEBAR */
.sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.sidebar-cta {
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.sidebar-cta h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.sidebar-cta p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  margin-bottom: 18px;
  line-height: 1.55;
}
.btn-text-link {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.btn-text-link:hover { color: var(--bark-light); }

.sidebar-services, .sidebar-trust {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.sidebar-services h4, .sidebar-trust h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text-mid);
  transition: all 0.2s;
  margin-bottom: 4px;
}
.sidebar-link:hover { background: var(--green-light); color: var(--green-dark); }
.sidebar-link.active {
  background: var(--green-light);
  color: var(--green-dark);
  font-weight: 600;
}
.sidebar-trust ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-trust li {
  font-size: 0.88rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* CTA BANNER */
.cta-banner {
  background: var(--green-dark);
  padding: 60px 24px;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.cta-banner p {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* PAGE HERO BACKGROUND IMAGES */
.page-hero.hero-tree-removal {
  background:
    linear-gradient(135deg, rgba(26,58,42,0.88) 0%, rgba(45,90,61,0.78) 100%),
    url('../images/tree-removal-dothan-alabama-climber.jpg') center / cover no-repeat;
}
.page-hero.hero-tree-trimming {
  background:
    linear-gradient(135deg, rgba(26,58,42,0.88) 0%, rgba(45,90,61,0.78) 100%),
    url('../images/tree-trimming-dothan-alabama-climber.jpg') center / cover no-repeat;
}
.page-hero.hero-stump-grinding {
  background:
    linear-gradient(135deg, rgba(26,58,42,0.88) 0%, rgba(45,90,61,0.78) 100%),
    url('../images/stump-grinding-dothan-alabama-backyard.jpg') center / cover no-repeat;
}

/* EMERGENCY THEME — overrides for emergency-tree-service.html */
.page-hero.emergency-theme {
  background:
    linear-gradient(135deg, rgba(123,28,28,0.90) 0%, rgba(163,48,48,0.82) 100%),
    url('../images/emergency-tree-service-dothan-alabama-storm-damage.jpg') center / cover no-repeat;
}
.sidebar-cta.emergency-theme {
  background: #7b1c1c;
}
.cta-banner.emergency-theme {
  background: #7b1c1c;
}
.btn-emergency,
.btn-emergency-hero,
.btn-emergency-cta {
  background: #c0392b;
  border-color: #c0392b;
}
.btn-emergency-hero {
  font-size: 1.1rem;
  padding: 16px 32px;
}
.btn-emergency-cta {
  font-size: 1.05rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .inner-layout { grid-template-columns: 1fr 280px; gap: 40px; }
}
@media (max-width: 768px) {
  .inner-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
