﻿* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

.eyebrow {
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--jmas-cyan);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 10px;
}

.hero {
    background: linear-gradient(135deg, #183160 0%, #203568 60%, #1b75a8 100%);
    color: white;
    padding: 72px 0 56px;
    position: relative;
    overflow: hidden;
}

    .hero::after {
        content: "";
        position: absolute;
        inset: auto -10% -80px auto;
        width: 420px;
        height: 420px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255,255,255,.12), rgba(255,255,255,0));
    }

    .hero h1, .hero h2, .hero h3, .hero p {
        color: white;
    }

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 28px;
    align-items: end;
}

.hero-card, .panel, .demo-card, .token-card, .code-card, .surface {
    background: white;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-card {
    padding: 24px;
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.16);
    box-shadow: none;
    backdrop-filter: blur(6px);
}

    .hero-card p:last-child {
        margin-bottom: 0;
    }

.section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-bottom: 28px;
}

    .section-head p {
        max-width: 680px;
    }

.panel {
    padding: 28px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

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

.sidebar-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
}

.token-card {
    overflow: hidden;
}

.swatch {
    height: 88px;
}

.token-body {
    padding: 14px 16px 16px;
}

    .token-body code, .meta code {
        color: var(--theme-color);
        font-weight: 700;
    }

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

    .meta span {
        background: var(--smoke-color3);
        color: var(--theme-color);
        padding: 6px 10px;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 700;
    }

.title-area {
    text-align: center;
    margin-bottom: 30px;
}

.btn-secondary {
    background: white;
    border-color: rgba(32,53,104,.18);
    color: var(--theme-color);
}

.flt-btn {
    background: var(--smoke-color3);
    color: var(--theme-color);
}

.search-btn {
    background: var(--jmas-cyan);
    color: white;
}

.button-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.form-group {
    position: relative;
    margin-bottom: 16px;
}

label {
    display: block;
    color: var(--title-color);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
}

