/* Owaisi Hospital — emerald & gold design system */
:root {
  --bg: #04140f;
  --bg2: #062219;
  --green: #062f27;
  --green2: #0b493b;
  --green3: #12806a;
  --gold: #e0c274;
  --gold2: #f3dd9c;
  --cyan: #5eead4;
  --cream: #f4f7f3;
  --ink: #0d2a23;
  --muted: #5c6f68;
  --line: rgba(224, 194, 116, .28);
  --glass: rgba(255, 255, 255, .06);
  --r: 16px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

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

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }

.page[hidden] { display: none !important; }

.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.wrap { width: min(1200px, 92%); margin: auto; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--gold); padding: 10px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; }

.progress {
  position: fixed; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  z-index: 200; box-shadow: 0 0 12px var(--cyan);
}

.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(94, 234, 212, .10), transparent 65%);
  transform: translate(-50%, -50%); opacity: 0; transition: opacity .4s;
}

/* ---------- top line + header ---------- */
.topline {
  background: #020d09; color: #c9dad2; font-size: .76rem;
  padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.topline .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topline span, .topline a { display: inline-flex; align-items: center; gap: 7px; }
.tl-r { gap: 22px; }
.topline a:hover { color: var(--gold); }

header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(4, 20, 15, .72);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--line);
  color: #fff;
  transition: background .3s, box-shadow .3s;
}
header.scrolled { background: rgba(4, 20, 15, .94); box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }

.nav {
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; transition: min-height .3s;
}
header.scrolled .nav { min-height: 64px; }

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

.brand-logo {
  height: 62px; width: auto; max-width: none; display: block;
  background: none; padding: 0; border: 0; border-radius: 0;
  filter:
    brightness(1.12) contrast(1.25) saturate(1.3)
    drop-shadow(0 0 1px #fff)
    drop-shadow(0 0 2px #fff)
    drop-shadow(0 0 8px rgba(255, 255, 255, .6));
  transition: height .3s, transform .3s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.03); }
header.scrolled .brand-logo { height: 52px; }

.navlinks { display: flex; align-items: center; gap: 4px; font-size: .88rem; }
.navlinks a {
  position: relative; white-space: nowrap;
  padding: 8px 12px; color: #e8f0eb; border-radius: 8px; transition: color .25s;
}
.navlinks a:not(.emergency):after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.navlinks a:hover, .navlinks a.active { color: var(--gold2); }
.navlinks a:hover:after, .navlinks a.active:after { transform: scaleX(1); }

/* ---------- buttons ---------- */
.btn, .emergency {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 22px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold2), var(--gold) 55%, #c8a24a);
  color: #102d26; font-weight: 700; font-size: .92rem;
  border: 0; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.btn:before, .emergency:before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s;
}
.btn:hover, .emergency:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(224, 194, 116, .35); }
.btn:hover:before, .emergency:hover:before { transform: translateX(120%); }

.emergency { padding: 8px 14px; font-size: .8rem; white-space: nowrap; flex: none; }

.btn.outline {
  background: rgba(255, 255, 255, .06); color: #fff;
  border: 1px solid var(--gold); backdrop-filter: blur(6px);
}
.btn.outline:hover { background: rgba(224, 194, 116, .14); }
.btn.dark { background: linear-gradient(135deg, var(--green3), var(--green)); color: #fff; }
.btn.dark:hover { box-shadow: 0 12px 30px rgba(18, 128, 106, .4); }
.btn.small { padding: 9px 15px; font-size: .8rem; }
.btn.big { padding: 18px 30px; font-size: 1.15rem; }
.btn.full { width: 100%; }

.menu-toggle {
  display: none; background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line); color: #fff;
  border-radius: 10px; padding: 8px 10px; cursor: pointer;
}
.menu-toggle .ic { width: 22px; height: 22px; }
.m-only { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 100px));
  display: flex; align-items: center;
  color: #fff; overflow: hidden; background: var(--bg);
}
.hero-slides, .hs, .ph-bg { position: absolute; inset: 0; }
.hs { opacity: 0; transition: opacity 1.6s ease; }
.hs.active { opacity: 1; }
.hs img, .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.hs.active img { animation: kenburns 14s ease-out forwards; }

