:root {
  --bg: #020817;
  --bg-2: #04111f;
  --surface: rgba(5, 20, 38, 0.78);
  --surface-2: rgba(7, 27, 50, 0.62);
  --border: rgba(93, 171, 255, 0.23);
  --border-strong: rgba(77, 161, 255, 0.48);
  --text: #f5f9ff;
  --muted: #9fb3ca;
  --blue: #2f7dff;
  --cyan: #46d5ff;
  --silver: #dce8f6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.46);
  --radius: 24px;
  --sidebar: 190px;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 75% 8%, rgba(47,125,255,.28), transparent 28%),
    radial-gradient(circle at 10% 20%, rgba(70,213,255,.08), transparent 28%),
    linear-gradient(135deg, var(--bg) 0%, #030b15 45%, #01050e 100%);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

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

.neural-canvas,
#introCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.neural-canvas { z-index: -1; opacity: .54; }

.intro {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at center, #07203f 0%, #020817 56%, #000 100%);
  transition: opacity .9s ease, visibility .9s ease;
}
.intro.hidden { opacity: 0; visibility: hidden; }
.intro__content { position: relative; text-align: center; padding: 24px; }
.intro__content h1 {
  margin: 8px 0 12px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  line-height: .95;
  text-shadow: 0 0 36px rgba(77, 161, 255, .52);
}
.intro__content p { color: var(--muted); }
.intro__brain {
  width: 130px;
  aspect-ratio: 1;
  margin: 0 auto 22px;
  position: relative;
  border-radius: 50%;
  border: 1px solid rgba(70,213,255,.45);
  box-shadow: 0 0 60px rgba(47,125,255,.45), inset 0 0 45px rgba(47,125,255,.25);
  animation: pulse 2.3s ease-in-out infinite;
}
.intro__brain span {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(70,213,255,.55);
  border-radius: 48% 52% 50% 50%;
  transform: rotate(var(--r));
}
.intro__brain span:nth-child(1) { --r: 18deg; }
.intro__brain span:nth-child(2) { --r: 84deg; inset: 28px; }
.intro__brain span:nth-child(3) { --r: 132deg; inset: 40px; }
.skip-intro {
  margin-top: 22px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255,255,255,.06);
  color: var(--text);
  cursor: pointer;
}
@keyframes pulse { 50% { transform: scale(1.05); filter: brightness(1.3); } }

.sidebar {
  position: fixed;
  inset: 10px auto 10px 10px;
  width: var(--sidebar);
  z-index: 10;
  padding: 22px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(4,16,31,.95), rgba(3,12,23,.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.brand__mark {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid var(--border-strong);
  background: radial-gradient(circle, rgba(70,213,255,.22), rgba(255,255,255,.04));
  box-shadow: 0 0 40px rgba(47,125,255,.25);
  font-size: 28px;
}
.brand span { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.brand strong { display: block; margin-top: 4px; font-size: 1.25rem; line-height: 1.08; text-transform: uppercase; }
.brand small { display: block; margin-top: 10px; color: #55a7ff; font-size: .8rem; line-height: 1.5; }
.side-nav { display: grid; gap: 7px; }
.side-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 10px;
  border-radius: 12px;
  color: var(--silver);
  font-size: .78rem;
  text-transform: uppercase;
  transition: .25s ease;
}
.brand__mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(75, 190, 255, .22), transparent 62%),
    linear-gradient(180deg, rgba(8, 30, 62, .95), rgba(2, 10, 24, .98));
  border: 1px solid rgba(98, 200, 255, .28);
  box-shadow:
    0 0 28px rgba(51, 148, 255, .22),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.brand__mark svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: #72d7ff;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter:
    drop-shadow(0 0 8px rgba(114, 215, 255, .8))
    drop-shadow(0 0 18px rgba(45, 130, 255, .35));
}

.brand__mark svg circle {
  stroke: rgba(114, 215, 255, .22);
}
.brand__mark img {
  border-radius: 20px;
}
.side-nav a:hover,
.side-nav a.active { background: linear-gradient(90deg, rgba(47,125,255,.72), rgba(47,125,255,.08)); box-shadow: inset 3px 0 0 var(--cyan); }
.urgent-card { margin-top: auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.09); }
.urgent-card p { margin: 0 0 4px; font-weight: 700; }
.urgent-card small { color: var(--muted); }
.whatsapp-button, .mobile-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2f7dff, #1d5ce5);
  box-shadow: 0 14px 32px rgba(47,125,255,.34);
  font-weight: 800;
  font-size: .72rem;
  text-transform: uppercase;
}
.sidebar__bottom { display: flex; gap: 10px; }
.pill-button, .select-btn, .menu-button {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor: pointer;
}

