@media (max-width: 1919px) {
    .header {
        padding: 30px 33px 0px 33px;
    }

    .header__logo {
        height: 18px;
        width: 179px;
    }

    .header__burger {
        width: 30px;
        height: 30px;
    }

    .header__burger img {
        width: 14px;
    }

    /* .hero */
    .hero__inner {
        gap: 174px;
        padding-bottom: 44px;
    }

    .hero__lead {
        font-size: 12px;
        max-width: 305px;
    }

    .hero__line-cap {
        width: 47px;
        height: 5px;
    }

    .hero__top {
        padding-right: 54px;
    }

    .hero__bottom {
        padding-left: 33px;
        padding-right: 33px;
        gap: 15px;
    }

    .hero__title {
        font-size: 56px;
        max-width: 1100px;
    }

    .hero__scroll {
        width: 82px;
        height: 82px;
    }

    .hero__scroll img {
        width: 14px;
    }

    .hero__buttons {
        gap: 13px;
    }

    .btn {
        font-size: 13px;
        padding: 13px 12px 13px 25px;
        min-width: 206px;
    }

    .btn__arrow {
        width: 12px;
        height: 12px;
    }

    .btn--ghost {
        min-width: 200px;
    }

    /* .about */
    .about {
        padding: 267px 84px 240px 96px;
    }

    .about__label {
        width: 180px;
        font-size: 15px;
    }

    .about__text {
        font-size: 33px;
    }

    .about__content {
        max-width: 794px;
    }

    /* .services */
    .services {
        padding-bottom: 100px;
    }

    .services__title {
        font-size: 33px;
    }

    .services__nav-label {
        font-size: 12px;
    }

    .services__nav-col {
        gap: 14px;
    }

    .services__nav-btn {
        width: 36px;
        height: 36px;
    }

    .services__nav {
        gap: 6px;
    }

    .services__nav-btn svg {
        width: 10px;
        height: 10px;
    }

    .services__head {
        margin-bottom: 30px;
        padding-left: 25px;
        padding-right: 33px;
    }

    .services-card {
        width: 420px;
        height: 564px;
        padding: 0 29px 38px 24px;
    }

    .services-slider .swiper-slide {
        width: 420px;
    }

    .services-slider {
        padding: 0 20px;
    } 

    .services-card__num {
        font-size: 56px;
    }

    .services-card__num sup {
        font-size: 12px;
        right: -10px;
    }

    .services-card__unit {
        font-size: 12px;
    }

    .services-card__top-inner {
        height: 65px;
    }

    .services-card__top-left {
        padding-right: 23px;
    }

    .services-card__top {
        padding: 0 14px;
    }

    .services-card__code-num {
        font-size: 12px;
    }

    .services-card__code {
        gap: 3px;
    }

    .services-card__code svg {
        width: 37px;
    }

    .services-card__learn {
        min-width: 100px;
        max-width: 160px;
        font-size: 10px;
        padding: 8px 12px 8px 19px;
    }

    .services-card__top-right {
        margin-left: 30px;
    }

    .services-card__name {
        font-size: 30px;
    }

    .services-card:hover .services-card__desc {
        margin-top: 15px;
    }

    .services-card__desc  {
        font-size: 11px;
        max-width: 248px;
    }

    .services-card__btn {
        right: 21px;
        bottom: 18px;
        width: 36px;
        height: 36px;
    }

    .services-card__btn svg {
        width: 10px;
        height: 10px;
    }

    /* .expert */
    .expert {
        margin: 0 9px;
        padding: 33px 40px 49px 42px;
    }

    .expert__logo {
        width: 179px;
        height: 18px;
    }

    .expert__contact {
        font-size: 15px;
    }

    .expert__inner {
        gap: 520px;
    }

    .expert__title {
        font-size: 67px;
        max-width: 860px;
    }

    .expert__bottom-left {
        gap: 35px;
    }

    .expert__buttons {
        gap: 13px;
    }

    .expert__text {
        font-size: 12px;
        max-width: 308px;
    }

    /* .choose */
    .choose {
        padding-top: 137px;
        padding-left: 36px;
        padding-right: 15px;
        padding-bottom: 50px;
    }

    .choose__label {
        padding-top: 6px;
        gap: 10px;
        margin-bottom: 30px;
    }

    .choose__label img {
        width: 15px;
        height: 15px;
    }

    .choose__title {
        font-size: 45px;
        max-width: 763px;
        margin-bottom: 38px;
    }

    .choose__nav-wrap {
        margin-bottom: 30px;
    }

    .choose-card {
        width: 360px;
        height: 663px;
        padding: 17px 24px;
    }

    .choose-slider .swiper-slide {
        width: 360px;
    }

    .choose-card__head {
        gap: 13px;
        margin-bottom: 26px;
    }

    .choose-card__num {
        font-size: 12px;
    }

    .choose-card__name {
        font-size: 24px;
    }

    .choose-card__desc {
        font-size: 12px;
        max-width: 289px;
        margin-bottom: 15px;
    }

    .choose-card__divider {
        margin-bottom: 20px;
    }

    .choose-card__price {
        font-size: 22px;
    }

    .choose-card__footer {
        gap: 28px;
    }

    .choose-card__btn {
        min-width: 100px;
        max-width: 160px;
        font-size: 10px;
        padding: 8px 12px 8px 19px;
    }

    /* .different  */
    .different {
        padding: 50px 42px 135px 27px;
    }

    .different__title {
        font-size: 41px;
    }

    .different__text {
        padding-right: 9px;
        font-size: 11px;
        max-width: 383px;
    }

    .different__top {
        margin-bottom: 90px;
    }

    .different__icon {
        width: 63px;
        height: 63px;
    }

    .different__icon img {
        width: 30px;
        height: 30px;
    }

    .different__item {
        gap: 15px;
    }

    .different__info {
        gap: 3px;
    }

    .different__item-title {
        font-size: 15px;
    }

    .different__item-desc {
        font-size: 11px;
        max-width: 214px;
    }

    /* .cta */
    .cta {
        margin: 0 9px;
        padding: 33px 30px 65px 36px;
    }

    .cta__inner {
        gap: 520px;
    }

    .cta__logo {
        width: 179px;
        height: 18px;
    }

    .cta__contact {
        font-size: 15px;
    }

    .cta__title {
        font-size: 60px;
        max-width: 800px;
    }

    .cta__bottom-left {
        gap: 35px;
    }

    .cta__buttons {
        gap: 13px;
    }

    .cta__text {
        font-size: 12px;
        max-width: 320px;
    }

    /* .footer */
    .footer {
        margin: -18px 9px 12px 9px;
        padding: 100px 40px 40px 40px;
    }

    .footer__nav {
        gap: 60px;
    }

    .footer__nav a {
        font-size: 48px;
    }

    .footer__totop {
        width: 45px;
        height: 45px;
    }

    .footer__totop img {
        width: 10px;
        height: 10px;
    }

    .footer__divider {
        margin-top: 100px;
        margin-bottom: 30px;
    }

    .footer__contact-label {
        font-size: 15px;
        gap: 10px;
    }

    .footer__contact-label img {
        width: 14px;
        height: 14px;
        padding: 0;
    }

    .footer__contact-value {
        font-size: 26px;
    }

    .footer__contacts {
        gap: 30px;
    }

    .footer__contact-us {
        gap: 15px; 
        font-size: 18px;
    }

    .footer__contact-us img {
        width: 10px;
        height: 10px;
    }

    .footer__dev img {
        width: 42px;
    }

    .footer__dev-text {
        font-size: 11px;
    }

    .footer__dev {
        gap: 15px;
    }

    .footer__copy {
        font-size: 15px;
        gap: 25px;
    }

    .footer__privacy {
        font-size: 12px;
    }

    .footer__social {
        font-size: 18px;
        gap: 8px;
    }

    .footer__social img {
        width: 16px;
        height: 16px;
    }

    .footer__socials {
        gap: 36px;
    }

    /* popup */
    .popup__window {
        max-width: 1245px;
        max-height: 630px;
    }

    .popup__scroll {
        padding: 160px 47px 35px 40px;
    }

    .popup__close {
        top: 18px;
        right: 18px;
    }

    .popup__close img {
        width: 25px;
        height: 25px;
    }

    .popup__title {
        max-width: 278px;
        font-size: 45px;
        margin-bottom: 30px;
    }

    .popup__input {
        padding: 17px 17px 17px 21px;
        font-size: 13px;
    }

    .popup__input::placeholder, .popup__phone-hint {
        font-size: 13px !important;
    }

    .popup__form {
        gap: 8px;
    }

    .iti__country-container {
        left: 22px;
    }

    #popup-phone {
        padding-left: 45px !important;
    }

    .popup__phone-hint {
        padding-left: 48px !important;
    }

    .popup__social {
        font-size: 18px;
        gap: 8px;
    }

    .popup__socials {
        gap: 30px;   
    }

    /* menu */
    .menu__inner {
        padding: 160px 36px 36px 36px;
    }

    .menu__close {
        top: 19px;
        right: 15px;
    }

    .menu__close svg {
        width: 25px;
        height: 25px;
    }

    .menu__nav a {
        font-size: 41px;
    }

    .menu__nav {
        gap: 50px;
    }

    .menu__social {
        font-size: 18px;
        gap: 8px;
    }

    .menu__social img {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 1250px) {
    /* hero */
    .hero__title {
        font-size: 50px;
        max-width: 1091px;
    }

    /* about */
    .about {
        padding: 167px 64px 140px 66px;
    }

    .about__content {
        max-width: 627px;
    }

    .about__label {
        width: 120px;
    }

    /* different */
    .different__grid {
        grid-template-columns: repeat(3, max-content);
    }
}

