@media (max-width: 1200px) {

    .project__title {
        font-size: 3.5rem;
    }

    .home-hero__title {
        font-size: 3.5rem;
    }

    .about-hero__title {
        font-size: 3.5rem;
    }

    .news-hero__title {
        font-size: 3.5rem;
    }

    .projects-hero__title {
        font-size: 3.5rem;
    }

    .page-single__title,
    .contacts-hero__title {
        font-size: 3.5rem;
    }
}

@media (max-width: 960px) {

    .site-header__nav {
        display: none;
    }

    .site-header__burger {
        display: inline-flex;
    }

    .home-hero__inner {
        grid-template-columns: 1fr;
        padding: 4rem 0 3rem;
        gap: 3rem;
    }

    .home-hero__content,
    .home-hero__stats {
        grid-column: 1 / -1;
    }

    .home-hero__stats {
        flex-direction: row;
        gap: 3rem;
    }

    .home-hero__stat + .home-hero__stat {
        margin-top: 0;
    }

    .home-about {
        padding: 4rem 0;
    }

    .about-hero {
        padding: 4rem 0;
    }

    .news-feature {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-feature__media,
    .news-feature__body {
        grid-column: 1 / -1;
    }

}

/* ============================================================ max-width: 959px
 * Matches UIkit's @m breakpoint (960px and up keeps the desktop layout).
 * Projects filter: the inline bar is replaced by a "Filters" button that opens
 * the offcanvas drawer (markup toggled with uk-hidden@m / uk-visible@m). */
@media (max-width: 959px) {

    .projects-filter {
        padding: 0.75rem 0;
    }

    /* Project header: badges stack under the title (uk-grid cells go full width). */
    .project__badges {
        justify-content: flex-start;
    }
}

@media (max-width: 782px) {

    .project__title {
        font-size: 2.75rem;
    }

    .home-hero__title {
        font-size: 2.75rem;
    }

    .home-clients__list {
        display: none;
    }

    .home-clients__marquee {
        display: block;
    }

    .about-hero__title {
        font-size: 2.75rem;
    }

    .about-stats__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-stats__item {
        padding: 2rem;
    }

    .about-approach__title {
        font-size: 2.25rem;
    }

    .news-hero__title {
        font-size: 2.75rem;
    }

    .news-feature__title {
        font-size: 1.75rem;
    }

    .projects-hero__title {
        font-size: 2.75rem;
    }

    .page-single__title,
    .contacts-hero__title {
        font-size: 2.75rem;
    }

    .news-single__title {
        font-size: 2.75rem;
    }

    .news-single__body,
    .news-related {
        padding: 3.5rem 0;
    }


    .home-hero__stats-panel > .home-hero__stat:first-child {
        margin-bottom: 10px;
    }
}


/* ============================================================ max-width: 639px */
@media (max-width: 639px) {

    .site-header__inner {
        height: 64px;
    }

    .site-header__logo {
        font-size: 1.25rem;
    }

    .site-header__logo-img {
        max-height: 44px;
    }

    .site-footer {
        padding: 3.5rem 0 2rem;
    }

    .project__title {
        font-size: 2.25rem;
    }

    .project__specs-grid {
        grid-template-columns: 1fr;
    }

    .project__documents-link {
        flex-wrap: wrap;
    }

    .project__documents-size {
        margin-left: 2rem;
    }

    .project__cta {
        flex-direction: column;
    }

    .project__cta .btn {
        justify-content: center;
    }

    .home-hero__title {
        font-size: 2.25rem;
    }

    .home-hero__stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .home-hero__stat + .home-hero__stat {
        margin-top: 0;
    }

    .home-hero__actions {
        flex-direction: column;
    }

    .home-hero__actions .btn {
        justify-content: center;
    }

    .home-about__title,
    .home-projects__title,
    .home-memberships__title,
    .home-certificate__title {
        font-size: 2rem;
    }

    .home-projects__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-hero__title {
        font-size: 2.25rem;
    }

    .about-stats__grid {
        grid-template-columns: 1fr;
    }

    .about-approach__title {
        font-size: 1.75rem;
    }

    .news-hero__title {
        font-size: 2.25rem;
    }

    .projects-hero__title {
        font-size: 2.25rem;
    }

    .page-single__title,
    .contacts-hero__title {
        font-size: 2.25rem;
    }

    .news-single__header {
        padding: 2rem 0 3rem;
    }

    .news-single__title {
        font-size: 2.25rem;
    }

    .news-single__content {
        font-size: 1rem;
    }

    .news-related__title {
        font-size: 1.75rem;
    }

    .home-certificate__name {
        font-size: 16px;
    }

    .site-footer__bottom{
        flex-direction: column;
        align-items: center;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .footer-terms-menu{
        flex-direction: column;
        text-align: center;
    }

}