.page-shell {
  width: min(1220px, calc(100% - var(--sidebar) - 36px));
  margin-left: calc(var(--sidebar) + 24px);
  padding: 18px 18px 32px;
}
.topbar {
  position: sticky;
  top: 14px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 0 14px 0 24px;
  border-radius: 18px;
  background: rgba(2, 8, 23, .55);
  border: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
}
.top-nav { display: flex; gap: 30px; align-items: center; }
.top-nav a {
  position: relative;
  color: var(--silver);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}
.top-nav a.active::after,
.top-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 14px var(--cyan);
}
.topbar__actions { display: flex; gap: 12px; align-items: center; }
.menu-button { display: none; }

.primary-btn, .ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 10px;
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
}
.primary-btn {
  border: 1px solid rgba(117,180,255,.72);
  background: linear-gradient(135deg, #2f7dff, #1b55d9);
  color: white;
  box-shadow: 0 18px 45px rgba(47,125,255,.28), inset 0 1px 0 rgba(255,255,255,.22);
}
.primary-btn--large { min-height: 56px; padding-inline: 28px; }
.ghost-btn {
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
  color: var(--text);
}
.ghost-btn--small { min-height: 42px; padding-inline: 18px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 560px);
  align-items: center;
  min-height: 520px;
  padding: 44px 24px 24px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 78%;
  border-radius: 0 0 32px 32px;
  background:
    linear-gradient(90deg, rgba(2,8,23,.2), rgba(5,20,38,.5)),
    radial-gradient(circle at 78% 35%, rgba(47,125,255,.45), transparent 27%);
  z-index: -1;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .82rem;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.8rem);
  line-height: .9;
  letter-spacing: -.06em;
}
.hero h1 span { color: #2f7dff; text-shadow: 0 0 30px rgba(47,125,255,.38); }
.hero__lead { width: min(560px, 100%); color: var(--silver); font-size: 1.04rem; line-height: 1.72; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  gap: 18px;
  margin: 32px 0 34px;
  width: min(580px, 100%);
}
.stats-grid div { padding-right: 18px; border-right: 1px solid rgba(255,255,255,.1); }
.stats-grid div:last-child { border-right: 0; }
.stats-grid strong { display: block; color: #4d9aff; font-size: 1.42rem; }
.stats-grid span { display: block; margin-top: 4px; color: var(--silver); font-size: .72rem; line-height: 1.4; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__visual { position: relative; min-height: 510px; display: grid; place-items: end center; }
.doctor-card {
  position: relative;
  z-index: 2;
  width: min(390px, 74vw);
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 220px 220px 28px 28px;
  border: 1px solid rgba(255,255,255,.11);
  box-shadow: 0 30px 80px rgba(0,0,0,.46);
  background: linear-gradient(180deg, rgba(47,125,255,.18), rgba(255,255,255,.02));
}
.doctor-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(transparent, var(--bg));
}
.doctor-card img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 28%; filter: saturate(.9) contrast(1.05); }
.brain-orb {
  position: absolute;
  top: 46px;
  right: 0;
  width: min(420px, 72vw);
  aspect-ratio: 1.1;
  border-radius: 50%;
  border: 1px solid rgba(70,213,255,.22);
  background:
    radial-gradient(circle at 50% 48%, rgba(70,213,255,.52), transparent 4%),
    radial-gradient(circle at 50% 48%, rgba(47,125,255,.25), transparent 36%),
    repeating-radial-gradient(circle at 50% 48%, rgba(70,213,255,.16), rgba(70,213,255,.16) 1px, transparent 2px, transparent 18px);
  box-shadow: inset 0 0 60px rgba(47,125,255,.24), 0 0 70px rgba(47,125,255,.24);
  opacity: .78;
  animation: slowFloat 5.5s ease-in-out infinite;
}
.brain-line { position: absolute; inset: 20%; border: 1px solid rgba(70,213,255,.45); border-radius: 44% 56% 50% 48%; }
.brain-line.one { transform: rotate(22deg); }
.brain-line.two { transform: rotate(90deg); inset: 28%; }
.brain-line.three { transform: rotate(145deg); inset: 38%; }
@keyframes slowFloat { 50% { transform: translateY(-10px) scale(1.03); } }
.play-intro {
  position: absolute;
  right: 20px;
  bottom: 82px;
  z-index: 3;
  display: grid;
  grid-template-columns: 58px auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.play-intro span { grid-row: span 2; width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; box-shadow: 0 0 34px rgba(47,125,255,.34); }
.play-intro b { text-align: left; text-transform: uppercase; font-size: .78rem; }
.play-intro small { color: var(--muted); text-align: left; }

.section { margin-top: 16px; }
.panel {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(5,20,38,.72), rgba(3,13,25,.72));
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}
.section { padding: 28px; }
.section__head { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-kicker { margin: 0 0 6px; font-size: clamp(1.4rem, 2.8vw, 2rem); font-family: var(--font-display); color: white; }
.section-kicker::first-letter { color: #4d9aff; }
h2 { margin: 0; color: var(--silver); font-size: .95rem; font-weight: 400; line-height: 1.7; }
.services-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.service-card {
  position: relative;
  min-height: 220px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 50% 8%, rgba(47,125,255,.3), rgba(255,255,255,.02) 44%);
  overflow: hidden;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: var(--border-strong); box-shadow: 0 18px 48px rgba(47,125,255,.18); }
.service-card h3 { margin: 18px 0 8px; font-family: var(--font-display); font-size: 1.08rem; }
.service-card p { color: var(--muted); font-size: .78rem; line-height: 1.65; }
.service-card a { position: absolute; right: 16px; bottom: 16px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; color: var(--cyan); }
.service-icon { height: 76px; border-radius: 18px; background: radial-gradient(circle, rgba(70,213,255,.48), transparent 60%); position: relative; }
.service-icon::before, .service-icon::after { content: ""; position: absolute; inset: 18%; border: 1px solid rgba(70,213,255,.65); border-radius: 50%; }
.service-icon.spine::before { width: 8px; left: 48%; border-radius: 999px; box-shadow: 0 0 18px var(--cyan); }
.service-icon.neuron::after { inset: 38% 10%; border-radius: 999px; }
.service-icon.stim::before { inset: 14% 34%; border-radius: 20px; }
.service-icon.nerve::after { inset: 45% 6%; border-radius: 999px; transform: rotate(-18deg); }

.timeline { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(195px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 18px; scroll-snap-type: x mandatory; }
.timeline::-webkit-scrollbar { height: 6px; }
.timeline::-webkit-scrollbar-thumb { background: rgba(77,154,255,.65); border-radius: 999px; }
.timeline-card {
  scroll-snap-align: start;
  min-height: 180px;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(11,37,66,.82), rgba(5,17,31,.82));
  position: relative;
  overflow: hidden;
}
.timeline-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 20px var(--cyan);
}
.timeline-card span { color: white; font-weight: 700; }
.timeline-card h3 { margin: 12px 0 6px; font-size: .96rem; }
.timeline-card p { margin: 0; color: var(--silver); font-size: .78rem; line-height: 1.7; }
.timeline-card img { position: absolute; inset: auto 0 0; width: 100%; height: 78px; object-fit: cover; opacity: .7; }
.slider-controls { display: flex; gap: 10px; }
.slider-controls button {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-strong); background: rgba(47,125,255,.12); color: white; cursor: pointer;
}

