﻿/* ==============================
   JBR HOME - BASE
================================= */

html {
    scroll-behavior: smooth;
}

body {
    background: #ffffff;
    color: #0f172a;
}

main {
    overflow: hidden;
}

.jbr-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.9rem;
    border: 1px solid rgba(125, 211, 252, 0.35);
    border-radius: 999px;
    color: #7dd3fc;
    background: rgba(15, 23, 42, 0.65);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.jbr-eyebrow--light {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.2);
    color: #2563eb;
}


/* ==============================
   HERO
================================= */

.jbr-hero {
    position: relative;
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.28), transparent 36%), linear-gradient(135deg, #0f172a 0%, #111827 52%, #020617 100%);
    color: #ffffff;
    overflow: hidden;
    padding: 5rem 0;
}

.jbr-hero__content {
    max-width: 920px;
}

.jbr-hero__logo {
    max-width: 320px;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .jbr-hero__logo {
        display: none;
    }
}

.jbr-hero h1 {
    font-size: clamp(2.7rem, 5vw, 4.8rem);
    line-height: 1.03;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 1.5rem;
}

.jbr-hero__subtitle {
    max-width: 760px;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.7;
    color: #cbd5e1;
    margin-bottom: 1.25rem;
}

.jbr-hero__experience {
    font-size: 1.05rem;
    color: #e0f2fe;
    font-weight: 600;
    margin-bottom: 1rem;
}

.jbr-hero__statement {
    max-width: 700px;
    font-size: 1.15rem;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 2rem;
}

.jbr-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.jbr-hero__microcopy {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-top: 1rem;
}

.jbr-contact-hero {
    min-height: 58vh;
    padding: 3.5rem 0;
}

.jbr-contact-hero .jbr-hero__subtitle {
    margin-bottom: 1rem;
}

.jbr-about-hero {
    min-height: 72vh;
    background: radial-gradient(circle at bottom right, rgba(14, 165, 233, 0.22), transparent 34%), linear-gradient(135deg, #111827 0%, #0f172a 48%, #082f49 100%);
}

.jbr-about-hero .jbr-hero__content {
    max-width: 820px;
}

/* ==============================
   MÉTRICAS / COUNTERS
================================= */

.jbr-metrics {
    position: relative;
    margin-top: -3rem;
    z-index: 3;
    padding-bottom: 3.5rem;
}

.jbr-metrics__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.jbr-metric-card {
    position: relative;
    padding: 1.75rem 1.25rem;
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.12);
    text-align: center;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .jbr-metric-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 36%);
        opacity: 0;
        transition: opacity 0.25s ease;
    }

    .jbr-metric-card:hover {
        transform: translateY(-7px);
        border-color: rgba(37, 99, 235, 0.35);
        box-shadow: 0 30px 80px rgba(15, 23, 42, 0.16);
    }

        .jbr-metric-card:hover::before {
            opacity: 1;
        }

.jbr-metric-card__icon {
    position: relative;
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #ffffff;
    font-size: 1.45rem;
    margin-bottom: 1rem;
    box-shadow: 0 16px 35px rgba(37, 99, 235, 0.28);
}

.jbr-metric-card__number {
    position: relative;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.06em;
    color: #0f172a;
    margin-bottom: 0.55rem;
}

.jbr-metric-card p {
    position: relative;
    color: #64748b;
    font-size: 0.98rem;
    line-height: 1.45;
    font-weight: 700;
    margin: 0;
}


/* Responsive counters */
@media (max-width: 992px) {
    .jbr-metrics__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .jbr-metrics {
        margin-top: -2rem;
        padding-bottom: 2.5rem;
    }

    .jbr-metrics__grid {
        grid-template-columns: 1fr;
    }

    .jbr-metric-card {
        padding: 1.5rem;
    }
}

/* ==============================
   PROBLEMAS
================================= */

.jbr-problems {
    padding: 6rem 0;
    background: #f8fafc;
    color: #0f172a;
}

