* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: #102a3a;
  background: #f5fbff;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.top {
  position: absolute;
  z-index: 20;
  width: 100%;
  padding: 22px 0;
}

.top__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #123a5a;
}

.top__contacts {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-address,
.top-phone {
  padding: 12px 18px;
  border-radius: 999px;
  color: #123a5a;
  font-size: 14px;
  font-weight: 700;
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 34px rgba(18,58,90,.1);
}

.top-phone {
  text-decoration: none;
}

.ph-ic {
  display: none;
}

.nav-burger {
  display: none;
}

.screen {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero {
  display: flex;
  align-items: center;
  
  background:
    radial-gradient(circle at 78% 30%, rgba(72, 183, 224, .18), transparent 28%),
    radial-gradient(circle at 16% 18%, rgba(18, 58, 90, .08), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #edf8ff 58%, #f8fbfd 100%);
}

.clinic-grid {
  position: absolute;
  inset: 0;
  opacity: .16;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(18,58,90,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18,58,90,.14) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 45%, #000, transparent 72%);
}

.scan-line {
  position: absolute;
  right: 8%;
  top: 20%;
  width: 1px;
  height: 480px;
  background: linear-gradient(transparent, rgba(72,183,224,.65), transparent);
}

.hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 540px;
  gap: 58px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  padding: 11px 17px;
  border-radius: 999px;
  color: #0f5f8f;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 30px rgba(18,58,90,.08);
}

h1 {
  margin: 28px 0 20px;
  color: #102a3a;
  letter-spacing: -0.075em;
}

.h1-main {
  display: block;
  max-width: 720px;
  font-size: clamp(50px, 6.5vw, 50px);
  line-height:1;
  font-weight: 700;
}

.h1-price {
  display: block;
  margin-top: 18px;
  font-size: clamp(44px, 5.1vw, 60px);
  line-height: 1;
  font-weight: 800;
}

.h1-price b {
  color: #ff7a1a;
  font-weight: 800;
  white-space: nowrap;
  text-shadow: 0 14px 34px rgba(255,122,26,.22);
}

.mob-br {
  display: none;
}

.lead {
  max-width: 640px;
  margin: 0;
  color: #526b7a;
  font-size: 21px;
  line-height: 1.55;
  font-weight: 500;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 610px;
  margin: 34px 0;
}

.trust-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  border: 1px solid rgba(220,238,247,.95);
  box-shadow: 0 18px 44px rgba(18,58,90,.08);
}

.trust-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, #123a5a, #48b7e0);
  box-shadow: 0 12px 26px rgba(18,58,90,.18);
}

.trust-card strong {
  display: block;
  color: #123a5a;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 800;
}

.trust-card em {
  display: block;
  margin-top: 5px;
  color: #617789;
  font-style: normal;
  font-size: 15px;
}

.cta,
.main-btn {
  position: relative;
  overflow: hidden;
  border: 0;
  min-height: 76px;
  border-radius: 26px;
  padding: 0 42px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  background: linear-gradient(135deg, #ff6b14 0%, #ff8e24 42%, #ffb13a 100%);
  box-shadow:
    0 24px 44px rgba(255,122,26,.35),
    inset 0 -4px 0 rgba(138,58,0,.18),
    inset 0 1px 0 rgba(255,255,255,.38);
  transition: .22s ease;
}

.cta span,
.main-btn span {
  position: relative;
  z-index: 2;
}

.cta::before,
.main-btn::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.48), transparent 24%),
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.38) 42%, transparent 68%);
  transform: translateX(-70%) rotate(10deg);
  animation: ctaSheen 3.8s ease-in-out infinite;
}

.cta::after,
.main-btn::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.32);
}

.cta:hover,
.main-btn:hover {
  transform: translateY(-4px);
  box-shadow:
    0 32px 58px rgba(255,122,26,.45),
    0 0 44px rgba(255,122,26,.24),
    inset 0 -4px 0 rgba(138,58,0,.18);
}

