/* ============================================
   HEC CHECKUP CARDS
   ============================================ */

.hec-checkup-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    align-items: stretch;
}

.hec-checkup-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border-radius: 8px;
}

.hec-checkup-card__image-link {
    display: block;
    text-decoration: none;
    color: inherit;
    flex: 0 0 auto;
}

.hec-checkup-card__image {
    width: 100%;
    height: 260px;
    overflow: hidden;
    background: #f2f0ea;
    flex: 0 0 auto;
}

.hec-checkup-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hec-checkup-card__content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    padding: 24px 28px 28px;
}

.hec-checkup-card__title {
    margin: 0 0 14px;
    color: #212121;
    font-family: "Montserrat", Arial, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 128%;
    letter-spacing: -0.02em;
}

.hec-checkup-card__description {
    margin: 0;
    color: #212121;
    opacity: 0.7;
    font-family: "Google Sans", Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 152%;
    letter-spacing: 0;
}

.hec-checkup-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 0;
}

.hec-checkup-card__prices {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    min-width: 0;
}

.hec-checkup-card__old-price {
    display: inline-flex;
    align-items: center;
    color: #656565;
    font-family: "Google Sans", Arial, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 152%;
    text-decoration: line-through;
    white-space: nowrap;
}

.hec-checkup-card__price {
    display: inline-flex;
    align-items: center;
    color: #4E5B31;
    font-family: "Google Sans", Arial, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 152%;
    white-space: nowrap;
}

.hec-checkup-card__button {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 100px;
    background: #E2E868;
    color: #212121;
    text-decoration: none;
    font-size: 18px;
    line-height: 1;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.hec-checkup-card__button:hover,
.hec-checkup-card:hover .hec-checkup-card__button {
    background: #4E5B31;
    color: #ffffff;
    transform: translateX(2px);
}

.hec-checkup-card__button span {
    display: block;
    transform: translateY(-1px);
}

/* Tablet */
@media (max-width: 1024px) and (min-width: 768px) {
    .hec-checkup-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
        align-items: stretch;
    }

    .hec-checkup-card {
        height: auto;
        min-height: 0;
    }

    .hec-checkup-card__image-link {
        display: block;
        flex: 0 0 auto;
    }

    .hec-checkup-card__image {
        width: 100%;
        height: 240px !important;
        min-height: 240px;
        max-height: 240px;
        flex: 0 0 240px;
    }

    .hec-checkup-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hec-checkup-card__content {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 22px 24px 26px;
    }

    .hec-checkup-card__footer {
        margin-top: auto;
        padding-top: 0;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .hec-checkup-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hec-checkup-card {
        height: auto;
        min-height: 0;
    }

    .hec-checkup-card__image-link {
        display: block;
        flex: 0 0 auto;
    }

    .hec-checkup-card__image {
        width: 100%;
        height: 220px !important;
        min-height: 220px;
        max-height: 220px;
        flex: 0 0 220px;
    }

    .hec-checkup-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hec-checkup-card__content {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding: 20px;
    }

    .hec-checkup-card__footer {
        margin-top: 28px;
        padding-top: 0;
    }
}