:root {
    --hc-equipment: #b5123e;
    --hc-software: #123b5d;
    --hc-ink: #101114;
    --hc-paper: #f5f5f3;
}

.hc-home-opening {
    width: 100%;
    background: #fff;
    padding: clamp(28px, 4vw, 64px) clamp(18px, 4vw, 48px);
}

.hc-home-opening__grid {
    width: min(1240px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 2.2vw, 30px);
}

.hc-feature {
    position: relative;
    display: grid;
    grid-template-rows: minmax(300px, 1.25fr) auto;
    min-width: 0;
    overflow: hidden;
    background: var(--hc-paper);
    border: 1px solid rgba(16,17,20,.10);
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(16,17,20,.06);
}


.hc-feature__media {
    position: relative;
    overflow: hidden;
    background: #ececea;
}

.hc-feature__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.16), transparent 48%);
    pointer-events: none;
}

.hc-feature__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .55s ease;
}

.hc-feature:hover .hc-feature__media img {
    transform: scale(1.018);
}

.hc-feature__media.is-empty {
    display: grid;
    place-items: center;
    min-height: 340px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.7), rgba(255,255,255,.05)),
        #e7e7e4;
}

.hc-feature__media.is-empty::after { display: none; }

.hc-feature__media.is-empty span {
    padding: 20px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .12em;
    opacity: .48;
}

.hc-feature__content {
    padding: clamp(28px, 4vw, 58px);
    background: #fff;
}

.hc-feature--equipment .hc-feature__content {
    border-top: 5px solid var(--hc-equipment);
}

.hc-feature--software .hc-feature__content {
    border-top: 5px solid var(--hc-software);
}

.hc-feature__kicker {
    display: block;
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .16em;
}

.hc-feature--equipment .hc-feature__kicker { color: var(--hc-equipment); }
.hc-feature--software .hc-feature__kicker { color: var(--hc-software); }

.hc-feature__title {
    max-width: 700px;
    margin: 0;
    font: inherit;
    font-size: clamp(30px, 3.2vw, 58px);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 800;
    color: var(--hc-ink);
}

.hc-feature__text {
    max-width: 620px;
    margin: 22px 0 0;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.55;
    color: rgba(16,17,20,.68);
}

.hc-feature__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
}

.hc-feature__price {
    font-size: clamp(18px, 2vw, 28px);
    color: var(--hc-ink);
}

.hc-feature__button {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding: 14px 0;
    color: var(--hc-ink);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-bottom: 2px solid currentColor;
}

.hc-feature--equipment .hc-feature__button:hover { color: var(--hc-equipment); }
.hc-feature--software .hc-feature__button:hover { color: var(--hc-software); }

@media (max-width: 860px) {
    .hc-home-opening__grid {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .hc-feature {
        grid-template-rows: minmax(260px, 60vw) auto;
    }
}

@media (max-width: 520px) {
    .hc-home-opening { padding: 20px 14px 30px; }
    .hc-home-opening__grid { gap: 16px; }
    .hc-feature { border-radius: 14px; }
    .hc-feature__content { padding: 28px 22px 32px; }
    .hc-feature__footer { align-items: flex-end; }
    .hc-feature__button { gap: 10px; }
}
