/* ===== Design tokens ===== */
:root {
  --font-display: 'Noto Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --cyan: #07ade0;
  --cyan-strong: #0494c2;
  --cyan-deep: #0193c5;
  --cyan-soft: #e3f6fc;
  --cyan-softer: #f1fbfe;
  --navy: #001429;
  --navy-2: #012f6b;
  --gold: #fcc000;
  --blue-light: #56b3ff;

  --ink: #001429;
  --muted: #5b6b78;
  --bg: #ffffff;
  --bg-soft: #f3f6f8;
  --surface: #ffffff;
  --surface-2: #f7fafc;
  --line: #e6ecf1;
  --line-strong: #c9d5de;

  --shadow-sm: 0 4px 15px rgba(0, 20, 41, .05);
  --shadow-md: 0 12px 30px rgba(0, 20, 41, .08);
  --shadow-lg: 0 22px 48px rgba(0, 20, 41, .12);
  --btn-shadow: 0 10px 22px rgba(7, 173, 224, .3);

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 9px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

[data-theme="dark"] {
  --cyan: #38c4ee;
  --cyan-strong: #5fd2f5;
  --cyan-deep: #2bb6e2;
  --cyan-soft: #0d2a3a;
  --cyan-softer: #0b2432;
  --navy: #001429;
  --navy-2: #02294f;
  --gold: #fcc000;
  --blue-light: #6cb8f7;

  --ink: #e8f0f6;
  --muted: #9db3c4;
  --bg: #07121f;
  --bg-soft: #0a1626;
  --surface: #0d1b2b;
  --surface-2: #11243a;
  --line: #1d3146;
  --line-strong: #2c4560;

  --shadow-sm: 0 4px 15px rgba(0, 0, 0, .35);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, .4);
  --shadow-lg: 0 22px 48px rgba(0, 0, 0, .5);
  --btn-shadow: 0 10px 22px rgba(7, 173, 224, .25);
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.18;
  color: var(--ink);
}
p { color: var(--muted); }

::selection { background: var(--cyan); color: #fff; }

:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--cyan); color: #fff; font-weight: 700;
  padding: 10px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
section[id] { scroll-margin-top: 92px; }

/* ===== Shared components ===== */
.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(7, 173, 224, .9);
  padding: 9px 18px;
  border-radius: 999px;
}

