
/* ==============================
   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: #ffffff;
    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: #ffffff !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: #ffffff !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;
}

.jbr-blog-post {
    padding: 8.5rem 0 5rem;
}

.jbr-blog-post__header {
    max-width: 900px;
    margin-bottom: 2rem;
}

.jbr-blog-post__title {
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.jbr-blog-post__excerpt {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: .8;
}

.jbr-blog-post__featured-image {
    margin: 2rem 0 2.5rem;
}

    .jbr-blog-post__featured-image img {
        display: block;
        width: 100%;
        max-height: 620px;
        object-fit: cover;
        border-radius: 1rem;
    }

.jbr-blog-post__content {
    max-width: 920px;
    margin: 0 auto;
    padding-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

    .jbr-blog-post__content h2,
    .jbr-blog-post__content h3 {
        margin-top: 2.5rem;
        margin-bottom: 1rem;
    }

.jbr-blog-index {
    padding: 9rem 0 5rem;
}

.jbr-blog-index__header {
    max-width: 760px;
    margin-bottom: 3rem;
}

.jbr-blog-index__eyebrow {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .75rem;
}

.jbr-blog-index__header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.jbr-blog-index__header p {
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: .8;
}

.jbr-blog-card__image-link {
    display: block;
}

.jbr-blog-card__title {
    font-size: 1.35rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

    .jbr-blog-card__title a {
        color: inherit;
        text-decoration: none;
    }

        .jbr-blog-card__title a:hover {
            color: #0a7fba;
        }

.jbr-blog-card__excerpt {
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.jbr-blog-index .list-group {
    border: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.jbr-blog-index .list-group-item {
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

.jbr-blog-index .list-group {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    gap: 1.5rem;
}

.jbr-blog-index .list-group-item {
    border: 0;
    padding: 0;
    background: transparent;
    width: 100%;
}

@media (min-width: 768px) {
    .jbr-blog-index .list-group-item {
        width: calc(50% - .75rem);
    }
}

@media (min-width: 992px) {
    .jbr-blog-index .list-group-item {
        width: calc(33.333% - 1rem);
    }
}

.jbr-blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(13, 48, 86, 0.12);
    border-radius: 1rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .jbr-blog-card:hover {
        transform: translateY(-4px);
        border-color: rgba(13, 48, 86, 0.22);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.10);
    }

.jbr-blog-card__image {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(13, 48, 86, 0.08);
}

.jbr-blog-card__body {
    padding: 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.jbr-blog-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    text-decoration: none;
}

.jbr-blog-card__meta {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .65rem;
    font-size: .85rem;
    color: rgba(13, 48, 86, .62);
}

    .jbr-blog-card__meta i {
        font-size: .9rem;
    }

.jbr-blog-post {
    padding: 8.5rem 0 5rem;
}

.jbr-blog-post__header {
    max-width: 900px;
    margin-bottom: 2rem;
}

.jbr-blog-post__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.jbr-blog-post__excerpt {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: .75rem;
    color: rgba(13, 48, 86, .78);
}

.jbr-blog-post__meta {
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .9rem;
    color: rgba(13, 48, 86, .6);
}

.jbr-blog-post__content {
    max-width: 960px;
    margin: 0 auto;
    padding-bottom: 2rem;
    font-size: 1.18rem;
    line-height: 1.8;
}

.jbr-blog-post__featured-image {
    margin: 2rem 0 2.25rem;
}

.jbr-blog-post__content p {
    margin-bottom: 1.35rem;
}


    .jbr-blog-post__featured-image img {
        width: 100%;
        max-height: 560px;
        object-fit: cover;
        display: block;
        border-radius: 1rem;
    }

.jbr-blog-post__content h2 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 2rem;
    line-height: 1.25;
}

.jbr-blog-post__content h3 {
    margin-top: 2rem;
    margin-bottom: .85rem;
    font-size: 1.5rem;
}

@media (max-width: 767.98px) {
    .jbr-blog-post__content {
        font-size: 1.05rem;
        line-height: 1.75;
    }

    .jbr-blog-post__content h2 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .jbr-blog-post__content h3 {
        font-size: 1.35rem;
    }
}

.jbr-blog-card__category {
    display: inline-block;
    margin-bottom: .75rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
    background: #eef6ff;
    color: #0b5fa5;
}

.jbr-blog-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.jbr-blog-post__category,
.jbr-blog-post__tag {
    display: inline-block;
    padding: .35rem .7rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
}

.jbr-blog-post__category {
    background: #eef6ff;
    color: #0b5fa5;
}

.jbr-blog-post__tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .75rem;
}

.jbr-blog-post__tag {
    display: inline-block;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #374151;
    font-size: .82rem;
    font-weight: 600;
}

.jbr-blog-card__category {
    width: fit-content;
}

.jbr-blog-grid.jbr-blog-grid--category {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

@media (max-width: 991.98px) {
    .jbr-blog-grid.jbr-blog-grid--category {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .jbr-blog-grid.jbr-blog-grid--category {
        grid-template-columns: 1fr;
    }
}