/* Vina Derma — Single Doctor Stats Bar */

.elementor-widget-vina_doctor_stats {
    max-width: 100%;
    overflow-x: clip;
}

.vina-doctor-stats {
    --vds-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --vds-duration: 0.7s;
    --vds-navy: #213555;
    --vds-cream: #f5efe7;
    --vds-rose: #a78295;

    position: relative;
    z-index: 5;
    width: 100%;
    margin-top: -8px;
    background: var(--vds-navy);
    color: var(--vds-cream);
    border-bottom: 4px solid var(--vds-rose);
    box-shadow: 0 12px 32px rgba(33, 53, 85, 0.18);
}

.vina-doctor-stats__inner {
    max-width: 1280px;
    margin-inline: auto;
    box-sizing: border-box;
}

.vina-doctor-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    text-align: center;
}

.vina-doctor-stats__item {
    position: relative;
    padding: 8px 12px;
}

.vina-doctor-stats__item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 48px;
    transform: translateY(-50%);
    background: rgba(245, 239, 231, 0.18);
}

.vina-doctor-stats__value {
    margin: 0 0 6px;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--vds-rose);
}

.vina-doctor-stats__label {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.5;
    color: rgba(245, 239, 231, 0.8);
}

.vina-doctor-stats--animate .vina-doctor-stats__reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
        opacity var(--vds-duration) var(--vds-ease),
        transform var(--vds-duration) var(--vds-ease);
    transition-delay: calc(var(--vds-index, 0) * 0.08s);
}

.vina-doctor-stats--animate.is-visible .vina-doctor-stats__reveal {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .vina-doctor-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }

    .vina-doctor-stats__item:nth-child(odd):not(:last-child)::after {
        display: none;
    }

    .vina-doctor-stats__item:nth-child(1)::after,
    .vina-doctor-stats__item:nth-child(3)::after {
        display: block;
    }

    .vina-doctor-stats__item:nth-child(2)::after,
    .vina-doctor-stats__item:nth-child(4)::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vina-doctor-stats--animate .vina-doctor-stats__reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
