/* ===================================== */
/* BASE LAYOUT */
/* ===================================== */
html,
body {
    overscroll-behavior: none;
}

.logo-wrap img {
    max-height: 150px;
}

.muted-hint {
    font-size: .92rem;
    color: #6c757d;
}

.text-hint {
    font-size: 1rem;
    color: #000000;
}

.muted-hint strong {
    color: #495057;
}

.form-section {
    border: 1px solid #eef1f4;
    border-radius: 16px;
    padding: 16px;
    background: #fff;
}

.req-star {
    color: #dc3545;
    font-weight: 700;
    margin-left: 3px;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    display: block;
}


/* ===================================== */
/* DESKTOP STEPPER */
/* ===================================== */

.stepper {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.stepper .step {
    flex: 1;
    min-width: 170px;
    border: 1px solid #eef1f4;
    background: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.stepper .dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ced4da;
    color: #6c757d;
    font-weight: 700;
}

.stepper .label .title {
    font-weight: 700;
}

.stepper .label .desc {
    font-size: .84rem;
    color: #6c757d;
}

.stepper .step.is-active {
    border-color: #194070;
}

.stepper .step.is-active .dot {
    border-color: #194070;
    color: #194070;
}

.stepper .step.is-done .dot {
    background: #0d6efd;
    color: #fff;
    border-color: #0d6efd;
}


/* ===================================== */
/* SERVICE CARDS (BASE) */
/* ===================================== */

.service-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 14px;
    cursor: pointer;
    transition: all .2s ease;
    background: #fff;
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
}

.service-card.active {
    border-color: #194070;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .12);
}

.service-card .icon-pill {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f1f3f5;
}


/* ===================================== */
/* PRO UPGRADE: SERVICE CARDS (NO ROMPE NADA) */
/* ===================================== */
/* Esto mejora la estética del Step 1 sin obligarte a reescribir el Blade */
.service-card {
    border-radius: 14px;
}

.service-card .icon-pill {
    background: rgba(25, 64, 112, .08);
    color: #194070;
}

.service-card.active {
    background: rgba(25, 64, 112, .04);
    box-shadow: 0 0 0 3px rgba(25, 64, 112, .14);
}

.service-card .bi-chevron-right {
    transition: transform .15s ease, opacity .15s ease;
    opacity: .55;
}

.service-card:hover .bi-chevron-right {
    transform: translateX(2px);
    opacity: .8;
}

/* Alert de restricciones (se ve más “app”) */
#serviceRestrictionsWrap {
    border-radius: 14px;
    border: 1px solid rgba(220, 53, 69, .22);
    background: rgba(220, 53, 69, .06);
}


/* ===================================== */
/* COUNTRY PILL (BASE) */
/* ===================================== */

.country-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: rgba(13, 110, 253, .08);
    color: #194070;
    font-weight: 600;
    font-size: .9rem;
    line-height: 1;
    white-space: nowrap;
}

.country-pill .dot {
    width: .55rem;
    height: .55rem;
    border-radius: 999px;
    background: #194070;
    display: inline-block;
}

.country-help {
    font-size: .85rem;
    color: rgba(0, 0, 0, .6);
}

.country-row {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: .75rem;
    padding: .75rem;
    background: rgba(0, 0, 0, .02);
}


/* ===================================== */
/* MOBILE APP MODE */
/* ===================================== */

