/* MAIN MENU */
.main-menu-container {
    position: sticky;
    top: 0;
    display: flex;
    width: 100%;
    height: 100px;
    align-items: center;
    justify-content: center;
    z-index: 3;
}
.menu-is-stuck {
    z-index: 5;
}
.main-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1200px;
    border-radius: 5px;
    padding: 10px 20px;
    background-color: #fff;
    color: #202020;
    box-shadow: 0px 6px 7px #0000001a;
}
.logo-menu {
    width: 120px;
    height: 60px;
}
.logo-menu > img {
    height: inherit;
    object-fit: cover;
}
.button-menu-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.button-container {
    position: relative;
    display: flex;
    margin-top: 3px;
}
.menu-button {
    position: relative;
    white-space: nowrap;
}
.button-menu-container > .menu-button {
    margin-top: 3px;
}
.menu-bottom-line {
    display: flex;
    justify-self: center;   
    width: 0;
    height: 3px;
    background-color: #fab702;
    transition: 0.5s;
}
.menu-button:hover > .menu-bottom-line {
    width: 100%;
}
.menu-tooltip {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 0px;
    left: -30px;
    visibility: hidden;
    opacity: 0;
    background: #fff;
    color: #202020;
    padding: 20px;
    border-radius: 5px;
    gap: 5px;
    transition: 0.3s;
}
.button-container:hover > .menu-tooltip {
    visibility: visible;
    opacity: 1;    
    top: 25px;
}
@media (max-width: 1220px) {
    .main-menu {
        width: 100%;
        border-radius: 0;
    }
    .main-menu-container {
        align-items: start;
    }
}
/* Узкие экраны видят только страницы с включённым meta viewport (пока это
   tariffs.html): остальные телефон рендерит в десктопной ширине 980px. */
@media (max-width: 740px) {
    .main-menu-container {
        height: auto;
    }
    .main-menu {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 8px;
        padding: 8px 16px 10px;
    }
    .main-menu > .button-menu-container:last-child {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px 10px;
        font-size: 12px;
        letter-spacing: 0.5px;
    }
    .main-menu .yellow-button {
        padding: 6px 10px;
    }
    /* выпадающее подменю по наведению на тач-экране не нужно, а скрытое
       оно всё равно распирает страницу вширь */
    .menu-tooltip {
        display: none;
    }
    .logo-menu {
        width: 100px;
        height: 50px;
    }
    /* Повёрнутый на 7° срез на узком экране не дотягивается до правого края */
    .corner-block-white {
        width: 130%;
    }
}


/* MAIN HEADER */
.main-header {
    position: fixed;
    top: 0;
    display: block;
    width: 100%;
    height: 100vh;
    z-index: -1;
}
.main-header > img {
    width: 100%;
    height: inherit;
    object-fit: cover;
}
/* carousel */  
.sim-slider {    
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-width: 100%;
    background-color: white;
    z-index: 1;
  }
  
  .sim-slider-list {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style-type: none;
  }
  
  .sim-slider-element {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    transition: opacity 1s ease-in;
    opacity: 0;
    left: 0;
    top: 0;
    z-index: 2;
  }
  .sim-slider-element > img {
    width: 100%;
    height: inherit;
    object-fit: cover;
}
/* text container */
.header-text-container {
    position: sticky;
    display: flex;
    flex-direction: column;
    top: 52vh;
    bottom: 0;
    left: 0;
    right: 0;
    align-items: center;
    justify-content: center;
    gap: 30px;
    z-index: 2;
}
.header-is-stuck {
    z-index: 0;
}
@media (max-height: 900px) {
    .header-text-container {
        display: none;
    }
}
.header-text-container-2 {
    position: absolute;
    display: flex;
    flex-direction: column;
    top: 20vh;
    /* bottom: 0; */
    left: 0;
    right: 0;
    align-items: center;
    z-index: 2;
}
.text-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 1200px;
    height: 280px;
}
.yellow-block {
    position: absolute;
    top: 0;
    left: 20px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    background-color: #fab702;
    color: #fff;
    text-align: right;
    border-radius: 5px;
    box-shadow: 12px 12px 0 #fff;
    animation-duration: 1s;
    animation-name: yellow-block-animation;
}
@keyframes yellow-block-animation {
    0% {
      left: -20%;
      opacity: 0;
    }
    100% {
      left: 20px;
      opacity: 1;
    }
}
.yellow-block > h1 {
    font-size: 110px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    line-height: 70px;
}
.yellow-block > h2 {
    font-size: 80px;
    font-weight: 100;
    text-transform: uppercase;
    margin: 0;
}
.yellow-block > h3 {
    font-size: 30px;
    font-weight: 100;
    text-transform: uppercase;
    margin: 0;
}
.yellow-block > p {
    font-family: Roboto, sans-serif;
    margin: 0;
}
.opasity-block {
    position: absolute;
    top: 0;
    left: 240px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    justify-content: center;
    color: #fff;
    text-align: left;
    animation-duration: 2s;
    animation-name: opasity-block-animation;  
}

@keyframes opasity-block-animation {
    0% {
      left: 50%;
      opacity: 0;
    }
    100% {
      left: 240px;
      opacity: 1;
    }
}
.opasity-block > h1 {
    font-size: 70px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;    
    line-height: 60px;
}
.opasity-block > h2 {
    font-size: 70px;
    font-weight: 100;
    text-transform: uppercase;
    margin: 0;    
    line-height: 60px;
}
.opasity-block > p {
    font-family: Roboto, sans-serif;
    margin: 0;
}
.news-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    width: 1200px;
    height: 220px;
    padding: 0 20px;
    gap: 10px;
}
.event-card-1 {
    position: absolute;
    top: 0;
    display: flex;
    width: 700px;
    height: 100px;
    max-height: 100px;
    border: 3px solid #fff;
    background-color: unset;
    color: #fff;
    font-family: Oswald, sans-serif;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
    animation-duration: 1s;
    animation-name: event-card-1;
}
.event-card-1:hover {
    opacity: 1;
    background-color: #fff;
    color: #202020;
}
.event-card-1 > h1 {
    position: absolute;
    top: -70px;
    right: 0;
    font-size: 36px;
    text-transform: uppercase;
    color: #fff!important;
}
@keyframes event-card-1 {
    0% {
      top: 100%;
      opacity: 0;
    }
    100% {
      top: 0;
      opacity: 0.5;
    }
}
.event-card-2 {
    position: absolute;
    top: 120px;
    display: flex;
    width: 700px;
    height: 100px;
    max-height: 100px;
    border: 3px solid #fff;
    background-color: unset;
    color: #fff;
    font-family: Oswald, sans-serif;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
    animation-duration: 1.5s;
    animation-name: event-card-2;
}
.event-card-2:hover {
    opacity: 1;
    background-color: #fff;
    color: #202020;
}
@keyframes event-card-2 {
    0% {
      top: 100%;
      opacity: 0;
    }
    25% {
        top: 100%;
        opacity: 0;
    }
    100% {
      top: 120px;
      opacity: 0.5;
    }
}
@media (max-width: 740px){
    .event-card-1 {
        width: unset;
        right: 20px;
        left: 20px;
    }
    .event-card-2 {
        width: unset;
        right: 20px;
        left: 20px;
    }
}
.event-card-3 {
    position: absolute;
    top: 240px;
    display: flex;
    width: 700px;
    height: 100px;
    max-height: 100px;
    border: 3px solid #fff;
    background-color: unset;
    color: #fff;
    font-family: Oswald, sans-serif;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
    animation-duration: 2s;
    animation-name: event-card-3;
}
.event-card-3:hover {
    opacity: 1;
    background-color: #fff;
    color: #202020;
}
@keyframes event-card-3 {
    0% {
      top: 100%;
      opacity: 0;
    }
    25% {
        top: 100%;
        opacity: 0;
    }
    100% {
      top: 240px;
      opacity: 0.5;
    }
}

