/**
 * Responsive — All breakpoints for all pages
 * @package Brightn8_Safeguard
 */


/* ==========================================================================
   BREAKPOINT: 1024px  (Tablet landscape / small desktop)
   ========================================================================== */

@media (max-width: 1024px) {

    /* --- Shared / Root ----------------------------------------------------- */
    :root {
        --section-pad: 5rem;
        --container-pad: 1.5rem;
    }

    /* --- Shared Nav & Footer (bn8-) ---------------------------------------- */
    .bn8-nav__links {
        display: none;
    }

    .bn8-nav__mobile-toggle {
        display: flex;
    }

    .bn8-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    /* --- Homepage (bn8-) --------------------------------------------------- */
    .bn8-hero__inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .bn8-hero__content {
        max-width: 100%;
        text-align: center;
    }

    .bn8-hero__subtitle {
        margin: 0 auto 2.5rem;
    }

    .bn8-hero__actions {
        justify-content: center;
    }

    .bn8-hero__stats {
        justify-content: center;
    }

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

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

    .bn8-process__grid::before {
        display: none;
    }

    .bn8-results__grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .bn8-testimonials__row-2 {
        grid-template-columns: 1fr;
    }

    /* --- Safeguard Page (sg-) ---------------------------------------------- */
    .sg-risk__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sg-define__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .sg-define__visual {
        order: -1;
    }

    .sg-define__diagram {
        max-width: 320px;
        margin: 0 auto;
    }

    .sg-expertise__grid {
        grid-template-columns: 1fr;
    }

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

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

    /* --- Use Cases Page (uc-) ---------------------------------------------- */
    .uc-block__layout {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .uc-block__layout--reverse .uc-block__visual {
        order: 0;
    }

    .uc-scene {
        max-width: 400px;
        margin: 0 auto;
    }

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

    .uc-approach__steps {
        grid-template-columns: repeat(3, 1fr);
    }

    .uc-approach-step:not(:last-child)::after {
        display: none;
    }

    /* --- How We Work Page (hw-) -------------------------------------------- */
    .hw-step {
        grid-template-columns: 64px 1fr;
    }

    .hw-step__visual {
        display: none;
    }

    .hw-philosophy__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hw-philosophy__visual {
        order: -1;
    }

    .hw-philosophy__diagram {
        max-width: 300px;
        margin: 0 auto;
    }

    .hw-different__grid {
        grid-template-columns: 1fr;
    }

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

    .hw-experience__layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hw-experience__visual {
        order: -1;
    }
}


/* ==========================================================================
   BREAKPOINT: 768px  (Tablet portrait / large phone)
   ========================================================================== */

@media (max-width: 768px) {

    /* --- Shared / Root ----------------------------------------------------- */
    :root {
        --section-pad: 4rem;
        --container-pad: 1.25rem;
    }

    /* --- Shared Nav & Footer (bn8-) ---------------------------------------- */
    .bn8-footer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bn8-footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* --- Homepage (bn8-) --------------------------------------------------- */
    .bn8-hero {
        min-height: auto;
        padding: 7rem 0 4rem;
    }

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

    .bn8-hero__stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .bn8-automate__grid {
        grid-template-columns: 1fr;
    }

    .bn8-automate__title {
        font-size: 1.75rem;
    }

    .bn8-process__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bn8-process__title,
    .bn8-usecases__title {
        font-size: 1.75rem;
    }

    .bn8-usecases__grid {
        grid-template-columns: 1fr;
    }

    .bn8-results__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bn8-results__title {
        font-size: 1.75rem;
    }

    .bn8-result-card__visual {
        height: 200px;
    }

    .bn8-result-card__body {
        padding: 1.25rem 1.5rem 1.5rem;
    }

    .bn8-value__heading {
        font-size: 2.5rem;
    }

    .bn8-testimonials__grid {
        grid-template-columns: 1fr;
    }

    .bn8-testimonials__row-2 {
        grid-template-columns: 1fr;
    }

    /* --- Safeguard Page (sg-) ---------------------------------------------- */
    .sg-hero {
        padding: 8rem 0 4rem;
    }

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

    .sg-hero__subtitle {
        font-size: 1.0625rem;
    }

    .sg-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .sg-hero__actions .bn8-btn {
        width: 100%;
        max-width: 340px;
    }

    .sg-risk__grid {
        grid-template-columns: 1fr;
    }

    .sg-section-header h2 {
        font-size: 1.75rem;
    }

    .sg-global__grid {
        grid-template-columns: 1fr;
    }

    .sg-outcomes__grid {
        grid-template-columns: 1fr;
    }

    .sg-audience__grid {
        grid-template-columns: 1fr;
    }

    .sg-final-cta__title {
        font-size: 1.75rem;
    }

    .sg-final-cta__contact {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    /* --- Use Cases Page (uc-) ---------------------------------------------- */
    .uc-hero {
        padding: 8rem 0 4rem;
    }

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

    .uc-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .uc-hero__actions .bn8-btn {
        width: 100%;
        max-width: 340px;
    }

    .uc-section-header h2 {
        font-size: 1.75rem;
    }

    .uc-block__title {
        font-size: 1.5rem;
    }

    .uc-block__impact {
        grid-template-columns: 1fr;
    }

    .uc-why__grid {
        grid-template-columns: 1fr;
    }

    .uc-approach__steps {
        grid-template-columns: 1fr 1fr;
    }

    .uc-audience__grid {
        grid-template-columns: 1fr;
    }

    .uc-cta__title {
        font-size: 1.75rem;
    }

    /* --- How We Work Page (hw-) -------------------------------------------- */
    .hw-hero {
        padding: 8rem 0 4rem;
    }

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

    .hw-hero__subtitle {
        font-size: 1.0625rem;
    }

    .hw-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .hw-hero__actions .bn8-btn {
        width: 100%;
        max-width: 340px;
    }

    .hw-section-header h2 {
        font-size: 1.75rem;
    }

    .hw-step {
        grid-template-columns: 48px 1fr;
        gap: 1.5rem;
    }

    .hw-step__number {
        width: 48px;
        height: 48px;
        font-size: 1.125rem;
    }

    .hw-steps::before {
        left: 23px;
    }

    .hw-step__title {
        font-size: 1.25rem;
    }

    .hw-safeguard__grid {
        grid-template-columns: 1fr;
    }

    .hw-audience__grid {
        grid-template-columns: 1fr;
    }

    .hw-final-cta__title {
        font-size: 1.75rem;
    }

    .hw-final-cta__contact {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}


/* ==========================================================================
   BREAKPOINT: 480px  (Mobile portrait)
   ========================================================================== */

@media (max-width: 480px) {

    /* --- Shared / Root ----------------------------------------------------- */
    :root {
        --section-pad: 3rem;
        --container-pad: 1rem;
    }

    /* --- Homepage (bn8-) --------------------------------------------------- */
    .bn8-hero__title {
        font-size: 1.875rem;
    }

    .bn8-hero__actions {
        flex-direction: column;
        width: 100%;
    }

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

    .bn8-value__heading {
        font-size: 2rem;
    }

    .bn8-value__text {
        font-size: 1.0625rem;
    }

    /* --- Safeguard Page (sg-) ---------------------------------------------- */
    .sg-hero__title {
        font-size: 1.875rem;
    }

    .sg-define__content h2 {
        font-size: 1.75rem;
    }

    .sg-final-cta__title {
        font-size: 1.5rem;
    }

    .sg-audience__col {
        padding: 1.75rem;
    }

    /* --- Use Cases Page (uc-) ---------------------------------------------- */
    .uc-hero__title {
        font-size: 1.875rem;
    }

    .uc-approach__steps {
        grid-template-columns: 1fr;
    }

    .uc-audience__col {
        padding: 1.75rem;
    }

    .uc-cta__title {
        font-size: 1.5rem;
    }

    /* --- How We Work Page (hw-) -------------------------------------------- */
    .hw-hero__title {
        font-size: 1.875rem;
    }

    .hw-step {
        grid-template-columns: 40px 1fr;
        gap: 1rem;
        margin-bottom: 3rem;
    }

    .hw-step__number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .hw-steps::before {
        left: 19px;
    }

    .hw-step__title {
        font-size: 1.125rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .hw-final-cta__title {
        font-size: 1.5rem;
    }

    .hw-audience__col {
        padding: 1.75rem;
    }
}