.jbr-section-heading {
    max-width: 860px;
    margin: 0 auto;
}

    .jbr-section-heading h2 {
        font-size: clamp(2rem, 4vw, 3.2rem);
        font-weight: 800;
        letter-spacing: -0.04em;
        color: #0f172a;
        margin-bottom: 1rem;
    }

    .jbr-section-heading p {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #475569;
        margin-bottom: 0.75rem;
    }

.jbr-section-heading__highlight {
    color: #1e293b !important;
    font-weight: 700;
}

.jbr-problem-card {
    height: 100%;
    padding: 2rem;
    border-radius: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .jbr-problem-card:hover {
        transform: translateY(-6px);
        border-color: rgba(37, 99, 235, 0.35);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
    }

.jbr-problem-card__icon {
    width: 54px;
    height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #dbeafe, #e0f2fe);
    color: #2563eb;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.jbr-problem-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0f172a;
    margin-bottom: 0.8rem;
}

.jbr-problem-card p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 0;
}

.jbr-philosophy-box {
    position: relative;
    padding: 2.5rem;
    border-radius: 1.5rem;
    background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 35%), linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    overflow: hidden;
}

    .jbr-philosophy-box h3 {
        font-size: clamp(1.5rem, 3vw, 2.2rem);
        font-weight: 800;
        letter-spacing: -0.03em;
        margin-bottom: 1rem;
    }

    .jbr-philosophy-box p {
        max-width: 900px;
        color: #cbd5e1;
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 0.75rem;
    }

        .jbr-philosophy-box p:last-child {
            margin-bottom: 0;
        }

/* ==============================
   CRECIMIENTO / ESCALERA JBR
================================= */

.jbr-growth-path {
    position: relative;
    padding: 6rem 0;
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 30%), linear-gradient(135deg, #0f172a 0%, #111827 48%, #020617 100%);
    color: #ffffff;
}

.jbr-section-heading--dark h2 {
    color: #ffffff;
}

.jbr-section-heading--dark p {
    color: #cbd5e1;
}

.jbr-section-heading__highlight-dark {
    color: #e0f2fe !important;
    font-weight: 700;
}

.jbr-growth-line {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

    .jbr-growth-line::before {
        content: "";
        position: absolute;
        top: 54px;
        left: 8%;
        right: 8%;
        height: 2px;
        background: linear-gradient(90deg, #38bdf8, #2563eb, #7c3aed);
        opacity: 0.55;
        z-index: 0;
    }

.jbr-growth-step {
    position: relative;
    z-index: 1;
    min-height: 100%;
    padding: 1.75rem;
    border-radius: 1.5rem;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

    .jbr-growth-step:hover {
        transform: translateY(-6px);
        border-color: rgba(125, 211, 252, 0.45);
        background: rgba(15, 23, 42, 0.94);
    }

.jbr-growth-step__number {
    display: inline-flex;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #7dd3fc;
}

.jbr-growth-step__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.jbr-growth-step h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.jbr-growth-step p {
    color: #cbd5e1;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.jbr-growth-step ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jbr-growth-step li {
    position: relative;
    padding-left: 1.25rem;
    color: #94a3b8;
    line-height: 1.8;
    font-size: 0.95rem;
}

    .jbr-growth-step li::before {
        content: "✓";
        position: absolute;
        left: 0;
        color: #38bdf8;
        font-weight: 800;
    }

.jbr-growth-footer {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding: 2rem;
    border-radius: 1.5rem;
    background: rgba(2, 6, 23, 0.42);
    border: 1px solid rgba(125, 211, 252, 0.18);
}

    .jbr-growth-footer p {
        color: #e2e8f0;
        font-size: 1.15rem;
        line-height: 1.8;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }


/* Responsive sección crecimiento */
@media (max-width: 992px) {
    .jbr-growth-line {
        grid-template-columns: repeat(2, 1fr);
    }

        .jbr-growth-line::before {
            display: none;
        }
}

/* ==============================
   PAQUETES INICIALES
================================= */

.jbr-packages {
    padding: 6rem 0;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 32%), #ffffff;
    color: #0f172a;
}

.jbr-package-card {
    position: relative;
    height: 100%;
    padding: 2rem;
    border-radius: 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .jbr-package-card:hover {
        transform: translateY(-6px);
        border-color: rgba(37, 99, 235, 0.35);
        box-shadow: 0 26px 65px rgba(15, 23, 42, 0.13);
    }

.jbr-package-card--featured {
    border: 2px solid rgba(37, 99, 235, 0.55);
    box-shadow: 0 28px 75px rgba(37, 99, 235, 0.18);
    transform: translateY(-10px);
}

    .jbr-package-card--featured:hover {
        transform: translateY(-16px);
    }

.jbr-package-card__badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.35);
    white-space: nowrap;
}

.jbr-package-card__tag {
    display: inline-flex;
    width: fit-content;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.jbr-case-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-bottom: 1.6rem;
}

.jbr-case-card .jbr-package-card__header {
    margin-bottom: 0.75rem;
}

.jbr-case-card .jbr-package-card__header p {
    margin-bottom: 0.75rem;
}

.jbr-case-card__image {
    width: 100%;
    overflow: hidden;
    border-radius: 0.9rem;
}

.jbr-case-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jbr-case-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.9rem;
}