.international { display: grid; grid-template-columns: .8fr 1.4fr .8fr; gap: 24px; align-items: center; }
.international__copy p:not(.section-kicker) { color: var(--muted); line-height: 1.7; }
.map-card { min-height: 260px; position: relative; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at center, rgba(47,125,255,.18), transparent 64%); }
.map-card::before {
  content: ""; position: absolute; inset: 26px; opacity: .7;
  background-image: radial-gradient(rgba(77,154,255,.8) 1px, transparent 1px);
  background-size: 12px 12px;
  mask-image: radial-gradient(ellipse, #000 40%, transparent 70%);
}
.map-card svg { position: absolute; inset: 15% 4%; width: 92%; height: 70%; fill: none; stroke: rgba(70,213,255,.72); stroke-width: 2; filter: drop-shadow(0 0 10px rgba(70,213,255,.65)); }
.map-dot { position: absolute; z-index: 1; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 24px var(--cyan); }
.dot-1 { left: 24%; top: 44%; } .dot-2 { left: 52%; top: 39%; } .dot-3 { right: 18%; top: 47%; }
.country-list { display: grid; gap: 14px; }
.country-list div { display: grid; grid-template-columns: 28px 1fr; align-items: start; column-gap: 10px; }
.country-list span { grid-row: span 2; }
.country-list strong { font-size: .92rem; }
.country-list small { color: var(--muted); line-height: 1.45; }

.split-section { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.testimonials, .appointment { padding: 28px; }
.quote-mark { font-family: var(--font-display); font-size: 6rem; color: rgba(77,154,255,.34); line-height: .7; }
.testimonial { display: none; max-width: 560px; }
.testimonial.active { display: block; animation: fadeIn .55s ease both; }
.testimonial p { color: var(--silver); line-height: 1.9; }
.testimonial strong { display: block; margin-top: 20px; }
.testimonial span { color: var(--muted); font-size: .84rem; }
.dots { display: flex; gap: 8px; margin-top: 22px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; background: rgba(255,255,255,.22); cursor: pointer; }
.dots button.active { background: var(--blue); box-shadow: 0 0 12px var(--cyan); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } }
.contact-list { list-style: none; padding: 0; margin: 16px 0 20px; color: var(--silver); display: grid; gap: 12px; }
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.booking-form label { display: grid; gap: 6px; }
.booking-form span { position: absolute; width: 1px; height: 1px; overflow: hidden; }
.booking-form input, .booking-form select, .booking-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(1, 8, 19, .72);
  color: var(--text);
  padding: 0 12px;
  outline: none;
}
.booking-form textarea { min-height: 86px; padding-top: 12px; resize: vertical; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { border-color: var(--border-strong); box-shadow: 0 0 0 4px rgba(47,125,255,.14); }
.form-wide { grid-column: 1/-1; }

.education { display: grid; grid-template-columns: .75fr 1.25fr; gap: 22px; align-items: center; }
.education-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.education-grid article { padding: 18px; border-radius: 14px; border: 1px solid var(--border); background: rgba(255,255,255,.03); }
.education-grid strong { display: block; margin-bottom: 8px; }
.education-grid span { color: var(--muted); font-size: .86rem; }
.footer { margin-top: 16px; padding: 28px; display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 22px; }
.footer h3, .footer h4, .footer p { margin-top: 0; }
.footer p, .footer a { color: var(--muted); font-size: .82rem; line-height: 1.75; }
.footer a { display: block; margin: 6px 0; }
.footer a:hover { color: var(--cyan); }
.footer .brand__mark { margin-bottom: 12px; }
.mobile-whatsapp { display: none; position: fixed; right: 16px; bottom: 16px; z-index: 50; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
body.sidebar-open .sidebar { transform: translateX(0); }
body.light-mode {
  --bg: #f5f8ff;
  --bg-2: #edf4ff;
  --surface: rgba(255,255,255,.86);
  --surface-2: rgba(240,247,255,.82);
  --border: rgba(37,99,235,.18);
  --border-strong: rgba(37,99,235,.45);
  --text: #07101f;
  --muted: #58708f;
  --silver: #1d3553;
}
body.light-mode .sidebar,
body.light-mode .panel,
body.light-mode .topbar { background: rgba(255,255,255,.78); }

@media (max-width: 1180px) {
  :root { --sidebar: 0px; }
  .sidebar { transform: translateX(calc(-100% - 24px)); transition: transform .3s ease; }
  .page-shell { width: 100%; margin-left: 0; padding-inline: 14px; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .top-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 28px; }
  .hero__visual { min-height: 430px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .topbar { padding-inline: 12px; }
  .topbar__actions .select-btn { display: none; }
  .hero { padding-inline: 6px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 5.4rem); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid div:nth-child(2) { border-right: 0; }
  .hero__visual { min-height: 360px; }
  .doctor-card { width: min(300px, 76vw); }
  .play-intro { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .international, .split-section, .education { grid-template-columns: 1fr; }
  .booking-form { grid-template-columns: 1fr; }
  .section { padding: 18px; }
  .footer { grid-template-columns: 1fr; }
  .mobile-whatsapp { display: inline-flex; }
}
@media (max-width: 520px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .section__head { flex-direction: column; }
  .timeline { grid-auto-columns: 82%; }
  .sidebar { width: min(280px, calc(100vw - 24px)); }
}


/* =========================
   PREMIUM IMAGE INTEGRATION V4
   ========================= */

body {
  background:
    radial-gradient(circle at 74% 6%, rgba(47,125,255,.26), transparent 30%),
    radial-gradient(circle at 16% 34%, rgba(70,213,255,.08), transparent 31%),
    linear-gradient(135deg, #010613 0%, #030c19 45%, #01040b 100%);
}

.intro {
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(21, 90, 170, .36), transparent 28%),
    linear-gradient(180deg, #00040c 0%, #020817 58%, #000 100%);
}

.intro__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.28), rgba(0,0,0,.86)),
    url("assets/neurosurgery-clinic-hero.png") center / cover no-repeat;
  opacity: .42;
  filter: blur(1px) saturate(.95) contrast(1.08);
}

.intro__content { z-index: 2; width: min(92vw, 820px); }

.intro__emblem {
  width: clamp(190px, 22vw, 250px);
  height: clamp(190px, 22vw, 250px);
  margin: 0 auto 24px;
  position: relative;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(102,217,255,.24), transparent 30%),
    radial-gradient(circle at center, rgba(48,128,255,.12), transparent 68%);
  filter: drop-shadow(0 0 36px rgba(70,213,255,.36));
}

.intro__emblem svg {
  width: 78%;
  height: 78%;
  fill: none;
  stroke: #75dcff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(112,220,255,.9)) drop-shadow(0 0 30px rgba(47,125,255,.5));
  animation: emblemFloat 4s ease-in-out infinite;
}

.intro__emblem path {
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
  animation: drawPath 3.6s ease forwards;
}

.intro__emblem circle {
  fill: rgba(213, 248, 255, .96);
  stroke: rgba(213, 248, 255, .6);
}

.intro-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(100, 210, 255, .28);
  box-shadow: inset 0 0 34px rgba(70,213,255,.08), 0 0 38px rgba(47,125,255,.16);
}

