:root {
  --purple: #7B3296;
  --purple-dark: #5B2270;
  --purple-light: #F3E9F7;
  --teal: #4E9B8C;
  --teal-dark: #3C7A6E;
  --chrome-white: #E8F3F7;
  --aqua-squeeze: #E8F7F0;
  --creme: #FFDEB5;
  --blush: #FFE9EA;
  --blue: #3981C9;
  --blue-bg: #E8F3F7;
  --green: #21984D;
  --green-bg: #E8F7F0;
  --bronze: #C97412;
  --bronze-bg: #FFDEB5;
  --red: #C4454A;
  --red-bg: #FFE9EA;
  --ink: #34243D;
  --muted: #756C81;
  --border: #ECE3F1;
  --bg: #FFFEFC;
  --font-head: "Montserrat", sans-serif;
  --font-body: "Poppins", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 1em; }
ul { padding-left: 0; list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 0.75em;
}
.eyebrow::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--teal));
  display: inline-block;
}
.lead { font-size: 1.15rem; line-height: 1.75; color: var(--muted); }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px) scale(1.01); }
.btn-primary { background: var(--purple); color: #fff; box-shadow: 0 10px 24px rgba(123,50,150,0.28); }
.btn-primary:hover { background: var(--purple-dark); }
.btn-outline { border: 2px solid var(--purple); color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; }
.btn-outline-light { border: 2px solid #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--purple); }
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--purple-light);
  color: var(--purple-dark);
  border: 1.5px solid rgba(123,50,150,0.2);
  padding: 0.6em 1.3em;
  font-size: 0.85rem;
}
.btn-call:hover { border-color: rgba(123,50,150,0.4); }
.btn-call svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,254,252,0.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; }
.brand-logo { height: 40px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 24px; margin: 0; }
.site-nav a { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--ink); position: relative; }
.site-nav a.active, .site-nav a:hover { color: var(--purple); }
.nav-toggle, .nav-toggle-checkbox { display: none; }

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--purple-light) 0%, #fff 55%, var(--aqua-squeeze) 130%);
  padding: 80px 0 96px;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  z-index: 0;
}
.hero::before {
  width: 220px; height: 220px;
  background: var(--creme);
  top: -60px; right: 8%;
}
.hero::after {
  width: 160px; height: 160px;
  background: var(--blush);
  bottom: -40px; left: 4%;
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; align-items: center; gap: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin: 28px 0; }
.hero-meta { display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: 0.9rem; }
.hero-art { display: flex; justify-content: center; align-items: center; position: relative; }
.hero-art::before {
  content: "";
  position: absolute;
  width: 260px; height: 260px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--aqua-squeeze), var(--purple-light));
  box-shadow: 0 30px 60px rgba(123,50,150,0.15);
}
.hero-icon { width: 200px; opacity: 0.95; position: relative; z-index: 1; }

/* Floating facility strip */
.strip { position: relative; margin-top: -40px; z-index: 2; }
.strip-inner {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 32px;
  background: #fff;
  border-radius: 24px;
  padding: 24px 32px;
  box-shadow: 0 20px 50px rgba(91,34,112,0.14);
}
.strip-item { display: flex; align-items: center; gap: 10px; color: var(--ink); font-family: var(--font-head); font-size: 0.85rem; font-weight: 600; }
.strip-item .dot { width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--teal)); }

/* Sections */
.section { padding: 80px 0; }
.section-alt { background: var(--aqua-squeeze); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-cta { text-align: center; margin-top: 36px; }

/* Grids / Cards */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 6px 20px rgba(91,34,112,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(91,34,112,0.12); }
.card h3 { color: var(--purple-dark); }
.card-lg { padding: 32px; }

/* Icons */
.icon { width: 48px; height: 48px; color: var(--purple); }
.icon .icon-bg { fill: var(--purple-light); }
.icon-lg { width: 96px; height: 96px; }
.card-icon .icon { margin-bottom: 16px; }

/* Accent color cycle (from brand status colors) */
.accent-0 .icon { color: var(--blue); }
.accent-0 .icon .icon-bg { fill: var(--blue-bg); }
.accent-0.service-detail-icon, .accent-0 .service-detail-icon { background: var(--blue-bg); }
.accent-0 h3 { color: var(--blue); }
.accent-0 a { color: var(--blue); }

.accent-1 .icon { color: var(--green); }
.accent-1 .icon .icon-bg { fill: var(--green-bg); }
.accent-1.service-detail-icon, .accent-1 .service-detail-icon { background: var(--green-bg); }
.accent-1 h3 { color: var(--green); }
.accent-1 a { color: var(--green); }

.accent-2 .icon { color: var(--bronze); }
.accent-2 .icon .icon-bg { fill: var(--bronze-bg); }
.accent-2.service-detail-icon, .accent-2 .service-detail-icon { background: var(--bronze-bg); }
.accent-2 h3 { color: var(--bronze); }
.accent-2 a { color: var(--bronze); }

.accent-3 .icon { color: var(--red); }
.accent-3 .icon .icon-bg { fill: var(--red-bg); }
.accent-3.service-detail-icon, .accent-3 .service-detail-icon { background: var(--red-bg); }
.accent-3 h3 { color: var(--red); }
.accent-3 a { color: var(--red); }

/* Service deep-dive sections */
.service-detail-inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 40px;
  align-items: start;
}
.service-detail-reverse .service-detail-inner { grid-template-columns: 160px 1fr; }
.service-detail-icon {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--purple-light);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(91,34,112,0.08);
}
.service-detail-copy .eyebrow { margin-bottom: 0.4em; }
.service-detail + .service-detail { border-top: 1px solid var(--border); }

