:root {
  --ink: #102333;
  --muted: #5e7180;
  --soft: #f4f8fb;
  --line: #dce7ee;
  --white: #ffffff;
  --blue: #0e5f86;
  --blue-dark: #08364f;
  --teal: #17a9a2;
  --cyan: #dff8fb;
  --steel: #7890a0;
  --shadow: 0 20px 50px rgba(8, 54, 79, 0.12);
  --radius: 8px;
  --container: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color-scheme: light;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: rgba(23, 169, 162, 0.18); }
:focus-visible { outline: 3px solid rgba(23, 169, 162, 0.55); outline-offset: 3px; }
.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--blue-dark);
  color: var(--white);
  border-radius: var(--radius);
}
.skip-link:focus { top: 16px; }

.container { width: var(--container); margin: 0 auto; }
.section { padding: 96px 0; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: Manrope, Inter, sans-serif;
  line-height: 1.08;
  margin: 0;
  letter-spacing: 0;
}
h1 { font-size: clamp(2.35rem, 6vw, 5.1rem); max-width: 850px; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(220, 231, 238, 0.75);
}
.nav {
  width: var(--container);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--blue-dark);
  white-space: nowrap;
}
.brand-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}
.brand-logo-header {
  max-width: clamp(142px, 16vw, 218px);
  max-height: 52px;
}
.brand-logo-footer {
  max-width: 230px;
  max-height: 80px;
}
.nav-panel { display: flex; align-items: center; gap: 20px; }
.nav-panel a {
  color: #385365;
  font-size: 0.94rem;
  font-weight: 700;
}
.nav-panel a:hover { color: var(--blue); }
.nav-toggle { display: none; }
.language-switch {
  display: inline-flex;
  padding: 3px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-btn {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}
.lang-btn.active { color: var(--white); background: var(--blue); }

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}
.hero-media,
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media { overflow: hidden; }
.hero-image {
  object-fit: cover;
  object-position: center;
}
.hero-slide {
  opacity: 0;
  transform: scale(1.03);
  animation: heroFade 18s infinite ease-in-out;
}
.hero-slide-one { opacity: 1; animation-delay: 0s; }
.hero-slide-two { animation-delay: 6s; }
.hero-slide-three { animation-delay: 12s; }
@keyframes heroFade {
  0%, 30% { opacity: 1; transform: scale(1); }
  36%, 94% { opacity: 0; transform: scale(1.035); }
  100% { opacity: 1; transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 35, 52, 0.86) 0%, rgba(6, 35, 52, 0.62) 43%, rgba(6, 35, 52, 0.08) 100%);
}
.hero-content {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  padding: 84px 0;
}
.hero .eyebrow { color: #a9f3ec; }
.hero-copy {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}
.hero-actions, .contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--white); background: linear-gradient(135deg, var(--blue), var(--teal)); box-shadow: 0 16px 28px rgba(14, 95, 134, 0.28); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.55); background: rgba(255,255,255,0.08); }
.btn-ghost.dark { color: var(--blue-dark); border-color: var(--line); background: var(--white); }
.btn-light { color: var(--blue-dark); background: var(--white); box-shadow: 0 16px 30px rgba(0,0,0,0.16); }
.btn-whatsapp .bi {
  font-size: 1.1rem;
  line-height: 1;
}
.btn-whatsapp:hover .bi {
  transform: scale(1.04);
}
.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  gap: 12px;
  margin: 48px 0 0;
}
.trust-strip div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
}
.trust-strip dt { font: 800 1.5rem Manrope, sans-serif; }
.trust-strip dd { margin: 2px 0 0; color: rgba(255,255,255,0.78); }

.intro-band { padding: 34px 0; background: var(--soft); }
.intro-grid, .service-grid, .team-grid, .testimonial-grid, .case-grid { display: grid; gap: 20px; }
.intro-grid { grid-template-columns: repeat(3, 1fr); }
.intro-card, .service-card, .team-card, .testimonial-card, .case-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(8, 54, 79, 0.06);
}
.intro-card { padding: 26px; }
.mini-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--blue);
  font-weight: 900;
}
.intro-card h2 { font-size: 1.08rem; margin-bottom: 8px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 64px;
  align-items: center;
}
.split.reverse { grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr); }
.copy-block p + p { margin-top: 16px; }
.copy-block h2 + p { margin-top: 22px; }