.intro-ring--one { animation: introRotate 18s linear infinite; }
.intro-ring--two {
  inset: 15%;
  border-style: dashed;
  animation: introRotate 28s linear infinite reverse;
}
.intro-ring::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8de8ff;
  box-shadow: 0 0 20px #75dcff;
  top: 14%;
  left: 25%;
}
.intro-ring--two::before { top: auto; left: auto; right: 16%; bottom: 18%; }

.intro-scan {
  position: absolute;
  width: 74%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(128,229,255,.95), transparent);
  box-shadow: 0 0 18px rgba(128,229,255,.68);
  animation: scanMove 2.9s ease-in-out infinite;
}

.intro-progress {
  width: min(380px, 76vw);
  height: 2px;
  margin: 26px auto 0;
  border-radius: 99px;
  overflow: hidden;
  background: rgba(160, 220, 255, .16);
}
.intro-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #2f7dff, #7ce6ff);
  box-shadow: 0 0 18px #46d5ff;
  animation: introLoad 5.4s linear forwards;
}

@keyframes drawPath { to { stroke-dashoffset: 0; } }
@keyframes introRotate { to { transform: rotate(360deg); } }
@keyframes scanMove {
  0%, 100% { transform: translateY(-54px) rotate(-7deg); opacity: .18; }
  50% { transform: translateY(54px) rotate(-7deg); opacity: .95; }
}
@keyframes introLoad { to { width: 100%; } }
@keyframes emblemFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-7px) scale(1.025); }
}