@media (max-width: 740px){
    .event-card-1 {
        width: unset;
        right: 20px;
        left: 20px;
    }
    .event-card-2 {
        width: unset;
        right: 20px;
        left: 20px;
    }
    .event-card-3 {
        width: unset;
        right: 20px;
        left: 20px;
    }
}

.news-date {
    display: flex;
    flex-direction: column;
    width: 68px;
    min-width: 68px;
    height: 100%;
    padding-right: 10px;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #fff;
}
.news-date > h1 {
    font-size: 36px;
    margin: 0;
}
.news-date > p {
    font-size: 12px;
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    margin: 0;
}
.news-date > span {
    font-size: 10px;
    font-family: Roboto, sans-serif;;
}
.event-card-1:hover > .news-date {    
    border-right: 1px solid #202020;
}
.event-card-2:hover > .news-date {    
    border-right: 1px solid #202020;
}
.news-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10px;
    height: 100%;
    overflow: hidden;
    text-align: left;
}
.news-text > h1 {
    font-size: 24px;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.news-text > p {
    font-size: 12px;
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}
@media (max-width:1220px) {
    .text-container {
        width: 100%;
        padding: 20px;
    }    
    .news-container {
        width: 100%;
        padding: 20px;
    }  
}
@media (max-width:570px) {
    .text-container {
        justify-content: center;
    }
    .yellow-block{
        top: 0px;
        left: unset;
    }
    @keyframes yellow-block-animation {
        0% {
          left: -20%;
          opacity: 0;
        }
        100% {
          left: 20%;
          opacity: 1;
        }
    }
    .opasity-block {
        text-align: center;
        top: 300px;
        left: unset;
    }
    @keyframes opasity-block-animation {
        0% {
          left: 50%;
          opacity: 0;
        }
        100% {
          left: 10%;
          opacity: 1;
        }
    }
    .news-container {
        display: none;
    }  
    
}
.main-header-clean-blok {    
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    z-index: -1;
}
/* FOOTER */
.footer-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    color: #202020; 
}
.copyright-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #d3d3d3;
    font-family: Roboto, sans-serif;
    opacity: .8;
}
.footer-logotips-container {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    height: 70px;
    padding-bottom: 20px;
}
.footer-logotips-container > img {
    height: 100%;
    object-fit: cover;
    filter: grayscale(100);
}
.footer-logotips-container > img:hover {
    filter: grayscale(0);
}
@media (max-width: 740px) {
    .footer-logotips-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 30px;
        height: auto;
    }
    .footer-logotips-container > img {
        height: 40px;
        max-width: 100%;
    }
}

/* CONTACT FORM */
.contact-form {    
    box-sizing: border-box;
}
.contact-form > H2 {
    line-height: 1.2;
    font-weight: 400;
    font-size: 40px;
    text-transform: uppercase;
}
.contact-form > ul {
    line-height: 30px;
    opacity: 0.8;
    padding: 0;
}
.contact-form > ul > li {
    display: flex;
    align-items: center;
    gap: 10px;
}
.contact-form > ul > li > img {
    width: 15px;
    height: 15px;
    object-fit: cover;
}
.form-group {
    width: 100%;
    margin-bottom: 20px;
}
.form-group > input {    
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    border: 2px solid #d3d3d3;
    border-radius: 3px;
    padding: 0 20px;
    opacity: 0.8;
}
.form-group > input:focus {
    border: 2px solid #b9b9b9;
    outline: none !important;
    opacity: 1;
}
.form-group > input:active {
    border: 2px solid #b9b9b9; 
    outline: none !important;   
    opacity: 1;
}
.form-group > textarea {
    box-sizing: border-box;
    width: 100%;
    height: 100px;
    border: 2px solid #d3d3d3;
    border-radius: 3px;
    padding: 20px;
    opacity: 0.8;
}
.form-group > textarea:focus {
    border: 2px solid #b9b9b9;
    outline: none !important;
    opacity: 1;
}
.form-group > textarea:active {
    border: 2px solid #b9b9b9; 
    outline: none !important;   
    opacity: 1;
}
.form-check {    
  margin-top: 5px;
  width: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
}
.form-check-label{
    padding-left: 5px;
}
.form-check-input {
  appearance: none;
  position: relative;
  width: 30px!important;
  min-width: 30px;
  max-width: 30px;
  height: 30px!important;
  border-radius: 0px;
  border: 2px solid #d3d3d3;
  padding: 3px 4px !important;
}
.form-check-input::after {
    content: "";
    position: absolute;
    width: 0px;
    height: 0px;
    font-size: 20px;
    background-image: url("../img/check.svg");
    background-repeat: no-repeat;
}
.form-check-input:checked::after {
  width: 20px;
  height: 20px;
}
.form-check-label > a {
    text-decoration: underline;
}

/* ABOUT */
.about-card-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 30px;
}
.about-card-img {
    width: 100px;
    height: fit-content;
}
.about-card-img > img {
    width: 100%;
    object-fit: cover;
}
.about-card-text {
    font-size: 25px;
    font-weight: 300;
    text-transform: initial !important;
    text-align: center;
    margin: 0;
}

/* notepad animaton */
.notepad-animation {
    position: absolute;
    left: 200px;
    transform: rotate(45deg);
    bottom: 0;
    width: 200px;
    z-index: 3;
}
.notepad-animation > img {
    width: 100%;
    object-fit: cover;
}
.notepad-animation-name {    
    animation: animation 1s 1
}
@keyframes animation {
    0% {
      left: 0px;
      transform: rotate(-45deg);
    }
    100% {
        left: 200px;
        transform: rotate(45deg);
    }
}

/* HOW IT WORK */
.roadmap-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    height: 200px;
    z-index: 2;
}
.roadmap-number {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fab702;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}
.roadmap-line {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 100%;
    border-top: 2px dotted #d3d3d3;
}
.roadmap-text {
    position: absolute;
    left: 70px;
    width: 50%;
    padding: 30px;
    border-radius: 20px;
    background-color: #fff;
    color: #202020;
    font-family: Roboto, sans-serif;
    font-size: 18px;
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.15);
}
.roadmap-animation-1{}
.roadmap-animation-1-name {    
    animation: roadmap-text-animation1 1s 1
}
@keyframes roadmap-text-animation1 {
    0% {
      left: 100%;
    }
    100% {
        left: 70px;
    }
}
.roadmap-animation-2{}
.roadmap-animation-2-name {    
    animation: roadmap-text-animation2 1s 1
}
@keyframes roadmap-text-animation2 {
    0% {
      left: 100%;
    }
    100% {
        left: 70px;
    }
}

