/* ==========================================================================
   Damaged Pipe Section Removal Page-Specific CSS
   ========================================================================== */

/* Hero Section Background Image Override */
.hero-damaged-pipe-section-removal {
  background:
    linear-gradient(135deg, rgba(9, 31, 44, 0.90) 0%, rgba(12, 53, 71, 0.86) 50%, rgba(19, 75, 99, 0.80) 100%),
    url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?w=1600&auto=format&fit=crop') center/cover no-repeat;
}

/* Trust Strip Inside Hero */
.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-top: 32px;
  padding-top: 24px;
  max-width: 800px;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #E2E8F0;
  font-size: 0.95rem;
  font-weight: 500;
}

.hero-trust-item i {
  color: #4ADE80;
  font-size: 1.1rem;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-trust-strip {
    gap: 14px;
    margin-top: 24px;
    padding-top: 18px;
  }
  .hero-trust-item {
    font-size: 0.9rem;
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   UNIQUE SECTION: Section Removal vs Full Repipe — Battle Comparison
   ========================================================================== */

.vs-battle-section {
  background: linear-gradient(135deg, #F1F5F9 0%, #E8F4F8 100%);
  padding: 80px 0;
  position: relative;
}

.vs-arena {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: stretch;
  margin-top: 50px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* Battle Card */
.vs-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(12, 53, 71, 0.08);
  border: 2px solid transparent;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vs-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(12, 53, 71, 0.15);
}

/* Winner Card Highlight */
.vs-card-winner {
  border-color: #27AE60;
  background: linear-gradient(180deg, #ffffff 0%, #F0FDF4 100%);
}

.vs-winner-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #27AE60 0%, #16A34A 100%);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
}

.vs-winner-badge i {
  font-size: 0.9rem;
}

/* Card Header */
.vs-card-header {
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 2px dashed #E2E8F0;
  margin-bottom: 20px;
}

.vs-card-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-accent) 0%, var(--primary-light) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 16px rgba(26, 143, 188, 0.3);
}

.vs-card-icon-alt {
  background: linear-gradient(135deg, var(--accent) 0%, #B71C1C 100%);
  box-shadow: 0 6px 16px rgba(214, 48, 49, 0.3);
}

.vs-card-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 6px 0;
}

.vs-tagline {
  color: #64748B;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

/* Stats Rows */
.vs-stats {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.vs-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #F8FAFC;
  border-radius: 8px;
  border-left: 3px solid #E2E8F0;
}

.vs-stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vs-stat-label i {
  color: var(--blue-accent);
  font-size: 0.9rem;
}

.vs-stat-value {
  font-size: 0.95rem;
  font-weight: 700;
  text-align: right;
}

.vs-good { color: #16A34A; }
.vs-bad { color: #DC2626; }
.vs-neutral { color: #64748B; }

/* "When It Makes Sense" Footer Block */
.vs-when {
  background: var(--blue-light);
  border-radius: 8px;
  padding: 16px 18px;
  margin-top: auto;
}

.vs-when h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--primary);
  margin: 0 0 6px 0;
  font-weight: 700;
}

.vs-when p {
  font-size: 0.9rem;
  color: #334155;
  margin: 0;
  line-height: 1.5;
}

/* VS Divider */
.vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.vs-divider span {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 1px;
  box-shadow: 0 8px 24px rgba(12, 53, 71, 0.3);
  border: 4px solid #ffffff;
  z-index: 2;
}

/* Verdict Banner */
.vs-verdict {
  max-width: 900px;
  margin: 40px auto 0;
  background: #ffffff;
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 6px 16px rgba(12, 53, 71, 0.08);
}

.vs-verdict i {
  color: var(--accent);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.vs-verdict p {
  margin: 0;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.6;
}

.vs-verdict a {
  color: var(--blue-accent);
  font-weight: 600;
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 900px) {
  .vs-arena {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .vs-divider {
    padding: 0;
  }

  .vs-divider span {
    width: 60px;
    height: 60px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .vs-battle-section {
    padding: 50px 0;
  }

  .vs-card {
    padding: 28px 20px;
  }

  .vs-winner-badge {
    font-size: 0.72rem;
    padding: 6px 14px;
  }

  .vs-card-header h3 {
    font-size: 1.35rem;
  }

  .vs-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .vs-stat-value {
    text-align: left;
  }

  .vs-verdict {
    flex-direction: column;
    gap: 10px;
    padding: 18px 20px;
  }
}