:root {
  --ink: #13233d;
  --ink-soft: #425674;
  --primary: #0b3464;
  --primary-dark: #051f3d;
  --accent: #c71f37;
  --accent-soft: #f7d7de;
  --light-bg: #eef4fb;
  --mist: #f9fbfe;
  --card: #ffffff;
  --shadow: 0 18px 45px rgba(11, 52, 100, 0.16);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(199, 31, 55, 0.08), transparent 26%),
    linear-gradient(180deg, #f9fbff 0%, var(--light-bg) 100%);
  line-height: 1.6;
}

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

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

a:hover {
  color: var(--accent);
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.topbar {
  background: var(--accent);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
}

.topbar a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 10;
  border-bottom: 1px solid rgba(11, 52, 100, 0.12);
  box-shadow: 0 10px 30px rgba(5, 31, 61, 0.08);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

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

.brand img {
  width: 64px;
}

.brand span {
  font-family: "Source Serif 4", "Georgia", serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.1;
  position: relative;
}

.brand span::after {
  content: "";
  display: block;
  width: 72px;
  height: 4px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(11, 52, 100, 0.24);
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-weight: 600;
}

.nav-links a {
  padding: 8px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(199, 31, 55, 0.08);
  color: var(--accent);
}

.nav-links a[aria-current="page"] {
  background: rgba(199, 31, 55, 0.1);
  color: var(--accent);
}

.hero {
  padding: 80px 0 60px;
}

/* Hero with single background photo */
.hero-single {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 52, 100, 0.88) 0%, rgba(5, 31, 61, 0.74) 55%, rgba(5, 31, 61, 0.52) 100%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

.hero-content .section-title span {
  color: rgba(255, 255, 255, 0.9);
}

.hero-content h1 {
  color: white;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content .hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 0 6px;
  text-shadow: none;
}

.hero-content p {
  color: #fff;
  font-weight: 500;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: none;
}

.hero-tagline {
  font-family: "Source Serif 4", "Georgia", serif;
  font-size: clamp(2.8rem, 5.2vw, 4.6rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-top: 12px;
  margin-bottom: 22px;
  text-transform: none;
  max-width: 900px;
}

.hero-subline {
  max-width: 380px;
  margin-top: 18px;
  font-size: clamp(0.8rem, 0.9vw, 0.9rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
}

.hero-content .section-title,
.hero-content .section-title span,
.hero-content p,
.hero-inner .section-title,
.hero-inner .section-title span,
.hero-inner p {
  color: #fff;
}

.hero-content .section-title span::before,
.hero-inner .section-title span::before {
  background: rgba(255, 255, 255, 0.7);
}

/* Inner page hero with background */
.hero-inner {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 60px 0 50px;
}

.hero-inner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 52, 100, 0.86) 0%, rgba(5, 31, 61, 0.66) 60%, rgba(199, 31, 55, 0.32) 100%);
}

.hero-inner .hero-grid {
  color: white;
}

.hero-inner .section-title span {
  color: rgba(255, 255, 255, 0.78);
}

