:root {
  --bg: #eef7fb;
  --paper: #ffffff;
  --ink: #17324d;
  --muted: #647486;
  --blue: #009bf2;
  --blue-dark: #0477bd;
  --aqua: #7bd9e8;
  --mint: #dff8ee;
  --line: rgba(23, 50, 77, 0.12);
  --shadow: 0 24px 70px rgba(36, 90, 125, 0.16);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(123, 217, 232, 0.5), transparent 34rem),
    linear-gradient(180deg, #f5fbff 0%, #eef7fb 46%, #f7fbfd 100%);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
}

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

button,
input {
  font: inherit;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 16px 0 44px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 40px rgba(23, 50, 77, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand__mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  color: white;
  font-family: "Onest", sans-serif;
  font-size: 26px;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Onest", sans-serif;
  font-size: 22px;
  line-height: 1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  color: #496175;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover,
.phone:hover,
.footer a:hover {
  color: var(--blue-dark);
}

.topbar__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone {
  min-width: max-content;
  font-weight: 800;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 16px 34px rgba(0, 155, 242, 0.26);
  color: white;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  box-shadow: 0 20px 38px rgba(0, 155, 242, 0.34);
  transform: translateY(-2px);
}

.button--small {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 13px;
  font-size: 14px;
}

.button--ghost {
  border: 1px solid var(--line);
  background: white;
  box-shadow: none;
  color: var(--ink);
}

.section {
  margin-bottom: 96px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  min-height: 640px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 16px;
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(0, 155, 242, 0.1);
  color: var(--blue-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Onest", sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 740px;
  font-size: clamp(46px, 7vw, 86px);
  letter-spacing: -0.06em;
}

h2 {
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.045em;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.025em;
}

.lead {
  max-width: 640px;
  margin: 24px 0;
  color: #45596d;
  font-size: 20px;
}

.hero__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero__list li,
.condition-card li {
  position: relative;
  padding-left: 28px;
}

.hero__list li::before,
.condition-card li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  content: "";
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.hero__visual {
  position: relative;
  min-height: 560px;
  border-radius: 42px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(160deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.3)),
    radial-gradient(circle at 72% 28%, rgba(0, 155, 242, 0.45), transparent 12rem),
    linear-gradient(145deg, #dff8ee, #e2f3ff);
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__visual::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11, 51, 78, 0.08), rgba(0, 155, 242, 0.12)),
    linear-gradient(180deg, transparent 58%, rgba(14, 48, 73, 0.34));
  content: "";
  pointer-events: none;
}

.hero__visual::before {
  position: absolute;
  z-index: 2;
  right: -90px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 46px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  content: "";
}

.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.scan-panel {
  position: absolute;
  top: 128px;
  right: 34px;
  z-index: 3;
  width: 178px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(12, 72, 112, 0.72);
  box-shadow: 0 22px 44px rgba(23, 50, 77, 0.18);
  color: white;
  backdrop-filter: blur(14px);
}

.scan-panel span {
  display: block;
  width: 52px;
  height: 52px;
  margin: 2px auto 14px;
  border: 10px solid rgba(255, 255, 255, 0.86);
  border-top-color: rgba(123, 217, 232, 0.48);
  border-radius: 50%;
}

.scan-panel__wave {
  height: 44px;
  border-radius: 14px;
  background:
    radial-gradient(circle at 18px 22px, transparent 0 11px, rgba(123, 217, 232, 0.95) 12px 14px, transparent 15px),
    radial-gradient(circle at 50px 22px, transparent 0 11px, rgba(255, 255, 255, 0.8) 12px 14px, transparent 15px),
    radial-gradient(circle at 82px 22px, transparent 0 11px, rgba(123, 217, 232, 0.95) 12px 14px, transparent 15px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(123, 217, 232, 0.4));
}

.scan-panel__lines {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.scan-panel__lines i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.scan-panel__lines i:nth-child(2) {
  width: 76%;
}

.scan-panel__lines i:nth-child(3) {
  width: 58%;
}

.hero-card {
  position: absolute;
  z-index: 2;
  width: 210px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 40px rgba(23, 50, 77, 0.12);
}

.hero-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.hero-card strong {
  display: block;
  margin-top: 8px;
  font-family: "Onest", sans-serif;
  font-size: 22px;
  line-height: 1.1;
}

.hero-card--main {
  top: 40px;
  left: 34px;
}

.hero-card--floating {
  right: 32px;
  bottom: 42px;
}

.doctor-illustration {
  position: absolute;
  inset: 0;
}

.doctor-illustration__circle {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 44px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--aqua));
  opacity: 0.88;
}

.doctor-illustration__circle::before,
.doctor-illustration__circle::after {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  content: "";
}

.doctor-illustration__circle::before {
  top: 74px;
  left: 54px;
  width: 118px;
  height: 22px;
  transform: rotate(-20deg);
}

