/* SST 2.5 — página Funcionalidades Web (tour comercial) */

body.page-caracteristicas-web {
    color: #333;
}

.page-caracteristicas-web .web-feats-header {
    max-width: 820px;
    margin-bottom: 2rem;
}

.page-caracteristicas-web #btnMargin.btn-danger {
    background: #c62828;
    border-color: #c62828;
}

.page-caracteristicas-web #btnMargin.btn-danger:hover,
.page-caracteristicas-web #btnMargin.btn-danger:focus {
    background: #b71c1c;
    border-color: #b71c1c;
}

#imagemodal {
    z-index: 10050;
}

.page-caracteristicas-web .web-feats-header h1 {
    font-family: 'Dosis', sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    color: #111;
    margin: 18px 0 12px;
}

.page-caracteristicas-web .web-feats-header .banderitas {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.page-caracteristicas-web .web-feats-header .lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #444;
}

.page-caracteristicas-web .web-feats-cta-row {
    margin: 1.75rem 0 2.5rem;
}

.page-caracteristicas-web .btn-web-demo {
    border-radius: 24px;
    padding: 12px 28px;
    font-family: 'Dosis', sans-serif;
    font-weight: 600;
    font-size: 17px;
}

.page-caracteristicas-web .btn-web-demo.btn-danger {
    background: #c62828;
    border-color: #c62828;
    color: #fff;
}

.page-caracteristicas-web .btn-web-demo.btn-danger:hover,
.page-caracteristicas-web .btn-web-demo.btn-danger:focus {
    background: #b71c1c;
    border-color: #b71c1c;
    color: #fff;
}

.web-feats-pillars {
    padding: 2.5rem 0 1rem;
    background: linear-gradient(180deg, #f7f4f4 0%, #fff 100%);
    border-top: 1px solid #ece8e8;
    border-bottom: 1px solid #ece8e8;
    margin-bottom: 2.5rem;
}

.web-pillar-card {
    text-align: center;
    padding: 1.25rem 1rem 1.5rem;
    margin-bottom: 1rem;
    background: #fff;
    border: 1px solid #e6dede;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    min-height: 100%;
}

.web-pillar-card .web-pillar-icon {
    width: 52px;
    height: 52px;
    line-height: 52px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: #c62828;
    color: #fff;
    font-size: 22px;
}

.web-pillar-card h3 {
    font-family: 'Dosis', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #222;
    line-height: 1.25;
}

.web-pillar-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    margin: 0;
}

.web-tour-act {
    padding: 2.75rem 0;
    border-bottom: 1px solid #eee;
}

.web-tour-act h2 {
    font-family: 'Dosis', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.25;
    margin: 0 0 12px;
}

.web-tour-act .web-tour-step {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #c62828;
    margin-bottom: 8px;
}

.web-tour-act p {
    font-size: 15px;
    line-height: 1.65;
    color: #444;
    margin-bottom: 1rem;
}

.web-tour-img-wrap {
    margin: 0.5rem 0 1rem;
    border: 1px solid #d8dee3;
    border-radius: 4px;
    overflow: hidden;
    background: #f4f1f1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.web-tour-img-wrap img {
    display: block;
    width: 100%;
    height: auto;
}

.web-tour-img-fallback {
    display: none;
    margin: 0;
    padding: 2rem 1.25rem;
    text-align: center;
    color: #6a7a85;
    font-size: 13px;
    line-height: 1.5;
}

.web-tour-img-wrap.is-missing img {
    display: none;
}

.web-tour-img-wrap.is-missing .web-tour-img-fallback {
    display: block;
    min-height: 200px;
}

.web-tour-thumb-row .web-tour-img-wrap {
    margin-bottom: 0.75rem;
}

.web-tour-band {
    background: linear-gradient(135deg, #4a1518 0%, #3a1012 50%, #2a0c0e 100%);
    color: #fff;
    padding: 3rem 0;
    margin: 2rem 0 2.5rem;
}

.web-tour-band h2 {
    font-family: 'Dosis', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
    line-height: 1.25;
}

.web-tour-band p {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.25rem;
}

.web-tour-band .web-tour-img-wrap {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.2);
}

.web-tour-band .web-tour-img-fallback {
    color: rgba(255, 255, 255, 0.75);
}

.web-tour-band .btn-web-demo {
    background: #fff;
    color: #c62828;
    border: none;
}

.web-tour-band .btn-web-demo:hover,
.web-tour-band .btn-web-demo:focus {
    background: #fdeaea;
    color: #b71c1c;
}

.web-tour-duo {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 1rem;
}

.web-tour-duo .web-tour-duo-item {
    flex: 1 1 200px;
}

.web-feats-also {
    padding: 2.5rem 0 3rem;
    background: #f7f5f5;
    border-top: 1px solid #ece8e8;
}

