﻿@font-face {
  font-family: 'Steppe';
  src: url("./fonts/Steppe-Regular.woff2") format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root{
  /* Цвета — 1:1 c Figma */
  --c-purple:        #59157d;
  --c-purple-light:  #813bd1;
  --c-orchid:        #b473ff;
  --c-magenta:       #f72ec1;
  --c-pink:          #ffacf9;
  --c-pink-soft:     #c898ff;
  --c-grey:          #919191;
  --c-orchid-10:     rgba(180,115,255,0.10);
  --c-bg-grad-from:  #f2f2f9;
  --c-bg-grad-to:    #ffffff;

  --f-base: 'Steppe', system-ui, -apple-system, sans-serif;

  --maxw: 1600px;
  --content-w: 1209px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;
scrollbar-gutter: stable;
}
body{
  font-family:var(--f-base);
  color:#000;
  background:#59157d;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
  font-weight:400;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
ul{list-style:none}

.page{
  position:relative;
  width:100%;
  background:#59157d;
  overflow:hidden;
}

/* ============================================================
   HERO — фон одной картинкой (hero-bg.png 1600x940)
   ============================================================ */
.hero{
  position:relative;

  padding-top: 118px;
}

.main-bg {
  background-image: url(./img/hero-bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-color:#59157d;
  min-height: 1218px;
  position: relative;
}
/* Фон-изображение фасеточной композиции */

@keyframes heroBgFade{
  from{opacity:0}
  to{opacity:1}
}
@keyframes heroKenBurns{
  from{transform: scale(1) translate(0,0)}
  to  {transform: scale(1.04) translate(-1%, -0.5%)}
}

.header {
  padding-top: 35px;
  padding-bottom: 40px;
  padding-left: 33px;
}

@media(max-width: 576px) {
 .header {
  padding: 11px 16px 20px;
 }
}


.container {
  max-width: 1211px;
  padding: 0 70px;
  margin: 0 auto;
}

.nav{
  width:calc(var(--maxw) - 66px);
  max-width:calc(100vw - 66px);
  display:flex;
  align-items:center;
  gap:142px;
  z-index:30;
  transition: top .4s var(--ease), gap .4s var(--ease);
}
@media(max-width: 1280px) {
  .nav {
    gap: 40px;
  }
}


.nav__logo{
  width:197px; height:43px;
  flex-shrink:0;
  animation: fadeIn .9s var(--ease-out) .1s both;
}
.nav__logo img,
.nav__logo svg{width:100%;height:100%;display:block}

.nav__phone{
  font-size:26.024px;
  line-height:100%;
  letter-spacing:-1.3012px;
  color:#fff;
  text-align:center;
  white-space:nowrap;
  flex-shrink:0;
  transition: color .3s var(--ease);
  animation: fadeIn .9s var(--ease-out) .25s both;
}
.nav__phone:hover{color:var(--c-orchid)}

.nav__menu{
  display:flex;
  align-items:center;
  gap:33.761px;
  animation: fadeIn .9s var(--ease-out) .4s both;
}
.nav__link{
  position:relative;
  font-size:18.375px;
  line-height:16.788px;
  color:#fff;
  white-space:nowrap;
  padding:6px 0;
  transition: color .35s var(--ease);
}
.nav__link::after{
  content:"";
  position:absolute;
  left:50%; bottom:-2px;
  width:0; height:1px;
  background:var(--c-orchid);
  transition: width .45s var(--ease), left .45s var(--ease);
}
.nav__link:hover{color:var(--c-orchid)}
.nav__link:hover::after{width:100%; left:0}

.nav.is-scrolled{
  top:18px;
  gap:60px;
}



.hero__content{
  max-width:805px;
  width: 100%;
}

.hero__title{
  font-size:98.926px;
  line-height:90.384px;
  letter-spacing:-0.8px;
  color:#fff;
  font-weight:400;
  margin-bottom:56px;
}
.hero__title-line{
  display:block;
  overflow:hidden;
}
.hero__title-line span{
  display:block;
  transform: translateY(110%);
  animation: titleReveal 1.2s var(--ease-out) forwards;
}
.hero__title-line:nth-child(1) span{ animation-delay:.2s }
.hero__title-line:nth-child(2) span{
  animation-delay:.4s;
  color:var(--c-orchid);
}
@keyframes titleReveal{
  to{ transform: translateY(0) }
}

.hero__lead{
  font-size:18px;
  line-height:27px;
  color:#fff;
  width:574px;
  margin-bottom:35px;
  opacity:0;
  animation: fadeUp 1s var(--ease-out) .9s forwards;
}
@keyframes fadeUp{
  from{opacity:0; transform:translateY(20px)}
  to{opacity:1; transform:translateY(0)}
}
@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}

.hero__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--c-magenta);
  padding:24px 54px;
  font-size:16px;
  line-height:22px;
  color:#fff;
  position:relative;
  overflow:hidden;
  opacity:0;
  animation: fadeUp 1s var(--ease-out) 1.1s forwards;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  cursor:pointer;
  border:none;
  font-family:inherit;
}
.hero__cta::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(135deg, #ff5dd1, #c81fa1);
  opacity:0;
  transition: opacity .4s var(--ease);
}
.hero__cta span{position:relative; z-index:1}
.hero__cta:hover{
  transform: translateY(-2px);
  box-shadow:0 18px 40px rgba(247,46,193,.35);
}
.hero__cta:hover::before{opacity:1}

