@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800;900&display=swap");

:root {
  --ink: #0e2744;
  --muted: #58728b;
  --line: #d8e7f3;
  --paper: #ffffff;
  --wash: #f2f8ff;
  --wash-green: #ecfbf5;
  --brand-blue: #0091ff;
  --add-blue: #0047db;
  --fresh: #2ed88f;
  --coral: #ff7a6b;
  --sun: #ffd36a;
  --shadow: 0 18px 48px rgba(14, 39, 68, 0.12);
  --shadow-strong: 0 26px 70px rgba(14, 39, 68, 0.2);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:target {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #f8fbff;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

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

button,
input,
textarea {
  font: inherit;
}

button,
a,
input,
textarea,
summary {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(46, 216, 143, 0.72);
  outline-offset: 3px;
}

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

p {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: #ffffff;
  background: var(--ink);
  border-radius: var(--radius);
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(216, 231, 243, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 clamp(178px, 18vw, 236px);
  min-width: 0;
  width: clamp(178px, 18vw, 236px);
}

.brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: clamp(18px, 2.4vw, 36px);
  color: #263c51;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a,
.header-phone,
.a11y-toggle {
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--brand-blue);
}

.a11y-toggle,
.header-phone {
  border: 1px solid rgba(0, 145, 255, 0.18);
  border-radius: var(--radius);
  background: #ffffff;
  cursor: pointer;
}

.a11y-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  color: #21455f;
  font-size: 13px;
  font-weight: 800;
}

.a11y-toggle svg {
  width: 20px;
  height: 20px;
}

.header-phone {
  display: grid;
  gap: 0;
  flex: 0 0 auto;
  min-width: 158px;
  padding: 9px 12px;
  text-align: left;
  color: var(--ink);
  white-space: nowrap;
}

.header-phone:hover,
.a11y-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 145, 255, 0.42);
}

.header-phone-caption {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.header-phone-number {
  font-size: 14px;
  font-weight: 900;
}

.a11y-panel {
  position: fixed;
  top: 86px;
  right: clamp(16px, 4vw, 56px);
  z-index: 38;
  display: none;
  width: min(560px, calc(100vw - 32px));
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

body.a11y-mode .a11y-panel {
  display: block;
}

.a11y-panel strong {
  display: block;
  margin-bottom: 10px;
}

.a11y-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.a11y-controls button {
  min-height: 42px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--wash);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: min(760px, 88svh);
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 110px clamp(18px, 5vw, 64px) 36px;
  color: #ffffff;
}

.hero-media,
.hero-image,
.hero-scrim {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 34%;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(4, 27, 52, 0.86) 0%, rgba(4, 27, 52, 0.72) 34%, rgba(4, 27, 52, 0.24) 67%, rgba(4, 27, 52, 0.05) 100%),
    linear-gradient(180deg, rgba(4, 27, 52, 0.18) 0%, rgba(4, 27, 52, 0.28) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
}

.hero h1 {
  max-width: 790px;
  margin-bottom: 16px;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.02;
  font-weight: 900;
}

.hero-subtitle {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.42;
  font-weight: 650;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}

.button svg {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
}

.button-primary {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-blue), var(--add-blue));
  box-shadow: 0 18px 38px rgba(0, 71, 219, 0.28);
}

.button-glint::after,
.booking-native-submit::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -42%;
  width: 34%;
  transform: rotate(18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.62), transparent);
  animation: glint 3.6s ease-in-out infinite;
}

