:root {
  --navy: #0056B3;
  --navy-soft: #1565c0;
  --blue: #1565c0;
  --teal: #00A896;
  --teal-fill: #009483;
  --teal-soft: #e0f5f2;
  --blue-soft: #e6eefc;
  --gold: #946a16;
  --bg: #F8F9FA;
  --card: #ffffff;
  --border: #dfe6f0;
  --ink: #212529;
  --ink-soft: #495057;
  --shadow: 0 10px 30px rgba(0, 86, 179, 0.1);
  --radius: 18px;
  --maxw: 1140px;
  --navy-deep: #0b1c30;
  --hero-a: #132f4c;
  --chrome: #0056B3;
  --on-teal: #212529;
  --dot-tint: rgba(0, 86, 179, 0.1);
}

[data-theme="dark"] {
  --navy: #5b9dff;
  --navy-soft: #1c2129;
  --teal: #00A896;
  --teal-fill: #009483;
  --teal-soft: #0f2b28;
  --blue-soft: #14233d;
  --gold: #d9a52e;
  --bg: #0a0c10;
  --card: #161a20;
  --border: #2d3339;
  --ink: #eef1f4;
  --ink-soft: #a7adb6;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --navy-deep: #05070a;
  --hero-a: #10151c;
  --chrome: #12151a;
  --on-teal: #212529;
  --dot-tint: rgba(91, 157, 255, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  position: relative;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}
body::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(circle, var(--dot-tint) 1px, transparent 1.6px);
  background-size: 26px 26px;
  background-position: 0 var(--dots-parallax, 0px);
  animation: dotsBeat 1.1s ease-in-out infinite;
}
@keyframes dotsBeat {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.2); }
  50% { transform: scale(1); }
  75% { transform: scale(1.2); }
}
.reduce-motion body::before { animation: none; }

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy);
  margin: 0;
  line-height: 1.2;
}

p { margin: 0; color: var(--ink-soft); line-height: 1.65; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--chrome);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 24px;
}

section h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 18px; max-width: 760px; }

[data-reveal] {
  opacity: 0;
  transform: perspective(1000px) rotateX(14deg) translateY(28px);
  transform-origin: center bottom;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].is-visible { opacity: 1; transform: perspective(1000px) rotateX(0deg) translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .rbar__fill { animation: none !important; transform: scaleX(1) !important; }
}
.reduce-motion .pulse-path { animation: none !important; }
.reduce-motion .float-cta { transition: none !important; }
.reduce-motion body { transition: none !important; }

/* decorative ambient blobs */
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; background: radial-gradient(circle, var(--navy), transparent 72%); opacity: 0.3; }
[data-theme="dark"] .blob { opacity: 0.16; }

/* hover lift for cards & interactive tiles */
.qual, .test, .step, .hstat, .clinic-card, .review-card, .doctor-card, .gauge-card, .chip {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, color 0.25s ease, background-color 0.3s ease;
}
.qual:hover, .test:hover, .step:hover { transform: translateY(-4px); }
.hstat:hover, .clinic-card:hover, .review-card:hover, .doctor-card:hover, .gauge-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(15, 47, 76, 0.15); }
.chip:hover { transform: translateY(-3px); border-color: var(--navy); color: var(--navy); box-shadow: 0 8px 18px rgba(0, 86, 179, 0.12); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
  background: var(--teal);
  color: var(--on-teal);
  box-shadow: 0 8px 20px rgba(0, 168, 150, 0.35);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 168, 150, 0.45); }
.btn--ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn--block { width: 100%; }

