/* ============================================================
   FacturaMax — estilos propios de la página /facturamax
   Se carga después de facilwebs.css: reutiliza sus tarjetas de
   plan, bento, secciones de beneficios, FAQ y CTA, y suma el
   verde de FacturaMax como acento sobre la paleta de MaxDominios.
   ============================================================ */

/* Paleta FacturaMax: verde #25d366 / #17b955 / #0c7a3d */

/* ===== Hero ===== */
.fm_hero .home_banner_inner_section {
    position: relative;
    overflow: hidden;
    padding: 60px 0 70px;
}
.fm_hero .container { position: relative; z-index: 1; }
.fm_hero_eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #7ff0ab;
    background: rgba(37, 211, 102, 0.10);
    border: 1px solid rgba(37, 211, 102, 0.35);
    border-radius: 30px;
    padding: 6px 14px;
    margin-bottom: 18px;
}
.fm_ping {
    position: relative;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #25d366;
}
.fm_ping::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    animation: fm-ping 1.8s ease-out infinite;
}
@keyframes fm-ping {
    to { transform: scale(2.6); opacity: 0; }
}

/* Teléfono con la captura de la app */
.fm_hero_visual {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}
.fm_phone {
    position: relative;
    width: 230px;
    margin: 0 auto;
    background: #1c1c1e;
    border-radius: 38px;
    padding: 8px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.fm_phone_screen {
    position: relative;
    border-radius: 31px;
    overflow: hidden;
    line-height: 0;
    background: #fff;
}
.fm_phone_screen::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 20px;
    background: #000;
    border-radius: 12px;
    z-index: 2;
}
.fm_phone_screen img {
    display: block;
    width: 100%;
    height: auto;
    transition: opacity .25s ease;
}