@media (max-width: 768px) {

    /* Fondo general tipo app */
    .mobile-app-wrapper {
        background: #f5f7fa;
        min-height: 100dvh;
        padding: 12px;
    }

    .mobile-app-container {
        background: #fff;
        border-radius: 20px;
        padding: 20px 16px 24px 16px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    }

    /* Logo reducido */
    .logo-wrap img {
        max-height: 90px;
        margin-bottom: 15px;
    }

    /* Ocultar stepper clásico */
    .stepper {
        display: none;
    }

    /* Cada step como pantalla */
    .js-step {
        min-height: 65vh;
        padding-bottom: 20px;
    }

    /* Quitar cajas visuales */
    .card,
    .card-body {
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
    }

    .form-section {
        border: none;
        background: transparent;
        padding: 0;
    }

    /* --------- PRO: Inputs más “app” --------- */
    .form-control,
    .form-select {
        border-radius: 14px;
        padding: 12px 14px;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: rgba(25, 64, 112, .45);
        box-shadow: 0 0 0 .2rem rgba(25, 64, 112, .12);
    }

    /* Service cards estilo app */
    .service-card {
        border-radius: 18px;
        padding: 16px;
        border: 1px solid rgba(0, 0, 0, .08);
    }

    .service-card.active {
        border: 2px solid #194070;
        box-shadow: 0 6px 18px rgba(25, 64, 112, .14);
    }

    .service-card .icon-pill {
        width: 42px;
        height: 42px;
        border-radius: 14px;
    }

    /* Botones estilo app */
    .btn {
        border-radius: 999px;
        font-weight: 700;
        padding: 14px 16px;
    }

    /* ===================================== */
    /* PRO: Sticky actions realmente “pro” */
    /* - 2 botones en grid (mitad y mitad)
     - no se pisan
     - separador superior suave
     - safe-area para iPhone */
    /* ===================================== */

    .sticky-actions {
        position: sticky;
        bottom: 10px;
        margin-top: 18px;
        background: rgba(255, 255, 255, .96);
        padding: 8px;
        border: 1px solid rgba(25, 64, 112, .10);
        border-radius: 16px;
        box-shadow: 0 10px 28px rgba(18, 52, 86, .14);
        z-index: 40;
    }

    /* si hay 2 botones: atrás + siguiente */
    .sticky-actions.two {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-items: center;
    }

    /* si hay 1 botón (ej step1) */
    .sticky-actions.one {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sticky-actions .btn {
        width: 100%;
        font-size: 1rem;
        padding: 14px 14px;
    }

    .sticky-actions .btn-outline-secondary {
        background: #fff;
        border-color: rgba(25, 64, 112, .18);
        color: #194070;
    }

    .sticky-actions .btn-outline-secondary:active {
        transform: scale(.99);
    }

    .sticky-actions .btn-primary {
        background: #194070;
        border-color: #194070;
    }

    .sticky-actions .btn-primary:active {
        transform: scale(.99);
    }

    /* input-group (prefijo teléfono) más redondo */
    .input-group .input-group-text {
        border-radius: 14px 0 0 14px;
    }

    .input-group .form-control {
        border-radius: 0 14px 14px 0;
    }

}


/* ===================================== */
/* MOBILE PROGRESS BAR */
/* ===================================== */

.mobile-progress-bar {
    margin-bottom: 20px;
}

.mobile-progress-track {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 999px;
    overflow: hidden;
}

.mobile-progress-fill {
    height: 100%;
    width: 33.33%;
    background: linear-gradient(90deg, #194070, #0d6efd);
    border-radius: 999px;
    transition: width .5s cubic-bezier(.22, 1, .36, 1);
}

.mobile-progress-steps {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
}

.mobile-progress-steps span {
    width: 10px;
    height: 10px;
    background: #dee2e6;
    border-radius: 50%;
    transition: all .3s ease;
}

.mobile-progress-steps span.active {
    background: #194070;
    transform: scale(1.2);
}


/* ===================================== */
/* STEP SLIDE ANIMATION */
/* ===================================== */

.js-step {
    transition: transform .35s cubic-bezier(.4, 0, .2, 1),
        opacity .25s ease;
}

.step-enter {
    transform: translateX(100%);
    opacity: 0;
}

.step-enter-active {
    transform: translateX(0);
    opacity: 1;
}

.step-exit {
    transform: translateX(0);
    opacity: 1;
}

.step-exit-active {
    transform: translateX(-100%);
    opacity: 0;
}

/* ===================================== */
/* CURRENCY SELECTOR COMPACT */
/* ===================================== */

.cash-field-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.currency-selector {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.currency-option {
    width: 34px;
    height: 32px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 0;
    background: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .18s ease;
    margin: 0;
}

.currency-option input {
    display: none;
}

.currency-option:hover {
    border-color: rgba(25, 64, 112, .35);
    background: rgba(25, 64, 112, .03);
}

.currency-option.active {
    border-color: #194070;
    background: rgba(25, 64, 112, .06);
    box-shadow: 0 0 0 2px rgba(25, 64, 112, .12);
}

.currency-flag-img-wrap {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

.currency-flag-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Bandera activa dentro del input-group */
.cash-stepper .input-group-text.cash-currency-symbol {
    width: 42px;
    justify-content: center;
    padding: 0;
    background: rgba(25, 64, 112, .05);
}

.cash-stepper .input-group-text.cash-currency-symbol img {
    width: 19px;
    height: 19px;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .08);
}

@media (max-width: 768px) {
    .cash-field-head {
        gap: 8px;
    }

    .currency-option {
        width: 32px;
        height: 30px;
        border-radius: 9px;
    }

    .currency-flag-img-wrap {
        width: 17px;
        height: 17px;
    }

    .cash-stepper .input-group-text.cash-currency-symbol {
        width: 40px;
    }

    .cash-stepper .input-group-text.cash-currency-symbol img {
        width: 18px;
        height: 18px;
    }
}

.transfer-summary {
    border: 1px solid #dbe7f3;
    background: #f8fbff;
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px;
    color: #1f2937;
}

.transfer-summary-title {
    font-size: .98rem;
}

.transfer-breakdown {
    border-top: 1px solid #e5edf5;
    padding-top: 8px;
}

.transfer-breakdown-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .9rem;
    padding: 4px 0;
}

.transfer-breakdown-row span {
    color: #6b7280;
}

.transfer-breakdown-total {
    border-top: 1px solid #dbe7f3;
    margin-top: 6px;
    padding-top: 8px;
    font-size: .95rem;
}

.transfer-breakdown-note {
    font-size: .78rem;
    color: #6b7280;
}

/* ===================================== */
/* MARITIME LAYOUT */
/* ===================================== */

/*
 * En escritorio, cuando el servicio es marítimo,
 * Provincia y datos marítimos dejan de compartir
 * una fila 50 / 50.
 */
@media (min-width: 769px) {

    #shipmentServiceDataRow.is-maritime #deliveryStateColumn,
    #shipmentServiceDataRow.is-maritime #serviceSpecificColumn {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    /*
     * Provincia compacta.
     * No necesitamos un select enorme.
     */
    #shipmentServiceDataRow.is-maritime #deliveryStateColumn .form-section {
        height: auto !important;
    }

    #shipmentServiceDataRow.is-maritime #deliveryStateColumn .form-select {
        max-width: 520px;
    }

    /*
     * El bloque marítimo utiliza todo el ancho.
     */
    #shipmentServiceDataRow.is-maritime #serviceSpecificColumn .form-section {
        height: auto !important;
    }

    #shipmentServiceDataRow.is-maritime #blockMaritime,
    #shipmentServiceDataRow.is-maritime #maritimeCustomDimensions {
        width: 100%;
    }
}


/* ===================================== */
/* MARITIME PACKAGES */
/* ===================================== */

.maritime-package-row {
    background: #fff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 16px !important;
    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.maritime-package-row:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .04);
}

.maritime-package-row+.maritime-package-row {
    margin-top: 10px;
}


/*
 * Botón añadir caja.
 */
#addMaritimePackage {
    white-space: nowrap;
}


/*
 * Volumen individual de cada caja.
 */
.js-maritime-package-volume {
    padding-top: 4px;
}


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

@media (max-width: 768px) {

    /*
     * En móvil ya estamos a una columna,
     * por lo que no necesitamos ninguna
     * modificación especial de anchura.
     */
    #shipmentServiceDataRow.is-maritime #deliveryStateColumn,
    #shipmentServiceDataRow.is-maritime #serviceSpecificColumn {
        width: 100%;
    }

    .maritime-package-row {
        padding: 14px !important;
        border-radius: 14px !important;
    }

    #addMaritimePackage {
        width: 100%;
    }
}

/* ===================================== */
/* MARITIME SUMMARY / FINAL PRICE */
/* ===================================== */

#maritimeCalculationPreview {
    background: #f8fafc;
    border-color: #dfe6ee !important;
    border-radius: 14px;
}

.maritime-summary-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.maritime-final-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    margin-top: 14px;
    padding-top: 14px;

    border-top: 1px solid #dde5ed;
}

.maritime-final-total-label {
    font-size: 1rem;
    font-weight: 700;
    color: #172033;
}

.maritime-final-total-hint {
    margin-top: 2px;

    font-size: .82rem;
    color: #6c757d;
}

.maritime-final-total-amount {
    flex-shrink: 0;

    font-size: 1.55rem;
    line-height: 1;
    font-weight: 800;

    color: #194070;
}

.maritime-total-pending {
    margin-top: 14px;
    padding-top: 12px;

    border-top: 1px solid #dde5ed;

    color: #6c757d;
    font-size: .85rem;
}


/* MOBILE */

@media (max-width: 768px) {

    .maritime-final-total {
        align-items: flex-end;
    }

    .maritime-final-total-amount {
        font-size: 1.35rem;
    }
}

/* ===================================== */
/* HOME DELIVERY HIGHLIGHT */
/* ===================================== */

.home-delivery-highlight {
    border: 1px solid rgba(25, 64, 112, .14);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(25, 64, 112, .06) 0%, rgba(25, 64, 112, .02) 100%);
    padding: 18px;
}

.home-delivery-highlight__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.home-delivery-highlight__title {
    font-size: 1rem;
    font-weight: 700;
    color: #17375f;
    line-height: 1.3;
}

.home-delivery-highlight__subtitle {
    margin-top: 6px;
    color: #4c5a67;
    font-size: .94rem;
    line-height: 1.45;
}

.home-delivery-highlight__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.home-delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(25, 64, 112, .12);
    color: #17375f;
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
}

