/* Homepage headline preview: retain all words, image assets and other page sections. */
.home-hero-side .home-hero-image-card {
    width: min(100%, 680px);
    justify-self: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 50px -36px rgba(15, 23, 42, 0.3);
}

.home-hero {
    --home-hero-heading-line: calc(clamp(2.5rem, 5vw, 4.7rem) * 1.06);
}

html[lang="en"] .home-hero {
    --home-hero-heading-line: calc(clamp(2.35rem, 3.45vw, 3.6rem) * 1.08);
}

.home-hero .container { max-width: 1280px; }

.home-hero-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    align-items: start;
    gap: 1.4rem 40px;
}

.home-hero-copy { grid-column: 1 / -1; }
.home-hero-copy h1 { margin-bottom: 0; }

.home-hero-content {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
}

.home-hero-content p {
    max-width: 660px;
    color: var(--gray-600);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

/* Leave breathing room below the first title line and beside the description. */
.home-hero-side {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    margin-top: calc(-1 * (var(--home-hero-heading-line) + 1.4rem) + 24px);
}

@media (max-width: 950px) {
    .home-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
    .home-hero-content { grid-column: 1; grid-row: 2; text-align: center; }
    .home-hero-content p { margin-left: auto; margin-right: auto; }
    .home-hero-side { grid-column: 1; grid-row: 3; width: min(100%, 560px); margin: 0 auto; }
}

/* Keep the original product scene; its baked-in logo strip is outside this frame. */
.home-hero-scene {
    position: relative;
    aspect-ratio: 31 / 16;
    overflow: hidden;
    background: #f8fafc;
}

.home-hero-image-card .home-hero-scene img {
    position: absolute;
    top: -21%;
    right: -1%;
    display: block;
    width: 132%;
    max-width: none;
    height: auto;
    border-radius: 0;
}

.home-hero-brands {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 76px;
    padding: 16px 22px;
    border-top: 1px solid var(--gray-200);
    background: #fff;
}

.home-hero-brand-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    max-width: 136px;
    padding: 8px 12px;
    border: 1px solid rgba(229, 90, 44, 0.25);
    border-radius: 8px;
    background: #fff0e7;
    color: #a93612;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.4;
    text-align: center;
}

.home-hero-image-card .home-hero-brands img {
    position: static;
    flex-shrink: 0;
    height: auto;
    border-radius: 0;
}

.home-hero-image-card .home-hero-nayax { width: 107px; }
.home-hero-image-card .home-hero-itl { width: 148px; }

.home-hero-brands i {
    font-size: 12px;
    color: var(--gray-400);
}

.home-hero-brands:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: -5px;
}

@media (max-width: 600px) {
    .home-hero-brands { min-height: 66px; gap: 8px; padding: 12px; }
    .home-hero-brand-label { max-width: 88px; padding: 6px 8px; font-size: 12px; }
    .home-hero-image-card .home-hero-nayax { width: 76px; }
    .home-hero-image-card .home-hero-itl { width: 104px; }
    .home-hero-brands i { display: none; }
}

@media (max-width: 380px) {
    .home-hero-brands { gap: 8px; padding: 10px 8px; }
    .home-hero-brand-label { max-width: 78px; padding: 6px; font-size: 11px; }
    .home-hero-image-card .home-hero-nayax { width: 60px; }
    .home-hero-image-card .home-hero-itl { width: 84px; }
}