/* THEME TOGGLE */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 3px;
  cursor: pointer;
  flex-shrink: 0;
}
.theme-toggle__opt {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: rgba(255,255,255,0.65);
  transition: background 0.2s ease, color 0.2s ease;
}
.theme-toggle__opt svg { width: 15px; height: 15px; }
.theme-toggle__opt[aria-pressed="true"] { background: #fff; color: var(--chrome); }
[data-theme="dark"] .theme-toggle__opt[aria-pressed="true"] { color: #0a0c10; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 32px;
  background: var(--chrome);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: background-color 0.3s ease;
}
.nav__mark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
}
.nav__mark span { color: #fff; font-weight: 700; }
.nav__logo {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: #fff;
  color: var(--navy);
  border-radius: 8px;
  flex-shrink: 0;
}
.nav__logo svg { width: 16px; height: 16px; }
.nav__links { display: flex; align-items: center; gap: 21px; }
.nav__links a:not(.nav__cta) {
  font-size: 0.89rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  transition: color 0.2s ease;
  white-space: nowrap;
}
.nav__links a:not(.nav__cta):hover { color: #fff; }
.nav__cta {
  background: var(--teal);
  color: var(--on-teal);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
}
.nav__cta:hover { background: var(--teal-fill); }
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* HERO */
.hero {
  position: relative;
  max-width: none;
  padding: 150px 24px 110px;
  text-align: left;
  background: radial-gradient(circle at 15% 0%, var(--hero-a), var(--navy-deep) 60%);
  overflow: hidden;
  transition: background-color 0.3s ease;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; opacity: 0.22; }
.pulse-line { width: 100%; height: 100%; color: var(--teal); }
.pulse-path { stroke-dasharray: 8 12; animation: pulseDash 3.2s linear infinite; }
@keyframes pulseDash { to { stroke-dashoffset: -200; } }

.heartbeat-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  animation: heartbeat 1.1s ease-in-out infinite;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  25% { transform: scale(1.4); opacity: 1; }
  50% { transform: scale(1); opacity: 0.8; }
  75% { transform: scale(1.4); opacity: 1; }
}
.reduce-motion .heartbeat-dot { animation: none; }
.hero__grid {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}
.hero__content { position: relative; min-width: 0; }

.hero__visual { display: none; }
@media (min-width: 1020px) {
  .hero__grid { grid-template-columns: minmax(0, 620px) 1fr; }
  .hero__visual {
    display: block;
    position: relative;
    justify-self: center;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5;
  }
}
.hero__portrait {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.hero__portrait::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,168,150,0.18), transparent 55%);
  pointer-events: none;
}
.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__portrait-caption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.hero__portrait-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,168,150,0.28);
  flex-shrink: 0;
}
.hero__photo-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 14, 20, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 0.7rem;
  line-height: 1.35;
  color: rgba(255,255,255,0.8);
  box-shadow: 0 14px 28px rgba(0,0,0,0.35);
}
.hero__photo-chip strong { display: block; font-size: 0.84rem; color: var(--teal); }
.hero__photo-chip-icon {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: rgba(0,168,150,0.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--teal);
}
.hero__photo-chip-icon svg { width: 15px; height: 15px; }
.hero__photo-chip--top { top: 18px; left: -16px; }
.hero__photo-chip--bottom { bottom: 18px; right: -16px; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: var(--teal);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 7px 16px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}
.badge--muted { color: rgba(255,255,255,0.78); }
.badge svg { width: 16px; height: 16px; }

.hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero__title-line1 { color: #f6f4ef; }
.hero__title-line2 { color: var(--teal); }

.hero__specialty {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}
.hero__specialty-ur {
  display: block;
  font-family: 'Noto Nastaliq Urdu', serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
}
.hero__creds { font-size: 0.98rem; color: rgba(255,255,255,0.68); margin-bottom: 26px; }

.hero__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
}
.hero__detail {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #f0f4f6;
}
.hero__detail svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--teal); }

.hero__stats {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hstat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 14px 22px;
  min-width: 120px;
  backdrop-filter: blur(6px);
}
.hstat__num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.hstat__label { font-size: 0.78rem; color: rgba(255,255,255,0.62); }

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.28); }
.hero .btn--ghost:hover { border-color: var(--teal); color: var(--teal); }

.hero__scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.hero__scroll span {
  width: 1px; height: 34px;
  background: linear-gradient(var(--teal), transparent);
}

/* REVIEWS */
.reviews__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 24px;
  margin-top: 36px;
}
.review-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.review-score__num {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-right: 12px;
}
.review-score__stars { color: var(--gold); font-size: 1.3rem; letter-spacing: 2px; }
.review-score__caption { margin-top: 8px; font-size: 0.9rem; }
.review-time {
  display: flex;
  gap: 32px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.review-time__label { display: block; font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 4px; }
.review-time__value { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--navy); font-size: 1.15rem; }

