/* ============================================
   HUNTSVILLE TREE PROS - RANK & RENT SITE
   SEO-Optimized, Fast-Loading Design System
   ============================================ */

/* --- CSS Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-900: #0d3618;
  --green-800: #145225;
  --green-700: #1a5c2a;
  --green-600: #1e7a34;
  --green-500: #28a745;
  --green-100: #e8f5e9;
  --green-50: #f1f8f2;
  --orange-600: #e8791d;
  --orange-700: #d06a15;
  --orange-500: #f59e0b;
  --dark: #1a1a2e;
  --text: #374151;
  --text-light: #6b7280;
  --white: #ffffff;
  --off-white: #f9fafb;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: 0.3s ease;
  --max-width: 1200px;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-600); }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; width: 100%; }
.main-content, .sidebar { min-width: 0; overflow-wrap: break-word; word-wrap: break-word; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark);
  line-height: 1.3;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }
p { margin-bottom: 1rem; }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}
.section-header h2 { margin-bottom: 15px; }
.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
}
.section-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-700);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--orange-600);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--white);
  color: var(--green-700);
  border: 2px solid var(--green-700);
}
.btn-secondary:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background: var(--white);
  color: var(--green-700);
}
.btn-white:hover {
  background: var(--green-100);
  color: var(--green-700);
  transform: translateY(-2px);
}
.btn-lg { padding: 16px 40px; font-size: 1.1rem; }

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.top-bar {
  background: var(--green-800);
  color: var(--white);
  padding: 8px 0;
  font-size: 0.875rem;
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar a { color: var(--white); }
.top-bar a:hover { color: var(--orange-500); }
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-700);
}
.logo span { color: var(--orange-600); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links a {
  padding: 8px 16px;
  color: var(--text);
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
  font-size: 0.95rem;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--green-700);
  background: var(--green-50);
}

.nav-cta {
  background: var(--orange-600) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
}
.nav-cta:hover {
  background: var(--orange-700) !important;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, rgba(13,54,24,0.85) 0%, rgba(26,92,42,0.8) 100%), url('../images/hero-bg.jpg') center/cover no-repeat;
  color: var(--white);
  margin-top: 100px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,192L48,176C96,160,192,128,288,138.7C384,149,480,203,576,213.3C672,224,768,192,864,165.3C960,139,1056,117,1152,128C1248,139,1344,181,1392,202.7L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom;
  background-size: cover;
  opacity: 0.4;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 20px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 30px;
  line-height: 1.8;
}
.hero-badges {
  display: flex;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  opacity: 0.9;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* --- Trust Bar --- */
.trust-bar {
  background: var(--white);
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}
.trust-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
}
.trust-item .icon {
  width: 40px;
  height: 40px;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--green-700);
}

/* --- Services Section --- */
.services {
  padding: 80px 0;
  background: var(--off-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--green-600);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--green-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text-light); margin-bottom: 15px; }
.service-card .learn-more {
  color: var(--green-700);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.service-card .learn-more:hover { gap: 10px; }

/* --- Why Choose Us --- */
.why-us {
  padding: 80px 0;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-content h2 { margin-bottom: 20px; }
.why-content > p { color: var(--text-light); margin-bottom: 30px; }
.why-list { display: flex; flex-direction: column; gap: 20px; }
.why-item {
  display: flex;
  gap: 15px;
}
.why-item-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--green-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--green-700);
}
.why-item-text h4 { margin-bottom: 5px; font-size: 1.05rem; }
.why-item-text p { color: var(--text-light); font-size: 0.95rem; margin: 0; }

.why-image {
  background: var(--green-100);
  border-radius: var(--radius-lg);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--green-600);
  position: relative;
  overflow: hidden;
}
.why-stats {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.stat-box {
  background: var(--white);
  padding: 15px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat-box .number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-700);
}
.stat-box .label {
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
}

/* --- Service Areas --- */
.areas {
  padding: 80px 0;
  background: var(--green-900);
  color: var(--white);
}
.areas .section-header h2 { color: var(--white); }
.areas .section-header p { color: rgba(255,255,255,0.7); }
.areas .section-tag {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}
.area-link {
  display: block;
  padding: 14px 20px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 500;
  transition: all var(--transition);
}
.area-link:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  transform: translateX(5px);
}