.doctor-illustration__circle::after {
  right: 56px;
  bottom: 78px;
  width: 92px;
  height: 18px;
  transform: rotate(24deg);
}

.doctor-illustration__joint {
  position: absolute;
  z-index: 3;
  right: 76px;
  bottom: 122px;
  width: 118px;
  height: 118px;
  border: 20px solid white;
  border-top-color: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(23, 50, 77, 0.18);
}

.doctor-illustration__joint::before,
.doctor-illustration__joint::after {
  position: absolute;
  border-radius: 999px;
  background: white;
  content: "";
}

.doctor-illustration__joint::before {
  top: 36px;
  left: -44px;
  width: 82px;
  height: 18px;
  transform: rotate(26deg);
}

.doctor-illustration__joint::after {
  right: -44px;
  bottom: 36px;
  width: 82px;
  height: 18px;
  transform: rotate(26deg);
}

.doctor-illustration__tablet {
  position: absolute;
  z-index: 3;
  right: 278px;
  bottom: 86px;
  width: 132px;
  height: 156px;
  border: 10px solid #ffffff;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(0, 155, 242, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 155, 242, 0.18) 1px, transparent 1px),
    linear-gradient(160deg, #f8fdff, #dff8ee);
  background-size: 18px 18px, 18px 18px, auto;
  box-shadow: 0 20px 42px rgba(23, 50, 77, 0.18);
  transform: rotate(-8deg);
}

.doctor-illustration__tablet::before {
  position: absolute;
  top: 26px;
  left: 20px;
  width: 70px;
  height: 44px;
  border-bottom: 6px solid var(--blue);
  border-left: 6px solid var(--blue);
  border-radius: 0 0 0 18px;
  content: "";
  transform: rotate(-16deg);
}

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

.section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 38px;
  max-width: none;
  align-items: end;
}

.feature-grid,
.method-grid,
.review-grid,
.doctor-grid,
.why__grid {
  display: grid;
  gap: 18px;
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card,
.method-grid article,
.review-grid article,
.doctor-grid article,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 12px 36px rgba(23, 50, 77, 0.07);
}

.feature-card {
  position: relative;
  padding: 26px;
  overflow: hidden;
}

.feature-card::after {
  position: absolute;
  right: -24px;
  bottom: -28px;
  width: 104px;
  height: 104px;
  border: 22px solid rgba(0, 155, 242, 0.08);
  border-radius: 50%;
  content: "";
}

.icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 46px;
  border-radius: 16px;
  background: #e4f5ff;
  color: var(--blue-dark);
  font-family: "Onest", sans-serif;
  font-weight: 800;
}

.feature-card p,
.method-grid p,
.review-grid p,
.doctor-grid p,
.why__grid p,
.timeline p,
.condition-card p,
.faq p,
.appointment p,
.footer p {
  color: var(--muted);
}

.condition-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 22px;
}

.condition-tabs {
  display: grid;
  gap: 10px;
}

.condition-tab {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.condition-tab.is-active {
  background: var(--blue);
  box-shadow: 0 16px 36px rgba(0, 155, 242, 0.22);
  color: white;
}

.condition-card {
  min-height: 360px;
  padding: 44px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 88% 18%, rgba(123, 217, 232, 0.45), transparent 13rem),
    white;
  box-shadow: var(--shadow);
}

.condition-card h3 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3vw, 44px);
}

.condition-card ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.symptom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.symptom-grid div {
  position: relative;
  min-height: 140px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(150deg, #ffffff, #eff9ff);
  color: #365066;
  font-weight: 800;
  overflow: hidden;
}

.symptom-grid div::after {
  position: absolute;
  right: 16px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border: 10px solid rgba(0, 155, 242, 0.11);
  border-radius: 50%;
  content: "";
}

.timeline__items {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.timeline__items article {
  position: relative;
  padding: 28px 24px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 50, 77, 0.08);
}

.timeline__items article::before {
  display: block;
  width: 44px;
  height: 6px;
  margin-bottom: 32px;
  border-radius: 999px;
  background: var(--blue);
  content: "";
}

.timeline__items span {
  color: var(--blue-dark);
  font-weight: 800;
}

.notice {
  margin-top: 24px;
  padding: 28px 32px;
  border-radius: 26px;
  background: linear-gradient(135deg, var(--ink), #176aa5);
  color: white;
  font-size: 19px;
}

.notice strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Onest", sans-serif;
  font-size: 28px;
}

.method-grid {
  grid-template-columns: repeat(4, 1fr);
}

.method-grid article {
  position: relative;
  min-height: 210px;
  padding: 24px;
  overflow: hidden;
}

.method-grid article > img {
  display: block;
  width: calc(100% + 48px);
  height: 150px;
  margin: -24px -24px 22px;
  object-fit: cover;
}

.method-grid article::before {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 155, 242, 0.14), rgba(123, 217, 232, 0.28));
  color: var(--blue-dark);
  font-family: "Onest", sans-serif;
  font-size: 24px;
  font-weight: 800;
  content: "+";
}

