.fcg-hero {
    position: relative;
    width: 100%;
    min-height: clamp(420px, 62svh, 680px);
    margin-top: 0 !important;
    overflow: hidden;
    isolation: isolate;
    background: #202020;
    color: #fff;
    font-family: var(--fcg-hero-font-family, inherit);
}

.fcg-hero,
.fcg-hero * {
    box-sizing: border-box;
}

.fcg-hero__slides,
.fcg-hero__slide {
    position: absolute;
    inset: 0;
}

.fcg-hero__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: var(--fcg-hero-desktop-position, center center);
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    pointer-events: none;
    transition: opacity 900ms ease-in-out;
}

.fcg-hero__slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.fcg-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.fcg-hero__overlay::before,
.fcg-hero__overlay::after {
    content: "";
    position: absolute;
    inset: 0;
}

.fcg-hero__overlay::before {
    background:
        radial-gradient(circle at 20% 45%, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.42) 54%, rgba(0, 0, 0, 0.68) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.34) 48%, rgba(0, 0, 0, 0.18) 100%);
    opacity: var(--fcg-hero-dark-overlay-opacity, 1);
}

.fcg-hero__overlay::after {
    background:
        linear-gradient(104deg, var(--fcg-hero-accent-color, #21d081) 0%, rgba(var(--fcg-hero-accent-rgb, 33, 208, 129), 0.75) 25%, rgba(var(--fcg-hero-accent-rgb, 33, 208, 129), 0.18) 52%, transparent 72%);
    opacity: var(--fcg-hero-green-overlay-opacity, 0.45);
    mix-blend-mode: multiply;
}

.fcg-hero__content {
    position: relative;
    z-index: 2;
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    text-align: left;
    padding: var(--fcg-hero-content-padding-top, 44px) 0 var(--fcg-hero-content-padding-bottom, 88px);
    transform: translateY(10px);
    opacity: 0;
    transition: opacity 650ms ease 180ms, transform 650ms ease 180ms;
}

.fcg-hero__slide.is-active .fcg-hero__content {
    transform: translateY(0);
    opacity: 1;
}

.fcg-hero__headline,
.fcg-hero__subline,
.fcg-hero__description,
.fcg-hero__button,
.fcg-hero__eyebrow {
    text-transform: none !important;
}

.fcg-hero__eyebrow {
    margin: 0 0 12px;
    color: #fff;
    font-size: clamp(12px, 1.4vw, 15px);
    letter-spacing: 0;
    font-weight: 700;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.fcg-hero__headline {
    margin: 0 0 8px;
    max-width: 920px;
    color: #fff;
    font-size: clamp(38px, 6.2vw, 78px);
    line-height: 1.0;
    font-family: var(--fcg-hero-headline-font-family, inherit);
    font-weight: var(--fcg-hero-headline-font-weight, 800);
    letter-spacing: -0.04em;
    text-wrap: balance;
    text-shadow: 0 3px 22px rgba(0, 0, 0, 0.5);
}

.fcg-hero__subline {
    margin: 0 0 30px;
    max-width: 760px;
    color: #fff;
    font-size: clamp(20px, 2.6vw, 32px);
    line-height: 1.12;
    font-weight: 600;
    text-wrap: balance;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

.fcg-hero__description {
    margin: 0 0 32px;
    max-width: 680px;
    color: #fff;
    font-size: clamp(16px, 1.45vw, 20px);
    line-height: 1.6;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.fcg-hero__button,
.fcg-hero__button.elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 14px 28px;
    border: 0;
    border-radius: var(--fcg-hero-button-radius, 2px);
    background: var(--fcg-hero-accent-color, #21d081);
    color: var(--fcg-hero-button-text-color, #fff) !important;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0;
    text-decoration: none !important;
    box-shadow: none;
    cursor: pointer;
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
}

.fcg-hero__button:hover,
.fcg-hero__button:focus,
.fcg-hero__button.elementor-button:hover,
.fcg-hero__button.elementor-button:focus {
    transform: translateY(-1px);
    filter: brightness(1.06);
    color: var(--fcg-hero-button-text-color, #fff) !important;
    text-decoration: none !important;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.fcg-hero__button .elementor-button-content-wrapper,
.fcg-hero__button .elementor-button-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: none !important;
    letter-spacing: inherit;
}

.fcg-hero__dots {
    position: absolute;
    left: 50%;
    bottom: clamp(18px, 3.2vw, 32px);
    z-index: 5;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: calc(100% - 40px);
    gap: 9px;
    transform: translateX(-50%);
}

.fcg-hero__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: width 180ms ease, background 180ms ease, border-color 180ms ease;
}

.fcg-hero__dot.is-active {
    width: 28px;
    border-color: var(--fcg-hero-accent-color, #21d081);
    background: var(--fcg-hero-accent-color, #21d081);
}

.fcg-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.fcg-hero__arrow:hover,
.fcg-hero__arrow:focus {
    background: rgba(var(--fcg-hero-accent-rgb, 33, 208, 129), 0.72);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-50%) scale(1.04);
}

.fcg-hero__arrow span {
    display: block;
    margin-top: -2px;
    font-size: 34px;
    line-height: 1;
}

.fcg-hero__arrow--prev {
    left: clamp(14px, 3vw, 34px);
}

.fcg-hero__arrow--next {
    right: clamp(14px, 3vw, 34px);
}

.fcg-hero__progress {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 5;
    width: min(100%, 520px);
    height: 3px;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
}

.fcg-hero__progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: var(--fcg-hero-accent-color, #21d081);
    transform-origin: left center;
    animation: fcg-hero-progress var(--fcg-hero-slider-ms, 2000ms) linear infinite;
}

.fcg-hero.is-paused .fcg-hero__progress span {
    animation-play-state: paused;
}

@keyframes fcg-hero-progress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@media (max-width: 1024px) {
    .fcg-hero {
        min-height: clamp(460px, 68svh, 660px);
    }

    .fcg-hero__content {
        width: min(100% - 40px, 860px);
    }
}

@media (max-width: 700px) {
    .fcg-hero {
        min-height: clamp(480px, 74svh, 620px);
    }

    .fcg-hero__slide {
        align-items: flex-end;
        background-position: var(--fcg-hero-mobile-position, center center);
    }

    .fcg-hero__overlay::before {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0.38) 35%, rgba(0, 0, 0, 0.76) 100%);
        opacity: var(--fcg-hero-dark-overlay-opacity, 1);
    }

    .fcg-hero__overlay::after {
        background: linear-gradient(180deg, transparent 0%, rgba(var(--fcg-hero-accent-rgb, 33, 208, 129), 0.22) 42%, var(--fcg-hero-accent-color, #21d081) 100%);
        opacity: var(--fcg-hero-green-overlay-opacity, 0.45);
    }

    .fcg-hero__content {
        width: min(100% - 32px, 560px);
        padding: max(36px, calc(var(--fcg-hero-content-padding-top, 44px) * 0.8)) 0 var(--fcg-hero-content-padding-bottom, 88px);
    }

    .fcg-hero__headline {
        font-size: clamp(34px, 10vw, 52px);
        line-height: 1.02;
        letter-spacing: -0.035em;
    }

    .fcg-hero__subline {
        font-size: clamp(19px, 5.5vw, 28px);
        line-height: 1.13;
        margin-bottom: 28px;
    }

    .fcg-hero__description {
        font-size: 16px;
        line-height: 1.5;
    }

    .fcg-hero__button,
    .fcg-hero__button.elementor-button {
        width: auto;
        max-width: 100%;
        min-height: 44px;
        padding: 13px 22px;
        white-space: normal;
        text-align: center;
    }

    .fcg-hero__arrow {
        top: auto;
        bottom: 22px;
        width: 38px;
        height: 38px;
        transform: none;
    }

    .fcg-hero__arrow:hover,
    .fcg-hero__arrow:focus {
        transform: scale(1.04);
    }

    .fcg-hero__arrow--prev {
        left: 16px;
    }

    .fcg-hero__arrow--next {
        right: 16px;
    }

    .fcg-hero__dots {
        bottom: 30px;
        max-width: calc(100% - 130px);
    }
}

@media (max-width: 420px) {
    .fcg-hero {
        min-height: 520px;
    }

    .fcg-hero__content {
        width: calc(100% - 28px);
    }

    .fcg-hero__eyebrow {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fcg-hero__slide,
    .fcg-hero__content,
    .fcg-hero__button,
    .fcg-hero__dot,
    .fcg-hero__arrow {
        transition: none;
    }

    .fcg-hero__progress span {
        animation: none;
    }
}
