/* ============================================================
   FLUJO COMERCIO
   ============================================================ */

.commerce-flow {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 12px;
}

.commerce-flow-item {
    min-height: 128px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 18px 12px;

    border: 1px solid rgba(39,52,112,.10);
    border-radius: 16px;

    background: white;

    color: var(--mundawa);

    text-align: center;
}

.commerce-flow-icon {
    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: var(--mundawa-light);

    color: white;
}

.commerce-flow-icon svg {
    width: 25px;
    height: 25px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.commerce-flow-item strong {
    font-size: .78rem;
    line-height: 1.25;
}


/* ============================================================
   OPERACIONES DE MAYOR ESCALA
   ============================================================ */

.volume-layout {
    display: grid;

    grid-template-columns: .82fr 1.18fr;

    gap: 75px;
    align-items: start;
}

.volume-copy {
    max-width: 500px;
}

.volume-copy p {
    margin: 22px 0 0;

    color: var(--muted);

    line-height: 1.8;
}

.volume-points {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;
}

.volume-point {
    padding: 24px;

    border: 1px solid rgba(39,52,112,.10);
    /* border-left: 3px solid var(--mundawa); */
    border-radius: 17px;

    background: white;
}

.volume-point h3 {
    margin-bottom: 8px;

    color: var(--mundawa);

    font-size: 1.05rem;
}

.volume-point p {
    margin: 0;

    color: var(--muted);

    font-size: .9rem;
    line-height: 1.65;
}


/* ============================================================
   MÓDULOS
   ============================================================ */

.module-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}

.module-card {
    min-height: 190px;

    padding: 25px;

    border: 1px solid var(--border);
    /* border-left: 3px solid var(--mundawa); */
    border-radius: var(--radius);

    background: white;
}

.module-card h3 {
    margin-bottom: 10px;

    color: var(--mundawa);

    font-size: 1.08rem;
}

.module-card p {
    margin: 0;

    color: var(--muted);

    font-size: .89rem;
    line-height: 1.68;
}


/* ============================================================
   BASE ADAPTABLE
   ============================================================ */

.adaptable-box {
    position: relative;

    overflow: hidden;

    padding: 56px;

    border-radius: var(--radius-lg);

    background: var(--mundawa);
    color: white;
}

.adaptable-box::after {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -180px;
    top: 50%;

    transform: translateY(-50%);

    border: 1px solid rgba(255,255,255,.06);
    border-radius: 50%;

    pointer-events: none;
}

.adaptable-content {
    position: relative;
    z-index: 1;

    max-width: 780px;
}

.adaptable-content h2 {
    margin-bottom: 24px;
}

.adaptable-content p {
    max-width: 720px;

    margin: 0;

    color: rgba(255,255,255,.76);

    font-size: 1.05rem;
    line-height: 1.8;
}


/* ============================================================
   CAPTURAS / CAROUSEL
   ============================================================ */

.screen-carousel {
    overflow: hidden;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    background: white;

    box-shadow:
        0 12px 30px rgba(39,52,112,.035);
}

.screen-carousel-frame {
    overflow: hidden;
}

.screen-carousel-track {
    display: flex;

    transition: transform .35s ease;
}

.screen-slide {
    min-width: 100%;
}

.screen-shot {
    display: flex;
    flex-direction: column;
}

.screen-shot-visual {
    min-height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 36px;

    background:
        linear-gradient(
            180deg,
            rgba(39,52,112,.04) 0%,
            rgba(39,52,112,.02) 100%
        );
}

.screen-shot-placeholder {
    width: 100%;
    max-width: 820px;
    min-height: 300px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 18px;

    padding: 40px;

    border: 1px dashed rgba(39,52,112,.18);
    border-radius: 22px;

    background: white;

    color: rgba(39,52,112,.55);

    text-align: center;
}

.screen-shot-placeholder svg {
    width: 70px;
    height: 70px;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.15;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.screen-shot-placeholder span {
    font-size: .95rem;
    font-weight: 600;
}

.screen-shot-caption {
    padding: 24px 28px 26px;

    border-top: 1px solid var(--border);
}

.screen-shot-caption strong {
    display: block;

    margin-bottom: 7px;

    color: var(--mundawa);

    font-family: "Outfit", sans-serif;
    font-size: 1.12rem;
    font-weight: 600;
}

.screen-shot-caption p {
    max-width: 760px;

    margin: 0;

    color: var(--muted);

    line-height: 1.72;
}

.screen-carousel-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 18px 22px 22px;

    border-top: 1px solid var(--border);
}

.screen-carousel-arrows {
    display: flex;
    align-items: center;

    gap: 10px;
}

.carousel-arrow {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid var(--border);
    border-radius: 50%;

    background: white;
    color: var(--mundawa);

    font-size: 1.45rem;
    line-height: 1;

    cursor: pointer;

    transition:
        border-color .15s ease,
        background-color .15s ease;
}

.carousel-arrow:hover {
    border-color: var(--mundawa);

    background: rgba(39,52,112,.03);
}

.screen-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 9px;
}

.carousel-dot {
    width: 10px;
    height: 10px;

    border: 0;
    border-radius: 50%;

    background: rgba(39,52,112,.16);

    cursor: pointer;

    transition:
        transform .15s ease,
        background-color .15s ease;
}

.carousel-dot.is-active {
    background: var(--mundawa);

    transform: scale(1.08);
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 940px) {

    .screen-shot-visual {
        min-height: 360px;
    }

    .volume-layout {
        grid-template-columns: 1fr;

        gap: 40px;
    }

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

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

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 680px) {

    .screen-shot-visual {
        min-height: 280px;

        padding: 20px;
    }

    .screen-shot-placeholder {
        min-height: 220px;

        padding: 28px 20px;
    }

    .screen-shot-placeholder svg {
        width: 56px;
        height: 56px;
    }

    .screen-shot-caption {
        padding: 20px 20px 22px;
    }

    .screen-carousel-footer {
        align-items: center;
        flex-direction: column;

        padding: 16px 18px 20px;
    }

    .screen-carousel-dots {
        justify-content: center;
    }

    .commerce-flow {
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
    }

    .commerce-flow-item {
        min-height: 112px;
    }

    .volume-points,
    .module-grid {
        grid-template-columns: 1fr;
    }

    .adaptable-box {
        padding: 36px 28px;
    }

}