.jbr-case-card__tags span {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #e8f3ff;
    border: 1px solid #b9dcff;
    color: #0b63ce;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
}

.jbr-package-card__header h3 {
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.jbr-package-card__header p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.jbr-package-card__message {
    padding: 1rem;
    border-radius: 1rem;
    background: #f1f5f9;
    color: #1e293b;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.jbr-package-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex: 1;
}

    .jbr-package-card__features li {
        position: relative;
        padding-left: 1.45rem;
        color: #475569;
        line-height: 1.8;
        font-size: 0.98rem;
    }

        .jbr-package-card__features li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #2563eb;
            font-weight: 900;
        }

.jbr-package-card__price {
    padding-top: 1.25rem;
    margin-bottom: 1.5rem;
    border-top: 1px solid rgba(148, 163, 184, 0.25);
}

    .jbr-package-card__price span {
        display: block;
        color: #64748b;
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }

    .jbr-package-card__price del {
        display: block;
        color: #94a3b8;
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .jbr-package-card__price strong {
        display: block;
        font-size: 2rem;
        line-height: 1.1;
        color: #0f172a;
        font-weight: 900;
        letter-spacing: -0.04em;
        margin-bottom: 0.35rem;
    }

    .jbr-package-card__price small {
        display: block;
        color: #64748b;
        line-height: 1.5;
    }

.jbr-package-card__price--custom strong {
    font-size: 1.55rem;
}

.jbr-trust-box {
    padding: 2.5rem;
    border-radius: 1.75rem;
    background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.16), transparent 30%), linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.2);
}

.jbr-trust-box__label {
    display: inline-flex;
    width: fit-content;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.12);
    color: #7dd3fc;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.jbr-trust-box h3 {
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 0;
}

