.hero {
    background-color: var(--navy);
    color: #ffffff;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: center;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 72px 32px 80px;

    &:not(:has(.hero-feature)) {
        grid-template-columns: 1fr;
    }
}

.hero h1 {
    font-weight: 800;
    font-size: 56px;
    line-height: 1.05;
    letter-spacing: -0.02em;
    text-wrap: balance;

    em {
        font-style: normal;
        color: var(--gold);
    }
}

.hero-copy p {
    margin-top: 20px;
    max-width: 32em;
    font-size: 20px;
    line-height: 1.55;
    color: var(--navy-text);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.hero-feature {
    position: relative;
    display: block;

    img {
        display: block;
        width: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        background-size: cover;
        background-position: center;
        border-radius: var(--radius);
        box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.6);
    }
}

.hero-feature-tag {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(13, 27, 47, 0.92);
    border-radius: 9px;
    font-size: 15px;
    line-height: 1.3;
    color: var(--navy-text);

    b {
        display: block;
        font-family: var(--font-display);
        font-size: 22px;
        color: #ffffff;
    }
}

.hero-feature-price {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 30px;
    color: var(--gold);
    white-space: nowrap;
}

.info-strip {
    background-color: var(--red);
    color: #ffffff;
}

.info-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 24px;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 18px 32px;
    font-weight: 500;
    font-size: 17px;

    > div {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .icon {
        color: var(--gold);
    }
}

.info-strip-status::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.info-strip-status.is-open::before {
    background: #7dff9b;
    box-shadow: 0 0 0 4px rgba(125, 255, 155, 0.25);
}

.info-strip-status.is-closed::before {
    background: var(--navy-text);
}

.inventory {
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 88px 32px 72px;
    width: 100%;
}

#lot {
    display: block;
}

.inventory-head {
    display: flex;
    flex-wrap: wrap;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;

    h2 {
        font-weight: 800;
        font-size: 40px;
        line-height: 1.1;
        letter-spacing: -0.015em;
        color: var(--navy);
    }

    p {
        margin-top: 6px;
        font-size: 18px;
        color: var(--ink-soft);
    }
}

.inventory-sort {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        padding: 0 18px;
        border: 2px solid #c8cfd9;
        border-radius: 999px;
        background-color: #ffffff;
        font-weight: 700;
        font-size: 16px;
        transition: border-color 160ms ease-out;

        &:hover {
            border-color: var(--navy);
        }

        &[aria-current] {
            border-color: var(--navy);
            background-color: var(--navy);
            color: #ffffff;
        }
    }
}

.repair {
    background-color: #ffffff;
}

.repair-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    max-width: var(--page-width);
    margin: 0 auto;
    padding: 80px 32px;

    h2 {
        font-weight: 800;
        font-size: 40px;
        line-height: 1.12;
        letter-spacing: -0.015em;
        color: var(--navy);
        text-wrap: balance;
    }

    p {
        max-width: 36em;
        font-size: 18px;
        line-height: 1.55;
        color: #3d4148;
    }

    .button {
        margin-top: 24px;
    }
}

@media (width < 900px) {
    .hero-inner,
    .repair-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 40px 16px 48px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-copy p {
        font-size: 18px;
    }

    .hero-feature-tag {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 12px 16px;

        b {
            font-size: 18px;
        }
    }

    .hero-feature-price {
        font-size: 24px;
    }

    .info-strip-inner {
        flex-direction: column;
        padding: 16px;
        font-size: 16px;
    }

    .inventory {
        padding: 48px 16px;
    }

    .inventory-head h2,
    .repair-inner h2 {
        font-size: 30px;
    }
}