.roadmap-animation-3{}
.roadmap-animation-3-name {    
    animation: roadmap-text-animation3 1s 1
}
@keyframes roadmap-text-animation3 {
    0% {
      left: 100%;
    }
    100% {
        left: 70px;
    }
}
.pen-bg {
    position: absolute;
    right: 10%;
    bottom: -100px;
    width: 200px;
    z-index: 0;
}
.pen-bg > img {
    width: 100%;
    object-fit: cover;
}

/* REQUEST FORM */
.request-form-container {
    position: absolute;
    top: -350px;
    bottom: -350px;
    left: 0;
    right: 0;
    display: flex;    
    visibility: hidden;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.request-form-container:target {
  visibility: visible;
  opacity: 1;
}
.request-form-window-container{
    position: absolute;
    visibility: hidden;;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(80%);
    z-index: 2;
}
.request-form-window {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 500px;
    background-color: #fff;
    color: #202020;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 6px 6px 7px #00000073;
}

.request-form-container:target ~ .request-form-window-container {
    display: flex;
    visibility: visible;
    opacity: 1;
    transform: scale(100%);     
    transition: 0.5s; 
  }
@media (max-width:520px) {
    .request-form-window {
        width: 100%;
    }
    .request-form-window-container {
        width: 90%;
    }
}

/* FEEDBACK CARDS */
.feedback-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding: 30px;
    background-color: #fff;
}
.person-photo-name-container {
    display: flex;
    gap: 10px;
    align-items: center;
}
.person-photo {
    width: 80px;
    min-width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}
.person-photo > img {
    width: 100%;
    height: inherit;
    object-fit: cover;
}
.person-name > h3 {
    font-size: 18px;
    font-weight: 400;
    margin: 0;
}
.person-name > p {
    font-size: 12px;
    font-family: Roboto, sans-serif;
    margin: 0;
}
.feedback-text {
    position: relative;
    font-size: 18px;
    margin: 0;
    font-weight: 100;
}
.quote {
    position: absolute;
    display: flex;
    top: -30px;
    left: 20px;
    width: 200px;
    height: 200px;
    opacity: 0.05;
}
.quote > img {
    width: 100%;
    height: inherit;
    object-fit: cover;
}

/* POT AMINATION */
.pot-animation{
    position: absolute;
    width: fit-content;
    height: 350px;
    right: 0;
    bottom: -100px;
    z-index: 2;
}
@media (max-width: 850px){
    .pot-animation{
        bottom: -300px;
    }
}
.pot-animation > img {
    height: 100%;
    object-fit: cover;
}
.pot-animation-name {    
    animation: pot-animation-animation 1s 1
}
@keyframes pot-animation-animation {
    0% {
      right: -300px;
    }
    100% {
        right: 0;
    }
}

/* TEAM */
.team-card-container {
    width: 100%;
    height: 100%;
}
.team-card-img {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
}
.team-card-img > img {
    width: 100%;
    height: inherit;
    object-fit: cover;
}
.team-card-container > h3 {
    padding: 0 20px;
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    margin: 0;
}

.team-card-container > p {
    padding: 0 20px;
    font-size: 18px;
    font-family: Roboto, sans-serif;
    text-align: center;
    margin: 0;
}

/* MOUSE ANIMATION */
.mouse-animation{
    position: absolute;
    width: fit-content;
    height: 250px;
    right: 250px;
    bottom: -250px;
    transform: rotate(25deg);
    z-index: 2;
}
@media (max-width: 850px){
    .mouse-animation{
        bottom: -300px;
    }
}
.mouse-animation > img {
    height: 100%;
    object-fit: cover;
}
.mouse-animation-name {    
    animation: mouse-animation-animation 1s 1
}
@keyframes mouse-animation-animation {
    0% {
        transform: rotate(55deg);
        right: 50px;
        bottom: -350px;
    }
    100% {
        right: 250px;
        bottom: -250px;
        transform: rotate(25deg); 
    }
}