.about-lead {
  margin-top: 18px;
  color: var(--blue);
  font-weight: 800;
  font-size: 1.05rem;
}
.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-top: 26px;
}
.about-highlights h3 {
  margin-bottom: 14px;
  color: var(--blue-dark);
  font-size: 1rem;
  text-transform: uppercase;
}
.compact-list {
  gap: 10px;
  margin-top: 0;
}
.compact-list li {
  padding-left: 26px;
}
.compact-list li::before {
  top: 3px;
}
body.dark-mode .about-lead { color: var(--teal); }
body.dark-mode .about-highlights h3 { color: #edf7fb; }
.check-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: #385365;
  font-weight: 600;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: radial-gradient(circle at center, var(--white) 0 24%, var(--teal) 25% 100%);
}
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.clinic-collage {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: 180px 180px;
  gap: 16px;
}
.photo-tile {
  position: relative;
  min-height: 180px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.photo-tile img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  object-position: center;
  transition: transform 500ms ease;
}
.photo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,54,79,0) 45%, rgba(8,54,79,0.62) 100%);
  pointer-events: none;
}
.photo-tile figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  color: var(--white);
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0,0,0,0.28);
}
.photo-tile:hover img { transform: scale(1.035); }
.photo-tile:nth-child(1) img { object-position: center 34%; }
.photo-tile:nth-child(2) img { object-position: center 42%; }
.photo-tile:nth-child(3) img { object-position: center 48%; }
.tile-large { grid-row: span 2; }

.section-heading { max-width: 760px; margin-bottom: 42px; }
.section-heading h2 + p { margin-top: 16px; }
.services-section, .testimonials-section { background: linear-gradient(180deg, var(--soft), var(--white)); }
.service-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.service-card {
  display: flex;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.service-card img {
  width: 100%;
  aspect-ratio: 314 / 282;
  height: auto;
  object-fit: cover;
  object-position: center;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  transition: transform 420ms ease;
}
.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
.service-card p { margin: 12px 0 18px; font-size: 0.94rem; }
.service-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-card:hover img { transform: scale(1.035); }

.promo-band {
  padding: 62px 0;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue) 58%, var(--teal));
  color: var(--white);
}
.promo-content { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.promo-content h2 { max-width: 760px; }
.promo-content p { max-width: 720px; margin-top: 10px; color: rgba(255,255,255,0.8); }
.promo-content .eyebrow { color: #b8fff8; }

.team-grid { grid-template-columns: repeat(3, 1fr); }
.team-card, .testimonial-card { padding: 28px; }
.avatar, .patient {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f6fb, #bfeeea);
  color: var(--blue-dark);
  font-weight: 900;
  font-size: 1.3rem;
}
.role { margin: 8px 0 12px; color: var(--blue); font-weight: 800; }
.case-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.case-card { padding: 12px; }
.case-card h3 { padding: 14px 4px 2px; font-size: 1rem; }
.before-after {
  --position: 54%;
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #dbe8ef;
  touch-action: none;
}
.ba-image {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  padding: 14px;
  color: var(--white);
  font-weight: 900;
  letter-spacing: 0;
}
.ba-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ba-before { background: #dbe8ef; }
.ba-after {
  clip-path: inset(0 0 0 var(--position));
  background: #dbe8ef;
}
.before-after.vertical .ba-after { clip-path: inset(var(--position) 0 0 0); }
.before-after input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}
.before-after.vertical input { cursor: ns-resize; }
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  width: 3px;
  transform: translateX(-50%);
  background: var(--white);
  box-shadow: 0 0 0 999px transparent;
  pointer-events: none;
}
.ba-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(0,0,0,0.22);
}
.before-after.vertical .ba-handle {
  top: var(--position);
  bottom: auto;
  left: 0;
  right: 0;
  width: auto;
  height: 3px;
  transform: translateY(-50%);
}

