/* ================================================================
   hero.css — Secțiunea hero principală
   ================================================================ */

.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--c-ink);
    padding-block: 5rem;
}

/* Fundal foto */
.hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero__bg-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #2A173F 0%, #4B1E8A 55%, #1F1233 100%);
}


/* Blob decorativ */
.hero__blob {
    /* position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            rgba(42, 23, 63, 0) 76%,
            rgba(42, 23, 63, 0.10) 100%
        ); */
    display: none;
}

/* Conținut */
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--c-gold);
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: heroFadeUp 0.6s ease 0.15s forwards;
}

.hero__eyebrow::before {
    content: '';
    display: block;
    width: 28px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
    flex-shrink: 0;
}

.hero__title {
    color: #fff;
    margin-bottom: 1.1rem;
    opacity: 0;
    animation: heroFadeUp 0.65s ease 0.28s forwards;
}

.hero__title em {
    color: var(--c-orange);
    font-style: italic;
}

.hero__subtitle {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.72;
    margin-bottom: 2rem;
    max-width: 440px;
    opacity: 0;
    animation: heroFadeUp 0.65s ease 0.42s forwards;
}

.hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    opacity: 0;
    animation: heroFadeUp 0.65s ease 0.56s forwards;
}

/* Stats row */
.hero__stats {
    display: flex;
    gap: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 0.65s ease 0.7s forwards;
}

.hero__stat-num {
    font-family: var(--f-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.hero__stat-num span {
    color: var(--c-orange);
    font-size: 1.1rem;
}

.hero__stat-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 3px;
    letter-spacing: 0.02em;
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 600px) {
    .hero {
        padding-block: 3.5rem;
        min-height: auto;
    }

    .hero__stats {
        gap: 1.25rem;
    }
}

/* ================================================================
   HERO Homepage — imagine fundal + overlay mov
   Structură: template-parts/home/hero.php
   ================================================================ */

.hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    overflow: hidden;
    /* background: #2A173F; */
}

/* Imaginea setată din Customizer */
.hero__bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

/* Placeholder când nu există imagine setată */
.hero__bg-placeholder {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(circle at 18% 30%, rgba(107, 53, 199, 0.35), transparent 34%),
        radial-gradient(circle at 82% 45%, rgba(76, 117, 72, 0.22), transparent 38%),
        linear-gradient(135deg, #2A173F 0%, #3A1E59 48%, #1F1233 100%);
}

/* Overlay pentru lizibilitate peste imagine */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg,
            rgba(42, 23, 63, 0.36) 0%,
            rgba(42, 23, 63, 0.22) 34%,
            rgba(42, 23, 63, 0.08) 58%,
            rgba(42, 23, 63, 0.02) 100%);
}


/* Conținut peste imagine */
.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero__content {
    max-width: 610px;
    padding: 7rem 0 5rem;
}

/* Dacă imaginea are copiii în stânga și bătrânii în dreapta,
   textul poate sta puțin mai central, ca în screenshot */
@media (min-width: 992px) {
    .hero__content {
        margin-left: 0;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .hero {
        min-height: 620px;
    }

    .hero__bg-img {
        object-position: 28% center;
    }

    .hero__overlay {
        /* background:
            linear-gradient(
                90deg,
                rgba(42, 23, 63, 0.92) 0%,
                rgba(42, 23, 63, 0.82) 58%,
                rgba(42, 23, 63, 0.62) 100%
            ); */
    }

    .hero__actions {
        flex-direction: column;
        align-content: center;
    }

    .hero__stats {
        justify-content: center;
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .hero__content {
        max-width: 100%;
        padding: 5.5rem 0 4rem;
    }
}

/* Foarte mic */
@media (max-width: 480px) {
    .hero {
        min-height: 580px;
    }

    .hero__bg-img {
        object-position: 24% center;
    }
}