:root {
  --ink: #122126;
  --muted: #647174;
  --line: #dfe7e6;
  --paper: #f8fbf9;
  --soft: #edf6f2;
  --teal: #0f6c67;
  --deep: #123946;
  --gold: #a87a3d;
  --gold-soft: #fff4df;
  --white: #ffffff;
  --shadow: 0 24px 80px rgba(18, 33, 38, 0.13);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

section[id],
div[id],
main > section {
  scroll-margin-top: 130px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 253, 252, 0.94);
  border-bottom: 1px solid rgba(223, 232, 232, 0.82);
  backdrop-filter: blur(16px);
}

.top-strip {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.strip-inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.strip-inner a {
  color: var(--white);
  font-weight: 700;
}

.nav {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--deep), var(--teal));
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 17px;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  margin-top: -2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 700;
  font-size: 14px;
}

.nav-links a {
  transition: color 180ms ease;
}

.nav-links a:hover {
  color: var(--teal);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
}

.hero {
  padding: 70px 0 58px;
  background:
    linear-gradient(90deg, rgba(18, 57, 70, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
  background-size: 42px 42px, auto;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 72px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.info-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 14px;
  max-width: 760px;
  font-size: clamp(50px, 6.5vw, 84px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4.2vw, 48px);
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.25;
}

.hero-specialty {
  max-width: 720px;
  color: var(--deep);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.28;
}

.hero-intro {
  max-width: 670px;
  color: var(--muted);
  font-size: 19px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span {
  padding: 9px 13px;
  border: 1px solid rgba(15, 108, 103, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 13px 18px;
  font-weight: 800;
  line-height: 1.1;
  border: 1px solid transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(15, 107, 104, 0.22);
}

.button.secondary {
  background: var(--white);
  color: var(--deep);
  border-color: var(--line);
}

.button.secondary.light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.button.tertiary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 32px -18px -22px 62px;
  z-index: 0;
  background: var(--deep);
  border-radius: 28px 28px 8px 8px;
}

.portrait-card {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 330px;
  margin-left: auto;
  padding: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px 24px var(--radius) var(--radius);
  box-shadow: 0 22px 64px rgba(18, 33, 38, 0.2);
}

.portrait-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center;
  border-radius: 18px 18px var(--radius) var(--radius);
}

.doctor-summary {
  position: relative;
  z-index: 2;
  max-width: 330px;
  margin: -36px 0 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(18, 33, 38, 0.14);
}

.doctor-summary span,
.doctor-summary strong {
  display: block;
}

.doctor-summary span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.doctor-summary strong {
  margin-top: 6px;
  color: var(--deep);
  font-size: 20px;
}

.doctor-summary p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.stats-bar {
  margin-top: 0;
  position: relative;
  z-index: 2;
  background: var(--deep);
  border-bottom: 3px solid var(--teal);
  padding: 44px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  text-align: center;
}

.stat-item {
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.stat-item:last-child {
  border-right: 0;
}

.stat-number {
  display: inline;
  font-size: clamp(36px, 5vw, 56px);
  font-family: "Libre Baskerville", Georgia, serif;
  background: linear-gradient(135deg, #5ef0d6, #0f6c67);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-suffix {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  background: linear-gradient(135deg, #5ef0d6, #0f6c67);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-item p {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.section {
  padding: 96px 0;
}

.patient-path-section {
  padding-top: 80px;
  background: linear-gradient(180deg, var(--paper), #ffffff);
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.path-grid article {
  padding: 26px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 35px rgba(16, 34, 42, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.path-grid article:hover {
  transform: translateY(-4px);
  border-color: var(--teal);
  box-shadow: 0 20px 40px rgba(15, 108, 103, 0.12);
}

.path-grid span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--teal);
  background: var(--soft);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 800;
  font-size: 13px;
}

.path-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: 64px;
}

.prose {
  color: var(--muted);
  font-size: 17px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.credential-band {
  padding: 42px 0;
  background: var(--deep);
  color: var(--white);
}

.credential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.credential-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  transition: transform 220ms ease, background-color 220ms ease;
}

.credential-grid article:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.09);
}

.credential-grid span {
  color: #bde9de;
  font-weight: 800;
}

.credential-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.align-left {
  margin-left: 0;
  text-align: left;
}

.section-heading p:not(.section-kicker) {
  color: var(--muted);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.expertise-card {
  min-height: 248px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(237, 246, 242, 0.92));
  border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(18, 33, 38, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.expertise-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 108, 103, 0.35);
  box-shadow: 0 22px 44px rgba(18, 33, 38, 0.12);
}

.expertise-visual {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--teal);
  background: #ffffff;
  border: 1px solid rgba(15, 108, 103, 0.16);
  border-radius: 50%;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}

.expertise-card:hover .expertise-visual {
  transform: scale(1.06);
  background: var(--teal);
  color: var(--white);
}

.expertise-visual svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.expertise-card h3 {
  margin-bottom: 8px;
  color: var(--deep);
  font-size: 18px;
}

.expertise-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.care-section,
.faq-section {
  background: var(--soft);
}

.service-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.service-card.featured {
  background: var(--deep);
  color: var(--white);
}

.service-card.featured span {
  color: #bde9de;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-card.featured p {
  color: rgba(255, 255, 255, 0.78);
}

.training-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 60px;
}

.timeline {
  display: grid;
  gap: 14px;
}

.timeline article {
  position: relative;
  padding: 22px 22px 22px 28px;
  border-left: 3px solid var(--teal);
  background: var(--white);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: 0 10px 30px rgba(16, 34, 42, 0.06);
}

.timeline span {
  color: var(--gold);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.visit-section {
  background: linear-gradient(180deg, var(--paper), #ffffff);
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  gap: 24px;
}

.location-card,
.visit-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 46px rgba(16, 34, 42, 0.08);
}

.location-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1fr;
}

.location-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.location-card div {
  padding: 34px;
  align-self: center;
}

.text-link {
  color: var(--teal);
  font-weight: 800;
  border-bottom: 2px solid rgba(15, 107, 104, 0.24);
}

.visit-panel {
  padding: 34px;
}

.visit-panel ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.visit-panel li + li {
  margin-top: 10px;
}

.appointment-section {
  background:
    linear-gradient(rgba(15, 61, 74, 0.92), rgba(15, 61, 74, 0.92)),
    url("assets/harish-renova-cancer-centre.webp") center / cover;
  color: var(--white);
}

.appointment-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 0.72fr);
  gap: 54px;
  align-items: start;
}

