/* ── How to Rent — Frontend Section ── */

.htrx-flow {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    padding: 60px 0px 90px 0px;
}

.htrx-flow__canvas {
    position: relative;
    display: block;
    padding: 0;
    background: none;
    box-shadow: none;
}

.htrx-flow__canvas::before,
.htrx-flow__canvas::after {
    display: none;
}

.htrx-flow__intro {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    text-align: center;
}

.htrx-flow__heading {
    margin: 0;
    color: #0f172a;
    line-height: 0.98;
    letter-spacing: -0.04em;
    text-wrap: balance;
}

.htrx-flow__desc {
    margin: 20px 0 0;
    color: #4b5565;
    font-size: 1rem;
    line-height: 1.8;
}

.htrx-flow__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.htrx-flow-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    min-height: 100%;
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.htrx-flow-card:hover {
    transform: translateY(-6px);
    border-color: rgba(var(--theme-accent-rgb, 25, 168, 129), 0.28);
    box-shadow: 0 28px 54px rgba(15, 23, 42, 0.12);
}

.htrx-flow-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.htrx-flow-card__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    background: var(--theme-accent);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.htrx-flow-card__icon {
    font-size: 34px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 20px;
    color: var(--theme-accent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.htrx-flow-card__body {
    display: grid;
    align-content: start;
    gap: 12px;
}

.htrx-flow-card__title {
    margin: 0;
    color: #111827;
    font-size: 1.18rem;
    line-height: 1.3;
}

.htrx-flow-card__text {
    color: #5d6778;
    font-size: 0.96rem;
    line-height: 1.78;
}

.htrx-flow-card__text p {
    margin: 0 0 10px;
}

.htrx-flow-card__text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1080px) {
    .htrx-flow__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .htrx-flow__intro {
        margin-bottom: 22px;
    }

    .htrx-flow__grid {
        grid-template-columns: 1fr;
    }

    .htrx-flow-card {
        padding: 20px;
    }
}
