:root {
  --ink: #1c2534;
  --muted: #5c7180;
  --line: #d4eaf3;
  --paper: #ffffff;
  --soft: #f2fbff;
  --mint: #dff6ff;
  --teal: #03a9f4;
  --teal-dark: #0277bd;
  --coral: #0b8fd0;
  --gold: #86dfff;
  --glow: rgba(3, 169, 244, 0.28);
  --shadow: 0 22px 60px rgba(3, 88, 130, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(3, 169, 244, 0.08), transparent 28%),
    radial-gradient(circle at 86% 8%, rgba(134, 223, 255, 0.14), transparent 24%),
    var(--paper);
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

body.loading {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.24), transparent 18%),
    linear-gradient(135deg, #03a9f4, #0179bd 62%, #0b466b);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  position: relative;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
}

.loader-mark::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-top-color: #ffffff;
  animation: spin 1.35s linear infinite;
}

.loader-mark span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 26px rgba(255, 255, 255, 0.72);
  animation: loaderPulse 1.35s ease-in-out infinite;
}

.loader-mark span:nth-child(1) {
  transform: translateY(-28px);
}

.loader-mark span:nth-child(2) {
  transform: rotate(120deg) translateY(-28px);
  animation-delay: 0.16s;
}

.loader-mark span:nth-child(3) {
  transform: rotate(240deg) translateY(-28px);
  animation-delay: 0.32s;
}

.page-loader p {
  margin: 0;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.72s ease, transform 0.72s ease;
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

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

.reveal-fade {
  transform: translateY(16px) scale(0.985);
}

.reveal-left {
  transform: translateX(-26px);
}

.reveal-right {
  transform: translateX(26px);
}

.reveal-left.is-visible,
.reveal-right.is-visible,
.reveal-fade.is-visible {
  transform: translate(0, 0) scale(1);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderPulse {
  0%,
  100% {
    opacity: 0.45;
    scale: 0.78;
  }

  50% {
    opacity: 1;
    scale: 1.15;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-fade {
    opacity: 1;
    transform: none;
  }
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 30;
  width: min(1180px, calc(100% - 28px));
  min-height: 68px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 42px rgba(3, 88, 130, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 0 rgba(3, 169, 244, 0));
  animation: logoSoftGlow 3.6s ease-in-out infinite !important;
  animation-duration: 3.6s !important;
  animation-iteration-count: infinite !important;
}

@keyframes logoSoftGlow {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 0 rgba(3, 169, 244, 0));
  }

  50% {
    transform: scale(1.06);
    filter: drop-shadow(0 0 10px rgba(3, 169, 244, 0.32));
  }
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  color: var(--teal-dark);
  background: var(--mint);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  padding: 136px max(24px, calc((100vw - 1180px) / 2)) 56px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2, 40, 60, 0.82), rgba(3, 169, 244, 0.26) 48%, rgba(2, 88, 130, 0.08)),
    linear-gradient(0deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 42%);
}