/* ABOUT */
.header-img {
    height: 500px;
}
.header-img > img {
    height: 100%;
    object-fit: cover;
}
/* ABOUT ANIMATION */
.about-animation {
    position: absolute;
    display: flex;
    right: 20%;
    bottom: 50px;
    width: 300px;
    height: 300px;
    border-radius: 30px;
    overflow: hidden;
    transform: rotate(45deg);
    animation-duration: 1s;
    animation-name: about-animation-animation;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.about-animation > img {
    width: 200%;
    object-fit: cover;
    transform: rotate(-45deg);
}
@keyframes about-animation-animation{
    0% {
        right: 50px;
    }
    100% {
        right: 20%;
    }
}
@media (max-width: 850px) {
    .about-animation {
        display: none;
    }
}
/* functions */
.functions-content-container{
    position: relative;
    width: 100%;
    height: 1700px;
    background-image: url(../img/dotted-line.svg);
    background-repeat: repeat-y;
    background-position: center;
}
.function-container {
    display: flex;
    align-items: end;
    width: 100%;
    height: 500px;
    min-height: fit-content;
}

/* function 1 */
.about1-anim-1 {
    position: absolute;
    top: -250px;
}
.about1-anim-1-name {    
    animation: about1-anim-1-animation 1s 1
}
@keyframes about1-anim-1-animation {
    0% {
        left: 100%;
    }
    100% {
        left: 0;
    }
}
.function-right-text {
    margin-right: 20%;
    width: 80%;
    min-height: 235px;
    border-radius: 10px;
    padding: 20px;
    padding-right: 100px;
    background-color: #fff;
    box-shadow: 8px 9px 0 #fab702;
    border: 1px solid #fab702;
    z-index: 1;
}
.function-right-img {
    position: absolute;
    bottom: -30px;
    right: 0;
    height: 400px;
    z-index: 2;
}
.function-right-img > img {
    width: 100%;
    height: inherit;
    object-fit: cover;
}

/* function 2 */
.about2-anim-2 {
    position: absolute;
    top: 90px;
}
.about2-anim-2-name {    
    animation: about2-anim-2-animation 1s 1
}
@keyframes about2-anim-2-animation {
    0% {
        right: 100%;
    }
    100% {
        right: 0;
    }
}
.function-left-text {
    margin-left: 20%;
    width: 80%;
    min-height: 235px;
    border-radius: 10px;
    padding: 20px;
    padding-left: 100px;
    background-color: #fff;
    box-shadow: 8px 9px 0 #fab702;
    border: 1px solid #fab702;
    z-index: 1;
}
.function-left-img {
    position: absolute;
    bottom: -30px;
    left: 0;
    height: 400px;
    z-index: 2;
}
.function-left-img > img {
    width: 100%;
    height: inherit;
    object-fit: cover;
}

/* function 3 */
.about3-anim-3 {
    position: absolute;
    top: 440px;
}
.about3-anim-3-name {    
    animation: about3-anim-3-animation 1s 1
}
@keyframes about3-anim-3-animation {
    0% {
        left: 100%;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}
/* function 4 */
.about4-anim-4 {
    position: absolute;
    top: 790px;
}
.about4-anim-4-name {    
    animation: about4-anim-4-animation 1s 1
}
@keyframes about4-anim-4-animation {
    0% {
        right: 100%;
    }
    100% {
        right: 0;
    }
}

/* function 5 */
.about5-anim-5 {
    position: absolute;
    top: 1160px;
}
.about5-anim-5-name {    
    animation: about5-anim-5-animation 1s 1
}
@keyframes about5-anim-5-animation {
    0% {
        left: 100%;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}

@media (max-width:1000px) {
    .functions-content-container{
        margin-top: 20px;
        height: 1720px;
    }
    .function-container {
        margin-top: 30px;
    }
    .function-right-text {
        margin: 0;
        width: 100%;
        padding-right: 30%;
        z-index: 1;
    }
    .function-right-img {
        width: 30%;
        height: unset;
        z-index: 2;
    }
    .function-left-text {
        margin: 0;
        width: 100%;
        padding-left: 30%;
        z-index: 1;
    }
    .function-left-img {
        width: 30%;
        height: unset;
        z-index: 2;
    }
}
@media (max-width:900px) {
    .functions-content-container{
        height: 1720px;
    }
    .about1-anim-1 {
        top: -200px;
    }
    .about2-anim-2 {
        top: 120px;
    }
    .about3-anim-3 {
        top: 430px;
    }
    .about4-anim-4 {
        top: 760px;
    }    
    .about5-anim-5 {
        top: 1120px;
    }
}
@media (max-width:800px) {
    .functions-content-container{
        height: 1680px;
    }
    .about1-anim-1 {
        top: -200px;
    }
    .about2-anim-2 {
        top: 140px;
    }
    .about3-anim-3 {
        top: 440px;
    }
    .about4-anim-4 {
        top: 760px;
    }    
    .about5-anim-5 {
        top: 1110px;
    }
    .function-right-img {
        bottom: 30px;
    }
    .function-left-img {
        bottom: 30px;
    }
}
@media (max-width:750px) {
    .functions-content-container{
        height: 1700px;
    }
    .about1-anim-1 {
        top: -230px;
    }
    .about2-anim-2 {
        top: 140px;
    }
    .about3-anim-3 {
        top: 440px;
    }
    .about4-anim-4 {
        top: 780px;
    }    
    .about5-anim-5 {
        top: 1160px;
    }
}
@media (max-width:700px) {
    .functions-content-container{
        height: 1750px;
    }
    .about1-anim-1 {
        top: -230px;
    }
    .about2-anim-2 {
        top: 140px;
    }
    .about3-anim-3 {
        top: 430px;
    }
    .about4-anim-4 {
        top: 790px;
    }    
    .about5-anim-5 {
        top: 1200px;
    }
}
@media (max-width:600px) {
    .functions-content-container{
        margin-top: 0;
        height: 1600px;
    }    
    .about1-anim-1 {
        top: -260px;
    }
    .about2-anim-2 {
        top: 70px;
    }
    .about3-anim-3 {
        top: 370px;
    }
    .about4-anim-4 {
        top: 690px;
    }    
    .about5-anim-5 {
        top: 1030px;
    }
    .function-right-text {
        margin: 0;
        width: 100%;
        padding-right: 20px;
        z-index: 1;
    }
    .function-right-img {
        display: none;
    }
    .function-left-text {
        margin: 0;
        width: 100%;
        padding-left: 20px;
        z-index: 1;
    }
    .function-left-img {
        display: none;
    }
}

/* TUTOR SERVICE */
.tutor-module-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    margin-bottom: 20px;
    z-index: 2;
}
.tutor-module-line {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 100%;
    border-top: 2px dotted #fff;
}
.tutor-module-number {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    color: #fab702;
    font-weight: bold;
    font-size: 18px;
}
.tutor-module-text {
    position: relative;
    left: 10px;
    width: 90%;
    padding: 30px;
    border-radius: 20px;
    background-color: #fff;
    color: #202020;    
    font-size: 30px;
    font-weight: 100;
    line-height: 30px;
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
    cursor: pointer;
}
.tutor-module-text:hover {
    transform: scale(102%);
    color: #202020;
}

.t-anim-1 {
    transform: scale(100%);
    opacity: 1;
}
.t-anim-1-name {    
    animation: t-anim-1-animation 1s 1;
}
@keyframes t-anim-1-animation {
    0% {
        transform: scale(95%);
        opacity: 0;
    }
    100% {
        transform: scale(100%);
        opacity: 1;
    }
}

.t-anim-2 {
    transform: scale(100%);
    opacity: 1;
}
.t-anim-2-name {    
    animation: t-anim-2-animation 1s 1
}
@keyframes t-anim-2-animation {
    0% {
        transform: scale(95%);
        opacity: 0;
    }
    100% {
        transform: scale(100%);
        opacity: 1;
    }
}

.t-anim-3 {
    transform: scale(100%);
    opacity: 1;
}
.t-anim-3-name {    
    animation: t-anim-3-animation 1s 1
}
@keyframes t-anim-3-animation {
    0% {
        transform: scale(95%);
        opacity: 0;
    }
    100% {
        transform: scale(100%);
        opacity: 1;
    }
}

.t-anim-4 {
    transform: scale(100%);
    opacity: 1;
}
.t-anim-4-name {    
    animation: t-anim-4-animation 1s 1
}
@keyframes t-anim-4-animation {
    0% {
        transform: scale(95%);
        opacity: 0;
    }
    100% {
        transform: scale(100%);
        opacity: 1;
    }
}

.t-anim-5 {
    transform: scale(100%);
    opacity: 1;
}
.t-anim-5-name {    
    animation: t-anim-5-animation 1s 1
}
@keyframes t-anim-5-animation {
    0% {
        transform: scale(95%);
        opacity: 0;
    }
    100% {
        transform: scale(100%);
        opacity: 1;
    }
}

.t-anim-6 {
    transform: scale(100%);
    opacity: 1;
}
.t-anim-6-name {    
    animation: t-anim-6-animation 1s 1
}
@keyframes t-anim-6-animation {
    0% {
        transform: scale(95%);
        opacity: 0;
    }
    100% {
        transform: scale(100%);
        opacity: 1;
    }
}

.t-anim-7 {
    transform: scale(100%);
    opacity: 1;
}
.t-anim-7-name {    
    animation: t-anim-7-animation 1s 1
}
@keyframes t-anim-7-animation {
    0% {
        transform: scale(95%);
        opacity: 0;
    }
    100% {
        transform: scale(100%);
        opacity: 1;
    }
}

/* MODALS */
/* modal 1 */
.modal-container1 {
    position: fixed;
    display: flex;
    visibility: hidden;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    background-color: #0000007e;
    z-index: 10;
  }
  body:has(.modal-container1:target){    
    overflow-y: hidden;
  }
  .modal-container1:target {
    visibility: visible;
    opacity: 1;
  }
  .modal-window1-container {
    position: fixed;
    top: 0;
    display: grid;    
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    justify-content: center;
    align-self: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;    
    z-index: 11;
  }
  .modal-container1:target ~ .modal-window1-container {
     visibility: visible;
     opacity: 1;
   }

   /* modal 2 */
.modal-container2 {
    position: fixed;
    display: flex;
    visibility: hidden;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    background-color: #0000007e;
    z-index: 10;
  }
  body:has(.modal-container2:target){    
    overflow-y: hidden;
  }
  .modal-container2:target {
    visibility: visible;
    opacity: 1;
  }
  .modal-window2-container {
    position: fixed;
    top: 0;
    display: grid;    
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    justify-content: center;
    align-self: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;    
    z-index: 11;
  }
  .modal-container2:target ~ .modal-window2-container {
     visibility: visible;
     opacity: 1;
   }
   
   /* modal 3 */
.modal-container3 {
    position: fixed;
    display: flex;
    visibility: hidden;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    background-color: #0000007e;
    z-index: 10;
  }
  body:has(.modal-container3:target){    
    overflow-y: hidden;
  }
  .modal-container3:target {
    visibility: visible;
    opacity: 1;
  }
  .modal-window3-container {
    position: fixed;
    top: 0;
    display: grid;    
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    justify-content: center;
    align-self: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;    
    z-index: 11;
  }
  .modal-container3:target ~ .modal-window3-container {
     visibility: visible;
     opacity: 1;
   }
   
   /* modal 4 */
.modal-container4 {
    position: fixed;
    display: flex;
    visibility: hidden;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    background-color: #0000007e;
    z-index: 10;
  }
  body:has(.modal-container4:target){    
    overflow-y: hidden;
  }
  .modal-container4:target {
    visibility: visible;
    opacity: 1;
  }
  .modal-window4-container {
    position: fixed;
    top: 0;
    display: grid;    
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    justify-content: center;
    align-self: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;    
    z-index: 11;
  }
  .modal-container4:target ~ .modal-window4-container {
     visibility: visible;
     opacity: 1;
   }   
   
   /* modal 5 */
.modal-container5 {
    position: fixed;
    display: flex;
    visibility: hidden;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    background-color: #0000007e;
    z-index: 10;
  }
  body:has(.modal-container5:target){    
    overflow-y: hidden;
  }
  .modal-container5:target {
    visibility: visible;
    opacity: 1;
  }
  .modal-window5-container {
    position: fixed;
    top: 0;
    display: grid;    
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    justify-content: center;
    align-self: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;    
    z-index: 11;
  }
  .modal-container5:target ~ .modal-window5-container {
     visibility: visible;
     opacity: 1;
   }
   
   /* modal 6 */
.modal-container6 {
    position: fixed;
    display: flex;
    visibility: hidden;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    background-color: #0000007e;
    z-index: 10;
  }
  body:has(.modal-container6:target){    
    overflow-y: hidden;
  }
  .modal-container6:target {
    visibility: visible;
    opacity: 1;
  }
  .modal-window6-container {
    position: fixed;
    top: 0;
    display: grid;    
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    justify-content: center;
    align-self: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;    
    z-index: 11;
  }
  .modal-container6:target ~ .modal-window6-container {
     visibility: visible;
     opacity: 1;
   }
   
   /* modal 7 */
.modal-container7 {
    position: fixed;
    display: flex;
    visibility: hidden;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    background-color: #0000007e;
    z-index: 10;
  }
  body:has(.modal-container7:target){    
    overflow-y: hidden;
  }
  .modal-container7:target {
    visibility: visible;
    opacity: 1;
  }
  .modal-window7-container {
    position: fixed;
    top: 0;
    display: grid;    
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    justify-content: center;
    align-self: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;    
    z-index: 11;
  }
  .modal-container7:target ~ .modal-window7-container {
     visibility: visible;
     opacity: 1;
   }
   
  .closed-modal {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
  }
  .modal-window {
    position: relative;    
    align-self: center;
    justify-self: center;
    width: 80%;
    height: fit-content;
    background-color: #fff;
    color: #444;
    border-radius: 20px;
    padding: 30px;
    margin: 10px 0;
    text-decoration: none;
    z-index: 2;
 }
  .close {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -50px;
    right: 15px;    
    width: 40px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    border: unset;
    cursor: pointer;
    z-index: 2;
  }

  /* EVENTS */
.ev-card-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 30px;
    border-radius: 5px;    
    border: 1px dashed #d3d3d3;
    background-color: #fff;
    color: #202020;
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;    
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    transition: 0.5s;
}
.ev-card-container:hover {
    transform: scale(102%);
    color: #202020;
}
.ev-date-container {
    display: flex    ;
    flex-direction: column;
    width: 68px;
    min-width: 68px;
    height: 100%;
    padding-right: 30px;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px dashed #202020;
}
.ev-date-container > h1 {
    font-size: 36px;
    margin: 0;
}
.ev-date-container > p {
    font-size: 12px;
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    margin: 0;
}
.ev-date-container > span {
    font-size: 10px;
    font-family: Roboto, sans-serif;
}
.ev-text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 30px;
    height: 100%;
    text-align: left;
    overflow: hidden;
}
.ev-text-container > h1 {
    font-size: 24px;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.ev-text-container > p {
    font-size: 12px;
    font-family: Roboto, sans-serif;
    text-transform: uppercase;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}
/* calendar */
.calendar-animation {
    position: absolute;
    left: 100px;
    transform: rotate(45deg);
    bottom: 20px;
    width: 300px;
    z-index: 3;
}
.calendar-animation > img {
    width: 100%;
    object-fit: cover;
}
/* dialog */
/* body:has(dialog:open){
    overflow-y: hidden;
}
body:has(dialog:close){
    overflow-y: scroll;
} */
dialog:open {
    display: block!important;
}
.dialog {
    position: fixed;
    display: none;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: unset;
    max-width: unset;
    height: unset;
    max-height: unset;
    align-items: center;
    border: 0;
    padding: 0;
    background: #00000069;
    z-index: 5;
}
.dialog-container {
    position: relative;
    display: grid;
    height: 100%;
    width: 100%;
    overflow-x: unset;
    overflow-y: scroll;
}
.closed-dialog-bg {
    position: sticky;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: unset;
    border: unset;
    cursor: default;
    z-index: 1;
}
.dialog-window-container {
    position: absolute;
    top: 10px;
    width: 80%;
    max-width: 1200px;
    align-self: center;
    justify-self: center;
}
.dialog-window {
    position: relative;
    height: fit-content;
    background-color: #fff;
    color: #202020;
    border-radius: 20px;
    padding: 30px;
    margin: 10px 0;
    text-decoration: none;
    z-index: 2;
}
.dialog-window > h1 {
    font-size: 32px;
    text-transform: uppercase;
    margin: 0;
    /* white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden; */
}
.dialog-window > img {
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.closed-dialog {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: -50px;
    right: 15px;    
    width: 40px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    border: unset;
    cursor: pointer;
    z-index: 2;
}
/* blog */
.blog-card-container {
    width: 25%;
    height: 400px;
    padding: 5px;
    background: unset;
    border: unset;
}
.blog-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    background-color: #fff;
    color: #202020;
    transition: 0.5s;
    cursor: pointer;
    font-family: Oswald;
    text-align: left;
}
.blog-card:hover {
    transform: scale(102%);
    box-shadow: 0px 7px 12px 5px #00000040;
    z-index: 2;
}
.blog-card-img {
    width: 100%;
    height: 60%;
}
.blog-card-img > img {
    width: 100%;
    object-fit: cover;
}
.rotate-white-block {
    position: absolute;
    top: 45%;
    left: -60px;
    width: 150%;
    height: 100px;
    background: #fff;
    transform: rotate(-6deg);
    z-index: 1;
}
.blog-card-text {
    position: relative;
    width: 100%;
    height: 40%;
    padding: 0 30px 30px 30px;
    z-index: 2;
}
.blog-card-text > h1 {
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    margin-bottom: 10px;
}
.blog-card-text > p {
    font-size: 14px;
    font-family: Roboto, sans-serif;
    margin: 0;
}

/* SELF-DIAGNOSTICS SERVICE */
/* Инвертированный вариант блока «Цифровой сервис наставничества»:
   там жёлтый фон и белые плашки, здесь белый фон и жёлтые плашки. */
.sd-module-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: left;
    width: 100%;
    margin-bottom: 20px;
    z-index: 2;
}
.sd-module-line {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 100%;
    border-top: 2px dotted #fab702;
}
.sd-module-number {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    min-width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fab702;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
}
.sd-module-text {
    position: relative;
    left: 10px;
    width: 90%;
    padding: 30px;
    border-radius: 20px;
    background-color: #fab702;
    color: #fff;
    font-size: 30px;
    font-weight: 100;
    line-height: 30px;
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
    cursor: pointer;
}
.sd-module-text:hover {
    transform: scale(102%);
    background-color: #ff8a00;
    color: #fff;
}