.visual {
  position: relative;
  min-height: 535px;
  display: grid;
  place-items: center;
}

.visual__panel {
  position: relative;
  width: 455px;
  height: 455px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, #fff 0%, #fff 48%, rgba(72,183,224,.12) 49%, rgba(72,183,224,.04) 70%, transparent 71%);
  box-shadow: 0 40px 95px rgba(18,58,90,.14);
}

.visual__ring {
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  border: 1px solid rgba(72,183,224,.26);
  background: conic-gradient(from 180deg, transparent, rgba(72,183,224,.32), transparent 28%);
  animation: rotate 11s linear infinite;
}

.visual img {
  position: relative;
  z-index: 2;
  max-width: 430px;
  width: 100%;
  filter: drop-shadow(0 28px 36px rgba(18,58,90,.2));
}

.visual-note {
  position: absolute;
  z-index: 5;
  padding: 13px 17px;
  border-radius: 999px;
  background: #ffffff;
  color: #123a5a;
  font-weight: 800;
  box-shadow: 0 18px 42px rgba(18,58,90,.13);
}

.note-1 { top: 48px; left: 10px; }
.note-2 { right: 0; bottom: 112px; }
.note-3 { left: 58px; bottom: 62px; }

.quiz-section {
  padding: 18px 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(72,183,224,.12), transparent 28%),
    linear-gradient(135deg, #ffffff 0%, #edf8ff 100%);
}

.quiz-section .container {
  position: relative;
  z-index: 2;
}

.quiz-section__head {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 34px;
  align-items: end;
  margin-bottom: 38px;
}

.quiz-section__head h2 {
    margin: 18px 0 0;
    max-width: 760px;
    font-size: 36px;
    line-height: 1.2;
    
    font-weight: 700;
}

.quiz-section__head p {
  margin: 0;
  color: #526b7a;
  font-size: 19px;
  line-height: 1.5;
  font-weight: 500;
}

.quiz-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 26px;
}

.gifts-card,
.quiz-card {
  border-radius: 36px;
  background: rgba(255,255,255,.94);
  border: 1px solid #dceef7;
  box-shadow: 0 28px 78px rgba(18,58,90,.12);
}

.gifts-card {
  padding: 30px;
}

.gifts-card h3 {
  margin: 0 0 20px;
  color: #123a5a;

  line-height: 1.1;
  font-weight: 800;
}

.gift {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 17px;
  border-radius: 20px;
  color: #123a5a;
  font-weight: 800;
  background: #f4fbff;
  border: 1px solid #dceef7;
}

.gift span {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #123a5a;
  color: #fff;
  font-size: 13px;
  flex: 0 0 auto;
}

.gift + .gift {
  margin-top: 11px;
}

.doctor {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 26px;
  padding: 17px;
  border-radius: 24px;
  background: #eef8fd;
  position: relative;
}
.doc-photo{
    position: absolute;
    width: 90px;
    height: auto;
    bottom: 0;
    left: 0;
}
.fio{
    padding-left: 40px;
}
.doctor__photo {
  width: 62px;
  height: 62px;
  border-radius: 20px;
  background: transparent;
  flex: 0 0 auto;
}

.doctor strong,
.doctor em {
  display: block;
}

.doctor strong {
  color: #123a5a;
  font-size: 15px;
  line-height: 1.25;
}

.doctor em {
  margin-top: 5px;
  color: #617789;
  font-size: 14px;
  line-height: 1.3;
  font-style: normal;
}

.quiz-card {
  padding: 36px;
  scroll-margin-top: 16px;
}

.quiz-top span {
  color: #226a91;
  font-weight: 800;
}

.quiz-top h3 {
  margin: 8px 0 0;
  color: #102a3a;
  font-size: 34px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
}

.progress {
  height: 11px;
  margin: 26px 0 30px;
  border-radius: 999px;
  background: #dceef7;
  overflow: hidden;
}