.hero__scroll{
  position:absolute;
  bottom:50px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
  font-size:10px;
  letter-spacing:0.25em;
  text-transform:uppercase;
  color:rgba(255,255,255,.5);
  z-index:10;
  opacity:0;
  animation: fadeIn 1s var(--ease-out) 1.6s forwards;
}
.hero__scroll-line{
  width:1px;
  height:50px;
  background:linear-gradient(180deg, transparent, rgba(255,255,255,.6), transparent);
  background-size:1px 200%;
  animation: scrollLine 2s linear infinite;
}
@keyframes scrollLine{
  0%{background-position:0 -100%}
  100%{background-position:0 100%}
}

/* ============================================================
   CONTENT WRAPPER
   ============================================================ */
.content-section{

  margin-top: -250px;
}

/* ============================================================
   MISSION — Figma 269:286 (по версии 1604: после Hero)
   ============================================================ */

   .mission {
    max-width: 1211px;
    margin: 0 auto;
    background-color: #fff;
    padding: 45px 24px; 
    position: relative;
  
   }
   .mission__picture {
    max-width: 100%;
    width: 100%;
   }


.mission__flex {
  display: flex;
  align-items: flex-start;
  gap: 70px;
}

.mission__h{
  font-size:116.754px;
  line-height:120.85px;
  letter-spacing:-5.8377px;
  color:var(--c-orchid);
  margin-bottom:50px;
  font-weight:400;
}
.mission__h span{
  display:block;
  transform:translateY(110%);
  transition: transform 1.2s var(--ease-out);
}
.mission.in-view .mission__h span{
  transform: translateY(0);
}

.gray-bg {
  background-color: #F5F5FA;
}

.mission__body p{
  font-size:18px;
  line-height:27px;
  color:#000;
  opacity:0;
  transform: translateY(20px);
  transition: opacity .9s var(--ease-out) .3s, transform .9s var(--ease-out) .3s;
}
.mission.in-view .mission__body p{
  opacity:1;
  transform: translateY(0);
}
.mission__body p + p{ margin-top:27px }

/* ============================================================
   TEAM — фон #813bd1, 1209x1789
   ============================================================ */
.team{
  background:var(--c-purple-light);
  width:var(--content-w);
  margin:80px auto 0;
  padding:100px 0px;
  position:relative;
  overflow:hidden;
  z-index: 2;
}

.team__title{
  width:401px;
  font-size:57px;
  line-height:59px;
  letter-spacing:-2.85px;
  color:#fff;
  font-weight:400;
  margin-bottom:66px;
}
.team__title span{
  display:inline-block;
  opacity:0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.team.in-view .team__title span{
  opacity:1;
  transform: translateY(0);
}
.team.in-view .team__title span:nth-child(1){transition-delay:.1s}
.team.in-view .team__title span:nth-child(2){transition-delay:.25s}

.team__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 80px 16px;
}

