html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f6f8fb;
    color: #0d141c;
}

.mb-shell {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
}

.mb-hero {
    padding: 72px 0 76px;
    background:
        radial-gradient(circle at 82% 18%, rgba(6,127,249,.15), transparent 32%),
        linear-gradient(135deg,#ffffff 0%,#f2f8ff 100%);
    border-bottom: 1px solid #e7edf4;
}

.mb-hero .mb-shell {
    display: grid;
    grid-template-columns: minmax(0,1.4fr) minmax(320px,.7fr);
    gap: 70px;
    align-items: center;
}

.mb-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #067ff9;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    margin-bottom: 18px;
}

.mb-kicker .material-symbols-outlined {
    font-size: 20px;
}

.mb-hero h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(42px,5vw,68px);
    line-height: 1.03;
    letter-spacing: -.045em;
    font-weight: 800;
}

.mb-hero h1 span {
    display: block;
    color: #067ff9;
}

.mb-hero-content > p {
    max-width: 650px;
    margin: 24px 0 0;
    font-size: 19px;
    line-height: 1.65;
    color: #52677c;
}

.mb-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 32px;
}

.mb-btn {
    border: 0;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px;
    padding: 14px 20px;
    font-family: inherit;
    font-weight: 800;
    transition: .2s ease;
}

.mb-btn:hover {
    transform: translateY(-1px);
}

.mb-btn-primary {
    color: white;
    background: linear-gradient(135deg,#08c76d,#067ff9);
    box-shadow: 0 12px 30px rgba(6,127,249,.18);
}

.mb-btn-secondary {
    color: #172230;
    background: white;
    border: 1px solid #d9e2eb;
}

.mb-trust {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: #60758a;
    font-size: 13px;
    font-weight: 700;
}

.mb-hero-card {
    border-radius: 28px;
    padding: 30px;
    color: white;
    background: linear-gradient(150deg,#102844,#071a2d);
    box-shadow: 0 30px 70px rgba(12,39,69,.2);
}

.mb-hero-card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(255,255,255,.09);
    margin-bottom: 28px;
}

.mb-small-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .15em;
    color: #8fb5db;
}

.mb-hero-price {
    margin-top: 7px;
}

.mb-hero-price span {
    font-size: 42px;
    font-weight: 800;
}

.mb-hero-price small {
    color: #a9bfd4;
}

.mb-hero-card > p {
    color: #a9bfd4;
    line-height: 1.55;
    margin: 7px 0 25px;
}

.mb-mini-service {
    display: grid;
    grid-template-columns: 25px 1fr auto;
    gap: 10px;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 14px 0;
    font-size: 14px;
}

.mb-mini-service strong {
    color: #8fb5db;
    font-size: 12px;
}

.mb-config-section {
    padding: 70px 0 100px;
}

.mb-config-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 360px;
    gap: 44px;
    align-items: start;
}

.mb-config-main {
    min-width: 0;
}

.mb-section-heading {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 24px;
}

.mb-section-heading > span {
    flex: 0 0 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #067ff9;
    color: white;
    font-weight: 800;
}

.mb-section-heading h2 {
    margin: 0;
    font-size: 27px;
    letter-spacing: -.02em;
}

.mb-section-heading p {
    margin: 5px 0 0;
    color: #687b8e;
    line-height: 1.5;
}

.mb-coverage-box {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border: 1px solid #dce5ee;
    border-radius: 20px;
    background: white;
    box-shadow: 0 8px 30px rgba(20,45,70,.04);
}

.mb-coverage-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #067ff9;
    background: #edf6ff;
    border-radius: 15px;
}

.mb-coverage-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mb-coverage-copy span {
    color: #6a7d90;
    font-size: 14px;
}

.mb-skip {
    margin: 14px 0 0 66px;
    padding: 0;
    border: 0;
    background: none;
    color: #067ff9;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

.mb-skip .material-symbols-outlined {
    font-size: 18px;
}

.mb-product-section {
    padding-top: 65px;
}

.mb-waiting {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 24px;
    border: 1px dashed #bdcad7;
    border-radius: 20px;
    background: rgba(255,255,255,.55);
    color: #667b90;
}

.mb-waiting > .material-symbols-outlined {
    font-size: 36px;
    color: #93a6b8;
}

.mb-waiting strong {
    color: #344a60;
}

.mb-waiting p {
    margin: 4px 0 0;
}

.mb-products-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 15px;
}

.mb-plan-card {
    position: relative;
    min-width: 0;
    text-align: left;
    padding: 22px;
    border: 2px solid transparent;
    border-radius: 20px;
    background: white;
    box-shadow: 0 5px 20px rgba(20,45,70,.055);
    cursor: pointer;
    font-family: inherit;
    transition: .18s ease;
}

.mb-plan-card:hover {
    transform: translateY(-3px);
    border-color: #b7d9fa;
    box-shadow: 0 12px 30px rgba(20,45,70,.1);
}

.mb-plan-card.is-selected {
    border-color: #067ff9;
    box-shadow: 0 10px 30px rgba(6,127,249,.13);
}