@keyframes kenburns {
  from { transform: scale(1.02); }
  to { transform: scale(1.14) translate(-1.5%, -1%); }
}

.hero-fx {
  position: absolute; inset: 0;
  background:
    linear-gradient(95deg, rgba(2, 13, 9, .97) 0%, rgba(4, 30, 23, .88) 42%, rgba(4, 30, 23, .35) 100%),
    radial-gradient(circle at 80% 20%, rgba(94, 234, 212, .18), transparent 45%);
}
.hero-fx:after, .page-hero:after {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(94, 234, 212, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 234, 212, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
  animation: gridmove 20s linear infinite;
  pointer-events: none;
}
@keyframes gridmove { to { background-position: 56px 56px; } }

.hero-grid {
  position: relative; z-index: 2; display: grid;
  grid-template-columns: 1.25fr .75fr; gap: 48px;
  align-items: center; padding: 60px 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 700;
}
.eyebrow.dk { color: #9a7a2c; }

.pulse {
  width: 9px; height: 9px; border-radius: 50%; background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, .7); animation: pulse 2s infinite;
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(94, 234, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}

.hero h1, .page-hero h1 {
  font: 600 clamp(2.3rem, 5vw, 4.6rem)/1.08 'Playfair Display', serif;
  margin: 16px 0; letter-spacing: -.01em;
}
.grad {
  background: linear-gradient(100deg, var(--gold2), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* second hero line: slightly smaller */
.hero-sub { display: block; font-size: .78em; margin-top: 8px; line-height: 1.2; padding-bottom: .08em; }
.hero p { max-width: 580px; color: #d9e6df; line-height: 1.8; font-size: 1.04rem; }

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

.hero-dots { display: flex; gap: 9px; margin-top: 8px; }
.hero-dots button {
  width: 34px; height: 4px; border: 0; border-radius: 4px;
  background: rgba(255, 255, 255, .28); cursor: pointer; padding: 0; transition: .4s;
}
.hero-dots button.active { width: 60px; background: var(--gold); }

.quick {
  background: var(--glass); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(22px) saturate(160%);
  border-radius: 22px; padding: 26px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .15);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-10px); } }

.q-head { display: flex; gap: 14px; align-items: center; }
.q-head .ic {
  width: 46px; height: 46px; padding: 11px; border-radius: 14px;
  background: rgba(224, 194, 116, .16); color: var(--gold);
}
.q-head strong { display: block; font-size: 1.05rem; }
.q-head small { color: #b8cdc3; }

.q-num {
  display: block; font: 600 2.1rem 'Playfair Display', serif;
  color: var(--gold2); margin: 18px 0 14px; letter-spacing: .02em;
  text-shadow: 0 0 28px rgba(224, 194, 116, .4);
}

.quick ul {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: grid; gap: 11px; font-size: .86rem; color: #d3e2da;
}
.quick li { display: flex; gap: 10px; line-height: 1.5; }
.quick li .ic { color: var(--cyan); margin-top: 2px; }

.marquee {
  background: linear-gradient(90deg, var(--bg2), var(--green2), var(--bg2));
  overflow: hidden; border-block: 1px solid var(--line);
  padding: 15px 0; color: var(--gold2);
}
.mq-track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.mq-track span {
  padding: 0 34px; font: 500 1rem 'Playfair Display', serif;
  letter-spacing: .08em; white-space: nowrap; position: relative;
}
.mq-track span:after {
  content: '✦'; position: absolute; right: -6px;
  color: var(--cyan); font-size: .7rem; top: 5px;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.trustbar { background: var(--green); color: #fff; }
.trustgrid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trustitem {
  padding: 22px 18px; display: flex; align-items: center; gap: 14px;
  border-right: 1px solid rgba(255, 255, 255, .1);
}
.trustitem:last-child { border: 0; }
.trustitem .ic { width: 34px; height: 34px; color: var(--cyan); }
.trustitem strong { display: block; font-size: .92rem; }
.trustitem small { color: #a9c1b6; font-size: .78rem; }

/* ---------- sections ---------- */
.section { padding: 84px 0; position: relative; overflow: hidden; }
.section.tint { background: linear-gradient(180deg, #eaf1ec, #f4f7f3); }
.section.dark { background: var(--green); color: #fff; }
.section h2 {
  font: 600 clamp(1.9rem, 3.2vw, 3rem)/1.15 'Playfair Display', serif;
  margin: 10px 0 14px; letter-spacing: -.01em;
}

.section-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px;
}
.section-head p { color: var(--muted); max-width: 620px; line-height: 1.75; margin: 0; }

.textlink {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: .86rem; color: var(--green3);
}
.textlink .ic { transition: transform .3s; }
.textlink:hover .ic { transform: translateX(5px); }

.grid { display: grid; gap: 22px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative; background: #fff; border: 1px solid #e3ebe5;
  border-radius: var(--r); padding: 28px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(6, 47, 39, .06);
  transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
  transform-style: preserve-3d;
}
.card:before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(94, 234, 212, .18), transparent 55%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(6, 47, 39, .16); border-color: var(--gold); }
.card:hover:before { opacity: 1; }
.card h3 { font: 600 1.28rem 'Playfair Display', serif; margin: 0 0 10px; position: relative; }
.card p { color: var(--muted); line-height: 1.7; font-size: .92rem; margin: 0 0 18px; position: relative; }
.card .textlink { position: relative; }

.iconbox {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #e1f3ec, #f3ecd0);
  color: var(--green3); margin-bottom: 20px; position: relative;
  transition: .5s var(--ease);
}
.iconbox .ic { width: 26px; height: 26px; }
.card:hover .iconbox {
  background: linear-gradient(135deg, var(--green3), var(--green));
  color: var(--gold2); transform: rotate(-8deg) scale(1.08);
}

.stats { background: var(--bg); padding: 56px 0; }
.stat-card {
  text-align: center; padding: 26px 10px; border: 1px solid var(--line);
  border-radius: var(--r); background: var(--glass); backdrop-filter: blur(8px);
}
.stat-card strong {
  display: block; font: 600 3rem 'Playfair Display', serif;
  background: linear-gradient(120deg, var(--gold2), var(--cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat-card span { color: #b8cdc3; font-size: .86rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split p { line-height: 1.85; color: var(--muted); }

.ph {
  position: relative; border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, var(--green2), var(--bg));
  min-height: 320px; box-shadow: 0 30px 70px rgba(6, 47, 39, .25);
}
.ph img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 1.2s var(--ease);
}
.ph:hover img { transform: scale(1.07); }
.ph.tall { min-height: 480px; }

.photo-stack { position: relative; }
.photo-stack:before {
  content: ''; position: absolute; inset: -14px 14px 14px -14px;
  border: 2px solid var(--gold); border-radius: 24px; opacity: .55; z-index: 0;
}
.photo-stack .ph { z-index: 1; }

.badge {
  position: absolute; right: -18px; bottom: 30px; z-index: 2;
  background: linear-gradient(135deg, var(--green3), var(--green));
  color: #fff; border-radius: 18px; padding: 18px 24px; text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3); border: 1px solid var(--gold);
  animation: float 5s ease-in-out infinite;
}
.badge strong { display: block; font: 600 2rem 'Playfair Display', serif; color: var(--gold2); }
.badge span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }

.listcheck { list-style: none; padding: 0; margin: 24px 0; }
.listcheck li {
  display: flex; gap: 12px; align-items: center;
  padding: 11px 0; border-bottom: 1px solid #dfe8e1; color: var(--ink);
}
.listcheck .ic {
  color: #fff; background: var(--green3); border-radius: 50%;
  padding: 3px; width: 22px; height: 22px;
}

.tour-band { padding: 120px 0; text-align: center; }
.tour-band .ph-bg:after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(2, 13, 9, .82), rgba(4, 47, 39, .72));
}
.tour-copy { position: relative; z-index: 2; max-width: 720px; }
.tour-copy .actions { justify-content: center; }
.tour-copy p { color: #d5e4dc; line-height: 1.8; }

/* ---------- emergency band (compact) ---------- */
.cta {
  background: linear-gradient(120deg, var(--bg), var(--green2));
  color: #fff; padding: 22px 0; position: relative; overflow: hidden;
}
.cta-in {
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px; flex-wrap: wrap; position: relative;
}
.cta h2 { font: 600 1.35rem 'Playfair Display', serif; margin: 0 0 2px; }
.cta p { margin: 0; color: #c3d6cc; font-size: .88rem; }
.cta .btn.big { padding: 10px 22px; font-size: 1.02rem; }

/* ---------- page hero ---------- */
.page-hero {
  position: relative; padding: 84px 0 76px;
  color: #fff; overflow: hidden; background: var(--bg);
}
.page-hero .ph-bg img { opacity: .55; }
.page-hero .ph-bg:after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(2, 13, 9, .95), rgba(4, 47, 39, .7));
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }
.page-hero p { max-width: 760px; color: #d3e3da; line-height: 1.8; font-size: 1.05rem; }
.hero-quote { display: block; margin-top: 18px; max-width: 760px; line-height: 1.6; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .8rem; color: var(--gold); margin-bottom: 18px; }
.breadcrumbs a { color: #fff; }
.breadcrumbs span { opacity: .5; }
.breadcrumbs b { color: var(--gold2); font-weight: 600; }

/* ---------- founder spotlight ---------- */
.spotlight {
  background:
    radial-gradient(circle at 15% 20%, rgba(94, 234, 212, .12), transparent 40%),
    linear-gradient(135deg, var(--bg), var(--green2));
  color: #fff;
}
.spot-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.spot-photo { position: relative; width: 100%; max-width: 440px; justify-self: center; }
.frame {
  position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden;
  border: 2px solid var(--gold);
  background: linear-gradient(160deg, #0f6a54, #04261f);
  box-shadow: 0 0 0 12px rgba(224, 194, 116, .08), 0 40px 90px rgba(0, 0, 0, .55), 0 0 80px rgba(94, 234, 212, .15);
}
.frame img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; z-index: 2;
}
.frame:after {
  content: ''; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg, transparent 60%, rgba(2, 13, 9, .55));
  pointer-events: none;
}
.mono {
  position: absolute; inset: 0; display: grid; place-items: center;
  font: 600 4rem 'Playfair Display', serif; color: var(--gold); opacity: .85;
}
.spot-badge {
  position: absolute; z-index: 5; left: -22px; bottom: 34px;
  background: rgba(4, 20, 15, .85); backdrop-filter: blur(10px);
  border: 1px solid var(--gold); border-radius: 16px; padding: 14px 20px;
  animation: float 5s ease-in-out infinite;
}
.spot-badge strong { display: block; color: var(--gold2); font: 600 1.2rem 'Playfair Display', serif; }
.spot-badge span { font-size: .78rem; color: #c3d6cc; letter-spacing: .1em; }
.spot-copy h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); }
.spot-copy p { color: #cfe0d7; line-height: 1.85; font-size: 1.04rem; max-width: 560px; }
.spot-copy em { color: var(--gold2); }
.spot-copy .btn { margin-top: 14px; }

.values-head { text-align: center; margin-bottom: 38px; }

.portrait-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.portrait {
  background: #fff; border: 1px solid #e3ebe5; border-radius: 20px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(6, 47, 39, .07);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.portrait:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(6, 47, 39, .2); }
.p-img {
  position: relative; aspect-ratio: 4/4.2;
  background: linear-gradient(160deg, #0f6a54, #04261f); overflow: hidden;
}
.p-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 2; transition: transform .9s var(--ease);
}
.portrait:hover .p-img img { transform: scale(1.08); }
.p-img .mono { font-size: 3rem; }
.p-body { padding: 20px; text-align: center; border-top: 3px solid var(--gold); }
.p-body h3 { font: 600 1.15rem 'Playfair Display', serif; margin: 0 0 5px; }
.p-body p { margin: 0; color: var(--muted); font-size: .85rem; }

.tag {
  display: inline-block; padding: 6px 12px; border-radius: 30px;
  background: #e2f1ea; color: var(--green3);
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
}
.tag.gold { background: rgba(224, 194, 116, .2); color: var(--gold2); border: 1px solid var(--line); }

/* ---------- specialty page ---------- */
.dept-top { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: start; margin-bottom: 52px; }
.dept-top.no-photo { grid-template-columns: 1fr; }
.dept-top h2 { font: 600 clamp(1.8rem, 3vw, 2.6rem) 'Playfair Display', serif; margin: 8px 0 16px; }
.dept-about { color: var(--muted); line-height: 1.85; margin: 0 0 14px; }
.dept-photo {
  border-radius: 20px; overflow: hidden; border: 2px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(224, 194, 116, .15), 0 24px 60px rgba(6, 47, 39, .2);
}
.dept-photo img { display: block; width: 100%; height: auto; max-width: 100%; }
.dept-photo.empty { display: none; }

.dept-block { margin-bottom: 52px; }
.dept-block h2 { font: 600 clamp(1.6rem, 2.6vw, 2.2rem) 'Playfair Display', serif; margin: 8px 0 20px; }
.dept-services {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 40px;
}
.dept-services li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #dfe8e1; line-height: 1.6; font-size: .95rem; }
.dept-services li:before { content: '»'; color: var(--gold); font-weight: 700; flex: none; }
.dept-note { font-size: .85rem; color: var(--muted); margin-top: 22px; }

/* ---------- doctors: golden frames ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 28px; }
.doc-card {
  display: block; color: inherit;
  background: #fff; border: 2px solid var(--gold); border-radius: 18px;
  padding: 10px 10px 0; text-align: center; overflow: hidden;
  box-shadow: 0 0 0 5px rgba(224, 194, 116, .18), 0 16px 40px rgba(6, 47, 39, .12);
  transition: transform .45s var(--ease), box-shadow .45s;
}
.doc-card:hover { transform: translateY(-8px); box-shadow: 0 0 0 5px rgba(224, 194, 116, .3), 0 28px 60px rgba(6, 47, 39, .22); }
.doc-img {
  position: relative; aspect-ratio: 4/5; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, #0f6a54, #04261f);
}
.doc-img .mono { font-size: 2.6rem; }
.doc-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top; z-index: 2;
}
.doc-name {
  margin-top: 10px; padding: 14px 6px 16px; border-top: 3px solid var(--gold);
  font: 600 1.02rem 'Playfair Display', serif; color: var(--ink);
}
.doc-role { display: block; margin-top: 4px; font: 500 .78rem 'Inter', sans-serif; color: var(--muted); }

.mgmt-dept { margin-bottom: 48px; }
.mgmt-dept:last-child { margin-bottom: 0; }
.mgmt-dept h3 {
  font: 600 1.5rem 'Playfair Display', serif; margin: 0 0 20px;
  display: flex; align-items: center; gap: 12px;
}
.mgmt-dept h3:after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.mgmt-dept h3 a:hover { color: var(--green3); }

/* ---------- doctor profile ---------- */
.dr-top { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: start; margin-bottom: 52px; }
.dr-photo, .dr-photo:hover { max-width: 320px; transform: none; }
.dr-top h2 { font: 600 clamp(1.8rem, 3vw, 2.6rem) 'Playfair Display', serif; margin: 12px 0 6px; }
.dr-facts { list-style: none; padding: 0; margin: 18px 0 8px; }
.dr-facts li { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid #dfe8e1; line-height: 1.6; }
.dr-facts b { min-width: 130px; color: var(--green3); flex: none; }
.dr-facts a { color: var(--green3); font-weight: 600; }
.dr-sec { margin-top: 22px; }
.dr-sec h3 { font: 600 1.25rem 'Playfair Display', serif; margin: 0 0 8px; color: var(--ink); }
.dr-sec ul { margin: 0; padding-left: 20px; }
.dr-sec li { color: var(--muted); line-height: 1.7; font-size: .93rem; margin-bottom: 4px; }
.dr-sec li::marker { color: var(--gold); }
.dr-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }

/* ---------- photo checklist ---------- */
.photo-sum { font-weight: 700; color: var(--green3); }
.photo-list { display: grid; gap: 6px; margin-top: 14px; }
.photo-row {
  display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center;
  padding: 10px 14px; border-radius: 10px; background: #fff; border: 1px solid #e3ebe5;
}
.photo-row .pr-name { font-weight: 700; min-width: 240px; }
.photo-row code { color: var(--muted); font-size: .82rem; flex: 1; }
.photo-row .pr-st { font-weight: 700; font-size: .82rem; color: #b45309; }
.photo-row.ok { border-color: var(--green3); }
.photo-row.ok .pr-st { color: var(--green3); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 26px; }
.contact-box {
  background: linear-gradient(160deg, var(--green2), var(--bg));
  color: #fff; border-radius: 22px; padding: 36px; border: 1px solid var(--line);
}
.contact-box h2 { font-size: 2.1rem; }
.contact-box p { color: #cfe0d7; line-height: 1.7; margin: 4px 0 0; }
.contact-line { display: flex; gap: 16px; margin: 24px 0; }
.ci {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(224, 194, 116, .14); color: var(--gold); flex: none;
}
.contact-line a:hover { color: var(--gold2); }

.formbox {
  background: #fff; border: 1px solid #e3ebe5; border-radius: 22px;
  padding: 36px; box-shadow: 0 20px 50px rgba(6, 47, 39, .07);
}
.formbox h2 { font-size: 2.1rem; }
.muted { color: var(--muted); line-height: 1.7; }

.formgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1/-1; }
.field label { font-size: .82rem; font-weight: 700; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; border: 1.5px solid #d7e1da; border-radius: 12px;
  padding: 14px; background: #fafcfa; outline: 0;
  transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field textarea:focus {
  border-color: var(--green3); box-shadow: 0 0 0 4px rgba(18, 128, 106, .15); background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .83rem; color: var(--green3); margin: 10px 0 0; line-height: 1.6; }

.mapwrap {
  border-radius: 22px; overflow: hidden; border: 2px solid var(--gold);
  box-shadow: 0 30px 70px rgba(6, 47, 39, .2);
}
.mapframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- virtual tour ---------- */
.tour-sec { background: linear-gradient(180deg, var(--bg), var(--green)); padding-top: 56px; }
.vt-stage {
  position: relative; height: clamp(380px, 68vh, 640px);
  border-radius: 24px; overflow: hidden; background: #000;
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(224, 194, 116, .07), 0 40px 90px rgba(0, 0, 0, .55), 0 0 90px rgba(94, 234, 212, .12);
  cursor: grab; touch-action: pan-y; user-select: none; outline: 0;
}
.vt-stage.drag { cursor: grabbing; }
.vt-stage:focus-visible { box-shadow: 0 0 0 3px var(--cyan); }
.vt-stage:fullscreen { height: 100vh; border-radius: 0; border: 0; }

.vt-pan { position: absolute; top: 0; bottom: 0; left: 0; will-change: transform; }
.vt-pan img {
  height: 100%; width: auto; max-width: none; display: block;
  object-fit: cover;
  pointer-events: none; opacity: 0; transform: scale(1.04);
  transition: opacity .9s ease, transform 1.4s var(--ease);
}
.vt-pan img.in { opacity: 1; transform: scale(1); }

.vt-scan {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 0, rgba(94, 234, 212, .12) 50%, transparent 100%);
  height: 30%; animation: scan 5s linear infinite; mix-blend-mode: screen;
}
@keyframes scan { from { transform: translateY(-100%); } to { transform: translateY(420%); } }

.vt-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at center, transparent 45%, rgba(2, 13, 9, .65)),
    linear-gradient(0deg, rgba(2, 13, 9, .85), transparent 45%);
}

.vt-hud {
  position: absolute; top: 18px; left: 18px; right: 18px;
  display: flex; justify-content: space-between; gap: 10px; color: #fff; font-size: .8rem;
}
.vt-hud span {
  background: rgba(4, 20, 15, .65); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 30px; padding: 8px 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.vt-count { font-family: 'Playfair Display', serif; letter-spacing: .1em; color: var(--gold2); }

.vt-cap { position: absolute; left: 28px; bottom: 58px; max-width: 520px; color: #fff; pointer-events: none; }
.vt-cap h2 { font: 600 clamp(1.8rem, 3.4vw, 2.8rem) 'Playfair Display', serif; margin: 12px 0 8px; }
.vt-cap p { margin: 0; color: #d3e3da; line-height: 1.7; }
.vt-cap.swap > * { animation: capin .8s var(--ease) both; }
.vt-cap.swap > *:nth-child(2) { animation-delay: .1s; }
.vt-cap.swap > *:nth-child(3) { animation-delay: .2s; }

@keyframes capin {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: none; }
}

.vt-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--gold); background: rgba(4, 20, 15, .6);
  backdrop-filter: blur(10px); color: var(--gold2); cursor: pointer;
  display: grid; place-items: center; transition: .3s;
}
.vt-nav:hover { background: var(--gold); color: var(--bg); box-shadow: 0 0 30px rgba(224, 194, 116, .5); }
.vt-nav.prev { left: 16px; }
.vt-nav.prev .ic { transform: rotate(180deg); }
.vt-nav.next { right: 16px; }

.vt-tools { position: absolute; right: 18px; bottom: 30px; display: flex; gap: 10px; }
.vt-tools button {
  background: rgba(4, 20, 15, .7); backdrop-filter: blur(10px);
  border: 1px solid var(--line); color: #fff; border-radius: 30px;
  padding: 9px 15px; cursor: pointer; display: inline-flex; gap: 8px;
  align-items: center; font-size: .8rem; transition: .3s;
}
.vt-tools button:hover, .vt-tools button[aria-pressed=true] { background: var(--gold); color: var(--bg); }

.vt-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .12); }
.vt-progress i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--gold)); box-shadow: 0 0 14px var(--cyan);
}

.vt-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px; margin-top: 18px;
}
.thumb {
  position: relative; aspect-ratio: 16/11; border-radius: 14px; overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, .14); background: var(--green2);
  cursor: pointer; padding: 0; color: #fff; text-align: left; transition: .4s var(--ease);
}
.thumb:hover { transform: translateY(-5px); border-color: var(--gold); }
.thumb.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(224, 194, 116, .25), 0 0 30px rgba(94, 234, 212, .25); }
.thumb-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.thumb:after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(2, 13, 9, .9), rgba(2, 13, 9, .1) 70%);
}
.thumb b { position: absolute; top: 7px; left: 9px; z-index: 2; font: 600 .75rem 'Playfair Display', serif; color: var(--gold2); }
.thumb em {
  position: absolute; left: 9px; right: 6px; bottom: 7px; z-index: 2;
  font-style: normal; font-size: .7rem; line-height: 1.2; font-weight: 600;
}