.sd-anim-1 {
    transform: scale(100%);
    opacity: 1;
}
.sd-anim-1-name {
    animation: sd-anim-1-animation 1s 1;
}
@keyframes sd-anim-1-animation {
    0% {
        transform: scale(95%);
        opacity: 0;
    }
    100% {
        transform: scale(100%);
        opacity: 1;
    }
}

.sd-anim-2 {
    transform: scale(100%);
    opacity: 1;
}
.sd-anim-2-name {
    animation: sd-anim-2-animation 1s 1;
}
@keyframes sd-anim-2-animation {
    0% {
        transform: scale(95%);
        opacity: 0;
    }
    100% {
        transform: scale(100%);
        opacity: 1;
    }
}

.sd-anim-3 {
    transform: scale(100%);
    opacity: 1;
}
.sd-anim-3-name {
    animation: sd-anim-3-animation 1s 1;
}
@keyframes sd-anim-3-animation {
    0% {
        transform: scale(95%);
        opacity: 0;
    }
    100% {
        transform: scale(100%);
        opacity: 1;
    }
}

/* SELF-DIAGNOSTICS CONTENT */
/* Оформление include-фрагментов из include/selfdiagnostics/. Стили лежат
   здесь, а не внутри фрагментов: на selfdiagnostics.html все три фрагмента
   выводятся на одной странице и <style> в каждом дублировался бы. */