.home-delivery-badge--price {
    background: rgba(255, 193, 7, .12);
    border-color: rgba(255, 193, 7, .28);
    color: #7a5a00;
}

.home-delivery-option {
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #d9e3ee;
    border-radius: 16px;
    background: #fff;
    padding: 16px;
    cursor: pointer;
    transition: all .2s ease;
}

.home-delivery-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(25, 64, 112, .08);
    border-color: rgba(25, 64, 112, .32);
}

.home-delivery-option.is-active {
    border-color: #194070;
    background: rgba(25, 64, 112, .05);
    box-shadow: 0 0 0 3px rgba(25, 64, 112, .12);
}

.home-delivery-option.is-disabled {
    cursor: not-allowed;
    opacity: .55;
    pointer-events: none;
}

.extras-habana-pickup-address {
    font-weight: 700;
    font-size: 1.04rem;
    line-height: 1.55;
    white-space: normal;
    overflow-wrap: anywhere;
}

.home-delivery-option__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.home-delivery-option__icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 64, 112, .08);
    color: #194070;
    font-size: 1.2rem;
}

.home-delivery-option__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.home-delivery-option__title {
    font-weight: 700;
    color: #1f2d3d;
    line-height: 1.35;
}

.home-delivery-option__text {
    color: #5f6b76;
    font-size: .92rem;
    line-height: 1.42;
}

.home-delivery-highlight__footer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(25, 64, 112, .18);
    color: #4c5a67;
    font-size: .92rem;
}

@media (max-width: 768px) {
    .home-delivery-highlight {
        padding: 16px;
        border-radius: 16px;
    }

    .home-delivery-highlight__header {
        flex-direction: column;
        margin-bottom: 14px;
    }

    .home-delivery-highlight__badges {
        justify-content: flex-start;
    }

    .home-delivery-option {
        padding: 14px;
    }

    .home-delivery-option__icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
}


/* ===================================== */
/* PICKUP HIGHLIGHT */
/* ===================================== */

.pickup-highlight-card {
    border: 1px solid rgba(13, 110, 253, .14);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(13, 110, 253, .06) 0%, rgba(13, 110, 253, .02) 100%);
    padding: 18px;
}

.pickup-highlight-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.pickup-highlight-card__title {
    font-size: 1rem;
    font-weight: 700;
    color: #194070;
    line-height: 1.3;
}

.pickup-highlight-card__subtitle {
    margin-top: 6px;
    color: #4c5a67;
    font-size: .94rem;
    line-height: 1.45;
}

.pickup-highlight-card__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.pickup-highlight-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(13, 110, 253, .14);
    color: #194070;
    font-size: .84rem;
    font-weight: 700;
    white-space: nowrap;
}

.pickup-highlight-badge--accent {
    background: rgba(25, 135, 84, .10);
    border-color: rgba(25, 135, 84, .22);
    color: #146c43;
}

.pickup-highlight-card__status {
    display: inline-flex;
    align-items: center;
    margin-top: 14px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(25, 135, 84, .10);
    color: #146c43;
    font-size: .88rem;
    font-weight: 700;
}

.pickup-highlight-option {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #d9e3ee;
    border-radius: 16px;
    background: #fff;
    padding: 16px;
    text-align: left;
    transition: all .2s ease;
}

.pickup-highlight-option:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(25, 64, 112, .08);
    border-color: rgba(25, 64, 112, .32);
}

.pickup-highlight-option.is-active {
    border-color: #194070;
    background: rgba(25, 64, 112, .05);
    box-shadow: 0 0 0 3px rgba(25, 64, 112, .12);
}

.pickup-highlight-option__icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(25, 64, 112, .08);
    color: #194070;
    font-size: 1.15rem;
}

.pickup-highlight-option__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pickup-highlight-option__title {
    font-weight: 700;
    color: #1f2d3d;
    line-height: 1.35;
}

.pickup-highlight-option__text {
    color: #5f6b76;
    font-size: .92rem;
    line-height: 1.42;
}

.pickup-highlight-card__footer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed rgba(25, 64, 112, .18);
    color: #4c5a67;
    font-size: .92rem;
}

@media (max-width: 768px) {
    .pickup-highlight-card {
        padding: 16px;
        border-radius: 16px;
    }

    .pickup-highlight-card__header {
        flex-direction: column;
    }

    .pickup-highlight-card__badges {
        justify-content: flex-start;
    }

    .pickup-highlight-option {
        padding: 14px;
    }

    .pickup-highlight-option__icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
}

/* =========================================================
   EXTRAS V4 - resumen claro, compacto y responsive
   ========================================================= */
.cash-important-note {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 11px 13px;
    border: 1px solid #f0d49e;
    border-radius: 12px;
    background: #fff9ed;
    color: #66470e;
    font-size: .8rem;
    line-height: 1.4;
}

.cash-important-note__icon {
    flex: 0 0 auto;
    margin-top: 1px;
    color: #c58a18;
}

.cash-important-note__content strong,
.cash-important-note__content span {
    display: block;
}

.cash-important-note__content span {
    margin-top: 2px;
    color: #7a6237;
}

#moneyTransferHint {
    width: 100%;
}

#moneyTransferHint .transfer-summary-v4 {
    overflow: hidden;
    border: 1px solid #d7e3ef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 40, 70, .07);
}

#moneyTransferHint .transfer-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid #e7eef5;
    background: #fbfdff;
}

#moneyTransferHint .transfer-summary-kicker {
    display: block;
    color: #6f8193;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

#moneyTransferHint .transfer-summary-title {
    display: block;
    margin-top: 2px;
    color: #173a5f;
    font-size: .92rem;
    line-height: 1.25;
}

#moneyTransferHint .transfer-summary-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 6px 9px;
    border-radius: 999px;
    background: #edf8f2;
    color: #1b6a43;
    font-size: .69rem;
    font-weight: 700;
    white-space: nowrap;
}

#moneyTransferHint .transfer-key-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px 16px;
    background: #f7fafc;
    border-bottom: 1px solid #e2eaf2;
}

#moneyTransferHint .transfer-key-card {
    min-width: 0;
    padding: 14px 15px;
    border-radius: 12px;
    border: 1px solid #d7e4ef;
    background: #fff;
}

#moneyTransferHint .transfer-key-card--receive {
    border-color: #c9e5d5;
    background: linear-gradient(180deg, #edf8f2 0%, #fff 100%);
}

#moneyTransferHint .transfer-key-card--pay {
    border-color: #cddff0;
    background: linear-gradient(180deg, #eef5fc 0%, #fff 100%);
}

#moneyTransferHint .transfer-key-card__eyebrow {
    display: block;
    color: #284158;
    font-size: .76rem;
    font-weight: 800;
}

#moneyTransferHint .transfer-key-card__amount {
    display: block;
    margin-top: 6px;
    color: #123d69;
    font-size: 1.45rem;
    line-height: 1;
}

