/* ==========================================================================
   BadgeBox — modern emotional hero (scoped under #bb-hero)
   Additive, self-contained. Reverts by restoring the old hero include.
   ========================================================================== */

#bb-hero {
    --h-blue: var(--bb-blue, #0098ea);
    --h-blue-dark: var(--bb-blue-hover, #008bd7);
    --h-blue-light: var(--bb-blue-light, #57c5ff);
    --h-ink: var(--dark-blue, #0d2a5a);
    --h-grey: var(--grey, #5b6b86);
    --h-orange: var(--orange, #ff8935);
    --h-green: var(--green, #00c2b6);

    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 132px 0 84px;
    background:
        radial-gradient(1200px 600px at 78% -8%, #eaf7ff 0%, rgba(234, 247, 255, 0) 60%),
        radial-gradient(900px 520px at 6% 8%, #f3fbff 0%, rgba(243, 251, 255, 0) 55%),
        linear-gradient(180deg, #f7fcff 0%, #ffffff 62%);
    font-family: "PlusJakartaSans-Regular", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Aurora blobs ----------------------------------------------------------- */
#bb-hero .bb-hero__aurora {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}
#bb-hero .bb-hero__aurora::before,
#bb-hero .bb-hero__aurora::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.55;
}
#bb-hero .bb-hero__aurora::before {
    width: 520px; height: 520px;
    top: -160px; right: -120px;
    background: radial-gradient(circle at 30% 30%, var(--h-blue-light), rgba(0, 152, 234, 0.15));
}
#bb-hero .bb-hero__aurora::after {
    width: 420px; height: 420px;
    bottom: -180px; left: -120px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 137, 53, 0.30), rgba(0, 194, 182, 0.10));
}

/* Layout ----------------------------------------------------------------- */
#bb-hero .bb-hero__inner {
    display: flex;
    align-items: center;
    gap: 56px;
}
#bb-hero .bb-hero__copy {
    flex: 1 1 52%;
    max-width: 620px;
}
#bb-hero .bb-hero__media {
    flex: 1 1 48%;
    min-width: 0;
}

/* Badge ------------------------------------------------------------------ */
#bb-hero .bb-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 15px;
    border-radius: 999px;
    background: rgba(0, 152, 234, 0.10);
    border: 1px solid rgba(0, 152, 234, 0.22);
    color: var(--h-blue-dark);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    line-height: 1;
    text-transform: uppercase;
}
#bb-hero .bb-hero__badge::before {
    content: "";
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--h-green);
    box-shadow: 0 0 0 4px rgba(0, 194, 182, 0.18);
}

/* Headline --------------------------------------------------------------- */
#bb-hero .bb-hero__title {
    margin: 20px 0 0;
    font-family: "PlusJakartaSans-Bold", "PlusJakartaSans-Regular", sans-serif;
    font-weight: 700;
    color: var(--h-ink);
    font-size: clamp(1.65rem, 1.1rem + 3vw, 3.4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: none;
    overflow-wrap: break-word;
}
#bb-hero .bb-hero__subtitle {
    margin: 18px 0 0;
    font-size: clamp(1.02rem, 0.95rem + 0.4vw, 1.22rem);
    line-height: 1.5;
    color: var(--h-grey);
    font-weight: 400;
    text-transform: none;
}

/* CTA -------------------------------------------------------------------- */
#bb-hero .bb-hero__cta {
    display: flex;
    gap: 10px;
    margin-top: 30px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e4edf5;
    border-radius: 16px;
    box-shadow: 0 18px 50px -22px rgba(13, 42, 90, 0.35);
    max-width: 520px;
}
#bb-hero .bb-hero__field {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}
#bb-hero .bb-hero__field svg { flex: none; color: var(--h-grey); }
#bb-hero .bb-hero__cta input[type="email"],
#bb-hero .bb-hero__cta input[type="text"] {
    width: 100%;
    height: 52px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 16px;
    color: var(--h-ink);
}
#bb-hero .bb-hero__cta input::placeholder { color: #9fb0c6; }
#bb-hero .bb-hero__submit {
    flex: none;
    height: 52px;
    padding: 0 26px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--h-blue) 0%, var(--h-blue-dark) 100%);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    box-shadow: 0 10px 24px -10px rgba(0, 152, 234, 0.7);
}
#bb-hero .bb-hero__submit:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
    box-shadow: 0 16px 30px -10px rgba(0, 152, 234, 0.75);
}
#bb-hero .bb-hero__submit:active { transform: translateY(0); }

