@media (min-width: 640px) {
    .bl-container {
        width: min(100% - 40px, var(--bl-container));
    }

    .bl-cta__box {
        padding: 40px 32px;
    }

    .bl-post-card__content {
        padding: 24px;
    }

    .bl-footer__brand,
    .bl-footer__nav,
    .bl-footer__contact {
        padding: 24px;
    }
}

@media (min-width: 768px) {
    .bl-section-heading {
        margin-bottom: 50px;
    }

    .bl-about__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bl-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bl-clients__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bl-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bl-footer__grid {
        grid-template-columns: 1.45fr 1fr 1fr;
        align-items: start;
    }

    .bl-cta__box {
        grid-template-columns: minmax(0, 1.5fr) auto;
        align-items: center;
    }

    .bl-whatsapp-float {
        right: 22px;
        bottom: 22px;
    }
}

@media (min-width: 992px) {
    .bl-menu-toggle {
        display: none;
    }

    .bl-nav {
        position: static;
        inset: auto;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        background: transparent;
        border: 0;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 22px;
        box-shadow: none;
    }

    .bl-nav__list {
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .bl-nav__item a {
        padding: 10px 14px;
    }

    .bl-nav__cta {
        margin-top: 0;
        margin-left: 8px;
    }

    .bl-about__grid {
        grid-template-columns: minmax(0, 1.12fr) minmax(430px, 0.88fr);
        align-items: start;
        gap: 30px;
    }

    .bl-process__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bl-clients__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bl-posts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bl-home-blog .bl-section-heading {
        flex-direction: row;
        align-items: end;
        justify-content: space-between;
    }
}

@media (min-width: 1200px) {
    .bl-header__inner {
        gap: 28px;
    }

    .bl-nav {
        gap: 28px;
    }

    .bl-hero__title {
        max-width: 10.5ch;
    }

    .bl-section-title {
        max-width: 13.5ch;
    }
}

@media (max-width: 991px) {
    .bl-nav__cta .bl-btn {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .bl-header__brand .custom-logo {
        max-height: 40px;
    }

    .bl-hero {
        --bl-hero-title-size: clamp(2rem, 9vw, 3.6rem);
        --bl-hero-subtitle-size: 1rem;
        --bl-hero-gap: 18px;
        --bl-hero-padding-top: 24px;
        --bl-hero-padding-bottom: 24px;
        --bl-hero-btn-height: 56px;
        --bl-hero-btn-padding-x: 24px;
        --bl-hero-pill-height: 34px;
        --bl-hero-pill-padding-x: 12px;
        --bl-hero-pill-font-size: 0.8rem;
        --bl-hero-scroll-space: 28px;
        min-height: calc((var(--bl-real-vh) * 100) - var(--bl-header-h));
        height: auto;
        max-height: none;
    }

    .bl-hero .bl-container {
        height: auto;
        min-height: calc((var(--bl-real-vh) * 100) - var(--bl-header-h));
    }

    .bl-hero__content {
        min-height: calc((var(--bl-real-vh) * 100) - var(--bl-header-h));
        height: auto;
        max-height: none;
        justify-content: center;
        padding-top: var(--bl-hero-padding-top);
        padding-bottom: calc(var(--bl-hero-padding-bottom) + env(safe-area-inset-bottom, 0px) + 56px);
        gap: var(--bl-hero-gap);
    }

    .bl-hero__title {
        max-width: 12.5ch;
    }

    .bl-hero__subtitle p {
        line-height: 1.6;
    }

    .bl-hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .bl-hero__actions .bl-btn {
        width: 100%;
    }

    .bl-hero__badges {
        gap: 8px;
    }

    .bl-pill {
        min-height: 34px;
        padding: 0 12px;
        font-size: 0.8rem;
    }

    .bl-hero__scroll {
        display: none;
    }

    .bl-about__text {
        padding: 24px 20px;
    }

    .bl-whatsapp-float {
        width: calc(100% - 24px);
        right: 12px;
        left: 12px;
        justify-content: center;
        bottom: max(12px, env(safe-area-inset-bottom, 0px));
    }

    .bl-whatsapp-float__label {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .bl-page-actions .bl-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    :root {
        --bl-header-h: 76px;
    }

    .bl-container {
        width: min(100% - 24px, var(--bl-container));
    }

    .bl-btn--lg {
        min-height: 54px;
    }

    .bl-hero {
        --bl-hero-title-size: clamp(1.85rem, 10vw, 3.1rem);
        --bl-hero-subtitle-size: 0.97rem;
        --bl-hero-gap: 16px;
        --bl-hero-padding-top: 20px;
        --bl-hero-padding-bottom: 20px;
    }

    .bl-hero__content {
        padding-top: var(--bl-hero-padding-top);
        padding-bottom: calc(var(--bl-hero-padding-bottom) + env(safe-area-inset-bottom, 0px) + 58px);
        gap: var(--bl-hero-gap);
    }

    .bl-hero__title {
        max-width: 13ch;
    }

    .bl-post-card__content,
    .bl-process-card,
    .bl-info-card,
    .bl-client-card,
    .bl-empty-state,
    .bl-cta__box,
    .bl-footer__brand,
    .bl-footer__nav,
    .bl-footer__contact {
        padding-left: 18px;
        padding-right: 18px;
    }

    .bl-footer {
        padding-bottom: 92px;
    }
}
@media (min-width: 640px) {
    .bl-about__editorial {
        padding: 34px;
    }

    .bl-info-card,
    .bl-process-card,
    .bl-post-card__content,
    .bl-cta__box {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (min-width: 768px) {
    .bl-about__highlights {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bl-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bl-clients__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bl-posts-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bl-cta__box {
        grid-template-columns: minmax(0, 1.3fr) auto;
        align-items: center;
    }

    .bl-hero {
        min-height: calc((var(--bl-real-vh) * 100) - var(--bl-header-h));
        height: calc((var(--bl-real-vh) * 100) - var(--bl-header-h));
        max-height: calc((var(--bl-real-vh) * 100) - var(--bl-header-h));
    }
}

@media (min-width: 992px) {
    .bl-about__shell {
        grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
        gap: 30px;
        align-items: start;
    }

    .bl-clients__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .bl-posts-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .bl-home-blog__heading {
        flex-direction: row;
        justify-content: space-between;
        align-items: end;
    }

    .bl-process__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .bl-hero {
        --bl-hero-title-size: clamp(2rem, 9vw, 3.6rem);
        --bl-hero-subtitle-size: 1rem;
        --bl-hero-gap: 18px;
        --bl-hero-padding-top: 24px;
        --bl-hero-padding-bottom: 24px;
        --bl-hero-btn-height: 56px;
        --bl-hero-btn-padding-x: 24px;
        --bl-hero-pill-height: 34px;
        --bl-hero-pill-padding-x: 12px;
        --bl-hero-pill-font-size: 0.8rem;
        --bl-hero-scroll-space: 28px;
        min-height: calc((var(--bl-real-vh) * 100) - var(--bl-header-h));
        height: auto;
        max-height: none;
    }

    .bl-hero .bl-container {
        height: auto;
        min-height: calc((var(--bl-real-vh) * 100) - var(--bl-header-h));
    }

    .bl-hero__content {
        min-height: calc((var(--bl-real-vh) * 100) - var(--bl-header-h));
        height: auto;
        max-height: none;
        justify-content: center;
        padding-top: var(--bl-hero-padding-top);
        padding-bottom: calc(var(--bl-hero-padding-bottom) + env(safe-area-inset-bottom, 0px) + 56px);
        gap: var(--bl-hero-gap);
    }

    .bl-hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .bl-hero__actions .bl-btn {
        width: 100%;
    }

    .bl-hero__scroll {
        display: none;
    }

    .bl-about__editorial {
        padding: 24px 20px;
    }

    .bl-about__aside-head {
        padding: 8px 4px 4px;
    }

    .bl-process-card {
        min-height: auto;
    }

    .bl-client-card {
        min-height: 170px;
    }

    .bl-cta__actions {
        flex-direction: column;
    }

    .bl-cta__actions .bl-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .bl-hero {
        --bl-hero-title-size: clamp(1.85rem, 10vw, 3.1rem);
        --bl-hero-subtitle-size: 0.97rem;
        --bl-hero-gap: 16px;
        --bl-hero-padding-top: 20px;
        --bl-hero-padding-bottom: 20px;
    }

    .bl-hero__content {
        padding-top: var(--bl-hero-padding-top);
        padding-bottom: calc(var(--bl-hero-padding-bottom) + env(safe-area-inset-bottom, 0px) + 58px);
        gap: var(--bl-hero-gap);
    }

    .bl-about__editorial,
    .bl-info-card,
    .bl-process-card,
    .bl-post-card__content,
    .bl-empty-state,
    .bl-cta__box {
        padding-left: 18px;
        padding-right: 18px;
    }

    .bl-clients__ribbon {
        justify-content: flex-start;
    }

    .bl-clients__ribbon span {
        min-height: 36px;
        font-size: 0.8rem;
    }
}