.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin: 4px 0 14px; }
.section-head p { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn i { font-size: 17px; }

.btn-primary { background: var(--cyan); color: #fff; box-shadow: var(--btn-shadow); }
.btn-primary:hover { background: var(--cyan-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-outline { border: 1.5px solid var(--line-strong); color: var(--ink); background: var(--surface); }
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }

.btn-white { border: 1.5px solid #fff; color: #fff; background: transparent; }
.btn-white:hover { background: var(--cyan); border-color: var(--cyan); transform: translateY(-2px); box-shadow: var(--btn-shadow); }

.btn-block { width: 100%; }

/* ===== Top bar ===== */
.topbar { background: var(--navy); color: rgba(255, 255, 255, .82); font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.topbar-meta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar-meta a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-meta span { display: none; }
.topbar-meta i { color: var(--cyan); font-size: 15px; }
.topbar-meta a:hover { color: #fff; }
.topbar-social { display: flex; gap: 6px; }
.topbar-social a { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 8px; color: rgba(255, 255, 255, .75); }
.topbar-social a:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* ===== Header ===== */
.header {
  position: sticky; top: 0; z-index: 120;
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
[data-theme="dark"] .header { background: rgba(7, 18, 31, .92); }
.header.scrolled { box-shadow: 0 4px 18px rgba(0, 20, 41, .08); }

.nav-inner { display: flex; align-items: center; gap: 12px; min-height: 76px; }
.brand { display: flex; align-items: center; margin-right: auto; }
.brand img { height: 56px; width: auto; object-fit: contain; border-radius: 6px; }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.theme-toggle {
  width: 42px; height: 42px; flex: none;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line-strong); border-radius: 999px;
  color: var(--ink); font-size: 20px;
  transition: color .2s, background-color .2s, border-color .2s, transform .2s var(--ease);
}
.theme-toggle:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-1px); }

.nav {
  position: fixed; top: 76px; right: -100%;
  width: min(320px, 85vw); height: calc(100vh - 76px); height: calc(100dvh - 76px);
  background: var(--surface);
  flex-direction: column; align-items: stretch;
  padding: 28px 24px 36px;
  box-shadow: -12px 0 40px rgba(0, 0, 0, .18);
  transition: right .35s var(--ease); z-index: 140;
  overflow-y: auto;
}
.nav.open { right: 0; }
.nav-list { display: grid; gap: 4px; }
.nav-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  font-weight: 600; font-size: 16px; color: var(--ink);
  padding: 13px 14px; border-radius: 10px;
  transition: color .2s, background-color .2s;
}
.nav-list a:hover, .nav-list a.active { color: var(--cyan); background: var(--cyan-soft); }
.caret { font-size: 12px; }
.dropdown { position: static; display: none; padding: 0 0 0 14px; }
.has-dropdown.open .dropdown { display: block; }
.dropdown li a { display: block; width: 100%; font-weight: 500; padding: 10px 14px; font-size: 14.5px; border-radius: 8px; }
.dropdown li a:hover { background: var(--cyan-soft); color: var(--cyan); }

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 10vw, 132px) 0 clamp(72px, 10vw, 128px);
  background:
    linear-gradient(150deg, rgba(0, 20, 41, .82) 0%, rgba(0, 20, 41, .66) 55%, rgba(1, 47, 107, .72) 100%),
    url('../images/photo-5.webp') center 28% / cover no-repeat;
  text-align: center;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(7, 173, 224, .5) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .3;
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }

.hero-copy { margin: 0 auto; max-width: 860px; }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 {
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -.015em;
  margin: 0 auto 22px;
  max-width: 20ch;
  color: #fff;
}
.hero-sub { font-size: 1.13rem; color: rgba(255, 255, 255, .85); max-width: 58ch; margin: 0 auto; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 38px; }
.hero-trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-top: 40px; }
.hero-trust span {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13.5px; font-weight: 700; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px; padding: 10px 18px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hero-trust i { color: var(--cyan); font-size: 16px; }

.hero-meta {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 12px 20px; margin-top: 54px; padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}
.hero-meta i { color: var(--cyan); font-size: 15px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: heroIn .8s var(--ease) both; }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Marquee ===== */
.marquee { background: var(--navy); overflow: hidden; padding: 16px 0; }
.marquee-track { display: inline-flex; white-space: nowrap; will-change: transform; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 26px; padding-right: 26px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
}
.marquee-track i { color: var(--cyan); font-size: 18px; }

@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: marquee 34s linear infinite; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Why ===== */
.why { padding: 76px 0; background: var(--bg); }
.why-lead h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin: 6px 0 18px; }
.why-lead p { max-width: 40ch; margin-bottom: 28px; }
.why-list { display: grid; gap: 4px 48px; }
.why-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.why-list li:last-child { border-bottom: 0; }
.why-list h3 {
  font-size: 18px; margin-bottom: 6px;
  display: flex; align-items: center; gap: 14px;
}
.why-list h3::before {
  content: "";
  flex: none;
  width: 34px; height: 10px;
  border-radius: 50px;
  background: var(--cyan);
}
.why-list p { font-size: 14.5px; max-width: 52ch; padding-left: 48px; }
.why-icon { display: none; }

/* ===== About ===== */
.about { padding: 76px 0; background: var(--bg); }
.about-media { position: relative; max-width: 440px; justify-self: center; }
.about-media .doctors-carousel { max-width: none; margin: 0; width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.about-media .dc-slide { box-shadow: none; border: none; border-radius: 0; }
.about-media .dc-prev { left: 14px; }
.about-media .dc-next { right: 14px; }

.about-copy h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin: 4px 0 18px; }
.about-copy > p { margin-bottom: 18px; }
.about-copy > p strong { color: var(--ink); font-weight: 700; }
.check-list { margin: 26px 0 30px; display: grid; gap: 15px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink); font-size: 15px; font-weight: 600; }
.check-list i { color: var(--cyan); font-size: 22px; flex: none; margin-top: 1px; }