.form-control, .form-select, textarea {
    width: 100%;
    border: 1px solid transparent;
    background: var(--smoke-color);
    color: var(--body-color);
    border-radius: 12px;
    min-height: 56px;
    padding: 14px 18px;
    font-size: 15px;
    transition: .25s ease;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

    .form-control:focus, .form-select:focus, textarea:focus {
        outline: none;
        border-color: var(--theme-color);
        box-shadow: 0 0 0 3px rgba(32,53,104,.08);
    }

.is-invalid {
    border-color: var(--error) !important;
}

.card, .demo-card {
    border: 1px solid rgba(32,53,104,.08);
    overflow: hidden;
}

.card-header {
    background: var(--theme-color);
    color: white;
    padding: 16px 20px;
    font-weight: 700;
}

.card-body {
    padding: 20px;
}

    .card-body p:last-child {
        margin-bottom: 0;
    }

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.stat {
    background: var(--smoke-color3);
    border-radius: 14px;
    padding: 14px;
}

    .stat strong {
        display: block;
        color: var(--theme-color);
        font-size: 24px;
    }

table {
    width: 100%;
    border-collapse: collapse !important;
    border: none;
    font-size: 15px;
    background: white;
}

tbody, thead {
    border-collapse: inherit !important;
}

th, td {
    border: inherit;
    border-bottom: 1px solid var(--th-border-color);
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

thead th {
    background: #f8f9fa;
    color: var(--title-color);
    font-size: 14px;
}

.text-right {
    text-align: right;
}

.alert {
    border-radius: 14px;
    padding: 16px 18px;
    border: 1px solid;
    font-size: 15px;
}

.alert-info {
    background: #eef8ff;
    border-color: #cce8fb;
    color: #185d85;
}

.alert-success {
    background: #effaf3;
    border-color: #cfe9d7;
    color: #25643a;
}

.alert-danger {
    background: #fff1f2;
    border-color: #f5c7cc;
    color: #8c2330;
}

.accordion-faq {
    display: grid;
    gap: 14px;
}

.card-faq {
    background: white;
    border: 1px solid rgba(32,53,104,.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-btn {
    width: 100%;
    border: 0;
    background: white;
    color: var(--title-color);
    padding: 18px 20px;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

.faq-plusminus {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--smoke-color3);
    color: var(--theme-color);
    display: inline-grid;
    place-items: center;
    font-size: 20px;
    flex: 0 0 auto;
}

.faq-content {
    display: none;
    padding: 0 20px 18px;
    color: var(--theme-color);
    font-weight: 600;
}

    .faq-content.is-open {
        display: block;
    }

.code-card {
    background: #0f1c39;
    color: #dbe7ff;
    padding: 18px 20px;
    overflow: auto;
}

pre {
    margin: 0;
    white-space: pre-wrap;
    font-size: 13px;
}

.demo-shell {
    background: linear-gradient(180deg, #fefefe, #f5f7fb);
    border: 1px solid rgba(32,53,104,.08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--title-color);
    font-weight: 800;
    font-size: 18px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--theme-color), var(--jmas-cyan));
    color: white;
    display: grid;
    place-items: center;
    font-weight: 800;
}

.main-content-after-header {
    padding: 24px;
}

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

.feature-item {
    border-radius: 14px;
    background: white;
    border: 1px solid rgba(32,53,104,.08);
    padding: 16px;
}

.footer-grid > div {
    min-width: 200px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--smoke-color3);
    color: var(--theme-color);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
}

.checklist {
    display: grid;
    gap: 10px;
}

    .checklist div {
        padding: 14px 16px;
        background: white;
        border-radius: 14px;
        border: 1px solid rgba(32,53,104,.08);
    }

.small {
    font-size: 14px;
}

@media (max-width: 980px) {
    .hero-grid, .sidebar-layout, .grid-2, .grid-3, .feature-grid, .stats {
        grid-template-columns: 1fr;
    }

    .shadow-title {
        font-size: 34px;
    }

    h1 {
        font-size: 34px;
    }

    h2 {
        font-size: 28px;
    }

    .section-head {
        display: block;
    }
}

.saldo-app .wrap {
    max-width: 980px;
    margin: 24px auto 40px;
    padding: 0 16px;
}

.saldo-app .receipt {
    display: block;
    width: 100%;
    height: auto;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    margin: 0 0 16px;
    border-radius: 10px;
}

.saldo-app .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: center;
    background: var(--white-color);
    border: 1px solid var(--th-border-color);
    border-radius: 12px;
    padding: 12px;
}

.saldo-app .back-btn {
    height: 56px;
    min-height: 56px;
    padding: 0 20px;
    border-radius: 12px;
    border: 1px solid var(--theme-color);
    background: transparent;
    color: var(--theme-color);
    font-weight: 600;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: 100%;
}

    .saldo-app .back-btn:hover {
        background: #dc3545;
        color: var(--white-color);
    }

.saldo-app .search-group {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.saldo-app .search-input {
    height: 56px;
    min-height: 56px;
    padding: 0 16px;
    font-size: 16px;
    background: var(--white-color);
    color: var(--title-color);
    border: 1px solid var(--th-border-color);
    border-right: 0;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    box-sizing: border-box;
    flex: 1;
    min-width: 0;
}

.saldo-app .search-btn {
    height: 56px;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid var(--theme-color);
    background: var(--theme-color);
    color: var(--white-color);
    font-weight: 600;
    line-height: 1;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    box-sizing: border-box;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
}

    .saldo-app .search-btn:hover {
        filter: brightness(.96);
    }

.saldo-app .hint {
    margin: 10px 2px 0;
    color: var(--light-color);
    font-size: 14px;
    text-align: center;
}

@media (max-width: 768px) {
    .saldo-app .wrap {
        margin: 16px auto 24px;
        padding: 0 12px;
    }

    .saldo-app .actions {
        padding: 8px;
        gap: 8px;
    }

    .saldo-app .search-input {
        font-size: 16px;
        padding: 0 12px;
    }

    .saldo-app .search-btn {
        padding: 0 16px;
    }
}

@media (max-width: 640px) {
    .saldo-app .wrap {
        padding: 0 8px;
    }

    .saldo-app .actions {
        padding: 12px;
    }

    .saldo-app .search-group {
        flex-direction: column;
        gap: 8px;
    }

    .saldo-app .search-input {
        border-right: 1px solid var(--th-border-color);
        border-radius: 12px;
        width: 100%;
    }

    .saldo-app .search-btn {
        border-radius: 12px;
        width: 100%;
    }

    .saldo-app .back-btn {
        width: 100%;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .saldo-app .wrap {
        margin: 12px auto 20px;
        padding: 0 6px;
    }

    .saldo-app .receipt {
        margin: 0 0 12px;
    }

    .saldo-app .actions {
        padding: 8px;
        border-radius: 8px;
    }

    .saldo-app .search-input, .saldo-app .search-btn {
        height: 50px;
        min-height: 50px;
        border-radius: 8px;
    }
}

@media (min-width: 641px) and (max-width: 1024px) {
    .saldo-app .wrap {
        padding: 0 20px;
    }

    .saldo-app .search-group {
        max-width: 600px;
        margin: 0 auto;
    }
}

.live-banner-section {
    background: var(--theme-color);
    padding: 30px 0 20px 0;
}

.live-badge {
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    background: #E90516;
    display: inline-block;
    padding: 10px 32px;
    border-radius: 50px;
    margin-bottom: 18px;
    letter-spacing: 2px;
    box-shadow: 0 5px 18px rgba(141,0,0,0.07);
}

.youtube-live-wrapper {
    text-align: center;
}

.video-responsive {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
}

    .video-responsive iframe {
        left: 0;
        top: 0;
        height: 100%;
        width: 100%;
        position: absolute;
    }

.btn-outline-secondary {
    color: #6c757d;
    border-color: #6c757d;
}

    .btn-outline-secondary:hover {
        color: #fff;
        background-color: #6c757d;
        border-color: #6c757d;
    }

    .btn-outline-secondary:focus, .btn-outline-secondary.focus {
        -webkit-box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
    }

    .btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
        color: #6c757d;
        background-color: transparent;
    }

    .btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active,
    .show > .btn-outline-secondary.dropdown-toggle {
        color: #fff;
        background-color: #6c757d;
        border-color: #6c757d;
    }

        .btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-secondary.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
            box-shadow: 0 0 0 0.2rem rgba(108, 117, 125, 0.5);
        }

.btn-outline-success {
    color: #28a745;
    border-color: #28a745;
}

    .btn-outline-success:hover {
        color: #fff;
        background-color: #28a745;
        border-color: #28a745;
    }

    .btn-outline-success:focus, .btn-outline-success.focus {
        -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
    }

    .btn-outline-success.disabled, .btn-outline-success:disabled {
        color: #28a745;
        background-color: transparent;
    }

    .btn-outline-success:not(:disabled):not(.disabled):active, .btn-outline-success:not(:disabled):not(.disabled).active,
    .show > .btn-outline-success.dropdown-toggle {
        color: #fff;
        background-color: #28a745;
        border-color: #28a745;
    }

        .btn-outline-success:not(:disabled):not(.disabled):active:focus, .btn-outline-success:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-success.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
            box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.5);
        }