/* --- Testimonials --- */
.testimonials {
  padding: 80px 0;
  background: var(--off-white);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.stars { color: var(--orange-500); font-size: 1.1rem; margin-bottom: 15px; }
.testimonial-card blockquote {
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.8;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 45px;
  height: 45px;
  background: var(--green-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--green-700);
}
.author-info .name { font-weight: 600; color: var(--dark); }
.author-info .location { font-size: 0.85rem; color: var(--text-light); }

/* --- FAQ Section --- */
.faq {
  padding: 80px 0;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px 25px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  font-family: var(--font);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--off-white); }
.faq-question .icon {
  font-size: 1.3rem;
  transition: transform var(--transition);
  color: var(--green-700);
}
.faq-item.active .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer-inner {
  padding: 0 25px 20px;
  color: var(--text-light);
  line-height: 1.8;
}

/* --- CTA Section --- */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
  color: var(--white);
  text-align: center;
}
.cta-section h2 {
  color: var(--white);
  margin-bottom: 15px;
}
.cta-section p {
  opacity: 0.9;
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-phone {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  display: block;
  margin-bottom: 25px;
}
.cta-phone:hover { color: var(--orange-500); }

/* --- Contact Form --- */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}
.contact-info { display: flex; flex-direction: column; gap: 25px; }
.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}
.contact-item-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--green-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--green-700);
}
.contact-item h4 { margin-bottom: 4px; }
.contact-item p { color: var(--text-light); margin: 0; }
.contact-item a { color: var(--green-700); font-weight: 600; }

.contact-form {
  background: var(--off-white);
  padding: 35px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: var(--font);
  transition: border var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(30,122,52,0.1);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { margin-bottom: 15px; }
.footer-brand .logo { color: var(--white); }
.footer-brand p { font-size: 0.95rem; line-height: 1.8; }

.footer h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
}

/* --- Interior Page Hero --- */
.page-hero {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white);
  margin-top: 100px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 10px; }
.page-hero p { opacity: 0.9; font-size: 1.1rem; }
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  opacity: 0.8;
}
.breadcrumb a { color: var(--white); }
.breadcrumb span { opacity: 0.5; }

/* --- Content Pages --- */
.page-content {
  padding: 60px 0;
}
.content-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
}
.main-content h2 { margin: 30px 0 15px; }
.main-content h3 { margin: 25px 0 10px; }
.main-content p { margin-bottom: 15px; }
.main-content ul, .main-content ol {
  margin-bottom: 20px;
  padding-left: 20px;
}
.main-content li {
  list-style: disc;
  margin-bottom: 8px;
  color: var(--text);
}
.main-content ol li { list-style: decimal; }

/* Sidebar */
.sidebar { display: flex; flex-direction: column; gap: 25px; }
.sidebar-widget {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 25px;
}
.sidebar-widget h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-600);
}
.sidebar-cta {
  background: var(--green-800);
  color: var(--white);
  text-align: center;
}
.sidebar-cta h3 {
  color: var(--white);
  border-bottom-color: var(--orange-600);
}
.sidebar-cta p { opacity: 0.9; margin-bottom: 15px; }
.sidebar-cta .phone {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange-500);
  display: block;
  margin-bottom: 15px;
}
.sidebar-services { display: flex; flex-direction: column; gap: 8px; }
.sidebar-services a {
  display: block;
  padding: 10px 15px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  transition: all var(--transition);
}
.sidebar-services a:hover, .sidebar-services a.active {
  background: var(--green-100);
  color: var(--green-700);
  border-color: var(--green-600);
}

/* Sidebar alternate classes (for blog post variations) */
.sidebar-section {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 25px;
}
.sidebar-section h3 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--green-600);
}
.sidebar-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-links li { margin: 0; }
.sidebar-links a {
  display: block;
  padding: 10px 15px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-weight: 500;
  transition: all var(--transition);
}
.sidebar-links a:hover {
  background: var(--green-100);
  color: var(--green-700);
  border-color: var(--green-600);
}
.sidebar-trust ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-trust li {
  list-style: none;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 500;
  color: var(--green-700);
}
.sidebar-trust li:last-child { border-bottom: none; }

/* Pricing table for blog posts */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}
.pricing-table th, .pricing-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.pricing-table th {
  background: var(--green-800);
  color: var(--white);
  font-weight: 600;
}
.pricing-table tr:nth-child(even) { background: var(--off-white); }
.pricing-table tr:hover { background: var(--green-50); }

