/* Vina Derma Hero Section — minimal modern layout */

.vina-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    width: 100%;
    background-color: #fdf8f3;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.vina-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    z-index: 1;
}

.vina-hero--light-text .vina-hero-title-line-1,
.vina-hero--light-text .vina-hero-subtitle {
    color: #ffffff;
}

.vina-hero--light-text .vina-hero-subtitle strong {
    color: #ffffff;
}

.vina-hero--light-text .vina-hero-stat-value {
    color: #ffffff;
}

.vina-hero--light-text .vina-hero-stat-label {
    color: rgba(255, 255, 255, 0.75);
}

.vina-hero--light-text .vina-hero-stats {
    border-top-color: rgba(255, 255, 255, 0.15);
}

.vina-hero--light-text .vina-hero-stat-item:not(:last-child)::after {
    background-color: rgba(255, 255, 255, 0.2);
}

.vina-hero--light-text .vina-hero-scroll-hint {
    color: rgba(255, 255, 255, 0.6);
}

.vina-hero--full_bg::after,
.vina-hero--light-text::after {
    opacity: 0.45;
}

.vina-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.vina-hero--split .vina-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
}

.vina-hero--centered .vina-hero-grid,
.vina-hero--full_bg .vina-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
}

.vina-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-width: 100%;
}

.vina-hero--centered .vina-hero-content,
.vina-hero--full_bg .vina-hero-content {
    max-width: 760px;
    text-align: center;
    align-items: center;
}

.vina-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(196, 139, 125, 0.25);
    border-radius: 999px;
    background: rgba(196, 139, 125, 0.1);
    color: #c48b7d;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.vina-hero-badge::before {
    content: '';
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e8c4b8;
    --vina-hero-badge-pulse-color: rgba(196, 139, 125, 0.6);
    animation: vinaHeroPulseDot 2s infinite;
}

@keyframes vinaHeroPulseDot {
    0%,
    100% {
        box-shadow: 0 0 0 0 var(--vina-hero-badge-pulse-color);
    }
    50% {
        box-shadow: 0 0 0 14px transparent;
    }
}

.vina-hero-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.vina-hero-title-line-1 {
    display: block;
    color: #0f1e2f;
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
}

.vina-hero-title-line-2 {
    display: block;
    color: #c48b7d;
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
}

.vina-hero-subtitle {
    max-width: 56ch;
    margin-bottom: 28px;
    color: #7a6e66;
    font-size: clamp(1rem, 1.6vw, 1.125rem);
    font-weight: 400;
    line-height: 1.75;
}

.vina-hero--centered .vina-hero-subtitle,
.vina-hero--full_bg .vina-hero-subtitle {
    max-width: 62ch;
}

.vina-hero-subtitle p {
    margin: 0;
}

.vina-hero-subtitle strong {
    color: #0f1e2f;
    font-weight: 600;
}

.vina-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.vina-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.vina-hero-btn:active {
    transform: scale(0.98);
}

.vina-hero-btn-icon {
    font-size: 1.1em;
    width: 1.1em;
    height: 1.1em;
    flex-shrink: 0;
}

.vina-hero-btn-primary {
    background-color: #c48b7d;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(196, 139, 125, 0.25);
}

.vina-hero-btn-primary:hover {
    background-color: #a87063;
    color: #ffffff;
}

.vina-hero-btn-secondary {
    background: transparent;
    color: #0f1e2f;
    border-color: rgba(15, 30, 47, 0.2);
}

.vina-hero-btn-secondary:hover {
    background: rgba(15, 30, 47, 0.04);
    color: #0f1e2f;
}

.vina-hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0;
    margin: 0;
    padding: 20px 0 0;
    list-style: none;
    border-top: 1px solid rgba(15, 30, 47, 0.08);
    width: 100%;
}

.vina-hero-stat-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0 24px;
}

.vina-hero-stat-item:first-child {
    padding-inline-start: 0;
}

.vina-hero-stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    inset-inline-end: 0;
    width: 1px;
    height: 32px;
    transform: translateY(-50%);
    background-color: rgba(15, 30, 47, 0.1);
}

.vina-hero-stat-value {
    color: #0f1e2f;
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.1;
}

.vina-hero-stat-label {
    color: #7a6e66;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.3;
}