.button-secondary,
.button-light {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.button:hover {
  transform: translateY(-1px);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(720px, 100%);
  margin: 26px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.hero-proof div {
  min-height: 96px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-proof dt {
  margin-bottom: 6px;
  color: var(--sun);
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.hero-proof dd {
  margin-left: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 700;
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(18px, 4vw, 56px);
}

.section-inner {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-light {
  background:
    linear-gradient(135deg, rgba(0, 145, 255, 0.08), rgba(46, 216, 143, 0.08)),
    var(--wash);
}

.section-white {
  background: #ffffff;
}

.section-blue {
  color: #ffffff;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 211, 106, 0.28), transparent 30%),
    linear-gradient(135deg, #063b75 0%, #0067be 54%, #00a7b3 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.compact {
  max-width: 820px;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section h2,
.legal-document h1 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.03;
  font-weight: 900;
}

.section-heading p,
.care-copy p,
.doctor-copy > p,
.synoptophore-copy > p,
.booking-copy > p,
.final-cta p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
  line-height: 1.58;
  font-weight: 600;
}

.section-blue .care-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.symptom-grid,
.care-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.symptom-card,
.care-list article,
.doctor-points article,
.step,
.branch,
.bitrix-form-shell,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(14, 39, 68, 0.06);
}

.symptom-card {
  min-height: 270px;
  padding: 24px;
}

.icon-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: var(--brand-blue);
  background: #e6f4ff;
  border-radius: var(--radius);
}

.icon-line svg {
  width: 25px;
  height: 25px;
}

.symptom-card h3,
.care-list h3,
.step h3,
.doctor-points h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.18;
  font-weight: 900;
}

.symptom-card p,
.care-list p,
.step p,
.doctor-points p,
.branch p,
.faq-list p {
  color: var(--muted);
  font-weight: 600;
}

.consultation-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 32px;
  align-items: start;
}

.consultation-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.consultation-visual {
  position: sticky;
  top: 104px;
  overflow: hidden;
  background: #eef6fb;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.consultation-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #eef6fb;
}

.consultation-visual figcaption,
.doctor-panel figcaption {
  padding: 14px 16px;
  color: #49677f;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.steps {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 2px 18px;
  min-height: 134px;
  padding: 22px;
}

.step span {
  grid-row: 1 / span 2;
  color: var(--brand-blue);
  font-size: 30px;
  line-height: 1;
  font-weight: 900;
}

.step h3,
.step p {
  grid-column: 2;
}

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

.care-copy {
  position: sticky;
  top: 104px;
}

.care-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.care-list article {
  min-height: 210px;
  padding: 24px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.96);
}

.synoptophore-layout,
.doctor-layout,
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: center;
}

.synoptophore-copy {
  max-width: 650px;
}

.check-list,
.booking-benefits {
  display: grid;
  gap: 12px;
  margin: 26px 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.booking-benefits li {
  position: relative;
  padding-left: 30px;
  color: #36546c;
  font-weight: 700;
}

.check-list li::before,
.booking-benefits li::before {
  content: "";
  position: absolute;
  top: 0.46em;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--fresh), #65e7b5);
  box-shadow: 0 0 0 4px rgba(46, 216, 143, 0.16);
}

.doctor-panel,
.doctor-portrait {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.doctor-panel img,
.doctor-portrait img {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: contain;
  background: #eef6fb;
}

.doctor-panel img {
  aspect-ratio: 4 / 5;
  object-position: 50% 22%;
}

.doctor-section {
  background:
    linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}

.doctor-layout {
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.2fr);
}

.doctor-portrait img {
  aspect-ratio: 3 / 4;
  object-position: 50% 22%;
}

.doctor-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.doctor-points article {
  padding: 22px;
}

.branch-grid {
  display: grid;
}

.branch {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  overflow: hidden;
}

.branch-map {
  position: relative;
  min-height: 260px;
  background: var(--wash);
}

.branch-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-map span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #ffffff;
  background: rgba(14, 39, 68, 0.84);
  border-radius: var(--radius);
  font-weight: 900;
  animation: mapBadgeFloat 3.2s ease-in-out infinite;
}

.branch-map span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--fresh);
  box-shadow: 0 0 0 0 rgba(0, 178, 169, 0.55);
  animation: mapPulse 1.9s ease-out infinite;
}

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

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

@keyframes mapPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 178, 169, 0.55);
  }

  70%,
  100% {
    box-shadow: 0 0 0 12px rgba(0, 178, 169, 0);
  }
}

.branch-copy {
  padding: clamp(24px, 4vw, 42px);
}

.branch-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.1;
  font-weight: 900;
}

.branch-copy h3 span {
  color: var(--brand-blue);
}

.branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.branch-actions a {
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 900;
}

.booking-section {
  background:
    linear-gradient(135deg, rgba(0, 145, 255, 0.1), rgba(255, 211, 106, 0.14)),
    #f8fbff;
}

.booking-layout {
  align-items: start;
}

.contact-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 900;
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: var(--brand-blue);
  border-radius: var(--radius);
}

.contact-icon svg {
  width: 25px;
  height: 25px;
}

.bitrix-form-shell {
  padding: clamp(22px, 3vw, 34px);
}

.booking-form-intro {
  margin-bottom: 20px;
}

.booking-form-intro span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.booking-form-intro h3 {
  margin-bottom: 8px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 900;
}