.mb-plan-check {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #edf2f6;
    display: grid;
    place-items: center;
    color: transparent;
}

.mb-plan-card.is-selected .mb-plan-check {
    color: white;
    background: #08bd68;
}

.mb-plan-check .material-symbols-outlined {
    font-size: 17px;
}

.mb-plan-type {
    color: #067ff9;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .13em;
    margin-bottom: 9px;
}

.mb-plan-card h3 {
    margin: 0;
    padding-right: 28px;
    font-size: 17px;
    min-height: 43px;
}

.mb-plan-price {
    margin: 18px 0;
    font-size: 27px;
    font-weight: 800;
}

.mb-plan-price small {
    color: #708397;
    font-size: 11px;
    font-weight: 600;
}

.mb-feature {
    display: flex;
    gap: 7px;
    margin-top: 8px;
    color: #607488;
    font-size: 12px;
    line-height: 1.35;
}

.mb-feature span {
    color: #08bd68;
    font-weight: 800;
}

.mb-summary-wrap {
    position: sticky;
    top: 95px;
}

.mb-summary {
    padding: 26px;
    border: 1px solid #dce5ee;
    border-radius: 24px;
    background: white;
    box-shadow: 0 18px 50px rgba(20,45,70,.08);
}

.mb-summary-title {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-bottom: 20px;
    border-bottom: 1px solid #edf1f5;
}

.mb-summary-title > .material-symbols-outlined {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    color: #067ff9;
    background: #edf6ff;
    border-radius: 14px;
}

.mb-summary-title small {
    color: #8193a5;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .13em;
}

.mb-summary-title h2 {
    margin: 1px 0 0;
    font-size: 24px;
}

.mb-summary-empty {
    padding: 25px 0;
    color: #8193a5;
    font-size: 13px;
}

.mb-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #edf1f5;
    font-size: 13px;
}

.mb-summary-line strong {
    white-space: nowrap;
}

.mb-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 23px 0;
}

.mb-summary-total > span {
    color: #667b90;
    font-size: 13px;
}

.mb-summary-total strong {
    font-size: 27px;
}

.mb-summary-total small {
    font-size: 10px;
    color: #708397;
}

.mb-summary-benefits {
    padding: 15px;
    border-radius: 15px;
    background: #f3f9ff;
    color: #526c83;
    font-size: 12px;
    line-height: 1.9;
    margin-bottom: 17px;
}

.mb-btn-contract {
    width: 100%;
    color: white;
    background: linear-gradient(135deg,#08c76d,#067ff9);
    padding: 15px 18px;
}

.mb-btn-contract:disabled {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: #cbd3da;
}

.mb-summary-note {
    text-align: center;
    margin: 11px 0 0;
    color: #8a9bab;
    font-size: 11px;
}

main .hidden {
    display: none !important;
}

@media (max-width: 1000px) {
    .mb-hero .mb-shell {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .mb-config-layout {
        grid-template-columns: 1fr;
    }

    .mb-summary-wrap {
        position: static;
    }

    .mb-products-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 650px) {
    .mb-shell {
        width: min(100% - 28px,1240px);
    }

    .mb-hero {
        padding: 45px 0;
    }

    .mb-hero h1 {
        font-size: 42px;
    }

    .mb-coverage-box {
        grid-template-columns: auto 1fr;
    }

    .mb-coverage-box .mb-btn {
        grid-column: 1 / -1;
        width: 100%;
    }

    .mb-skip {
        margin-left: 0;
    }

    .mb-products-grid {
        grid-template-columns: 1fr;
    }
}

/* Selector multiple de lineas moviles Likes */
.mb-mobile-card {
    cursor: default;
}

.mb-mobile-card:hover {
    transform: none;
}

.mb-mobile-quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #edf1f5;
}

.mb-qty-btn {
    width: 38px;
    height: 38px;
    border: 1px solid #cbd9e6;
    border-radius: 50%;
    background: #fff;
    color: #067ff9;
    font-family: inherit;
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: .15s ease;
}

.mb-qty-btn:hover {
    background: #edf6ff;
    border-color: #067ff9;
}

.mb-qty-value {
    min-width: 28px;
    text-align: center;
    font-size: 20px;
    color: #21384d;
}

.mb-mobile-caption {
    margin-top: 7px;
    text-align: center;
    color: #8193a5;
    font-size: 10px;
    font-weight: 700;
}

/* Informacion del pack de fibra */
.mb-included-pack {
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid #b9ddff;
    border-radius: 16px;
    background: #f4faff;
}

.mb-included-title {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 14px;
}

.mb-included-title span {
    color: #067ff9;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
}

.mb-included-title strong {
    color: #527087;
    font-size: 12px;
}

.mb-included-item {
    display: grid;
    grid-template-columns: 32px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid #dcecf8;
}

.mb-included-item .material-symbols-outlined {
    color: #067ff9;
}

.mb-included-item strong,
.mb-included-item small {
    display: block;
}

.mb-included-item small {
    margin-top: 3px;
    color: #71879a;
}

.mb-included-item b {
    color: #047857;
    font-size: 11px;
}

.mb-mobile-extra-heading {
    margin: 4px 0 15px;
}

.mb-mobile-extra-heading strong,
.mb-mobile-extra-heading span {
    display: block;
}

.mb-mobile-extra-heading strong {
    color: #21384d;
    font-size: 17px;
}

.mb-mobile-extra-heading span {
    margin-top: 4px;
    color: #71879a;
    font-size: 13px;
}

.mb-fiber-conditions {
    margin: 16px 0;
    padding: 14px;
    border: 1px solid #f0d59c;
    border-radius: 12px;
    background: #fffaf0;
}

.mb-condition-title {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #7a5510;
}

.mb-condition-title .material-symbols-outlined {
    font-size: 20px;
}

.mb-condition-text {
    margin-top: 8px;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.45;
}

.mb-fiber-conditions small {
    display: block;
    margin-top: 7px;
    color: #7c8792;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .mb-included-title {
        display: block;
    }

    .mb-included-title strong {
        display: block;
        margin-top: 4px;
    }

    .mb-included-item {
        grid-template-columns: 30px 1fr;
    }

    .mb-included-item b {
        grid-column: 2;
    }
}


