/* ==============================================================
   LAW FIRM SEO SERVICES - PREMIUM CUSTOM STYLES
   ============================================================== */

/* 1. HERO SECTION SPECIFICS */
.plumbing-hero {
  position: relative;
  padding: 12rem 0 6rem 0;
  background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.08) 0%, var(--bg-primary) 70%);
  overflow: hidden;
}

.plumbing-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 991px) {
  .plumbing-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.plumbing-hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border: 1px solid var(--glass-border);
}
.plumbing-hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.plumbing-hero-image-wrapper:hover img {
  transform: scale(1.05);
}

.plumbing-hero .hero-white-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.plumbing-trust-badges {
  display: flex;
  gap: 2rem;
  justify-content: center;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}
.trust-badge-item i {
  color: #d4af37;
}

/* 2. STATS SECTION */
.plumbing-stats-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 4rem 0;
  position: relative;
  z-index: 3;
}
.plumbing-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}
.plumbing-stat-card h3 {
  font-size: 3.5rem;
  font-family: var(--font-headings);
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #fff 0%, #d4af37 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.plumbing-stat-card p {
  color: var(--text-muted);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* 3. WHY LAW FIRMS NEED SEO (PREMIUM CARDS) */
.plumbing-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.plumbing-why-card {
  padding: 2.5rem;
  border-radius: 16px;
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.plumbing-why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3), inset 0 0 20px rgba(212, 175, 55, 0.05);
}
.plumbing-why-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #d4af37;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
}
.plumbing-why-card h4 {
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 1rem;
}

/* 4. SERVICES GRID */
.plumbing-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.plumbing-service-box {
  padding: 2.5rem 2rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  text-align: left;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.plumbing-service-box:hover {
  background: rgba(255,255,255,0.03);
  border-color: rgba(212, 175, 55, 0.3);
}
.plumbing-service-box h4 {
  font-size: 1.25rem;
  color: #fff;
  margin: 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.plumbing-service-box h4 i {
  color: #d4af37;
}
.plumbing-service-box .btn {
  margin-top: auto !important;
}

/* 5. PRACTICE AREAS */
.practice-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}
.practice-card {
  position: relative;
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.8) 0%, rgba(2, 6, 23, 0.95) 100%);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
}
.practice-card:hover {
  border-color: #d4af37;
  transform: translateY(-5px);
}
.practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.practice-card:hover::before {
  opacity: 0.25;
}
.practice-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.practice-card-content .btn {
  margin-top: auto !important;
}
.practice-card-icon {
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 1rem;
}
.practice-card h4 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

/* 6. LOCAL SEO VISUALS */
.local-seo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 4rem;
}
.local-seo-list {
  list-style: none;
  padding: 0;
}
.local-seo-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.local-seo-list i {
  color: #d4af37;
  font-size: 1.25rem;
  margin-top: 0.25rem;
}
.local-seo-list h5 {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.25rem;
}
.local-map-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}
.local-map-visual img {
  width: 100%;
  display: block;
}
.map-overlay-card {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

/* 7. CASE STUDIES */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}
.cs-card {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 3rem;
}
.cs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1.5rem;
}
.cs-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.cs-metric-item h5 {
  font-size: 2rem;
  color: #d4af37;
  margin-bottom: 0.25rem;
}
.cs-metric-item p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* 8. TIMELINE */
.plumbing-timeline {
  position: relative;
  max-width: 800px;
  margin: 2.5rem auto 0;
  padding-left: 1.5rem;
  border-left: 2px solid rgba(212, 175, 55, 0.2);
}
.timeline-step {
  position: relative;
  margin-bottom: 1rem;
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: -1.9rem;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}
.timeline-step h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.2rem;
}
.timeline-step p {
  margin-bottom: 0;
  font-size: 0.9rem !important;
  line-height: 1.4 !important;
}

/* 9. WHY CHOOSE US */
.why-choose-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

/* 10. FAQ CUSTOM DESIGN */
.faq-item-custom {
  transition: all 0.3s ease;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}
.faq-item-custom:hover {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(255,255,255,0.03);
}
.faq-item-custom.faq-open {
  background: rgba(212, 175, 55, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.5) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.faq-item-custom.faq-open h4 {
  color: #d4af37 !important;
}
.faq-item-custom.faq-open .faq-toggle-custom i {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}
.faq-toggle-custom i {
  transition: transform 0.3s ease;
}

/* RESPONSIVE adjustments */
@media (max-width: 991px) {
  .local-seo-split {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .plumbing-hero {
    padding: 7rem 0 3rem 0;
  }
  .case-studies-grid {
    grid-template-columns: 1fr;
  }
  .cs-card {
    padding: 2rem;
  }
}

@media (max-width: 768px) {
  .faq-item-custom {
    padding: 1rem 1.25rem !important;
  }
}