.web-feats-also h2 {
    font-family: 'Dosis', sans-serif;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    margin: 0 0 8px;
    color: #1a1a1a;
}

.web-feats-also .web-feats-also-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 2rem;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

.web-also-item {
    margin-bottom: 1.25rem;
    padding-left: 2.5rem;
    position: relative;
    min-height: 2rem;
}

.web-also-item i {
    position: absolute;
    left: 0;
    top: 2px;
    color: #c62828;
    font-size: 18px;
    width: 1.75rem;
    text-align: center;
}

.web-also-item strong {
    display: block;
    font-size: 15px;
    color: #222;
    margin-bottom: 2px;
}

.web-also-item span {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

.web-feats-footer-cta {
    text-align: center;
    padding: 2rem 0 3rem;
}

.web-feats-footer-cta .btn {
    margin: 6px 8px;
}

@media (max-width: 767px) {
    .web-tour-act h2 {
        font-size: 22px;
    }

    .web-tour-band h2 {
        font-size: 24px;
    }
}

@media (min-width: 768px) {
    .web-tour-act .row.web-tour-row {
        display: flex;
        align-items: center;
    }

    .web-tour-act--reverse .row.web-tour-row {
        flex-direction: row-reverse;
    }
}

/* Lightbox de capturas */
#imagemodal .modal-dialog {
    width: auto;
    max-width: min(1200px, 96vw);
    margin: 24px auto;
}

#imagemodal .modal-content {
    background: #1a1a1a;
    border: none;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

#imagemodal .custom-size-modal {
    position: relative;
    padding: 12px 12px 16px;
    text-align: center;
}

#imagemodal .custom-size-modal .close {
    position: absolute;
    right: 14px;
    top: 14px;
    z-index: 3;
    float: none;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0;
    line-height: 38px;
    text-align: center;
    color: #fff;
    opacity: 1;
    font-size: 26px;
    font-weight: 300;
    background: rgba(28, 28, 28, 0.92);
    border: 2px solid rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
    text-shadow: none;
}

#imagemodal .custom-size-modal .close:hover,
#imagemodal .custom-size-modal .close:focus {
    color: #fff;
    background: rgba(0, 0, 0, 0.95);
    border-color: #fff;
    opacity: 1;
    outline: none;
}

#imagemodal .imagepreview {
    display: block;
    max-width: 100%;
    max-height: 85vh;
    width: auto;
    height: auto;
    margin: 0 auto;
}

.web-tour-img-wrap:not(.is-missing) {
    cursor: zoom-in;
}

.web-tour-img-wrap:not(.is-missing)::after {
    content: "Clic para ampliar";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 10px 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    color: #fff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72), transparent);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.web-tour-img-wrap:not(.is-missing):hover::after,
.web-tour-img-wrap:not(.is-missing):focus-within::after {
    opacity: 1;
}

/* Flotante Quiero probar la app */
.sst-try-float {
    position: fixed;
    right: 18px;
    bottom: 90px;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
}

.sst-try-float.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sst-try-float-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px 12px 14px;
    background: linear-gradient(145deg, #b71c1c 0%, #d32f2f 55%, #c62828 100%);
    color: #fff !important;
    border-radius: 50px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
    text-decoration: none !important;
}

.sst-try-float-btn:hover,
.sst-try-float-btn:focus {
    background: #b71c1c;
    color: #fff !important;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34);
}

.sst-try-float-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    box-sizing: border-box;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
}

.sst-try-float-icon i {
    display: block;
    line-height: 1;
}

.sst-try-float-text {
    display: block;
    line-height: 1.2;
    text-align: left;
}

.sst-try-float-text strong {
    display: block;
    font-family: 'Dosis', sans-serif;
    font-weight: 700;
    font-size: 17px;
}

.sst-try-float-text small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.sst-try-float-close {
    position: absolute;
    top: -8px;
    right: -6px;
    z-index: 2;
    width: 24px;
    height: 24px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid #d9d9d9;
    background: #fff;
    color: #555;
    font-size: 16px;
    line-height: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.sst-try-float-close:hover {
    background: #f1f1f1;
    color: #111;
}

@media (max-width: 480px) {
    .sst-try-float {
        right: 12px;
        bottom: 80px;
    }

    .sst-try-float-text small {
        display: none;
    }
}

/* Modal DEMO SST Web */
#sstDemoModal.in {
    display: flex !important;
    align-items: center;
    justify-content: center;
    /* !important neutraliza el padding-right inline que agrega Bootstrap para compensar el scrollbar */
    padding: 16px !important;
}

#sstDemoModal .modal-dialog.sst-demo-dialog {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 440px !important;
}

.sst-demo-modal {
    position: relative;
    border: none;
    border-radius: 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

.sst-demo-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 2;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 28px;
    line-height: 1;
    padding: 0 6px;
    opacity: 1;
}