.person__picture{
  display:block;
  width:100%;
  overflow:hidden;
}
.person__picture .team__img{
  display:block;
  width:100%;
  height:auto;
  object-fit:cover;
}
.modal__photo-picture{
  display:block;
  width:100%;
}

.person{
  width:100%;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:23px;
  position:relative;
  cursor:pointer;
  opacity:0;
  transform: translateY(40px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.team.in-view .person{ opacity:1; transform: translateY(0) }
.team.in-view .person:nth-child(1){transition-delay:.4s}
.team.in-view .person:nth-child(2){transition-delay:.5s}
.team.in-view .person:nth-child(3){transition-delay:.6s}
.team.in-view .person:nth-child(4){transition-delay:.7s}
.team.in-view .person:nth-child(5){transition-delay:.8s}
.team.in-view .person:nth-child(6){transition-delay:.9s}
.team.in-view .person:nth-child(7){transition-delay:1.0s}
.team.in-view .person:nth-child(8){transition-delay:1.1s}
.team.in-view .person:nth-child(9){transition-delay:1.2s}

.person__photo{
  width:100%;
  height:323.883px;
  background:#ededed;
  overflow:hidden;
  position:relative;
}
.person__photo img{
  width:100%; height:100%;
  object-fit:cover;
  transition: transform .8s var(--ease-out), filter .5s var(--ease);
  filter: saturate(.92);
}
.person:hover .person__photo img{
  transform: scale(1.05);
  filter: saturate(1.05);
}
.person__photo::after{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 50%, rgba(89,21,125,.4) 100%);
  opacity:0;
  transition: opacity .4s var(--ease);
}
.person:hover .person__photo::after{ opacity:1 }

.person__info{
  display:flex;
  flex-direction:column;
  gap:16px;
}
.person__name{
  font-size:24px;
  line-height:30px;
  letter-spacing:-1.2px;
  color:#fff;
  font-weight:400;
}
.person__role{
  font-size:14px;
  line-height:18px;
  color:#fff;
  white-space:nowrap;
}
.person__more{
  font-family: Steppe;
  font-weight: 400;
  font-size:14px;
  line-height:18px;
  color:var(--c-pink);
  text-decoration:underline;
  cursor:pointer;
  transition: color .3s var(--ease), letter-spacing .3s var(--ease);
  background-color: unset;
  border: unset;
  text-align: left;
}
.person:hover .person__more{
  color:#fff;
  letter-spacing:0.02em;
}

/* ============================================================
   SPECIALIZATIONS — bg:#fff, w:1209, padding 54
   ============================================================ */


   .purple-bg {
    background-color: #59157D;
    margin-top: -250px;
   }
.specs{
  background:#fff;
  width:var(--content-w);
  margin:0px auto ;

  
  position:relative;
  transform: translateY(350px);
  z-index: 2;
}
.specs__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 120px;
}
.specs__inner{
  padding: 54px;

}

.specs__head h2{
  font-size:65.671px;
  line-height:67.975px;
  letter-spacing:-3.2835px;
  color:var(--c-purple);
  max-width:462px;
  width: 100%;
  font-weight:400;
}
.specs__head h2 .word{
  display:inline-block;
  opacity:0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.specs.in-view .specs__head h2 .word{
  opacity:1;
  transform: translateY(0);
}
.specs.in-view .specs__head h2 .word:nth-child(1){transition-delay:.05s}
.specs.in-view .specs__head h2 .word:nth-child(2){transition-delay:.15s}
.specs.in-view .specs__head h2 .word:nth-child(3){transition-delay:.25s}
.specs.in-view .specs__head h2 .word:nth-child(4){transition-delay:.35s}

.specs__lead{
  font-size:18px;
  line-height:27px;
  color:#000;
  opacity:0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out) .4s, transform .8s var(--ease-out) .4s;
  max-width: 539px;
  width: 100%;
}
.specs.in-view .specs__lead{ opacity:1; transform: translateY(0) }

.specs__cols{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:34px;
}

.specs__group h2{
  font-family: Steppe;
  font-weight: 400;
  font-style: Regular;
  font-size: 65.67px;
  leading-trim: CAP_HEIGHT;
  line-height: 67.98px;
  letter-spacing: -5%;
  color: var(--c-purple);
  margin-bottom:30px;
}