.review-card--bars { display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.rbar { display: grid; grid-template-columns: 150px 1fr 40px; align-items: center; gap: 14px; }
.rbar__label { font-size: 0.9rem; font-weight: 500; color: var(--navy); }
.rbar__track {
  height: 10px;
  background: var(--teal-soft);
  border-radius: 999px;
  overflow: hidden;
}
.rbar__fill {
  display: block;
  height: 100%;
  width: var(--v);
  background: linear-gradient(90deg, var(--teal), #00c9ac);
  border-radius: 999px;
  transform-origin: left;
  transform: scaleX(0);
  animation: fillBar 1.2s ease forwards;
  animation-delay: 0.2s;
}
@keyframes fillBar { to { transform: scaleX(1); } }
.rbar__value { font-weight: 700; color: var(--navy); font-size: 0.9rem; text-align: right; }

/* ABOUT */
.about {
  position: relative;
  z-index: 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
.about .blob { width: 320px; height: 320px; top: -70px; right: -90px; }
.about__text p { margin-bottom: 16px; max-width: 620px; }
.about__quals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}
.qual { display: flex; gap: 14px; align-items: flex-start; }
.qual__icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--blue-soft);
  color: var(--navy);
  border-radius: 10px;
}
.qual__icon svg { width: 20px; height: 20px; }
.qual h3 { font-size: 0.98rem; margin-bottom: 3px; }
.qual p { font-size: 0.86rem; }

.about__visual { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.doctor-card {
  background: linear-gradient(160deg, var(--chrome), var(--navy-soft));
  color: #fff;
  border-radius: var(--radius);
  padding: 42px 32px;
  text-align: center;
  width: 100%;
  max-width: 280px;
  box-shadow: var(--shadow);
}
.doctor-card__avatar {
  width: 96px; height: 96px;
  margin: 0 auto 20px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255,255,255,0.2);
}
.doctor-card__name { font-family: 'Poppins', sans-serif; font-weight: 600; color: #fff; font-size: 1.1rem; margin-bottom: 4px; }
.doctor-card__role { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 18px; }
.doctor-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
}
.doctor-card__badge svg { width: 14px; height: 14px; }

.gauge-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 24px 26px; text-align: center; width: 100%; max-width: 280px; box-shadow: var(--shadow); transition: background-color 0.3s ease, border-color 0.3s ease; }
.gauge { position: relative; width: 128px; height: 128px; margin: 0 auto; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: var(--teal-soft); stroke-width: 10; }
.gauge__fill { fill: none; stroke: var(--teal-fill); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 1.5s cubic-bezier(.16,.84,.44,1); }
.gauge-card.is-visible .gauge__fill { stroke-dashoffset: 0; }
.gauge__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge__value { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.55rem; color: var(--navy); font-variant-numeric: tabular-nums; }
.gauge__denom { font-size: 0.72rem; color: var(--ink-soft); margin-top: -2px; }
.gauge__label { margin-top: 14px; font-size: 0.85rem; font-weight: 600; color: var(--navy); }

/* CONDITIONS */
.conditions__intro { max-width: 760px; margin-bottom: 28px; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(15,47,76,0.04);
  transition: background-color 0.3s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

/* DIAGNOSTICS */
.diagnostics { background: var(--card); transition: background-color 0.3s ease; }
.diagnostics__intro { max-width: 760px; margin-bottom: 30px; }
.test-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.test {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--navy);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.test__icon { font-size: 1.1rem; }
.test--more { color: var(--navy); font-weight: 600; }

/* JOURNEY */
.journey { position: relative; z-index: 0; overflow: hidden; }
.journey .blob { width: 300px; height: 300px; top: -50px; left: 42%; }
.journey__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 38px; position: relative; }
.journey__steps::before { content: ''; position: absolute; top: 33px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, transparent, var(--teal), transparent); }
.step { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px 18px; box-shadow: 0 6px 16px rgba(15, 47, 76, 0.05); transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.25s ease; }
.step__head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.step__num { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 0.78rem; color: #fff; background: var(--navy); width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.step__icon { width: 34px; height: 34px; display: grid; place-items: center; background: var(--blue-soft); color: var(--navy); border-radius: 9px; }
.step__icon svg { width: 18px; height: 18px; }
.step h3 { font-size: 1rem; }
.step p { font-size: 0.85rem; }
@media (max-width: 860px) {
  .journey__steps { grid-template-columns: 1fr 1fr; }
  .journey__steps::before { display: none; }
}
@media (max-width: 560px) {
  .journey__steps { grid-template-columns: 1fr; }
}

/* FLOATING CTA */
.float-cta { position: fixed; right: 24px; bottom: 24px; z-index: 200; opacity: 0; transform: translateY(14px) scale(0.96); pointer-events: none; transition: opacity 0.35s ease, transform 0.35s ease; }
.float-cta.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.float-cta__btn { box-shadow: 0 14px 30px rgba(0, 168, 150, 0.45); }
@media (max-width: 720px) {
  .float-cta { right: 16px; bottom: 16px; }
  .float-cta__btn { padding: 12px 20px; font-size: 0.88rem; }
}

/* CLINIC */
.clinic { position: relative; z-index: 0; overflow: hidden; }
.clinic .blob { width: 280px; height: 280px; bottom: -70px; left: -70px; }
.clinic__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
  margin-top: 30px;
}
.clinic-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.clinic-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.clinic-card__area { margin-bottom: 6px; font-size: 0.92rem; }
.clinic-card__fee {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 20px;
}
.clinic-card__fee span { font-family: 'Inter', sans-serif; font-weight: 500; color: var(--ink-soft); font-size: 0.85rem; }