.appointment-grid p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.appointment-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.appointment-form label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-weight: 800;
  font-size: 14px;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

.appointment-form textarea {
  resize: vertical;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  color: var(--deep);
  font-weight: 800;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none; /* Hide default arrow */
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--teal);
  transition: transform 0.3s ease;
}
.faq-list details[open] summary::after {
  transform: rotate(45deg);
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.cta-section {
  padding: 70px 0;
  background: var(--deep);
}

.cta-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: center;
  color: var(--white);
}

.cta-card h2 {
  max-width: 780px;
}

.cta-card p:not(.section-kicker) {
  color: rgba(255, 255, 255, 0.76);
}

.cta-actions {
  margin: 0;
  justify-content: flex-end;
}

.site-footer {
  padding: 48px 0 24px;
  background: #071f27;
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr 0.7fr;
  gap: 26px;
}

.footer-grid p,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.66);
  margin-bottom: 0;
}

.footer-grid span {
  display: block;
  margin-bottom: 8px;
  color: #bde9de;
  font-weight: 800;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
}

/* === Testimonials === */
.testimonials-section {
  background: linear-gradient(180deg, var(--paper), #ffffff);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.testimonial-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 34px rgba(18, 33, 38, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(18, 33, 38, 0.12);
}

.testimonial-card .stars {
  color: #f5a623;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  font-style: italic;
}

.testimonial-card footer {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.testimonial-card footer strong {
  color: var(--deep);
  font-size: 15px;
}

.testimonial-card footer span {
  color: var(--muted);
  font-size: 13px;
}

.testimonial-card footer span::before {
  content: "•";
  margin-right: 10px;
}

/* === Form Tabs === */
.appointment-form-wrapper {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.form-tabs {
  display: flex;
  border-bottom: 2px solid var(--line);
}

.form-tab {
  flex: 1;
  padding: 14px;
  border: none;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: color 180ms, background 180ms;
  position: relative;
}

.form-tab.active {
  color: var(--teal);
  background: rgba(15, 108, 103, 0.06);
}

.form-tab.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--teal);
  border-radius: 3px 3px 0 0;
}

.appointment-form-wrapper .appointment-form {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

/* === Glassmorphism Hero Card === */
.doctor-summary {
  position: relative;
  z-index: 2;
  max-width: 330px;
  margin: -36px 0 0 auto;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(18, 33, 38, 0.14);
}

/* === Back to Top === */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 55;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 300ms, transform 300ms, visibility 300ms;
  box-shadow: 0 8px 24px rgba(15, 108, 103, 0.35);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--deep);
  transform: translateY(-3px);
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === Active Nav === */
.nav-links a.active {
  color: var(--teal);
  position: relative;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
}

/* === Service Card Hover === */
.service-card {
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 33, 38, 0.1);
}

/* === FAQ Animated === */
.faq-list details {
  transition: box-shadow 200ms ease;
}

.faq-list details[open] {
  box-shadow: 0 8px 24px rgba(18, 33, 38, 0.08);
  border-color: var(--teal);
}

