@media (max-width: 991px) {

    body {
        font-size: 14px;
    }

    p {
        font-size: .85rem;
    }

    .container-big,
    .container-mid {
        padding-left: 10px;
        padding-right: 10px;
    }

    /* HEADER */
    .header-inner {
        padding: 1.25rem 0;
        gap: 1rem;
    }

    .header-logo {
        gap: 0rem;
        max-width: 80%;
    }

    .header-logo img,
    .logo-secondary img {
        max-width: 90%
    }

    .header-cta,
    .header-nav {
        display: none;
    }


    .btn,
    .btn-main a,
    .btn-black a {
        padding: .55rem 1.25rem;
        font-size: .65rem;
        letter-spacing: .15em;
    }

    /* HERO */
    .hero {
        height: 100svh;
    }

    .hero-box {
        padding: 0 .25rem;
    }

    .hero-pretitle {
        font-size: .6rem;
        margin-bottom: .5rem;
    }

    .hero-title {
        font-size: 1.85rem;
        line-height: 1.15;
        margin-bottom: .75rem;
    }

    .hero-headings h3 {
        font-size: .9rem;
    }

    .hero-headings h4 {
        font-size: .8rem;
    }

    .hero-text {
        font-size: .85rem;
        margin-top: 1rem;
    }

    .btn-main {
        margin-top: 1.5rem;
    }

    .hero .swiper-pagination {
        bottom: 3.25rem !important;
    }

    .hero .swiper-pagination-bullet {
        width: 18px;
    }

    .hero .swiper-pagination-bullet-active {
        width: 32px;
    }

    /* SERVICES */
    .services {
        padding: 3.5rem 0;
    }

    .services .section-title {
        font-size: 1.7rem;
    }

    .service-item {
        padding: 1.75rem 1.25rem;
    }

    .service-title {
        font-size: 1.25rem;
    }

    .service-desc {
        font-size: .85rem;
    }

    /* ABOUT */
    .about {
        padding: 3.5rem 0;
    }

    .about .about-title {
        font-size: 1.7rem;
    }

    .about .about-content {
        font-size: .85rem;
    }

    .about .counter-number {
        font-size: 1.35rem;
    }

    .about .counter-label {
        font-size: .65rem;
        letter-spacing: 0;
        text-transform: none;
    }

    /* REALIZATIONS */
    .realizations {
        padding: 3.5rem 0;
    }

    .realizations .row {
        row-gap: 0.5rem;
    }

    .realizations .project-item img {
        min-height: 220px;
    }

    .realizations .project-title {
        font-size: .9rem;
        padding: .75rem 1rem;
    }

    /* PAGE */
    .page-bg {
        height: 300px;
    }

    .page-title {
        padding: 3rem 0 2.25rem;
    }

    .page-title h1 {
        font-size: 2.1rem;
    }

    .page-title h3 {
        font-size: .65rem;
        letter-spacing: .15em;
    }

    .page-content {
        padding: 1.5rem 0 3.5rem;
    }

    .entry-content p {
        font-size: .9rem;
    }

    .entry-content h2 {
        font-size: 1.7rem;
    }

    .entry-content h3 {
        font-size: 1.35rem;
    }

    /* CONTACT FORM */
    .wpcf7 label {
        font-size: .6rem;
    }

    .wpcf7 input.form-control,
    .wpcf7 textarea.form-control {
        font-size: .85rem;
    }

    .wpcf7 input[type="submit"] {
        padding: .65rem 1.75rem;
        font-size: .6rem;
    }

    /* FOOTER */
    #footer-wrapper {
        padding: 3.5rem 0 1rem
    }

    .footer-widget {
        padding: 2.5rem 0 2rem;
    }

    .footer-widget img {
        max-width: 180px;
    }

    .footer-widget h2 {
        margin: 2rem 0 1rem;
        font-size: 1.1rem;
    }

    .footer-widget p,
    .footer-widget ul li a {
        font-size: .8rem;
    }

    .footer-bottom {
        font-size: .65rem;
    }
}