.sst-demo-close:hover {
    color: #fff;
}

.sst-demo-top {
    background: linear-gradient(145deg, #b71c1c 0%, #d32f2f 55%, #c62828 100%);
    color: #fff;
    text-align: center;
    padding: 28px 28px 24px;
}

.sst-demo-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    box-sizing: border-box;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-size: 24px;
    color: #fff;
}

.sst-demo-icon i {
    display: block;
    line-height: 1;
}

.sst-demo-top .modal-title {
    font-family: 'Dosis', sans-serif;
    font-weight: 700;
    font-size: 24px;
    color: #fff;
    margin: 0 0 10px;
}

.sst-demo-lead {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
}

.sst-demo-body {
    padding: 22px 24px 8px;
    background: #fff;
}

.sst-demo-creds {
    display: flex;
    width: 100%;
    margin: 0 0 14px;
}

.sst-demo-cred {
    flex: 1 1 0;
    min-width: 0;
    background: #f7f7f8;
    border: 1px solid #e6e6e8;
    border-radius: 8px;
    padding: 14px 12px;
    text-align: center;
}

.sst-demo-cred + .sst-demo-cred {
    margin-left: 10px;
}

.sst-demo-cred span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #777;
    margin-bottom: 6px;
}

.sst-demo-cred strong {
    display: block;
    font-size: 22px;
    color: #c62828;
    letter-spacing: 0.5px;
}

.sst-demo-hint {
    margin: 0 0 8px;
    color: #666;
    font-size: 13px;
    line-height: 1.45;
    text-align: center;
}

.sst-demo-fallback-q {
    margin-top: 0;
    margin-bottom: 14px;
    font-weight: 600;
    color: #444;
}

.sst-demo-footer {
    border-top: none;
    padding: 8px 24px 22px;
    text-align: center;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.sst-demo-btn-cancel,
.sst-demo-btn-go {
    float: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    line-height: 1;
    padding: 0 18px;
    margin: 0 !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none !important;
    vertical-align: middle;
}

.sst-demo-btn-cancel {
    background: #fff;
    border: 1px solid #ccc;
    color: #444;
}

.sst-demo-btn-cancel:hover {
    background: #f3f3f3;
    color: #222;
}

.sst-demo-btn-go {
    background: #c62828;
    border: 1px solid #c62828;
    color: #fff !important;
}

.sst-demo-btn-go:hover,
.sst-demo-btn-go:focus {
    background: #b71c1c;
    border-color: #b71c1c;
    color: #fff !important;
}

.sst-demo-btn-go i {
    margin-left: 4px;
}

/* Variante oscura: Escritorio */
.sst-try-float-desktop .sst-try-float-btn {
    background: linear-gradient(145deg, #1f242b 0%, #323A45 55%, #3d4654 100%);
}

.sst-try-float-desktop .sst-try-float-btn:hover,
.sst-try-float-desktop .sst-try-float-btn:focus {
    background: #1f242b;
}

/* Modal descarga DEMO Escritorio */
#sstDownloadModal.in {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 16px !important;
}

#sstDownloadModal .modal-dialog.sst-demo-dialog {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 440px !important;
}

.sst-download-top {
    background: linear-gradient(145deg, #1f242b 0%, #323A45 55%, #3d4654 100%);
}

.sst-download-tips {
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.sst-download-tips li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px 14px;
    background: #f7f7f8;
    border: 1px solid #e6e6e8;
    border-radius: 8px;
    color: #444;
    font-size: 13px;
    line-height: 1.45;
}

.sst-download-tips li:last-child {
    margin-bottom: 0;
}

.sst-download-tips i {
    flex: 0 0 18px;
    margin-top: 2px;
    color: #323A45;
    font-size: 16px;
    text-align: center;
}

.sst-download-btn-go {
    float: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    line-height: 1;
    padding: 0 18px;
    margin: 0 !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none !important;
    vertical-align: middle;
    background: #323A45;
    border: 1px solid #323A45;
    color: #fff !important;
}

.sst-download-btn-go:hover,
.sst-download-btn-go:focus {
    background: #1f242b;
    border-color: #1f242b;
    color: #fff !important;
}

.sst-download-btn-go i {
    margin-left: 6px;
}

/* Modales DEMO en pantallas chicas */
@media (max-width: 767px) {

    #sstDemoModal.in,
    #sstDownloadModal.in {
        padding: 12px !important;
    }

    #sstDemoModal .modal-dialog.sst-demo-dialog,
    #sstDownloadModal .modal-dialog.sst-demo-dialog {
        max-width: 100% !important;
    }

    .sst-demo-top,
    .sst-demo-body,
    .sst-demo-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .sst-demo-footer .btn {
        flex: 1 1 100%;
    }
}