.hero-inner h1 {
  color: white;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.hero-inner p {
  color: rgba(255, 255, 255, 0.95);
}

.hero-inner .hero-card {
  background: var(--accent);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.hero-inner .hero-card h2,
.hero-inner .hero-card .list {
  color: rgba(255, 255, 255, 0.92);
}

.hero-cards {
  padding: 40px 0 60px;
  margin-top: -40px;
  position: relative;
  z-index: 5;
}

.home-doctors {
  margin-top: 0;
  padding: 56px 0 76px;
}

.hero-cards .hero-card {
  max-width: 600px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero-card {
  background: linear-gradient(160deg, #0b3464 0%, #051f3d 100%);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 52, 100, 0.2);
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--accent);
}

.hero-card h2,
.hero-card p,
.hero-card .list {
  color: #fff;
}

.hero-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero h1 {
  font-family: "Source Serif 4", "Georgia", serif;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
  margin: 0 0 12px;
}

.hero p {
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  justify-content: center;
}

.hero-content .button {
  padding: 14px 32px;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  border: 2px solid transparent;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
  letter-spacing: 0.02em;
}

.hero-content .button:hover {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 8px 28px rgba(199, 31, 55, 0.35);
}

.hero-content .button.secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.hero-content .button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: white;
  font-weight: 600;
  border: 1px solid transparent;
  box-shadow: 0 12px 24px rgba(11, 52, 100, 0.24);
}

.button.secondary {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}

.button:hover {
  background: var(--accent);
  color: #fff;
}

.button.secondary:hover {
  border-color: var(--accent);
}

.hero-cards .button.secondary,
.highlight .button.secondary,
body[data-page="home"] .section-with-backdrop .button,
body[data-page="home"] .section > .container > div[style*="margin-top: 24px;"] .button,
.contact-panel .button,
.contact-panel .button.secondary {
  padding: 10px 0;
  border-radius: 0;
  background: transparent;
  border-width: 0 0 1px;
  border-style: solid;
  box-shadow: none;
  letter-spacing: 0.04em;
}

.hero-cards .button.secondary,
.highlight .button.secondary,
body[data-page="home"] .section-with-backdrop .button,
body[data-page="home"] .section > .container > div[style*="margin-top: 24px;"] .button {
  color: var(--primary-dark);
  border-color: rgba(11, 52, 100, 0.35);
}

.hero-cards .button.secondary:hover,
.highlight .button.secondary:hover,
body[data-page="home"] .section-with-backdrop .button:hover,
body[data-page="home"] .section > .container > div[style*="margin-top: 24px;"] .button:hover {
  background: transparent;
  color: var(--accent);
  border-color: rgba(199, 31, 55, 0.72);
}

.contact-panel .button,
.contact-panel .button.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.42);
}

.contact-panel .button:hover,
.contact-panel .button.secondary:hover {
  background: transparent;
  color: #ffe5ea;
  border-color: rgba(255, 255, 255, 0.78);
}

body[data-page="home"] .hero-content p {
  color: #fff;
}

.section {
  padding: 70px 0;
  position: relative;
}

.section:nth-of-type(even)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 28px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 31, 55, 0.12) 0%, rgba(199, 31, 55, 0) 72%);
  pointer-events: none;
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-title {
  margin-bottom: 28px;
}

.section-title h2 {
  font-family: "Source Serif 4", "Georgia", serif;
  font-size: clamp(1.8rem, 2.6vw, 2.6rem);
  margin: 0;
}

.section-title span {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title span::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border-radius: var(--radius-md);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 52, 100, 0.12);
  position: relative;
  overflow: hidden;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-panel {
  background: var(--accent);
  color: #fff;
}

.contact-panel h3,
.contact-panel p {
  color: #fff;
}

.doctor-preview-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.doctor-preview-card,
.doctor-preview-grid > .doctor-preview-card:nth-child(odd),
.doctor-preview-grid > .doctor-preview-card:nth-child(even) {
  background: #fff;
  color: var(--ink);
  border: 1px solid rgba(11, 52, 100, 0.08);
  border-radius: var(--radius-md);
  padding: 0;
  box-shadow: 0 14px 38px rgba(11, 52, 100, 0.11);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: none;
}

.doctor-preview-card::before {
  display: none;
}

.doctor-preview-figure {
  position: relative;
  height: 270px;
  padding: 0;
  background: #edf2f9;
  overflow: hidden;
}

.doctor-preview-figure::before,
.doctor-preview-figure::after {
  display: none;
}

.doctor-preview-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  clip-path: none;
  border-radius: 0;
  position: static;
  transform: none;
  filter: none;
}

.doctor-preview-headline {
  display: none;
}

.doctor-preview-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 22px 24px;
}

.doctor-preview-card h3,
.doctor-preview-grid > .doctor-preview-card:nth-child(odd) h3,
.doctor-preview-grid > .doctor-preview-card:nth-child(even) h3 {
  color: var(--primary-dark);
  font-family: "Source Serif 4", serif;
  font-size: 1.12rem;
  margin: 0 0 4px;
  line-height: 1.2;
}

.doctor-preview-card p,
.doctor-preview-grid > .doctor-preview-card:nth-child(odd) p,
.doctor-preview-grid > .doctor-preview-card:nth-child(even) p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.doctor-preview-role {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: none;
  margin: 0 0 10px;
  line-height: 1.4;
}

.doctor-preview-qualifications {
  font-size: 0.86rem;
  color: var(--ink-soft);
  margin: 0 0 12px;
}