@media (min-width: 0px) and (max-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (min-width: 577px) and (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {

    .header-nav {
        display: none !important;
    }

    .nav-open {
        width: 42px;
        height: 42px;
        padding: 0;
        background: none;
        border: none;
        cursor: pointer;

        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;

        position: relative;
        z-index: 1002;
    }

    .nav-open span {
        display: block;
        width: 22px;
        height: 2px;
        background: #fff;
    }

    .mobile-nav {
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background: #000;
        z-index: 9999;

        transform: translateX(-100%);
        opacity: 1;
        visibility: hidden;
        pointer-events: none;

        transition:
            transform .45s cubic-bezier(.4, 0, .2, 1),
            visibility 0s linear .45s;
    }

    .mobile-nav.is-open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: all;

        transition:
            transform .45s cubic-bezier(.4, 0, .2, 1);
    }

    .nav-close {
        position: fixed;
        top: 1.25rem;
        right: 1.25rem;
        width: 42px;
        height: 42px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10000;
    }

    .nav-close::before,
    .nav-close::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 50%;
        width: 22px;
        height: 2px;
        background: #fff;
        transform-origin: center;
    }

    .nav-close::before {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    .nav-close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    .mobile-nav__inner {
        width: 100%;
        height: 100%;
        padding: 6rem 1.5rem 3rem;

        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .mobile-nav .main-menu {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile-nav .main-menu li {
        margin: 1.35rem 0;
    }

    .mobile-nav .main-menu li a {
        font-family: 'Cormorant Garamond', serif;
        font-size: 2rem;
        font-weight: 500;
        letter-spacing: .08em;
        color: #fff;
        text-decoration: none;
        display: block;
    }

    .mobile-nav .main-menu li a:hover {
        opacity: .65;
    }
}

@media (min-width: 992px) {

    .nav-open,
    .mobile-nav {
        display: none !important;
    }
}

body.nav-open {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}

@media (min-width: 992px) and (max-width: 1200px) {

    body {
        font-size: 15px;
    }

    p {
        font-size: .95rem;
    }

    .container-big {
        max-width: 1200px;
    }

    .container-mid {
        max-width: 1080px;
    }

    /* HEADER */
    .header-inner {
        padding: 1.5rem 0;
        gap: 1.5rem;
    }

    .header-logo {
        gap: 1rem;
    }

    .header-logo img,
    .logo-secondary img {
        max-height: 36px;
    }

    .header-nav .main-menu {
        gap: 1.75rem;
    }

    .header-nav .main-menu li a {
        font-size: .85rem;
    }

    .btn,
    .btn-main a,
    .btn-black a {
        padding: .65rem 1.6rem;
        font-size: .7rem;
    }

    /* HERO */
    .hero {
        height: 85vh;
    }

    .hero-title {
        font-size: 3.1rem;
    }

    .hero-headings h3 {
        font-size: 1.05rem;
    }

    .hero-headings h4 {
        font-size: .9rem;
    }

    .hero-text {
        font-size: .95rem;
    }

    .hero .swiper-pagination {
        bottom: 4rem;
    }

    /* SERVICES */
    .services {
        padding: 4.5rem 0;
    }

    .services-grid {
        gap: 1.5rem;
    }

    .service-item {
        padding: 2.25rem 1.75rem;
    }

    .service-title {
        font-size: 1.35rem;
    }

    .service-desc {
        font-size: .9rem;
    }

    /* ABOUT */
    .about {
        padding: 4.5rem 0;
    }

    .about .about-title {
        font-size: 2.1rem;
    }

    .about .about-content {
        font-size: .95rem;
    }

    .about .counter-number {
        font-size: 1.45rem;
    }

    /* REALIZATIONS */
    .realizations {
        padding: 4.5rem 0;
    }

    .realizations .row {
        row-gap: 1.75rem;
    }

    .realizations .project-item img {
        min-height: 280px;
    }

    .realizations .project-title {
        font-size: 1.1rem;
        padding: 1rem 1.25rem;
    }

    /* PAGE */
    .page-bg {
        height: 380px;
    }

    .page-title {
        padding: 4.5rem 0 3rem;
    }

    .page-title h1 {
        font-size: 2.6rem;
    }

    .page-title h3 {
        font-size: .75rem;
    }

    .page-content {
        padding: 2.5rem 0 4.5rem;
    }

    .entry-content p {
        font-size: .95rem;
    }

    .entry-content h2 {
        font-size: 2rem;
    }

    .entry-content h3 {
        font-size: 1.55rem;
    }

    /* FOOTER */
    #footer-wrapper {
        padding: 4.5rem 0 2rem;
    }

    .footer-widget {
        padding: 0
    }

    .footer-widget img {
        max-width: 200px;
    }

    .footer-widget h2 {
        font-size: 1.25rem;
    }

    .footer-widget p,
    .footer-widget ul li a {
        font-size: .85rem;
    }

    .footer-bottom {
        font-size: .7rem;
    }
}