.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.stars { color: #e7a620; margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-card p { margin-bottom: 18px; }
.facilities-section { overflow: hidden; }
.facility-carousel { margin-top: 16px; overflow: hidden; }
.facility-track {
  display: flex;
  width: max-content;
  gap: 18px;
  animation: carousel 34s linear infinite;
}
.facility-carousel:hover .facility-track { animation-play-state: paused; }
.facility-item {
  position: relative;
  width: min(292px, 72vw);
  aspect-ratio: 9 / 16;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 900;
  background: var(--soft);
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(8, 54, 79, 0.08);
}
.facility-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 520ms ease;
}
.facility-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,54,79,0) 48%, rgba(8,54,79,0.68) 100%);
  pointer-events: none;
}
.facility-item figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.28);
}
.facility-item:hover img { transform: scale(1.04); }
@keyframes carousel { to { transform: translateX(calc(-50% - 9px)); } }

.international-section { background: var(--blue-dark); color: var(--white); }
.international-section p, .international-section li { color: rgba(255,255,255,0.8); }
.international-panel {
  padding: 42px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,0.15), rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 70px rgba(0,0,0,0.18);
}
.international-panel span { color: #a9f3ec; font-weight: 900; }
.international-panel h2 { margin: 14px 0; }
.location-section address {
  margin: 22px 0 0;
  font-style: normal;
  color: #385365;
  font-weight: 700;
}
.location-section p { margin-top: 12px; }
.location-section a:not(.btn) { color: var(--blue); font-weight: 800; }
.map-frame {
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.site-footer {
  padding: 58px 0 0;
  background: #071f2f;
  color: var(--white);
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 36px; }
.footer-grid h2 { margin-bottom: 16px; font-size: 1rem; }
.footer-grid p, .footer-grid a { display: block; margin: 8px 0; color: rgba(255,255,255,0.74); }
.footer-brand { display: inline-flex; color: var(--white); margin-bottom: 18px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: var(--container);
  margin: 42px auto 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.64);
  font-size: 0.9rem;
}
.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #19c37d;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(25,195,125,0.32);
}
.floating-whatsapp .bi {
  font-size: 1.62rem;
  line-height: 1;
}
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none !important; transform: none; }
  .hero-slide-one { opacity: 1; }
  .hero-slide-two, .hero-slide-three { opacity: 0; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
@media (max-width: 980px) {
  .section { padding: 72px 0; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--white);
  }
  .nav-toggle span { width: 18px; height: 2px; margin: 0 auto; background: var(--blue-dark); }
  .nav-panel {
    position: fixed;
    inset: 76px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 18px 20px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    transition: transform 220ms ease;
  }
  .nav-panel.open { transform: translateY(0); }
  .nav-panel a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .language-switch { margin-top: 16px; width: max-content; }
  .theme-toggle { justify-self: start; }
  .hero { min-height: 760px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(6,35,52,0.9), rgba(6,35,52,0.48)); }
  .intro-grid, .service-grid, .team-grid, .testimonial-grid, .case-grid, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 42px; }
  .about-highlights { grid-template-columns: 1fr; }
  .promo-content { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 680px) {
  :root { --container: min(100% - 28px, 1160px); }
  .brand-logo-header { max-width: 168px; max-height: 48px; }
  .hero { min-height: 700px; }
  .hero-content { padding: 52px 0; }
  .trust-strip, .intro-grid, .service-grid, .team-grid, .testimonial-grid, .case-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-strip { max-width: 100%; }
  .clinic-collage { grid-template-columns: 1fr; grid-template-rows: auto; }
  .photo-tile, .photo-tile img { min-height: 320px; }
  .tile-large { grid-row: auto; }
  .two-columns { grid-template-columns: 1fr; }
  .hero-actions, .contact-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .footer-bottom { flex-direction: column; }
}

.service-card h3,
.case-card h3 {
  text-transform: uppercase;
}

.theme-toggle {
  display: inline-grid;
  width: 38px;
  height: 38px;
  min-width: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--soft);
  color: var(--blue-dark);
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.theme-icon {
  font-size: 1.18rem;
  line-height: 1;
}
.theme-toggle:hover { transform: translateY(-1px); }