.doctor-preview-note {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(11, 52, 100, 0.08);
  font-size: 0.9rem;
}

.doctor-preview-card:nth-child(1) .doctor-preview-figure img {
  object-position: 60% top;
}

.doctor-preview-card:nth-child(2) .doctor-preview-figure img {
  object-position: 50% top;
}

.doctor-preview-card:nth-child(3) .doctor-preview-figure img {
  object-position: 50% top;
}

.doctor-preview-card:nth-child(4) .doctor-preview-figure img {
  object-position: 50% top;
}

.doctor-preview-card:nth-child(5) .doctor-preview-figure img {
  object-position: 50% top;
}

.highlight {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 52, 100, 0.08);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.treatment-experience {
  display: grid;
  grid-template-columns: minmax(280px, 1.05fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
}

.treatment-intro {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 248, 255, 0.98) 100%);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11, 52, 100, 0.08);
}

.treatment-intro p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.treatment-intro p:last-of-type {
  margin-bottom: 24px;
}

.treatment-flow {
  display: grid;
  gap: 16px;
}

.treatment-flow-item {
  position: relative;
  padding: 0 0 18px 24px;
}

.treatment-flow-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(199, 31, 55, 0.08);
}

.treatment-flow-item::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1.1rem;
  bottom: -0.3rem;
  width: 2px;
  background: linear-gradient(180deg, rgba(11, 52, 100, 0.28) 0%, rgba(11, 52, 100, 0.06) 100%);
}

.treatment-flow-item:last-child::after {
  display: none;
}

.treatment-flow-item h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  color: var(--primary-dark);
}

.treatment-flow-item p {
  margin: 0;
  color: var(--ink-soft);
}

.list {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
  color: var(--ink-soft);
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tag {
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 215, 222, 0.9) 100%);
  border-radius: 999px;
  border: 1px solid rgba(199, 31, 55, 0.18);
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: 0 10px 25px rgba(11, 52, 100, 0.12);
}

.motion-strip-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 22%, rgba(199, 31, 55, 0.1), transparent 18%),
    linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.motion-strip-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.motion-strip-copy {
  max-width: 400px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.65;
}

.image-marquee {
  position: relative;
  overflow: hidden;
  padding: 10px 0 4px;
}

.image-marquee::before,
.image-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(10vw, 120px);
  z-index: 2;
  pointer-events: none;
}

.image-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #eef4fb 0%, rgba(238, 244, 251, 0) 100%);
}

.image-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #eef4fb 0%, rgba(238, 244, 251, 0) 100%);
}

.image-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 20px;
  padding: 0 20px;
  animation: marquee-slide 34s linear infinite;
}

.image-marquee:hover .image-marquee-track {
  animation-play-state: paused;
}

.image-marquee-item {
  position: relative;
  flex: 0 0 280px;
  width: 280px;
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(11, 52, 100, 0.1);
  box-shadow: 0 12px 30px rgba(11, 52, 100, 0.14);
}

.image-marquee-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 52, 100, 0.04) 0%, rgba(5, 31, 61, 0.28) 100%);
}

.image-marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

/* Section with background backdrop */
.section-with-backdrop {
  position: relative;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.section-backdrop-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(238, 244, 251, 0.95) 65%, rgba(199, 31, 55, 0.08) 100%);
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.doctor-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

/* Treatment cards (description hidden in DOM for SEO, not shown) */
.treatment-flip-card {
  min-height: auto;
}

.treatment-flip-inner {
  position: relative;
  width: 100%;
}

.treatment-flip-front {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 22px;
}

/* Back content kept in DOM for SEO but visually hidden */
.treatment-flip-back {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.treatment-flip-front img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin: -22px -22px 16px -22px;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.treatment-flip-card.card {
  padding: 0;
}

.treatment-cards .treatment-flip-card .treatment-flip-front {
  background: #fff;
  color: var(--ink);
}

.treatment-cards .treatment-flip-card .treatment-flip-front h3 {
  color: var(--primary-dark);
}

.treatment-cards .treatment-flip-card .treatment-flip-front p {
  color: var(--ink-soft);
}

.treatment-card {
  overflow: hidden;
}

.treatment-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  margin: -22px -22px 16px -22px;
}

