/* Plumbing Geeks main layout & components */

.pg-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--pg-border);
}

.pg-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.75rem 0;
}

.pg-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 12px;
  background: var(--pg-primary);
  color: #fff;
  font-weight: 700;
  margin-right: 0.5rem;
  font-size: 0.9rem;
}

.pg-logo-text {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.pg-header__nav {
  flex: 1;
}

.pg-nav-list {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.pg-nav-list a {
  font-size: 0.9rem;
  font-weight: 500;
  color: #111827;
}

.pg-header__cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pg-header__phone {
  font-size: 0.85rem;
  font-weight: 600;
}

/* HERO */
.pg-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.pg-hero h1 {
  font-size: clamp(2.1rem, 3vw, 2.8rem);
  margin-bottom: 1rem;
}

.pg-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1rem;
}

.pg-hero__badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.pg-hero__badges li {
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 999px;
  padding: 0.4rem 0.8rem;
  font-size: 0.8rem;
}

.pg-hero__card {
  background: #ffffff;
  border-radius: var(--pg-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--pg-shadow-soft);
}

/* SERVICES grid */
.pg-section-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.pg-services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pg-card {
  background: #ffffff;
  border-radius: var(--pg-radius);
  padding: 1.5rem;
  box-shadow: var(--pg-shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.pg-card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.pg-card__link {
  display: inline-flex;
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

/* WHY section */
.pg-why__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.pg-why__list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.pg-why__list li {
  margin-bottom: 0.6rem;
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.93rem;
}

.pg-why__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--pg-primary);
  font-weight: 700;
}

.pg-why__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.pg-stat {
  background: var(--pg-light);
  border-radius: var(--pg-radius-lg);
  padding: 1rem;
  text-align: center;
}

.pg-stat__number {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
}

.pg-stat__label {
  font-size: 0.8rem;
  color: #6b7280;
}

/* CTA */
.pg-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.pg-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Articles */
.pg-article h1,
.pg-article h2 {
  margin-top: 0;
}

.pg-article__meta {
  font-size: 0.8rem;
  color: #6b7280;
  margin-bottom: 0.75rem;
}

/* Footer */
.pg-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 2fr);
  gap: 2.5rem;
}

.pg-footer__logo {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.pg-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.pg-footer__cols h4 {
  margin-top: 0;
}

.pg-footer__cols ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pg-footer__cols li {
  margin-bottom: 0.4rem;
}

.pg-footer__bottom {
  padding: 1rem 0;
  border-top: 1px solid var(--pg-border);
  font-size: 0.8rem;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 960px) {
  .pg-hero__inner,
  .pg-why__inner,
  .pg-footer__inner {
    grid-template-columns: 1fr;
  }

  .pg-header__inner {
    flex-wrap: wrap;
  }

  .pg-footer__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pg-header__nav {
    display: none; /* later: replace with mobile menu */
  }

  .pg-footer__cols {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 3rem 0;
  }
}