/* ===== Doctors ===== */
.doctors { padding: 76px 0; background: var(--bg-soft); }
.doctors-grid { display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 440px; margin: 0 auto; }
.doctor-card {
  background: var(--surface); border: 1px solid rgba(7, 173, 224, .3);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.doctor-card img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.doctor-card figcaption { padding: 18px 20px 24px; border-top: 3px solid transparent; text-align: left; transition: border-color .25s var(--ease); }
.doctor-card:hover figcaption { border-top-color: var(--cyan); }
.doctor-card h3 { font-size: 18px; margin-bottom: 2px; }
.doctor-card figcaption span { display: block; font-size: 13px; font-weight: 700; color: var(--cyan-deep); margin-bottom: 12px; }
.doctor-bio { font-size: 13.5px; line-height: 1.6; color: var(--muted); }

/* ===== Doctors carousel ===== */
.doctors-carousel { position: relative; max-width: 380px; margin: 0 auto; }
.dc-track { display: flex; transition: transform .6s var(--ease); }
.dc-slide {
  flex: 0 0 100%; background: var(--surface);
  border: 1px solid rgba(7, 173, 224, .3); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-md);
}
.dc-slide img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; }
.dc-slide figcaption { padding: 20px 22px 24px; border-top: 3px solid var(--cyan); text-align: center; }
.dc-slide h3 { font-size: 19px; margin-bottom: 2px; }
.dc-slide figcaption span { font-size: 14px; font-weight: 600; color: var(--cyan-deep); }

.dc-arrow {
  position: absolute; top: 42%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line-strong);
  color: var(--ink); font-size: 24px; z-index: 5;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.dc-arrow:hover { background: var(--cyan); color: #fff; border-color: var(--cyan); }
.dc-prev { left: 8px; } .dc-next { right: 8px; }

.dc-dots { display: flex; justify-content: center; gap: 9px; margin-top: 26px; }
.dc-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--line-strong); transition: width .25s var(--ease), background-color .25s var(--ease); }
.dc-dot.active { width: 28px; background: var(--cyan); }

/* ===== Stats ===== */
.stats { background: var(--navy); padding: 68px 0; position: relative; overflow: hidden; }
.stats::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(7, 173, 224, .4) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .3;
  pointer-events: none;
}
.stats-inner { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 16px; text-align: center; }
.stat strong {
  display: block; font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.1rem); font-weight: 700;
  color: var(--cyan); line-height: 1;
}
.stat span { display: block; margin-top: 8px; color: rgba(255, 255, 255, .85); font-size: 13.5px; font-weight: 600; }
.stat::after { content: ""; display: block; width: 34px; height: 3px; border-radius: 3px; background: var(--gold); margin: 16px auto 0; }

/* ===== Gallery ===== */
.gallery { padding: 76px 0; background: var(--bg); }
.gallery-masonry { column-count: 1; column-gap: 14px; }
.g-item {
  display: block; width: 100%; margin-bottom: 14px; padding: 0;
  border-radius: var(--radius-md); overflow: hidden;
  break-inside: avoid; background: none; cursor: zoom-in;
}
.g-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.g-item:hover img, .g-item:focus-visible img { transform: translateY(-4px) scale(1.02); box-shadow: var(--shadow-md); }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 20, 41, .92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox img {
  max-width: min(92vw, 1080px); max-height: 84vh;
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
}
.lb-close {
  position: absolute; top: 18px; right: 18px;
  width: 46px; height: 46px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 26px;
  transition: background-color .2s var(--ease);
}
.lb-close:hover { background: var(--cyan); color: #fff; }
.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px;
  transition: background-color .2s var(--ease);
}
.lb-nav:hover { background: var(--cyan); color: #fff; }
.lb-prev { left: 22px; } .lb-next { right: 22px; }
.lb-count { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .75); font-size: 14px; font-weight: 700; letter-spacing: .12em; }
.lightbox[hidden] { display: none; }

