:root {
    --bm-blue: #1565d8;
    --bm-blue-dark: #0f2f5f;
    --bm-light: #f4f9ff;
    --bm-text: #14213d;
    --bm-muted: #5b6b82;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--bm-text);
    background: #ffffff;
}

/* NAVBAR */

.navbar {
    min-height: 76px;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--bm-blue) !important;
    letter-spacing: 0.5px;
}

.nav-link {
    font-weight: 500;
    margin: 0 10px;
}

/* BOTONES PÚBLICOS */

.btn-primary {
    border-radius: 30px;
    padding-left: 25px;
    padding-right: 25px;
}

.btn-outline-secondary {
    border-radius: 30px;
    padding-left: 25px;
    padding-right: 25px;
}

/* LANDING / HOME */

.bm-hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f2f8ff 48%, #e7f2ff 100%);
    overflow: hidden;
}

.hero-bitmedical {
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f4fbff 0%, #ffffff 50%, #eef7ff 100%);
}

.bm-title {
    font-size: 3.3rem;
    line-height: 1.1;
    font-weight: 800;
    color: var(--bm-blue-dark);
}

    .bm-title span {
        color: var(--bm-blue);
    }

.bm-subtitle {
    font-size: 1.25rem;
    color: var(--bm-muted);
    max-width: 620px;
}

.bm-btn-primary {
    background: var(--bm-blue);
    color: #fff;
    border-radius: 14px;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

.bm-btn-outline {
    border: 1px solid var(--bm-blue);
    color: var(--bm-blue);
    border-radius: 14px;
    padding: 14px 28px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
}

/* PREVIEW / CARDS HOME */

.bm-card-preview {
    background: white;
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 25px 60px rgba(15, 47, 95, 0.18);
}

.bm-screen {
    border-radius: 18px;
    border: 1px solid #dce9f8;
    background: #ffffff;
    overflow: hidden;
}

.bm-screen-header {
    background: var(--bm-blue);
    color: white;
    padding: 14px 18px;
    font-weight: 700;
}

.bm-screen-body {
    padding: 18px;
}

.bm-stat {
    background: var(--bm-light);
    border-radius: 16px;
    padding: 16px;
    text-align: center;
}

.bm-feature {
    background: #ffffff;
    border: 1px solid #e7eef8;
    border-radius: 22px;
    padding: 28px;
    height: 100%;
    box-shadow: 0 10px 28px rgba(15, 47, 95, 0.06);
}

.bm-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #e8f2ff;
    color: var(--bm-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}

.bm-section {
    padding: 80px 0;
}

.bm-dark {
    background: var(--bm-blue-dark);
    color: white;
    padding: 45px 0;
}

    .bm-dark p {
        color: #c9d7ea;
    }

/* PÁGINAS PÚBLICAS */

.bm-page-header {
    background: linear-gradient(135deg, #0f2f5f 0%, #1565d8 100%);
    color: white;
    padding: 75px 0;
}

    .bm-page-header h1 {
        font-weight: 800;
        font-size: 2.8rem;
    }

    .bm-page-header p {
        max-width: 720px;
        color: #dbeafe;
        font-size: 1.15rem;
        margin-top: 12px;
    }

/* PRODUCTOS */

.bm-product-card {
    background: #ffffff;
    border: 1px solid #e4edf8;
    border-radius: 24px;
    padding: 34px;
    height: 100%;
    box-shadow: 0 14px 35px rgba(15, 47, 95, 0.08);
    transition: all 0.2s ease;
}

    .bm-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 22px 50px rgba(15, 47, 95, 0.13);
    }

.bm-product-icon {
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: #e8f2ff;
    color: #1565d8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin-bottom: 20px;
}

.bm-product-card h3 {
    color: #0f2f5f;
    font-weight: 800;
    margin-bottom: 14px;
}

.bm-product-card p {
    color: #5b6b82;
}

.bm-product-card ul {
    margin-top: 18px;
    padding-left: 20px;
}

.bm-product-card li {
    margin-bottom: 8px;
    color: #26364f;
}

/* LOGIN */

.bm-login-section {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f4f9ff 0%, #ffffff 55%, #e7f2ff 100%);
    padding: 70px 0;
}

.bm-login-card {
    background: #ffffff;
    border-radius: 26px;
    padding: 38px;
    box-shadow: 0 24px 60px rgba(15, 47, 95, 0.16);
    border: 1px solid #e4edf8;
}

    .bm-login-card h2 {
        color: #0f2f5f;
        font-weight: 800;
    }

    .bm-login-card .form-control {
        height: 48px;
        border-radius: 12px;
    }

    .bm-login-card .btn-primary {
        height: 48px;
        border-radius: 12px;
        font-weight: 700;
    }

/* PLATAFORMA CLÁSICA / CARDS PÚBLICAS */

.bm-classic-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 12px 30px rgba(15,23,42,.05);
    transition: .25s;
}

    .bm-classic-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 18px 40px rgba(15,23,42,.08);
    }

.bm-classic-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg,#f8fafc,#e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.bm-classic-card h5 {
    font-weight: 600;
}

.bm-classic-card .btn {
    border-radius: 10px;
}

/* FOOTER */

.bm-footer {
    padding: 24px 0;
    background: #0f172a;
    color: #cbd5e1;
    text-align: center;
}