.specs__group_bottom {
  transform: translateY(67px);
}

.specs__list{
  display:flex;
  flex-direction:column;
  gap:1px;
}

.specs__item{
  background:var(--c-orchid-10);
  display:flex;
  align-items:center;
  padding:24px 54px;
  font-size:22px;
  line-height:27px;
  color:#000;
  text-align:left;
  position:relative;
  cursor:default;
  transition: color .35s var(--ease);
  opacity:0;
  transform: translateX(20px);
}
.specs.in-view .specs__item{
  opacity:1;
  transform: translateX(0);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), color .35s var(--ease);
}
.specs.in-view .specs__item:nth-child(1){transition-delay: .5s, .5s, 0s}
.specs.in-view .specs__item:nth-child(2){transition-delay: .55s, .55s, 0s}
.specs.in-view .specs__item:nth-child(3){transition-delay: .6s, .6s, 0s}
.specs.in-view .specs__item:nth-child(4){transition-delay: .65s, .65s, 0s}
.specs.in-view .specs__item:nth-child(5){transition-delay: .7s, .7s, 0s}
.specs.in-view .specs__item:nth-child(6){transition-delay: .75s, .75s, 0s}
.specs.in-view .specs__item:nth-child(7){transition-delay: .8s, .8s, 0s}
.specs.in-view .specs__item:nth-child(8){transition-delay: .85s, .85s, 0s}
.specs.in-view .specs__item:nth-child(9){transition-delay: .9s, .9s, 0s}
.specs.in-view .specs__item:nth-child(10){transition-delay: .95s, .95s, 0s}
.specs.in-view .specs__item:nth-child(11){transition-delay: 1.0s, 1.0s, 0s}

