/* PC */
@media screen and (min-width: 992px) {
    .mobile-header {
        display: none;
    }

    .hide-on-pc {
        display: none;
    }
}

@media screen and (min-width: 992px) and (max-width: 1199.98px) {
    .hero__inner {
        column-gap: 50px;
    }

    .company__inner {
        column-gap: 40px;
    }

    .company__heading {
        margin-left: 0;
        text-align: center;
    }
    .company__heading::before {
        top: 0%;
        left: 50%;
        transform: translateX(-50%);
    }

    .service-item__title {
        font-size: 2.8rem;
        white-space: nowrap;
    }

    .service-item__desc {
        font-size: 1.6rem;
    }

    .project__desc {
        margin-right: 0;
    }
}

/* Tablet and Mobile */
@media screen and (max-width: 991.98px) {
    .no-wrap {
        flex-wrap: nowrap;
    }

    .header {
        display: none;
    }

    .mobile-header {
        background: #fbfaff;
    }

    .fixed {
        top: -16px;
    }

    .mobile-header__inner {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 20px 14px 16px;
        border-bottom: 1px solid #d6d3e2;
        max-width: calc(100% - 36px);
        margin-left: auto;
        margin-right: auto;
    }

    .mobile-header__control {
        display: flex;
        align-items: center;
        column-gap: 10px;
    }

    .contact-badge__icon-wrap {
        width: 46px;
        height: 46px;
    }

    .contact-badge__icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .contact-badge__icon img {
        width: 26px;
        height: 20px;
    }

    .menu__icon-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        color: var(--primary-color);
        border: 1px solid rgb(93, 59, 238, 0.2);
        flex-shrink: 0;
    }

    .menu-overlay {
        position: fixed;
        z-index: 1;
        inset: 0;
        background: rgb(0, 0, 0, 0.3);
        opacity: 0;
        visibility: hidden;
        transition: 0.5s ease;
    }

    .menu-checkbox:checked ~ .menu-overlay {
        opacity: 1;
        visibility: visible;
    }

    .menu-drawer {
        position: fixed;
        padding: 60px 0 60px 60px;
        background: #fff;
        z-index: 2;
        inset: 0 40% 0 0;
        opacity: 0;
        visibility: hidden;
        transform: translateX(-100%);
        transition: 0.8s ease;
    }

    .menu-checkbox:checked ~ .menu-drawer {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar {
        margin-top: 50px;
    }

    .navbar__list-mobile {
        flex-direction: column;
        row-gap: 50px;
    }

    .navbar-item {
        display: block;
    }

    .navbar-item__link {
        font-size: 2rem;
        font-weight: 500;
        /* display: block; */
        margin-left: -22px;
    }

    .center {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero__inner {
        flex-direction: column;
        flex-grow: 1;
        row-gap: 20px;
    }

    .hero__content {
        order: 1;
    }

    .hero__media {
        order: 2;
    }

    .hero__deco-content {
        display: none;
    }

    .hero__img-deco {
        top: auto;
        bottom: 0;
        left: -180px;
    }

    .company__inner {
        flex-direction: column;
        row-gap: 50px;
    }

    .company__heading {
        text-align: center;
    }

    .company__heading::before {
        top: -10px;
        left: 50%;
        transform: translateX(-50%);
    }

    .company__list {
        grid-template-columns: repeat(4, auto);
    }

    .service__list {
        margin-top: 50px;
    }

    .service-item {
        margin-top: 0;
    }

    .project__row {
        flex-direction: column;
    }

    .project__heading {
        text-align: center;
    }

    .project__desc {
        margin-top: 20px;
        margin-right: 0;
        max-width: calc(100% - 96px);
        text-align: center;
    }

    .project-item {
        justify-content: space-between;
    }

    .project-item__desc {
        max-width: 350px;
    }

    .project-item__thumb {
        width: 246px;
        height: 187px;
    }

    .project__all {
        margin-top: 40px;
    }

    .about__list {
        column-gap: 0;
        justify-content: space-between;
    }

    .about__list::before,
    .about__list::after {
        width: 100%;
    }

    .about-item:first-child {
        order: 2;
    }

    .about-item:nth-child(2) {
        order: 1;
    }

    .about-item:last-child {
        order: 3;
    }

    .about__img {
        height: auto;
    }

    .review {
        margin-top: calc(-1 * 20%);
        padding: 315px 0 75px;
    }

    .faq-item__body {
        padding-left: 0;
    }

    .faq-item__right {
        margin-top: 5px;
        margin-right: 10px;
    }

    .cta {
        overflow: hidden;
    }

    .cta__deco-01,
    .cta__deco-03 {
        display: none;
    }

    .service__list {
        overflow: hidden;
    }

    .gallery__list {
        overflow: hidden;
    }

    .cta {
        background: #fbfaff;
    }

    .inner {
        flex-direction: column;
    }

    .logo {
        order: 1;
    }

    .navbar {
        flex: 1;
        margin-top: 20px;
        order: 2;
        width: 100%;
    }

    .navbar__list {
        justify-content: space-evenly;
    }

    .contact-badge {
        order: 3;
        margin-top: 64px;
    }
}

/* Tablet */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
    .hero__heading {
        font-size: 6.4rem;
    }

    .hero__desc {
        text-align: center;
    }

    .hero__cta {
        justify-content: center;
    }

    .hero__footer {
        justify-content: center;
    }
}