.timings { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.timings th, .timings td {
  text-align: left;
  padding: 9px 0;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.timings th { color: var(--navy); font-weight: 600; width: 90px; }
.timings td { color: var(--ink-soft); }

.clinic-card__actions { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.clinic-card__note { font-size: 0.8rem; color: var(--navy); text-align: center; }

.clinic-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 320px;
  border: 1px solid var(--border);
}
.clinic-map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* FAQ */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}
.faq__item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 6px 22px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.faq__item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '';
  flex-shrink: 0;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg);
  transition: transform 0.25s ease;
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__item p { padding-bottom: 18px; max-width: 680px; }

/* BOOK */
.book { background: linear-gradient(160deg, var(--chrome), var(--navy-soft)); border-radius: 28px; max-width: calc(var(--maxw) - 48px); color: #fff; }
.book .eyebrow { color: #fff; }
.book h2 { color: #fff; margin-bottom: 10px; }
.book__sub { color: rgba(255,255,255,0.8); max-width: 560px; margin-bottom: 34px; }
.book__sub a { color: #fff; font-weight: 600; text-decoration: underline; }

.book-form { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.book-form[hidden] { display: none; }
.book-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.book-form label { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.book-form__full { display: flex; flex-direction: column; gap: 8px; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.85); }
.book-form input, .book-form select, .book-form textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 0.92rem;
  resize: vertical;
}
.book-form input::placeholder, .book-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.book-form select option { color: var(--ink); }
.book-form button { margin-top: 6px; max-width: 260px; }
.book-confirm {
  margin-top: 20px;
  background: rgba(111, 224, 204, 0.15);
  border: 1px solid rgba(111, 224, 204, 0.4);
  color: #d5fff5;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  max-width: 640px;
}

/* SOCIAL */
.social__intro { max-width: 640px; margin-bottom: 30px; }
.social__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(104px, 128px));
  justify-content: center;
  gap: 14px;
}
.social__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.3s ease, border-color 0.3s ease;
}
.social__card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(15, 47, 76, 0.15); }
.social__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--navy);
  transition: background-color 0.3s ease;
}
.social__icon svg { width: 18px; height: 18px; }

/* FOOTER */
.footer { background: var(--chrome); color: rgba(255,255,255,0.85); padding: 60px 24px 24px; margin-top: 40px; transition: background-color 0.3s ease; }
.footer__top {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__mark { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.1rem; color: #fff; }
.footer__mark span { color: #fff; font-weight: 700; }
.footer__cols { display: flex; gap: 56px; flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h3 { color: #fff; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.footer__col a { font-size: 0.88rem; color: rgba(255,255,255,0.85); }
.footer__col a:hover { color: #fff; }
.footer__bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.8rem;
}
.footer__fine { color: rgba(255,255,255,0.75); }

/* RESPONSIVE */
@media (max-width: 860px) {
  .about, .reviews__grid, .clinic__grid, .about__quals { grid-template-columns: 1fr; }
  .about__visual { order: -1; }
  .book-form__row { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav__links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--chrome);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    display: none;
    gap: 16px;
  }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: flex; }
  section { padding: 64px 20px; }
  .rbar { grid-template-columns: 110px 1fr 34px; gap: 8px; }
}

/* CURSOR */
/* !important needed: overrides the pointer/text cursors several
   elements (buttons, inputs, links) already set explicitly. */
* {
  cursor: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiI+PHRleHQgeD0iMSIgeT0iMjYiIGZvbnQtc2l6ZT0iMjYiPvCfqbo8L3RleHQ+PC9zdmc+') 12 12, auto !important;
}
