*,
*::before,
*::after {
  box-sizing: border-box;
}

 :root {
  --font-body: "Manrope", "Segoe UI", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: #eef2f7;
  background: #0b0f14;
}

/* Custom scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(125, 211, 252, 0.6) rgba(9, 12, 16, 0.8);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: rgba(9, 12, 16, 0.8);
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.9), rgba(56, 189, 248, 0.6));
  border-radius: 999px;
  border: 2px solid rgba(9, 12, 16, 0.8);
}

*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(125, 211, 252, 1), rgba(56, 189, 248, 0.8));
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(1600px, 100vw);
  padding: 0 12px;
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 10;
  opacity: 0;
  transform: translateY(-12px);
  transition: transform 0.3s ease, opacity 0.3s ease;
  will-change: transform, opacity;
}

.site-header.is-mounted {
  opacity: 1;
  transform: translateY(0);
}

.site-header.is-hidden {
  transform: translateY(-140%);
  opacity: 0;
}

.glass {
  margin: 0 0.5vw;
  border-radius: 20px;
  background: rgba(16, 20, 26, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 14px 22px;
  position: relative;
}

.header-content .brand,
.header-content .main-nav,
.header-content .header-actions {
  opacity: 0;
  transform: translateY(10px);
  animation: itemUp 0.7s ease both;
}

.header-content .brand {
  animation-delay: 0.1s;
}

.header-content .main-nav {
  animation-delay: 0.2s;
  animation-name: navSlide;
}

.header-content .header-actions {
  animation-delay: 0.3s;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 220px;
}

.brand-link {
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.brand-link:hover,
.brand-link:focus-visible {
  transform: translateY(-1px);
  opacity: 0.96;
}

.brand-link:hover .brand-logo,
.brand-link:focus-visible .brand-logo {
  transform: rotate(-6deg) scale(1.02);
}

.brand-link:active .brand-logo {
  transform: rotate(6deg) scale(0.98);
}

.brand-logo {
  width: 88px;
  height: 88px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  filter: none;
  transition: transform 0.2s ease;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  color: #a7b1bf;
  margin-top: 4px;
  line-height: 1.3;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 20px;
  color: #d7dde6;
  font-family: var(--font-body);
}

.header-menu {
  display: contents;
}

.main-nav a {
  padding: 6px 0;
  position: relative;
  font-size: inherit;
  line-height: 1.2;
  font-weight: 500;
  transition: color 0.2s ease, opacity 0.2s ease;
  opacity: 0.82;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 1px;
  background: rgba(244, 247, 251, 0.7);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #f4f7fb;
  opacity: 1;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 20px;
  font-family: var(--font-body);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 20, 26, 0.6);
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  flex-direction: column;
}

.burger span {
  display: block;
  width: 20px;
  height: 2px;
  background: #f4f7fb;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}


.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

.phone {
  font-weight: 600;
  color: #e5eaf0;
  font-size: inherit;
  letter-spacing: 0.02em;
}

.btn {
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-body);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  margin-top: 22px;
}

.header-actions .btn {
  font-size: inherit;
  margin-top: 0;
}

.hero .btn {
  margin-top: 0;
}

.btn-primary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.45);
  filter: brightness(1.06);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #e5eaf0;
  background: rgba(17, 22, 28, 0.6);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 180px 0 120px;
  background:
    linear-gradient(90deg, rgba(11, 15, 20, 0.1) 0%, rgba(11, 15, 20, 0.45) 50%, rgba(11, 15, 20, 0.85) 100%),
    url("image/osnovaa9.webp");
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 860px;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
  padding-left: calc(28px + 0.5vw + 240px);
}

.hero-kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 12px;
  color: #9aa4b2;
  margin-bottom: 16px;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 48px);
  margin: 0 0 16px;
  color: #f4f7fb;
}

.hero-text {
  font-family: var(--font-body);
  font-size: 18px;
  color: #c0c7d4;
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 22px;
}

.chip {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 8px;
  color: #dfe6ef;
  background: rgba(12, 16, 22, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.section-divider {
  margin: 36px 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-divider__line {
  position: relative;
  width: min(980px, 90vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(244, 247, 251, 0.8), transparent);
  overflow: hidden;
}

.section-divider__line::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -30%;
  width: 28%;
  height: 6px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  opacity: 0;
  transform: translateX(0);
}

.section-divider__text {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #f0f4fa;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(16, 20, 26, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

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

.section-divider.is-visible .section-divider__line::after {
  opacity: 1;
  animation: dividerSweep 1.6s ease;
}

.about {
  padding: 110px 0;
  background: #0b0f14;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  inset: -20% 0 auto 0;
  height: 420px;
  background: radial-gradient(circle at center, rgba(44, 58, 74, 0.35), rgba(11, 15, 20, 0) 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px;
  align-items: start;
}

.section-kicker {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 12px;
  color: #9aa4b2;
  margin: 0 0 16px;
  position: relative;
  padding-bottom: 10px;
}

.section-kicker::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 80px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(244, 247, 251, 0.7), transparent);
}

.about-text .section-kicker::after {
  left: 0;
  transform: none;
  background: linear-gradient(90deg, rgba(244, 247, 251, 0.7), transparent);
}

.about-text {
  max-width: 980px;
  margin: 0;
  text-align: left;
  position: relative;
  z-index: 1;
}

.about-text h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 44px);
  margin: 0 0 18px;
  color: #f4f7fb;
}

.about-text p {
  font-size: 18px;
  color: #cbd3dd;
  line-height: 1.75;
  margin: 0 0 20px;
}

.about-note {
  color: #b6c0cc;
  max-width: 720px;
  margin: 0 auto;
}

.about-text .section-kicker {
  display: inline-block;
  margin-bottom: 14px;
}

.about-text::after {
  content: "";
  display: block;
  width: 140px;
  height: 1px;
  margin: 26px 0 0;
  background: linear-gradient(90deg, rgba(244, 247, 251, 0.5), transparent);
}

.about-highlights {
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 720px;
}

.about-highlights > div {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(16, 20, 26, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.about-value {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
  color: #f4f7fb;
}

.about-label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #aeb7c4;
}

.about-marquee {
  position: relative;
  height: 100%;
  min-height: 520px;
  max-height: 640px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(10, 14, 19, 0.6);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.about-marquee.is-dragging {
  cursor: grabbing;
}

.about-marquee::before,
.about-marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 1;
  pointer-events: none;
}

.about-marquee::before {
  top: 0;
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.9), rgba(11, 15, 20, 0));
}

.about-marquee::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(11, 15, 20, 0.9), rgba(11, 15, 20, 0));
}

.about-marquee__track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  will-change: transform;
}

.about-marquee__track img {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.doctors {
  padding: 96px 0;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(120% 120% at 100% 0%, rgba(125, 211, 252, 0.1), transparent 55%),
    #0b0f14;
  position: relative;
  overflow: hidden;
}

.doctors::before {
  content: "";
  position: absolute;
  inset: -40% 0 auto 0;
  height: 80%;
  background: radial-gradient(45% 45% at 50% 20%, rgba(255, 255, 255, 0.08), transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

.doctors .container {
  position: relative;
  z-index: 1;
}

.doctors-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.doctors h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 44px);
  margin: 0 0 22px;
  color: #f4f7fb;
}

.doctors-layout {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  gap: 26px;
  align-items: start;
}

.doctor-list {
  position: relative;
}

.doctor-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(11, 15, 20, 0.65);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
  max-height: none;
  overflow: visible;
  align-content: start;
}

.doctor-tab {
  text-align: left;
  padding: 10px 12px 10px 20px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 10, 14, 0.5);
  color: #cbd3dd;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
  min-height: 92px;
}

.doctor-tab::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.doctor-tab:hover,
.doctor-tab:focus-visible {
  border-color: rgba(255, 255, 255, 0.18);
  color: #f4f7fb;
}

.doctor-tab.is-active {
  border-color: rgba(125, 211, 252, 0.45);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(11, 15, 20, 0.9));
  color: #f8fafc;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

.doctor-tab.is-active::before {
  background: #7dd3fc;
  box-shadow: 0 0 12px rgba(125, 211, 252, 0.7);
}

.doctor-tab:not(.is-active) {
  animation: tabHint 2.6s ease-in-out infinite;
}

.doctor-name {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: inherit;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doctor-role {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #9aa4b2;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doctor-scope {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: #c4ccd8;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.doctor-panels {
  margin-top: 0;
}

.doctor-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(16, 20, 26, 0.95), rgba(8, 11, 16, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
  align-items: center;
  position: relative;
  overflow: hidden;
}

.doctor-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 50% at 20% 0%, rgba(125, 211, 252, 0.12), transparent 65%);
  opacity: 0.8;
  pointer-events: none;
}

.doctor-panel.is-active {
  display: grid;
}

.doctor-info {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: none;
  position: relative;
  z-index: 1;
}

.doctor-info h3 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 34px);
  margin: 0 0 8px;
  color: #f4f7fb;
}

.doctor-meta {
  margin: 0 0 12px;
  color: #9aa4b2;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.doctor-subtitle {
  margin: 0 0 14px;
  color: #dde5ef;
  font-size: 16px;
}

.doctor-section {
  margin: 0 0 12px;
}

.doctor-section h4 {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #aeb7c4;
}

.doctor-section-line {
  margin: 0 0 12px;
  font-size: 14px;
  color: #cbd3dd;
}

.doctor-info p {
  margin: 0 0 12px;
  color: #cfd6e3;
  line-height: 1.65;
}

.doctor-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.doctor-actions {
  margin-top: 22px;
}

.doctor-info li {
  position: relative;
  padding-left: 18px;
  color: #e2e8f0;
  line-height: 1.5;
}

.doctor-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.7);
  box-shadow: 0 0 8px rgba(125, 211, 252, 0.6);
}

.doctor-photo {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 4;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(180deg, rgba(24, 33, 48, 0.6), rgba(10, 14, 20, 0.75));
  display: grid;
  place-items: center;
  color: #dfe6ef;
  position: relative;
  overflow: hidden;
  justify-self: end;
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.doctor-photo::before {
  content: attr(data-initials);
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-display);
  font-size: 22px;
  color: rgba(244, 247, 251, 0.55);
  z-index: 2;
}

.doctor-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 0%, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.35));
  z-index: 1;
  opacity: 0.45;
  pointer-events: none;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.08) brightness(1.08) contrast(1.02);
  position: relative;
  z-index: 0;
}

.services {
  padding: 90px 0;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(56, 189, 248, 0.12), transparent 55%),
    #0b0f14;
}

.services-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.services h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0 0 14px;
  color: #f4f7fb;
}

.services-head p {
  margin: 0;
  color: #cfd6e3;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(140deg, rgba(16, 20, 26, 0.95), rgba(8, 11, 16, 0.75));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
  animation: itemUp 0.6s ease both;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.5);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.5);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 50% at 20% 0%, rgba(125, 211, 252, 0.12), transparent 65%);
  opacity: 0.8;
  pointer-events: none;
}

.service-card__head {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
}

.service-card h3 {
  margin: 10px 0 0;
  font-size: 20px;
  color: #f4f7fb;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.3);
  color: #cfe9ff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.service-list li {
  position: relative;
  padding-left: 26px;
  color: #e2e8f0;
  line-height: 1.6;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;
  width: 16px;
  height: 16px;
  border-radius: 6px;
  background: rgba(125, 211, 252, 0.18);
  border: 1px solid rgba(125, 211, 252, 0.4);
  box-shadow: 0 0 8px rgba(125, 211, 252, 0.35);
}

.service-list li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.55em;
  width: 6px;
  height: 2px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.9);
}

.services-actions {
  margin-top: 24px;
}

.about-actions {
  margin-top: 28px;
}

.doctors-cta {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contacts {
  padding: 90px 0;
  background:
    radial-gradient(120% 120% at 0% 0%, rgba(56, 189, 248, 0.12), transparent 55%),
    #0b0f14;
}

.contacts h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 3.2vw, 40px);
  margin: 0 0 20px;
  color: #f4f7fb;
}

.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.contacts-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(140deg, rgba(16, 20, 26, 0.95), rgba(8, 11, 16, 0.75));
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.4);
}

.contacts-group {
  margin-bottom: 18px;
}

.contacts-group h4 {
  margin: 0 0 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #aeb7c4;
}

.contacts-group p {
  margin: 0 0 6px;
  color: #cfd6e3;
  line-height: 1.6;
}

.contacts-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.contacts-group li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: #cfd6e3;
  line-height: 1.6;
}

.contacts-label {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.12);
  border: 1px solid rgba(125, 211, 252, 0.25);
  color: #cfe9ff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contacts-inline {
  display: grid;
  gap: 6px;
}

.contacts-muted {
  color: #9aa4b2;
  font-size: 13px;
}

.contacts-link {
  color: #f4f7fb;
  font-weight: 600;
  text-decoration: none;
}

.contacts-link:hover,
.contacts-link:focus-visible {
  color: #7dd3fc;
}

.contacts-actions {
  margin-top: 20px;
  display: flex;
}

.contacts-map {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  background: rgba(10, 14, 19, 0.5);
  min-height: 380px;
  display: grid;
}

.contacts-map iframe,
.contacts-map > ymaps,
.contacts-map > ymaps > ymaps {
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.site-footer {
  padding: 80px 0 0;
  background: #0b0f14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: start;
}

.footer-title {
  font-family: var(--font-display);
  font-size: 24px;
  color: #f4f7fb;
  margin-bottom: 10px;
}

.footer-brand p {
  margin: 0 0 16px;
  color: #cfd6e3;
  line-height: 1.6;
}

.footer-logo {
  width: 120px;
  height: auto;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 18px;
}

.footer-group h4,
.footer-contacts h4 {
  margin: 0 0 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #aeb7c4;
}

.footer-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.footer-group a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-group a:hover,
.footer-group a:focus-visible {
  color: #7dd3fc;
}

.footer-contacts p {
  margin: 0 0 8px;
  color: #cfd6e3;
  line-height: 1.6;
}

.footer-phone,
.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: #f4f7fb;
  font-weight: 600;
  text-decoration: none;
}

.footer-email-row {
  display: block;
}

.footer-icon {
  width: 28px;
  height: 28px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(125, 211, 252, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.3);
  color: #cfe9ff;
  font-size: 14px;
  flex: 0 0 auto;
}

.footer-note {
  color: #9aa4b2;
  font-size: 13px;
}

.footer-bottom {
  margin-top: 32px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  color: #9aa4b2;
  font-size: 13px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(16, 20, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #f4f7fb;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 0.9;
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.45);
  filter: brightness(1.08);
  opacity: 1;
}

.back-to-top span {
  font-size: 18px;
  line-height: 1;
}

@media (max-width: 1024px) {
  .header-content {
    align-items: center;
    justify-content: space-between;
  }

  .main-nav {
    flex-direction: column;
    gap: 16px;
    font-size: 18px;
    align-items: flex-start;
  }

  .header-actions {
    font-size: 18px;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-menu {
    display: flex;
    position: absolute;
    right: 22px;
    top: calc(100% + 12px);
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 16px;
    width: min(320px, 92vw);
    background: rgba(16, 20, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .header-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .burger {
    display: inline-flex;
    margin-left: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-text {
    text-align: center;
    margin: 0 auto;
  }

  .about-text::after {
    margin: 26px auto 0;
    background: linear-gradient(90deg, transparent, rgba(244, 247, 251, 0.5), transparent);
  }

  .about-highlights {
    margin: 28px auto 0;
  }

  .about-marquee {
    max-height: 520px;
  }

  .doctors-layout {
    grid-template-columns: 1fr;
  }

  .doctor-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
  }

  .doctor-panels {
    margin-top: 16px;
  }

  .doctor-panel {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .doctor-photo {
    max-width: 340px;
    justify-self: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .contacts-map {
    min-height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: fixed;
    margin-top: 0;
  }

  .glass {
    margin: 0 1vw;
  }

  .hero {
    min-height: 100vh;
    padding-top: 120px;
  }

  .header-content {
    gap: 18px;
    padding: 14px;
    justify-content: space-between;
    position: relative;
  }

  .brand {
    justify-content: flex-start;
  }

  .burger {
    margin-left: auto;
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
  }

  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .brand-title {
    font-size: 18px;
  }

  .brand-subtitle {
    font-size: 14px;
  }

  .hero-content {
    margin-left: 0;
    text-align: left;
    padding-left: calc(16px + 1vw);
    max-width: 100%;
  }

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

  .section-divider {
    margin: 18px 0 32px;
  }

  .section-divider__text {
    letter-spacing: 0.2em;
    text-align: center;
  }

  .main-nav {
    gap: 16px;
    font-size: 16px;
    text-align: center;
  }

  .header-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .phone {
    font-size: inherit;
  }

  .about {
    padding: 80px 0;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .about-marquee {
    min-height: 420px;
  }

  .doctor-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px;
    overflow: visible;
  }

  .doctor-tab {
    min-width: 0;
  }

  .doctor-role,
  .doctor-scope {
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  .doctor-panel {
    padding: 22px;
    gap: 20px;
  }

  .doctor-photo {
    max-width: 280px;
    justify-self: center;
  }

  .services {
    padding: 72px 0;
  }

  .service-card {
    padding: 22px;
  }

  .contacts {
    padding: 72px 0;
  }

  .contacts-card {
    padding: 22px;
  }

  .contacts-map {
    min-height: 300px;
  }

  .site-footer {
    padding-top: 64px;
  }

  .footer-bottom__inner {
    justify-content: flex-start;
  }

}

@media (max-width: 520px) {
  .header-content {
    padding: 12px;
  }

  .hero-content {
    padding-left: calc(12px + 1vw);
  }

  .main-nav {
    font-size: 15px;
  }

  .btn {
    padding: 12px 18px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .header-content .brand,
  .header-content .main-nav,
  .header-content .header-actions {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .btn,
  .btn-primary::after {
    transition: none;
  }

  .doctor-tab {
    animation: none;
  }
}


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

@keyframes navSlide {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes dividerSweep {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(200%);
  }
}

@keyframes tabHint {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.08);
  }
  50% {
    border-color: rgba(255, 255, 255, 0.35);
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