/* Mobile */
@media screen and (max-width: 767.98px) {
    .section-heading {
        font-size: 3.6rem;
        line-height: 1.17;
    }

    .section-desc {
        font-size: 1.6rem;
        line-height: 1.625; /* 162.5% */
    }

    .btn {
        --height: 55px;

        min-width: 147px;
        font-size: 1.6rem;
    }

    .contact-badge__icon-wrap {
        width: 32px;
        height: 32px;
    }

    .contact-badge__icon img {
        width: auto;
        height: auto;
    }

    .menu__icon-wrap {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding-top: 50px;
    }

    .hero__content {
        margin-left: 20px;
    }

    .hero__heading {
        font-size: 4.2rem;
        line-height: 1.19; /* 119.048% */
    }

    .hero__desc {
        margin-left: 0;
        text-align: initial;
        max-width: 318px;
    }

    .hero__cta {
        margin-top: 30px;
    }

    .hero__footer {
        margin-top: 25px;
    }

    .hero__img-wrap {
        margin-top: 20px;
        max-width: 259px;
    }

    .hero__img-deco {
        width: 543px;
        height: 402px;
        left: 50%;
        transform: translateX(-50%);
    }

    .company__heading {
        margin-left: 0;
    }

    .company__list {
        grid-template-columns: auto auto;
        column-gap: 15px;
    }

    .project-item {
        padding: 20px 15px;
        column-gap: 22px;
    }

    .project-item__info {
        max-width: 176px;
    }

    .project-item__title {
        font-size: 2.4rem;
        line-height: 1.42;
    }

    .project-item__desc {
        margin-top: 4px;
        font-size: 1.4rem;
        line-height: 1.43;
    }

    .project-item__study {
        margin-top: 4px;
        font-size: 1.6rem;
        line-height: 1.75; /* 175% */
    }

    .project-item__thumb {
        width: 180px;
        height: 140px;
    }

    .project__btn {
        --height: 56px;

        min-width: 154px;
    }

    .about-label__desc,
    .gallery__tag {
        font-size: 2rem;
        line-height: 2;
    }

    .about__list {
        column-gap: 50px;
    }

    .about-item__stats {
        font-size: 3rem;
        line-height: 1.4; /* 140% */
    }

    .about-item__stats::after {
        bottom: 2px;
    }

    .about-item__desc {
        margin-top: 5px;
        font-size: 1.6rem;
        line-height: 1.375; /* 137.5% */
    }

    .about__play-video {
        width: 77px;
        height: 77px;
    }

    .about__intro-video {
        padding: 7px 21px;
    }

    .about__intro {
        font-size: 1.2rem;
        line-height: 2.5; /* 250% */
    }

    .review {
        padding-top: 250px;
    }

    .faq__list {
        margin-top: 42px;
    }

    .faq-item {
        align-items: flex-start;
        margin-top: 40px;
    }

    .faq-item__question {
        font-size: 2.4rem;
        line-height: 1.25;
    }

    .faq-item__control {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 33px;
        height: 33px;
    }

    .faq-item__control::before {
        width: 10px;
    }

    .faq-item__control::after {
        height: 10px;
    }

    .faq-item__answer {
        /* margin-top: 15px; */
        font-size: 1.6rem;
        line-height: 1.625; /* 162.5% */
    }

    .faq-item:has(.faq-item__check:checked) .faq-item__answer {
        margin-top: 15px;
        padding-bottom: calc(10%);
    }

    .review-item__quote {
        font-size: 1.8rem;
        line-height: 1.67;
    }

    .review-item__name {
        font-size: 2.4rem;
        line-height: 1.67; /* 166.667% */
    }

    .controls {
        margin-top: 25px;
    }

    .cta__inner {
        padding: 36px 0;
    }

    .cta__emote-icon {
        width: 48px;
        height: 48px;
        object-fit: cover;
    }

    .cta__heading {
        max-width: 230px;
        text-align: center;
    }

    .navbar-item__link {
        font-size: 1.6rem;
        line-height: 1.25; /* 125% */
    }

    .footer__container {
        max-width: 100%;
    }

    .footer__content {
        border-bottom: none;
    }

    .footer__row {
        flex-direction: column;
        align-items: center;
    }

    .footer__privacy {
        width: 100%;
        order: 1;
        padding-bottom: 29px;
        border-bottom: 2px solid rgb(8, 4, 21, 0.2);
    }

    .footer-privacy__inner {
        width: inherit;
        justify-content: center;
    }

    .footer__copy-right {
        order: 2;
        margin-top: 20px;
    }
}

@media screen and (max-width: 459.98px) {
    .project-item__thumb {
        width: 122px;
        height: 93px;
    }

    .about__img {
        width: 100%;
        height: 276px;
    }

    .about__play-video svg {
        width: 10.41px;
        height: 12.49px;
    }

    .faq-item:has(.faq-item__check:checked) .faq-item__answer {
        padding-bottom: 25%;
    }
}