.faq-list details p {
  animation: fadeSlideIn 300ms ease;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .training-grid,
  .visit-grid,
  .appointment-grid,
  .cta-card {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 38px;
  }

  .stats-grid,
  .credential-grid,
  .path-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .portrait-card,
  .doctor-summary {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-panel::before {
    inset: 34px auto -18px auto;
    left: 50%;
    transform: translateX(-50%);
    width: min(330px, 90%);
  }

  .expertise-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .strip-inner {
    justify-content: center;
    text-align: center;
  }

  .strip-inner span {
    display: none;
  }

  .nav {
    height: 70px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 106px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .portrait-card {
    padding: 12px;
  }

  .section {
    padding: 68px 0;
  }

  .expertise-grid,
  .service-grid,
  .location-card,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .location-card img {
    min-height: 230px;
  }

  .quick-grid article,
  .service-card,
  .location-card div,
  .visit-panel,
  .appointment-form {
    padding: 22px;
  }

  .quick-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .quick-grid article:last-child {
    border-bottom: 0;
  }

  .back-to-top {
    bottom: 80px;
    right: 16px;
    width: 42px;
    height: 42px;
  }

  .site-footer {
    padding-bottom: 94px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 42px;
  }

  .brand strong {
    font-size: 15px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .portrait-card img {
    height: 360px;
  }
}

/* === Emergency Banner & Pulse Dot === */
.emergency-badge {
  color: #ff4a5a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: #ff4a5a;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(255, 74, 90, 0.7);
  animation: pulse-animation 1.6s infinite;
}

@keyframes pulse-animation {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 74, 90, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(255, 74, 90, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(255, 74, 90, 0);
  }
}

/* === Verified Practitioner Badge === */
.verified-badge {
  color: #0f6c67;
  background: rgba(15, 108, 103, 0.12);
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  margin-left: 4px;
  vertical-align: middle;
}

/* === Interactive Suitability Checker === */
.suitability-checker-section {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.suitability-wrapper {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.suitability-sidebar {
  background: var(--soft);
  border-right: 1px solid var(--line);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.suitability-btn {
  text-align: left;
  padding: 14px 18px;
  background: transparent;
  border: none;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep);
  cursor: pointer;
  border-radius: 6px;
  transition: background-color 200ms, color 200ms;
}

.suitability-btn:hover {
  background: rgba(15, 108, 103, 0.08);
}

.suitability-btn.active {
  background: var(--teal);
  color: var(--white);
}

.suitability-content {
  padding: 36px;
}

.suitability-panel h3 {
  font-size: 24px;
  color: var(--deep);
  margin-bottom: 12px;
}

.suitability-panel > p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 24px;
}

.suitability-details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.detail-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.detail-box strong {
  display: block;
  font-size: 15px;
  color: var(--deep);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 6px;
}

.detail-box ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.detail-box li {
  margin-bottom: 8px;
}

/* === Map Container Embed === */
.map-container {
  margin-top: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(18, 33, 38, 0.05);
}

/* === Responsive tweaks for Checker === */
@media (max-width: 760px) {
  .suitability-wrapper {
    grid-template-columns: 1fr;
  }
  .suitability-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    overflow-x: auto;
    padding: 12px;
    gap: 8px;
  }
  .suitability-btn {
    white-space: nowrap;
    padding: 10px 14px;
  }
  .suitability-content {
    padding: 24px;
  }
  .suitability-details-grid {
    grid-template-columns: 1fr;
  }
}

/* === Floating Action Button (FAB) === */
.fab-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
}

.fab-main {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 14px rgba(15, 108, 103, 0.35);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.2s;
}

.fab-main:hover {
  background: #0d5a56;
  transform: scale(1.05);
}

.fab-main.open i {
  transform: rotate(45deg);
}

.fab-main i {
  transition: transform 0.3s ease;
}

.fab-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transform-origin: bottom center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.fab-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.fab-menu a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s, background 0.2s, color 0.2s;
  text-decoration: none;
}

.fab-menu a:hover {
  background: var(--teal);
  color: var(--white);
  transform: scale(1.1);
}

@media (max-width: 760px) {
  .fab-container {
    bottom: 20px;
    right: 20px;
  }
}

/* === Clinical Hub === */
.hub-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hub-main-tab {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 12px 24px;
  border-radius: 30px;
  color: var(--deep);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hub-main-tab:hover {
  background: rgba(15, 108, 103, 0.05);
  color: var(--teal);
  border-color: var(--teal);
}

.hub-main-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(15, 108, 103, 0.4);
}

.hub-panel {
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* === Appointment Modal === */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 18, 22, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: rgba(18, 33, 38, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 32px;
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s;
  padding: 8px;
}

.modal-close:hover {
  color: var(--white);
}

.modal-header {
  margin-bottom: 24px;
}
.modal-header h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.modal-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}