.brand__mark svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #7bddff;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(70,213,255,.72));
}

.hero {
  min-height: 640px;
  padding-top: 58px;
  border-radius: 0 0 34px 34px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  border-radius: 0 0 34px 34px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(2,8,23,.96) 0%, rgba(2,8,23,.72) 40%, rgba(2,8,23,.30) 100%),
    linear-gradient(180deg, rgba(2,8,23,.10), rgba(2,8,23,.92)),
    url("assets/neurosurgery-clinic-hero.png") center right / cover no-repeat;
  opacity: .92;
  z-index: -2;
}

.hero::before {
  height: 100%;
  background:
    radial-gradient(circle at 78% 38%, rgba(70,213,255,.22), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(2,8,23,.55) 100%);
  z-index: -1;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__lead {
  max-width: 620px;
}

.hero__visual {
  min-height: 560px;
}

.doctor-card {
  width: min(430px, 76vw);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(31,76,145,.28), rgba(2,8,23,.72)),
    rgba(255,255,255,.03);
  box-shadow:
    0 40px 110px rgba(0,0,0,.55),
    0 0 80px rgba(47,125,255,.18);
}

.doctor-card::after {
  height: 42%;
  background: linear-gradient(transparent, rgba(2,8,23,.92));
}

.doctor-card img {
  object-position: 50% 22%;
  filter: saturate(.92) contrast(1.08) brightness(.94);
}

