﻿.gm-hero {
    position: relative;
    padding: 10px 0 18px;
}

@media (max-width: 768px) {
    .gm-hero {
        padding: 0 0 2px;
    }
}

.gm-hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(420px, 540px) minmax(280px, 380px);
    column-gap: 48px;
    row-gap: 18px;
    align-items: center;
    min-height: 430px;
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 8px 10px;
}

@media (max-width: 768px) {
    .gm-hero__inner {
        grid-template-columns: 1fr;
        min-height: 320px;
        gap: 10px;
        max-width: none;
        margin: 0;
        padding: 0 0 2px;
    }
}

.gm-hero__eyebrow-row {
    position: relative;
    z-index: 4;
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    margin-bottom: 2px;
    transform: translateY(-6px);
}

@media (max-width: 768px) {
    .gm-hero__eyebrow-row {
        margin-bottom: 4px;
        transform: translateY(-2px);
    }
}

.gm-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 48px;
    background: rgba(255, 250, 244, 0.96);
    border: 1px solid rgba(185, 119, 43, 0.28);
    color: #7a5b35;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.02em;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(44, 24, 8, 0.04);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 10% 100%);
}

@media (max-width: 768px) {
    .gm-hero__eyebrow {
        min-height: 38px;
        padding: 0 44px;
    }
}

.gm-hero__content {
    position: relative;
    z-index: 2;
    grid-column: 1;
    width: 100%;
    max-width: 540px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: center;
    padding-left: 8px;
}

@media (max-width: 768px) {
    .gm-hero__content {
        grid-column: auto;
        width: 100%;
        max-width: none;
        padding-left: 0;
    }
}

.gm-hero h1 {
    margin: 0 0 14px;
    max-width: 9ch;
    color: var(--gm-text);
    font-size: clamp(3.6rem, 5.8vw, 5.2rem);
    line-height: 0.93;
    letter-spacing: -0.05em;
}

@media (max-width: 768px) {
    .gm-hero h1 {
        margin: 0 0 10px;
        max-width: 8ch;
        font-size: clamp(2.1rem, 9.5vw, 3.3rem);
        line-height: 0.96;
        letter-spacing: -0.045em;
    }
}

.gm-hero p {
    margin: 0;
    margin-top: 14px;
    max-width: 27ch;
    color: var(--gf-text-soft);
    font-size: 1.2rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .gm-hero p {
        max-width: 30ch;
        font-size: 1.1rem;
        line-height: 1.58;
    }
}

.gm-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 18px;
}

@media (max-width: 768px) {
    .gm-hero__actions {
        width: 100%;
        align-items: stretch;
        gap: 8px;
        margin-top: 12px;
    }
}

.gm-hero__cta {
    min-width: 260px;
    min-height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 28px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--gm-accent) 0%, var(--gm-accent-strong) 100%);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(207, 24, 56, 0.22);
    cursor: pointer;
}

@media (max-width: 768px) {
    .gm-hero__cta {
        width: 100%;
        min-width: 0;
        min-height: 54px;
        padding: 0 22px;
        border-radius: 16px;
        font-size: 1.02rem;
    }
}

.gm-hero__cta-arrow {
    display: inline-flex;
    align-items: center;
    font-size: 1.05rem;
    line-height: 1;
}
@media (max-width: 768px) {
    .gm-hero__cta-arrow {
        font-size: 1rem;
    }
}

@media (hover: hover) and (pointer: fine) {
    .gm-hero__cta {
        transition: transform 0.08s ease, box-shadow 0.18s ease, filter 0.18s ease;
    }

    .gm-hero__cta:hover {
        transform: translateY(-1px);
        filter: brightness(1.04);
        box-shadow: 0 14px 30px rgba(207, 24, 56, 0.26);
    }

    .gm-hero__cta:hover .gm-hero__cta-arrow {
        animation: gmHeroArrowNudge 0.6s ease-out;
    }
}

@keyframes gmHeroArrowNudge {
    0% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(4px);
    }
    60% {
        transform: translateY(1px);
    }
    100% {
        transform: translateY(0);
    }
}

.gm-hero__cta-label {
    letter-spacing: -0.02em;
}

.gm-hero__trust {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 20px;
    color: var(--gf-text-soft);
    font-size: 0.94rem;
    font-weight: 600;
}

@media (max-width: 768px) {
    .gm-hero__trust {
        justify-content: center;
        align-self: center;
        font-size: 0.88rem;
    }
}

.gm-hero__trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(207, 24, 56, 0.10);
    color: rgba(207, 24, 56, 0.78);
    font-size: 0.72rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    .gm-hero__trust-icon {
        width: 18px;
        height: 18px;
    }
}

.gm-hero__bg-icon {
    --gm-gift-size: 500px;
    position: absolute;
    top: 14px;
    right: 28px;
    width: var(--gm-gift-size);
    height: var(--gm-gift-size);
    opacity: 0.35;
    z-index: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .gm-hero__bg-icon {
        --gm-gift-size: 150px;
        top: 32px;
        right: -14px;
    }
}

.gm-hero__gift-svg {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
@media (max-width: 768px) {
    .gm-hero__gift-svg {
        width: 100%;
        height: 100%;
    }
}

.gm-hero__chips {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}
@media (max-width: 768px) {
    .gm-hero__chips {
        inset: 0;
    }
}

.gm-hero-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid rgba(216, 195, 172, 0.85);
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.88);
    color: var(--gf-text-soft);
    font-size: 0.95rem;
    font-weight: 700;
    z-index: 4;
    pointer-events: auto;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(44, 24, 8, 0.06);
}
@media (max-width: 768px) {
    .gm-hero-chip {
        min-height: 32px;
        padding: 0 11px;
        font-size: 0.82rem;
    }
}

@media (hover: hover) and (pointer: fine) {
    .gm-hero-chip {
        transition: transform 0.08s ease, box-shadow 0.18s ease, filter 0.18s ease;
    }

    .gm-hero-chip:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 26px rgba(44, 24, 8, 0.10);
        filter: brightness(1.02);
    }
}

.gm-hero-chip.chip-1 {
    top: 178px;
    right: 354px;
}
@media (max-width: 768px) {
    .gm-hero-chip.chip-1 {
        top: 136px;
        right: 136px;
    }
}

.gm-hero-chip.chip-2 {
    top: 108px;
    right: 94px;
}
@media (max-width: 768px) {
    .gm-hero-chip.chip-2 {
        top: 76px;
        right: 34px;
    }
}

.gm-hero-chip.chip-3 {
    top: 264px;
    right: 114px;
}

@media (max-width: 768px) {
    .gm-hero-chip.chip-3 {
        top: 186px;
        right: 18px;
    }
}

.gm-hero-chip.chip-4 {
    top: 332px;
    right: 206px;
}

@media (max-width: 768px) {
    .gm-hero-chip.chip-4 {
        display: none;
    }
}