#moneyTransferHint .transfer-key-card--receive .transfer-key-card__amount {
    color: #176a42;
}

#moneyTransferHint .transfer-key-card__amount span {
    font-size: .78rem;
}

#moneyTransferHint .transfer-key-card__meta {
    display: block;
    margin-top: 6px;
    color: #6d7d8e;
    font-size: .71rem;
    line-height: 1.35;
}

#moneyTransferHint .transfer-summary-body {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
    gap: 18px;
    padding: 15px 16px 16px;
}

#moneyTransferHint .transfer-section-title {
    margin-bottom: 4px;
    color: #748394;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

#moneyTransferHint .transfer-line-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 11px 0;
    border-bottom: 1px solid #edf1f5;
}

#moneyTransferHint .transfer-line-item--last {
    border-bottom: 0;
}

#moneyTransferHint .transfer-line-title,
#moneyTransferHint .transfer-total-title {
    display: block;
    color: #20364f;
    font-weight: 700;
    line-height: 1.25;
}

#moneyTransferHint .transfer-line-title {
    font-size: .84rem;
}

#moneyTransferHint .transfer-line-meta,
#moneyTransferHint .transfer-total-meta {
    display: block;
    margin-top: 3px;
    color: #718194;
    font-size: .72rem;
    line-height: 1.35;
}

#moneyTransferHint .transfer-line-value {
    white-space: nowrap;
    color: #172b3f;
    font-size: .95rem;
    text-align: right;
}

#moneyTransferHint .transfer-line-value-plus {
    color: #245f91;
}

#moneyTransferHint .transfer-breakdown-side {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

#moneyTransferHint .transfer-total-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border: 1px solid #cdddec;
    border-radius: 11px;
    background: #f4f8fc;
}

#moneyTransferHint .transfer-total-title {
    font-size: .86rem;
}

#moneyTransferHint .transfer-total-value {
    white-space: nowrap;
    color: #123d69;
    font-size: 1.18rem;
    line-height: 1;
}

#moneyTransferHint .transfer-rate-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 2px;
    color: #687a8c;
    font-size: .7rem;
}

#moneyTransferHint .transfer-rate-row i {
    color: #315f91;
}

#moneyTransferHint .transfer-rate-row strong {
    margin-left: auto;
    color: #435d78;
    white-space: nowrap;
}

#moneyTransferHint .transfer-explanation-box {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    padding: 8px 9px;
    border-radius: 8px;
    background: #fbfcfe;
    color: #687789;
    font-size: .69rem;
    line-height: 1.4;
}

#moneyTransferHint .transfer-explanation-box i {
    flex: 0 0 auto;
    margin-top: 1px;
    color: #315f91;
}

@media (max-width: 767.98px) {
    .cash-important-note {
        padding: 10px 11px;
        font-size: .76rem;
    }

    #moneyTransferHint {
        margin-top: 12px !important;
    }

    #moneyTransferHint .transfer-summary-head {
        padding: 11px 12px;
    }

    #moneyTransferHint .transfer-summary-title {
        font-size: .82rem;
    }

    #moneyTransferHint .transfer-summary-status {
        display: none;
    }

    #moneyTransferHint .transfer-key-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 10px 12px;
    }

    #moneyTransferHint .transfer-key-card {
        padding: 11px 10px;
    }

    #moneyTransferHint .transfer-key-card__eyebrow {
        font-size: .69rem;
    }

    #moneyTransferHint .transfer-key-card__amount {
        margin-top: 5px;
        font-size: 1.12rem;
    }

    #moneyTransferHint .transfer-key-card__meta {
        display: none;
    }

    #moneyTransferHint .transfer-summary-body {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 10px 12px 12px;
    }

    #moneyTransferHint .transfer-line-item {
        gap: 10px;
        padding: 8px 0;
    }

    #moneyTransferHint .transfer-line-title {
        font-size: .78rem;
    }

    #moneyTransferHint .transfer-line-meta {
        font-size: .68rem;
    }

    #moneyTransferHint .transfer-line-value {
        font-size: .86rem;
    }

    #moneyTransferHint .transfer-total-card {
        display: none;
    }

    #moneyTransferHint .transfer-rate-row {
        margin-top: 2px;
        font-size: .67rem;
    }

    #moneyTransferHint .transfer-explanation-box {
        display: none;
    }
}

@media (max-width: 360px) {
    #moneyTransferHint .transfer-key-card__amount {
        font-size: 1rem;
    }

    #moneyTransferHint .transfer-key-card__eyebrow {
        font-size: .65rem;
    }
}



/* =========================================================
   CEC · Trámites profesionales dentro del formulario común
   ========================================================= */
.professional-services-entry {
    border: 1px solid #dce6f0;
    background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.professional-services-entry__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.professional-services-entry__eyebrow {
    margin-bottom: 3px;
    color: #1688b9;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.professional-services-entry__title {
    color: #142b45;
    font-size: .98rem;
    font-weight: 800;
    line-height: 1.3;
}

.professional-services-entry__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex: 0 0 auto;
    padding: 6px 9px;
    border: 1px solid #d9e3ec;
    border-radius: 999px;
    background: #fff;
    color: #41556c;
    font-size: .68rem;
    font-weight: 700;
    white-space: nowrap;
}

.professional-service-card {
    min-height: 122px;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    gap: 11px;
    align-items: start;
    height: 100%;
    padding: 14px;
    border: 1px solid #e0e8f0;
    border-radius: 13px;
    background: #fff;
    color: inherit;
    text-decoration: none !important;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.professional-service-card:hover {
    transform: translateY(-1px);
    border-color: #bfd0e1;
    box-shadow: 0 7px 20px rgba(19, 47, 77, .07);
}

.professional-service-card__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #edf5fc;
    color: #1b5c91;
    font-size: 1rem;
}

