/* ==========================================================================
   Radial Menu - Treatments Fan
   ========================================================================== */

.radial-menu-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 640px;
    border-radius: 32px;
    overflow: hidden;
    isolation: isolate;
}

@media (min-width: 768px) {
    .radial-menu-wrap {
        border-radius: 48px;
    }
}

.radial-menu-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Pedestal Dermato — disc circular cu aripi laterale
   ========================================================================== */

.hero-bottom-info {
    z-index: 5;
    width: 240px;
    height: 240px;
    position: absolute;
    bottom: -145px;
    left: 50%;
    transform: translateX(-50%);
}

.hero-button-info {
    z-index: 3;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    display: flex;
    position: absolute;
    inset: 39px 0% 157px;
}

.hero-buton-icon {
    width: 18px;
    height: 18px;
    color: #8a6a4f;
}

.hero-button-title {
    color: #3d2818;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.hero-round-shape {
    z-index: 1;
    background-color: #fafaf9;
    border-radius: 100%;
    width: 240px;
    height: 240px;
    position: relative;
    transition: background-color 0.3s;
}

.hero-bottom-info:hover .hero-round-shape {
    background-color: #fafaf9;
}

.hero-left-shape {
    z-index: 2;
    width: 100px;
    height: 62px;
    position: absolute;
    top: 40px;
    left: -70px;
}

.hero-right-shape {
    z-index: 2;
    width: 100px;
    height: 62px;
    position: absolute;
    top: 40px;
    right: -70px;
}

.hero-left-shape path,
.hero-right-shape path {
    fill: #fafaf9;
    transition: fill 0.3s;
}

.hero-bottom-info:hover .hero-left-shape path,
.hero-bottom-info:hover .hero-right-shape path {
    fill: #fafaf9;
}

/* ==========================================================================
   Orbit + pills
   ========================================================================== */

.radial-orbit {
    position: absolute;
    left: 50%;
    bottom: 60px;
    width: 0;
    height: 0;
    z-index: 20;
    pointer-events: none;
    animation: radial-spin 40s linear infinite;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.radial-orbit.is-ready {
    visibility: visible;
    opacity: 1;
}

.radial-orbit:has(.radial-pill:hover) {
    animation-play-state: paused;
}

.radial-arm {
    position: absolute;
    left: 0;
    top: 0;
    transform-origin: 0 0;
    transform: rotate(var(--angle)) translateY(-320px);
}

.radial-pill {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 16px 4px 4px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    color: #fff;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
    transform-origin: 100% 50%;
    transform: translate(-100%, -50%) rotate(-90deg);
    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.radial-pill:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 1);
    transform: translate(-100%, -50%) rotate(-90deg) scale(1.1);
}

.radial-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    color: #1a1a1a;
    transition: background 0.3s, color 0.3s;
}

.radial-pill:hover .radial-pill-icon {
    background: #1a1a1a;
    color: #fff;
}

.radial-pill-icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
}

@keyframes radial-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .hero-bottom-info {
        width: 180px;
        height: 180px;
        bottom: -100px;
    }
    .hero-round-shape {
        width: 180px;
        height: 180px;
    }
    .hero-button-info {
        inset: 30px 0% 110px;
    }
    .hero-buton-icon {
        width: 14px;
        height: 14px;
    }
    .hero-button-title {
        font-size: 11px;
    }
    .hero-left-shape,
    .hero-right-shape {
        width: 75px;
        height: 47px;
        top: 30px;
    }
    .hero-left-shape {
        left: -53px;
    }
    .hero-right-shape {
        right: -53px;
    }
    .radial-orbit {
        bottom: 45px;
    }
    .radial-arm {
        transform: rotate(var(--angle)) translateY(-200px);
    }
    .radial-pill {
        font-size: 9px;
        padding: 3px 12px 3px 3px;
        letter-spacing: 0.14em;
    }
    .radial-pill-icon {
        width: 24px;
        height: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .radial-orbit {
        animation: none !important;
    }
}