.ssm-section {
    background-color: #FAFAFB;
    margin-top: 10rem;
    margin-bottom: 10rem;
    overflow-x: hidden;
    padding: 4rem 0rem;
}

.ssm-container {
    width: 85%;
    margin: 0 auto;
}

/* ── Header ── */
.ssm-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ssm-titulo {
    font-family: "Lexend Deca";
    font-size: 32px;
    font-weight: 800;
    line-height: 1.3;
    color: var(--color3);
    margin: 0 0 0.5rem;
}

.ssm-titulo .ssm-marca {
    color: var(--color1);
}

.ssm-subtitulo {
    font-family: "Lexend Deca";
    font-size: 18px;
    font-weight: 300;
    color: var(--neutro2);
    margin: 0;
}

/* ── Steps ── */
.ssm-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6rem;
}

.ssm-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Número ── */
.ssm-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color1);
    color: #fff;
    font-family: "Lexend Deca";
    font-size: 28px;
    font-weight: 800;
    flex-shrink: 0;
}

.ssm-phone-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.ssm-step-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 268px;
    min-height: 160px;
    justify-content: flex-start;
}

.ssm-step-titulo {
    font-family: "Lexend Deca";
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: 21.6px;
    color: var(--neutro2);
    margin: 0;
    min-height: 44px;
}

.ssm-step-desc {
    font-family: "Lexend Deca";
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 20px;
    color: var(--neutro2);
    margin: 0;
}

/* ── Móvil ── */
.ssm-step-bottom {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    position: relative;
}

.ssm-phone {
    width: 268px;
    height: 539px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    flex-shrink: 0;
    position: relative;
}

.ssm-movil-wrap {
    position: relative;
    width: 268px;
    height: 539px;
    flex-shrink: 0;
}

.ssm-movil-img {
    width: 268px;
    height: 539px;
    display: block;
    object-fit: contain;
}

.ssm-movil-screen {
    position: absolute;
    top: 68px;
    left: 18px;
    right: 18px;
    bottom: 44px;
    overflow: visible;
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 6px 0;
    z-index: 1;
}

/* ── App Header (phones 1 & 3) ── */
.ssm-app-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px 6px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.ssm-app-brand {
    font-family: "Lexend Deca", sans-serif;
    font-weight: 800;
    font-size: 17px;
    color: var(--color1);
}

/* ── App Rows (phone 1) ── */
.ssm-app-rows {
    padding: 8px 0px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    flex-shrink: 0;
    width: calc(100% + 80px);
    margin-left: -40px;
}

.ssm-app-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 19px;
    background: #FFFBFB;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.30);
    border-radius: 10px;
    padding: 7px 10px;
}

.ssm-app-row-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ssm-app-row-icon svg {
    width: 100%;
    height: 100%;
}

.ssm-icon-teal   { width: 53px; height: 53px; }
.ssm-icon-orange {}
.ssm-icon-green  {}

.ssm-app-row-text {
    font-family: "Lexend Deca", sans-serif;
    color: var(--color1);
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
}

.ssm-app-card-highlight {
    margin: 0 -40px 6px;
    padding: 9px 12px;
    border-radius: 19px;
    background: #FFFBFB;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.30);
    color: var(--color3);
    font-family: "Lexend Deca", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    text-align: center;
    flex-shrink: 0;
}

.ssm-movil-screen .ssm-app-btn {
    margin-top: auto;
}

.ssm-app-btn {
    margin: 0 12px;
    background: var(--color3);
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.30);
    border-radius: 16px;
    padding: 9px 12px;
    color: #fff;
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    flex-shrink: 0;
}

.ssm-btn-num {
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
}

.ssm-app-btn--sm {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    padding: 9px 12px;
    margin-top: 4px;
    width: 100%;
}

/* ── Chat Header (phone 2) ── */
.ssm-chat-header {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.ssm-chat-avatar-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #005b67, #FF7900);
    flex-shrink: 0;
}

.ssm-chat-name {
    font-family: "Lexend Deca", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #222;
    flex: 1;
}

/* ── Chat screen wrapper (phone 2) ── */
.ssm-chat-screen {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: visible;
    gap: 0;
    position: relative;
}

/* ── Chat header ── */
.ssm-chat-header {
    position: absolute;
    top: -32px;
    left: 55px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
    flex-shrink: 0;
    z-index: 2;
}

.ssm-chat-name {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 25px;
    color: var(--color3);
}

.ssm-chat-status {
    color: #6BCE82;
    font-family: "Nunito Sans";
    font-size: 10px;
    font-style: normal;
    font-weight: 300;
    line-height: 25px;
    margin-top: -6px;
}

.ssm-chat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.ssm-chat-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Chat messages ── */
.ssm-chat-messages {
    flex: 1;
    overflow: visible;
    padding: 14px 14px 0px 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: calc(100% + 80px);
    margin-left: -40px;
}

.ssm-chat-bubble {
    border-radius: 12px;
    padding: 5px 9px;
    font-family: "Lexend Deca", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    max-width: 90%;
}

.ssm-bubble-user {
    border-radius: 19px 0 19px 19px;
    background: #FFFBFB;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.17);
    color: var(--color3);
    align-self: flex-end;
    margin-right: -40px;
    text-align: left;
    width: 85%;
    max-width: unset;
}