.btn-outline-info {
    color: #17a2b8;
    border-color: #17a2b8;
}

    .btn-outline-info:hover {
        color: #fff;
        background-color: #17a2b8;
        border-color: #17a2b8;
    }

    .btn-outline-info:focus, .btn-outline-info.focus {
        -webkit-box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
    }

    .btn-outline-info.disabled, .btn-outline-info:disabled {
        color: #17a2b8;
        background-color: transparent;
    }

    .btn-outline-info:not(:disabled):not(.disabled):active, .btn-outline-info:not(:disabled):not(.disabled).active,
    .show > .btn-outline-info.dropdown-toggle {
        color: #fff;
        background-color: #17a2b8;
        border-color: #17a2b8;
    }

        .btn-outline-info:not(:disabled):not(.disabled):active:focus, .btn-outline-info:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-info.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
            box-shadow: 0 0 0 0.2rem rgba(23, 162, 184, 0.5);
        }


.btn-outline-warning {
    color: #ffc107;
    border-color: #ffc107;
}

    .btn-outline-warning:hover {
        color: #212529;
        background-color: #ffc107;
        border-color: #ffc107;
    }

    .btn-outline-warning:focus, .btn-outline-warning.focus {
        -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
    }

    .btn-outline-warning.disabled, .btn-outline-warning:disabled {
        color: #ffc107;
        background-color: transparent;
    }

    .btn-outline-warning:not(:disabled):not(.disabled):active, .btn-outline-warning:not(:disabled):not(.disabled).active,
    .show > .btn-outline-warning.dropdown-toggle {
        color: #212529;
        background-color: #ffc107;
        border-color: #ffc107;
    }

        .btn-outline-warning:not(:disabled):not(.disabled):active:focus, .btn-outline-warning:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-warning.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
            box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.5);
        }

