/* ─── ШРИФТЫ Articulat CF ─────────────────────────── */
@font-face { font-family:'Articulat CF'; src:url('fonts/ArticulatCF-Regular.woff2') format('woff2'); font-weight:400; font-style:normal; }
@font-face { font-family:'Articulat CF'; src:url('fonts/ArticulatCF-Medium.woff2') format('woff2'); font-weight:500; font-style:normal; }
@font-face { font-family:'Articulat CF'; src:url('fonts/ArticulatCF-DemiBold.woff2') format('woff2'); font-weight:600; font-style:normal; }
@font-face { font-family:'Articulat CF'; src:url('fonts/ArticulatCF-Thin.otf') format('opentype'); font-weight:100; font-style:normal; }
@font-face { font-family:'Articulat CF'; src:url('fonts/ArticulatCF-ThinOblique.otf') format('opentype'); font-weight:100; font-style:italic; }

/* ─── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { height: 100%; }
body  {
  font-family: 'Articulat CF', 'Inter', sans-serif;
  background: #fff;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
a     { text-decoration: none; color: inherit; }
img   { display: block; }


/* ══════════════════════════════════════════════════
   HERO  —  Figma mac: 1440 × 900 px
   ══════════════════════════════════════════════════ */
.hero {
  background: linear-gradient(82.3deg, rgb(197,198,193) 0.79%, rgb(222,222,224) 99.8%);
  /* Базовый размер — Figma 900px; на больших экранах растягивается заполняя вьюпорт */
  flex: 1 0 900px;
  display: flex;
  flex-direction: column;
  padding: 50px;
  position: relative;
  overflow: hidden;
}

/* ─── TOP BAR ─────────────────────────────────────── */
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-shrink: 0;
}

.hero__name {
  display: flex;
  flex-direction: column;
  font-size: 64px;
  font-weight: 500;
  line-height: 60px;
  color: #000;
}

/* «психолог» — скрыт на десктопе, виден на ≤1023px */
.hero__subtitle { display: none; }

.hero__top-right { width: 259px; height: 110px; flex-shrink: 0; }


/* ─── CENTER BLOCK ────────────────────────────────── */
.hero__center {
  width: 1340px;
  max-width: 100%;
  height: 551px;
  margin: 10px auto 0;
  position: relative;
  flex-shrink: 0;
}


/* ─── PILLS ───────────────────────────────────────── */
.pill {
  position: absolute;
  background: rgba(223,223,223,0.8);
  border-radius: 50px;
  padding: 15px 28px;
  font-size: 32px;
  font-weight: 500;
  line-height: 44px;
  color: #000;
  white-space: nowrap;
  user-select: none;
  z-index: 2;
  transition: transform 0.22s ease-out, opacity 0.45s ease;
  will-change: transform, opacity;
}

#p-stress  { left: 116px; top: 213px; }
#p-anxiety { left: 329px; top: 165px; }
#p-loss    { left: 291px; top: 261px; }
#p-panic   { left:  70px; top: 346px; }
#p-rel     { left: 830px; top: 155px; }
#p-phobia  { left: 832px; top: 251px; }
#p-borders { left: 910px; top: 357px; }
#p-trauma  { left:1058px; top: 283px; }


/* ─── КНОПКА ──────────────────────────────────────── */
.hero__btn {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #00AA88;
  color: #fff;
  font-family: inherit;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  border-radius: 44px;
  padding: 28px 40px;
  white-space: nowrap;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero__btn:hover {
  transform: translateX(-50%) scale(1.06);
}


/* ─── ДЕВУШКА ─────────────────────────────────────── */
.hero__girl {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 727px;
  width: auto;
  pointer-events: none;
  z-index: 1;
}


/* ─── BOTTOM BAR ──────────────────────────────────── */
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-shrink: 0;
  margin-top: auto;
  position: relative;
  z-index: 3;
}

.hero__spec {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.35;
  color: #000;
  max-width: 458px;
}

.hero__price-block { text-align: right; }

.hero__price {
  font-size: 48px;
  font-weight: 600;
  color: #000;
  line-height: 1;
}

.hero__format {
  font-size: 24px;
  font-weight: 500;
  color: #000;
  margin-top: 4px;
}


/* ══════════════════════════════════════════════════
   LINKS BAR
   ══════════════════════════════════════════════════ */
.links-bar {
  background: #f0efef;
  min-height: 107px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 0;
  padding: 24px 50px;
}

.links-bar a {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
  font-size: 17px;
  line-height: 22px;
  letter-spacing: -0.43px;
  color: #000;
}


/* ══════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════ */
.footer {
  background: #fff;
  min-height: 170px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 38px;
  gap: 24px;
}

.footer__logos {
  max-height: 78px;
  width: auto;
  flex-shrink: 0;
}

.footer__legal {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  text-align: right;
  line-height: 1.65;
}


/* ══════════════════════════════════════════════════
   iPad  ≤1023px  (Figma: 880 × 783px)
   ══════════════════════════════════════════════════ */
@media (max-width: 1023px) {

  .hero {
    flex: none;
    min-height: 783px;
  }

  .hero__subtitle {
    display: block;
    font-size: 64px;
    font-weight: 100;
    font-style: italic;
    line-height: 45px;
    text-transform: uppercase;
    margin-top: 17px;
  }

  .pill { display: none; }

  .hero__center {
    height: 271px;
    margin-top: 58px;
  }

  .hero__bottom { justify-content: flex-end; }

  .hero__spec { display: none; }

  .links-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    justify-items: start;
    gap: 20px 32px;
    padding: 24px 50px;
    min-height: 154px;
  }

  .footer {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    min-height: 346px;
    padding: 30px 38px;
    gap: 0;
  }

  .footer__logos {
    width: 100%;
    max-width: 100%;
    max-height: 78px;
    object-fit: contain;
    object-position: left center;
  }

  .footer__legal {
    align-self: flex-end;
    text-align: right;
  }
}


/* ══════════════════════════════════════════════════
   iPhone  ≤639px  (Figma: 553 × 1174px)
   ══════════════════════════════════════════════════ */
@media (max-width: 639px) {

  .hero {
    flex: none;
    height: auto;
    min-height: 0;
    padding: 0;
  }

  .hero__top {
    order: 1;
    padding: 50px 50px 0;
    flex-shrink: 0;
  }

  .hero__girl {
    order: 2;
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: calc(100% + 32px);
    margin-left: -16px;
    height: auto;
    min-height: 0;
  }

  .hero__center {
    order: 3;
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0 30px;
  }

  .hero__bottom {
    order: 4;
    padding: 0 50px 50px;
    margin-top: 24px;
  }

  .hero__btn {
    display: block;
    position: static;
    left: auto;
    bottom: auto;
    transform: none;
    width: 100%;
    text-align: center;
    font-size: 24px;
    padding: 22px 24px;
    white-space: normal;
  }

  .hero__btn:hover { transform: none; }

  .btn__extra { display: none; }

  .hero__spec { display: none; }

  .hero__price-block { width: 100%; }

  .links-bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 24px 50px;
    min-height: 0;
  }

  .footer { padding: 30px 38px; }
}