/* ===== Treatments detail ===== */
.treatments { padding: 76px 0; background: var(--bg); }
.tx-blocks { display: grid; gap: 22px; }
.tx-block {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 34px 28px;
  box-shadow: var(--shadow-sm);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.tx-block:hover { border-color: var(--cyan); box-shadow: var(--shadow-md); }
.tx-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 20px; }
.tx-icon {
  flex: none; width: 54px; height: 54px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan-soft); color: var(--cyan-deep); font-size: 28px;
}
.tx-head h3 { font-size: clamp(1.35rem, 2.4vw, 1.6rem); }
.tx-tagline {
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan); margin-top: 4px;
}
.tx-block > p { font-size: 15px; margin-bottom: 14px; max-width: 78ch; }
.tx-block > p strong { color: var(--ink); }
.tx-sub {
  display: flex; align-items: center; gap: 12px;
  font-size: 15.5px; font-weight: 700; color: var(--ink);
  margin: 26px 0 16px;
}
.tx-sub::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tx-list { display: grid; grid-template-columns: 1fr; gap: 11px; margin-bottom: 18px; }
.tx-list li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.tx-list li strong { color: var(--ink); font-weight: 700; }
.tx-list li i { color: var(--cyan); font-size: 20px; flex: none; margin-top: 2px; }
.tx-process {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  background: var(--cyan-softer); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 18px 20px; margin-bottom: 22px;
}
.tx-process span { font-size: 13px; font-weight: 700; color: var(--ink); }
.tx-process i { color: var(--cyan); font-size: 14px; }
.tx-close {
  display: block; margin-top: 22px; padding-top: 18px;
  border-top: 1px dashed var(--line-strong);
  font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--cyan-deep);
}

/* ===== Testimonials ===== */
.testimonials { padding: 76px 0; background: var(--bg-soft); }
.t-slider { position: relative; max-width: 780px; margin: 0 auto; }
.t-slide {
  display: none; text-align: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 44px 26px;
  box-shadow: var(--shadow-md);
}
.t-slide.active { display: block; animation: fadeUp .5s var(--ease); }
.t-stars { color: var(--gold); font-size: 21px; display: flex; gap: 5px; justify-content: center; margin-bottom: 22px; }
.t-slide p {
  font-size: clamp(1.1rem, 2.1vw, 1.3rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--ink);
  max-width: 54ch; margin: 0 auto 26px;
}
.t-slide cite { display: block; font-style: normal; font-weight: 700; font-size: 15px; color: var(--ink); }
.t-role { display: block; margin-top: 3px; font-size: 13.5px; color: var(--cyan-deep); font-weight: 600; }

.t-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--line-strong);
  color: var(--ink); font-size: 22px; z-index: 5;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.t-arrow:hover { background: var(--cyan); color: #fff; border-color: var(--cyan); transform: translateY(-50%) scale(1.05); }
.t-prev { left: 10px; } .t-next { right: 10px; }
.t-arrow { display: none; }

.t-dots { display: flex; justify-content: center; gap: 9px; margin-top: 28px; }
.t-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--line-strong); transition: width .25s var(--ease), background-color .25s var(--ease); }
.t-dot.active { width: 28px; background: var(--cyan); }

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

/* ===== FAQ ===== */
.faq { padding: 76px 0; background: var(--bg); }
.faq-lead h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin: 4px 0 18px; }
.faq-lead p { max-width: 40ch; margin-bottom: 28px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq-item.open { border-color: var(--cyan); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  text-align: left; font-weight: 700; font-size: 15.5px; color: var(--ink);
  padding: 20px 22px;
}
.faq-icon { color: var(--cyan-deep); font-size: 20px; flex: none; transition: transform .3s var(--ease); }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { padding: 0 22px 20px; font-size: 14.5px; }

/* ===== Contact ===== */
.contact { padding: 76px 0; background: var(--bg-soft); }
.contact-copy h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); margin: 4px 0 18px; }
.contact-copy > p { margin-bottom: 30px; max-width: 46ch; }
.contact-list { display: grid; gap: 20px; margin-bottom: 34px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  flex: none; width: 48px; height: 48px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--cyan-soft); color: var(--cyan-deep); font-size: 23px;
}
.contact-list strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.contact-list div span { color: var(--muted); font-size: 14.5px; }
.contact-list a { color: var(--cyan-deep); font-weight: 700; font-size: 14.5px; }
.contact-list a:hover { text-decoration: underline; }

