/* ==========================================================
   SERVICE PAGES — Shared template for all service pages
   Injectables, IV Therapy, Weight Loss, Skin Treatments
   ========================================================== */

/* --- Page Hero (shorter than home hero) --- */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--primary-dark);
  padding-bottom: var(--space-3xl);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to top,
    rgba(26, 58, 58, 0.95) 0%,
    rgba(26, 58, 58, 0.4) 50%,
    rgba(15, 36, 36, 0.3) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
}

.page-hero-content .text-label {
  color: var(--secondary);
  margin-bottom: var(--space-sm);
  display: block;
}

.page-hero-content h1 {
  color: var(--white);
  font-size: var(--text-h1);
  max-width: 600px;
  margin-bottom: var(--space-md);
}

.page-hero-content p {
  color: rgba(255, 255, 255, 0.7);
  max-width: 500px;
  font-size: var(--text-body-lg);
  font-weight: 300;
}

.page-hero-breadcrumb {
  position: absolute;
  top: 100px;
  z-index: 3;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  width: 100%;
  left: 50%;
  transform: translateX(-50%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb a:hover {
  color: var(--secondary);
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .page-hero {
    height: auto;
    min-height: 320px;
    padding-top: 100px;
    padding-bottom: var(--space-2xl);
  }
  .page-hero-content h1 {
    font-size: clamp(1.75rem, 6vw, 2.5rem);
  }
  .page-hero-breadcrumb {
    display: none;
  }
}

/* --- Service Intro Section --- */
.service-intro {
  background: var(--white);
}

.service-intro-content h2 {
  margin-bottom: var(--space-md);
}

.service-intro-content p {
  margin-bottom: var(--space-sm);
}

.service-intro-content p:last-of-type {
  margin-bottom: var(--space-lg);
}

.service-intro-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.service-intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Treatments Grid --- */
.treatments-section {
  background: var(--bg-light);
}

.treatment-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  transition: all var(--duration-normal) var(--ease-out);
  text-align: center;
}

.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-gold);
}

.treatment-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  color: var(--primary);
}

.treatment-card h3 {
  font-size: var(--text-h4);
  margin-bottom: var(--space-xs);
}

.treatment-card p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.treatment-price {
  font-family: var(--font-display);
  font-size: var(--text-h3);
  color: var(--secondary);
  font-weight: 400;
}

.treatment-price span {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 400;
}

/* --- Before/After Section --- */
.before-after-section {
  background: var(--white);
}

.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-lg);
}

.ba-item {
  position: relative;
}

.ba-item-label {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* --- FAQ Section --- */
.faq-section {
  background: var(--bg-warm);
}

.faq-container {
  max-width: 780px;
  margin-inline: auto;
}

/* --- Service CTA --- */
.service-cta {
  text-align: center;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.service-cta .bg-pattern {
  opacity: 0.02;
}

.service-cta h2 {
  margin-bottom: var(--space-md);
}

.service-cta p {
  max-width: 500px;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
}

/* --- Pricing Table (used on service pages) --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.pricing-card.featured {
  border-color: var(--secondary);
  box-shadow: var(--shadow-gold);
}

.pricing-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--secondary);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card h3 {
  font-size: var(--text-h3);
  margin-bottom: var(--space-xs);
}

.pricing-card .price {
  font-family: var(--font-display);
  font-size: var(--text-h1);
  color: var(--secondary);
  font-weight: 400;
  margin-bottom: var(--space-md);
}

.pricing-card .price span {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.pricing-features {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: var(--text-sm);
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
  flex-shrink: 0;
}