/* Doctor block */
.doctor-block { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.doctor-photo {
  aspect-ratio: 3/4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(91,34,112,0.16);
  position: relative;
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.doctor-cred { color: var(--teal-dark); font-weight: 600; font-family: var(--font-head); }

/* Credentials */
.credentials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.credential-block { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; }
.credential-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.credential-head .icon { width: 36px; height: 36px; flex-shrink: 0; }
.credential-head h3 { margin: 0; color: var(--purple-dark); }
.plain-list li { margin-bottom: 12px; line-height: 1.5; }
.plain-list li:last-child { margin-bottom: 0; }
.plain-list a { color: var(--teal-dark); text-decoration: underline; }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--purple), var(--teal-dark)); padding: 60px 0; }
.cta-band-inner { text-align: center; color: #fff; }
.cta-band-inner h2 { color: #fff; }
.cta-band .hero-actions { justify-content: center; margin-bottom: 0; }

/* Page hero */
.page-hero { padding: 56px 0 32px; background: linear-gradient(160deg, var(--purple-light), var(--chrome-white)); }

/* Check list */
.check-list li { padding-left: 1.6em; position: relative; margin-bottom: 0.6em; }
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 0.4em;
  width: 10px; height: 10px; border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), var(--teal));
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: start; }
.info-item { margin-bottom: 20px; }
.info-item h3 { color: var(--purple-dark); margin-bottom: 0.2em; font-size: 1rem; }
.contact-map iframe { border-radius: 20px; }

/* Footer */
.site-footer { background: linear-gradient(160deg, var(--purple-dark), #3E1B54); color: #E6D9EE; padding: 56px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.1fr 0.9fr 0.9fr 0.8fr 1.1fr; gap: 32px; padding-bottom: 32px; }
.footer-map { border-radius: 14px; overflow: hidden; margin-bottom: 10px; }
.footer-map-col a { font-size: 0.9rem; color: var(--creme); }
.footer-logo { height: 34px; margin-bottom: 12px; }
.footer-brand p { color: #CBB6D8; }
.site-footer h3 { color: #fff; font-size: 0.95rem; margin-bottom: 12px; }
.site-footer a:hover { color: var(--creme); }
.footer-links li { margin-bottom: 6px; }
.footer-areas { border-top: 1px solid rgba(255,255,255,0.12); padding: 16px 24px; font-size: 0.85rem; color: #C9B6D4; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 18px 24px; font-size: 0.85rem; color: #C9B6D4; }

/* Responsive */
@media (max-width: 860px) {
  .hero-inner, .doctor-block, .contact-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .doctor-photo { max-width: 260px; margin: 0 auto; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .service-detail-inner { grid-template-columns: 1fr; text-align: center; }
  .service-detail-icon { margin: 0 auto; }
  .check-list { text-align: left; max-width: 420px; margin: 0 auto; }
  .credentials-grid { grid-template-columns: 1fr; }
  .strip-inner { border-radius: 20px; padding: 20px; }

  .nav-toggle {
    display: flex; flex-direction: column; gap: 4px; cursor: pointer; padding: 8px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: flex-start;
    padding: 20px 24px; border-bottom: 1px solid var(--border);
    display: none;
    gap: 16px;
  }
  .site-nav ul { flex-direction: column; gap: 14px; }
  .nav-toggle-checkbox:checked ~ .site-nav { display: flex; }
}
@media (min-width: 861px) {
  .header-inner { position: relative; }
}
