.about .header-top {
    background: none;
    padding: 20px 0 0;
    margin-bottom: 20px;
}
.about .header-top .header-list {
    padding: 12px 20px;
    background: #fff;
    border-radius: 100px;
}
.about .header-phone{
    font-size: 14px;
}

header.about .callback {
    font-size: 12px;
}

.about-banners__list {
    display: flex;
    gap: 20px;
    align-items: stretch;
    margin-bottom: 110px;
}
.about-banners__left {
    border-radius: 40px;
    background: url(../img/about-banner-bg.jpg);
    width: 60%;
    background-size: cover;
    padding: 48.5px 109px;
    text-align: center;
}
.about-banners__list h1 {
    font-size: 60px;
    text-align: center;
    font-family: "Geologica";
    color: #fff;
    font-weight: 600;
    margin-bottom: 24px;
}
.about-banners__right {
    width: 40%;
    border-radius: 40px;
    overflow: hidden;
}
.about-banners__right video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-banners__desc {
    color: #fff;
    font-family: "Geologica";
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 36px;
}
.about-banners__order {
    width: 309px;
    height: 311px;
    border-radius: 32px;
    background: #FDECF2;
    margin: 0 auto;
}
.about-banners__img {
    height: 250px;
}
.about-banners__link {
    background: #fff;
    border-radius: 0 0 32px 32px;
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #272727;
    height: 60px;
    line-height: 60px;
    padding-right: 38px;
    position: relative;
}
.about-banners__link:hover {
    text-decoration: none;
    color: #272727;
}
.about-banners__link:after {
    position: absolute;
    content:'';
    background: url(../img/about-arrow.svg);
    width: 30px;
    height: 30px;
    top: calc(50% - 15px);
    margin-left: 8px;
}