.progress i {
  display: block;
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #123a5a, #48b7e0);
  box-shadow: 0 0 20px rgba(72,183,224,.42);
  transition: width .35s ease;
}

.answers {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 17px;
}

.answer {
  position: relative;
  overflow: hidden;
  min-height: 104px;
  padding: 26px;
  border: 1px solid #dceef7;
  border-radius: 28px;
  background: #ffffff;
  color: #102a3a;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 14px 32px rgba(18,58,90,.07);
  transition: .22s ease;
}

.answer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(72,183,224,.16), transparent);
  transform: translateX(-130%);
  transition: .45s ease;
}

.answer:hover {
  transform: translateY(-4px);
  border-color: #48b7e0;
  box-shadow:
    0 24px 46px rgba(18,58,90,.12),
    0 0 28px rgba(72,183,224,.18);
}

.answer:hover::after {
  transform: translateX(130%);
}

.calc-screen,
.thanks {
  text-align: center;
  padding: 34px 0;
}

.calc-circle {
  width: 126px;
  height: 126px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 10px solid #dceef7;
  border-top-color: #48b7e0;
  box-shadow: 0 0 32px rgba(72,183,224,.22);
  animation: spin 1s linear infinite;
}

.phone-form {
  max-width: 560px;
  display: grid;
  gap: 16px;
}

.phone-form p {
  margin: 0 0 4px;
  color: #526b7a;
  font-size: 18px;
  line-height: 1.45;
}

.phone-form input {
  width: 100%;
  padding: 22px;
  border: 1px solid #cbe5ee;
  border-radius: 22px;
  font-size: 24px;
  font-weight: 800;
  outline: none;
  background: #fff;
}

.phone-form input:focus {
  border-color: #48b7e0;
  box-shadow: 0 0 0 4px rgba(72,183,224,.14);
}

.policy {
  color: #789099;
  font-size: 12px;
  line-height: 1.35;
}

.policy a {
  color: #226a91;
  font-weight: 800;
}

.footer {
  padding: 30px 0 36px;
  background: #102a3a;
  color: #e8f8ff;
  font-size: 13px;
  line-height: 1.45;
}

.footer p {
  margin: 0 0 14px;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.footer span {
  color: #b8d1d9;
}

@keyframes ctaSheen {
  0%, 35% {
    transform: translateX(-70%) rotate(10deg);
  }
  70%, 100% {
    transform: translateX(70%) rotate(10deg);
  }
}

@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
    .gifts-card h3 {
  margin: 0 0 20px;
  color: #123a5a;
  font-size:5vw;
  line-height: 1.1;
  font-weight: 800;
}
    .quiz-section__head h2{ 
        font-size: 6vw;
    }
  .top {
    position: relative;
    background: #ffffff;
  }
.trust-card strong{
    font-size: 5vw;
}
  .top__inner,
  .top__contacts {
    align-items: flex-start;
    flex-direction: column;
  }

  .top__contacts {
    gap: 8px;
  }

  .top-address,
  .top-phone {
    padding: 0;
    background: none;
    box-shadow: none;
  }

  .hero {
    padding-top: 15px;
  }

  .hero__grid,
  .quiz-section__head,
  .quiz-layout {
    grid-template-columns: 1fr;
  }

  .visual {
    min-height: 390px;
  }

  .visual__panel {
    width: 335px;
    height: 335px;
  }

  .visual img {
    max-width: 320px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 26px, 430px);
  }

  .h1-main {
    font-size: 8.5vw;
  }

  .h1-price {
    font-size: 11vw;
    margin-top: 5px;
  }

  .lead {
    font-size: 14.4px;
  }

  .trust-row,
  .answers {
    grid-template-columns: 1fr;
  }

  .trust-card {
    padding: 18px;
  }

  .cta {
    width: 100%;
    max-width: 384px;
    align-self: center;
    min-height: 74px;
    padding: 0 24px;
    font-size: 20px;
    border-radius: 20px;
  }

  .quiz-card,
  .gifts-card {
    padding: 22px;
    border-radius: 28px;
  }

  .quiz-top h3 {
    font-size: 27px;
  }

  .answer {
    min-height: 82px;
    padding: 21px;
  }