.hero-content {
  max-width: 760px;
  color: #ffffff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.contact-band .eyebrow {
  color: #dff6ff;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.service-card a,
.service-card button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button::after,
.service-card a::after,
.service-card button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 48%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.button:hover,
.service-card a:hover,
.service-card button:hover {
  transform: translateY(-2px);
}

.button:hover::after,
.service-card a:hover::after,
.service-card button:hover::after {
  transform: translateX(120%);
}

.button.primary {
  color: #ffffff;
  background: var(--teal);
  box-shadow: 0 14px 30px var(--glow);
}

.button.secondary {
  color: var(--teal-dark);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(3, 88, 130, 0.12);
}

.button.light {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 34px;
}

.hero-stats div,
.doctor-card {
  border: 1px solid rgba(223, 246, 255, 0.42);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.hero-stats div {
  padding: 16px;
}

.hero-stats strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.doctor-card {
  align-self: end;
  padding: 16px;
  color: #ffffff;
  box-shadow: var(--shadow);
  animation: floatCard 5.5s ease-in-out infinite;
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.doctor-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.doctor-card div {
  padding: 18px 4px 4px;
}

.doctor-card p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.doctor-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.section {
  padding: 86px max(24px, calc((100vw - 1180px) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 50px;
  margin-bottom: 34px;
}

.section-heading.compact {
  display: block;
  max-width: 760px;
}

.section-heading h2,
.contact-band h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

.text-columns {
  column-count: 3;
  column-gap: 34px;
  color: var(--muted);
}

.text-columns p {
  break-inside: avoid;
}

.split {
  background: var(--soft);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.timeline div,
.service-card,
.accordion-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.timeline div {
  min-height: 88px;
  padding: 18px;
  color: var(--muted);
  font-weight: 650;
  box-shadow: 0 10px 28px rgba(3, 88, 130, 0.06);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.service-card {
  min-height: 420px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 38px rgba(18, 55, 65, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(3, 169, 244, 0.38);
  box-shadow: 0 24px 48px rgba(3, 88, 130, 0.14);
}

.service-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 24px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.16;
}

.service-card p {
  color: var(--muted);
}

.service-card a,
.service-card button {
  width: fit-content;
  margin-top: auto;
  color: #ffffff;
  background: var(--teal);
}

.specialty-section {
  background: linear-gradient(180deg, #ffffff, var(--soft));
}

.accordion {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.accordion-item {
  overflow: hidden;
}

.accordion-item > button {
  width: 100%;
  min-height: 70px;
  padding: 18px 22px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 20px;
  font-weight: 800;
  text-align: left;
}

.accordion-item > button::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-size: 24px;
}

.accordion-item.open > button::after {
  content: "-";
}

.accordion-panel {
  display: none;
  padding: 0 22px 22px;
  color: var(--muted);
}

.accordion-item.open .accordion-panel {
  display: block;
}

.accordion-panel h3 {
  color: var(--ink);
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-auto-rows: 240px;
  gap: 12px;
  margin-top: 28px;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.95);
  transition: transform 0.28s ease, filter 0.28s ease, box-shadow 0.28s ease;
}

.gallery img:hover {
  transform: scale(1.025);
  filter: saturate(1.08);
  box-shadow: 0 18px 42px rgba(3, 88, 130, 0.18);
}

.gallery img:first-child {
  grid-row: span 2;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 34px;
  align-items: center;
  margin: 0 max(24px, calc((100vw - 1180px) / 2)) 28px;
  padding: 46px;
  border-radius: 8px;
  color: #ffffff;
  background:
    radial-gradient(circle at 88% 18%, rgba(255, 255, 255, 0.22), transparent 22%),
    linear-gradient(135deg, #03a9f4, #0277bd);
  box-shadow: var(--shadow);
}

.contact-band p:not(.eyebrow) {
  max-width: 650px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

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

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px max(24px, calc((100vw - 1180px) / 2));
  color: var(--muted);
  background: var(--soft);
  font-size: 14px;
}

.site-footer p {
  margin: 0;
}

.site-footer > * {
  opacity: 1;
  transform: none;
}

.creator-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s ease;
}

.creator-link:hover {
  color: var(--teal-dark);
}

.magic-icon {
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  opacity: 0.74;
  animation: softMagic 3s ease-in-out infinite;
}

.magic-icon:last-child {
  animation-delay: 0.45s;
}

@keyframes softMagic {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.58;
  }

  50% {
    transform: scale(1.12) rotate(6deg);
    opacity: 1;
  }
}

.modal {
  width: min(620px, calc(100% - 32px));
  padding: 30px;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(9, 24, 31, 0.58);
  backdrop-filter: blur(6px);
}

.modal h2 {
  margin-right: 42px;
  font-size: 30px;
  line-height: 1.1;
}

.modal p {
  margin-bottom: 0;
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 82px 14px auto 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    min-height: 48px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .doctor-card {
    max-width: 360px;
  }

  .section-heading,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .text-columns {
    column-count: 1;
  }

  .timeline,
  .service-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 680px) {
  .site-header {
    top: 8px;
    width: calc(100% - 16px);
    min-height: 60px;
  }

  .brand span {
    max-width: 180px;
    line-height: 1.1;
  }

  .hero {
    padding: 112px 18px 34px;
  }

  .hero-stats,
  .timeline,
  .service-grid,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    max-width: 100%;
  }

  .section {
    padding: 64px 18px;
  }

  .service-card {
    min-height: 0;
  }

  .gallery {
    grid-auto-rows: 260px;
  }

  .gallery img:first-child {
    grid-row: auto;
  }

  .contact-band {
    margin: 0 18px 20px;
    padding: 28px 20px;
  }

  .button,
  .contact-actions {
    width: 100%;
  }

  .site-footer {
    display: grid;
    padding: 24px 18px;
  }
}
