@media (max-width:767px) {
    .desktop {
        display: none;
    }

    .mobile {
        display: block;
    }

    /* header ***************************************************************/

    header {
        box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
        position: fixed;
        width: 100%;
        background: #fff;
        z-index: 100;
    }

    .header-wrap {
        height: 78px;
    }

    .nav-button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 22px;
        width: 32px;
        align-items: end;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
    }

    .nav-button .bar {
        height: 3px;
        width: 100%;
        background-color: #111;
        transition: all 200ms ease-in-out;
        border-radius: 2px;
    }

    .nav-button.show .bar:nth-child(1) {
        transition: all 200ms ease-in-out;
        transform: rotate(45deg);
        transform-origin: top left;
        width: 28px;
    }

    .nav-button.show .bar:nth-child(2) {
        transition: all 200ms ease-in-out;
        transform-origin: center;
        width: 0;
    }

    .nav-button.show .bar:nth-child(3) {
        transition: all 200ms ease-in-out;
        transform: rotate(-45deg);
        transform-origin: bottom left;
        width: 28px;
    }

    #collapseMenu {
        position: fixed;
        top: 78px;
        left: 0;
        z-index: 99;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, opacity 0.3s ease;
    }

    #collapseMenu.show {
        max-height: 500px;
        opacity: 1;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }

    #collapseMenu .header-nav {
        background: #fff;
        padding: 10px 0 20px;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    #collapseMenu .header-nav-item {
        padding: 8px 0;
    }

    #collapseMenu .header-nav-link {
        padding: 12px 20px;
        font-size: 17px;
    }

    /* hero ***************************************************************/

    #hero {
        padding-top: 100px;
    }

    .hero-wrap {
        display: flex;
        align-items: center;
        min-height: auto;
        flex-direction: column;
        padding: 20px 0 40px;
    }

    .hero-left {
        width: 100%;
        margin-bottom: 40px;
        text-align: center;
    }

    .hero-subtitle {
        margin-bottom: 10px;
        font-size: 16px;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero-form {
        flex-direction: column;
        gap: 12px;
    }

    .hero-form input[type="tel"] {
        height: 52px;
        font-size: 15px;
    }

    .hero-form button {
        margin-left: 0;
        padding: 14px 20px;
        font-size: 15px;
    }

    .hero-right {
        margin-bottom: 30px;
        width: 100%;
        gap: 10px;
    }

    .hero-image {
        width: 45%;
    }

    #hero-shape-1 {
        width: 30%;
        top: -9px;
        left: 0px;
    }

    #hero-shape-2 {
        width: 30%;
        top: 30%;
    }

    /* partners ***************************************************************/

    section {
        scroll-margin-top: 78px;
    }

    #partners {
        padding: 30px 0;
    }

    .partners-label {
        font-size: 11px;
        margin-bottom: 16px;
    }

    .partners-wrap {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .partners-logo {
        max-height: 30px;
    }

    /* services ***************************************************************/

    .section-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    #services {
        padding: 50px 0;
    }

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

    .services-block {
        width: 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }

    .services-block:last-child {
        margin-bottom: 0;
    }

    /* gifts ***************************************************************/

    #gifts {
        padding: 50px 0;
    }

    .gifts-row-1, .gifts-row-2 {
        flex-direction: column;
        align-items: center;
    }

    .gifts-border {
        width: 100%;
        max-width: 350px;
        padding: 20px;
    }

    /* faq ***************************************************************/

    #faq {
        padding: 50px 0;
    }

    .faq-accordion-header {
        padding: 16px 55px 16px 20px;
    }

    .faq-accordion-header::after {
        top: 16px;
        right: 15px;
    }

    .faq-accordion-header p {
        font-size: 16px;
    }

    .faq-accordion-content {
        padding: 0 20px;
    }

    /* portfolio ***************************************************************/

    #portfolio {
        padding: 50px 0;
    }

    .portfolio-block {
        width: 100%;
        min-width: unset;
    }

    .portfolio-image {
        margin-bottom: 10px;
    }

    .portfolio-title {
        margin-top: 10px;
        margin-bottom: 6px;
    }

    /* contacts ***************************************************************/

    #contacts {
        padding: 50px 0;
    }

    .contacts-form form {
        width: 100%;
        padding: 25px 20px;
        margin-bottom: 40px;
    }

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

    .contacts-block {
        width: 100%;
        max-width: 100%;
        min-width: unset;
        margin-bottom: 20px;
    }

    .contacts-block:last-child {
        margin-bottom: 0;
    }

    /* footer ***************************************************************/

    .footer-mega {
        gap: 24px;
    }

    .footer-col {
        min-width: calc(50% - 24px);
    }

    .footer-col:first-child {
        min-width: 100%;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-title {
        font-size: 42px;
    }

    .hero-image {
        width: 180px;
    }

    .services-block {
        min-width: 200px;
        max-width: none;
    }

    .portfolio-block {
        width: calc(50% - 30px);
    }
}
