/* ===========================
   БАЗА (как в o-kompanii)
   =========================== */

.rent-terms {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1f2937;
    line-height: 1.6;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.rent-terms__hero {
    text-align: center;
    margin-bottom: 40px;
    border: none;
    background: transparent;
}

.rent-terms__hero-inner {
    display: block;
    /* Убираем flex */
    padding: 0;
}

.rent-terms__hero-text {
    max-width: 100%;
    margin: 0 auto;
}

.rent-terms__eyebrow {
    display: none;
    /* Скрываем "Условия аренды" мелким шрифтом */
}

/* ЗАГОЛОВОК КАК В O-KOMPANII */
.rent-terms__title {
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
    color: #1f2937;
}

.rent-terms__title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #f9c115;
    /* Site yellow */
    border-radius: 2px;
}

.rent-terms__lead {
    margin-top: 24px;
    font-size: 16px;
    color: #374151;
}

/* Скрываем старые блоки, если они остались */
.rent-terms__highlights {
    display: none;
}


/* ===========================
   ОБЩИЕ КАРТОЧКИ УЛУЧШЕННЫЕ
   =========================== */

/* Убираем dashed и делаем красивые карточки для всех блоков */
.rent-terms__section-col,
.rent-terms__step-item,
.rent-terms__faq-item,
.rent-terms__cta-inner {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    /* Тонкая серая рамка */
    border-radius: 5px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    /* Мягкая тень */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rent-terms__section-col:hover,
.rent-terms__step-item:hover,
.rent-terms__faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* ===========================
   ШАГИ: ВЕРТИКАЛЬНЫЙ ТАЙМЛАЙН
   =========================== */

.rent-terms__section--steps {
    margin-bottom: 60px;
}

.rent-terms__section-header {
    max-width: 720px;
    margin-bottom: 32px;
}

.rent-terms__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 24px;
    /* Убираем вертикальную линию для мобильных, добавим для десктопа если нужно, но карточками лучше */
}

/* Сделаем шаги с желтым акцентом */
.rent-terms__step-item {
    position: relative;
    padding: 24px 24px 24px 60px;
    /* Место под цифру */
    border: none;
    overflow: hidden;
}

.rent-terms__step-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #f9c115;
}

.rent-terms__step-badge {
    position: absolute;
    left: 16px;
    top: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f9c115;
    color: #1f2937;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(249, 193, 21, 0.3);
}

.rent-terms__step-title {
    display: block;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
    color: #111;
}

.rent-terms__step-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

/* ===========================
   БЛОКИ "ОПЛАТА / ДОКУМЕНТЫ"
   =========================== */

.rent-terms__section--grey {
    margin-bottom: 60px;
}

.rent-terms__section--grey .rent-terms__section-inner {
    display: grid;
    gap: 24px;
}

/* Карточки оплаты и документов */
.rent-terms__section--grey .rent-terms__section-col {
    background: #ffffff;
    border-style: solid;
    /* Убираем dashed */
    padding: 32px;
}

.rent-terms__subtitle {
    position: relative;
    margin: 0 0 20px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 800;
    padding-left: 0;
    /* Убираем отступ, линия снизу будет лучше */
}

.rent-terms__subtitle::before {
    display: none;
    /* Убираем желтую палочку слева */
}

.rent-terms__subtitle::after {
    content: "";
    /* Желтое подчеркивание */
    display: block;
    width: 40px;
    height: 3px;
    background: #f9c115;
    margin-top: 8px;
    border-radius: 2px;
}

.rent-terms__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.rent-terms__list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}

.rent-terms__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #f9c115;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.6;
    background: none;
    width: auto;
    height: auto;
}

/* ===========================
   FAQ
   =========================== */

.rent-terms__section--faq {
    margin-bottom: 60px;
}

.rent-terms__faq-grid {
    display: grid;
    gap: 24px;
    margin-top: 24px;
}

.rent-terms__faq-item {
    padding: 24px;
    border: 1px solid #e5e7eb;
}

.rent-terms__faq-title {
    margin: 0 0 10px;
    font-size: 17px;
    font-weight: 700;
    color: #111;
}

.rent-terms__faq-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
}

/* ===========================
   CTA
   =========================== */

.rent-terms__cta-inner {
    padding: 40px;
    border: 2px solid #f9c115;
    /* Желтая рамка */
    box-shadow: 0 10px 30px rgba(249, 193, 21, 0.1);
}

.rent-terms__cta-title {
    margin: 0 0 12px;
    font-size: 24px;
    font-weight: 800;
}

.rent-terms__cta-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
}

/* ===========================
   АДАПТИВ
   =========================== */

@media (min-width: 768px) {
    .rent-terms {
        padding-top: 40px;
        padding-bottom: 80px;
    }

    .rent-terms__title {
        /* font-size: 40px; */
        /* Крупнее */
    }

    /* Сетка для оплаты/документов */
    .rent-terms__section--grey .rent-terms__section-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Сетка FAQ */
    .rent-terms__faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Шаги в 2 колонки на планшете? или оставим список?
       Давайте сделаем сетку 2x2 для шагов на десктопе, это современно */
    .rent-terms__steps {
        grid-template-columns: repeat(2, 1fr);
    }
}