.sd-content {
    width: 100%;
}
.sd-content > ul {
    padding-left: 20px;
}
.sd-content > ul > li {
    margin-bottom: 8px;
}
.sd-chain {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* Промежуток по горизонтали держит стрелку-разделитель между
       таблетками: она позиционируется в него абсолютно (см. ::after ниже).
       По вертикали при переносе строк такой зазор не нужен. */
    gap: 12px 24px;
}
.sd-chain-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border: 1px solid #fab702;
    border-radius: 20px;
    background-color: #fff8e5;
    color: #202020;
    font-family: Roboto, sans-serif;
    font-size: 15px;
}
.sd-chain-item:not(:last-child):after {
    content: "›";
    position: absolute;
    /* Стрелка шириной ~5px центрируется в 24px промежутке: правый край
       на -14px оставляет примерно по 9-10px воздуха с обеих сторон.
       При right: -12px и зазоре 10px она наезжала на соседнюю таблетку. */
    right: -14px;
    color: #fab702;
    font-weight: bold;
}
.sd-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.sd-card {
    padding: 20px;
    border: 1px solid #ececec;
    border-left: 4px solid #fab702;
    border-radius: 12px;
    background-color: #fcfcfc;
}
.sd-card-title {
    font-family: Oswald, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #202020;
    margin: 0 0 6px 0;
}
.sd-card-text {
    font-family: Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
    margin: 0;
}
.sd-steps {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sd-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.sd-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #fab702;
    color: #fff;
    font-family: Oswald, sans-serif;
    font-weight: bold;
    font-size: 16px;
}
.sd-step-body {
    padding-top: 4px;
}
.sd-step-title {
    font-family: Oswald, sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #202020;
    margin: 0 0 4px 0;
}
.sd-step-text {
    font-family: Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
    margin: 0;
}
.sd-note {
    padding: 16px 20px;
    border-radius: 12px;
    background-color: #fff8e5;
    border: 1px dashed #fab702;
    color: #202020;
}
/* Скриншоты платформы внутри фрагментов самодиагностики.
   Работают и в модалке about.html, и на отдельной странице. */
.sd-fig {
    margin: 0 0 20px 0;
}
.sd-fig a {
    display: block;
    border: 1px solid #ececec;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
    transition: 0.3s;
}
.sd-fig a:hover {
    border-color: #fab702;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.1);
}
.sd-fig img {
    display: block;
    width: 100%;
    height: auto;
}
.sd-fig figcaption {
    margin-top: 8px;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.45;
    color: #6b6b6b;
}

/* Отдельная страница selfdiagnostics.html: три фрагмента подряд */
.sd-page-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.sd-page-block {
    position: relative;
    width: 100%;
    padding: 30px 0;
}
.sd-page-block + .sd-page-block {
    border-top: 1px solid #ececec;
}
.sd-page-kicker {
    display: inline-block;
    margin: 0 0 10px 0;
    padding: 4px 14px;
    border-radius: 20px;
    background-color: #fab702;
    color: #fff;
    font-family: Oswald, sans-serif;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 850px) {
    .sd-cards {
        grid-template-columns: 1fr;
    }
    .sd-module-text {
        font-size: 22px;
        line-height: 26px;
        padding: 20px;
    }
}

/* modal 8 */
.modal-container8 {
    position: fixed;
    display: flex;
    visibility: hidden;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    background-color: #0000007e;
    z-index: 10;
  }
  body:has(.modal-container8:target){
    overflow-y: hidden;
  }
  .modal-container8:target {
    visibility: visible;
    opacity: 1;
  }
  .modal-window8-container {
    position: fixed;
    top: 0;
    display: grid;
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    justify-content: center;
    align-self: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    z-index: 11;
  }
  .modal-container8:target ~ .modal-window8-container {
     visibility: visible;
     opacity: 1;
   }

/* modal 9 */
.modal-container9 {
    position: fixed;
    display: flex;
    visibility: hidden;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    background-color: #0000007e;
    z-index: 10;
  }
  body:has(.modal-container9:target){
    overflow-y: hidden;
  }
  .modal-container9:target {
    visibility: visible;
    opacity: 1;
  }
  .modal-window9-container {
    position: fixed;
    top: 0;
    display: grid;
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    justify-content: center;
    align-self: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    z-index: 11;
  }
  .modal-container9:target ~ .modal-window9-container {
     visibility: visible;
     opacity: 1;
   }

