/* ============================================
   HOME PAGE — Page-Specific Styles
   Page: index.html
============================================ */

/* --- HERO (full-viewport, larger than service pages) --- */
.home-hero {
  position: relative;
  min-height: 620px;
  height: 88vh;
  max-height: 820px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a2e1b;
}
.home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.5;
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(20,38,21,0.92) 40%, rgba(20,38,21,0.30) 100%);
}
.home-hero__content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 80px 48px;
}
.home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: #a8d5ab;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.home-hero__title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 20px;
}
.home-hero__title span { color: #a8d5ab; }
.home-hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.85);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 600px;
}
.home-hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.home-hero__trust {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.home-hero__trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
  font-weight: 600;
}
.home-hero__trust-item svg { color: #a8d5ab; }

/* --- SERVICES GRID --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: all 0.22s;
  color: var(--text);
  text-decoration: none;
  display: block;
}
.service-card:hover {
  border-color: var(--green);
  background: var(--green-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: var(--text);
}
.service-card__icon {
  width: 60px;
  height: 60px;
  background: var(--green-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--green);
  font-size: 26px;
  transition: background 0.2s;
}
.service-card:hover .service-card__icon {
  background: var(--green);
  color: #fff;
}
.service-card__name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.service-card__desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

/* --- ABOUT / SPLIT SECTION --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split__image {
  position: relative;
  margin-bottom: 32px;
  margin-right: 32px;
}
.split__image img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}
.split__stat-badge {
  position: absolute;
  bottom: -32px;
  right: -32px;
  background: var(--green);
  color: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow);
  min-width: 130px;
  z-index: 2;
}
.split__stat-num {
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
}
.split__stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.85;
  margin-top: 4px;
}
.split__content h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.split__content h2 em {
  font-style: normal;
  color: var(--green);
}
.split__content p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.split__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 28px;
}
.split__checklist li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.split__checklist svg { color: var(--green); flex-shrink: 0; }

/* --- STATS BAR --- */
.stats-bar {
  background: var(--green-dark);
  padding: 48px 0;
}
.stats-bar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: 16px 24px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item__label {
  font-size: 13px;
  color: rgba(255,255,255,0.70);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- PEST TYPES TAB SECTION --- */
.pest-types__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.pest-tab {
  padding: 8px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
  color: var(--muted);
}
.pest-tab.active,
.pest-tab:hover {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* --- TESTIMONIALS --- */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.testimonial-card__stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.testimonial-card__text {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-card__author {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.testimonial-card__location {
  font-size: 13px;
  color: var(--muted);
}
.testimonial-card__quote {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 48px;
  color: var(--green-light);
  font-family: Georgia, serif;
  line-height: 1;
}

/* --- WHY US CARDS --- */
.why-cards__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.why-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.why-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow);
}
.why-card__icon {
  width: 52px;
  height: 52px;
  background: var(--green-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 16px;
}
.why-card__title {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text);
}
.why-card__desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================
   RESPONSIVE — HOME PAGE
============================================ */
@media (max-width: 1024px) {
  .split { grid-template-columns: 1fr; }
  .split__image { max-width: 560px; }
  .split__stat-badge { bottom: -16px; right: 16px; }
}
@media (max-width: 768px) {
  .home-hero { height: auto; min-height: 520px; }
  .home-hero__content { padding: 56px 20px; }
  .stats-bar__grid { grid-template-columns: 1fr 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .stat-item:nth-child(2n) { border-right: none; }
}
@media (max-width: 480px) {
  .home-hero__actions { flex-direction: column; }
  .stats-bar__grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
