/**
 * Responsive
 * Remodelando Pixel
 */

@media (max-width: 1180px) {

    .rmd-header__nav-area {
        gap: 16px;
    }

    .rmd-navigation__menu {
        gap: 18px;
    }

    .rmd-navigation__menu a {
        font-size: 13px;
    }

    .rmd-header-whatsapp {
        display: none;
    }

    .rmd-hero__inner {
        gap: 40px;
        grid-template-columns:
            minmax(0, 1fr)
            370px;
    }

}

@media (max-width: 980px) {

    .rmd-header__inner {
        min-height: 78px;
    }

    .rmd-branding .custom-logo {
        max-width: 180px;
        max-height: 62px;
    }

    .rmd-navigation {
        position: fixed;
        z-index: 999;
        top: 78px;
        right: 0;
        left: 0;
        display: none;
        padding: 18px 20px 30px;
        background: var(--rmd-white);
        box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.12);
    }

    .rmd-navigation.is-open {
        display: block;
    }

    .rmd-navigation__menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .rmd-navigation__menu a {
        padding: 13px 0;
        border-bottom: 1px solid var(--rmd-gray-200);
        font-size: 15px;
    }

    .rmd-navigation__menu a::after {
        display: none;
    }

    .rmd-header__cta {
        display: none;
    }

    .rmd-menu-toggle {
        display: block;
    }

    .rmd-hero {
        min-height: auto;
    }

    .rmd-hero__inner {
        min-height: auto;
        padding-top: 60px;
        padding-bottom: 60px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .rmd-hero__content {
        max-width: 700px;
    }

    .rmd-quote-card {
        max-width: 620px;
    }

    .rmd-benefits__grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .rmd-benefit {
        border-bottom: 1px solid var(--rmd-gray-200);
    }

    .rmd-benefit:nth-child(2) {
        border-right: 0;
    }

    .rmd-benefit:nth-child(3),
    .rmd-benefit:nth-child(4) {
        border-bottom: 0;
    }

}

@media (max-width: 640px) {

    .rmd-container,
    .rmd-container--wide {
        width: min(
            calc(100% - 28px),
            var(--rmd-container)
        );
    }

    .rmd-header__inner {
        min-height: 72px;
    }

    .rmd-branding .custom-logo {
        max-width: 155px;
        max-height: 56px;
    }

    .rmd-navigation {
        top: 72px;
    }

    .rmd-hero__inner {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .rmd-hero__title {
        margin-bottom: 20px;
        font-size: 42px;
    }

    .rmd-hero__description {
        margin-bottom: 26px;
        font-size: 16px;
    }

    .rmd-hero__features {
        flex-direction: column;
        gap: 11px;
    }

    .rmd-quote-card {
        padding: 23px 18px;
    }

    .rmd-quote-card__header h2 {
        font-size: 24px;
    }

    .rmd-benefits__grid {
        grid-template-columns: 1fr;
    }

    .rmd-benefit,
    .rmd-benefit:nth-child(2),
    .rmd-benefit:nth-child(3) {
        min-height: 62px;
        border-right: 0;
        border-bottom: 1px solid var(--rmd-gray-200);
    }

    .rmd-benefit:last-child {
        border-bottom: 0;
    }

}

@media (max-width: 1180px) {

    .rmd-services__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {

    .rmd-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rmd-stat:nth-child(2) {
        border-right: 0;
    }

    .rmd-stat:nth-child(1),
    .rmd-stat:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

}

@media (max-width: 640px) {

    .rmd-services__grid {
        grid-template-columns: 1fr;
    }

    .rmd-service-card__link {
        min-height: auto;
    }

    .rmd-stats__grid {
        grid-template-columns: 1fr;
    }

    .rmd-stat,
    .rmd-stat:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        justify-content: flex-start;
    }

    .rmd-stat:last-child {
        border-bottom: 0;
    }

}

@media (max-width: 1180px) {

    .rmd-projects__layout {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .rmd-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 900px) {

    .rmd-projects__layout,
    .rmd-before-after__layout {
        grid-template-columns: 1fr;
    }

    .rmd-projects__intro {
        max-width: 620px;
    }

}

@media (max-width: 640px) {

    .rmd-projects__grid {
        grid-template-columns: 1fr;
    }

    .rmd-before-after__viewer {
        grid-template-columns: 1fr;
    }

    .rmd-before-after__panel:first-child {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    }

}

@media (max-width: 900px) {

    .rmd-final-cta__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

}

@media (max-width: 640px) {

    .rmd-final-cta__inner {
        min-height: auto;
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .rmd-final-cta__content h2 {
        font-size: 38px;
    }

    .rmd-final-cta__contact {
        flex-direction: column;
        gap: 15px;
    }

    .rmd-final-cta__button {
        width: 100%;
        min-width: 0;
    }

}