@media (max-width: 1024px) {
    .hero__scroll {
        display: none;
    }

    .hero__title {
        font-size: 40px;
        max-width: 747px;
    }

    /* .about */
    .about {
        flex-direction: column;
        gap: 40px;
        padding: 100px 33px 70px 33px;
    }

    .about__content {
        max-width: 100%;
    }

    .about__label {
        width: 100%;
    }

    /* .expert */
    .expert__title {
        font-size: 50px;
    }

    .cta__title {
        font-size: 45px;
        max-width: 545px;
    }

    .footer__nav a {
        font-size: 36px;
    }

    .footer__nav {
        gap: 40px;
    }

    /* menu */
    .menu__nav {
        gap: 40px;
    }

    /* popup */
    .popup__title {
        max-width: 241px;
        font-size: 41px;
    }
}

@media (max-width: 900px) {
    /* expert */
    .expert__bottom {
        flex-direction: column-reverse;
        align-items: start;
        gap: 400px;
    }

    .expert__top {
        display: none;
    }

    /* .cta */
    .cta__text, .cta__logo {
        display: none;
    }

    /* different */
    .different__text {
        display: none;
    }

    .different__grid {
        grid-template-columns: repeat(2, max-content);
    }

    .different__item-desc {
        font-size: 11px;
        max-width: 164px;
    }

    /* .footer */
    .footer__totop {
        display: none;
    }

    .footer__nav {
        flex-direction: column;
        gap: 20px;
        align-items: start;
    }

    .footer__divider {
        margin-top: 50px;
    }

    .footer__bottom {
        flex-direction: column-reverse;
        gap: 30px;
    }
}

