.lab-hero {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    margin: 0 calc(-0.5 * var(--bs-gutter-x, 0.75rem));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0 0 1.25rem 1.25rem;
    padding: 0.35rem 0 0.5rem;
    background:
        linear-gradient(145deg, #0a2540 0%, #134a7a 42%, #0d2137 100%),
        radial-gradient(circle at 85% 15%, rgba(255, 193, 7, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(255, 255, 255, 0.06) 0%, transparent 35%);
}

.lab-hero__content {
    position: relative;
    z-index: 2;
    width: min(1080px, 96%);
    padding: 0.5rem 0.75rem 0.75rem;
    text-align: center;
}

.lab-hero__kiosk {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 1.15rem;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.32),
        0 0 0 1px rgba(255, 255, 255, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 1.1rem 1.25rem;
    animation: labHeroFadeUp 0.9s ease-out both;
}

.lab-hero__kiosk-frame {
    border: 3px solid #1a1a1a;
    border-radius: 0.75rem;
    padding: 1.1rem 1.1rem 0.9rem;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.lab-hero__org {
    font-size: clamp(0.75rem, 1.8vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #1a1a1a;
    margin-bottom: 0.55rem;
    text-transform: uppercase;
    line-height: 1.3;
}

.lab-hero__icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.75rem, 2.5vw, 2rem);
    margin-bottom: 0.55rem;
    flex-wrap: wrap;
}

.lab-hero__icons i {
    font-size: clamp(1.75rem, 3.2vw, 2.75rem);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.12));
}

.lab-hero__icons .icon-wheat { color: #d4a017; }
.lab-hero__icons .icon-sunflower { color: #f5a623; }
.lab-hero__icons .icon-corn { color: #f4c430; }

.lab-hero__title {
    font-size: clamp(1.5rem, 3.5vw, 2.75rem);
    font-weight: 800;
    color: #0d2137;
    letter-spacing: 0.03em;
    margin-bottom: 0.45rem;
    line-height: 1.15;
}

.lab-hero__tagline {
    font-size: clamp(0.85rem, 1.6vw, 1.1rem);
    color: #4a5568;
    font-weight: 500;
    max-width: 42rem;
    margin: 0 auto 0.75rem;
    line-height: 1.4;
    padding: 0 0.25rem;
}

.lab-hero__splash {
    margin-top: 0.25rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.lab-hero__splash-img {
    width: 100%;
    height: auto;
    max-height: min(38vh, 340px);
    object-fit: cover;
    object-position: center;
    display: block;
    background: #f8fafc;
}

.lab-hero__splash .carousel-indicators {
    margin-bottom: 0.25rem;
}

.lab-hero__splash .carousel-indicators [data-bs-target] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    border: none;
}

.lab-hero__splash .carousel-indicators .active {
    background-color: #ffc107;
}

.lab-hero__splash .carousel-control-prev,
.lab-hero__splash .carousel-control-next {
    width: 10%;
    opacity: 0.75;
}

.lab-hero__splash .carousel-control-prev-icon,
.lab-hero__splash .carousel-control-next-icon {
    width: 1.5rem;
    height: 1.5rem;
}

@keyframes labHeroFadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 992px) {
    .lab-hero__content {
        width: min(1140px, 92%);
    }

    .lab-hero__kiosk {
        padding: 1.35rem 1.75rem;
    }

    .lab-hero__kiosk-frame {
        padding: 1.35rem 1.5rem 1.1rem;
    }

    .lab-hero__splash-img {
        max-height: min(40vh, 380px);
    }
}

@media (min-width: 768px) and (max-height: 900px) {
    .lab-hero__splash-img {
        max-height: min(30vh, 260px);
    }

    .lab-hero__title {
        font-size: 1.85rem;
    }
}

@media (max-width: 767.98px) {
    .lab-hero {
        padding: 0.75rem 0 0.5rem;
        border-radius: 0;
        align-items: flex-start;
    }

    .lab-hero__content {
        padding: 0.5rem 0.5rem 0.25rem;
    }

    .lab-hero__kiosk {
        padding: 0.85rem 0.65rem;
        border-radius: 0.85rem;
    }

    .lab-hero__kiosk-frame {
        padding: 0.85rem 0.65rem 0.65rem;
    }

    .lab-hero__splash-img {
        max-height: min(42vw, 200px);
    }
}