/* ============================================================
   INFORMACION DETALLADA DE PRODUCTOS
   ============================================================ */

.mb-plan-card,
.mb-mobile-card {
    position: relative;
}

.mb-info-trigger {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 1px solid #c9d9e7;
    border-radius: 50%;
    background: #fff;
    color: #067ff9;
    cursor: pointer;
    transition: .15s ease;
}

.mb-info-trigger .material-symbols-outlined {
    font-size: 20px;
}

.mb-info-trigger:hover,
.mb-info-trigger:focus-visible {
    border-color: #067ff9;
    background: #edf6ff;
    outline: none;
    transform: none;
}

.mb-modal-open {
    overflow: hidden;
}

.mb-info-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.mb-info-modal.is-open {
    display: flex;
}

.mb-info-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(12, 31, 48, .62);
    backdrop-filter: blur(3px);
}

.mb-info-dialog {
    position: relative;
    z-index: 1;
    width: min(760px, 100%);
    max-height: min(82vh, 850px);
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 30px 80px rgba(7, 34, 58, .25);
}

.mb-info-close {
    position: absolute;
    top: 17px;
    right: 17px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #d9e3eb;
    border-radius: 50%;
    background: #fff;
    color: #526b80;
    cursor: pointer;
}

.mb-info-close:hover {
    color: #067ff9;
    border-color: #9ccfff;
    background: #f4faff;
}

.mb-info-head {
    padding: 28px 70px 22px 28px;
    border-bottom: 1px solid #e7eef4;
    background:
        linear-gradient(
            135deg,
            #f7fbff 0%,
            #ffffff 100%
        );
}

.mb-info-kicker {
    margin-bottom: 7px;
    color: #067ff9;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.mb-info-head h2 {
    margin: 0;
    color: #17344c;
    font-size: 25px;
    line-height: 1.2;
    font-weight: 800;
}

.mb-info-price-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 13px;
}

.mb-info-price-row strong {
    color: #067ff9;
    font-size: 22px;
}

.mb-info-price-row span {
    padding: 5px 9px;
    border-radius: 999px;
    background: #edf6ff;
    color: #42647f;
    font-size: 12px;
    font-weight: 700;
}

.mb-info-content {
    max-height: calc(82vh - 145px);
    overflow-y: auto;
    padding: 8px 28px 28px;
}

.mb-info-block {
    padding: 19px 0;
    border-bottom: 1px solid #edf1f5;
}

.mb-info-block:last-child {
    border-bottom: 0;
}

.mb-info-block h3,
.mb-info-details summary {
    margin: 0 0 8px;
    color: #21384d;
    font-size: 15px;
    font-weight: 800;
}

.mb-info-block p {
    margin: 0;
    color: #536b7e;
    font-size: 14px;
    line-height: 1.65;
    white-space: pre-line;
}

.mb-info-details summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    list-style: none;
    cursor: pointer;
}

.mb-info-details summary::-webkit-details-marker {
    display: none;
}

.mb-info-details summary
.material-symbols-outlined {
    color: #067ff9;
    transition: transform .15s ease;
}

.mb-info-details[open] summary
.material-symbols-outlined {
    transform: rotate(180deg);
}

.mb-info-details p {
    margin-top: 12px;
}

@media (max-width: 600px) {

    .mb-info-modal {
        align-items: flex-end;
        padding: 0;
    }

    .mb-info-dialog {
        width: 100%;
        max-height: 90vh;
        border-radius: 22px 22px 0 0;
    }

    .mb-info-head {
        padding:
            24px 62px 18px 20px;
    }

    .mb-info-head h2 {
        font-size: 21px;
    }

    .mb-info-content {
        max-height: calc(90vh - 135px);
        padding:
            5px 20px 24px;
    }

    .mb-info-trigger {
        top: 12px;
        right: 12px;
    }
}