.brain-orb {
  background:
    radial-gradient(circle at 50% 48%, rgba(70,213,255,.55), transparent 4%),
    radial-gradient(circle at 50% 48%, rgba(47,125,255,.20), transparent 36%),
    url("assets/Holographic-neural-network-projection.png") center / cover no-repeat;
  opacity: .44;
  mix-blend-mode: screen;
}

.services-grid--images {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.service-card--image {
  min-height: 314px;
  padding: 14px 14px 58px;
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(8,31,62,.72), rgba(2,10,24,.96));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 20px 60px rgba(0,0,0,.26);
}

.service-media {
  height: 138px;
  margin: 0 0 18px;
  border-radius: 17px;
  overflow: hidden;
  border: 1px solid rgba(93,171,255,.20);
  background: rgba(255,255,255,.03);
  position: relative;
}

.service-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(70,213,255,.10), transparent 42%),
    linear-gradient(180deg, transparent 48%, rgba(2,8,23,.55));
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08) brightness(.9);
  transform: scale(1.04);
  transition: transform .45s ease, filter .45s ease;
}

.service-card--image:hover .service-media img {
  transform: scale(1.12);
  filter: saturate(1.18) contrast(1.12) brightness(1);
}

.service-card--image h3 {
  font-size: 1.13rem;
  margin-top: 0;
}

.service-card--image p {
  font-size: .8rem;
}

.map-card--image {
  min-height: 300px;
  border-radius: 22px;
  border: 1px solid rgba(93,171,255,.18);
  background: #020817;
  box-shadow: inset 0 0 70px rgba(47,125,255,.08);
}

.map-card--image::before,
.map-card--image svg,
.map-card--image .map-dot {
  display: none;
}

.map-card--image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.08) brightness(.92);
}

.timeline-card img {
  height: 96px;
  object-position: center 24%;
  opacity: .82;
  filter: saturate(.85) contrast(1.08);
}

.footer .brand__mark {
  width: 48px;
  height: 48px;
}

@media (max-width: 1180px) {
  .services-grid--images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card--image { min-height: 300px; }
}

@media (max-width: 760px) {
  .services-grid--images { grid-template-columns: 1fr; }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(2,8,23,.82), rgba(2,8,23,.96)),
      url("assets/neurosurgery-clinic-hero.png") center / cover no-repeat;
  }
  .hero__visual { min-height: 450px; }
  .doctor-card { width: min(340px, 90vw); }
}