/* modal 10 */
.modal-container10 {
    position: fixed;
    display: flex;
    visibility: hidden;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    background-color: #0000007e;
    z-index: 10;
  }
  body:has(.modal-container10:target){
    overflow-y: hidden;
  }
  .modal-container10:target {
    visibility: visible;
    opacity: 1;
  }
  .modal-window10-container {
    position: fixed;
    top: 0;
    display: grid;
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    justify-content: center;
    align-self: center;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 0;
    z-index: 11;
  }
  .modal-container10:target ~ .modal-window10-container {
     visibility: visible;
     opacity: 1;
   }

/* Блоки самодиагностики длиннее экрана. У .modal-window выставлен
   align-self: center, из-за чего высокое окно вылезает за верх вьюпорта
   вместе с кнопкой закрытия (у .close top: -50px). Прижимаем окно к верху
   и оставляем сверху место под крестик — только для модалок 8-10. */
  .modal-window8-container,
  .modal-window9-container,
  .modal-window10-container {
    align-content: start;
    padding-top: 70px;
  }
  .modal-window8-container > .modal-window,
  .modal-window9-container > .modal-window,
  .modal-window10-container > .modal-window {
    align-self: start;
  }

/* TARIFFS */
.tariffs-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    align-items: stretch;
    margin: 40px 0 60px;
}
.tariff-card {
    display: flex;
    flex-direction: column;
    background-color: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 5px;
}
/* Шапка прилипает в 80px от верха экрана и едет внутри .tariff-content,
   поэтому останавливается у его нижней границы — за 10px до кнопки.
   overflow: hidden на карточке сломал бы sticky, поэтому его нет. */
.tariff-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}
.tariff-name {
    position: sticky;
    top: 80px;
    z-index: 1;
    margin: -1px -1px 0;
    padding: 15px 20px;
    background-color: #333;
    border-top: 3px solid #fab702;
    border-radius: 5px 5px 0 0;
    box-shadow: 0 6px 8px -6px #00000080;
    color: #fff;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.tariff-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 20px 15px;
    font-family: Roboto, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}
.tariff-body p {
    margin: 0;
}
.tariff-price {
    color: #fab702;
    font-family: Oswald, sans-serif;
    font-size: 30px;
    line-height: 1.2;
}
.tariff-period {
    font-size: 18px;
    font-weight: 300;
}
.tariff-commission {
    margin-top: 8px !important;
    color: #fff;
    font-weight: bold;
}
.tariff-audience {
    margin-top: 6px !important;
    color: #a8a8a8;
}
.tariff-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.tariff-quotas {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 15px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid #444;
    color: #fff;
}
.tariff-quotas li,
.tariff-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.tariff-icon {
    flex: none;
    width: 16px;
    height: 16px;
    fill: #fab702;
}
.tariff-features {
    flex: 1;
    padding-top: 5px;
}
.tariff-group {
    margin-top: 12px !important;
    color: #fff;
    font-size: 14px;
}
.tariff-features ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 8px 0 0 7px;
    padding-left: 15px;
    border-left: 1px solid #444;
}
.tariff-features li,
.tariff-legend {
    display: flex;
    gap: 8px;
    color: #d3d3d3;
}
.tariff-mark {
    flex: none;
    width: 12px;
    height: 12px;
    margin-top: 3px;
    fill: #fab702;
}
/* Пункты корпоративного тарифа, условия которых определяются договором */
.tariff-by-contract {
    font-style: italic;
}
li.tariff-by-contract,
.tariff-legend {
    color: #a8a8a8;
}
li.tariff-by-contract .tariff-mark,
.tariff-legend .tariff-mark {
    fill: #a8a8a8;
}
.tariff-legend {
    margin-top: 20px !important;
    font-size: 12px;
    font-style: italic;
}
.tariff-button {
    margin: 10px 20px 20px;
    padding: 12px 10px;
    font-family: Oswald, sans-serif;
    font-size: 16px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}
