/* ============================================================
   TECHNO STAR — service.css
   Styles for individual pest service pages
   ============================================================ */
 
/* ── SERVICE HERO BANNER ── */
.service-hero {
  padding: 6.5rem 6% 0;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: stretch;
}
.service-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 80% at 30% 60%, rgba(240,120,0,0.1) 0%, transparent 60%);
  pointer-events: none; z-index: 0;
}
.service-hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.025;
  background-image:
    linear-gradient(rgba(240,120,0,1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,120,0,1) 1px, transparent 1px);
  background-size: 50px 50px;
}
 
/* 70/30 split */
.service-hero-inner {
  position: relative; z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 70% 30%;
  align-items: center;
  gap: 2rem;
}
.service-hero-text { padding: 1rem 0 3.5rem; }
.service-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 2rem;
  position: relative;
}
.service-hero-emoji {
  font-size: 8rem;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.45));
  animation: float 4s ease-in-out infinite;
  line-height: 1;
  text-align: center;
}
.service-hero-visual::before {
  content: '';
  position: absolute;
  width: 160px; height: 160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,120,0,0.18) 0%, transparent 70%);
  pointer-events: none;
}
.service-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 4.5vw, 4.2rem);
  color: #fff; letter-spacing: 1px;
  margin-bottom: 0.75rem; line-height: 1.0;
}
.service-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  margin: 0 0 2rem 0;
  line-height: 1.75;
}
 
/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,0.3); }
.bc-current { color: var(--orange); font-weight: 600; }
 
/* ── PAGE LAYOUT ── */
.service-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 4% 5rem;
  align-items: start;
}
 
/* ── SIDEBAR ── */
.service-sidebar {
  position: sticky;
  top: 82px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
 
.sidebar-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(11,31,58,0.06);
}

.sidebar-icon{
width:18px;
height:18px;
margin-right:10px;
vertical-align:middle;
}

.sidebar-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin-bottom: 1.1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--orange);
  text-transform: uppercase;
}
 
/* Sidebar service list */
.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.sidebar-list li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.sidebar-list li a:hover { background: var(--lightbg); color: var(--navy); }
.sidebar-list li.active a {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  border-bottom-color: transparent;
}
 
/* Sidebar help card */
.sidebar-help { background: var(--lightbg); border-color: rgba(26,58,138,0.12); }
.help-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.help-icon {
  width: 36px; height: 36px;
  background: var(--navy); border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
}
.help-label { font-size: 0.67rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 2px; }
.help-val { font-size: 0.85rem; font-weight: 600; color: var(--text); line-height: 1.5; }
.help-val a { color: var(--navy); transition: color 0.2s; }
.help-val a:hover { color: var(--orange); }
 
.sidebar-cta {
  display: block;
  background: var(--orange);
  color: #fff;
  text-align: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(240,120,0,0.3);
}
.sidebar-cta:hover { background: var(--orange2); transform: translateY(-1px); }
 
/* Sidebar quick info */
.sidebar-info { background: var(--navy2); border-color: rgba(240,120,0,0.15); }
.sidebar-info h3 { color: rgba(255,255,255,0.6); border-bottom-color: rgba(240,120,0,0.4); }
.qi-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.qi-row:last-child { border-bottom: none; }
.qi-label { font-size: 0.7rem; color: rgba(255,255,255,0.35); font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; }
.qi-val { font-size: 0.85rem; color: var(--orange); font-weight: 600; }
 
/* ── MAIN CONTENT ── */
.service-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}
 
.sc-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.sc-section:first-child { padding-top: 0; }
.sc-section:last-of-type { border-bottom: none; }
 
.sc-icon-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.sc-big-emoji {
  font-size: 3rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
  flex-shrink: 0;
}
.sc-icon-title h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--text);
  letter-spacing: 0.5px;
  margin: 0;
}
.sc-intro {
  font-size: 0.975rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 100%;
}
 