.jbr-trust-box p {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

    .jbr-trust-box p:last-child {
        margin-bottom: 0;
    }

.jbr-trust-box strong {
    color: #ffffff;
}


/* Responsive paquetes */
@media (max-width: 992px) {
    .jbr-package-card--featured {
        transform: none;
    }

        .jbr-package-card--featured:hover {
            transform: translateY(-6px);
        }
}

@media (max-width: 768px) {
    .jbr-packages {
        padding: 4.5rem 0;
    }

    .jbr-package-card {
        padding: 1.5rem;
    }

    .jbr-package-card__badge {
        position: static;
        transform: none;
        display: inline-flex;
        width: fit-content;
        margin-bottom: 1rem;
    }

    .jbr-trust-box {
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    .jbr-growth-path {
        padding: 4.5rem 0;
    }

    .jbr-growth-line {
        grid-template-columns: 1fr;
    }

    .jbr-growth-step {
        padding: 1.5rem;
    }

    .jbr-growth-footer {
        padding: 1.5rem;
    }

        .jbr-growth-footer .btn {
            width: 100%;
        }
}

/* ==============================
   DIAGNÓSTICO TECNOLÓGICO
================================= */

.jbr-diagnostic {
    position: relative;
    padding: 6rem 0;
    background: radial-gradient(circle at bottom right, rgba(37, 99, 235, 0.18), transparent 32%), linear-gradient(135deg, #0f172a 0%, #111827 48%, #020617 100%);
    color: #ffffff;
}

    .jbr-diagnostic h2 {
        font-size: clamp(2rem, 4vw, 3.3rem);
        font-weight: 900;
        line-height: 1.08;
        letter-spacing: -0.045em;
        margin-bottom: 1.5rem;
    }

    .jbr-diagnostic p {
        color: #cbd5e1;
        font-size: 1.08rem;
        line-height: 1.8;
        margin-bottom: 1.2rem;
    }

.jbr-diagnostic__highlight {
    color: #e0f2fe !important;
    font-weight: 800;
}

.jbr-diagnostic-card {
    padding: 2.25rem;
    border-radius: 1.75rem;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(125, 211, 252, 0.22);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(14px);
}

    .jbr-diagnostic-card h3 {
        font-size: 1.6rem;
        font-weight: 900;
        letter-spacing: -0.03em;
        margin-bottom: 1.5rem;
        color: #ffffff;
    }

    .jbr-diagnostic-card ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .jbr-diagnostic-card li {
        display: flex;
        gap: 0.85rem;
        align-items: flex-start;
        color: #cbd5e1;
        line-height: 1.65;
        padding: 0.9rem 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.16);
    }

        .jbr-diagnostic-card li:last-child {
            border-bottom: none;
        }

        .jbr-diagnostic-card li i {
            color: #38bdf8;
            font-size: 1.1rem;
            margin-top: 0.15rem;
        }

.jbr-diagnostic-card__footer {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: 1rem;
    background: rgba(14, 165, 233, 0.12);
    color: #e0f2fe;
    line-height: 1.7;
    font-weight: 700;
}


/* Responsive diagnóstico */
@media (max-width: 768px) {
    .jbr-diagnostic {
        padding: 4.5rem 0;
    }

        .jbr-diagnostic .btn {
            width: 100%;
        }

    .jbr-diagnostic-card {
        padding: 1.5rem;
    }
}

/* ==============================
   PROYECTOS Y CASOS
================================= */

.jbr-projects {
    padding: 6rem 0;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 35%), #f8fafc;
    color: #0f172a;
}

.jbr-project-category__header {
    max-width: 760px;
    margin-bottom: 2rem;
}

    .jbr-project-category__header span {
        display: inline-flex;
        padding: 0.35rem 0.75rem;
        border-radius: 999px;
        background: rgba(37, 99, 235, 0.08);
        color: #2563eb;
        font-size: 0.8rem;
        font-weight: 800;
        margin-bottom: 0.75rem;
    }

    .jbr-project-category__header h3 {
        font-size: clamp(1.7rem, 3vw, 2.4rem);
        font-weight: 900;
        letter-spacing: -0.04em;
        color: #0f172a;
        margin-bottom: 0.75rem;
    }

    .jbr-project-category__header p {
        color: #64748b;
        line-height: 1.8;
        font-size: 1.05rem;
    }

.jbr-project-card {
    height: 100%;
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    border-radius: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .jbr-project-card:hover {
        transform: translateY(-6px);
        border-color: rgba(37, 99, 235, 0.35);
        box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
    }

.jbr-project-card__icon {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #dbeafe, #e0f2fe);
    color: #2563eb;
    font-size: 1.5rem;
}

.jbr-project-card__content h4 {
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.jbr-project-card__content p {
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.jbr-project-card__tags,
.jbr-featured-case__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

    .jbr-project-card__tags span,
    .jbr-featured-case__features span {
        display: inline-flex;
        padding: 0.35rem 0.65rem;
        border-radius: 999px;
        background: #eef2ff;
        color: #1e40af;
        font-size: 0.8rem;
        font-weight: 700;
    }

/* Caso destacado */

.jbr-featured-case {
    padding: 2.75rem;
    border-radius: 2rem;
    background: radial-gradient(circle at top left, rgba(14, 165, 233, 0.2), transparent 35%), linear-gradient(135deg, #0f172a, #1e293b);
    color: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
}

.jbr-featured-case__label {
    display: inline-flex;
    width: fit-content;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(125, 211, 252, 0.12);
    color: #7dd3fc;
    font-size: 0.85rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.jbr-featured-case h3 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
}

.jbr-featured-case p {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.05rem;
}

.jbr-featured-case__path {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    margin-top: 1.5rem;
}

    .jbr-featured-case__path span {
        display: inline-flex;
        padding: 0.45rem 0.75rem;
        border-radius: 999px;
        background: rgba(37, 99, 235, 0.25);
        color: #e0f2fe;
        font-size: 0.85rem;
        font-weight: 800;
    }

    .jbr-featured-case__path i {
        color: #7dd3fc;
    }

.jbr-featured-case__story {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: rgba(2, 6, 23, 0.3);
    border: 1px solid rgba(148, 163, 184, 0.16);
    margin-bottom: 1.25rem;
}

    .jbr-featured-case__story p:last-child {
        margin-bottom: 0;
    }

.jbr-featured-case__features span {
    background: rgba(125, 211, 252, 0.12);
    color: #e0f2fe;
}

.jbr-featured-case--compact {
    padding: 2rem;
}

.jbr-featured-case--compact h2 {
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 0;
}

.jbr-projects-footer {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

    .jbr-projects-footer p {
        color: #475569;
        line-height: 1.8;
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 1.5rem;
    }


/* Responsive proyectos */
@media (max-width: 768px) {
    .jbr-projects {
        padding: 4.5rem 0;
    }

    .jbr-project-card {
        flex-direction: column;
        padding: 1.5rem;
    }

    .jbr-featured-case {
        padding: 1.75rem;
    }

    .jbr-featured-case__path {
        flex-direction: column;
        align-items: flex-start;
    }

        .jbr-featured-case__path i {
            transform: rotate(90deg);
        }

    .jbr-projects-footer .btn {
        width: 100%;
    }
}

/* ==============================
   PREGUNTAS FRECUENTES
================================= */

.jbr-faq {
    padding: 6rem 0;
    background: radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.16), transparent 32%), linear-gradient(135deg, #0f172a 0%, #111827 48%, #020617 100%);
    color: #ffffff;
}

.jbr-faq-wrapper {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.jbr-faq .accordion {
    display: grid;
    gap: 1rem;
}

.jbr-faq .accordion-item {
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1.25rem;
    background: rgba(15, 23, 42, 0.78);
    color: #ffffff;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.18);
}

.jbr-faq .accordion-button {
    background: rgba(15, 23, 42, 0.92);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.05rem;
    padding: 1.25rem 1.5rem;
    box-shadow: none;
}

    .jbr-faq .accordion-button:not(.collapsed) {
        background: rgba(37, 99, 235, 0.22);
        color: #e0f2fe;
        box-shadow: none;
    }

    .jbr-faq .accordion-button:focus {
        box-shadow: none;
        border-color: transparent;
    }

    .jbr-faq .accordion-button::after {
        filter: invert(1);
    }

.jbr-faq .accordion-body {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.02rem;
    padding: 1.25rem 1.5rem 1.5rem;
    background: rgba(2, 6, 23, 0.22);
}

.jbr-faq-footer {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding: 2.25rem;
    border-radius: 1.75rem;
    background: rgba(2, 6, 23, 0.38);
    border: 1px solid rgba(125, 211, 252, 0.16);
}

    .jbr-faq-footer h3 {
        font-size: clamp(1.6rem, 3vw, 2.4rem);
        font-weight: 900;
        letter-spacing: -0.04em;
        margin-bottom: 0.75rem;
    }

    .jbr-faq-footer p {
        color: #cbd5e1;
        line-height: 1.8;
        font-size: 1.08rem;
        margin-bottom: 1.5rem;
    }


/* Responsive FAQ */
@media (max-width: 768px) {
    .jbr-faq {
        padding: 4.5rem 0;
    }

        .jbr-faq .accordion-button {
            font-size: 1rem;
            padding: 1rem 1.15rem;
        }

        .jbr-faq .accordion-body {
            padding: 1rem 1.15rem 1.25rem;
        }

    .jbr-faq-footer {
        padding: 1.5rem;
    }

        .jbr-faq-footer .btn {
            width: 100%;
        }
}

/* ==============================
   CONTACTO / DIAGNÓSTICO
================================= */

.jbr-contact {
    padding: 6rem 0;
    background: radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 32%), #ffffff;
    color: #0f172a;
}

    .jbr-contact h2 {
        font-size: clamp(2rem, 4vw, 3.3rem);
        font-weight: 900;
        line-height: 1.08;
        letter-spacing: -0.045em;
        margin-bottom: 1.5rem;
        color: #0f172a;
    }

    .jbr-contact p {
        color: #475569;
        font-size: 1.08rem;
        line-height: 1.8;
    }

.jbr-contact-info {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.jbr-contact-info__item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: 1.25rem;
    background: #f8fafc;
    border: 1px solid rgba(148, 163, 184, 0.22);
}

    .jbr-contact-info__item i {
        width: 46px;
        height: 46px;
        flex: 0 0 46px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 1rem;
        background: linear-gradient(135deg, #dbeafe, #e0f2fe);
        color: #2563eb;
        font-size: 1.3rem;
    }

    .jbr-contact-info__item strong {
        display: block;
        color: #0f172a;
        font-weight: 900;
        margin-bottom: 0.25rem;
    }

    .jbr-contact-info__item span {
        display: block;
        color: #64748b;
        line-height: 1.6;
    }

.jbr-contact-card {
    padding: 2rem;
    border-radius: 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

    .jbr-contact-card .form-label {
        color: #1e293b;
        font-weight: 800;
        margin-bottom: 0.45rem;
    }

    .jbr-contact-card .form-control,
    .jbr-contact-card .form-select {
        min-height: 52px;
        border-radius: 0.9rem;
        border: 1px solid rgba(148, 163, 184, 0.45);
        color: #0f172a;
        background: #ffffff;
        padding: 0.75rem 1rem;
        box-shadow: none;
    }

    .jbr-contact-card textarea.form-control {
        min-height: 140px;
        resize: vertical;
    }

    .jbr-contact-card .form-control:focus,
    .jbr-contact-card .form-select:focus {
        border-color: rgba(37, 99, 235, 0.75);
        box-shadow: 0 0 0 0.25rem rgba(37, 99, 235, 0.12);
    }

.jbr-contact-card__trust {
    margin: 0;
    padding: 1rem;
    border-radius: 1rem;
    background: #eff6ff;
    color: #1e40af !important;
    font-size: 0.98rem !important;
    line-height: 1.6 !important;
    font-weight: 700;
    text-align: center;
}

.jbr-contact-next {
    padding: 1.75rem;
}

.jbr-contact-next ol {
    margin: 0 0 1.25rem;
    padding-left: 1.25rem;
}

.jbr-contact-next li {
    color: #e2e8f0;
    line-height: 1.65;
    padding: 0.35rem 0;
    font-weight: 700;
}


/* Responsive contacto */
@media (max-width: 768px) {
    .jbr-contact {
        padding: 4.5rem 0;
    }

    .jbr-contact-card {
        padding: 1.5rem;
    }
}

/* ==============================
   ANIMACIONES SUAVES
================================= */

.jbr-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    will-change: opacity, transform;
}

    .jbr-reveal.jbr-reveal--visible {
        opacity: 1;
        transform: translateY(0);
    }

/* Variante desde la izquierda */
.jbr-reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    will-change: opacity, transform;
}

    .jbr-reveal-left.jbr-reveal--visible {
        opacity: 1;
        transform: translateX(0);
    }

/* Variante desde la derecha */
.jbr-reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    will-change: opacity, transform;
}

    .jbr-reveal-right.jbr-reveal--visible {
        opacity: 1;
        transform: translateX(0);
    }

/* Accesibilidad: si el usuario prefiere menos movimiento */
@media (prefers-reduced-motion: reduce) {
    .jbr-reveal,
    .jbr-reveal-left,
    .jbr-reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==============================
   RESPONSIVE
================================= */

@media (max-width: 768px) {
    .jbr-hero {
        min-height: auto;
        padding: 5rem 0;
    }

    .jbr-contact-hero {
        padding: 3.25rem 0;
    }

        .jbr-hero h1 {
            font-size: clamp(2.4rem, 12vw, 3.5rem);
        }

    .jbr-hero__actions .btn {
        width: 100%;
    }

    .jbr-problems {
        padding: 4.5rem 0;
    }

    .jbr-problem-card {
        padding: 1.5rem;
    }

    .jbr-philosophy-box {
        padding: 1.75rem;
    }
}


/* ==============================
   EQUIPO JBR
================================= */

.jbr-team {
    padding: 6rem 0;
    background: #ffffff;
    color: #0f172a;
}

.jbr-team-card {
    height: 100%;
    padding: 2rem 1.5rem;
    border-radius: 1.75rem;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

    .jbr-team-card:hover {
        transform: translateY(-6px);
        border-color: rgba(37, 99, 235, 0.32);
        box-shadow: 0 26px 65px rgba(15, 23, 42, 0.12);
    }

.jbr-team-card__photo {
    width: 138px;
    height: 158px;
    border-radius: 1.35rem;
    overflow: hidden;
    background: #dbeafe;
    border: 4px solid rgba(84, 172, 222, 0.45);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    margin-bottom: 1.25rem;
}

    .jbr-team-card__photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

/* Ajustes individuales opcionales */
.jbr-team-card__photo--top img {
    object-position: center top;
}

.jbr-team-card__content {
    max-width: 360px;
}

    .jbr-team-card__content h3 {
        font-size: 1.45rem;
        font-weight: 900;
        line-height: 1.2;
        letter-spacing: -0.03em;
        color: #0f172a;
        margin-bottom: 0.35rem;
    }

    .jbr-team-card__content span {
        display: block;
        color: #2563eb;
        font-size: 0.95rem;
        font-weight: 800;
        margin-bottom: 0.85rem;
    }

    .jbr-team-card__content p {
        color: #475569;
        line-height: 1.7;
        margin: 0;
    }

.jbr-team-note {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    text-align: center;
}

    .jbr-team-note p {
        margin: 0;
        color: #1e40af;
        font-weight: 800;
        line-height: 1.7;
    }

@media (max-width: 768px) {
    .jbr-team {
        padding: 4.5rem 0;
    }

    .jbr-team-card {
        padding: 1.75rem 1.25rem;
    }

    .jbr-team-card__photo {
        width: 132px;
        height: 152px;
    }
}

.jbr-growth-step__cta {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
}

    .jbr-growth-step__cta span {
        color: #e0f2fe;
        font-weight: 900;
        font-size: 0.95rem;
    }

    .jbr-growth-step__cta a {
        color: #7dd3fc;
        text-decoration: none;
        font-weight: 900;
        font-size: 0.9rem;
    }

        .jbr-growth-step__cta a:hover {
            color: #ffffff;
        }

.jbr-project-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.jbr-project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: auto;
    color: #2563eb;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

    .jbr-project-card__link:hover {
        color: #0f172a;
    }

    .jbr-project-card__link i {
        font-size: 0.95rem;
    }

@media (max-width: 768px) {
    .jbr-project-card__footer {
        align-items: flex-start;
    }

    .jbr-project-card__link {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
}