.vina-hero-media {
    position: relative;
    width: 100%;
    min-width: 0;
    z-index: 1;
}

.vina-hero-media--accent::before {
    content: '';
    position: absolute;
    inset-inline-end: -12px;
    inset-block-end: -12px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    border-radius: 32px;
    background: rgba(196, 139, 125, 0.15);
    z-index: 0;
    pointer-events: none;
}

[dir="rtl"] .vina-hero-media--accent::before {
    inset-inline-end: auto;
    inset-inline-start: -12px;
}

.vina-hero-image {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    min-height: 420px;
    max-height: 640px;
    object-fit: cover;
    border-radius: 24px;
}

.vina-hero-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(15, 30, 47, 0.45);
    font-size: 0.75rem;
    line-height: 1.2;
    pointer-events: none;
    opacity: 0;
}

.vina-hero-scroll-hint::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.vina-hero.is-visible .vina-hero-scroll-hint {
    animation: vinaHeroScrollHintIn 0.7s cubic-bezier(0.4, 0, 0.2, 1) 0.42s both,
        vinaHeroScrollBounce 2s ease-in-out 1.1s infinite;
}

@keyframes vinaHeroScrollHintIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes vinaHeroScrollBounce {
    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* Entrance animations */
.vina-hero.is-visible .vina-hero-badge,
.vina-hero.is-visible .vina-hero-title,
.vina-hero.is-visible .vina-hero-subtitle,
.vina-hero.is-visible .vina-hero-actions,
.vina-hero.is-visible .vina-hero-stats,
.vina-hero.is-visible .vina-hero-media {
    animation: vinaHeroFadeUp 0.7s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.vina-hero.is-visible .vina-hero-badge { animation-delay: 0.05s; }
.vina-hero.is-visible .vina-hero-title { animation-delay: 0.1s; }
.vina-hero.is-visible .vina-hero-subtitle { animation-delay: 0.18s; }
.vina-hero.is-visible .vina-hero-actions { animation-delay: 0.26s; }
.vina-hero.is-visible .vina-hero-stats { animation-delay: 0.34s; }
.vina-hero.is-visible .vina-hero-media { animation-delay: 0.2s; }

@keyframes vinaHeroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .vina-hero--split .vina-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .vina-hero--split .vina-hero-media {
        order: -1;
    }

    .vina-hero-image {
        min-height: 320px;
        max-height: 480px;
    }
}

@media (max-width: 767px) {
    .vina-hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .vina-hero-btn {
        width: 100%;
    }

    .vina-hero-stats {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: space-between;
        gap: 0;
        padding-top: 16px;
        overflow: hidden;
    }

    .vina-hero-stat-item {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 2px;
        padding: 0 6px;
        text-align: center;
    }

    .vina-hero-stat-item:first-child {
        padding-inline-start: 0;
    }

    .vina-hero-stat-item:last-child {
        padding-inline-end: 0;
    }

    .vina-hero-stat-item:not(:last-child)::after {
        display: block;
        height: 28px;
    }

    .vina-hero-stat-value {
        font-size: 0.9375rem;
        font-weight: 800;
        white-space: nowrap;
    }

    .vina-hero-stat-label {
        font-size: 0.625rem;
        line-height: 1.25;
        word-break: break-word;
        hyphens: auto;
    }

    .vina-hero-image {
        min-height: 260px;
        max-height: 360px;
    }

    .vina-hero-media--accent::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vina-hero-badge::before {
        animation: none;
    }

    .vina-hero.is-visible .vina-hero-scroll-hint {
        animation: none;
        opacity: 1;
        transform: translateX(-50%);
    }

    .vina-hero.is-visible .vina-hero-badge,
    .vina-hero.is-visible .vina-hero-title,
    .vina-hero.is-visible .vina-hero-subtitle,
    .vina-hero.is-visible .vina-hero-actions,
    .vina-hero.is-visible .vina-hero-stats,
    .vina-hero.is-visible .vina-hero-media {
        animation: none;
    }
}

/* Elementor editor — preview without scroll trigger */
.elementor-edit-mode .vina-hero-scroll-hint {
    opacity: 1;
    transform: translateX(-50%);
    animation: vinaHeroScrollBounce 2s ease-in-out infinite;
}
