
/* ==============================
   NAVBAR
================================= */

.jbr-navbar {
    background: rgba(2, 6, 23, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    padding: 0.85rem 0;
}

.jbr-navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: #ffffff !important;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.jbr-navbar__logo {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.35);
}

.jbr-navbar__brand span {
    color: #54ACDE;
    font-weight: 900;
}

.jbr-navbar .nav-link {
    color: #54ACDE;
    font-weight: 800;
    font-size: 0.95rem;
    border-radius: 999px;
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    transition: color 0.2s ease, text-shadow 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

    .jbr-navbar .nav-link:hover,
    .jbr-navbar .nav-link:focus {
        color: #7DD3FC;
        text-shadow: 0 0 18px rgba(84, 172, 222, 0.45);
    }
    .jbr-navbar .nav-link.active,
    .jbr-navbar .nav-link.jbr-nav__link--active {
        color: #48bfff !important;
        background: rgba(72, 191, 255, 0.12);
        box-shadow: inset 0 0 0 1px rgba(72, 191, 255, 0.18);
        font-weight: 900;
    }

.jbr-navbar__cta {
    font-weight: 800;
    border-radius: 999px;
    padding: 0.55rem 1rem;
}

.jbr-navbar__toggler {
    width: 48px;
    height: 42px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
}

    .jbr-navbar__toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25) !important;
    }

.jbr-navbar__hamburger,
.jbr-navbar__hamburger::before,
.jbr-navbar__hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: #54ACDE;
    border-radius: 999px;
    position: relative;
    transition: all 0.2s ease;
}

    .jbr-navbar__hamburger::before,
    .jbr-navbar__hamburger::after {
        content: "";
        position: absolute;
        left: 0;
    }

    .jbr-navbar__hamburger::before {
        top: -7px;
    }

    .jbr-navbar__hamburger::after {
        top: 7px;
    }


/* Para que el navbar fixed no tape el inicio */
body {
    padding-top: 74px;
}


/* ==============================
   FOOTER
================================= */

.jbr-footer {
    padding: 4.5rem 0 2rem;
    background: #020617;
    color: #cbd5e1;
}

.jbr-footer__brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

    .jbr-footer__brand strong {
        font-size: 1.25rem;
        font-weight: 900;
    }

.jbr-footer__logo {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    color: #ffffff;
    font-weight: 900;
}

.jbr-footer p {
    max-width: 520px;
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 0;
}

.jbr-footer h5 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.jbr-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jbr-footer li {
    color: #94a3b8;
    line-height: 1.9;
}

.jbr-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .jbr-footer a:hover {
        color: #7dd3fc;
    }

.jbr-footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
    color: #64748b;
    font-size: 0.9rem;
}


/* Responsive navbar/footer */
@media (max-width: 992px) {
    .jbr-navbar .navbar-collapse {
        padding-top: 1rem;
    }

    .jbr-navbar .navbar-nav {
        align-items: flex-start !important;
    }

    .jbr-navbar__cta {
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .jbr-footer {
        padding: 3.5rem 0 1.5rem;
    }

    .jbr-footer__bottom {
        flex-direction: column;
    }
}

section {
    scroll-margin-top: 90px;
}

.jbr-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.jbr-footer__logo {
    height: 48px;
    width: auto;
}

.jbr-footer__brand strong {
    color: #fff;
    font-size: 1.1rem;
}

.jbr-footer__brand .small {
    font-size: 0.85rem;
}

/* ==============================
   BOTÓN WHATSAPP FLOTANTE
================================= */

.jbr-whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    font-size: 2rem;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 18px 45px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .jbr-whatsapp-float:hover {
        color: #ffffff;
        transform: translateY(-4px) scale(1.04);
        box-shadow: 0 24px 60px rgba(37, 211, 102, 0.45);
    }

@media (max-width: 768px) {
    .jbr-whatsapp-float {
        right: 18px;
        bottom: 18px;
        width: 56px;
        height: 56px;
        font-size: 1.7rem;
    }
}

.jbr-navbar__cta {
    font-weight: 900;
    border-radius: 999px;
    padding: 0.65rem 1.25rem;
    color: #ffffff !important;
    border: 1px solid rgba(84, 172, 222, 0.45);
    background: linear-gradient(135deg, #54ACDE 0%, #0D6EFD 100%);
    box-shadow: 0 12px 28px rgba(13, 110, 253, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

    .jbr-navbar__cta:hover,
    .jbr-navbar__cta:focus {
        color: #ffffff !important;
        transform: translateY(-2px);
        filter: brightness(1.08);
        box-shadow: 0 18px 38px rgba(84, 172, 222, 0.38);
    }

.jbr-navbar .btn-primary.jbr-navbar__cta {
    background: linear-gradient(135deg, #54ACDE 0%, #0D6EFD 100%);
    border-color: rgba(84, 172, 222, 0.45);
}

.jbr-navbar .navbar-brand .jbr-navbar__brand-text {
    color: #54ACDE !important;
    font-weight: 900;
}

.jbr-navbar .jbr-navbar__brand-img {
    width: auto !important;
    height: 42px !important;
    max-height: 42px !important;
    max-width: 70px !important;
    object-fit: contain;
    display: block;
}

.jbr-navbar .jbr-navbar__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
}

.jbr-navbar .jbr-navbar__brand-text {
    color: #54ACDE !important;
    font-weight: 900;
    font-size: 1.05rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .jbr-navbar .jbr-navbar__brand-img {
        height: 36px !important;
        max-height: 36px !important;
        max-width: 58px !important;
    }

    .jbr-navbar .jbr-navbar__brand-text {
        font-size: 1rem;
    }
}

.jbr-diagnostic-card__footer {
    margin-top: 1.5rem;
    overflow: hidden;
    border-radius: 22px;
}

.jbr-diagnostic-card__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    border-radius: 22px;
}

.jbr-image-frame--diagnostic {
    aspect-ratio: 4 / 3;
}

.jbr-image-frame__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}