body.dark-mode {
  color-scheme: dark;
  --ink: #edf7fb;
  --muted: #b6c8d5;
  --soft: #0b141d;
  --line: #263a4a;
  --white: #121f2a;
  --blue: #58b7e2;
  --blue-dark: #d9f2ff;
  --teal: #5de0d2;
  --cyan: #173544;
  --steel: #9fb5c4;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.34);
  background: #0b141d;
}
body.dark-mode .site-header {
  background: rgba(11, 20, 29, 0.92);
  border-bottom-color: rgba(84, 119, 140, 0.35);
}
body.dark-mode .nav-panel a { color: #d6e5ee; }
body.dark-mode .nav-panel a:hover { color: var(--teal); }
body.dark-mode .language-switch,
body.dark-mode .theme-toggle,
body.dark-mode .nav-toggle {
  background: #162635;
  border-color: #2b4253;
  color: #e8f5fa;
}
body.dark-mode .theme-toggle[aria-pressed="true"] {
  background: linear-gradient(135deg, #246f92, #1b8f86);
  color: #ffffff;
  border-color: transparent;
}
body.dark-mode .lang-btn.active { color: #ffffff; background: #246f92; }
body.dark-mode .nav-toggle span { background: #e8f5fa; }
body.dark-mode .services-section,
body.dark-mode .testimonials-section {
  background: linear-gradient(180deg, #0b141d, #121f2a);
}
body.dark-mode .intro-band { background: #0b141d; }
body.dark-mode .intro-card,
body.dark-mode .service-card,
body.dark-mode .team-card,
body.dark-mode .testimonial-card,
body.dark-mode .case-card {
  background: #121f2a;
  border-color: #263a4a;
  box-shadow: var(--shadow);
}
body.dark-mode .service-card img,
body.dark-mode .facility-item,
body.dark-mode .photo-tile,
body.dark-mode .map-frame {
  border-color: #263a4a;
}
body.dark-mode .check-list li,
body.dark-mode .location-section address { color: #d6e5ee; }
body.dark-mode .btn-ghost.dark {
  color: #e8f5fa;
  border-color: #2b4253;
  background: #162635;
}
body.dark-mode .btn-primary { color: #ffffff; }
body.dark-mode .btn-light {
  color: #071f2f;
  background: #f5fbff;
}
body.dark-mode .avatar,
body.dark-mode .patient,
body.dark-mode .mini-icon {
  background: linear-gradient(135deg, #173544, #17635f);
  color: #ffffff;
}
body.dark-mode .international-section { background: #07111a; }
body.dark-mode .site-footer { background: #050c12; }
body.dark-mode .floating-whatsapp { color: #ffffff; }

@media (max-width: 980px) {
  .theme-toggle { margin-top: 14px; }
  body.dark-mode .nav-panel { background: #0b141d; border-bottom-color: #263a4a; }
  body.dark-mode .nav-panel a { border-bottom-color: #263a4a; }
}

.patient-photo {
  overflow: hidden;
  background: var(--soft);
  border: 3px solid rgba(23, 169, 162, 0.24);
  box-shadow: 0 14px 28px rgba(8, 54, 79, 0.12);
}
.patient-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.testimonial-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
}
.testimonial-card strong { margin-top: auto; }
body.dark-mode .international-section,
body.dark-mode .international-section h2,
body.dark-mode .international-section h3,
body.dark-mode .international-section .copy-block h2,
body.dark-mode .international-panel h2 {
  color: #edf7fb;
}
body.dark-mode .international-section .eyebrow,
body.dark-mode .international-panel span {
  color: #7af2e8;
}
body.dark-mode .international-section p,
body.dark-mode .international-section li {
  color: #c9d9e3;
}
body.dark-mode .patient-photo {
  border-color: rgba(93, 224, 210, 0.32);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}

.team-layout { align-items: stretch; }
.team-profile,
.team-reel-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  padding: 0;
}
.team-photo {
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
}
.team-photo img,
.reel-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.team-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}
.team-card-content .role { margin: 10px 0 12px; }
.reel-frame {
  position: relative;
  width: min(100%, 260px);
  aspect-ratio: 9 / 16;
  margin: 18px auto 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--soft);
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(8, 54, 79, 0.16);
}
.reel-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,54,79,0.04), rgba(8,54,79,0.34));
  pointer-events: none;
}
body.dark-mode .team-photo,
body.dark-mode .reel-frame { border-color: #263a4a; }
body.dark-mode .reel-frame { box-shadow: 0 18px 40px rgba(0,0,0,0.38); }
@media (max-width: 980px) {
  .reel-frame { width: min(100%, 300px); }
}

.reel-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.reel-video::after { display: none; }
