/**
 * DEKA Helix Hybride Hero Section Styling (Fixed Badge & Sizing)
 *
 * @package OncoDermCare
 */

.helix-hero {
    position: relative;
    overflow: hidden;
    padding-top: clamp(3rem, 2rem + 3vw, 5.5rem);
    padding-bottom: clamp(3.5rem, 2.5rem + 3vw, 6rem);
}

.helix-hero::before {
    content: '';
    position: absolute;
    top: -15%;
    right: -10%;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198, 146, 85, 0.14) 0%, rgba(250, 247, 242, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.helix-title sup {
    font-size: 0.45em;
    top: -0.6em;
    color: var(--color-primary);
}

.helix-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.75rem 0 2.25rem;
}

.helix-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Visual Console Column & Floating Badge (Fixed Slicing Bug)
   -------------------------------------------------------------------------- */
.helix-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.helix-mask-wrapper {
    position: relative;
    display: inline-block;
    max-width: 100%;
}

.helix-hero-visual .helix-mask {
    width: 100%;
    max-width: 500px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-blob-portrait);
    overflow: hidden;
    background: radial-gradient(circle at 50% 40%, #FFFFFF 60%, rgba(243, 236, 227, 0.7) 100%);
    box-shadow: 0 20px 50px rgba(31, 36, 33, 0.08), 0 0 0 1px rgba(198, 146, 85, 0.15);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-radius var(--transition-smooth), box-shadow var(--transition-smooth);
}

.helix-hero-visual .helix-mask:hover {
    border-radius: var(--radius-blob-hero);
    box-shadow: 0 25px 60px rgba(198, 146, 85, 0.18);
}

.helix-hero-visual .helix-mask img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Prevents cutting off wheels and laser arm */
    object-position: center center;
    padding: 1.5rem;
    display: block;
}

/* Floating Badge — Forced on TOP with z-index: 20 & white-space: nowrap */
.helix-floating-badge {
    position: absolute;
    bottom: 35px;
    left: -35px;
    z-index: 20 !important;
    /* Floats above the image and container */
    background-color: var(--color-white);
    padding: 1.1rem 1.6rem;
    border-radius: var(--radius-md);
    box-shadow: 0 15px 35px rgba(31, 36, 33, 0.12);
    border-left: 4px solid var(--color-primary);
    border-top: 1px solid rgba(198, 146, 85, 0.15);
    border-right: 1px solid rgba(198, 146, 85, 0.15);
    border-bottom: 1px solid rgba(198, 146, 85, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    white-space: nowrap !important;
    /* Prevents text clipping */
    pointer-events: none;
}

.helix-floating-badge .badge-number {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--color-secondary);
    font-size: 1.35rem;
    line-height: 1.1;
}

.helix-floating-badge .badge-label {
    font-size: 0.775rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

@media (max-width: 991px) {
    .helix-floating-badge {
        left: 0;
        bottom: 15px;
        padding: 0.85rem 1.25rem;
    }

    .helix-hero-visual .helix-mask {
        max-width: 420px;
    }
}