/* Vina Derma — Single Doctor Hero */

.elementor-widget-vina_doctor_hero {
    max-width: 100%;
    overflow-x: clip;
}

.vina-doctor-hero {
    --vdh-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --vdh-duration: 0.85s;
    --vdh-cream: #f5efe7;
    --vdh-navy: #213555;
    --vdh-rose: #a78295;
    --vdh-sand: #efe1d1;
    --vdh-plum: #331d2c;

    position: relative;
    width: 100%;
    overflow: hidden;
    background: #fff;
    color: var(--vdh-navy);
    border-bottom: 1px solid var(--vdh-sand);
}

.vina-doctor-hero__mesh {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55% 45% at 95% 8%, rgba(239, 225, 209, 0.55) 0%, transparent 60%),
        radial-gradient(ellipse 40% 35% at 5% 85%, rgba(167, 130, 149, 0.12) 0%, transparent 55%);
}

.vina-doctor-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin-inline: auto;
    box-sizing: border-box;
}

.vina-doctor-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 72px);
    align-items: stretch;
}

/* Content */
.vina-doctor-hero__content {
    align-self: center;
}

.vina-doctor-hero__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(33, 53, 85, 0.6);
}

.vina-doctor-hero__breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vina-doctor-hero__breadcrumb a:hover {
    color: var(--vdh-rose);
}

.vina-doctor-hero__breadcrumb-current {
    color: var(--vdh-rose);
}

.vina-doctor-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 6px 14px;
    border: 1px solid rgba(33, 53, 85, 0.1);
    border-radius: 999px;
    background: rgba(33, 53, 85, 0.04);
    font-size: 0.72rem;
    font-weight: 700;
}

.vina-doctor-hero__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.25);
    animation: vdhStatusPulse 2.4s ease-in-out infinite;
}

@keyframes vdhStatusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.85; }
}

.vina-doctor-hero__name {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
}

.vina-doctor-hero__specialty {
    margin: 0 0 24px;
    font-size: clamp(1rem, 2vw, 1.35rem);
    font-weight: 300;
    font-style: italic;
    line-height: 1.5;
    color: var(--vdh-rose);
}

.vina-doctor-hero__trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 18px 0;
    margin-bottom: 24px;
    border-block: 1px solid rgba(239, 225, 209, 0.65);
}

.vina-doctor-hero__trust-label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(33, 53, 85, 0.5);
}

.vina-doctor-hero__trust-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--vdh-navy);
}

.vina-doctor-hero__trust-divider {
    width: 1px;
    height: 32px;
    background: var(--vdh-sand);
}

.vina-doctor-hero__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.vina-doctor-hero__star {
    color: #eab308;
    flex-shrink: 0;
}

.vina-doctor-hero__rating-count {
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(33, 53, 85, 0.5);
}

.vina-doctor-hero__bio {
    margin: 0 0 28px;
    font-size: clamp(0.92rem, 1.4vw, 1.02rem);
    font-weight: 300;
    line-height: 1.85;
    text-align: justify;
    color: rgba(33, 53, 85, 0.82);
}

.vina-doctor-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.vina-doctor-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 28px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 14px;
    transition: all 0.35s var(--vdh-ease);
}

.vina-doctor-hero__btn--primary {
    background: var(--vdh-navy);
    color: #fff;
    box-shadow: 0 10px 28px rgba(33, 53, 85, 0.22);
}

.vina-doctor-hero__btn--primary:hover {
    background: var(--vdh-plum);
    transform: translateY(-2px);
}

.vina-doctor-hero__btn--secondary {
    background: var(--vdh-cream);
    color: var(--vdh-navy);
    border: 1px solid var(--vdh-sand);
}

.vina-doctor-hero__btn--secondary:hover {
    border-color: var(--vdh-rose);
    color: var(--vdh-rose);
    transform: translateY(-2px);
}

/* Visual */
.vina-doctor-hero__visual {
    position: relative;
    width: 100%;
    min-height: 100%;
    align-self: stretch;
    display: flex;
    flex-direction: column;
}