.booking-form-intro p,
.form-privacy {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

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

.booking-native-field,
.booking-native-consent {
  display: grid;
  gap: 8px;
}

.booking-native-field--wide {
  grid-column: 1 / -1;
}

.booking-native-field span {
  color: #29485f;
  font-size: 14px;
  font-weight: 900;
}

.booking-native-field input {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f8fbff;
}

.booking-native-field input:focus {
  border-color: rgba(0, 145, 255, 0.68);
  background: #ffffff;
  outline: none;
}

.booking-native-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
}

.booking-native-consent {
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: start;
  margin-top: 18px;
  color: #36546c;
  font-size: 13px;
  font-weight: 650;
}

.booking-native-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.booking-native-required {
  color: #d73d2a;
  font-weight: 900;
}

.booking-native-consent a,
.form-privacy a,
.footer-legal a,
.legal-document a {
  color: var(--add-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.booking-native-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  overflow: hidden;
  color: #ffffff;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--brand-blue), var(--add-blue));
  box-shadow: 0 18px 38px rgba(0, 71, 219, 0.2);
  font-weight: 900;
  cursor: pointer;
}

.booking-native-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.booking-native-status {
  min-height: 24px;
  margin: 14px 0 0;
  color: var(--muted);
  font-weight: 800;
}

.booking-native-status.is-success {
  color: #067a42;
}

.booking-native-status.is-error {
  color: #b92218;
}

.form-privacy {
  margin-top: 18px;
}

.bitrix-fallback {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand-blue);
  font-weight: 900;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0;
  overflow: hidden;
}

.faq-list summary {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--brand-blue);
  font-size: 28px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  padding: 0 20px 20px;
}

.final-cta {
  padding: clamp(64px, 8vw, 100px) clamp(18px, 4vw, 56px);
  color: #ffffff;
  background: linear-gradient(135deg, #063b75 0%, #0067be 58%, #00a7b3 100%);
}

.final-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 10px;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1.04;
  font-weight: 900;
}

.final-cta p {
  color: rgba(255, 255, 255, 0.86);
}

.site-footer {
  color: #d8ecff;
  background: #071e36;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(170px, 0.8fr));
  gap: 28px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0 34px;
}