.contact-form {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; padding: 40px 34px;
  box-shadow: 0 10px 11px rgba(0, 0, 0, .07);
}
.contact-form h3 { font-size: 24px; margin-bottom: 6px; }
.contact-form > p { font-size: 14px; margin-bottom: 30px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 22px; }
.contact-form label span { display: block; font-size: 15px; font-weight: 700; color: var(--cyan-deep); margin-bottom: 4px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; padding: 10px 2px;
  border: 0; border-bottom: 2px solid #d5d6da; border-radius: 0;
  background: transparent; color: var(--ink);
  font-family: inherit; font-size: 16px; font-weight: 600;
  transition: border-color .2s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; border-color: var(--cyan);
}
.contact-form textarea { min-height: 110px; resize: vertical; }
.form-full { display: block; margin-bottom: 28px; }
.form-note { margin-top: 16px; font-size: 14px; text-align: center; font-weight: 700; }
.form-note.success { color: #1d9a62; }
.form-note.error { color: #d9534f; }
[data-theme="dark"] .form-note.success { color: #4fd6a0; }
[data-theme="dark"] .form-note.error { color: #ff7b72; }

/* ===== Footer ===== */
.footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 24px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 56px; padding: 88px 0 72px; }
.footer-brand img { height: 72px; width: auto; object-fit: contain; border-radius: 8px; margin-bottom: 24px; }
.footer-brand p { color: rgba(255, 255, 255, .68); font-size: 14px; max-width: 34ch; margin-bottom: 32px; }
.footer-social { display: flex; gap: 10px; margin-top: 8px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .85); font-size: 19px;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.footer-social a:hover { background: var(--cyan); border-color: var(--cyan); color: #fff; transform: translateY(-3px); }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 26px; }
.footer-col ul { display: grid; gap: 15px; font-size: 14px; margin: 0; padding: 0; }
.footer-col ul a { color: rgba(255, 255, 255, .72); transition: color .2s; }
.footer-col ul a:hover { color: var(--cyan); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; }
.footer-bottom p { font-size: 13px; color: rgba(255, 255, 255, .55); text-align: center; margin: 0; }

/* ===== Floating actions ===== */
.floating-btns { position: fixed; bottom: 22px; right: 22px; display: flex; flex-direction: column; gap: 12px; z-index: 200; }
.floating-wa, .floating-call {
  width: 54px; height: 54px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 27px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
  transition: transform .25s var(--ease);
}
.floating-wa { background: #25d366; }
.floating-call { background: var(--cyan); }
.floating-wa:hover, .floating-call:hover { transform: translateY(-4px) scale(1.04); }

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== Tablet ===== */
@media (min-width: 640px) {
  .container { padding: 0 24px; }
  .topbar-meta span { display: inline-flex; align-items: center; gap: 7px; }
  .why, .treatments, .about, .doctors, .gallery, .testimonials, .faq, .contact { padding: 92px 0; }
  .doctors-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; max-width: none; }
  .tx-list { grid-template-columns: repeat(2, 1fr); }
  .tx-block { padding: 38px 34px; }
  .gallery-masonry { column-count: 2; column-gap: 14px; }
  .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 26px; }
  .why-list { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; gap: 22px; }
  .contact-form { padding: 46px 40px; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .t-slide { padding: 48px 44px; }
}

/* ===== Desktop ===== */
@media (min-width: 861px) {
  .nav-toggle { display: none; }
  .nav {
    position: static; width: auto; height: auto;
    background: transparent; box-shadow: none;
    flex-direction: row; align-items: center;
    padding: 0; overflow: visible;
  }
  .nav-list { display: flex; align-items: center; gap: 2px; }
  .nav-list > li { position: relative; }
  .nav-list a { font-size: 15px; padding: 10px 13px; justify-content: flex-start; }
  .dropdown {
    position: absolute; top: 100%; left: 0; min-width: 270px;
    display: block;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
    box-shadow: var(--shadow-md); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(6px); }
  .dropdown li a { padding: 9px 14px; font-size: 14px; }

  .hero { padding: clamp(100px, 11vw, 148px) 0 clamp(96px, 11vw, 140px); }
  .hero-trust { gap: 14px 32px; }

  .why-inner, .about-inner, .contact-inner, .faq-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
  .why-inner { grid-template-columns: .85fr 1.15fr; align-items: start; }
  .why-lead { position: sticky; top: 110px; align-self: start; }
  .faq-inner { grid-template-columns: .8fr 1.2fr; align-items: start; }
  .faq-lead { position: sticky; top: 110px; align-self: start; }

  .about-media { max-width: 440px; justify-self: center; }
  .contact-inner { align-items: start; }

  .t-arrow { display: flex; }
  .t-prev { left: -70px; } .t-next { right: -70px; }

  .gallery-masonry { column-count: 3; column-gap: 16px; }

  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; }
}

/* ===== Wide desktop ===== */
@media (min-width: 1080px) {
  .dc-prev { left: -84px; } .dc-next { right: -84px; }
  .about-media .dc-prev { left: 14px; } .about-media .dc-next { right: 14px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none !important; }
}
