/**
 * Homepage static hero — full-width banner image with overlaid content.
 * Visual tokens aligned to designer reference (Sample layout).
 */

.qfk-static-hero {
    --qfk-hero-cream: #fcf9f4;
    --qfk-hero-green: #1a4d2e;
    --qfk-hero-green-deep: #1a2e22;
    --qfk-hero-orange: #f9b233;
    --qfk-hero-orange-dark: #d4821a;
    --qfk-hero-badge-bg: #fff0e0;
    --qfk-hero-badge-border: #f5d4a8;
    --qfk-hero-badge-dot: #f9b233;
    --qfk-hero-text: #6b7280;
    --qfk-hero-heading: #1a1515;
    --qfk-hero-content-max: 600px;
    --qfk-hero-features-max: 760px;
    --qfk-hero-trust-max: 720px;
    --qfk-hero-radius-btn: 10px;
    --qfk-hero-radius-card: 12px;
}

/* --- Hero shell --- */
.qfk-static-hero.slider-three {
    background-color: var(--qfk-hero-cream);
}

.qfk-static-hero__slide.slider-three_banner-slide {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    min-height: clamp(480px, min(46.875vw, calc(100svh - 96px)), 900px);
    padding: 10px 0 16px;
    background-color: var(--qfk-hero-cream);
}

.qfk-static-hero__slide.slider-three_banner-slide .slider-three_banner-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: right top;
    aspect-ratio: 1920 / 900;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Mobile-only readability overlay (disabled on desktop) */
@media only screen and (max-width: 767px) {
    .qfk-static-hero__slide.slider-three_banner-slide::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(
            180deg,
            rgb(252 249 244 / 0.94) 0%,
            rgb(252 249 244 / 0.9) 45%,
            rgb(252 249 244 / 0.82) 100%
        );
    }
}

.qfk-static-hero__slide.slider-three_banner-slide .auto-container,
.qfk-static-hero__slide.slider-three_banner-slide .slider-three_content,
.qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
    position: relative;
    z-index: 2;
}

.qfk-static-hero__slide.slider-three_banner-slide .auto-container {
    width: 100%;
    pointer-events: none;
}

.qfk-static-hero__slide.slider-three_banner-slide .slider-three_content {
    max-width: 680px;
    flex: 0 0 auto;
    pointer-events: none;
}

.qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
    width: 100%;
    max-width: var(--qfk-hero-content-max);
    padding-top: 22px;
    padding-left: 28px;
    padding-right: 16px;
    overflow: visible;
    pointer-events: none;
}

.qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner > * {
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%) !important;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%) !important;
    transition: none !important;
}

/* --- Badge --- */
.qfk-static-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 18px;
    padding: 6px 14px 6px 11px;
    border-radius: 999px;
    border: 1px solid var(--qfk-hero-badge-border);
    color: #f68b10;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
}

.qfk-static-hero__badge-dot {
    flex-shrink: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #f68b10;
}