.btn-outline-danger {
    color: #dc3545;
    border-color: #dc3545;
}

    .btn-outline-danger:hover {
        color: #fff;
        background-color: #dc3545;
        border-color: #dc3545;
    }

    .btn-outline-danger:focus, .btn-outline-danger.focus {
        -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
    }

    .btn-outline-danger.disabled, .btn-outline-danger:disabled {
        color: #dc3545;
        background-color: transparent;
    }

    .btn-outline-danger:not(:disabled):not(.disabled):active, .btn-outline-danger:not(:disabled):not(.disabled).active,
    .show > .btn-outline-danger.dropdown-toggle {
        color: #fff;
        background-color: #dc3545;
        border-color: #dc3545;
    }

        .btn-outline-danger:not(:disabled):not(.disabled):active:focus, .btn-outline-danger:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-danger.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
            box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.5);
        }

.btn-outline-light {
    color: #f8f9fa;
    border-color: #f8f9fa;
}

    .btn-outline-light:hover {
        color: #212529;
        background-color: #f8f9fa;
        border-color: #f8f9fa;
    }

    .btn-outline-light:focus, .btn-outline-light.focus {
        -webkit-box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
    }

    .btn-outline-light.disabled, .btn-outline-light:disabled {
        color: #f8f9fa;
        background-color: transparent;
    }

    .btn-outline-light:not(:disabled):not(.disabled):active, .btn-outline-light:not(:disabled):not(.disabled).active,
    .show > .btn-outline-light.dropdown-toggle {
        color: #212529;
        background-color: #f8f9fa;
        border-color: #f8f9fa;
    }

        .btn-outline-light:not(:disabled):not(.disabled):active:focus, .btn-outline-light:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-light.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
            box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
        }

.btn-outline-dark {
    color: #343a40;
    border-color: #343a40;
}

    .btn-outline-dark:hover {
        color: #fff;
        background-color: #343a40;
        border-color: #343a40;
    }

    .btn-outline-dark:focus, .btn-outline-dark.focus {
        -webkit-box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
        box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
    }

    .btn-outline-dark.disabled, .btn-outline-dark:disabled {
        color: #343a40;
        background-color: transparent;
    }

    .btn-outline-dark:not(:disabled):not(.disabled):active, .btn-outline-dark:not(:disabled):not(.disabled).active,
    .show > .btn-outline-dark.dropdown-toggle {
        color: #fff;
        background-color: #343a40;
        border-color: #343a40;
    }

        .btn-outline-dark:not(:disabled):not(.disabled):active:focus, .btn-outline-dark:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-dark.dropdown-toggle:focus {
            -webkit-box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
            box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
        }

.btn-link {
    font-weight: 400;
    color: #007bff;
    text-decoration: none;
}

    .btn-link:hover {
        color: #0056b3;
        text-decoration: underline;
    }

    .btn-link:focus, .btn-link.focus {
        text-decoration: underline;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .btn-link:disabled, .btn-link.disabled {
        color: #6c757d;
        pointer-events: none;
    }

.btn-lg, .btn-group-lg > .btn {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0.3rem;
}

.btn-sm, .btn-group-sm > .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}

.btn-block {
    display: block;
    width: 100%;
}

    .btn-block + .btn-block {
        margin-top: 0.5rem;
    }

input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
    width: 100%;
}

@media (min-width: 768px) and (max-width: 980px) {

    .footer-jmas .container {
        --margin-x: 5px;
        background: inherit;
        margin-left: var(--margin-x);
        margin-right: var(--margin-x);
        min-width: 750px;
        max-width: calc(100% - calc(var(--margin-x) * 2));
    }

    .footer-jmas .footer-grid {
        display: flex;
        align-items: center;
        justify-content: space-between;
        row-gap: 0;
    }

    .footer-jmas .footer-grid > div {
        height: 100%;
        margin-top: 0;
    }

    .footer-jmas .foot-title {
        font-size: 18px;
    }

    .footer-jmas .reportes {
        font-size: 14px;
        color: #fff;
        letter-spacing: .5px;
    }

    .footer-jmas .tel-073 {
        font-size: 52px;
    }

    .footer-jmas .foot-help {
        margin: 0;
        color: #eaf3ff;
        font-size: 12px;
    }

    .footer-jmas .foot-left-text {
        text-align: start;
    }

    .footer-jmas .foot-center {
        border-right: 1px solid #fff !important;
    }

    .footer-jmas .social {
        justify-content: start;
    }
}