.company-experience {
    margin-bottom: 110px;
}
.company-experience__list {
    position: relative;
    text-align: center;
    min-height: 482px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.company-experience .text-block {
  font-size: 50px;
  line-height: 1.3;
  font-weight: 600;
  color: #1e1e1e;
  z-index: 2;
  position: relative;
  font-family: "Geologica";
}

.company-experience .text-line {
  font-family: "Geologica";
  opacity: 0;
  transform: translateX(-100%);
  animation: slideInLeft 1s ease-out forwards;
  animation-delay: 1s; 
}

.company-experience .text-line:nth-child(2) {
  transform: translateX(100%);
  animation: slideInRight 1s ease-out forwards;
  animation-delay: 2.2s; 
}

.company-experience .text-line:nth-child(3) {
  transform: translateX(-100%);
  animation: slideInLeft 1s ease-out forwards;
  animation-delay: 3.4s; 
}

.company-experience .highlight {
  color: #F5679B;
  font-family: "Geologica";
}

.company-experience__list {
  position: relative;
  perspective: 1200px;
}

/*
.flip-card {
  position: absolute;
  width: 176px;
  height: 169px;
  transform-style: preserve-3d;
  animation: spin 6s linear infinite;
}

@keyframes spin {
  0%   { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}


.flip-card:nth-child(1) { animation-delay: 0s; }
.flip-card:nth-child(2) { animation-delay: 1s; }
.flip-card:nth-child(3) { animation-delay: 2s; }
.flip-card:nth-child(4) { animation-delay: 3s; }

.card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
}

.card__face--front { z-index: 2; }
.card__face--back  { transform: rotateY(180deg); }
*/

.img {
  position: absolute;
      width: 176px;
      height: 169px;
      object-fit: cover;
      border-radius: 16px;
      opacity: 0;
      transform: translateY(40px); /* старт снизу */
      transition: opacity 1s ease, transform 1.2s ease;
}
.img.visible {
      opacity: 1;
      transform: translateY(0); /* на место */
}

.company-experience .top-left   { top: 0; left: 0; }
.company-experience .top-right  { top: 0; right: 0; }
.company-experience .bottom-left{ bottom: 0; left: 15%; }
.company-experience .bottom-right{ bottom: 0; right: 15%; }

@keyframes slideInLeft {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


.about-company {
    margin-bottom: 110px;
}
.about-company__list {
    display: flex;
    gap: 40px;
    align-items: stretch;
    background: #fff;
    border-radius: 48px;
}
.about-company__img {
    border-radius: 48px;
    height: auto;
    display: flex;
    align-items: flex-end;
    width: 556px;
    background-size: cover !important;
    background-position: center !important;
    padding: 14px 33px;
}
.image-desc {
    background: rgba(162, 194, 255, 0.11);
    backdrop-filter: blur(40px);
    border-radius: 41px;
    padding: 4px 46px;
}
.about-company__content {
    width: calc(100% - 556px - 40px);
    padding: 28px 40px 40px 0;
}
.about-company__specialist {
    font-size: 18px;
    font-weight: 300;
    font-family: "Geologica";
    color: #fff;
}
.about-company__name {
    font-family: "Geologica";
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}
.about-company__content h3 {
    font-size: 36px;
    font-weight: 600;
    font-family: "Geologica";
    line-height: 1.3;
    margin-bottom: 22px;
}
.who-we {
    margin-top: 14px;
}
.about-company__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.about-company__tag {
    background: #F2F4F5;
    border-radius: 60px;
    padding: 0px 16px;
    font-size: 15px;
    font-family: "Geologica";
    white-space: wrap;
    height: 45px;
    line-height: 45px;
}

.who-we__list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.who-we__content {
    background-color: #2455f6;   
    color: #fff;                
    position: relative;
    overflow: hidden;
    min-height: 290px;
}


.who-we__text {
    max-width: calc(100% - 140px);
    margin-bottom: 12px;
}

.who-we__small {
    max-width: calc(100% - 120px);
    color: rgba(34, 34, 34, 0.5); 
    font-size: 12px;
}

.who-we__row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.who-we__item {
    border: 1px solid #2753BB;
    padding: 26px;
    border-radius: 41px;
    width: calc(50% - 4px);
    transition: 0.3s ease-out;
}
.who-we__item:hover {
    background: #2753BB;
    color: #fff;
    transition: 0.3s ease-out;
}


.who-we__num-text {
    font-size: 40px;
    line-height: 60px;
    font-weight: 700;
    font-family: "Geologica";
    color: #2753BB; 
}
.who-we__item:hover .who-we__num-text {
    color: #fff;
    transition: 0.3s ease-out;
}
.who-we__desc {
    font-size: 18px;
    line-height: 1.8;
    font-weight: 300;
    font-family: "Geologica";
}

.trust-us {
    margin-bottom: 110px;
}

.trust-us h2 {
    text-align: center;
    font-size: 50px;
    font-weight: 600;
    font-family: "Geologica";
    line-height: 1.3;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}
.trust-us h2 span {
    font-weight: 600;
    font-family: "Geologica";
    color: #F5679B;
}
.trust-us__subtitle {
    text-align: center;
    font-size: 30px;
    line-height: 1.3;
    font-family: "Geologica";
    margin-bottom: 52px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease-out, transform .6s ease-out;
}
.trust-us h2.visible,
.trust-us__subtitle.visible {
  opacity: 1;
  transform: translateY(0);
}
.trust-us__subtitle {
  transition-delay: .2s;
}

.stacked-cards {
  position: relative;
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 80px;
}

.trust-us__card {
  width: 320px;
  height: 385px;
  text-align: center;
  transform: translateY(150px);
  z-index: 0;
  opacity: 0;
  transform: translateY(40px) rotate(0deg); /* начальное положение */
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.trust-us__card.visible {
  opacity: 1;
}
.trust-us__card:first-child.visible {
    transform: rotate(-12deg);
}
.trust-us__card:nth-of-type(2).visible {
    transform: rotate(12deg);
    z-index: 10 !important;
    color: #fff;
}
.trust-us__card:nth-of-type(3).visible {
    transform: rotate(10deg);
    color: #fff;
}
.trust-us__card:nth-of-type(2) .trust-us__content {
    background: #F5679B;
}
.trust-us__card:nth-of-type(3).visible {
    transform: rotate(0deg);
    color: #fff;
}
.trust-us__card:nth-of-type(4).visible {
    transform: rotate(12deg);
    z-index: 10 !important;
}
.trust-us__card:nth-of-type(3) .trust-us__content {
    background: #2753BB;
}
.trust-us__content {
    padding: 40px 12px 12px;
    border-radius: 40px;
    background: #fff;
}
.trust-us__icon {
    position: absolute;
    left: calc(50% - 28px);
    top: -28px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    border: 6px solid #F2F4F5;
    display: flex;
    justify-content: center;
    align-items: center;
}
.trust-us__head {
    min-height: 100px;
    margin-bottom: 24px;
}
.trust-us__title {
    font-size: 24px;
    line-height: 1.2;
    font-family: "Geologica";
    margin-bottom: 8px;
}
.trust-us__text {
    font-size: 15px;
    line-height: 1.2;
    font-family: "Geologica";
    
}
.trust-us__img {
    border-radius: 40px;
    overflow: hidden;
}
.trust-us__img img {
    max-width: 100%;
}
.company-bottom-banner {
    margin-bottom: 30px;
}
.banner-img {
    border-radius: 40px;
    overflow: hidden;
}

.footer--about {
    background: #F2F4F5;
    margin: 0 0 80px;
    padding: 0;
}
.footer__list {
    background: url(../img/footer.jpg);
    background-size: cover;
    padding: 56px 40px;
    border-radius: 40px;
    display: flex;
    gap: 104px;
    justify-content: space-between;
}
.footer__left {
    width: 68%;
}
.footer__right {
    width: 32%;
}
.footer__title {
    font-size: 40px;
    font-weight: 500;
    font-family: "Geologica";
    line-height: 1.2;
    color: #fff;
    margin-bottom: 30px;
}
.subscribe {
    font-size: 22px;
    font-weight: 700;
    color: #3D5E9E;
    padding: 10px 41px;
    border-radius: 100px;
    background: #fff;
}
.subscribe:hover {
    color: #2C61C6;
    text-decoration: none;
}
.footer__item {
    margin-bottom: 33px;
}
.footer__link {
    font-family: "Geologica";
    font-size: 30px;
    font-weight: 600;
    color: #fff;
}
.footer__small {
    font-family: "Geologica";
    font-size: 18px;
    color: #fff;
}
#aboutorderModal .modal-dialog {
    width: 980px;
    max-width: 980px;
}
#aboutorderModal .consultation-container {
    max-width: 100%;
    gap: 50px;
}
#aboutorderModal .form-right {
    padding: 30px;
}
#aboutorderModal a {
    border-bottom: none;
}
#aboutorderModal .close {
    right: 30px;
    top: 30px;
}