/* --- Headings --- */
.qfk-static-hero__title {
    margin: 0 0 10px;
    color: var(--qfk-hero-heading);
    font-size: clamp(30px, 3.6vw, 50px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.qfk-static-hero h1.qfk-static-hero__title {
    line-height: 1.08;
}

.qfk-static-hero__title-line {
    display: block;
    overflow: hidden;
}

.qfk-static-hero__title-line-inner {
    display: block;
}

.qfk-static-hero__subtitle {
    margin: 0 0 14px;
    color: var(--qfk-hero-green);
    font-size: clamp(22px, 2.7vw, 36px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.015em;
}

.qfk-static-hero h2.qfk-static-hero__subtitle {
    line-height: 1.14;
    color: var(--qfk-hero-green);
    width: 130%;
}

/* .qfk-static-hero__subtitle-line {
    display: block;
    white-space: nowrap;
}
 */
.qfk-static-hero__subtitle-accent {
    color: #f68b10;
    font-weight: 600;
}

/* --- Description --- */
.qfk-static-hero__text {
    margin: 0 0 22px;
    max-width: 540px;
    color: var(--qfk-hero-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

.qfk-static-hero__text strong {
    color: #4b5563;
    font-weight: 700;
}

/* --- CTA buttons --- */
.qfk-static-hero__ctas {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    overflow: visible;
    padding: 2px 0;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

.qfk-static-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    box-sizing: border-box;
    height: 48px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: var(--qfk-hero-radius-btn);
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        background-color 0.28s ease-in-out,
        border-color 0.28s ease-in-out,
        color 0.28s ease-in-out,
        box-shadow 0.28s ease-in-out;
    white-space: nowrap;
    pointer-events: auto;
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

.qfk-static-hero__btn i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
    transition: color 0.28s ease-in-out;
}

.qfk-static-hero__btn:focus-visible {
    outline: 2px solid var(--qfk-hero-green);
    outline-offset: 2px;
}

.qfk-static-hero__btn--primary {
    border-color: #e8a82a;
    background: var(--qfk-hero-orange);
    color: #1a1515;
    box-shadow: 0 3px 12px rgb(249 178 51 / 0.28);
}

.qfk-static-hero__btn--primary:hover {
    background: var(--qfk-hero-green);
    border-color: var(--qfk-hero-green);
    color: #fff;
    box-shadow: 0 4px 14px rgb(26 77 46 / 0.28);
}

.qfk-static-hero__btn--primary:hover i {
    color: #fff;
}

.qfk-static-hero__btn--whatsapp {
    border-color: #c5d4cb;
    background: #fff;
    color: var(--qfk-hero-green);
    box-shadow: none;
}

.qfk-static-hero__btn--whatsapp i {
    font-size: 30px;
    color: var(--qfk-hero-green);
}

.qfk-static-hero__btn--whatsapp:hover {
    background: #eef6f1;
    border-color: #b8d4c4;
    color: var(--qfk-hero-green);
    box-shadow: 0 6px 18px rgb(26 77 46 / 0.12);
}

.qfk-static-hero__btn--whatsapp:hover i {
    color: var(--qfk-hero-green);
}

/* --- Feature boxes (single row, stacked labels) --- */
.qfk-static-hero__features {
    list-style: none;
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 0;
    margin: 0 0 24px;
    padding: 0;
    width: max-content;
    max-width: var(--qfk-hero-features-max);
}

.qfk-static-hero__feature {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 8px 10px 8px;
}

.qfk-static-hero__feature:not(:last-child) {
    padding-right: 4px;
    margin-right: 4px;
    border-right: none;
    background-image: linear-gradient(rgb(26 77 46 / 0.14), rgb(26 77 46 / 0.14));
    background-size: 1px 44px;
    background-position: right center;
    background-repeat: no-repeat;
}

.qfk-static-hero__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    width: 40px;
    height: 40px;
    padding: 7px;
    border: 1px solid transparent;
    border-radius: 12px;
    line-height: 1;
}

.qfk-static-hero__feature-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.qfk-static-hero__feature-icon--green {
    background: #eef6f1;
    border-color: #cfe3d6;
}

.qfk-static-hero__feature-icon--orange {
    background: #fff3e6;
    border-color: #f5d4b0;
}

.qfk-static-hero__feature-icon--chart {
    background: #eef6f1;
    border-color: #cfe3d6;
}

.qfk-static-hero__feature-text {
    display: flex;
    flex-direction: column;
    gap: 0;
    flex-shrink: 0;
    min-width: 0;
    color: var(--qfk-hero-green-deep);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.qfk-static-hero__feature-line {
    display: block;
    white-space: nowrap;
}

/* Fourth hero feature — mobile banner grid only */
.qfk-static-hero__feature--mobile-only {
    display: none;
}

/* Third item is last visible feature on desktop */
.qfk-static-hero__feature:nth-child(3) {
    margin-right: 0;
    padding-right: 8px;
    background-image: none;
}

/* --- Trust / flags --- */
.qfk-static-hero__trust {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    width: max-content;
    max-width: var(--qfk-hero-trust-max);
    overflow: visible;
}

.qfk-static-hero__trust-label {
    flex-shrink: 0;
    color: #6e6e6e;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.qfk-static-hero__flags {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 14px;
    min-width: 0;
    flex: 1 1 auto;
}

.qfk-static-hero__flag-item {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.qfk-static-hero__flag {
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 50%;
    border: 2px solid #fff;
    box-shadow:
        0 0 0 1px rgb(29 142 90 / 0.12),
        0 2px 6px rgb(10 68 41 / 0.08);
    background: #fff;
    flex-shrink: 0;
}

.qfk-static-hero__flag img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qfk-static-hero__flag-name {
    color: var(--qfk-hero-green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    line-height: 1.1;
    white-space: nowrap;
}

/* --- Desktop (design reference) --- */
@media only screen and (min-width: 1200px) {
    .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
        max-width: 650px;
        padding-top: 50px;
        padding-left: 28px;
    }

    .qfk-static-hero__badge {
        margin-bottom: 18px;
        font-size: 20px;
    }

    .qfk-static-hero__title {
        margin-bottom: 10px;
        font-size: 70px;
    }

    .qfk-static-hero__subtitle {
        margin-bottom: 14px;
        font-size: 40px;
    }

    .qfk-static-hero__text {
        margin-bottom: 22px;
        font-size: 21px;
        max-width: 596px;
    }

    .qfk-static-hero__ctas {
        gap: 10px;
        margin-bottom: 22px;
    }

    .qfk-static-hero__btn {
        height: 48px;
        min-height: 60px;
        padding: 0 25px;
        font-size: 20px;
    }

    .qfk-static-hero__features {
        gap: 0;
        margin-bottom: 24px;
        max-width: var(--qfk-hero-features-max);
        width: max-content;
    }

    .qfk-static-hero__feature {
        flex: 0 0 auto;
        gap: 6px;
        padding: 10px 0 10px 8px;
    }

    .qfk-static-hero__feature:not(:last-child) {
        padding-right: 14px;
        margin-right: 14px;
        background-size: 1px 52px;
    }

    .qfk-static-hero__feature-icon {
        width: 56px;
        height: 56px;
        padding: 5px;
        border-radius: 14px;
    }

    .qfk-static-hero__feature-text {
        font-size: 15px;
        flex-shrink: 0;
    }

    .qfk-static-hero__trust {
        gap: 12px;
        max-width: var(--qfk-hero-trust-max);
        width: max-content;
    }

    .qfk-static-hero__trust-label {
        font-size: 16px;
    }

    .qfk-static-hero__flags {
        gap: 14px;
    }

    .qfk-static-hero__flag {
        width: 46px;
        height: 46px;
    }

    .qfk-static-hero__flag-name {
        font-size: 16px;
    }
}

/* --- Tablet & below: prevent subtitle overflow --- */
@media only screen and (max-width: 1199px) {
    .qfk-static-hero h2.qfk-static-hero__subtitle {
        width: 100%;
        max-width: 100%;
        white-space: normal;
    }

    .qfk-static-hero__text {
        max-width: 100%;
    }

    .qfk-static-hero__features {
        width: 100%;
        max-width: 100%;
    }

    .qfk-static-hero__trust {
        width: 100%;
        max-width: 100%;
    }
}

/* --- Tablet --- */
@media only screen and (max-width: 1199px) and (min-width: 992px) {
    .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
        max-width: 540px;
    }

    .qfk-static-hero__subtitle-line {
        white-space: normal;
    }

    .qfk-static-hero__features {
        flex-wrap: wrap;
    }

    .qfk-static-hero__feature:not(:last-child) {
        padding-right: 0;
        margin-right: 0;
        background-image: none;
    }

    .qfk-static-hero__feature {
        flex: 1 1 calc(50% - 4px);
    }

    .qfk-static-hero__feature:last-child {
        flex: 1 1 100%;
    }
}

@media only screen and (max-width: 991px) {
    .qfk-static-hero__slide.slider-three_banner-slide {
        min-height: clamp(460px, 64vw, 620px);
        padding: 24px 0 32px;
    }

    .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
        max-width: 520px;
        padding-left: 18px;
        padding-right: 18px;
    }

    .qfk-static-hero__subtitle-line {
        white-space: normal;
    }

    .qfk-static-hero__features {
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
    }

    .qfk-static-hero__feature {
        flex: 0 0 calc(50% - 4px);
        max-width: calc(50% - 4px);
    }

    .qfk-static-hero__feature:last-child {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .qfk-static-hero__feature:not(:last-child) {
        padding-right: 0;
        margin-right: 0;
        background-image: none;
    }

    .qfk-static-hero__trust {
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
        padding: 0 4px;
        box-sizing: border-box;
    }

    .qfk-static-hero__trust-label {
        white-space: normal;
    }

    .qfk-static-hero__flags {
        flex-wrap: wrap;
        width: 100%;
        max-width: 100%;
    }
}

/* --- Mobile --- */
@media only screen and (max-width: 767px) {
    .qfk-static-hero__slide.slider-three_banner-slide {
        min-height: max(calc(100vw * 900 / 1920), auto);
        height: auto;
        padding-top: 14px !important;
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)) !important;
        overflow-x: clip;
    }

    .qfk-static-hero__slide.slider-three_banner-slide .slider-three_banner-image {
        object-fit: cover;
        object-position: right top;
        aspect-ratio: auto;
    }

    .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 6px;
        overflow: visible;
    }

    .qfk-static-hero__badge {
        display: inline-flex;
        max-width: 100%;
        white-space: nowrap;
        font-size: clamp(11px, 3.35vw, 14px);
        padding: 6px 12px 6px 10px;
        gap: 6px;
        line-height: 1.2;
        letter-spacing: -0.01em;
    }

    .qfk-static-hero__badge-dot {
        width: 7px;
        height: 7px;
    }

    .qfk-static-hero__title {
        font-size: clamp(26px, 7vw, 32px);
    }

    .qfk-static-hero__subtitle {
        font-size: clamp(18px, 5vw, 24px);
    }

    .qfk-static-hero h2.qfk-static-hero__subtitle {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .qfk-static-hero__text {
        font-size: 14px;
        margin-bottom: 16px;
        max-width: 100%;
    }

    .qfk-static-hero__ctas {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
        margin-bottom: 16px;
    }

    .qfk-static-hero__btn {
        width: 100%;
        gap: 12px;
    }

    .qfk-static-hero__features {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 8px 6px;
        width: 100%;
        max-width: 100%;
        margin: 0 0 14px;
        padding: 0;
    }

    .qfk-static-hero__feature {
        flex: 0 0 calc(50% - 3px);
        max-width: calc(50% - 3px);
        min-width: 0;
        padding: 6px 4px;
        gap: 6px;
        box-sizing: border-box;
    }

    .qfk-static-hero__feature:nth-child(1),
    .qfk-static-hero__feature:nth-child(2) {
        flex: 0 0 calc(50% - 3px);
        max-width: calc(50% - 3px);
    }

    .qfk-static-hero__feature--mobile-only {
        display: flex;
    }

    .qfk-static-hero__feature:nth-child(3),
    .qfk-static-hero__feature:nth-child(4),
    .qfk-static-hero__feature:last-child {
        flex: 0 0 calc(50% - 3px);
        max-width: calc(50% - 3px);
    }

    .qfk-static-hero__feature:not(:last-child) {
        padding-right: 4px;
        margin-right: 0;
        background-image: none;
    }

    .qfk-static-hero__feature-icon {
        width: 50px;
        height: 50px;
        padding: 5px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .qfk-static-hero__feature-text {
        font-size: 11px;
        line-height: 1.2;
        flex: 1 1 auto;
        min-width: 0;
    }

    .qfk-static-hero__feature-line {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .qfk-static-hero__trust {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 4px;
        box-sizing: border-box;
    }

    .qfk-static-hero__trust-label {
        font-size: 13px;
        padding: 0;
    }

    .qfk-static-hero__flags {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: center;
        gap: 10px 12px;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
    }

    .qfk-static-hero__flag-item {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .qfk-static-hero__flag {
        width: 40px;
        height: 40px;
        flex-shrink: 0;
    }

    .qfk-static-hero__flag-name {
        font-size: 11px;
        white-space: nowrap;
    }
}

@media only screen and (max-width: 479px) {
    .qfk-static-hero__slide.slider-three_banner-slide {
        min-height: clamp(380px, 102vw, 500px);
        padding-bottom: calc(52px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .qfk-static-hero__badge {
        font-size: clamp(10.5px, 3.1vw, 12.5px);
        padding: 5px 10px 5px 8px;
        gap: 5px;
    }

    .qfk-static-hero__flags {
        gap: 8px 10px;
    }

    .qfk-static-hero__feature {
        flex: 0 0 calc(50% - 3px);
        max-width: calc(50% - 3px);
    }

    .qfk-static-hero__feature--mobile-only {
        display: flex;
    }

    .qfk-static-hero__feature:nth-child(3),
    .qfk-static-hero__feature:nth-child(4),
    .qfk-static-hero__feature:last-child {
        flex: 0 0 calc(50% - 3px);
        max-width: calc(50% - 3px);
    }

    .qfk-static-hero__feature-text {
        font-size: 10px;
    }

    .qfk-static-hero__btn {
        height: 42px;
        min-height: 42px;
        white-space: normal;
        text-align: center;
        font-size: 14px;
    }

    .qfk-static-hero__btn i {
        font-size: 22px;
    }
}

/* Low-height desktop laptops (1366×768 and similar) */
@media only screen and (min-width: 1200px) and (max-width: 1440px) and (max-height: 820px) {
    .qfk-static-hero.slider-three {
        --qfk-low-hero-h: calc(100svh - 92px);
        height: var(--qfk-low-hero-h);
        max-height: var(--qfk-low-hero-h);
        min-height: var(--qfk-low-hero-h);
        overflow: hidden;
    }

    .qfk-static-hero__slide.slider-three_banner-slide {
        height: 100%;
        min-height: 0;
        padding-top: 4px;
        padding-bottom: 10px;
        box-sizing: border-box;
    }

    .qfk-static-hero__slide.slider-three_banner-slide .slider-three_banner-image {
        height: 100%;
        min-height: 100%;
    }

    .qfk-static-hero__slide.slider-three_banner-slide .slider-three_content-inner {
        padding-top: 20px;
    }

    .qfk-static-hero__badge {
        margin-bottom: 12px;
        font-size: 14px;
    }

    .qfk-static-hero__title {
        font-size: 46px;
        margin-bottom: 8px;
    }

    .qfk-static-hero h2.qfk-static-hero__subtitle {
        font-size: 30px;
        margin-bottom: 10px;
        width: 100%;
    }

    .qfk-static-hero__text {
        font-size: 16px;
        margin-bottom: 14px;
        line-height: 1.5;
    }

    .qfk-static-hero__ctas,
    .qfk-static-hero__features {
        margin-bottom: 14px;
    }

    .qfk-static-hero__btn {
        height: 46px;
        min-height: 46px;
        font-size: 15px;
        padding: 0 20px;
    }

    .qfk-static-hero__btn i {
        font-size: 22px;
    }

    .qfk-static-hero__btn--whatsapp i {
        font-size: 24px;
    }

    .qfk-static-hero__feature-icon {
        width: 48px;
        height: 48px;
        padding: 8px;
        border-radius: 12px;
    }

    .qfk-static-hero__feature-text {
        font-size: 13px;
    }

    .qfk-static-hero__trust-label {
        font-size: 14px;
    }

    .qfk-static-hero__flag {
        width: 36px;
        height: 36px;
    }

    .qfk-static-hero__flag-name {
        font-size: 13px;
    }
}

/* --- Entrance animations --- */
@keyframes qfk-hero-title-reveal {
    from {
        opacity: 0;
        transform: translate3d(0, 115%, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes qfk-hero-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes qfk-hero-fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes qfk-hero-scale-in {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .qfk-static-hero__badge {
        animation: qfk-hero-fade-up 0.5s ease-out both;
    }

    .qfk-static-hero__title-line-inner {
        animation: qfk-hero-title-reveal 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
        will-change: transform, opacity;
    }

    .qfk-static-hero__title-line:nth-child(1) .qfk-static-hero__title-line-inner {
        animation-delay: 0.08s;
    }

    .qfk-static-hero__title-line:nth-child(2) .qfk-static-hero__title-line-inner {
        animation-delay: 0.2s;
    }

    .qfk-static-hero__subtitle {
        animation: qfk-hero-fade-in 0.5s ease-out 0.42s both;
    }

    .qfk-static-hero__text {
        animation: qfk-hero-fade-in 0.5s ease-out 0.52s both;
    }

    .qfk-static-hero__ctas {
        animation: qfk-hero-scale-in 0.45s ease-out 0.6s both;
    }

    .qfk-static-hero__feature:nth-child(1) {
        animation: qfk-hero-fade-up 0.45s ease-out 0.68s both;
    }

    .qfk-static-hero__feature:nth-child(2) {
        animation: qfk-hero-fade-up 0.45s ease-out 0.76s both;
    }

    .qfk-static-hero__feature:nth-child(3) {
        animation: qfk-hero-fade-up 0.45s ease-out 0.84s both;
    }

    .qfk-static-hero__feature:nth-child(4) {
        animation: qfk-hero-fade-up 0.45s ease-out 0.92s both;
    }

    .qfk-static-hero__trust {
        animation: qfk-hero-fade-in 0.45s ease-out 1s both;
    }
}

@media (prefers-reduced-motion: reduce) {
    .qfk-static-hero__badge,
    .qfk-static-hero__title-line-inner,
    .qfk-static-hero__subtitle,
    .qfk-static-hero__text,
    .qfk-static-hero__ctas,
    .qfk-static-hero__feature,
    .qfk-static-hero__trust {
        animation: none !important;
    }

    .qfk-static-hero__btn {
        transition: none;
    }
}