@media (max-width: 1100px) {
    .tariffs-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
/* На телефоне меню в две строки (~105px), шапка тарифа встаёт под ним */
@media (max-width: 740px) {
    .tariff-name {
        top: 115px;
    }
}
@media (max-width: 640px) {
    .tariffs-grid {
        grid-template-columns: minmax(0, 1fr);
        margin: 30px 0 40px;
    }
    .tariff-body {
        font-size: 14px;
    }
    .tariffs-section.padding-top-100 {
        padding-top: 20px !important;
    }
}

/* FEATURES */
/* Лендинг возможностей features.html и секции модулей на about.html.
   Фрагменты фич (include/features/<модуль>/<фича>.html) оформлены классами
   ft-*: по умолчанию — светлая тема, она же в модалке about.html; секции
   лендинга переключают её через .ft-theme-yellow / .ft-theme-dark. */
.ft-module {
    width: 100%;
}
.ft-anchor,
.ft-feature {
    scroll-margin-top: 120px;
}
.ft-kicker {
    display: inline-block;
    margin: 0 0 14px 0;
    padding: 4px 14px;
    border-radius: 20px;
    background-color: #fab702;
    color: #fff;
    font-family: Oswald, sans-serif;
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ft-module-head {
    display: flex;
    align-items: center;
    gap: 18px;
}
.ft-module-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: #fab702;
}
.ft-module-icon .ft-icon-svg {
    width: 30px;
    height: 30px;
    fill: #fff;
}
.ft-module-title {
    margin: 0;
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
}
.ft-module-lead {
    margin: 20px 0 0 0;
    font-size: 30px;
    font-weight: 100;
    line-height: 1.2;
}
.ft-module-extra {
    margin: 14px 0 0 0;
    font-family: Roboto, sans-serif;
    font-size: 16px;
}
.ft-module-extra a {
    text-decoration: underline;
}
.ft-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
}
.ft-feature {
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #ececec;
    border-left: 4px solid #fab702;
    border-radius: 16px;
    background-color: #fcfcfc;
    color: #444;
}
.ft-feature-target {
    animation: ft-feature-target 2.5s ease-out 1;
}
@keyframes ft-feature-target {
    0%, 40% {
        box-shadow: 0 0 0 4px #fab702;
    }
    100% {
        box-shadow: 0 0 0 4px transparent;
    }
}
.ft-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}
.ft-icon {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: #fff3d6;
}
.ft-icon .ft-icon-svg {
    width: 22px;
    height: 22px;
    fill: #fab702;
}
.ft-title {
    margin: 0;
    color: #202020;
    font-family: Oswald, sans-serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.2;
}
.ft-lead {
    margin: 0 0 12px 0;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.55;
    color: #444;
}
.ft-points {
    margin: 0 0 14px 0;
    padding: 0;
    list-style: none;
    font-family: Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    color: #444;
}
.ft-points li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 6px;
}
.ft-points li:before {
    content: "✓";
    position: absolute;
    left: 2px;
    color: #fab702;
    font-weight: bold;
}
.ft-quotas {
    margin: 0 0 14px 0;
    font-family: Roboto, sans-serif;
}
.ft-quotas > div {
    padding: 10px 0;
    border-top: 1px solid #ececec;
}
.ft-quotas dt {
    color: #202020;
    font-family: Oswald, sans-serif;
    font-size: 17px;
}
.ft-quotas dd {
    margin: 2px 0 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: #555;
}
.ft-note {
    margin: 0 0 14px 0;
    padding: 10px 14px;
    border: 1px dashed #fab702;
    border-radius: 10px;
    background-color: #fff8e5;
    color: #202020;
    font-family: Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
.ft-note a {
    text-decoration: underline;
}
.ft-plans {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 6px;
}
.ft-plans-label {
    margin-right: 4px;
    color: #888;
    font-family: Oswald, sans-serif;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ft-plan {
    padding: 4px 10px;
    border: 1px solid #fab702;
    border-radius: 20px;
    background-color: #fff8e5;
    color: #202020;
    font-family: Roboto, sans-serif;
    font-size: 12px;
}
.ft-plan b {
    font-weight: 500;
}
.ft-plan-contract {
    border-style: dashed;
    border-color: #bbb;
    background-color: transparent;
    color: #666;
}
.ft-module-actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.ft-tariffs-link,
.ft-intro-button {
    padding: 12px 28px;
    border-radius: 3px;
    background-color: #fab702;
    color: #fff;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}
.ft-tariffs-link:hover {
    background-color: #ff8a00;
    color: #fff;
}

/* жёлтая секция: белые карточки, как плитки наставничества */
.ft-theme-yellow .ft-kicker {
    background-color: #fff;
    color: #ff8a00;
}
.ft-theme-yellow .ft-module-icon {
    background-color: #fff;
}
.ft-theme-yellow .ft-module-icon .ft-icon-svg {
    fill: #fab702;
}
.ft-theme-yellow .ft-feature {
    border: 0;
    border-left: 4px solid #202020;
    background-color: #fff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
}
.ft-theme-yellow .ft-tariffs-link {
    background-color: #202020;
}
.ft-theme-yellow .ft-tariffs-link:hover {
    background-color: #000;
}

/* тёмная секция */
.ft-theme-dark .ft-module-lead {
    color: #fff;
}
.ft-theme-dark .ft-module-extra {
    color: #d3d3d3;
}
.ft-theme-dark .ft-feature {
    border-color: #3a3a3a;
    border-left-color: #fab702;
    background-color: #2a2a2a;
}
.ft-theme-dark .ft-icon {
    background-color: #3a3426;
}
.ft-theme-dark .ft-title,
.ft-theme-dark .ft-quotas dt {
    color: #fff;
}
.ft-theme-dark .ft-lead,
.ft-theme-dark .ft-points {
    color: #d3d3d3;
}
.ft-theme-dark .ft-quotas > div {
    border-top-color: #3a3a3a;
}
.ft-theme-dark .ft-quotas dd {
    color: #bbb;
}
.ft-theme-dark .ft-note {
    background-color: #2f2a1c;
    color: #eee;
}
.ft-theme-dark .ft-plan {
    background-color: transparent;
    color: #fab702;
}
.ft-theme-dark .ft-plan-contract {
    border-color: #666;
    color: #aaa;
}

@media (max-width: 850px) {
    .ft-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ft-module-title {
        font-size: 30px;
    }
    .ft-module-lead {
        font-size: 22px;
    }
    .ft-module-icon {
        width: 52px;
        height: 52px;
    }
    .ft-module-icon .ft-icon-svg {
        width: 24px;
        height: 24px;
    }
    .ft-feature {
        padding: 18px;
    }
}

/* Плитки возможностей в секциях модулей about.html — по образцу
   «Цифрового сервиса наставничества» (.tutor-module-*) и «Центра
   самодиагностики» (.sd-module-*), но в две колонки: возможностей
   в модуле до 14. Пунктирная линия — только у левой колонки. */
.fm-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 30px;
}
.fm-item {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 2;
}
.fm-item-shown {
    animation: fm-item-shown 1s 1;
}
@keyframes fm-item-shown {
    0% {
        transform: scale(95%);
        opacity: 0;
    }
    100% {
        transform: scale(100%);
        opacity: 1;
    }
}
.fm-line {
    position: absolute;
    top: 50%;
    right: 100%;
    width: 100%;
    border-top: 2px dotted #fab702;
}
.fm-item:nth-child(even) > .fm-line {
    display: none;
}
.fm-number {
    display: flex;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #fab702;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}
.fm-text {
    display: flex;
    flex: 1;
    align-items: center;
    align-self: stretch;
    margin-left: 10px;
    padding: 20px 24px;
    border-radius: 20px;
    background-color: #fab702;
    color: #fff;
    font-size: 22px;
    font-weight: 100;
    line-height: 1.2;
    box-shadow: 0px 6px 10px 0px rgba(0, 0, 0, 0.15);
    transition: 0.5s;
    cursor: pointer;
}
.fm-text:hover {
    transform: scale(102%);
    background-color: #ff8a00;
    color: #fff;
}
.fm-theme-yellow .fm-line {
    border-top-color: #fff;
}
.fm-theme-yellow .fm-number {
    background-color: #fff;
    color: #fab702;
}
.fm-theme-yellow .fm-text,
.fm-theme-yellow .fm-text:hover {
    background-color: #fff;
    color: #202020;
}
.fm-theme-dark .fm-number {
    color: #202020;
}
.fm-theme-dark .fm-text {
    border: 1px solid #ffffff80;
    background-color: transparent;
    box-shadow: none;
}
.fm-theme-dark .fm-text:hover {
    border-color: #fab702;
    background-color: #ffffff14;
}
@media (max-width: 850px) {
    .fm-list {
        grid-template-columns: minmax(0, 1fr);
    }
    .fm-item:nth-child(even) > .fm-line {
        display: block;
    }
    .fm-text {
        font-size: 20px;
        padding: 16px 20px;
    }
}

/* Общая фиксированная модалка по образцу .modal-container1: окно возможности
   на about.html (#ft-modal) и заявка на тариф на tariffs.html (#request-form) */
.page-modal-container {
    position: fixed;
    display: flex;
    visibility: hidden;
    opacity: 0;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    justify-content: center;
    background-color: #0000007e;
    z-index: 10;
}
body:has(.page-modal-container:target) {
    overflow-y: hidden;
}
.page-modal-container:target {
    visibility: visible;
    opacity: 1;
}
.page-modal-window-container {
    position: fixed;
    top: 0;
    display: grid;
    visibility: hidden;
    opacity: 0;
    width: 100%;
    height: 100vh;
    max-height: 100vh;
    justify-content: center;
    align-content: start;
    overflow-x: hidden;
    overflow-y: auto;
    /* окно встаёт на 20px ниже закреплённого меню (низ меню — 90px) */
    padding: 90px 0 10px;
    z-index: 11;
}
.page-modal-container:target ~ .page-modal-window-container {
    visibility: visible;
    opacity: 1;
}
.page-modal-window-container > .modal-window {
    align-self: start;
    width: min(760px, 92vw);
    box-sizing: border-box;
}
@media (max-width: 740px) {
    /* на телефоне меню в две строки, его низ — около 105px */
    .page-modal-window-container {
        padding-top: 115px;
    }
}
.ft-modal-more {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}
/* Строки тарифных карточек ведут на описание возможности в features.html */
.tariff-link {
    color: inherit;
    text-decoration: underline dotted;
    text-decoration-color: #ffffff40;
    text-underline-offset: 3px;
    transition: 0.2s;
}
.tariff-link:hover {
    color: #fab702;
    text-decoration-color: #fab702;
}