@media screen and (max-width: 1400px) {
    .trust-us__card:nth-of-type(3) {
        left: 395px;
    }
    .trust-us__card:nth-of-type(4) {
        left: 705px;
    }
    .footer__title, .company-experience .text-block {
        font-size: 42px;
    }
}


@media screen and (max-width: 1278px) {
    .about .main-menu li {
        white-space: nowrap;
    }
    .about-banners__left {
        padding: 30px 40px;
    }
    .about-banners__list h1 {
        font-size: 42px;
    }
    .about-banners__desc {
        font-size: 24px;
    }
    .footer__title, .company-experience .text-block {
        font-size: 36px;
    }
    .about-company__list {
        flex-direction: column;
    }
    .about-company__img {
        width: 100%;
        height: 800px;
    }
    .about-company__content {
        width: 100%;
        padding: 0px 40px 40px;
    }
    .stacked-cards {
        display: flex;
        gap: 48px 24px;
        flex-wrap: wrap;
    }
    .trust-us__card {
        position: relative;
        top: unset;
        width: calc(50% - 12px);
    }
    .trust-us__card:first-child, .trust-us__card:nth-of-type(2), .trust-us__card:nth-of-type(3), .trust-us__card:nth-of-type(4) {
        transform: rotate(0deg);
        left: unset;
    }
    .trust-us__img {
        height: 209px;
    }
    .banner-img {
        height: 400px;
    }
    .banner-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .trust-us__img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .footer__title {
        font-size: 30px;
    }
    .footer__link {
        font-size: 24px;
    }
    .footer__small {
        font-size: 17px;
    }
    .footer__list {
        padding: 48px 40px;
    }
    #aboutorderModal .modal-dialog {
        width: 100%;
        max-width: 980px;
    }
}

@media screen and (max-width: 978px) {
    .about-banners__list {
        flex-direction: column;
    }
    .about-banners__left {
        width: 100%;
    }
    .about-banners__right {
      width: 100%;
      height: 300px;
    }
    .footer__title, .company-experience .text-block {
        font-size: 24px;
    }
    .about-company__img {
        height: 650px;
    }
    .about-company__content h3 {
        font-size: 30px;
    }
    .trust-us h2 {
        font-size: 36px;
    }
    .who-we__desc {
        font-size: 16px;
        line-height: 1.5;
    }
    .trust-us__subtitle {
        font-size: 21px;
    }
    .trust-us__head {
        min-height: 120px;
    }
    .footer__list {
        gap: 48px;
    }
    .footer__left {
        width: 60%;
    }
    .footer__right {
        width: 40%;
    }
    
}

@media screen and (max-width: 767px) {
    header.about {
        height: 110px;
    }
    .about-company__img {
        height: 600px;
    }
    .trust-us__card:first-child.visible, .trust-us__card:nth-of-type(2).visible, .trust-us__card:nth-of-type(4).visible {
        transform: rotate(0deg);
    }
}

@media screen and (max-width: 600px) {
    .about-banners__list h1 {
        font-size: 30px;
    }
    .about-banners__desc {
        font-size: 20px;
    }
    .about-banners__left {
        padding: 30px 20px;
    }
    .about-banners__list, .company-experience, .about-company, .trust-us {
        margin-bottom: 60px;
    }
    .footer__title, .company-experience .text-block {
        font-size: 21px;
    }
    .company-experience .bottom-left {
        left: 5%;
    }
    .company-experience .bottom-right {
        right: 5%;
    }
    .about-company__img {
        height: 550px;
    }
    .about-company__content h3, .trust-us h2 {
        font-size: 24px;
    }
    .who-we__item {
        width: 100%;
    }
    .trust-us__subtitle {
        font-size: 18px;
    }
    .trust-us__card {
        width: 100%;
    }
    .footer__list {
        flex-direction: column;
    }
    .footer__left, .footer__right {
        width: 100%;
    }
    .subscribe {
        font-size: 17px;
    }
    .trust-us__head {
        min-height: unset;
    }
    #aboutorderModal .consultation-container {
        padding: 30px 16px;
    }
    #aboutorderModal .form-right {
        padding: 20px;
    }
    .about-banners__order {
        max-width: 100%;
    }
    .about-company__content {
        width: 100%;
        padding: 0px 24px 24px;
    }
    .banner-img {
        height: 300px;
    }


    .about-banners__right {
        height: auto;
    }
}