#bb-hero .bb-hero__reassure {
    margin: 14px 2px 0;
    font-size: 14px;
    color: var(--h-grey);
    display: flex;
    align-items: center;
    gap: 8px;
}
#bb-hero .bb-hero__reassure svg { color: var(--h-green); flex: none; }

/* Feature chips ---------------------------------------------------------- */
#bb-hero .bb-hero__chips {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
#bb-hero .bb-hero__chips li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 13px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e6eef6;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--h-ink);
    text-transform: none;
    box-shadow: 0 6px 16px -12px rgba(13, 42, 90, 0.4);
}
#bb-hero .bb-hero__chips svg { color: var(--h-blue); flex: none; }

/* Adecco trust ----------------------------------------------------------- */
#bb-hero .bb-hero__adecco {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
}
#bb-hero .bb-hero__adecco span { color: var(--h-grey); font-size: 14px; }
#bb-hero .bb-hero__adecco img { height: 30px; width: auto; display: block; }

/* Media ------------------------------------------------------------------ */
#bb-hero .bb-hero__frame {
    position: relative;
    margin-left: auto;
    max-width: 560px;
    animation: bbHeroFloat 7s ease-in-out infinite;
}
/* Rotating slideshow of work scenes (crossfade) */
#bb-hero .bb-hero__slides {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 40px 70px -28px rgba(13, 42, 90, 0.45);
    background: #e9f2fb;
}
#bb-hero .bb-hero__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.1s ease;
}
#bb-hero .bb-hero__slide.is-active { opacity: 1; }
#bb-hero .bb-hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
#bb-hero .bb-hero__glow {
    position: absolute;
    inset: 12% 6% auto 6%;
    height: 72%;
    border-radius: 28px;
    background: radial-gradient(circle at 50% 40%, rgba(0, 152, 234, 0.40), rgba(0, 152, 234, 0) 70%);
    filter: blur(46px);
    z-index: -1;
}

/* Floating product-moment card ------------------------------------------- */
#bb-hero .bb-hero__pop {
    position: absolute;
    left: -22px;
    bottom: 26px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    box-shadow: 0 18px 40px -16px rgba(13, 42, 90, 0.45);
}
#bb-hero .bb-hero__pop-ic {
    display: flex;
    width: 36px; height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--h-green);
    color: #fff;
    flex: none;
}
#bb-hero .bb-hero__pop-txt { display: flex; flex-direction: column; line-height: 1.2; }
#bb-hero .bb-hero__pop-txt strong { font-size: 14px; color: var(--h-ink); font-weight: 700; }
#bb-hero .bb-hero__pop-txt em { font-size: 12px; color: var(--h-grey); font-style: normal; }

#bb-hero .bb-hero__credit {
    position: absolute;
    right: 10px;
    bottom: 8px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: .2px;
}

@keyframes bbHeroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* Entrance --------------------------------------------------------------- */
#bb-hero .bb-hero__copy > * { animation: bbHeroIn 0.7s both; }
#bb-hero .bb-hero__copy > *:nth-child(2) { animation-delay: 0.06s; }
#bb-hero .bb-hero__copy > *:nth-child(3) { animation-delay: 0.12s; }
#bb-hero .bb-hero__copy > *:nth-child(4) { animation-delay: 0.18s; }
#bb-hero .bb-hero__copy > *:nth-child(n+5) { animation-delay: 0.24s; }
@keyframes bbHeroIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 991px) {
    #bb-hero { padding: 112px 0 64px; }
    #bb-hero .bb-hero__inner { flex-direction: column; text-align: center; gap: 40px; }
    #bb-hero .bb-hero__copy { max-width: 640px; }
    #bb-hero .bb-hero__cta { margin-left: auto; margin-right: auto; }
    #bb-hero .bb-hero__chips,
    #bb-hero .bb-hero__adecco,
    #bb-hero .bb-hero__reassure { justify-content: center; }
    #bb-hero .bb-hero__frame { margin: 0 auto; }
}
@media (max-width: 768px) {
    /* Headline copy carries desktop-oriented <br/>; let it wrap naturally on phones */
    #bb-hero .bb-hero__title br,
    #bb-hero .bb-hero__subtitle br { display: none; }
}
@media (max-width: 560px) {
    #bb-hero { padding: 96px 0 52px; }
    #bb-hero .bb-hero__cta { flex-direction: column; padding: 12px; }
    #bb-hero .bb-hero__field { padding: 0 8px; }
    #bb-hero .bb-hero__submit { width: 100%; }
    #bb-hero .bb-hero__chips li:nth-child(n+5) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    #bb-hero .bb-hero__frame img,
    #bb-hero .bb-hero__copy > * { animation: none; }
}
