@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-Regular-cyrillic.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-Regular-latin.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-Bold-cyrillic.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-Bold-latin.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --canvas: #fefcff;
  --ink: #120b21;
  --heading: #260d46;
  --purple: #530d78;
  --magenta: #ba0b6b;
  --panel: rgb(241 235 249 / 50%);
  --muted: #403348;
  --gutter: clamp(20px, 5.56vw, 80px);
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font: 400 16px/24px Circe, Montserrat, sans-serif;
}
h1, h2, h3, h4, p { margin: 0; }
h2 { color: var(--heading); font-size: 34px; line-height: 42px; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.container { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto; }

.header { position: sticky; top: 0; z-index: 10; background: #fff; }
.header__inner {
  display: flex;
  align-items: center;
  height: 119.531px;
  width: min(100%, 1440px);
  padding-inline: var(--gutter) max(20px, calc(var(--gutter) - 26px));
}
.header__logo { width: 184px; height: 120px; object-fit: cover; }
.header__nav {
  display: grid;
  grid-template-columns: 95.63fr 99.84fr 85.78fr 156.09fr 98.44fr;
  width: 536px;
  margin-left: auto;
  font-size: 14px;
  line-height: 19px;
}
.header__nav a:hover, .crow a:hover { color: var(--purple); text-decoration: underline; }
.header__actions { display: flex; gap: 23px; margin-left: 23px; }
.btn-tg, .btn-mail, .btn-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}
.btn-tg, .btn-mail { gap: 10px; height: 42.188px; border-radius: 25.313px; font-size: 13px; }
.btn-tg { width: 147.656px; border: 1.406px solid var(--purple); color: var(--purple); }
.btn-mail { width: 212.344px; background: var(--magenta); color: #fff; font-weight: 700; }
.btn-tg img, .btn-mail img { width: 24px; height: 24px; }
.btn-tg:hover { background: #f6f2fa; }
.btn-mail:hover, .btn-hero--fill:hover { background: #a30960; }
.burger { display: none; }

.hero { position: relative; height: 601.875px; overflow: hidden; background: #fff; }
.hero > .container { position: relative; display: flex; align-items: center; height: 100%; }
.hero__bg {
  position: absolute;
  width: 1730px;
  height: 718px;
  top: -77.53px;
  left: calc(50% - 936px);
  background: url(hero-dna.png) center / cover no-repeat;
}
.hero__bg::before, .hero__bg::after {
  content: "";
  position: absolute;
  top: 87px;
  height: 595px;
  background: center / cover no-repeat;
}
.hero__bg::before { left: -6px; width: 829px; background-image: url(hero-soft-light.png); filter: blur(13.289px); }
.hero__bg::after { left: 513px; width: 407px; background-image: url(hero-light.png); filter: blur(50px); }
.hero__portrait {
  position: absolute;
  top: -201.53px;
  left: 604px;
  width: 627px;
  height: 1245px;
  overflow: hidden;
  pointer-events: none;
}
.hero__portrait img { position: absolute; left: -32.38%; top: -.02%; width: 132.38%; height: 100.04%; max-width: none; }
.hero__content { position: relative; display: grid; gap: 40px; margin-left: 4.38px; width: 700px; }
.hero__title { color: var(--purple); font-size: 68px; line-height: 78.216px; letter-spacing: -.02em; }
.hero__title span { white-space: nowrap; }
.hero__lead { font-size: 20px; line-height: 27px; }
.hero__row, .hero__buttons { display: flex; align-items: center; gap: 20px; }
.hero__buttons { gap: 9.844px; }
.hero__qr { flex: none; width: 197px; height: 198px; }
.hero__qr img { width: 100%; height: 100%; }
.btn-hero { height: 56px; padding-inline: 12px; border-radius: 31px; font-size: 15px; font-weight: 700; }
.btn-hero--fill { width: 201px; background: var(--magenta); color: #fff; }
.btn-hero--outline { width: 179px; border: 1.406px solid var(--magenta); color: var(--magenta); }
.btn-hero--outline:hover { background: rgb(186 11 107 / 7%); }

.about { padding-block: 64px 72px; }
.about__top { display: grid; grid-template-columns: 600fr 632fr; gap: 48px; }
.about__bio-list { display: grid; gap: 20px; margin-top: 30px; }
.edu { min-height: 280px; padding: 28px 32px; border-radius: 16px; background: var(--panel); }
.edu__title { margin-left: 44px; color: var(--purple); font-size: 20px; line-height: 28px; }
.edu__icon { float: left; width: 23.333px; height: 18.96px; margin: 3.5px 0 0 2.33px; }
.edu__list { display: grid; grid-template-columns: 104px 1fr; grid-auto-rows: minmax(48px, auto); gap: 12px 16px; margin-top: 24px; }
.edu__row { color: var(--purple); font-size: 16px; font-weight: 700; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 64px; border-radius: 16px; background: var(--panel); }
.fact { position: relative; display: grid; align-content: start; gap: 8px; min-height: 144px; padding: 24px 32px; }
.fact + .fact::before { content: ""; position: absolute; inset: 24px auto 24px 0; width: 1px; background: #ddc9ec; }
.fact__head { display: flex; gap: 12px; align-items: flex-start; }
.fact__icon { flex: none; width: 24px; height: 24px; object-fit: scale-down; }
.fact__title { color: var(--purple); font-size: 16px; line-height: 24px; }
.fact__text { font-size: 14px; line-height: 20px; }

.center { background: #fff; padding-block: 48px; }
.center > .container { display: grid; grid-template-columns: 632fr 608fr; gap: 40px; }
.center__title { font-size: 36px; line-height: 44px; }
.center__desc { display: grid; align-content: start; gap: 20px; min-height: 120px; margin-top: 24px; color: var(--muted); }
.center__cards { display: grid; grid-template-columns: 272fr 336fr; gap: 24px; margin-top: 44px; }
.center__stat, .center__proof { min-height: 184px; border-radius: 20px; padding: 24px; }
.center__stat { padding-top: 12px; padding-bottom: 12px; background: var(--purple); color: #e6d7ed; }
.center__stat-num { font-size: 74px; line-height: 88px; font-weight: 700; color: #fff; }
.center__stat-text { margin-top: 8px; font-size: 14px; line-height: 20px; }
.center__proof { padding-bottom: 20px; background: #f3ecf7; color: var(--muted); }
.center__proof-title { color: #75467b; font-size: 10px; line-height: 13.2px; letter-spacing: .55px; }
.center__proof-text { margin-top: 18.8px; font-size: 14px; line-height: 21px; }
.center__photo { position: relative; overflow: hidden; width: 100%; aspect-ratio: 608 / 416; border-radius: 20px; }
.center__photo img { width: 100%; height: 100%; object-fit: cover; }
.center__photo img + img { position: absolute; left: -60.855%; top: -0.24%; width: 160.855%; height: 117.548%; max-width: none; }

.services { padding-block: 64px; }
.services__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 38px; }
.service { display: grid; align-content: start; gap: 20px; min-height: 240px; padding: 28px; border-radius: 16px; background: #f6f2fa; }
.service__title, .service__text { line-height: 22px; }
.service__title { color: var(--heading); font-size: 16px; overflow-wrap: anywhere; }
.service__text { font-size: 14px; }

.collab { padding-block: 56px; }
.collab__card { display: grid; grid-template-columns: minmax(0, 788fr) minmax(0, 400fr); gap: 36px; padding: 28px 24px 28px 32px; border-radius: 16px; background: var(--panel); }
.collab__title { color: var(--purple); }
.collab__text { margin-top: 22px; }
.collab__photo, .footer__waves { position: relative; overflow: hidden; }
.collab__photo { width: 100%; aspect-ratio: 400 / 184; border-radius: 12px; }
.collab__photo img { position: absolute; left: -190.62%; top: -882.48%; width: 300.29%; height: 1121.17%; max-width: none; }

.contacts > .container { display: grid; grid-template-columns: minmax(0, 816fr) minmax(0, 432fr); grid-template-rows: 42px auto; column-gap: 32px; align-items: start; padding-block: 63.59px 0; }
.contacts__title { grid-column: 1; grid-row: 1; }
.contacts__rows { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: 76fr 243fr 129fr 132fr 172fr; gap: 16px; margin-top: 49px; }
.crow { display: flex; min-width: 0; flex-direction: column; align-items: flex-start; font-size: 14px; line-height: 20px; }
.crow--phone { gap: 11.59px; overflow-wrap: anywhere; }
.crow__qr { display: block; width: 91.7px; height: 91.7px; margin-top: 14px; }
.crow__qr img { width: 100%; height: 100%; object-fit: contain; }
.cta { grid-column: 2; grid-row: 1 / 3; min-height: 237px; padding: 24px 32px; border-radius: 16px; background: var(--purple); color: #fff; }
.cta__title { font-size: 16px; line-height: 24px; }
.cta__text { margin-top: 20px; font-size: 14px; line-height: 22px; }
.footer__waves { width: min(100%, 1440px); aspect-ratio: 1440 / 101.25; margin: 29.3px auto 0; }
.footer__waves img { position: absolute; left: 0; top: -2033.33%; width: 100%; height: 2133.33%; max-width: none; }

@media (min-width: 1300px) {
  .hero__title { transform: scaleX(.92); transform-origin: left; }
}

@media (min-width: 1400px) {
  .fact__text { white-space: nowrap; }
  .service:last-child .service__title { letter-spacing: -.025em; }
}

@media (max-width: 1299px) {
  .header__nav { width: min(45vw, 510px); grid-template-columns: repeat(5, auto); gap: 14px; }
  .header__actions { gap: 12px; margin-left: 16px; }
  .btn-tg { width: 115px; }
  .btn-mail { width: 164px; }
  .hero__content { margin-left: 0; width: min(700px, 64vw); }
  .hero__title { font-size: clamp(44px, 5.2vw, 68px); line-height: 1.15; }
  .hero__portrait { left: auto; right: -120px; }
  .desktop-break { display: none; }
  .services__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1040px) {
  .header__inner { height: 84px; justify-content: space-between; padding-inline: var(--gutter); }
  .header__logo { width: 129px; height: 84px; }
  .header__actions { display: none; }
  .burger { display: grid; gap: 5px; padding: 12px; border: 0; background: transparent; cursor: pointer; }
  .burger span { width: 24px; height: 2px; border-radius: 2px; background: var(--ink); }
  .header__nav { position: absolute; inset: 100% 0 auto; display: none; width: auto; padding: 12px var(--gutter); background: #fff; box-shadow: 0 12px 20px rgb(83 13 120 / 10%); }
  .header__nav.open { display: grid; grid-template-columns: 1fr; gap: 0; }
  .header__nav a { padding: 12px 0; font-size: 16px; }
  .hero { height: auto; background: #f5effa; }
  .hero__bg { top: 0; }
  .hero > .container { display: grid; height: auto; padding-top: 48px; }
  .hero__content { width: 100%; gap: 24px; }
  .hero__title span { white-space: normal; }
  .hero__portrait { position: relative; left: auto; right: auto; top: auto; width: min(100%, 627px); height: auto; aspect-ratio: 627 / 665; margin-inline: auto; }
  .hero__portrait img { top: -30.3%; height: 187.2%; }
  .hero__lead br { display: none; }
  .about__top, .center > .container, .contacts > .container { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .facts { margin-top: 32px; }
  .fact { padding-inline: 20px; }
  .center__desc { min-height: 0; }
  .center__cards { margin-top: 28px; }
  .contacts__rows, .cta { grid-column: auto; grid-row: auto; margin: 0; }
  .contacts > .container { grid-template-rows: auto; }
  .contacts__rows { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); row-gap: 24px; }
}

@media (max-width: 640px) {
  h2, .center__title { font-size: 28px; line-height: 36px; }
  .hero__title { font-size: clamp(31px, 7.7vw, 44px); }
  .hero__lead { font-size: 17px; line-height: 25px; }
  .hero__row { align-items: flex-start; gap: 12px; }
  .hero__qr { width: clamp(76px, 24vw, 120px); height: auto; aspect-ratio: 197 / 198; }
  .hero__buttons { flex: 1; align-items: stretch; flex-direction: column; }
  .btn-hero { width: 100%; height: 44px; padding-inline: 5px; font-size: 13px; }
  .about, .center, .services, .collab { padding-block: 40px; }
  .edu, .cta { padding: 24px; }
  .edu__title { margin-left: 36px; font-size: 18px; }
  .edu__list { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 6px; }
  .edu__desc + .edu__row { margin-top: 8px; }
  .facts, .center__cards, .collab__card { grid-template-columns: minmax(0, 1fr); }
  .fact { min-height: 0; }
  .fact + .fact::before { inset: 0 20px auto; width: auto; height: 1px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
  .service { min-height: 0; padding: 16px; gap: 12px; }
  .service__title { font-size: 15px; }
  .collab__card { padding: 24px; gap: 24px; }
  .contacts > .container { padding-top: 32px; }
  .contacts__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta { min-height: 0; }
}

@media (max-width: 360px) {
  .services__grid { grid-template-columns: 1fr; }
}