/* Comparison table */
.table-responsive { overflow-x: auto; margin: 20px 0; max-width: 100%; -webkit-overflow-scrolling: touch; }
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.comparison-table th, .comparison-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.comparison-table th {
  background: var(--green-800);
  color: var(--white);
  font-weight: 600;
}
.comparison-table tr:nth-child(even) { background: var(--off-white); }
.comparison-table tr:hover { background: var(--green-50); }

/* Post meta for blog posts */
.post-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border);
}

/* --- Service Card Images --- */
.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -35px -30px 20px -30px;
  width: calc(100% + 60px);
}

/* --- Why Choose Us Image with Real Photo --- */
.why-image-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: absolute;
  top: 0; left: 0;
}

/* --- Blog Styles --- */
.blog-section { padding: 80px 0; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.blog-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.blog-card-body { padding: 25px; }
.blog-card-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
}
.blog-card-body h3 { margin-bottom: 10px; font-size: 1.2rem; }
.blog-card-body h3 a { color: var(--dark); }
.blog-card-body h3 a:hover { color: var(--green-700); }
.blog-card-body p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 15px; }

/* Blog Post Page */
.blog-post .main-content { max-width: 800px; }
.blog-post-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-light);
}
.blog-post-featured {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 30px;
}
.blog-post h2 { margin: 35px 0 15px; font-size: 1.6rem; }
.blog-post h3 { margin: 30px 0 12px; font-size: 1.3rem; }
.blog-post p { margin-bottom: 18px; line-height: 1.9; }
.blog-post ul, .blog-post ol { margin-bottom: 20px; padding-left: 25px; }
.blog-post li { list-style: disc; margin-bottom: 10px; line-height: 1.8; }
.blog-post ol li { list-style: decimal; }
.blog-post blockquote {
  border-left: 4px solid var(--green-600);
  padding: 15px 25px;
  margin: 25px 0;
  background: var(--green-50);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--text);
}
.blog-post .table-wrap { overflow-x: auto; margin: 20px 0; }
.blog-post table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.blog-post th, .blog-post td {
  padding: 12px 16px;
  border: 1px solid var(--border);
  text-align: left;
}
.blog-post th {
  background: var(--green-100);
  font-weight: 600;
  color: var(--dark);
}
.blog-post tr:nth-child(even) { background: var(--off-white); }

/* Related Posts */
.related-posts { margin-top: 50px; padding-top: 30px; border-top: 2px solid var(--border); }
.related-posts h3 { margin-bottom: 20px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-green { color: var(--green-700); }
.text-orange { color: var(--orange-600); }
.mb-0 { margin-bottom: 0; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* --- Responsive --- */
@media (max-width: 968px) {
  .why-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .why-image { min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-wrapper { grid-template-columns: minmax(0, 1fr); }
  .sidebar { order: 1; }
  .blog-post .main-content { max-width: 100%; }
}

@media (max-width: 768px) {
  .hero { min-height: 70vh; margin-top: 80px; }
  .page-hero { margin-top: 80px; }

  .menu-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border);
  }
  .nav-links.active { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }

  .top-bar-content { flex-direction: column; align-items: center; text-align: center; gap: 4px; }
  .top-bar-left, .top-bar-right { gap: 8px; flex-wrap: wrap; justify-content: center; }
  .trust-items { gap: 25px; }
  .hero-buttons { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .areas-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .blog-card-img { height: 200px; }
  .blog-post-featured { height: 250px; }
  .related-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 50px 0; }
  .faq-question { padding: 16px 18px; font-size: 0.95rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 15px; }
  .why-stats { grid-template-columns: 1fr; }
  .hero { min-height: 60vh; }
  .top-bar { font-size: 0.8rem; overflow: hidden; }
  .top-bar-right { flex-direction: column; gap: 2px; }
  .top-bar-left { font-size: 0.75rem; }
  .btn { padding: 12px 24px; font-size: 0.95rem; }
  .btn-lg { padding: 14px 30px; font-size: 1rem; }
  h1 { font-size: clamp(1.6rem, 5vw, 2.5rem); }
  .section-header { margin-bottom: 30px; }
  .page-hero { padding: 40px 0; }
  .page-content { padding: 40px 0; }
  .content-wrapper { gap: 30px; }
  .pricing-table th, .pricing-table td,
  .comparison-table th, .comparison-table td { padding: 8px 10px; font-size: 0.85rem; }
}