.professional-service-card--teal .professional-service-card__icon { background: #eaf8f5; color: #168270; }
.professional-service-card--purple .professional-service-card__icon { background: #f3edfb; color: #7453a8; }
.professional-service-card--amber .professional-service-card__icon { background: #fff5df; color: #a56b08; }

.professional-service-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.professional-service-card__title {
    color: #152b43;
    font-size: .83rem;
    font-weight: 800;
    line-height: 1.35;
}

.professional-service-card__desc {
    display: block;
    margin-top: 3px;
    color: #6b7b8e;
    font-size: .72rem;
    line-height: 1.42;
}

.professional-service-card__price {
    display: inline-flex;
    align-self: flex-start;
    margin-top: auto;
    padding-top: 8px;
    color: #284d72;
    font-size: .7rem;
    font-weight: 800;
}

.professional-service-card__arrow {
    align-self: center;
    color: #a2afbc;
    font-size: .8rem;
}

@media (max-width: 575.98px) {
    .professional-services-entry__head {
        flex-direction: column;
        gap: 8px;
    }

    .professional-service-card {
        min-height: 0;
        grid-template-columns: 38px minmax(0, 1fr) 16px;
        padding: 12px;
    }

    .professional-service-card__icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
}


/* =========================================================
   MOBILE V5 - selector Trámites / Envíos y paso 1 compacto
   Solo afecta a <= 767.98px. Desktop conserva su diseño.
   ========================================================= */
@media (max-width: 767.98px) {
    .mobile-app-wrapper {
        padding: 8px;
        background: #f3f6fa;
    }

    .mobile-app-container {
        padding: 16px 14px 20px;
        border-radius: 18px;
        box-shadow: 0 8px 26px rgba(18, 52, 86, .08);
    }

    .mobile-progress-bar {
        margin-bottom: 16px;
    }

    .mobile-service-mode-switch {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin: 4px 0 14px;
        padding: 5px;
        border: 1px solid #dce6f0;
        border-radius: 14px;
        background: #f5f8fb;
    }

    .mobile-service-mode-switch__button {
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        min-height: 44px;
        padding: 9px 10px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        color: #5f7184;
        font-size: .82rem;
        font-weight: 750;
        line-height: 1;
        transition: background .15s ease, color .15s ease, box-shadow .15s ease;
    }

    .mobile-service-mode-switch__button small {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 20px;
        padding: 0 5px;
        border-radius: 999px;
        background: rgba(25, 64, 112, .08);
        color: inherit;
        font-size: .66rem;
        font-weight: 800;
    }

    .mobile-service-mode-switch__button.is-active {
        background: #fff;
        color: #194070;
        box-shadow: 0 3px 10px rgba(25, 64, 112, .10);
    }

    .mobile-mode-professional .mobile-logistics-panel {
        display: none !important;
    }

    .mobile-mode-logistics .mobile-professional-panel {
        display: none !important;
    }

    .professional-services-entry {
        margin-bottom: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    .professional-services-entry__head {
        display: block;
        margin-bottom: 9px;
    }

    .professional-services-entry__eyebrow,
    .professional-services-entry__badge,
    .professional-services-entry__head .muted-hint {
        display: none !important;
    }

    .professional-services-entry__title {
        font-size: .9rem;
        font-weight: 800;
    }

    .professional-services-entry__title::after {
        content: ' · solicitud directa';
        color: #718297;
        font-size: .72rem;
        font-weight: 600;
    }

    .professional-services-grid {
        row-gap: 7px !important;
    }

    .professional-services-grid > [class*="col-"]:nth-child(n+5) {
        display: none;
    }

    .professional-services-grid.is-expanded > [class*="col-"] {
        display: block;
    }

    .professional-service-card {
        min-height: 0;
        grid-template-columns: 36px minmax(0, 1fr) 14px;
        gap: 10px;
        align-items: center;
        padding: 10px 11px;
        border-radius: 12px;
        box-shadow: none;
    }

    .professional-service-card:hover {
        transform: none;
        box-shadow: none;
    }

    .professional-service-card__icon {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: .9rem;
    }

    .professional-service-card__body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        column-gap: 8px;
        height: auto;
    }

    .professional-service-card__title {
        min-width: 0;
        font-size: .79rem;
        line-height: 1.25;
    }

    .professional-service-card__desc {
        display: none;
    }

    .professional-service-card__price {
        align-self: center;
        margin: 0;
        padding: 4px 7px;
        border-radius: 999px;
        background: #f4f7fa;
        color: #315477;
        font-size: .65rem;
        white-space: nowrap;
    }

    .professional-service-card__arrow {
        font-size: .72rem;
    }

    .professional-services-more {
        width: 100%;
        margin-top: 8px;
        padding: 9px 12px;
        border: 1px dashed #cbd9e7;
        border-radius: 11px;
        background: #fbfdff;
        color: #315477;
        font-size: .75rem;
        font-weight: 750;
    }

    .professional-services-more__hide {
        display: none;
    }

    .professional-services-more[aria-expanded="true"] .professional-services-more__show {
        display: none;
    }

    .professional-services-more[aria-expanded="true"] .professional-services-more__hide {
        display: inline;
    }

    #logisticsServiceSelector {
        margin-bottom: 12px !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }

    #logisticsServiceSelector > .form-label {
        display: block;
        margin-bottom: 8px !important;
        font-size: .9rem;
    }

    #logisticsServiceSelector .service-card {
        padding: 12px 13px;
        border-radius: 14px;
        box-shadow: none;
    }

    #logisticsServiceSelector .service-card.active {
        border-width: 1px;
        box-shadow: 0 4px 14px rgba(25, 64, 112, .11);
    }

    #shipmentServiceDataRow {
        margin-top: 0 !important;
    }

    #shipmentServiceDataRow > [class*="col-"] {
        margin-top: 10px;
    }

    #deliveryStateColumn .form-section,
    #serviceSpecificColumn .form-section {
        padding: 0 !important;
    }

    .sticky-actions {
        position: static !important;
        bottom: auto !important;
        margin-top: 18px;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .sticky-actions .btn {
        min-height: 50px;
        border-radius: 13px;
        box-shadow: 0 7px 18px rgba(25, 64, 112, .13);
    }

    .js-step {
        min-height: 0;
        padding-bottom: 4px;
    }
}

@media (max-width: 390px) {
    .professional-service-card__body {
        grid-template-columns: 1fr;
        row-gap: 4px;
    }

    .professional-service-card__price {
        justify-self: start;
    }

    .mobile-service-mode-switch__button {
        font-size: .78rem;
    }
}

/* =========================================================
   REQUEST EXPERIENCE V7 · Portal unificado 2026
   Capa visual final. No altera la lógica de tarifas ni validaciones.
   ========================================================= */
:root {
    --req-navy: #123d69;
    --req-navy-deep: #0b2948;
    --req-blue: #1f6da8;
    --req-cyan: #2c9dc6;
    --req-ink: #17283a;
    --req-muted: #66778a;
    --req-line: #dce6ef;
    --req-soft: #f5f8fb;
    --req-soft-blue: #eef6fc;
    --req-success: #197451;
    --req-warning: #a66a08;
    --req-danger: #b84b4b;
    --req-shadow: 0 18px 50px rgba(19, 48, 78, .09);
    --req-shadow-soft: 0 8px 24px rgba(19, 48, 78, .07);
}

.request-portal {
    position: relative;
    min-height: 100dvh;
    overflow: hidden;
    padding: 42px 18px 64px;
    background:
        radial-gradient(circle at 12% 6%, rgba(44,157,198,.10), transparent 30%),
        radial-gradient(circle at 88% 0%, rgba(31,109,168,.09), transparent 28%),
        linear-gradient(180deg, #f8fbfe 0%, #f2f6fa 100%);
}

.request-portal__orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(3px);
    pointer-events: none;
    opacity: .45;
}

.request-portal__orb--one {
    width: 360px;
    height: 360px;
    top: -160px;
    right: -120px;
    background: rgba(44,157,198,.12);
}

.request-portal__orb--two {
    width: 260px;
    height: 260px;
    bottom: 10%;
    left: -140px;
    background: rgba(31,109,168,.08);
}