.vina-doctor-hero__frame {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    min-height: 520px;
    height: 100%;
    border-radius: 2rem;
    overflow: hidden;
    border: 4px solid #fff;
    background-color: var(--vdh-sand);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    box-shadow:
        0 24px 64px rgba(33, 53, 85, 0.16),
        0 0 0 1px rgba(239, 225, 209, 0.5);
    isolation: isolate;
}

.vina-doctor-hero__photo,
.vina-doctor-hero__photo-fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
}

.vina-doctor-hero__photo {
    object-fit: cover;
    object-position: center top;
    display: block;
    transform: scale(1.05);
    transform-origin: center center;
    transition: transform 1.2s var(--vdh-ease);
}

.vina-doctor-hero:hover .vina-doctor-hero__photo {
    transform: scale(1.08);
}

.vina-doctor-hero__photo-fallback {
    background: linear-gradient(160deg, var(--vdh-sand) 0%, #e8d5c4 100%);
}

.vina-doctor-hero__photo-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(33, 53, 85, 0.35) 0%, transparent 50%);
    pointer-events: none;
}

.vina-doctor-hero__float-badge {
    position: absolute;
    left: -20px;
    bottom: 72px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--vdh-sand);
    box-shadow: 0 16px 40px rgba(33, 53, 85, 0.12);
}

.vina-doctor-hero--float-badge .vina-doctor-hero__float-badge {
    animation: vdhFloatBadge 4s ease-in-out infinite;
}

@keyframes vdhFloatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.vina-doctor-hero__float-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(167, 130, 149, 0.12);
    color: var(--vdh-rose);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.vina-doctor-hero__float-label {
    margin: 0 0 2px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: rgba(33, 53, 85, 0.55);
}

.vina-doctor-hero__float-text {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--vdh-navy);
    line-height: 1.3;
}

/* Reveal */
.vina-doctor-hero--animate .vina-doctor-hero__reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity var(--vdh-duration) var(--vdh-ease),
        transform var(--vdh-duration) var(--vdh-ease);
    transition-delay: calc(var(--vdh-index, 0) * 0.12s);
}

.vina-doctor-hero--animate.is-visible .vina-doctor-hero__reveal {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .vina-doctor-hero__grid {
        gap: 40px;
    }
}

@media (min-width: 768px) {
    .vina-doctor-hero__frame {
        min-height: 520px;
        height: 100%;
    }
}

@media (max-width: 767px) {
    .vina-doctor-hero__grid {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .vina-doctor-hero__content {
        align-self: auto;
    }

    .vina-doctor-hero__visual {
        order: -1;
        display: block;
        width: 100%;
        min-height: 0;
        margin-bottom: 8px;
    }

    .vina-doctor-hero__frame {
        flex: none;
        width: 100%;
        height: clamp(340px, 92vw, 440px) !important;
        min-height: 0 !important;
        max-height: none;
    }

    .vina-doctor-hero__photo {
        object-fit: cover;
        object-position: center 12%;
        transform: scale(1.08);
        transform-origin: center center;
    }

    .vina-doctor-hero:hover .vina-doctor-hero__photo {
        transform: scale(1.08);
    }

    .vina-doctor-hero__float-badge {
        left: auto;
        right: -8px;
        bottom: 16px;
        padding: 12px 14px;
        gap: 10px;
    }

    .vina-doctor-hero__float-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .vina-doctor-hero__actions {
        flex-direction: column;
    }

    .vina-doctor-hero__btn {
        width: 100%;
    }

    .vina-doctor-hero__trust-divider {
        display: none;
    }

    .vina-doctor-hero__trust {
        gap: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vina-doctor-hero--animate .vina-doctor-hero__reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .vina-doctor-hero--float-badge .vina-doctor-hero__float-badge,
    .vina-doctor-hero__status-dot {
        animation: none;
    }

    .vina-doctor-hero:hover .vina-doctor-hero__photo {
        transform: none;
    }
}