.method-grid article:nth-child(1)::before {
  display: none;
}

.method-grid article:nth-child(2)::before {
  content: "П";
}

.method-grid article:nth-child(3)::before {
  content: "↗";
}

.method-grid article:nth-child(4)::before {
  content: "PRP";
  font-size: 16px;
}

.method-grid article:nth-child(5)::before {
  content: "Л";
}

.method-grid article:nth-child(6)::before {
  content: "О";
}

.method-grid article:nth-child(7)::before {
  content: "М";
}

.method-grid article:nth-child(8)::before {
  content: "А";
}

.method-grid article:nth-child(1),
.method-grid article:nth-child(4) {
  background: linear-gradient(145deg, #ddf7ff, #ffffff);
}

.why__panel {
  padding: 44px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 20% 20%, rgba(123, 217, 232, 0.42), transparent 18rem),
    linear-gradient(145deg, #17324d, #0f5f93);
  box-shadow: var(--shadow);
  color: white;
}

.why__panel .eyebrow {
  background: rgba(255, 255, 255, 0.14);
  color: white;
}

.why__grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
}

.why__grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
}

.why__grid p {
  color: rgba(255, 255, 255, 0.76);
}

.review-grid {
  grid-template-columns: repeat(3, 1fr);
}

.review-grid article {
  padding: 28px;
}

.review-grid p {
  margin-top: 0;
  font-size: 17px;
}

.review-grid strong {
  color: var(--blue-dark);
}

.faq__list {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 22px 26px;
}

.faq summary {
  cursor: pointer;
  font-family: "Onest", sans-serif;
  font-size: 20px;
  font-weight: 800;
}

.doctor-grid {
  grid-template-columns: repeat(4, 1fr);
}

.doctor-grid article {
  padding: 24px;
}

.doctor-photo {
  display: block;
  width: 100%;
  height: 240px;
  margin-bottom: 22px;
  border-radius: 22px;
  background: #dff8ee;
  object-fit: cover;
  object-position: center;
}

.doctor-grid a {
  color: var(--blue-dark);
  font-weight: 800;
}

.appointment {
  position: relative;
  display: grid;
  grid-template-columns: 320px 1fr 460px;
  gap: 36px;
  align-items: center;
  padding: 44px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.72), transparent 15rem),
    linear-gradient(135deg, #bdeefd, #e8fbf1);
  box-shadow: var(--shadow);
}

.appointment__photo {
  width: 100%;
  height: 360px;
  border: 12px solid rgba(255, 255, 255, 0.62);
  border-radius: 30px;
  box-shadow: 0 22px 52px rgba(23, 50, 77, 0.14);
  object-fit: cover;
  object-position: center;
}

.form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 28px;
  background: white;
}

.form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.form input[type="text"],
.form input[type="tel"] {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  color: var(--ink);
  outline: none;
}

.form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 155, 242, 0.12);
}

.checkbox {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.footer {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
  padding: 34px;
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(23, 50, 77, 0.08);
}

.footer__main {
  display: grid;
  gap: 12px;
}

.license {
  max-width: 420px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 155, 242, 0.18);
  border-radius: 18px;
  background: #f0f9ff;
  color: #365066;
  font-size: 13px;
}

.footer h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.messengers a {
  padding: 8px 12px;
  border-radius: 999px;
  background: #eaf7ff;
  color: var(--blue-dark);
  font-weight: 800;
}

@media (max-width: 1050px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .topbar__actions {
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .section-heading--split,
  .appointment {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .method-grid,
  .why__grid,
  .doctor-grid,
  .symptom-grid,
  .timeline__items {
    grid-template-columns: repeat(2, 1fr);
  }

  .appointment {
    padding: 32px;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
  }

  .topbar {
    top: 8px;
    margin-top: 8px;
  }

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

  .topbar__actions,
  .hero__buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    margin-bottom: 64px;
  }

  .hero {
    min-height: auto;
  }

  .hero__visual {
    min-height: 430px;
  }

  .doctor-illustration__circle {
    right: 12px;
    bottom: 48px;
    width: 300px;
    height: 300px;
  }

  .doctor-illustration__tablet,
  .scan-panel {
    display: none;
  }

  .hero-card {
    width: 180px;
  }

  .hero-card--floating {
    right: 18px;
    bottom: 24px;
  }

  .feature-grid,
  .method-grid,
  .why__grid,
  .doctor-grid,
  .review-grid,
  .symptom-grid,
  .timeline__items,
  .condition-layout,
  .footer {
    grid-template-columns: 1fr;
  }

  .condition-card,
  .why__panel,
  .appointment {
    padding: 26px;
    border-radius: 30px;
  }

  .condition-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .condition-tab {
    padding: 14px;
    font-size: 14px;
  }

  .lead {
    font-size: 18px;
  }
}