@media (max-width: 570px) {
    /* header */
    .header {
        padding: 20px 16px 0px 16px;
    }

    .header__burger {
        width: 28px;
        height: 28px;
    }

    /* hero */
    .hero__inner {
        justify-content: space-between;
        gap: 0;
        padding-top: 180px;
        padding-bottom: 63px;
    }

    .hero__lead {
        font-size: 12px;
        line-height: 142%;
        max-width: 322px;
        margin-bottom: 16px;
    }

    .hero__top {
        padding-right: 16px;
    }

    .hero__line-cap {
        width: 51px;
        height: 3px;
    }

    .hero__title-desktop {
        display: none;
    }

    .hero__title-mobile {
        display: block;
        font-weight: 400;
        font-size: 37px;
        line-height: 100%;
        color: #fff;
        max-width: 310px;
    }

    .hero__bottom {
        gap: 30px;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .btn {
        font-size: 16px;
        padding: 19px 20px 20px 32px;
    }

    .btn__arrow {
        width: 16px;
        height: 16px;
    }

    /* menu */
    .menu__panel {
        max-width: 100%;
    }

    /* popup */
    .popup__window {
        flex-direction: column;
        position: relative;
        max-height: 100%;
        height: auto;
    }

    .popup {
        padding: 10px;
    }

    .popup__title {
        font-size: 50px;
        line-height: 92%;
        max-width: 320px;
    }

    .popup__image {
        height: 40%;
        flex-shrink: 0;
    }

    .popup__content {
        position: static;
        background: #F4F4F4;
        flex: 1;
        min-height: 0;
    }

    .popup__scroll {
        padding: 50px 20px 35px 20px;
    }

    .popup__close {
        top: 15px;
        right: 15px;
    }

    .popup__input {
        padding: 23px 23px 23px 34px;
        font-size: 18px;
        background: #fff;
    }

    .popup__input::placeholder, .popup__phone-hint {
        font-size: 18px !important;
    }

    .popup__form {
        gap: 11px;
    }

    .popup__submit {
        padding: 22px 20px 22px 32px;
    }

    .popup__socials {
        display: none;
    }

    /* about */
    .about {
        padding: 90px 16px 120px 16px;
        gap: 50px;
    }

    .about__label {
        font-size: 16px;
        line-height: 313%;
    }

    .about__text {
        font-size: 20px;
        line-height: 160%;
    }

    .about__content {
        gap: 70px;
    }

    .about__btn {
        padding: 17px 20px 17px 32px;
    }

    /* expert */
    .expert {
        margin: 0;
        border-radius: 0;
        padding: 37px 16px 30px 16px;
    }

    .expert__text {
        font-size: 12px;
        line-height: 158%;
        max-width: 316px;
    }

    .expert__bottom {
        gap: 410px;
    }

    .expert__title {
        font-size: 48px;
        line-height: 93%;
        max-width: 340px;
    }

    .expert__buttons {
        flex-direction: column;
        width: 100%;
    }

    .expert__bottom-left {
        width: 100%;
    }

    /* choose */
    .choose {
        padding-top: 125px;
        padding-left: 16px;
        padding-right: 22px;
        padding-bottom: 60px;
    }

    .choose .services__nav {
        display: flex;
    }

    .choose__label {
        font-size: 12px;
        line-height: 125%;
        padding-top: 12px;
        margin-bottom: 19px;
    }

    .choose__title {
        font-size: 30px;
        line-height: 117%;
        max-width: 330px;
        margin-bottom: 70px;
    }

    .services__nav-label {
        display: none;
    }

    .services__nav-btn {
        width: 30px;
        height: 30px;
    }

    /* Services — sticky stacking cards instead of the slider */
    .services__nav {
        display: none;
    }

    .services {
        overflow: visible;   /* allow position: sticky */
        padding-bottom: 30px;   /* no empty space after the stack */
    }

    .services__head {
        padding-left: 16px;
        padding-right: 16px;
    }

    .services-card {
        border-radius: 5px;
        padding-left: 27px;
        justify-content: start;
        padding-bottom: 35px;
    }

    .services-card__bottom {
        padding-top: 30px;
    }

    .services-card__name {
        font-size: 35px;
        line-height: 91%;
        max-width: 180px;
    }

    .services-card__top-right {
        margin-left: 10px;
    }

    .services-card__learn {
        min-width: 0px;
        font-size: 10px;
        padding: 8px 12px 8px 19px;
    }

    .services-card__top-inner {
        height: 57px;
    }

    .services-card__num {
        font-size: 45px;
    }

    .services-card__top-left {
        gap: 40px;
    }

    .services-card__unit {
        font-size: 14px;
    }

    .services-card__desc {
        font-size: 11px;
        max-width: 224px;
    }

    .services-card__code {
        font-size: 14px;
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .services-slider {
        padding: 0 16px;
        overflow: visible;
        /* visible slice of each stacked card — kept small so every card fits
           on short screens; tweak this one value to taste */
        --stack-top: 120px;
    }

    .services-slider .swiper-wrapper {
        display: block;      /* plain column, not a flex track */
    }

    .services-slider .swiper-slide {
        position: sticky;
        width: 100%;
        height: auto;
    }

    /* 10px gap between the cards in the expanded (flow) state */
    .services-slider .swiper-slide:not(:last-child) {
        margin-bottom: 10px;
    }

    /* Each card sticks a bit lower than the previous, so a slice stays visible */
    .services-slider .swiper-slide:nth-child(1) { top: 0; }
    .services-slider .swiper-slide:nth-child(2) { top: var(--stack-top); }
    .services-slider .swiper-slide:nth-child(3) { top: calc(var(--stack-top) * 2); }
    .services-slider .swiper-slide:nth-child(4) { top: calc(var(--stack-top) * 3); }

    .services-card {
        width: 100%;
        height: 480px;
    }

    .choose-card {
        width: 297px;
        height: 520px;
        padding: 14px 20px;
        padding-bottom: 26px;
    }

    .choose-slider .swiper-slide {
        width: 297px;
    }

    .choose-card__head {
        gap: 9px;
    }

    .choose-card__footer {
        flex-direction: column;
    }

    .choose-card__bottom {
        opacity: 1;
    }

    .choose-card__price {
        display: none;
    }

    .choose-card__btn {
        gap: 40px;
        width: 100%;
        max-width: 100%;
        padding: 15px 16px 15px 24px;
    }

    .choose-card__desc {
        text-align: center;
    }

    /* different */
    .different {
        padding: 0px 16px 70px 16px;
    }

    .different__title {
        font-size: 55px;
        line-height: 100%;
        max-width: 320px;
    }

    .different__top {
        margin-bottom: 80px;
    }

    .different__icon {
        width: 72px;
        height: 72px;
    }

    .different__icon img {
        width: 33px;
        height: 33px;
    }

    .different__item {
        flex-direction: column;
        gap: 17px;
        align-items: start;
    }

    .different__item-title {
        font-size: 18px;
        max-width: 100px;
        white-space: wrap;
    }

    .different__item-desc {
        font-size: 12px;
        max-width: 151px;
        line-height: 158%;
    }

    .different__item-desc br {
        display: none;
    }

    .different__grid {
        column-gap: 15px;
        row-gap: 80px;
    }

    /* .cta */
    .cta {
        margin: 0;
        border-radius: 0;
        padding: 38px 16px 35px 16px;
    }

    .cta__contact {
        font-size: 16px;
    }

    .cta__title {
        font-size: 40px;
        line-height: 88%;
        max-width: 324px;
    }

    .cta__buttons {
        flex-direction: column;
        width: 100%;
    }

    .cta__bottom-left {
        width: 100%;
    }

    /* footer */
    .footer {
        margin: 0px;
        padding: 90px 16px 45px 16px;
    }

    .footer__nav a {
        font-size: 65px;
    }

    .footer__nav {
        gap: 25px;
    }

    .footer__divider {
        margin-top: 100px;
        margin-bottom: 45px;
        margin-left: -16px;
        margin-right: -16px;
        width: calc(100% + 32px);
    }

    /* Restructured footer content below the divider:
       row 1 = Phone + dev-logo, row 2 = E-Mail (full width), Contact Us hidden */
    .footer__middle {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 60px;
    }

    /* Flatten the two groups so their items can be reordered together */
    .footer__info,
    .footer__contacts {
        display: contents;
    }

    .footer__contact-us {
        display: none;
    }

    .footer__contact {
        align-items: flex-start;
    }

    .footer__contacts .footer__contact:first-child {
        order: 1;
    }

    .footer__dev {
        margin-top: 10px;
        order: 2;
        margin-left: auto;
    }

    .footer__contacts .footer__contact:last-child {
        order: 3;
        flex: 0 0 100%;
    }

    .footer__contact-value {
        font-size: 25px;
    }

    .footer__dev img {
        width: 52px;
    }

    /* socials above, copyright pinned to the bottom */
    .footer__bottom {
        align-items: start;
        gap: 180px;
        margin-top: 70px;
    }

    .footer__socials {
        flex-wrap: wrap;
        column-gap: 50px;
        row-gap: 15px;
    }

    .footer__contact-label {
        font-size: 14px;
        gap: 5px;
    }

    .footer__social:last-child {
        display: none;
    }

    .footer__social {
        font-size: 25px;
        gap: 12px;
    }

    .footer__social img {
        width: 21px;
        height: 21px;
    }

    .footer__copy {
        width: 100%;
        justify-content: center;
        font-size: 20px;
        gap: 33px;
    }

    .footer__privacy {
        font-size: 16px;
    }


}