/* Specialty (service) pages — shared styles · tokens from brand.css */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-main); background: var(--bg); color: var(--text); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Nav ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); height: 72px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 40px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo-img { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
.nav-logo-icon {
  width: 44px; height: 44px; background: var(--gradient-cta); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 18px;
}
.nav-logo-text { font-size: 18px; font-weight: 700; color: var(--brand-1); }
.nav-logo-sub { font-size: 12px; color: var(--text-light); display: block; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--brand-2); }
.nav-cta {
  background: var(--gradient-cta); color: white !important;
  padding: 10px 24px; border-radius: 8px; font-weight: 600; font-size: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(49,130,206,0.4); }
@media (max-width: 768px) { .nav { padding: 0 16px; } .nav-links { display: none; } }

/* ── Hero ── */
.hero { background: var(--gradient-hero); color: white; padding: 130px 20px 80px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.12), transparent 60%); }
.hero-inner { position: relative; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.hero-badge {
  display: inline-block; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); color: white;
  padding: 6px 18px; border-radius: 50px; font-size: 13px; font-weight: 500; margin-bottom: 20px; backdrop-filter: blur(10px);
}
.hero h1 { font-size: 40px; font-weight: 800; margin-bottom: 14px; line-height: 1.2; }
.hero-sub { font-size: 19px; font-weight: 300; opacity: 0.92; margin-bottom: 10px; line-height: 1.6; }
.hero-figure {
  width: 100%; max-width: 380px; height: 300px; border-radius: 20px; overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  background: linear-gradient(135deg, #dbeafe, #bcd6f2); /* fallback until a stock photo is added */
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero h1 { font-size: 30px; }
  .hero-figure { margin: 0 auto; height: 220px; }
}

/* ── Breadcrumb / back-to-services ── */
.crumb { max-width: 900px; margin: 0 auto; padding: 22px 20px 0; }
.crumb a { color: var(--brand-2); font-size: 14px; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.crumb a:hover { text-decoration: underline; }

/* ── Content sections ── */
.section { padding: 64px 20px; max-width: 900px; margin: 0 auto; }
.section-wrap { background: #f0f4f8; }
.section h2 { font-size: 30px; font-weight: 700; color: var(--brand-1); margin-bottom: 22px; position: relative; padding-bottom: 14px; }
.section h2::after { content: ''; position: absolute; bottom: 0; right: 0; width: 60px; height: 3px; background: var(--brand-3); border-radius: 2px; }
.section h3 { font-size: 20px; font-weight: 700; color: var(--brand-2); margin: 26px 0 10px; }
.section p { font-size: 16px; color: var(--text-muted); margin-bottom: 16px; }
.section ul { list-style: none; padding: 0; }
.section ul li { padding: 10px 0; font-size: 16px; color: var(--text-muted); display: flex; gap: 12px; align-items: flex-start; border-bottom: 1px solid var(--border); }
.section ul li:last-child { border-bottom: none; }
.section ul li::before { content: "✓"; color: var(--success); font-weight: 700; font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.lead { font-size: 18px !important; color: var(--text) !important; font-weight: 500; }

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq-q { font-size: 17px; font-weight: 700; color: var(--brand-1); margin-bottom: 8px; }
.faq-a { font-size: 15.5px; color: var(--text-muted); }

/* ── Disclaimer ── */
.disclaimer { max-width: 900px; margin: 0 auto 40px; padding: 16px 20px; font-size: 13.5px; color: var(--text-light); background: var(--bg); border: 1px dashed var(--border); border-radius: 10px; }

/* ── CTA ── */
.cta-section { background: var(--gradient-hero); padding: 60px 20px; text-align: center; }
.cta-section h2 { color: white; font-size: 28px; font-weight: 700; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.9); font-size: 16px; margin-bottom: 22px; }
.cta-btn { display: inline-block; background: white; color: var(--brand-1); padding: 16px 40px; border-radius: 12px; font-size: 18px; font-weight: 700; transition: transform 0.2s, box-shadow 0.2s; border: none; font-family: inherit; }
.cta-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }

/* ── Footer ── */
.footer { background: var(--brand-1); color: rgba(255,255,255,0.8); padding: 30px 20px; text-align: center; font-size: 14px; }
.footer a { color: rgba(255,255,255,0.9); }
.back-link { display: inline-block; margin-bottom: 10px; color: rgba(255,255,255,0.8); font-size: 13px; }
.built-by { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,0.5); border-top: 1px solid rgba(255,255,255,0.1); padding-top: 12px; }
.built-by a { color: rgba(255,255,255,0.7); font-weight: 600; }

/* ── WhatsApp float ── */
.whatsapp-float { position: fixed; bottom: 20px; left: 20px; width: 48px; height: 48px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,0.5); z-index: 1000; transition: transform 0.2s; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 24px; height: 24px; fill: white; }
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); } 70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.whatsapp-float { animation: wa-pulse 2s ease-in-out infinite; }

/* ── Scroll animations ── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Source-review overlay (temporary — every section here is our draft, awaiting the doctor's approval) ── */
body.prov-review [data-prov] { position: relative; outline: 2px dashed #f59e0b; outline-offset: 4px; border-radius: 8px; background: rgba(245,158,11,0.06); }
body.prov-review [data-prov]::after {
  content: attr(data-rev); position: absolute; top: -12px; inset-inline-end: 12px;
  font-size: 11px; font-weight: 800; padding: 1px 9px; border-radius: 9px; color: #fff; background: #d97706;
  white-space: nowrap; z-index: 6; font-family: sans-serif;
}
body.prov-local .prov-legend { display: block; }
.prov-legend {
  display: none; position: fixed; top: 92px; inset-inline-start: 14px; z-index: 3000;
  background: #0f172a; color: #fff; border-radius: 12px; padding: 12px 14px; font-size: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35); font-family: sans-serif; max-width: 240px;
}
.prov-legend h5 { margin: 0 0 8px; font-size: 12.5px; }
.prov-legend .row { margin: 4px 0; display: flex; gap: 7px; align-items: center; line-height: 1.3; }
.prov-legend .sw { width: 13px; height: 13px; border-radius: 3px; flex-shrink: 0; }
.prov-legend button { margin-top: 9px; width: 100%; background: #334155; color: #fff; border: none; border-radius: 7px; padding: 6px; font-size: 11px; cursor: pointer; }
.prov-legend .note { margin-top: 7px; font-size: 10.5px; color: #94a3b8; }