.request-portal__container {
    position: relative;
    z-index: 1;
    width: min(1160px, 100%);
    margin: 0 auto;
}

.request-shell {
    width: 100%;
}

.request-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin-bottom: 18px;
    padding: 24px 26px;
    border: 1px solid rgba(220,230,239,.92);
    border-radius: 24px;
    background: rgba(255,255,255,.93);
    box-shadow: var(--req-shadow-soft);
    backdrop-filter: blur(14px);
}

.request-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.request-brand__logo-wrap {
    width: 92px;
    min-width: 92px;
    height: 72px;
    display: grid;
    place-items: center;
    padding: 8px;
    border: 1px solid #e1e9f1;
    border-radius: 18px;
    background: #fff;
}

.request-brand__logo {
    display: block;
    max-width: 100%;
    max-height: 54px;
    object-fit: contain;
}

.request-brand__copy { min-width: 0; }

.request-brand__eyebrow,
.request-step-intro__eyebrow,
.service-selector-heading__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--req-blue);
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.request-brand h1 {
    margin: 0;
    color: var(--req-ink);
    font-size: clamp(1.55rem, 2.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.08;
}

.request-brand p {
    max-width: 700px;
    margin: 8px 0 0;
    color: var(--req-muted);
    font-size: .92rem;
    line-height: 1.55;
}

.request-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(135px, 1fr));
    gap: 10px;
}

.request-quick-action {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid #dce6ef;
    border-radius: 14px;
    background: #fff;
    color: #35516e;
    text-decoration: none !important;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.request-quick-action:hover {
    transform: translateY(-1px);
    border-color: #b9ccdd;
    box-shadow: 0 7px 18px rgba(19,48,78,.07);
    color: var(--req-navy);
}

.request-quick-action > i {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f1f6fa;
    color: var(--req-blue);
}

.request-quick-action--primary > i {
    background: var(--req-navy);
    color: #fff;
}

.request-quick-action span { min-width: 0; }
.request-quick-action strong,
.request-quick-action small { display: block; line-height: 1.25; }
.request-quick-action strong { font-size: .78rem; font-weight: 800; }
.request-quick-action small { margin-top: 2px; color: #7a8998; font-size: .64rem; }

.request-progress--desktop {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr) 42px minmax(0, 1fr);
    align-items: center;
    gap: 0;
    margin: 0 8px 18px;
}

.request-progress--desktop .step {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border: 0;
    background: transparent;
    opacity: .58;
    transition: opacity .18s ease, transform .18s ease;
}

.request-progress--desktop .step.is-active,
.request-progress--desktop .step.is-done { opacity: 1; }
.request-progress--desktop .step.is-active { transform: translateY(-1px); }

.request-progress--desktop .dot {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border: 1px solid #d7e2ec;
    border-radius: 13px;
    background: #fff;
    color: #758699;
    box-shadow: 0 4px 12px rgba(19,48,78,.05);
}

.request-progress--desktop .step.is-active .dot {
    border-color: var(--req-navy);
    background: var(--req-navy);
    color: #fff;
}

.request-progress--desktop .step.is-done .dot {
    border-color: #cde8dc;
    background: #eaf7f1;
    color: var(--req-success);
}

.request-progress--desktop .label .kicker {
    color: #8392a1;
    font-size: .6rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.request-progress--desktop .label .title { color: var(--req-ink); font-size: .82rem; font-weight: 800; }
.request-progress--desktop .label .desc { color: #7a8998; font-size: .67rem; }

.request-progress__line {
    height: 1px;
    background: linear-gradient(90deg, #d8e2ec, #cbd9e6);
}

.request-progress--mobile { display: none; }

.request-card {
    overflow: visible;
    padding: 26px;
    border: 1px solid rgba(216,226,236,.96);
    border-radius: 26px;
    background: rgba(255,255,255,.97);
    box-shadow: var(--req-shadow);
}

.request-step-intro {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

.request-step-intro__icon {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: linear-gradient(145deg, #e9f4fb, #f7fbfe);
    color: var(--req-blue);
    font-size: 1rem;
    box-shadow: inset 0 0 0 1px rgba(31,109,168,.09);
}

.request-step-intro h2 {
    margin: 0;
    color: var(--req-ink);
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -.02em;
}
.request-step-intro p {
    max-width: 760px;
    margin: 4px 0 0;
    color: var(--req-muted);
    font-size: .84rem;
    line-height: 1.5;
}

/* Modo de servicio: funciona tanto en CEC como en cualquier instalación con servicios profesionales. */
.service-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 18px;
    padding: 0;
    border: 0;
    background: transparent;
}

.mobile-service-mode-switch__button {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 78px;
    padding: 14px 15px;
    border: 1px solid #dce6ef;
    border-radius: 16px;
    background: #fff;
    color: #53687c;
    text-align: left;
    transition: border-color .17s ease, box-shadow .17s ease, background .17s ease, transform .17s ease;
}

.mobile-service-mode-switch__button:hover {
    transform: translateY(-1px);
    border-color: #bfd0df;
    box-shadow: 0 8px 20px rgba(19,48,78,.07);
}

.mobile-service-mode-switch__button.is-active {
    border-color: rgba(18,61,105,.55);
    background: linear-gradient(180deg, #f8fbfe 0%, #f0f6fb 100%);
    color: var(--req-navy);
    box-shadow: 0 0 0 3px rgba(18,61,105,.07), 0 8px 20px rgba(19,48,78,.07);
}

.service-mode-switch__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: #f0f5f9;
    color: var(--req-blue);
    font-size: 1rem;
}

.mobile-service-mode-switch__button.is-active .service-mode-switch__icon {
    background: var(--req-navy);
    color: #fff;
}

.service-mode-switch__copy { min-width: 0; }
.service-mode-switch__copy strong { display: block; color: inherit; font-size: .86rem; font-weight: 800; }
.service-mode-switch__copy small { display: block; margin-top: 3px; color: #7a8998; font-size: .68rem; line-height: 1.35; }
.service-mode-switch__count {
    min-width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    padding: 0 7px;
    border-radius: 999px;
    background: #eef3f7;
    color: #65778a;
    font-size: .68rem;
    font-weight: 850;
}
.mobile-service-mode-switch__button.is-active .service-mode-switch__count { background: #fff; color: var(--req-navy); }

.mobile-service-choice.mobile-mode-professional .mobile-logistics-panel { display: none !important; }
.mobile-service-choice.mobile-mode-logistics .mobile-professional-panel { display: none !important; }

.professional-services-entry,
#logisticsServiceSelector {
    padding: 18px !important;
    border: 1px solid #e0e8f0 !important;
    border-radius: 18px !important;
    background: #fbfdff !important;
}

.professional-services-entry__head { margin-bottom: 14px; }
.professional-services-entry__title { font-size: 1rem; }

.professional-services-grid,
#logisticsServiceSelector > .row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px !important;
    margin: 0 !important;
}
.professional-services-grid > [class*="col-"],
#logisticsServiceSelector > .row > [class*="col-"] {
    width: auto;
    max-width: none;
    padding: 0 !important;
    margin: 0 !important;
}

.professional-service-card,
.service-card {
    height: 100%;
    border: 1px solid #dfe8f0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(19,48,78,.035);
}

.professional-service-card { min-height: 118px; }
.professional-service-card__price {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #f3f7fa;
    color: var(--req-navy);
    font-size: .68rem;
    font-weight: 800;
}

.service-selector-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 13px;
}
.service-selector-heading h3 { margin: 0; color: var(--req-ink); font-size: 1rem; font-weight: 800; }
.service-selector-heading p { margin: 4px 0 0; color: var(--req-muted); font-size: .76rem; line-height: 1.45; }
.service-selector-heading__required {
    flex: 0 0 auto;
    padding: 5px 8px;
    border-radius: 999px;
    background: #f6f8fa;
    color: #778797;
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
}

#logisticsServiceSelector .service-card {
    min-height: 78px;
    display: flex;
    align-items: center;
    padding: 13px 14px;
}
#logisticsServiceSelector .service-card:hover,
.professional-service-card:hover {
    transform: translateY(-2px);
    border-color: #b9cddd;
    box-shadow: 0 9px 24px rgba(19,48,78,.08);
}
#logisticsServiceSelector .service-card.active {
    border-color: var(--req-navy);
    background: linear-gradient(180deg, #f8fbfe 0%, #eef5fa 100%);
    box-shadow: 0 0 0 3px rgba(18,61,105,.08), 0 8px 20px rgba(19,48,78,.07);
}
#logisticsServiceSelector .service-card:focus-visible,
.professional-service-card:focus-visible,
.mobile-service-mode-switch__button:focus-visible {
    outline: 3px solid rgba(44,157,198,.30);
    outline-offset: 2px;
}

#shipmentServiceDataRow {
    display: none;
    margin-top: 2px;
}
.js-step[data-step="1"].has-service-selection #shipmentServiceDataRow { display: flex; }

.form-section {
    border: 1px solid #e1e9f0;
    border-radius: 17px;
    padding: 17px;
    background: #fff;
}

.request-step-panel { padding: 20px; }
.request-section-title {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 17px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f5;
}
.request-section-title > span {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #edf5fb;
    color: var(--req-blue);
}
.request-section-title h3 { margin: 0; color: var(--req-ink); font-size: .96rem; font-weight: 800; }
.request-section-title p { margin: 2px 0 0; color: #7b8a99; font-size: .72rem; }

#shipmentForm .form-label {
    color: #334b62;
    font-size: .76rem;
    font-weight: 750 !important;
}
#shipmentForm .form-control,
#shipmentForm .form-select {
    min-height: 48px;
    border-color: #d7e2eb;
    border-radius: 11px;
    background-color: #fff;
    color: var(--req-ink);
    font-size: .88rem;
    transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
#shipmentForm textarea.form-control { min-height: auto; }
#shipmentForm .form-control:hover,
#shipmentForm .form-select:hover { border-color: #bccddd; }
#shipmentForm .form-control:focus,
#shipmentForm .form-select:focus {
    border-color: #5b91bd;
    box-shadow: 0 0 0 .2rem rgba(31,109,168,.10);
}

