:root {
  --ink: #17213a;
  --muted: #5b6480;
  --brand: #4046cf;
  --brand-dark: #24286c;
  --brand-soft: #eeeafd;
  --accent: #bcb5dd;
  --panel: #ffffff;
  --surface: #f7f7fb;
  --border: #dfe2f1;
  --shadow: 0 18px 45px rgba(24, 32, 72, 0.12);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 16px;
  background: var(--brand-dark);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 20;
}
.skip-link:focus { top: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
}
.brand img { width: 220px; height: auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  color: var(--brand-dark);
}
.nav a { text-decoration: none; }
.nav a:hover { color: var(--brand); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(64, 70, 207, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover {
  transform: translateY(-1px);
  background: #3338b7;
  box-shadow: 0 14px 28px rgba(64, 70, 207, 0.28);
}
.button-small { min-height: 42px; padding: 0 16px; font-size: 0.95rem; }
.button-secondary {
  background: #fff;
  color: var(--brand-dark);
  border: 1px solid var(--border);
  box-shadow: none;
}
.button-secondary:hover { background: var(--brand-soft); color: var(--brand-dark); }
.button-light { background: #fff; color: var(--brand-dark); box-shadow: none; }
.button-light:hover { background: var(--brand-soft); }

.hero {
  padding: 74px 0 38px;
  background:
    radial-gradient(circle at 12% 10%, rgba(188,181,221,0.70), transparent 34%),
    linear-gradient(135deg, #f8f7ff 0%, #ffffff 55%, #f0edff 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow-light { color: #dcd8ff; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 18px;
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
  color: var(--brand-dark);
}
h2 {
  margin-bottom: 16px;
  font-size: clamp(1.9rem, 3vw, 2.75rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--brand-dark);
}
h3 {
  margin-bottom: 8px;
  font-size: 1.18rem;
  line-height: 1.25;
}
.lead {
  color: var(--muted);
  font-size: 1.22rem;
  max-width: 620px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 20px;
}
.notice-card {
  display: grid;
  gap: 2px;
  max-width: 490px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-left: 6px solid var(--brand);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--muted);
}
.notice-card strong { color: var(--ink); }
.hero-media img {
  width: 100%;
  aspect-ratio: 1.34 / 1;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
  border: 8px solid #fff;
}

.quick-info { padding: 28px 0 18px; background: #fff; }
.info-grid, .service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.info-grid article,
.service-grid article,
.panel,
.doctor-card,
.contact-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 10px 28px rgba(24, 32, 72, 0.06);
}
.info-grid h2 {
  margin: 8px 0 6px;
  font-size: 1.22rem;
  letter-spacing: 0;
}
.info-grid p, .service-grid p, .doctor-card p { margin: 0; color: var(--muted); }
.icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.section { padding: 78px 0; }
.section-soft { background: var(--surface); }
.two-column {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 44px;
  align-items: start;
}
.two-column > div > p:not(.eyebrow), .section-heading p { color: var(--muted); font-size: 1.08rem; }
.panel h3 { color: var(--brand-dark); }
.check-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  margin: 11px 0;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--brand);
}
.small-text {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.section-heading {
  max-width: 690px;
  margin-bottom: 26px;
}
.service-grid { grid-template-columns: repeat(3, 1fr); }
.service-grid article { min-height: 150px; }
.service-grid h3 { color: var(--brand-dark); }
.doctors-layout { align-items: center; }
.doctor-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.doctor-card {
  min-height: 145px;
  background: linear-gradient(180deg, #fff 0%, #f7f6ff 100%);
}
.doctor-card h3 { margin-bottom: 10px; }

.accreditation { padding-top: 0; }
.accreditation-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-radius: 28px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.accreditation-inner div { max-width: 680px; }
.accreditation-inner p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; }
.accreditation-inner img { width: 300px; }

.section-deep {
  background:
    radial-gradient(circle at 85% 15%, rgba(188,181,221,0.18), transparent 32%),
    linear-gradient(135deg, var(--brand-dark), #181a48);
  color: #fff;
}
.section-deep h2 { color: #fff; }
.section-deep p { color: #ebeaff; }
.visit-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}
.contact-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--ink);
  box-shadow: none;
}
dl { margin: 0; }
dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
dl div:last-child { border-bottom: 0; }
dt { font-weight: 900; color: var(--brand-dark); }
dd { margin: 0; color: var(--muted); }
dd a { color: var(--brand-dark); font-weight: 800; }

.site-footer {
  padding: 26px 0;
  background: #10142f;
  color: #dfe2ff;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.93rem;
}
.footer-inner p { margin: 0; }

@media (max-width: 960px) {
  .header-inner { flex-wrap: wrap; justify-content: center; padding: 14px 0; }
  .nav { order: 3; width: 100%; justify-content: center; flex-wrap: wrap; }
  .hero-grid, .two-column, .visit-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 46px; }
  .info-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .accreditation-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--max)); }
  .brand img { width: 190px; }
  .button-small { width: 100%; }
  .nav { gap: 14px; font-size: 0.94rem; }
  .info-grid, .service-grid, .doctor-cards { grid-template-columns: 1fr; }
  .hero-media img { border-radius: 22px; border-width: 5px; }
  .section { padding: 58px 0; }
  .accreditation { padding-top: 0; }
  .accreditation-inner { padding: 24px; }
  dl div { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { display: block; }
  .footer-inner p + p { margin-top: 10px; }
}