.note-1 {
    top: 0px;
    left: 10px;
}
.note-3 {
    left: 0px;
    bottom: 62px;}

  .footer strong {
    font-size: 15px;
  }
}

/* === Мобильная версия hero (как в утверждённом макете) === */
@media (max-width: 560px) {
  /* Шапка: логотип слева, иконка-телефон и бургер справа */
  .top {
    padding: 12px 0;
  }

  .top__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .logo-img {
    height: 37px;
    width: auto;
  }

  .top__contacts {
    flex-direction: row;
    align-items: center;
    gap: 9px;
  }

  .top-address {
    display: none;
  }

  .ph-num {
    display: none;
  }

  .top-phone {
    width: 50px;
    height: 50px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #123a5a;
    background: #fff;
    box-shadow: 0 8px 20px rgba(18, 58, 90, .16);
  }

  .ph-ic {
    display: block;
    width: 23px;
    height: 23px;
  }

  .nav-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
  }

  .nav-burger span {
    display: block;
    width: 28px;
    height: 3px;
    border-radius: 3px;
    background: #123a5a;
  }

  /* Контент от верха (без растягивания на весь экран) + порядок как в макете */
  .hero {
    min-height: 0;
    align-items: flex-start;
    padding-top: 6px;
  }

  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero__content {
    display: contents;
  }

  .hero .eyebrow {
    order: 1;
    align-self: flex-start;
    margin-top: 36px;
  }

  .hero h1 {
    order: 2;
  }

  .hero .lead {
    order: 3;
  }

  .hero .visual {
    order: 4;
  }

  .hero .trust-row {
    order: 5;
  }

  .hero .cta {
    order: 6;
  }

  /* Заголовок: единый поток, цена в строку */
  h1 {
    margin: 18px 0 14px;
    letter-spacing: -0.02em;
  }

  .h1-main,
  .h1-price {
    display: inline;
    margin: 0;
    font-size: clamp(29px, 9.4vw, 40px);
    line-height: 1.14;
    font-weight: 800;
  }

  .mob-br {
    display: inline;
  }

  h1 .pr b,
  .h1-price b {
    font-weight: 800;
  }

  .h1-price b {
    text-shadow: none;
  }

  /* Витрина: плоская светлая панель с подписями */
  .clinic-grid,
  .scan-line {
    display: none;
  }

  .visual {
    min-height: 0;
    width: 100%;
    align-self: stretch;
    margin-top: 14px;
  }

  .visual__panel {
    width: 100%;
    height: auto;
    padding: 16px 14px;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 44%, #d2e6fb 0%, #e4f1fd 82%);
    box-shadow: 0 18px 40px -20px rgba(18, 58, 90, .38);
  }

  .visual__ring {
    display: none;
  }

  .visual img {
    max-width: none;
    width: 88%;
  }

  .visual-note {
    padding: 6px 10px;
    font-size: 11px;
    box-shadow: 0 6px 16px rgba(18, 58, 90, .16);
  }

  .note-1 {
    top: 12px;
    left: 8px;
    right: auto;
    bottom: auto;
  }

  .note-2 {
    right: 8px;
    bottom: 40px;
    top: auto;
    left: auto;
  }

  .note-3 {
    left: 12px;
    bottom: 14px;
    top: auto;
    right: auto;
  }

  /* Плашки преимуществ — в 2 колонки */
  .trust-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
  }

  .trust-card {
    gap: 10px;
    padding: 13px;
    border-radius: 18px;
  }

  .trust-icon-img {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }

  .trust-card strong {
    font-size: 13px;
    line-height: 1.15;
  }

  .trust-card em {
    margin-top: 2px;
    font-size: 11px;
  }
}