/* ---------- footer (compact) ---------- */
.footer {
  background: #020d09; color: #fff;
  padding: 18px 0 8px; border-top: 1px solid var(--line);
}
.footer-logo { display: block; width: 64px; height: 64px; margin: 0 auto 12px; }
.footer-logo img {
  width: 100%; height: 100%; object-fit: contain; display: block;
  border-radius: 50%; filter: drop-shadow(0 0 14px rgba(224, 194, 116, .35));
  transition: transform .6s var(--ease);
}
.footer-logo:hover img { transform: rotate(360deg); }

.footergrid { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.footer-visit { text-align: right; }
.footer h4 { font: 600 1rem 'Playfair Display', serif; color: var(--gold); margin: 0 0 4px; }
.footer p, .footer a { color: #b9cdc3; font-size: .8rem; line-height: 1.55; }
.footer p { margin: 0 0 4px; }
.footer a:hover { color: var(--gold2); }
.footer .btn { color: #102d26; }

.footerbottom {
  display: block; text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .1);
  margin-top: 12px; padding-top: 8px;
  color: #8fa79b; font-size: .74rem;
}

.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--gold); background: rgba(4, 20, 15, .85);
  color: var(--gold2); cursor: pointer; display: grid; place-items: center;
  opacity: 0; pointer-events: none; transform: translateY(20px);
  transition: .4s var(--ease); backdrop-filter: blur(8px);
}
.to-top .ic { transform: rotate(-90deg); }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--gold); color: var(--bg); }