#shipmentForm .input-group-text {
    min-width: 48px;
    justify-content: center;
    border-color: #d7e2eb;
    background: #f6f9fb;
    color: #4c647b;
}

.muted-hint { color: #718194; font-size: .78rem; line-height: 1.45; }

#provinceFirstNotice .alert,
#serviceRestrictionsWrap,
.instr-box,
#shipmentForm .alert {
    border-radius: 13px;
}

.sticky-actions {
    position: static !important;
    display: flex !important;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 20px;
    padding-top: 17px !important;
    border-top: 1px solid #edf1f5 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.sticky-actions.one { display: flex !important; }
.sticky-actions .btn {
    min-width: 150px;
    min-height: 48px;
    border-radius: 12px;
    font-weight: 800;
}
.sticky-actions .btn-primary {
    border-color: var(--req-navy);
    background: var(--req-navy);
    box-shadow: 0 8px 18px rgba(18,61,105,.17);
}
.sticky-actions .btn-primary:hover { border-color: var(--req-navy-deep); background: var(--req-navy-deep); transform: translateY(-1px); }

.request-trust-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
    color: #708194;
    font-size: .68rem;
}
.request-trust-row span { display: inline-flex; align-items: center; gap: 5px; }
.request-trust-row i { color: var(--req-success); }

/* Componentes complejos conservan toda su lógica, pero se integran visualmente. */
.pickup-highlight-card,
.home-delivery-highlight,
.special-items-section,
.maritime-package-row,
#moneyTransferHint .transfer-summary-v4 {
    border-radius: 16px !important;
}