.footer-logo {
  width: 220px;
  height: auto;
  margin-bottom: 16px;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.footer-brand p,
.footer-column p {
  color: #a9c1d6;
}

.footer-phone {
  display: inline-flex;
  margin-top: 16px;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
}

.footer-a11y {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: 16px;
  padding: 10px 12px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 800;
  cursor: pointer;
}

.footer-a11y svg {
  width: 20px;
  height: 20px;
}

.footer-column,
.footer-addresses {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column strong,
.footer-socials strong {
  color: #ffffff;
  font-size: 15px;
}

.footer-column a {
  color: #a9c1d6;
  font-weight: 650;
}

.footer-column a:hover {
  color: #ffffff;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 24px 0 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #91aac0;
  font-size: 13px;
}

.footer-legal p {
  flex-basis: 100%;
}

.footer-legal a {
  color: #d8ecff;
}

.footer-socials {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-socials > div {
  display: flex;
  gap: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.social-link svg {
  width: 24px;
  height: 24px;
}

.social-link text {
  fill: currentColor;
  stroke: none;
  font: 800 7px Manrope, sans-serif;
}

.medical-warning-band {
  padding: 18px;
  color: #071e36;
  background: #ffffff;
  text-align: center;
  font-size: clamp(22px, 4.2vw, 48px);
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.mobile-cta {
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: 45;
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.mobile-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--radius);
  font-weight: 900;
}

.mobile-cta a:first-child {
  color: var(--ink);
  background: var(--wash);
}

.mobile-cta a:last-child {
  color: #ffffff;
  background: var(--brand-blue);
}

.legal-page {
  background: var(--wash);
}

.legal-document {
  width: min(880px, calc(100% - 32px));
  margin: 32px auto;
  padding: clamp(24px, 5vw, 54px);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.legal-logo img {
  width: 220px;
  height: auto;
  margin-bottom: 26px;
}

.legal-document section {
  margin-top: 26px;
}

.legal-document h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.legal-updated,
.legal-note {
  color: var(--muted);
  font-weight: 700;
}

.legal-back {
  margin-top: 30px;
}

body.a11y-mode {
  font-size: 19px;
}

body.a11y-mode[data-a11y-font-size="large"] {
  font-size: 22px;
}

body.a11y-mode .site-header {
  position: static;
}

body.a11y-mode .hero {
  min-height: auto;
}

body.a11y-mode .nav-links,
body.a11y-mode .hero-media,
body.a11y-mode .hero-scrim,
body.a11y-no-images img,
body.a11y-no-images picture {
  display: none;
}

body.a11y-mode .hero,
body.a11y-contrast {
  color: #ffffff;
  background: #000000;
}

body.a11y-mode .hero-content,
body.a11y-mode .hero-subtitle,
body.a11y-mode .section-heading p,
body.a11y-mode p,
body.a11y-mode a,
body.a11y-mode h1,
body.a11y-mode h2,
body.a11y-mode h3,
body.a11y-mode li {
  color: inherit;
}

body.a11y-contrast .section,
body.a11y-contrast .site-footer,
body.a11y-contrast .final-cta,
body.a11y-contrast .medical-warning-band,
body.a11y-contrast .legal-document {
  color: #ffffff;
  background: #000000;
}

body.a11y-contrast .symptom-card,
body.a11y-contrast .care-list article,
body.a11y-contrast .step,
body.a11y-contrast .branch,
body.a11y-contrast .bitrix-form-shell,
body.a11y-contrast .faq-list details,
body.a11y-contrast .doctor-points article {
  color: #ffffff;
  background: #000000;
  border-color: #ffffff;
}

.motion-ready .reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 620ms ease,
    transform 620ms ease;
}

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

@keyframes glint {
  0% {
    left: -42%;
  }

  42%,
  100% {
    left: 118%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1080px) {
  .site-header {
    gap: 14px;
  }

  .nav-links {
    display: none;
  }

  .symptom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .care-layout,
  .synoptophore-layout,
  .doctor-layout,
  .booking-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .care-copy,
  .consultation-visual {
    position: static;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) and (max-height: 760px) {
  .hero {
    padding-top: 96px;
    padding-bottom: 24px;
  }

  .hero h1 {
    max-width: 760px;
    font-size: 58px;
  }

  .hero-subtitle {
    max-width: 610px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 18px;
  }

  .button {
    min-height: 48px;
    padding: 12px 18px;
  }

  .hero-proof {
    margin-top: 18px;
  }

  .hero-proof div {
    min-height: 78px;
    padding: 12px;
  }

  .hero-proof dt {
    font-size: 21px;
  }

  .hero-proof dd {
    font-size: 12px;
    line-height: 1.32;
  }
}

@media (max-width: 760px) {
  :target {
    scroll-margin-top: 82px;
  }

  .site-header {
    min-height: 66px;
    padding: 10px 14px;
  }

  .brand {
    flex-basis: 172px;
    width: 172px;
  }

  .a11y-toggle span,
  .header-phone-caption {
    display: none;
  }

  .a11y-toggle {
    width: 44px;
    height: 44px;
    justify-content: center;
    padding: 0;
  }

  .header-phone {
    padding: 10px;
  }

  .header-phone-number {
    font-size: 13px;
  }

  .hero {
    min-height: 88svh;
    padding: 104px 18px 48px;
  }

  .hero-image {
    object-position: 66% 30%;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(4, 27, 52, 0.9) 0%, rgba(4, 27, 52, 0.62) 56%, rgba(4, 27, 52, 0.32) 100%),
      linear-gradient(90deg, rgba(4, 27, 52, 0.64), rgba(4, 27, 52, 0.12));
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-actions,
  .final-actions {
    flex-direction: column;
  }

  .button,
  .button-primary,
  .button-secondary {
    width: 100%;
  }

  .hero-proof {
    display: none;
  }

  .section {
    padding: 64px 18px;
  }

  .booking-section {
    padding-bottom: 112px;
  }

  .symptom-grid,
  .care-list,
  .doctor-points,
  .booking-native-grid {
    grid-template-columns: 1fr;
  }

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

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

  .step span,
  .step h3,
  .step p {
    grid-column: 1;
  }

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

  .branch-map {
    min-height: 220px;
  }

  .final-cta-inner,
  .footer-bottom {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .medical-warning-band {
    padding-bottom: 84px;
  }

  body.is-mobile-cta-visible .mobile-cta {
    display: grid;
  }

  body.is-footer-visible .mobile-cta {
    display: none;
  }
}

@media (max-width: 430px) {
  .brand {
    flex-basis: 146px;
    width: 146px;
  }

  .header-phone {
    display: none;
  }

  .site-header {
    justify-content: space-between;
  }

  .hero {
    min-height: 90svh;
  }

  .hero h1 {
    font-size: 38px;
  }

  .section h2,
  .final-cta h2 {
    font-size: 31px;
  }
}
