/* Drainage & Waste Service Page - Septic Tank Cleaning */
.septic-page {
  background: #ffffff;
  overflow: hidden;
}

.septic-page h1,
.septic-page h2,
.septic-page h3 {
  color: var(--dark);
}

.septic-breadcrumb-strip {
  background: var(--dark);
  color: var(--white);
}

.septic-breadcrumbs {
  width: min(1180px, 92%);
  margin: 0 auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 900;
}

.septic-breadcrumbs a,
.septic-breadcrumbs span,
.septic-breadcrumbs strong {
  color: var(--white);
}

.septic-hero {
  position: relative;
  padding: 76px 0 86px;
  background:
    radial-gradient(circle at 87% 15%, rgba(245, 158, 11, .22), transparent 34%),
    radial-gradient(circle at 8% 85%, rgba(86, 159, 9, .12), transparent 30%),
    linear-gradient(135deg, #fffaf0 0%, #ffffff 48%, #f8fffc 100%);
}

.septic-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: -120px;
  width: 46%;
  height: 100%;
  background: linear-gradient(135deg, rgba(54,72,157,.08), rgba(245,158,11,.18));
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.septic-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 58px;
  align-items: center;
}

.septic-hero h1 {
  max-width: 760px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -2.2px;
  margin: 0 0 22px;
}

.septic-hero p {
  max-width: 720px;
  font-size: 18px;
  color: var(--text);
  margin: 0;
}

.septic-hero-tags {
  margin: 28px 0 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.septic-hero-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(245,158,11,.22);
  color: var(--dark);
  font-weight: 900;
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
}

.septic-hero-tags i {
  color: var(--secondary);
}

.septic-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.septic-visual-card {
  position: relative;
  padding: 18px;
  border-radius: 38px;
  background: var(--white);
  border: 1px solid rgba(54,72,157,.12);
  box-shadow: var(--shadow);
}

.septic-img-placeholder {
  min-height: 420px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(54,72,157,.82), rgba(69,129,4,.76)),
    #36489d;
  color: var(--white);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px;
  overflow: hidden;
  position: relative;
}

.septic-img-placeholder::before,
.septic-img-placeholder::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
}

.septic-img-placeholder::before {
  width: 260px;
  height: 260px;
  right: -80px;
  top: -70px;
}

.septic-img-placeholder::after {
  width: 180px;
  height: 180px;
  left: -50px;
  bottom: -50px;
}

.septic-img-placeholder > div {
  position: relative;
  z-index: 1;
}

.septic-img-placeholder i {
  font-size: 70px;
  color: #fef3c7;
  margin-bottom: 18px;
}

.septic-img-placeholder strong {
  display: block;
  font-size: 27px;
  line-height: 1.2;
}

.septic-img-placeholder small {
  display: block;
  margin-top: 10px;
  color: #e0ecff;
  font-weight: 700;
}

.septic-mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.septic-mini-stats div {
  padding: 16px 12px;
  border-radius: 18px;
  background: #fff8ec;
  border: 1px solid rgba(245,158,11,.22);
  text-align: center;
}

.septic-mini-stats strong {
  display: block;
  color: var(--secondary);
  font-size: 22px;
  line-height: 1;
}

.septic-mini-stats span {
  display: block;
  margin-top: 6px;
  color: var(--dark);
  font-size: 12px;
  font-weight: 900;
}

.septic-intro-section {
  background: var(--white);
}

.septic-intro-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 36px;
  align-items: stretch;
}