/* ---------- scroll animations ---------- */
.js .slide-l, .js .slide-r, .js .slide-up, .js .reveal {
  opacity: 0;
  transition: opacity .9s ease, transform 1s var(--ease);
  transition-delay: var(--d, 0s);
  will-change: transform, opacity;
}
.js .slide-l { transform: translateX(-80px); }
.js .slide-r { transform: translateX(80px); }
.js .slide-up, .js .reveal { transform: translateY(50px); }
.js .in { opacity: 1 !important; transform: none !important; }
.js .hero .slide-l, .js .hero .slide-r { animation: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .js .slide-l, .js .slide-r, .js .slide-up, .js .reveal { opacity: 1; transform: none; }
  .mq-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .d-only { display: none; }
  .m-only { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .quick { max-width: 440px; }
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .navlinks {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    padding: 16px 4% 22px; background: rgba(4, 20, 15, .98);
    flex-direction: column; align-items: stretch;
    border-bottom: 1px solid var(--line); gap: 0;
  }
  .navlinks.open { display: flex; animation: capin .4s var(--ease); }
  .navlinks a { padding: 14px 6px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .navlinks a:after { display: none; }
  .hide-sm { display: none; }
}

@media (max-width: 820px) {
  .grid.cols-3, .split, .contact-grid, .spot-grid, .portrait-grid { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .section-head { display: block; }
  .trustgrid { grid-template-columns: repeat(2, 1fr); }
  .trustitem:nth-child(2) { border-right: 0; }
  .formgrid { grid-template-columns: 1fr; }
  .photo-stack:before { display: none; }
  .badge { right: 10px; }
  .spot-badge { left: 10px; }
  .vt-cap { left: 18px; right: 18px; bottom: 64px; }
  .vt-tools { left: 18px; right: auto; bottom: 14px; }
  .vt-tools span { display: none; }
  .vt-nav { width: 44px; height: 44px; }
  .js .slide-l { transform: translateX(-40px); }
  .js .slide-r { transform: translateX(40px); }
  .footergrid { flex-direction: column; align-items: center; text-align: center; }
  .footer-visit { text-align: center; }
  .dept-top, .dr-top { grid-template-columns: 1fr; }
  .dr-photo { margin: 0 auto; }
  .dr-facts li { flex-direction: column; gap: 2px; }
  .dept-services { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 520px) {
  .topline .tl-r a:first-child { font-size: .72rem; }
  .brand-logo { height: 44px; }
  .hero h1 { font-size: 2.2rem; }
  .grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .stat-card strong { font-size: 2.2rem; }
  .btn { padding: 13px 16px; }
  .contact-box, .formbox { padding: 24px; }
}
