/* ===== SERVICE PAGE STYLES ===== */
/* Shared styles for all individual service pages */

/* ---- PAGE HERO ---- */
.page-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,30,30,0.88) 0%, rgba(10,60,60,0.55) 50%, rgba(10,110,110,0.3) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0 50px;
}
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 16px;
}
.page-breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.page-breadcrumb a:hover { color: var(--gold-light); }
.page-breadcrumb span { color: rgba(255,255,255,0.35); }
.page-hero-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal-pale);
  margin-bottom: 10px;
  display: block;
}
.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  max-width: 700px;
}
.page-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  line-height: 1.8;
  margin-bottom: 28px;
}
.page-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.page-hero-badge {
  position: absolute;
  top: 40px;
  right: 40px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  color: white;
}
.page-hero-badge .phb-stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; }
.page-hero-badge .phb-score { font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 700; color: white; }
.page-hero-badge .phb-sub { font-family: 'Outfit', sans-serif; font-size: 0.72rem; color: rgba(255,255,255,0.7); }

/* ---- PAGE BODY ---- */
.page-body { padding: 80px 0; background: var(--white); }
.page-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}
.page-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy);
  margin: 36px 0 14px;
}
.page-content h2:first-child { margin-top: 0; }
.page-content p {
  font-size: 0.98rem;
  color: var(--slate);
  line-height: 1.85;
  margin-bottom: 16px;
}
.page-content ul {
  margin: 14px 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.7;
}
.page-content ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--teal-deep);
  margin-top: 8px;
}
.page-content .highlight-box {
  background: var(--teal-ghost);
  border-left: 4px solid var(--teal-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px;
  margin: 24px 0;
}
.page-content .highlight-box p { margin-bottom: 0; color: var(--navy); font-weight: 500; }
.page-content .stat-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: var(--radius);
  padding: 12px 18px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin: 16px 0;
}

/* Info cards */
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 28px 0;
}
.info-card {
  background: var(--teal-ghost);
  border-radius: var(--radius);
  padding: 20px 18px;
  border: 1px solid var(--teal-pale);
  transition: var(--transition);
}
.info-card:hover { background: var(--teal-pale); transform: translateY(-2px); }
.info-card .ic-icon { font-size: 1.5rem; margin-bottom: 8px; }
.info-card h4 { font-family: 'Outfit', sans-serif; font-size: 0.92rem; font-weight: 600; color: var(--navy); margin-bottom: 5px; }
.info-card p { font-size: 0.82rem; color: var(--gray); line-height: 1.6; }

/* Steps */
.steps-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0;
}
.step-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--teal-deep);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
}
.step-item p { font-size: 0.93rem; color: var(--slate); line-height: 1.7; margin: 0; padding-top: 4px; }
.step-item h4 { font-family: 'Outfit', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }

/* Inline image */
.page-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 32px 0;
  box-shadow: var(--shadow-md);
}
.page-img img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ---- SIDEBAR ---- */
.sidebar { position: sticky; top: 100px; }
.sidebar-card {
  background: var(--teal-ghost);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--teal-pale);
  margin-bottom: 20px;
}
.sidebar-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.sidebar-card .btn { width: 100%; justify-content: center; font-size: 0.85rem; padding: 12px; }
.sidebar-card .btn + .btn { margin-top: 10px; }
.sidebar-hours { display: flex; flex-direction: column; gap: 8px; }
.sidebar-hours li { display: flex; justify-content: space-between; font-size: 0.83rem; color: var(--slate); padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.sidebar-hours li:last-child { border-bottom: none; }
.sidebar-hours li span:last-child { font-weight: 600; color: var(--teal-deep); }
.other-services h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.other-services ul { display: flex; flex-direction: column; gap: 6px; }
.other-services ul li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 9px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--slate);
  background: var(--white);
  border: 1px solid var(--silver);
  transition: var(--transition);
}
.other-services ul li a:hover { background: var(--teal-ghost); color: var(--teal-deep); border-color: var(--teal-pale); }
.other-services ul li a.active { background: var(--teal-deep); color: white; border-color: var(--teal-deep); }

/* ---- RANGE BAR ---- */
.range-bar-wrap { margin: 24px 0; }
.range-bar-item { margin-bottom: 16px; }
.range-bar-label {
  display: flex;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.range-bar-track { height: 10px; background: var(--silver); border-radius: 5px; overflow: hidden; }
.range-bar-fill { height: 100%; border-radius: 5px; transition: width 1.2s ease; }
.range-bar-fill.green { background: linear-gradient(90deg, #10B981, #34D399); }
.range-bar-fill.yellow { background: linear-gradient(90deg, #F59E0B, #FCD34D); }
.range-bar-fill.red { background: linear-gradient(90deg, #EF4444, #F87171); }

/* ---- SYMPTOM GRID ---- */
.symptom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.symptom-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px;
  background: var(--warm-bg);
  border-radius: var(--radius);
  border: 1px solid var(--silver);
}
.symptom-icon { font-size: 1.2rem; }
.symptom-card h4 { font-family: 'Outfit', sans-serif; font-size: 0.86rem; font-weight: 600; color: var(--navy); margin-bottom: 2px; }
.symptom-card p { font-size: 0.78rem; color: var(--gray); line-height: 1.5; }

/* ---- CTA BANNER (page version) ---- */
.page-cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--teal-deep) 0%, #0A5858 50%, var(--teal) 100%);
  position: relative;
  overflow: hidden;
}
.page-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-cta-banner .cta-inner { position: relative; z-index: 1; text-align: center; color: white; }
.page-cta-banner .cta-inner h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); color: white; margin-bottom: 12px; }
.page-cta-banner .cta-inner p { font-size: 1rem; opacity: 0.8; max-width: 500px; margin: 0 auto 28px; }
.page-cta-banner .cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- PRP 7-BENEFITS LAYOUT ---- */
.prp-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 24px 0;
}
@media(max-width: 768px) {
  .prp-benefits { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 480px) {
  .prp-benefits { grid-template-columns: 1fr; }
}

/* ---- YOU MAY ALSO LIKE ---- */
.you-may-like {
  padding: 80px 0;
  background: var(--warm-bg);
  border-top: 1px solid var(--silver);
}
.yml-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: 40px;
}
.yml-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.yml-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--silver);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.yml-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--teal-pale); }
.yml-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.yml-card:hover img { transform: scale(1.05); }
.yml-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.yml-card-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}
.yml-card-body p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.5;
  margin: 0;
}
.yml-arrow {
  display: inline-block;
  margin-top: 8px;
  font-size: 1rem;
  color: var(--teal-deep);
  font-weight: 700;
  transition: transform 0.2s;
}
.yml-card:hover .yml-arrow { transform: translateX(4px); }

/* ---- RESPONSIVE ---- */
@media(max-width: 1024px) {
  .page-grid { grid-template-columns: 1fr 300px; gap: 40px; }
}
@media(max-width: 768px) {
  .page-hero { min-height: 380px; }
  .page-hero h1 { font-size: 1.7rem; }
  .page-hero-badge { display: none; }
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .info-cards { grid-template-columns: 1fr; }
  .symptom-grid { grid-template-columns: 1fr !important; }
  .page-body { padding: 50px 0; }
  .steps-list { gap: 12px; }
  .yml-grid { grid-template-columns: 1fr; }
  .you-may-like { padding: 50px 0; }
}
@media(min-width: 769px) and (max-width: 1024px) {
  .yml-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width: 480px) {
  .page-hero { min-height: 320px; }
  .page-hero h1 { font-size: 1.45rem; }
  .info-cards { grid-template-columns: 1fr; }
}