@media (max-width: 991.98px) {
    .request-hero { grid-template-columns: 1fr; }
    .request-hero__actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .professional-services-grid,
    #logisticsServiceSelector > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    html, body { background: #f3f6fa; }

    .request-portal {
        min-height: 100dvh;
        padding: 0 0 calc(22px + env(safe-area-inset-bottom));
        overflow: visible;
        background: linear-gradient(180deg, #f7fafd 0%, #f1f5f8 100%);
    }

    .request-portal__container { width: 100%; }
    .request-shell { width: 100%; }

    .request-hero {
        grid-template-columns: 1fr;
        gap: 13px;
        margin: 0;
        padding: 16px 16px 14px;
        border: 0;
        border-bottom: 1px solid #e4ebf1;
        border-radius: 0;
        background: rgba(255,255,255,.96);
        box-shadow: none;
    }

    .request-brand { gap: 11px; }
    .request-brand__logo-wrap {
        width: 64px;
        min-width: 64px;
        height: 50px;
        padding: 5px;
        border-radius: 12px;
    }
    .request-brand__logo { max-height: 38px; }
    .request-brand__eyebrow { display: none; }
    .request-brand h1 { font-size: 1.06rem; letter-spacing: -.02em; }
    .request-brand p { margin-top: 3px; font-size: .7rem; line-height: 1.35; }

    .request-hero__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }
    .request-quick-action {
        min-height: 44px;
        padding: 8px 9px;
        border-radius: 11px;
    }
    .request-quick-action > i { width: 29px; height: 29px; flex-basis: 29px; border-radius: 8px; font-size: .78rem; }
    .request-quick-action strong { font-size: .7rem; }
    .request-quick-action small { display: none; }

    .request-progress--desktop { display: none; }
    .request-progress--mobile {
        display: block;
        margin: 0;
        padding: 12px 16px 10px;
        border-bottom: 1px solid #e4ebf1;
        background: #fff;
    }
    .request-progress-mobile__top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        margin-bottom: 8px;
    }
    .request-progress-mobile__eyebrow { display: block; color: #8795a4; font-size: .58rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
    .request-progress-mobile__top strong { display: block; margin-top: 1px; color: var(--req-ink); font-size: .82rem; }
    .request-progress-mobile__count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 44px;
        height: 28px;
        border-radius: 999px;
        background: #edf4f9;
        color: var(--req-navy);
        font-size: .72rem;
        font-weight: 850;
    }
    .mobile-progress-track { height: 5px; border-radius: 999px; background: #e7edf2; overflow: hidden; }
    .mobile-progress-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--req-cyan), var(--req-navy)); transition: width .3s ease; }
    .mobile-progress-steps { display: none; }

    .request-card {
        margin: 10px 10px 0;
        padding: 14px;
        border-radius: 19px;
        box-shadow: 0 9px 30px rgba(19,48,78,.08);
    }

    .request-step-intro { gap: 10px; margin-bottom: 13px; }
    .request-step-intro__icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; font-size: .85rem; }
    .request-step-intro__eyebrow { font-size: .6rem; }
    .request-step-intro h2 { font-size: 1rem; }
    .request-step-intro p { margin-top: 3px; font-size: .7rem; line-height: 1.4; }

    .service-mode-switch {
        grid-template-columns: 1fr 1fr;
        gap: 7px;
        margin-bottom: 13px;
        padding: 4px;
        border: 1px solid #dfe7ee;
        border-radius: 13px;
        background: #f4f7fa;
    }
    .mobile-service-mode-switch__button {
        grid-template-columns: 28px minmax(0, 1fr);
        gap: 7px;
        min-height: 52px;
        padding: 8px;
        border: 0;
        border-radius: 10px;
        background: transparent;
        box-shadow: none;
    }
    .mobile-service-mode-switch__button:hover { transform: none; box-shadow: none; }
    .mobile-service-mode-switch__button.is-active { background: #fff; box-shadow: 0 3px 9px rgba(19,48,78,.08); }
    .service-mode-switch__icon { width: 28px; height: 28px; border-radius: 8px; font-size: .7rem; }
    .service-mode-switch__copy strong { font-size: .68rem; line-height: 1.2; }
    .service-mode-switch__copy small,
    .service-mode-switch__count { display: none; }

    .professional-services-entry,
    #logisticsServiceSelector {
        margin-bottom: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }
    .professional-services-entry__head { margin-bottom: 8px; }
    .professional-services-entry__eyebrow,
    .professional-services-entry__badge,
    .professional-services-entry__head .muted-hint { display: none !important; }
    .professional-services-entry__title { font-size: .82rem; }

    .professional-services-grid,
    #logisticsServiceSelector > .row {
        grid-template-columns: 1fr;
        gap: 7px !important;
    }
    .professional-services-grid > [class*="col-"]:nth-child(n+5) { display: none; }
    .professional-services-grid.is-expanded > [class*="col-"] { display: block; }

    .professional-service-card {
        min-height: 0;
        grid-template-columns: 36px minmax(0, 1fr) 14px;
        align-items: center;
        gap: 9px;
        padding: 10px 11px;
        border-radius: 12px;
        box-shadow: none;
    }
    .professional-service-card__icon { width: 36px; height: 36px; border-radius: 10px; font-size: .82rem; }
    .professional-service-card__body { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 7px; align-items: center; }
    .professional-service-card__title { font-size: .76rem; line-height: 1.22; }
    .professional-service-card__desc { display: none; }
    .professional-service-card__price { margin: 0; padding: 3px 6px; font-size: .61rem; }
    .professional-service-card__arrow { font-size: .68rem; }

    .professional-services-more {
        margin-top: 8px;
        min-height: 40px;
        border-radius: 10px;
        font-size: .69rem;
    }

    .service-selector-heading { margin-bottom: 8px; }
    .service-selector-heading h3 { font-size: .84rem; }
    .service-selector-heading p,
    .service-selector-heading__required,
    .service-selector-heading__eyebrow { display: none; }

    #logisticsServiceSelector .service-card {
        min-height: 64px;
        padding: 10px 11px;
        border-radius: 12px;
        box-shadow: none;
    }
    #logisticsServiceSelector .service-card .icon-pill { width: 36px; height: 36px; border-radius: 10px; }
    #logisticsServiceSelector .service-card .fw-semibold { font-size: .78rem; }
    #logisticsServiceSelector .service-card .muted-hint { font-size: .66rem; }

    #shipmentServiceDataRow { margin-top: 9px; }
    #shipmentServiceDataRow > [class*="col-"] { margin-top: 0; }
    #shipmentServiceDataRow > [class*="col-"] + [class*="col-"] { margin-top: 8px; }

    .form-section,
    .request-step-panel { padding: 13px; border-radius: 13px; }
    #deliveryStateColumn .form-section,
    #serviceSpecificColumn .form-section { padding: 13px !important; border: 1px solid #e1e9f0 !important; background: #fff !important; }

    .request-section-title { margin-bottom: 13px; padding-bottom: 11px; }
    .request-section-title > span { width: 34px; height: 34px; flex-basis: 34px; border-radius: 9px; }
    .request-section-title h3 { font-size: .84rem; }
    .request-section-title p { font-size: .66rem; }

    #shipmentForm .form-label { margin-bottom: 5px; font-size: .72rem; }
    #shipmentForm .form-control,
    #shipmentForm .form-select { min-height: 46px; border-radius: 10px; font-size: .84rem; }
    .muted-hint { font-size: .69rem; }

    .sticky-actions,
    .sticky-actions.two,
    .sticky-actions.one {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 15px;
        padding-top: 13px !important;
    }
    .sticky-actions.one { grid-template-columns: 1fr; }
    .sticky-actions .btn {
        width: 100%;
        min-width: 0;
        min-height: 48px;
        padding: 11px 12px;
        border-radius: 11px;
        font-size: .86rem;
        box-shadow: none;
    }

    .request-trust-row {
        gap: 9px 13px;
        margin: 12px 14px 0;
        font-size: .6rem;
    }
    .request-trust-row span:nth-child(2) { display: none; }

    .pickup-highlight-card,
    .home-delivery-highlight { padding: 13px !important; }
}

@media (max-width: 389.98px) {
    .request-card { margin-left: 7px; margin-right: 7px; padding: 12px; }
    .request-hero { padding-left: 13px; padding-right: 13px; }
    .request-progress--mobile { padding-left: 13px; padding-right: 13px; }
    .request-brand__logo-wrap { width: 57px; min-width: 57px; }
    .request-brand h1 { font-size: .98rem; }
    .request-brand p { font-size: .66rem; }
    .service-mode-switch { gap: 5px; }
    .mobile-service-mode-switch__button { grid-template-columns: 25px minmax(0, 1fr); gap: 5px; padding: 7px 6px; }
    .service-mode-switch__icon { width: 25px; height: 25px; }
    .service-mode-switch__copy strong { font-size: .63rem; }
    .professional-service-card__body { grid-template-columns: 1fr; row-gap: 3px; }
    .professional-service-card__price { justify-self: start; }
}