.specs__item::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg, var(--c-purple-light), var(--c-orchid));
  transform:scaleX(0);
  transform-origin:left center;
  transition: transform .5s var(--ease);
  z-index:0;
}
.specs__item span{position:relative; z-index:1}
.specs__item:hover{ color:#fff }
.specs__item:hover::before{ transform:scaleX(1) }

/* RANKINGS */
.rankings{
  margin:0 auto;
  background:#fff;
  padding: 72px 47px;
  display:flex;
  align-items:flex-start;
  gap:46px;
  flex-direction:column;
  background-image: url(./img/bg.webp);
  background-repeat: no-repeat;
  background-size: cover;
}
.rankings__row{
  display:flex;
  gap:46px;
  align-items:center;
}
.rankings__logos{
  display:flex;
  align-items:center;
  gap:15px;
  flex-shrink:0;
}
.rankings__text{
  color: #FFF;
  font-family: Steppe;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 27px; /* 150% */
  max-width: 851px;
  width: 100%;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact{
  background:#59157d;
  padding: 70px 0 60px;
  text-align:center;
  position:relative;
  overflow:hidden;
  transform: translateY(350px);
  padding-bottom: 375px;
}
.contact::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(ellipse at center, rgba(180,115,255,.18) 0%, transparent 60%);
  pointer-events:none;
  animation: contactGlow 8s ease-in-out infinite;
}
@keyframes contactGlow{
  0%,100%{opacity:.6}
  50%{opacity:1}
}

.contact__inner{
  max-width:642px;
  width: 100%;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:27px;
  position:relative;
  z-index:2;
}
.contact__phone{
  font-size:46px;
  line-height:59px;
  letter-spacing:-2.3px;
  color:#fff;
  font-weight:400;
  display:inline-block;
  transition: color .3s var(--ease);
}
.contact__phone:hover{ color:var(--c-pink) }
.contact__email{
  font-size:18px;
  line-height:27px;
  letter-spacing:-0.9px;
  color:var(--c-pink-soft);
  border-bottom:1px solid transparent;
  padding-bottom:2px;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.contact__email:hover{
  border-bottom-color:var(--c-pink);
  color:var(--c-pink);
}
.contact__addr{
  font-size:18px;
  line-height:27px;
  letter-spacing:-0.9px;
  color:#fff;
}
.contact__mark{
  margin-top:50px;
}

@keyframes markFloat{
  0%,100%{transform:translateY(0) rotate(0)}
  50%{transform:translateY(-6px) rotate(2deg)}
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1280px){
  :root{ --content-w: 92vw }
}
@media (max-width: 1024px){
  .nav{ gap:30px }
  .nav__phone{ font-size:18px }
  .nav__menu{ gap:18px }
  .nav__link{ font-size:14px }

  .hero{ height:auto; min-height:600px }
  .hero__bg{ width:200%; left:-50% }
  .hero__content{
    position:relative;
 transform:none;
    width:100%;
  }
  .hero__title{ font-size:64px; line-height:62px; letter-spacing:-2px }
  .hero__lead{ width:100%; max-width:560px }

  .mission{ flex-direction:column; gap:40px; width:100%; padding:40px 24px }
  .mission__visual{ width:100%; max-width:413px }
  .mission__h{ font-size:72px; line-height:74px; letter-spacing:-3px; height:auto; width:auto }
  .mission__text{ padding-top:0 }

  .team{ width:100%; padding:60px 24px }
  .team__grid{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:32px 14px }
  .person__photo{ height:auto; aspect-ratio:1/1 }

  .specs{ padding:40px 24px; width:100% }
  .specs__inner{ grid-template-columns:1fr; gap:40px; }
  .specs__head h2{ font-size:42px; line-height:46px; letter-spacing:-1.5px; width:auto }
  .specs__cols{ width:100%; grid-template-columns: 1fr; }

  .rankings__row{ padding-left:24px; flex-direction:column; align-items:flex-start; gap:24px }
  .rankings__text{ width:100% }
}
@media (max-width: 768px){
  .nav{
    position:relative;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:14px 16px;
    row-gap:16px;
  }
  .nav__menu{
    order:-1;
    flex:0 0 100%;
    width:100%;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:12px 20px;
    margin:0;
    position:relative;
    z-index:50;
    opacity:1;
    visibility:visible;
    transform:none;
    pointer-events:auto;
    background:transparent;
    border:none;
    box-shadow:none;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  .nav__menu .nav__link{
    width:auto;
    padding:6px 0;
    font-size:14px;
    line-height:1.2;
    white-space:normal;
    text-align:center;
    max-width:min(100%, 220px);
  }
  .nav__menu .nav__link::after{
    display:block;
  }
  .nav__logo{
    order:1;
    z-index:40;
  }
  .nav__phone{
    order:2;
    display:block;
    margin-left:auto;
    margin-right:0;
    font-size:16px;
    letter-spacing:-0.4px;
    z-index:40;
  }
}
@media (max-width: 640px){
  .nav{ padding:0 16px }

  .nav__logo{ width:140px; height:30px }
  .hero__title{ font-size:38px; line-height:43px; margin-bottom: 32px; }
  .hero__lead{ font-size:18px; line-height:24px }
  .specs__head h2{ font-size:32px; line-height:36px }
  .mission__h{ font-size:54px; line-height:56px }
  .team__grid{ gap:24px 12px }
  .contact__inner{ width:100%; padding:0 24px }
  .contact__phone{ font-size:35px; line-height:38px; }
  .contact {
    padding-top: 58px;
  }

}
@media (max-width: 520px){
  .team__grid{ grid-template-columns:1fr; gap:20px }

}

/* ============================================================
   MODAL — общий — для биографий и формы заявки
   ============================================================ */


.modal-backdrop{
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.80);
}
.modal-backdrop.is-open{
  display: flex;
}

.modal{
  background:#813BD1;
  border-radius:0;
  width:min(100%, 1106px);
  max-width:1106px;
  border: 0;
  padding: 0;
  margin: auto;
}

.modal--form {
  background-color: #fff;
  position: relative;
}

.modal--form .modal__close {
  background-color: unset;
}
.modal--form .modal__close::before {
  width: 23px;
}
.modal--form .modal__close::after {
  width: 23px;
}

.modal__photo {
  max-width: 493px;
  width: 100%;
  
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.80);
}

.modal__body {
  display: flex;
}
.modal__close{
  position:absolute;
  top:24px; right:24px;
  width:40px; height:40px;
  border: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  z-index:5;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.modal__close:hover{

  transform: rotate(90deg);
}
.modal__close::before,
.modal__close::after{
  content:"";
  position:absolute;
  width:18px; height:1.5px;
  background:var(--c-purple);
}
.modal__close::before{ transform:rotate(45deg) }
.modal__close::after{ transform:rotate(-45deg) }

/* ===== PERSON MODAL — биография ===== */


#modal-person-photo {
  max-width: 493px;
  width: 100%;
  height: 686px;
  object-fit: cover;
}
.modal__info{
  padding:60px 54px 54px;
  width: 100%;
}


.modal__name{
  font-family: Steppe;
  font-weight: 400;
  font-style: Regular;
  font-size: 44px;
  margin-bottom: 22px;
  color: #fff;
  max-width: min-content;
  line-height: 56px;
  letter-spacing: -5%;
  
}
.modal__role{
  font-size:14px;
  line-height:18px;
  color:#fff;
  margin-bottom:22px;
  text-transform:lowercase;
}
.modal__bio{
  font-size:16px;
  line-height:22px;
  color:#fff;
  margin-bottom: 32px;
}
.modal__edu-label,
.modal__ach-label{
  font-family: Steppe;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0%;
  color: #fff;
}


.modal__edu,
.modal__ach{
  font-family: Steppe;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  color: #fff;
  line-height: 22px;
  letter-spacing: 0%; 
}

.modal__link {
  display: block;
  margin-bottom: 35px;
}

.modal__ach {
  margin-top: 32px;
}

.modal__edu span {
  color: #FE80F5;
}

.modal__ach span {
  color: #FE80F5;
}

/* ===== FORM MODAL — заявка ===== */
.modal--form{
  max-width:680px;
  padding:54px;
}
.modal__title{
  font-size:36px;
  line-height:42px;
  letter-spacing:-1.5px;
  color:var(--c-purple);
  font-weight:400;
  margin-bottom:32px;
}

.form{
  display:flex;
  flex-direction:column;
  gap:20px;
}
.form__row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}
.form__field{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.form__label{
  font-size:14px;
  line-height:18px;
  color:#000;
  font-weight:400;
}
.form__label .req{ color:var(--c-magenta); margin-left:2px }

.form__input,
.form__textarea{
  font-family: inherit;
  font-size:15px;
  line-height:22px;
  padding:16px 18px;
  border:1px solid rgba(89,21,125,.18);
  background:#fff;
  color:#000;
  border-radius:8px;
  outline:none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
  width:100%;
}
.form__input::placeholder,
.form__textarea::placeholder{ color:var(--c-grey) }
.form__input:focus,
.form__textarea:focus{
  border-color:var(--c-orchid);
  box-shadow:0 0 0 3px rgba(180,115,255,.18);
}
.form__textarea{ resize:vertical; min-height:96px }

.form__file{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:18px;
  background:rgba(180,115,255,.08);
  color:var(--c-purple);
  border:none;
  border-radius:8px;
  font-size:15px;
  cursor:pointer;
  font-family:inherit;
  transition: background .25s var(--ease);
  position:relative;
  overflow:hidden;
}
.form__file:hover{ background:rgba(180,115,255,.18) }
.form__file input[type="file"]{
  position:absolute;
  inset:0;
  opacity:0;
  cursor:pointer;
}
.form__file-name{
  font-size:13px;
  color:var(--c-grey);
  margin-top:4px;
  text-align:center;
}

.form__check{
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:14px;
  line-height:20px;
  cursor:pointer;
  user-select:none;
  margin-top:8px;
}
.form__check input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.form__check-box{
  width:20px;
  height:20px;
  border:1.5px solid var(--c-orchid);
  border-radius:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  margin-top:1px;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.form__check-box::after{
  content:"";
  width:10px; height:6px;
  border-left:2px solid var(--c-magenta);
  border-bottom:2px solid var(--c-magenta);
  transform: rotate(-45deg) scale(0);
  margin-bottom:2px;
  transition: transform .25s var(--ease);
}
.form__check input:checked + .form__check-box{
  background:transparent;
  border-color:var(--c-magenta);
}
.form__check input:checked + .form__check-box::after{
  transform: rotate(-45deg) scale(1);
}
.form__check-text a{
  color:var(--c-magenta);
  border-bottom:1px solid currentColor;
  padding-bottom:1px;
}

.form__submit{
  background:var(--c-orchid);
  color:#fff;
  padding:20px 32px;
  border:none;
  font-family:inherit;
  font-size:16px;
  letter-spacing:0.01em;
  cursor:pointer;
  border-radius:0;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
  margin-top:12px;
  position:relative;
  overflow:hidden;
}
.form__submit::before{
  content:"";
  position:absolute; inset:0;
  background:linear-gradient(135deg, #c188ff, #813bd1);
  opacity:0;
  transition: opacity .35s var(--ease);
}
.form__submit span{ position:relative; z-index:1 }
.form__submit:hover{
  transform: translateY(-2px);
  box-shadow:0 16px 32px rgba(180,115,255,.4);
}
.form__submit:hover::before{ opacity:1 }
.form__submit:disabled{
  opacity:.4;
  cursor:not-allowed;
  transform:none;
  box-shadow:none;
}

/* Success state */
.form__success{
  text-align:center;
  padding:40px 20px;
  display:none;
}
.form.is-sent .form__success{ display:block }
.form.is-sent > *:not(.form__success){ display:none }
.form__success-icon{
  width:64px;
  height:64px;
  margin:0 auto 20px;
  border-radius:50%;
  background:linear-gradient(135deg, #b473ff, #f72ec1);
  display:flex;
  align-items:center;
  justify-content:center;
  animation: successPop .5s var(--ease-out) both;
}
@keyframes successPop{
  0%{ transform:scale(.4); opacity:0 }
  60%{ transform:scale(1.1) }
  100%{ transform:scale(1); opacity:1 }
}
.form__success-icon::after{
  content:"";
  width:24px; height:14px;
  border-left:3px solid #fff;
  border-bottom:3px solid #fff;
  transform: rotate(-45deg);
  margin-bottom:6px;
}
.form__success h3{
  font-size:28px;
  line-height:34px;
  letter-spacing:-1px;
  color:var(--c-purple);
  margin-bottom:8px;
  font-weight:400;
}
.form__success p{
  color:var(--c-grey);
  font-size:15px;
}

/* RESPONSIVE for modals */
@media (max-width: 900px){
  .modal--person{
    max-width: 90%;
  }
  .modal__photo{
    width:100%;
    height:380px;
  }
  .modal__info{
    padding:40px 28px;
  }
  .modal__name{ font-size:36px; line-height:38px; letter-spacing:-1.5px }
  .modal--form{ padding:40px 24px }
  .modal__title{ font-size:28px; line-height:32px }
  .form__row{ grid-template-columns:1fr; gap:20px }
}

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

@media(max-width: 1024px) {

  .mission__flex {
    gap: 40px;
  }
}
@media(max-width: 768px) {
  .main-bg {
    min-height: 950px;
  }
  .team {
    padding: 40px 0px;
  }
  .modal__photo-bg {
    display: none;
  }
  .modal__photo {
    display: none;
  }
  #modal-person-photo {
    margin-bottom: 20px;
  }
}
@media(max-width: 576px) {
 
  .nav {
    padding: 0;
    max-width: 100%;
    width: 100%;
  }
  .modal__info {
    padding: 20px;
  }
  .modal__link {
    margin-bottom: 20px;
  }
  #modal-person-photo {
    height: 430px;
  }
  .nav__phone {
    transform: translateY(4px);
  }
  .hero {
    padding-top: 30px;
    min-height: unset;
  }

  .container {
    padding: 0 16px;
  }
  .mission__flex {
    flex-direction: column;
  }
  .main-bg {
    min-height: 100svh;
    background-image: url(./img/hero-bg-576.webp);
    background-size: contain;
    background-position: bottom;
    padding-bottom: 30px;
  }
  .team {
    margin-top: 0;
    padding-top: 50px;
  }
  .team__title {
    font-size: 44px;
    margin-bottom: 36px;
  }
  .specs {
    padding-top: 50px;
  }
  .content-section {
    margin-top: unset;
  }
  .purple-bg {
    margin-top: unset;
  }
  .contact {
    transform: unset;
    padding-bottom: unset;
    padding-bottom: 30px;
  }

  .specs__inner {
    padding: 0;
  }
  .modal {
    max-width: 90%;
  }
  .specs {
    transform: unset;
    padding-bottom: unset;
  }
  .specs__group_bottom {
    transform: unset;
    margin-bottom: 30px;
  }
  .specs__group h2 {
    font-size: 25px;
    line-height: 110%;
    margin-bottom: 16px;
  }
  .specs__item span {
    font-size: 14px;
    
  }

  .mission__h {
    font-size: 60px;
    line-height: 110%;
    margin-bottom: 20px;
  }
  .specs__item {
    font-size: 16px;
    padding: 24px 22px;
  }
  .specs__cols {
    gap: 50px;
  }
  
  .rankings__logos {
    margin: 0 auto;
  }
  .mission__body p {
    font-size: 16px;
  }
  .rankings {
    padding: 33px 20px;
    width: calc(100% + 48px);
    margin-left: -24px;
  }

  .rankings__text {
    font-size: 16px;
    line-height: 27px;
    text-align: center;
  }
  .rankings__row {
    padding-left: unset;
  }
  .rankings__text {
    font-size: 16x;
  }
  .person {
    gap: 16px;
  }
  .person__info {
    gap: 12px;
  }
  .misson__img {
    max-width: 100%;
  }
 }

/* ——— Policy page ——— */
.policy-page {
  background: #59157d;
}

.page--policy {
  min-height: 100vh;
}

.policy-page__header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.policy-page__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.policy-page__back {
  font-size: 15px;
  line-height: 1.4;
  color: var(--c-pink);
  white-space: nowrap;
  transition: color 0.2s var(--ease);
}

.policy-page__back:hover {
  color: #fff;
}

.policy {
  padding: 24px 24px 80px;
}

.policy__inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 56px 64px;
  background: linear-gradient(180deg, var(--c-bg-grad-from) 0%, var(--c-bg-grad-to) 100%);
  border-radius: 24px;
  color: #1a1a1a;
}

.policy__hero {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(89, 21, 125, 0.12);
}

.policy__approve {
  font-size: 14px;
  line-height: 1.6;
  color: var(--c-grey);
  margin-bottom: 16px;
}

.policy__meta {
  font-size: 14px;
  color: var(--c-grey);
  margin-bottom: 24px;
}

.policy__title {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.25;
  font-weight: 400;
  color: var(--c-purple);
}

.policy__section {
  margin-bottom: 36px;
}

.policy__section h2 {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 400;
  color: var(--c-purple);
  margin-bottom: 16px;
}

.policy__section p {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 12px;
}

.policy__section p:last-child {
  margin-bottom: 0;
}

.policy__section a {
  color: var(--c-purple-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy__section a:hover {
  color: var(--c-magenta);
}

.policy__list {
  list-style: disc;
  padding-left: 1.35em;
  margin: 0 0 12px;
}

.policy__list li {
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 8px;
}

.policy__defs {
  margin: 0;
}

.policy__defs dt {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--c-purple);
  margin-top: 14px;
}

.policy__defs dt:first-child {
  margin-top: 0;
}

.policy__defs dd {
  font-size: 15px;
  line-height: 1.65;
  margin: 4px 0 0;
  padding-left: 0;
}

.policy__table-wrap {
  overflow-x: auto;
  margin: 16px 0;
  -webkit-overflow-scrolling: touch;
}

.policy__table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.5;
}

.policy__table th,
.policy__table td {
  border: 1px solid rgba(89, 21, 125, 0.2);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.policy__table th {
  background: var(--c-orchid-10);
  color: var(--c-purple);
  font-weight: 400;
}

@media (max-width: 768px) {
  .policy-page__nav {
    padding: 16px 20px;
  }

  .policy {
    padding: 16px 16px 48px;
  }

  .policy__inner {
    padding: 28px 20px 40px;
    border-radius: 16px;
  }

  .policy__title {
    font-size: 22px;
  }

  .policy__section h2 {
    font-size: 18px;
  }
}