.septic-alert-panel {
  border-radius: 30px;
  padding: 34px;
  color: var(--white);
  background: linear-gradient(135deg, var(--dark), #26336e);
  box-shadow: var(--shadow);
}

.septic-alert-panel i {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: rgba(255,255,255,.12);
  color: #fef3c7;
  font-size: 28px;
  margin-bottom: 20px;
}

.septic-alert-panel h2,
.septic-alert-panel p {
  color: var(--white);
}

.septic-alert-panel h2 {
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.12;
  margin: 0 0 16px;
}

.septic-content-panel {
  border-radius: 30px;
  padding: 34px;
  background: #f8fafc;
  border: 1px solid var(--border);
}

.septic-content-panel p {
  color: var(--text);
  margin: 0 0 16px;
}

.septic-content-panel p:last-child {
  margin-bottom: 0;
}

.septic-process-section {
  background: #fff8ec;
}

.septic-process-track {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: process;
}

.septic-process-card {
  position: relative;
  padding: 30px;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid rgba(245,158,11,.18);
  box-shadow: 0 12px 34px rgba(15,23,42,.06);
}

.septic-process-card::before {
  counter-increment: process;
  content: "0" counter(process);
  display: inline-flex;
  margin-bottom: 18px;
  font-size: 42px;
  line-height: 1;
  color: rgba(245,158,11,.28);
  font-weight: 900;
}

.septic-process-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.septic-process-card p {
  margin: 0;
  color: var(--text);
}

.septic-types-section {
  background: var(--white);
}

.septic-types-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 38px;
}

.septic-type-card {
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(15,23,42,.06);
  transition: .25s ease;
}

.septic-type-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.septic-type-card i {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  font-size: 28px;
  margin-bottom: 20px;
}

.septic-type-card h3 {
  margin: 0 0 10px;
}

.septic-type-card p {
  margin: 0;
  color: var(--text);
}

.septic-why-section {
  background: linear-gradient(135deg, var(--dark), #1f2b62);
  color: var(--white);
}

.septic-why-section h2,
.septic-why-section h3 {
  color: var(--white);
}

.septic-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 38px;
}

.septic-why-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

.septic-why-card i {
  font-size: 25px;
  color: #fef3c7;
  margin-bottom: 14px;
}

.septic-why-card p {
  color: #dbeafe;
  margin: 8px 0 0;
}

.septic-cta-section {
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.septic-cta-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 30px;
  align-items: center;
  border-radius: 34px;
  padding: 42px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.septic-cta-card h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  margin: 0 0 12px;
}

.septic-cta-card p {
  color: var(--text);
  margin: 0;
}

.septic-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.septic-related-section {
  background: #f8fafc;
  padding: 80px 0;
}

.septic-related-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 8px 2px 24px;
}

.septic-related-carousel::-webkit-scrollbar {
  display: none;
}

.septic-related-card {
  scroll-snap-align: start;
  overflow: hidden;
  border-radius: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(15,23,42,.06);
}

.septic-related-img {
  height: 205px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(245,158,11,.18), rgba(54,72,157,.12));
}

.septic-related-img i {
  font-size: 52px;
  color: var(--secondary);
}

.septic-related-body {
  padding: 24px;
}

.septic-related-body h3 {
  margin: 0 0 10px;
}

.septic-related-body p {
  margin: 0 0 20px;
  color: var(--text);
}

.septic-read-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--white);
  font-weight: 900;
}

.septic-read-more:hover {
  background: var(--primary-dark);
}

@media (max-width: 1024px) {
  .septic-hero-grid,
  .septic-intro-grid,
  .septic-cta-card {
    grid-template-columns: 1fr;
  }

  .septic-process-track,
  .septic-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .septic-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .septic-related-carousel {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .septic-cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767px) {
  .septic-hero {
    padding: 54px 0 64px;
  }

  .septic-hero h1 {
    letter-spacing: -1.4px;
  }

  .septic-img-placeholder {
    min-height: 300px;
  }

  .septic-mini-stats,
  .septic-process-track,
  .septic-types-grid,
  .septic-why-grid {
    grid-template-columns: 1fr;
  }

  .septic-alert-panel,
  .septic-content-panel,
  .septic-cta-card {
    padding: 26px 22px;
    border-radius: 24px;
  }

  .septic-cta-actions,
  .septic-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .septic-related-carousel {
    grid-auto-columns: 88%;
  }
}
