@media (max-width: 768px) {
    .caso-flex {
        flex-direction: column;
    }
    .caso-img {
        width: 100% !important;
    }
    .as-is-to-be {
        flex-direction: column;
        align-items: center;
    }
    .as-is-to-be > div {
        width: 100%;
    }
    .as-is-to-be img {
        width: 80% !important;
    }

    .diagram {
        flex-direction: column;
    }
    .casi-wrapper {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .casi-wrapper p,
    .casi-wrapper h3,
    .casi-wrapper h4,
    .casi-wrapper h5 {
        word-break: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
    }
    .col-12 ol,
    .col-12 ul {
        padding-left: 5px !important;
        margin-left: 16px !important;
    }

    .row.mx-0 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .col-12 {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
    .fan { display: none; }
    .left { text-align: left; }
    .left-item { text-align: left; }
    .right { padding-left: 0; }
    .right-item {  border-left: 3px solid #1a2a5e; padding-left: 12px; margin-bottom: 8px; }

    .col-text-desktop {
        width: 100% !important;
        padding-right: 0 !important;
    }

    .qf-cta-wrap {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 24px 16px !important;
    }
    .qf-cta-wrap a,
    .qf-cta-wrap button {
        padding: 14px 20px !important;
        margin-right: 0 !important;
        text-align: center !important;
    }

    .qf-arch-row {
        flex-direction: column !important;
    }
    .qf-arch-label {
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.5) !important;
        border-radius: 0 !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 16px !important;
    }
    .qf-arch-label h2 { font-size: 1.4rem !important; }
    .qf-arch-content { padding: 16px 12px !important; }
    .qf-arch-content .w-50 { width: 100% !important; }
    .qf-arch-content img { max-width: 100% !important; height: auto !important; }

    .qf-proto-row {
        flex-direction: column !important;
        direction: ltr !important;
    }
    .qf-proto-label {
        border-left: none !important;
        border-bottom: var(--global-border) !important;
        border-radius: 0 !important;
        width: 100% !important;
        justify-content: center !important;
        padding: 16px !important;
        direction: ltr !important;
    }
    .qf-proto-label h2 { font-size: 1.4rem !important; }
    .qf-proto-content { padding: 16px 12px !important; direction: ltr !important; }
    .qf-proto-content img { max-width: 100% !important; height: auto !important; }

    .map{
        min-width: 300px;
    }

    .bottom-bar .col-12.flex {
        flex-wrap: wrap !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 16px !important;
        overflow: hidden !important;
    }

    .bottom-bar .col-12.flex h4,
    .bottom-bar .col-12.flex span {
        margin-left: 0 !important;
        width: 100% !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
    }
}
.caso-img {
    width: 35%;
    border-radius: 10px;
    flex-shrink: 0;

}
.caso-flex {
    display: flex;
    gap: 32px;
    align-items: center;
}
@media (max-width: 890px) {
    .arch-cards-grid--3,
    .arch-cards-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .caso-flex {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .caso-img {
        width: 100%;
        max-width: 280px;
        max-height: 160px;
        object-fit: contain;
        margin: 0;
    }
    .col-text-desktop {
        width: 100%;
        padding: 0 4px;
        min-width: unset;
    }
    .col-text-desktop h3 { font-size: 16px; margin-bottom: 8px; }
    .col-text-desktop p  { font-size: 13px; line-height: 1.55; margin: 0; }
}

@media (max-width: 560px) {
    .arch-cards-grid--3,
    .arch-cards-grid--4 { grid-template-columns: 1fr; }
}
