/*
Theme Name: LCPWC Advanced Pain Management
Theme URI: https://lcpwc.com
Author: The Wicker Group LLC & ChatGPT
Description: Custom advanced WordPress theme for League City Pain and Wellness Center.
Version: 1.0
Text Domain: lcpwc-theme
*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1f2933;
  background-color: #f7fafc;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #0f766e;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 40;
}

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

.site-title {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #111827;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: #4b5563;
}

.main-nav a:hover {
  color: #0f766e;
}

.header-cta {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #0f766e;
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f766e;
  white-space: nowrap;
}

.header-cta:hover {
  background-color: #0f766e;
  color: #ffffff;
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top, #e0f2fe 0, #f9fafb 38%, #f1f5f9 100%);
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.8rem;
  color: #0f766e;
}

.hero-title {
  font-size: clamp(2.3rem, 3vw, 2.8rem);
  line-height: 1.1;
  margin: 0.75rem 0 0.75rem;
  color: #020617;
}

.hero-highlight {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 1rem;
  color: #4b5563;
  max-width: 32rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.75rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background-color: #ffffff;
  font-size: 0.8rem;
  color: #0f172a;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: none;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #0f766e, #14b8a6);
  color: #ffffff;
}

.btn-primary:hover {
  filter: brightness(0.95);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #cbd5f5;
  color: #0f172a;
}

.btn-outline:hover {
  background-color: #e5e7eb;
  text-decoration: none;
}

.hero-footnote {
  margin-top: 1.25rem;
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.metric {
  padding: 0.7rem 0.75rem;
  background-color: rgba(255,255,255,0.8);
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
}

.metric-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
}

.metric-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
}

/* Hero card */
.hero-card {
  background-color: #0b1120;
  color: #e5e7eb;
  padding: 1.5rem 1.4rem;
  border-radius: 1.25rem;
  box-shadow: 0 26px 60px rgba(15,23,42,0.6);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 220deg, rgba(45,212,191,0.08), transparent, rgba(56,189,248,0.1));
  opacity: 0.9;
  filter: blur(24px);
}

.hero-card-inner {
  position: relative;
  z-index: 1;
}

.hero-card-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.3rem;
}

.hero-card-subtitle {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-bottom: 0.75rem;
}

.hero-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

.hero-card-label {
  color: #9ca3af;
}

.hero-card-value {
  font-weight: 600;
}

.hero-card-divider {
  border-top: 1px dashed rgba(148,163,184,0.7);
  margin: 0.9rem 0;
}

.hero-card-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(15,118,110,0.4);
  font-size: 0.75rem;
  margin-bottom: 0.7rem;
}

.hero-card-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background-color: #22c55e;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #0f766e;
  font-weight: 600;
}

.section-title {
  font-size: 1.7rem;
  margin: 0.5rem 0 0.6rem;
  color: #020617;
}

.section-intro {
  max-width: 40rem;
  margin: 0 auto;
  font-size: 0.98rem;
  color: #4b5563;
}

/* Cards & grids */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.25rem;
  box-shadow: 0 18px 40px rgba(15,23,42,0.03);
}

.card h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #111827;
}

.card p {
  font-size: 0.95rem;
  color: #4b5563;
}

.card-tag {
  display: inline-flex;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.7rem;
  background-color: #ecfeff;
  color: #0f766e;
  margin-bottom: 0.75rem;
}

/* Provider */
.provider-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 2.3fr);
  gap: 2rem;
  align-items: center;
}

.provider-photo {
  border-radius: 1.25rem;
  overflow: hidden;
  background: radial-gradient(circle at top, #bfdbfe, #0f172a);
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.provider-photo-inner {
  padding: 1.2rem 1rem;
}

.provider-meta {
  font-size: 0.85rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.provider-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #f9fafb;
  margin: 0.35rem 0 0.1rem;
}

.provider-credentials {
  font-size: 0.9rem;
  color: #e5e7eb;
}

.provider-copy {
  font-size: 0.96rem;
  color: #4b5563;
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.testimonial {
  background-color: #0f172a;
  color: #e5e7eb;
  border-radius: 1rem;
  padding: 1.4rem 1.3rem;
  position: relative;
  overflow: hidden;
}

.testimonial::before {
  content: "“";
  position: absolute;
  font-size: 4.5rem;
  top: -1.4rem;
  right: 1rem;
  color: rgba(148,163,184,0.3);
}

.testimonial-text {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.testimonial-name {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Location */
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 2.2fr);
  gap: 2rem;
}

.location-card {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  padding: 1.3rem 1.25rem;
}

.location-card h3 {
  margin-top: 0;
}

.location-details p {
  margin: 0 0 0.25rem;
  font-size: 0.94rem;
}

/* Footer */
.site-footer {
  background-color: #020617;
  color: #9ca3af;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.3fr) minmax(0, 1.7fr);
  gap: 2rem;
  align-items: flex-start;
}

.footer-col h4 {
  color: #f9fafb;
  margin-top: 0;
}

.footer-bottom {
  margin-top: 1.5rem;
  border-top: 1px solid #1e293b;
  padding-top: 1rem;
  font-size: 0.8rem;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* Utility */
.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.6rem;
}

.badge {
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding-top: 3rem;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero-card {
    margin-top: 1.5rem;
  }
  .card-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .provider-grid,
  .location-grid,
  .footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .main-nav ul {
    flex-wrap: wrap;
    gap: 0.85rem;
  }
  .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-grid,
  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
