/* Apollo Pest Control — Home page overlay styles
   Layout inspired by FijiTravelPro structure.
   Used only by index.html (body.home-v2). All other pages keep the default style.
*/

body.home-v2 {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1f2937;
  background: #ffffff;
}
body.home-v2 .display {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: #0f172a;
}
body.home-v2 .display.white { color: #ffffff; }

/* Pill label (small rounded chip above headings) */
.pill-label {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.4);
  margin-bottom: 22px;
}
.pill-label.dark {
  background: rgba(15,23,42,0.06);
  border-color: rgba(15,23,42,0.10);
  color: #1e40af;
}

/* Pill buttons */
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.pill-btn:hover { transform: translateY(-1px); text-decoration: none; }
.pill-btn-light { background: #ffffff; color: #0f172a; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.pill-btn-light:hover { box-shadow: 0 10px 28px rgba(0,0,0,.22); }
.pill-btn-ghost { background: transparent; color: #ffffff; border: 1.5px solid rgba(255,255,255,0.65); }
.pill-btn-ghost:hover { background: rgba(255,255,255,0.12); }
.pill-btn-dark { background: #0f172a; color: #ffffff; }
.pill-btn-dark:hover { background: #1e293b; }
.pill-btn-lg { padding: 18px 36px; font-size: 1.06rem; }

/* ============ HERO ============ */
.hero-v2 {
  position: relative;
  min-height: 92vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  color: #ffffff;
  margin-top: 0;
}
.hero-v2-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(0,20,8,.72) 0%, rgba(0,20,8,.35) 55%, rgba(0,20,8,.15) 100%);
}
.hero-v2-inner {
  position: relative;
  z-index: 2;
  padding: 80px 20px;
  max-width: 1140px;
}
.hero-v2 h1.display {
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 6.2rem);
  margin: 0 0 22px;
}
.hero-v2-tagline {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 600px;
  margin: 0 0 32px;
  color: rgba(255,255,255,0.92);
  line-height: 1.55;
}
.hero-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ============ SPLIT SECTION (Why Apollo) ============ */
.section-split {
  padding: 110px 0;
  background: #ffffff;
}
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-grid-tight {
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
.split-text h2.display {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin: 0 0 24px;
}
.lead-prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #4b5563;
  margin: 0 0 18px;
  max-width: 540px;
}
.split-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(0,0,0,.12);
  display: block;
}

/* Feature list with circular icons */
.feature-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.feature-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: start;
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0f172a;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-list h3 {
  margin: 0 0 4px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f172a;
}
.feature-list p {
  margin: 0;
  font-size: .96rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ============ DARK SECTION ============ */
.section-dark {
  padding: 110px 0;
  background: #0b0f12;
  color: #ffffff;
}
.section-dark h2.display {
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  margin: 0;
}
.dark-right p {
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  margin: 0 0 18px;
}
.dark-right .pill-btn { margin-top: 14px; }

/* ============ IMAGE CARDS ============ */
.section-cards {
  padding: 110px 0;
  background: #fafaf8;
}
.section-cards-head {
  text-align: center;
  margin-bottom: 50px;
}
.section-cards-head .pill-label { color: #1e40af; margin-bottom: 18px; }
.section-cards-head h2.display {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  margin: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.visit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 360px;
  border-radius: 22px;
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  padding: 26px;
  isolation: isolate;
  transition: transform .25s ease;
}
.visit-card::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.10) 55%, rgba(0,0,0,0) 100%);
  z-index: -1;
}
.visit-card:hover { transform: translateY(-4px); text-decoration: none; }
.visit-eyebrow {
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 6px;
}
.visit-title {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
  color: #ffffff;
}

/* ============ SERVICES PILL LIST ============ */
.section-services-list {
  padding: 100px 0;
  background: #ffffff;
}
.services-list-head {
  text-align: center;
  margin-bottom: 36px;
}
.services-list-head h2.display {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  margin: 0 0 14px;
}
.services-list-head .lead-prose {
  margin: 0 auto;
  max-width: 640px;
  color: #6b7280;
}
.services-pills {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.services-pills li a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid #e5e7eb;
  background: #ffffff;
  color: #0f172a;
  font-weight: 500;
  text-decoration: none;
  transition: all .15s ease;
}
.services-pills li a:hover {
  border-color: #1e40af;
  background: #1e40af;
  color: #ffffff;
  text-decoration: none;
}

/* ============ FINAL CTA ============ */
.section-cta-v2 {
  padding: 110px 0;
  background: #1e40af;
  color: #ffffff;
}
.cta-v2-inner {
  text-align: center;
}
.cta-v2-inner h2.display {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0 0 18px;
}
.cta-v2-inner p {
  max-width: 580px;
  margin: 0 auto 30px;
  color: rgba(255,255,255,0.88);
  font-size: 1.08rem;
  line-height: 1.65;
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .split-grid, .split-grid-tight { grid-template-columns: 1fr; gap: 40px; }
  .split-media img { height: 380px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-v2 { min-height: 80vh; }
  .section-split, .section-dark, .section-cards, .section-cta-v2, .section-services-list { padding: 70px 0; }
}
@media (max-width: 560px) {
  .card-grid { grid-template-columns: 1fr; }
  .visit-card { height: 280px; }
  .hero-v2 h1.display { font-size: 2.8rem; }
  .feature-list li { grid-template-columns: 48px 1fr; }
  .feature-icon { width: 48px; height: 48px; }
}
