/* ── How to Rent — Frontend Section ── */
/* Exact match: keflavikcar.com reference, accent #19A881 */

.htr-front {
    padding: 40px 0;
    background: #fff;
}

.htr-front__inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* ── Section heading ── */
.htr-front__header {
    text-align: center;
    margin-bottom: 56px;
}

.htr-front__heading {
    color: inherit;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
    line-height: 1.25;
}

.htr-front__heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #19A881 0%, #15c49a 100%);
    border-radius: 2px;
}

.htr-front__desc {
    max-width: 680px;
    margin: 20px auto 0;
    line-height: 1.7;
}

/* ── Steps grid ── */
.htr-front-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* ── Step card ── */
.htr-front-step {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 50px 15px 28px;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.htr-front-step:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(25, 168, 129, 0.15);
    border-color: #19A881;
}

/* ── Step number ── */
.htr-front-step__num {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #19A881 0%, #15c49a 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(25, 168, 129, 0.3);
}

/* ── Icon ── */
.htr-front-step__icon {
    font-size: 42px !important;
    color: #19A881;
    margin-bottom: 16px;
}

/* ── Title ── */
.htr-front-step__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: inherit;
    margin-bottom: 10px;
    line-height: 1.25;
    margin-top: 0;
}

/* ── Description ── */
.htr-front-step__text {
    font-size: 0.93rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.htr-front-step__text p {
    margin: 0 0 8px;
}

.htr-front-step__text p:last-child {
    margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .htr-front-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .htr-front {
        padding: 56px 0;
    }
    .htr-front__heading {
        font-size: 1.5rem;
    }
    .htr-front__header {
        margin-bottom: 36px;
    }
    .htr-front-steps {
        grid-template-columns: 1fr;
    }
}