.testimonials-carousel {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.testimonials-viewport {
  position: relative;
  min-height: 330px;
  padding: 8px 0 0;
}

.testimonial-item {
  position: absolute;
  inset: 0;
  padding: 28px 32px 24px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(11, 52, 100, 0.07);
  box-shadow: 0 12px 36px rgba(11, 52, 100, 0.1);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.testimonial-item::before {
  content: "\201C";
  display: block;
  font-family: "Source Serif 4", serif;
  font-size: 5rem;
  line-height: 0.7;
  color: rgba(199, 31, 55, 0.13);
  margin-bottom: 14px;
}

.testimonial-item.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.testimonial-item img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 14px;
  border: 2px solid rgba(199, 31, 55, 0.14);
}

.testimonial-item p {
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0 0 14px;
  line-height: 1.75;
}

.testimonial-item strong {
  font-size: 0.95rem;
  color: var(--ink);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.testimonials-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
}

.testimonials-dots button.active {
  background: var(--accent);
  border-color: var(--accent);
}

.contact-panel {
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(168, 24, 48, 0.16);
  position: relative;
  overflow: hidden;
}

.contact-panel h3 {
  margin-top: 0;
}

.contact-panel .hero-actions {
  justify-content: flex-start;
}

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

footer {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #0b3464 70%, #a6172c 100%);
  color: #e8eef4;
  padding: 40px 0 30px;
}

footer a {
  color: #e8eef4;
}

footer h3,
footer h4 {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.footer-note {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 30px;
  padding-top: 20px;
  font-size: 0.9rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding: 12px 0;
}

.breadcrumb a {
  color: var(--ink-soft);
}

.breadcrumb a:hover {
  color: var(--primary);
}

.breadcrumb span {
  margin: 0 6px;
  color: var(--ink-soft);
  opacity: 0.6;
}

.fade-up {
  opacity: 0;
  transform: translateY(16px);
  transition: all 0.8s ease;
}

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

/* ─── Stats band ─── */
.stats-band {
  background: var(--primary-dark);
}

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

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

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

.stat-item strong {
  display: block;
  font-family: "Source Serif 4", serif;
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 7px;
}

.stat-item span {
  font-size: 0.71rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  line-height: 1.4;
}

/* ─── Facilities dark section ─── */
.facilities-dark {
  background: var(--primary-dark);
}

.facilities-dark .section-title h2 {
  color: #fff;
}

.facilities-dark .section-title span {
  color: rgba(255, 255, 255, 0.58);
}

.facilities-dark .section-title span::before {
  background: rgba(255, 255, 255, 0.38);
}

.facilities-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.facilities-intro {
  color: rgba(255, 255, 255, 0.64);
  margin: 0 0 28px;
  font-size: 1rem;
  line-height: 1.78;
}

.facilities-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 28px;
  padding-top: 8px;
}

.facility-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.45;
}

.facility-item::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 0.42em;
}

.facilities-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.facilities-dark .facilities-actions .button {
  background: #fff;
  color: var(--primary-dark);
  border-color: transparent;
  box-shadow: none;
}

.facilities-dark .facilities-actions .button:hover {
  background: var(--accent);
  color: #fff;
}

.facilities-dark .facilities-actions .button.secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: none;
}

.facilities-dark .facilities-actions .button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

@keyframes marquee-slide {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    right: 4vw;
    top: 72px;
    flex-direction: column;
    background: white;
    padding: 18px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    border: 1px solid rgba(11, 52, 100, 0.12);
    display: none;
  }

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

@media (max-width: 600px) {
  .topbar .container {
    justify-content: center;
    align-items: center;
    gap: 6px 12px;
  }

  .topbar .container span:nth-child(2) {
    display: none;
  }

  .hero-single {
    min-height: 70vh;
  }

  .hero-card {
    padding: 24px;
  }

  .treatment-experience {
    grid-template-columns: 1fr;
  }

  .image-marquee-item {
    flex-basis: 220px;
    width: 220px;
    height: 160px;
  }

  .testimonial-item {
    padding: 22px 20px 18px;
  }

  .doctor-preview-figure {
    height: 230px;
  }

  .doctor-preview-body {
    padding: 18px 18px 20px;
  }

  .section {
    padding: 50px 0;
  }

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

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .motion-strip-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .facilities-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .facilities-list {
    grid-template-columns: 1fr;
  }
}
