/*
 * components/hero.css — Hero section + shared brand band (BEM)
 *
 * Blocks: .band  .hero  .hero-visual
 */

/* Brand band: navy → blue → green gradient with rings artwork */
.band {
    position: relative;
    color: var(--clr-white);
    background-color: var(--clr-deep-blue);
    background-image: url("../../images/home/rings-hero.png"), var(--grad-band);
    background-size: 100% auto, cover;
    background-position: top center, center;
    background-repeat: no-repeat;
}

.hero__container {
    display: grid;
    grid-template-columns: 632px 1fr;
    gap: 24px;
    min-height: 798px;
    padding-top: 95px;
    padding-bottom: 96px;
}

.hero__heading {
    font-size: 54px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--clr-white);
}

.hero__description {
    margin-top: 83px;
    font-size: 19px;
    line-height: 1.6;
    color: var(--clr-on-dark);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 46px;
}

/* ── Illustration ──────────────────────────────────────── */

.hero-visual {
    align-self: start;
    margin-top: 33px;
    margin-right: calc(var(--gutter) * -1 + 16px);
}

.hero-visual__art {
    width: 100%;
    max-width: 580px;
    height: auto;
    overflow: visible;
}

.hero-visual__chip {
    transform-box: fill-box;
    animation: hero-float var(--dur-hero) var(--ease-in-out) infinite;
}

.hero-visual__chip--promo { animation-delay: calc(var(--dur-hero) / -2); }

@keyframes hero-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* ── Tablet ────────────────────────────────────────────── */

@media (max-width: 1099.98px) {
    .hero__container {
        grid-template-columns: 1fr;
        gap: 36px;
        min-height: 0;
        padding-top: 42px;
        padding-bottom: 56px;
    }

    .hero__heading { font-size: 42px; }
    .hero__description { margin-top: 40px; font-size: 16px; }
    .hero__actions { margin-top: 32px; }

    .hero-visual {
        margin: 0 auto;
        width: 100%;
        max-width: 580px;
    }
}

/* ── Mobile ────────────────────────────────────────────── */

@media (max-width: 767.98px) {
    .band { background-size: 200% auto, cover; }
    .hero__heading { font-size: 29px; }
    .hero__description { margin-top: 21px; }
    .hero__actions { flex-direction: column; gap: 12px; }
    .hero__actions .btn { width: 100%; }
}