.ssm-bot-msg {
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 0 19px 19px 19px;
    background: #FFFBFB;
    box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.17);
    padding: 5px 9px;
    align-self: flex-start;
    margin-left: -40px;
}

.ssm-bot-msg--top {
    align-items: flex-start;
}

.ssm-bot-dot {
    width: 25px;
    height: 25px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ssm-bot-msg span,
.ssm-chat-text {
    font-family: "Lexend Deca", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    color: var(--color3);
}

/* ── Bank Card ── */
.ssm-bank-card {
    border-radius: 19px;
    background: #FFFBFB;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.19);
    padding: 10px 14px;
    flex-shrink: 0;
}

.ssm-bank-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ssm-banco-img {
    height: auto;
    width: 123px;
    display: block;
    object-fit: contain;
}

.ssm-banco-nombre {
    display: flex;
    align-items: center;
}

.ssm-banco-label {
    font-family: "Lexend Deca", sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 300;
    color: var(--color3);
}

.ssm-bank-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ssm-mejor-opcion {
    background: var(--color2);
    color: var(--color3);
    font-family: "Lexend Deca", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 9px;
    width: 50%;
}

.ssm-cuota-precio {
    font-family: "Lexend Deca", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    color: var(--color3);
}

.ssm-cuota-mes {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

/* ── Checklist ── */
.ssm-checklist {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-shrink: 0;
}

.ssm-check-item {
    font-family: "Lexend Deca", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 12px;
    color: var(--color3);
    display: flex;
    align-items: center;
    gap: 3px;
}

.ssm-check {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* ── Success screen (phone 3) ── */
.ssm-success-screen {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 14px 0px 14px;
    gap: 6px;
}

.ssm-success-title {
    font-family: "Lexend Deca", sans-serif;
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    color: var(--color3);
    margin: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ssm-success-subtitle {
    font-family: "Lexend Deca", sans-serif;
    font-size: 11px;
    color: #666;
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

.ssm-success-card {
    width: calc(100% + 108px);
    margin: 0 -54px;
    padding: 9px 12px;
    border-radius: 19px;
    background: #FFFBFB;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.30);
    color: var(--color3);
    font-family: "Lexend Deca", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    text-align: center;
    flex-shrink: 0;
}

.ssm-success-illustration {
    margin: 4px -54px;
    width: calc(100% + 108px);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 19px;
    background: #FFFBFB;
    box-shadow: 0 8px 8px 0 rgba(0, 0, 0, 0.30);
    overflow: hidden;
}

.ssm-success-illustration img {
    width: 230px;
    height: 231px;
    display: block;
    object-fit: contain;
}

/* ── Badge ── */
.ssm-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-family: "Lexend Deca";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 21.6px;
    color: var(--color3);
    max-width: 110px;
    align-self: flex-start;
    margin-top: calc(160px + 1.5rem);
}

.ssm-badge--right {
    align-items: flex-start;
}

.ssm-badge--left {
    align-items: flex-end;
    text-align: right;
}

.ssm-badge--end {
    align-self: flex-end;
    margin-top: 0;
    margin-bottom: 30px;
}

.ssm-app-row--no-bg {
    background: transparent;
    box-shadow: unset;
}

.ssm-app-row--no-bg .ssm-app-row-text {
    color: var(--color3);
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
}

.ssm-app-row--overflow {
    margin-left: -14px;
    margin-right: -14px;
}

/* ── Responsive ── */

@media (max-width: 1024px) {
    .ssm-steps {
        flex-direction: column;
        align-items: center;
    }

    .ssm-step-bottom {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .ssm-step {
        display: none;
        width: 100%;
        max-width: 360px;
    }

    .ssm-step.ssm-step--active {
        display: flex;
    }

    .ssm-movil-wrap,
    .ssm-movil-img,
    .ssm-phone {
        width: 268px;
        height: 539px;
    }

    .ssm-movil-screen {
        top: 68px;
        left: 18px;
        right: 18px;
        bottom: 44px;
    }

    .ssm-step-top {
        width: 268px;
        min-height: auto;
    }

    .ssm-titulo {
        font-size: 30px;
    }

    .ssm-subtitulo {
        font-size: 20px;
    }

    .ssm-mobile-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 0.5rem 0;
        gap: 0.75rem;
    }

    .ssm-badge {
        max-width: unset;
        margin: 0 auto;
        flex-direction: row-reverse;
        width: 80%;
        margin-top: 0;
        align-self: flex-start;
    }

    .ssm-badge--right {
        align-items: flex-end;
        text-align: left;
        align-self: flex-end;
    }

    .ssm-badge--right .ssm-arrow {
        transform: rotate(90deg);
    }

    .ssm-nav-btn {
        flex: 1;
        border-radius: 31px;
        border: 1px solid var(--color1);
        background: var(--color1);
        color: #FFF;
        text-align: center;
        font-family: "Lexend Deca";
        font-size: 20px;
        font-style: normal;
        font-weight: 800;
        line-height: 24px;
        padding: 10px 24px;
        cursor: pointer;
        max-width: 300px;
    }

    .ssm-nav-dots {
        display: none;
    }

    .ssm-header {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .ssm-container {
    width: 90%;
}
.ssm-app-card-highlight {
    font-size: 16px;
}
}

@media (min-width: 1025px) {
    .ssm-mobile-nav {
        display: none;
    }
}

@media (max-width: 425px) {
    .ssm-container {
        width: 100%;
    }
}