/* Tarjetas flotantes del hero */
.fm_float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border-radius: 14px;
    padding: 10px 14px;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
    white-space: nowrap;
    animation: fm-float 6s ease-in-out infinite;
}
.fm_float strong { display: block; font-size: 13px; color: #051646; line-height: 1.2; }
.fm_float small  { display: block; font-size: 11.5px; color: #6b7280; line-height: 1.3; }
.fm_float--kude { top: 18%; left: -48px; }
.fm_float--sent { bottom: 14%; right: -40px; animation-delay: -3s; }
.fm_float_ico {
    width: 34px; height: 34px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: #051646;
    color: #fff;
    font-size: 16px;
}
.fm_float_ico--ok { background: #25d366; font-size: 14px; }
@keyframes fm-float {
    50% { transform: translateY(-8px); }
}

@media only screen and (max-width: 991px) {
    .fm_phone { width: 200px; }
    .fm_float--kude { left: -20px; }
    .fm_float--sent { right: -14px; }
}
@media only screen and (max-width: 767px) {
    .fm_hero .home_banner_inner_section { padding: 40px 0 60px; }
    .fm_hero_visual { margin-bottom: 30px; }
    .fm_phone { width: 180px; border-radius: 32px; }
    .fm_phone_screen { border-radius: 26px; }
    .fm_float { padding: 8px 11px; }
    .fm_float--kude { left: 0; }
    .fm_float--sent { right: 0; }
}

/* ===== Cómo funciona ===== */
.fm_steps_section {
    padding: 80px 0;
    background: #ffffff;
}
.fm_steps_heading { margin-bottom: 46px; }
.fm_steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: none;
}
.fm_step {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    background: #f5f6f8;
    border: 1px solid #e8eaf1;
    border-radius: 18px;
    transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.fm_step:hover {
    transform: translateY(-5px);
    border-color: #25d366;
    box-shadow: 0 16px 34px rgba(5, 22, 70, 0.10);
}
.fm_step_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.fm_step_ico {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: #2E3359;
    color: #fff;
    font-size: 19px;
}
.fm_step_when {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
    color: #0c7a3d;
    background: rgba(37, 211, 102, 0.12);
    border-radius: 20px;
    padding: 5px 11px;
}
.fm_step h3 {
    font-size: 20px;
    font-weight: 700;
    color: #051646;
    margin: 0 0 10px;
}
.fm_step > p {
    font-size: 14.5px;
    line-height: 1.65;
    color: #6b7280;
    margin: 0;
}
@media only screen and (max-width: 991px) {
    .fm_steps { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media only screen and (max-width: 767px) {
    .fm_steps_section { padding: 50px 0; }
}

/* ===== Planes ===== */
.fm_plans_section { background: #f5f6f8; }
.fm_plan_box { position: relative; }
.fm_plan_box h3 { margin-bottom: 0; }
.fm_plan_alias { font-weight: 400; color: #6b7280; }
.fm_plan_box > p small { font-size: 14px; line-height: 1.5; color: #6b7280; display: block; }
.fm_check { color: #17b955; }
.fm_plan_box--featured {
    border: 2px solid #25d366;
    box-shadow: 0 22px 46px rgba(23, 185, 85, 0.18);
}
.fm_plan_box--featured .fw_plan_box_btn {
    background-color: #17b955;
    border-color: #17b955;
}
.fm_plan_box--featured:hover .fw_plan_box_btn {
    background-color: transparent;
    color: #0c7a3d;
    border-color: #17b955;
}
.fm_ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: #051646;
    background: #fcb100;
    border-radius: 20px;
    padding: 6px 14px;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(252, 177, 0, 0.35);
}
/* Más aire arriba en tablet/celular para que la cinta no pise la tarjeta anterior */
@media only screen and (max-width: 991px) {
    #planesh .row > [class*="col-"] { margin-bottom: 34px; }
}

/* Plan a medida */
.fm_custom_plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding: 26px 30px;
    text-align: left;
    background: #ffffff;
    border: 1px dashed #b9c0d4;
    border-radius: 18px;
}
.fm_custom_plan_tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #0c7a3d;
    margin-bottom: 6px;
}
.fm_custom_plan h3 {
    font-size: 20px;
    font-weight: 700;
    color: #051646;
    margin: 0 0 6px;
}
.fm_custom_plan p { font-size: 15px; color: #6b7280; margin: 0; }
.fm_wa_btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #15803d;
    border-radius: 9px;
    padding: 14px 24px;
    white-space: nowrap;
    box-shadow: 0 6px 14px rgba(5, 22, 70, 0.12);
    transition: transform .2s ease, box-shadow .2s ease;
}
.fm_wa_btn i { font-size: 19px; }
.fm_wa_btn:hover {
    color: #fff;
    text-decoration: none;
    background: #166534;
    transform: translateY(-2px);
}
@media only screen and (max-width: 767px) {
    .fm_custom_plan { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 20px; }
    .fm_wa_btn { justify-content: center; }
}

/* ===== Bento: ajustes y mockups propios ===== */
.fm_bento_section { background: #ffffff; }
.fm_bento_section .fw_bento_card { background: #fff; }
.fm_bento_section .fw_bento_card:hover { border-color: #25d366; }
.fm_bento_section .fw_bento_label { color: #0c7a3d; }
.fm_bento_section .fw_bento_label::before { background: #25d366; }

/* Factura de ejemplo */
.fm_invoice {
    background: #f5f6f8;
    border: 1px solid #e8eaf1;
    border-radius: 12px;
    padding: 14px;
}
.fm_invoice_head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}
.fm_invoice_head strong { display: block; font-size: 13px; color: #051646; }
.fm_invoice_head small  { font-size: 11px; color: #6b7280; }
.fm_invoice_status {
    font-size: 10.5px;
    font-weight: 700;
    color: #0c7a3d;
    background: rgba(37, 211, 102, 0.14);
    border-radius: 20px;
    padding: 4px 9px;
    white-space: nowrap;
}
.fm_invoice_line,
.fm_invoice_total {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
    padding: 6px 0;
    border-top: 1px dashed #dde1ea;
}
.fm_invoice_line strong { color: #2E3359; font-weight: 600; }
.fm_invoice_total { font-size: 13.5px; color: #051646; font-weight: 700; border-top-style: solid; }

/* Lista de comprobantes */
.fm_docs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.fm_docs li {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 500;
    color: #2E3359;
    background: #f5f6f8;
    border: 1px solid #e8eaf1;
    border-radius: 9px;
    padding: 8px 12px;
    white-space: nowrap;
}
.fm_docs li i { color: #17b955; width: 14px; text-align: center; }
.fm_bento_section .fw_bento_card--velocidad .fw_bento_visual { flex: 0 0 auto; }
@media only screen and (max-width: 767px) {
    .fm_docs li { white-space: normal; }
}
@media only screen and (max-width: 400px) {
    .fm_docs { grid-template-columns: 1fr; }
}

/* ===== App para iPhone (mismo patrón de tabs que los videos de FacilWebs) ===== */
.fm_app_section {
    padding: 80px 0;
    background: #f5f6f8;
}
.fm_app_heading { margin-bottom: 46px; }
.fm_app_layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 70px;
}
.fm_app_stage {
    position: relative;
    flex: 0 0 auto;
}
.fm_app_glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 340px; height: 340px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.35), rgba(5, 22, 70, 0.10) 55%, transparent 72%);
    filter: blur(20px);
}
.fm_phone--lg { width: 260px; }
.fm_app_list {
    flex: 0 1 420px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fm_app_list .fw_video_item { flex: 0 0 auto; }
.fm_app_list .fw_video_item.is-active {
    background: #effcf4;
    border-color: #bfeccf;
}
.fm_app_list .fw_video_progress rect { stroke: #25d366; }
.fm_app_list .fw_video_item.is-active .fw_video_num { background: #25d366; color: #fff; }
.fm_app_list .fw_video_item:hover .fw_video_play,
.fm_app_list .fw_video_item.is-active .fw_video_play { color: #17b955; }
.fm_store_badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 6px;
    background: #000;
    color: #fff;
    border-radius: 10px;
    padding: 8px 18px 8px 14px;
    transition: transform .2s ease;
}
.fm_store_badge:hover { color: #fff; text-decoration: none; transform: translateY(-2px); }
.fm_store_badge i { font-size: 28px; }
.fm_store_badge span { line-height: 1.1; }
.fm_store_badge small  { display: block; font-size: 10.5px; }
.fm_store_badge strong { display: block; font-size: 18px; font-weight: 600; }
@media only screen and (max-width: 991px) {
    .fm_app_layout { flex-direction: column; gap: 40px; }
    .fm_app_list { flex: 1 1 auto; width: 100%; max-width: 520px; }
    .fm_store_badge { align-self: center; }
}
@media only screen and (max-width: 767px) {
    .fm_app_section { padding: 50px 0; }
    .fm_phone--lg { width: 220px; }
    .fm_app_list .fw_video_item { flex: 0 0 auto; }
}

/* ===== Beneficios en detalle: acentos ===== */
.fm_label { color: #0c7a3d; }
.fm_label::before { background: #25d366; }
.fm_chat_head { background: #051646; }
.fm_badge_ok {
    font-size: 12px;
    font-weight: 600;
    color: #0c7a3d;
    background: rgba(37, 211, 102, 0.14);
    border-radius: 20px;
    padding: 5px 12px;
}
.fm_ico--green  { background: #17b955; }
.fm_ico--navy   { background: #2E3359; }
.fm_ico--yellow { background: #fcb100; }

/* Cuentas por cobrar */
.fm_ar {
    width: 100%;
    background: #fff;
    border: 1px solid #e2e5ec;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(5, 22, 70, 0.12);
    padding: 18px;
}
.fm_ar_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.fm_ar_head strong { font-size: 15px; color: #051646; }
.fm_ar_head span { font-size: 12px; color: #6b7280; }
.fm_ar_row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 11px;
    border: 1px solid #e8eaf1;
    border-radius: 10px;
    margin-bottom: 8px;
}
.fm_ar_who { line-height: 1.3; }
.fm_ar_who strong { display: block; font-size: 13.5px; color: #2E3359; }
.fm_ar_who small  { font-size: 11.5px; color: #6b7280; }
.fm_ar_tag {
    font-size: 11px;
    font-weight: 700;
    border-radius: 20px;
    padding: 4px 10px;
}
.fm_ar_tag--ok   { color: #0c7a3d; background: rgba(37, 211, 102, 0.14); }
.fm_ar_tag--pend { color: #8a5a00; background: #fff4d6; }
.fm_ar_tag--late { color: #b42318; background: #fde8e7; }
.fm_ar_bar {
    height: 8px;
    border-radius: 6px;
    background: #eef0f4;
    overflow: hidden;
    margin-top: 14px;
}
.fm_ar_bar span {
    display: block;
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, #17b955, #25d366);
}
.fm_ar_note { display: block; margin-top: 7px; font-size: 12px; color: #6b7280; }

/* ===== Requisitos para empezar ===== */
.fm_req_section {
    padding: 80px 0;
    background: #ffffff;
}
.fm_req_heading { margin-bottom: 40px; }
.fm_req_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.fm_req_card {
    padding: 26px 22px;
    background: #f5f6f8;
    border: 1px solid #e8eaf1;
    border-radius: 16px;
}
.fm_req_ico {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: #2E3359;
    color: #fff;
    font-size: 18px;
    margin-bottom: 16px;
}
.fm_req_card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #051646;
    margin: 0 0 8px;
}
.fm_req_card p {
    font-size: 14px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
}
@media only screen and (max-width: 991px) {
    .fm_req_grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media only screen and (max-width: 767px) {
    .fm_req_section { padding: 50px 0; }
}

/* ===== FAQ: acento verde al abrir ===== */
.fm_faq_list .fw_faq_item[open] { border-color: #bfeccf; }
.fm_faq_list .fw_faq_item[open] .fw_faq_icon { background: #25d366; color: #fff; }

/* ===== CTA final ===== */
.fm_cta::after {
    background: radial-gradient(circle, rgba(37, 211, 102, 0.24), transparent 65%);
}
.fm_cta .fw_custom_cta_title em { color: #25d366; }
.fm_cta_eyebrow {
    color: #7ff0ab;
    background: rgba(37, 211, 102, 0.10);
    border-color: rgba(37, 211, 102, 0.32);
}
.fm_cta_ticket {
    position: relative;
    width: 100%;
    max-width: 300px;
    background: #fff;
    border-radius: 16px;
    padding: 20px 22px 22px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
    transform: rotate(2.5deg);
}
.fm_cta_ticket_top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #6b7280;
}
.fm_cta_ticket_top i { font-size: 24px; color: #051646; }
.fm_cta_ticket_kicker {
    font-size: 13px;
    font-weight: 600;
    color: #0c7a3d;
    margin: 14px 0 4px;
}
.fm_cta_ticket_price {
    font-size: 28px;
    font-weight: 800;
    color: #051646;
    margin: 0;
    line-height: 1.2;
}
.fm_cta_ticket_price small { font-size: 13px; font-weight: 500; color: #6b7280; }
.fm_cta_ticket_price span  { font-size: 14px; font-weight: 600; color: #6b7280; }
/* Línea troquelada con muescas a los costados, como un ticket */
.fm_cta_ticket_perf {
    position: relative;
    margin: 16px -22px;
    border-top: 2px dashed #dde1ea;
}
.fm_cta_ticket_perf::before,
.fm_cta_ticket_perf::after {
    content: "";
    position: absolute;
    top: -10px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: #141a45;
}
.fm_cta_ticket_perf::before { left: -9px; }
.fm_cta_ticket_perf::after  { right: -9px; }
.fm_cta_ticket ul { margin: 0; padding: 0; list-style: none; }
.fm_cta_ticket li {
    font-size: 13.5px;
    color: #2E3359;
    padding: 4px 0;
}
.fm_cta_ticket li i { color: #17b955; margin-right: 8px; }
@media only screen and (max-width: 767px) {
    .fm_cta_ticket { transform: none; margin: 0 auto; text-align: left; }
}

/* ===== Correcciones de herencia ===== */
/* style.css da 24px y mayúsculas a todo <small> dentro del hero */
.fm_hero .fm_float small {
    font-size: 11.5px;
    line-height: 1.3;
    color: #6b7280;
    text-transform: none;
    font-weight: 400;
}
/* Ícono del plan en lugar de la ilustración */
.fm_plan_box figure.fm_plan_ico {
    width: 96px; height: 96px;
    margin: 6px auto 26px;
    border-radius: 26px;
    display: flex; align-items: center; justify-content: center;
    background: #2E3359;
    color: #fff;
    font-size: 38px;
}
.fm_plan_box--featured figure.fm_plan_ico { background: #17b955; }

/* ===== Bento: mockups propios ===== */
.fm_bc .fw_bento_visual { flex: 1; justify-content: flex-end; }
.fm_mail,
.fm_report,
.fm_points,
.fm_offline {
    background: #f5f6f8;
    border: 1px solid #e8eaf1;
    border-radius: 12px;
    padding: 14px;
}

/* Email enviado */
.fm_mail_head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e5ec;
}
.fm_mail_av {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: #2E3359;
    color: #fff;
    font-size: 13px;
    flex: 0 0 auto;
}
.fm_mail_head span { line-height: 1.3; min-width: 0; }
.fm_mail_head strong { display: block; font-size: 13px; color: #051646; }
.fm_mail_head small  { display: block; font-size: 11.5px; color: #6b7280; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fm_mail_subj {
    font-size: 12.5px;
    font-weight: 600;
    color: #2E3359;
    margin: 10px 0;
}
.fm_mail_att { display: flex; flex-wrap: wrap; gap: 6px; }
.fm_mail_att span {
    font-size: 11.5px;
    font-weight: 500;
    color: #2E3359;
    background: #fff;
    border: 1px solid #e2e5ec;
    border-radius: 7px;
    padding: 5px 9px;
}
.fm_mail_att span i { margin-right: 4px; }
.fm_mail_att .fa-file-pdf  { color: #d93025; }
.fm_mail_att .fa-file-code { color: #17b955; }

/* Libro de ventas */
.fm_report_head,
.fm_report_foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}
.fm_report_head strong { font-size: 13px; color: #051646; }
.fm_report_head span   { color: #6b7280; }
.fm_report_bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    height: 92px;
    margin: 12px 0 10px;
}
.fm_report_bars span {
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
}
.fm_report_bars i {
    display: block;
    width: 100%;
    max-width: 30px;
    height: var(--h);
    border-radius: 5px 5px 2px 2px;
    background: #cdd2e3;
}
.fm_report_bars .is-now i { background: #17b955; }
.fm_report_bars small { font-size: 10.5px; color: #6b7280; }
.fm_report_foot { padding-top: 9px; border-top: 1px solid #e2e5ec; color: #6b7280; }
.fm_report_foot strong { color: #051646; font-size: 13px; }

/* Puntos de expedición y usuarios */
.fm_points { display: flex; flex-direction: column; gap: 6px; }
.fm_point {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: #2E3359;
    background: #fff;
    border: 1px solid #e2e5ec;
    border-radius: 8px;
    padding: 7px 10px;
}
.fm_point i { color: #17b955; width: 16px; text-align: center; }
.fm_point span { flex: 1; }
.fm_point b { font-size: 12px; color: #051646; }
.fm_users {
    display: flex;
    align-items: center;
    margin-top: 6px;
    padding-left: 6px;
}
.fm_av {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    background: #2E3359;
    border: 2px solid #f5f6f8;
    margin-left: -6px;
}
.fm_av:nth-child(2) { background: #17b955; }
.fm_av:nth-child(3) { background: #fcb100; color: #051646; }
.fm_av--more { background: #e3e6ee; color: #2E3359; }
.fm_users small { margin-left: 10px; font-size: 11.5px; color: #6b7280; }

/* Modo contingencia */
.fm_offline_status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    font-weight: 700;
    color: #b42318;
    background: #fde8e7;
    border-radius: 20px;
    padding: 4px 11px;
    margin-bottom: 12px;
}
.fm_offline_steps {
    margin: 0;
    padding: 0;
    list-style: none;
}
.fm_offline_steps li {
    position: relative;
    font-size: 12.5px;
    color: #2E3359;
    padding: 0 0 12px 26px;
}
.fm_offline_steps li:last-child { padding-bottom: 0; }
/* Línea que une los pasos */
.fm_offline_steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 17px;
    bottom: 1px;
    width: 2px;
    background: #d5dae6;
}
.fm_offline_steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 16px; height: 16px;
    border-radius: 50%;
    background: #2E3359;
    box-shadow: inset 0 0 0 3px #f5f6f8;
    border: 2px solid #2E3359;
    box-sizing: border-box;
}
.fm_offline_steps li.is-sync { font-weight: 600; color: #0c7a3d; }
.fm_offline_steps li.is-sync::before { background: #17b955; border-color: #17b955; }

/* ===== Sin costos ocultos ===== */
.fm_costs_section {
    padding: 80px 0;
    background: #f5f6f8;
}
.fm_costs_row {
    display: flex;
    align-items: center;
    gap: 56px;
}
.fm_costs_text,
.fm_costs_visual { flex: 1 1 0; min-width: 0; }
.fm_costs_visual { display: flex; justify-content: center; }
.fm_costs_text > p {
    font-size: 16px;
    line-height: 1.7;
    color: #6b7280;
    margin: 0 0 20px;
}
.fm_costs_points { margin: 0; padding: 0; list-style: none; }
.fm_costs_points li {
    font-size: 15px;
    color: #2E3359;
    padding: 5px 0;
}
.fm_costs_points li i { color: #17b955; margin-right: 9px; }
.fm_bill {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid #e2e5ec;
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(5, 22, 70, 0.12);
    padding: 22px;
}
.fm_bill_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.fm_bill_head strong { font-size: 15px; color: #051646; }
.fm_bill_head span {
    font-size: 11.5px;
    font-weight: 600;
    color: #2E3359;
    background: #eef0f4;
    border-radius: 20px;
    padding: 4px 10px;
}
.fm_bill_line,
.fm_bill_total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 14px;
    color: #4b5064;
    padding: 11px 0;
    border-top: 1px dashed #dde1ea;
}
.fm_bill_line strong { color: #051646; }
.fm_bill_line--zero strong { color: #0c7a3d; }
.fm_bill_total {
    border-top: 2px solid #051646;
    margin-top: 4px;
    font-weight: 700;
    color: #051646;
}
.fm_bill_total strong { font-size: 22px; }
.fm_bill_total small { font-size: 13px; font-weight: 500; color: #6b7280; }
.fm_bill_note {
    display: flex;
    gap: 8px;
    margin: 12px 0 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #6b7280;
}
.fm_bill_note i { color: #2E3359; margin-top: 3px; }
@media only screen and (max-width: 991px) {
    .fm_costs_row { flex-direction: column; gap: 36px; }
    .fm_costs_text, .fm_costs_visual { width: 100%; }
}
@media only screen and (max-width: 767px) {
    .fm_costs_section { padding: 50px 0; }
}

/* FAQ en blanco para alternar con la sección de costos */
.fm_faq_section { background: #ffffff; }

/* Botón de WhatsApp del CTA final: mismo verde legible que el de "Plan a medida" */
.fm_cta .fw_custom_cta_btn {
    background: #15803d;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}
.fm_cta .fw_custom_cta_btn:hover {
    background: #166534;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   Scroll suave al tocar enlaces a un ancla (#id), igual que en /maxtiendas.
   Sólo aplica en esta página (este CSS se carga sólo en /facturamax).
   ============================================================ */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
}