/* Section headings */
.sc-h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.sc-h2-red  { color: #b91c1c; }
.sc-h2-orange { color: var(--orange); }
.sc-h2-navy { color: var(--navy); }
 
/* ── EFFECTS GRID ── */
.effects-grid {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.effect-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.effect-card:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 18px rgba(240,120,0,0.1);
  transform: translateX(4px);
}
.effect-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: var(--white);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.effect-card h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.effect-card p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
 
/* ── TREATMENT STEPS ── */
.treatment-steps {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.treatment-step {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  padding: 1.3rem 1.5rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.treatment-step:hover {
  border-color: var(--navy);
  box-shadow: 0 6px 22px rgba(26,58,138,0.1);
}
.ts-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  color: #fff;
  background: var(--navy);
  width: 44px; height: 44px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26,58,138,0.25);
}
.treatment-step h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.treatment-step p {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}
 
/* ── PREVENTION LIST ── */
.sc-prevention {
  background: var(--lightbg);
  border-radius: 14px;
  padding: 2rem 1.75rem !important;
  border: 1.5px solid rgba(26,58,138,0.1);
  border-bottom: 1.5px solid rgba(26,58,138,0.1) !important;
}
.sc-prevention .sc-h2 { color: var(--navy); margin-bottom: 1.25rem; }
.prevention-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.prevention-list li {
  font-size: 0.875rem;
  color: var(--text);
  font-weight: 500;
  padding: 0.55rem 0.75rem;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border);
  line-height: 1.5;
}
 
/* ── BOTTOM CTA BOX ── */
.sc-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  margin-top: 2rem;
}
.sc-cta-text h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.sc-cta-text p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-width: 420px;
}
.sc-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}
.btn-outline-service {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
  padding: 0.8rem 1.75rem;
  border-radius: 8px;
  font-weight: 600; font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.btn-outline-service:hover { border-color: var(--orange); color: var(--orange); }
 
/* ══════════════════════════════════════
   SERVICE PAGE RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .service-layout {
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    padding: 2.5rem 3.5% 4rem;
  }
}
 
@media (max-width: 768px) {
  .service-hero { padding: 5.5rem 4% 0; min-height: auto; }
  .service-hero-inner { grid-template-columns: 1fr; gap: 0; }
  .service-hero-text { padding: 1rem 0 2rem; text-align: center; }
  .service-hero p { margin: 0 auto 1.75rem; }
  .breadcrumb { justify-content: center; }
  .service-hero-visual { display: none; }
  .service-hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
 
  .service-layout {
    grid-template-columns: 1fr;
    padding: 2rem 4% 3rem;
    gap: 0;
  }
 
  /* Sidebar becomes horizontal accordion on mobile */
  .service-sidebar {
    position: static;
    margin-bottom: 2rem;
  }
 
  /* Hide the full sidebar list on mobile — show compact version */
  .sidebar-card:first-child { display: none; }
 
  /* Mobile services strip */
  .mobile-services-strip {
    display: flex;
    overflow-x: auto;
    gap: 0.5rem;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    scrollbar-width: none;
  }
  .mobile-services-strip::-webkit-scrollbar { display: none; }
  .mobile-services-strip a {
    white-space: nowrap;
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--muted);
    transition: all 0.2s;
    flex-shrink: 0;
  }
  .mobile-services-strip a.active,
  .mobile-services-strip a:hover {
    background: var(--navy);
    color: #fff;
    border-color: var(--navy);
  }
 
  .prevention-list { grid-template-columns: 1fr; }
 
  .sc-cta-box {
    flex-direction: column;
    padding: 1.75rem 1.5rem;
    text-align: center;
  }
  .sc-cta-text p { max-width: 100%; }
  .sc-cta-btns { width: 100%; }
  .sc-cta-btns a { width: 100%; justify-content: center; }
 
  .sc-section { padding: 2rem 0; }
  .sc-big-emoji { font-size: 2.2rem; }
}
 
@media (max-width: 420px) {
  .service-layout { padding: 1.5rem 3.5% 2.5rem; }
  .service-hero { padding: 5.5rem 3.5% 2.5rem; }
  .sc-cta-box { padding: 1.5rem 1.25rem; }
  .treatment-step { padding: 1rem 1.1rem; }
  .effect-card { padding: 0.9rem 1rem; }
}
 