/* Одиночные направления / услуги */

article.rovno-cpt-single {
    padding: 0 !important;
}

.rovno-cpt-single__sections {
    width: 100%;
}

/* Краткий текст */
.rovno-cpt-brief {
    margin-top: -30px;
    margin-bottom: 55px;
}

.rovno_service .rovno-cpt-brief {
    margin-bottom: 32px;
}

.rovno-cpt-brief__inner {
    max-width: 1010px;
    margin: 0 auto;
    text-align: center;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 500;
    color: #3F3C42;
}

.rovno_service .rovno-cpt-brief__inner {
    max-width: 840px
}

.rovno-cpt-brief__inner p {
    margin: 0 0 1em;
}

.rovno-cpt-brief__inner p:last-child {
    margin-bottom: 0;
}

.rovno-cpt-brief__inner strong {
    font-weight: 700;
}

/* Что мы предлагаем */
.rovno-cpt-offers {
    margin-bottom: 46px;
}

.rovno-cpt-offers__box {
    background: #EEE315;
    border-radius: 32px;
    padding: 36px 16px;
}

.rovno-cpt-offers__title {
    margin: 0 0 36px;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    color: #3F3C42;
    padding-left: 36px;
}

.rovno-cpt-offers__grid {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.rovno-cpt-offers__item {
    margin: 0;
    background: #fff;
    border-radius: 32px;
    padding: 23px 36px;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.rovno-cpt-offers__text {
    font-size: 24px;
    line-height: 1.35;
    font-weight: 500;
    color: #3F3C42;
}

/* Наши преимущества */
.rovno-cpt-advantages {
    margin: 0;
}

.rovno-cpt-advantages__title {
    margin: 0 0 46px;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.1;
    color: #757575;
}

.rovno-cpt-advantages__grid {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 22px;
}

.rovno-cpt-advantages__item {
    margin: 0;
    background: #fff;
    border: 1px solid var(--bento, #EEEEEE);
    border-radius: 32px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.rovno-cpt-advantages__icon-wrap {
    flex: 0 0 40px;
    line-height: 0;
}

.rovno-cpt-advantages__icon {
    display: block;
    width: 40px;
    height: 40px;
}

.rovno-cpt-advantages__body {
    flex: 1 1 auto;
    min-width: 0;
}

.rovno-cpt-advantages__item-title {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.25;
    color: #3F3C42;
    margin: 0 0 4px;
}

.rovno-cpt-advantages__item-desc {
    font-size: 16px;
    line-height: 1.35;
    color: #757575;
}

@media (max-width: 1024px) {
    .rovno-cpt-advantages {
        padding: 0;
    }

    .rovno-cpt-advantages__grid {
        gap: 16px;
    }

    .rovno-cpt-advantages__title {
        font-size: 32px;
        line-height: 32px;
        margin-bottom: 30px;
    }

    .rovno-cpt-advantages__item {
        border-radius: 16px;
        padding: 18px 24px;
        gap: 20px;
    }

    .rovno-cpt-advantages__item-title {
        font-size: 18px;
        line-height: 22px;
        margin: 0 0 4px;
    }

    .rovno-cpt-advantages__item-desc {
        font-size: 14px;
        line-height: 16px;
    }

    .rovno-cpt-advantages__icon-wrap {
        flex: 0 0 30px;
    }

    .rovno-cpt-advantages__icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 767px) {
    .rovno-cpt-advantages__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rovno-cpt-advantages__title {
        font-size: 24px;
        line-height: 24px;
        margin-bottom: 16px;
    }

    .rovno-cpt-advantages__item {
        gap: 18px;
    }
}

/* =========================================================
 * Блок «Виды…» (услуги): bento / тёмная сетка
 * ========================================================= */
.rovno-types-block {
    padding: 0px 21px;
    margin: 0 0 60px;
}


.rovno-types-block__bento {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 32px;
}

.rovno-types-block__bento-head {
    background: #003C8D;
    border-radius: 32px;
    padding: 32px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.rovno-types-block__bento-head-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    color: #fff;
}

.rovno-types-block__bento-head-desc {
    margin: 12px 0 0 0 !important;
    font-size: 16px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}

.rovno-types-block__dark-header {
    margin: 0 0 28px;
    text-align: center;
}

.rovno-types-block__dark-subtitle {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.35;
    color: #9a9a9a;
}

.rovno-types-block__bento-card {
    position: relative;
    background-color: #fff;
    border-radius: 32px;
    border: 1px solid #eee;
    padding: 32px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rovno-types-block__bento-card--has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rovno-types-block__light-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 0;
}

.rovno-types-block__bento-card--has-bg .rovno-types-block__bento-icon,
.rovno-types-block__bento-card--has-bg .rovno-types-block__bento-body {
    position: relative;
    z-index: 1;
}

/* Иконка справа сверху (абсолютно) */
.rovno-types-block__bento-card--icon-top-right {
    position: relative;
}

.rovno-types-block__bento-card--icon-top-right .rovno-types-block__bento-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 64px;
    height: 64px;
    line-height: 0;
}


/* Иконка слева сверху — в потоке, над текстом */
.rovno-types-block__bento-card--icon-top-left .rovno-types-block__bento-icon {
    position: static;
    width: 64px;
    height: 64px;
    margin: 0 0 12px;
    line-height: 0;
    flex-shrink: 0;
}

.rovno-types-block__bento-card--icon-top-left .rovno-types-block__bento-body {
    margin-top: auto;
    padding-top: 0;
}

.rovno-types-block__bento-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-shadow: none !important;
}

.rovno-types-block__bento-body {
    min-width: 0;
    margin-top: auto;
}

.rovno-types-block__bento-card-title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    color: #3F3C42;
}

.rovno-types-block__bento-card--icon-top-right .rovno-types-block__bento-card-title {
    padding-right: 60px;
}

.rovno-types-block__bento-card-desc {
    margin: 0;
    font-size: 16px;
    line-height: 18px;
    color: #757575;
    margin: 0 !important;
}

/* Светлый в потоке: текст → иконка, сетка 24 */
.rovno-types-block__flow {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 16px;
}

.rovno-types-block__flow-head {
    border-radius: 16px;
    padding: 36px;
    min-height: 200px;
    border: 1px solid #eee;
    display: flex;
    align-items: flex-end;
}

.rovno-types-block__flow-head--blue {
    background: #003C8D;
}

.rovno-types-block__flow-head--blue .rovno-types-block__flow-head-title {
    color: #fff;
}

.rovno-types-block__flow-head--yellow {
    background: #EEE315;
}

.rovno-types-block__flow-head--yellow .rovno-types-block__flow-head-title {
    color: #171717;
}

.rovno-types-block__flow-head-title {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 36px;
}

.rovno-types-block__flow-head-desc {
    margin: 12px 0 0;
    font-size: 16px;
    line-height: 1.35;
}

.rovno-types-block__flow-head--blue .rovno-types-block__flow-head-desc {
    color: rgba(255, 255, 255, 0.92);
}

.rovno-types-block__flow-head--yellow .rovno-types-block__flow-head-desc {
    color: rgba(23, 23, 23, 0.85);
}

.rovno-types-block__flow-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
    padding: 32px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rovno-types-block__flow-card-title {
    margin: 0 0 9px;
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    color: #3F3C42;
}

.rovno-types-block__flow-card-desc {
    margin: 0 0 77px !important;
    font-size: 16px;
    line-height: 18px;
    color: #757575;
    max-width: 416px;
}

.rovno-types-block__flow-icon {
    margin-top: auto;
    width: 128px;
    height: 128px;
    line-height: 0;
    flex-shrink: 0;
}

.rovno-types-block__flow-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-shadow: none !important;
}

/* Тёмная сетка с фото */
.rovno-types-block__dark-title {
    margin: 0;
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    color: #3F3C42;
}

.rovno-types-block__dark-title span {
    color: #757575;
}

.rovno-types-block__dark-grid {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 16px;
}

.rovno-types-block__dark-item {
    margin: 0;
    min-width: 0;
    display: flex;
}

.rovno-types-block__dark-card {
    position: relative;
    display: flex;
    flex: 1;
    width: 100%;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 280px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    text-decoration: none;
    padding: 36px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

a.rovno-types-block__dark-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.45);
}

.rovno-types-block__dark-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 0;
}

.rovno-types-block__dark-link-icon {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    color: #fff;
    line-height: 0;
    margin-bottom: auto;
}

.rovno-types-block__dark-label {
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #fff;
    letter-spacing: -0.02em;
}

@media (max-width: 1024px) {
    .rovno-cpt-brief {
        padding: 0;
        margin: -10px 0 50px 0 !important;
    }

    .rovno-cpt-brief__inner {
        font-size: 18px;
    }

    .rovno-cpt-offers__box {
        padding: 25px 22px 22px 22px;
    }

    .rovno-cpt-offers__title {
        font-size: 32px;
        line-height: 32px;
        padding-left: 24px;
        margin: 0 0 18px;
    }

    .rovno-cpt-offers__grid {
        gap: 24px;
    }

    .rovno-cpt-offers__item {
        padding: 17px 24px;
        min-height: 0;
        border-radius: 23px;
    }

    .rovno-cpt-offers__text {
        font-size: 18px;
    }

    .rovno-types-block {
        padding: 0;
        margin-bottom: 30px;
    }

    .rovno-types-block__flow-head {
        padding: 24px;
    }

    .rovno-types-block__flow-head-title,
    .rovno-types-block__dark-title {
        font-size: 28px;
        line-height: 28px;
    }

    .rovno-types-block__flow-card {
        padding: 24px;
        min-height: 175px;
    }

    .rovno-types-block__flow-card-title {
        font-size: 18px;
        line-height: 22px;
        margin: 0 0 6px;
    }

    .rovno-types-block__flow-card-desc {
        font-size: 14px;
        line-height: 16px;
        margin: 0 0 32px !important;
    }

    .rovno-types-block__flow-icon {
        width: 90px;
        height: 90px;
    }

    .rovno-faq__item-header {
        font-size: 18px;
        padding: 16px 20px;
    }

    .rovno-faq__item-answer {
        font-size: 16px;
        padding: 20px 24px;
    }

    .rovno-types-block__bento {
        gap: 16px 24px;
    }

    .rovno-types-block__bento-head {
        padding: 24px;
        border-radius: 16px;
    }

    .rovno-types-block__bento-head-title {
        font-size: 18px;
        line-height: 22px;
    }

    .rovno-types-block__bento-head-desc {
        font-size: 14px;
        line-height: 16px;
        margin: 4px 0 0 0 !important;
    }

    .rovno-types-block__bento-card {
        padding: 16px;
        min-height: 175px;
        border-radius: 16px;
    }

    .rovno-types-block__bento-card-title {
        font-size: 18px;
        line-height: 22px;
        margin: 0 0 4px;
    }

    .rovno-types-block__bento-card-desc {
        font-size: 13px;
        line-height: 14px;
    }

    .rovno-types-block__bento-icon {
        width: 46px;
        height: 46px;
    }

    .rovno-types-block__bento-card--icon-top-right .rovno-types-block__bento-card-title {
        padding-left: 0;
    }

    .rovno-types-block__bento-card--icon-top-right .rovno-types-block__bento-card-desc {
        margin: 0 !important;
    }

    .rovno-types-block__dark-card {
        min-height: 175px;
        padding: 24px;
    }

    .rovno-types-block__dark-label {
        font-size: 18px;
        line-height: 22px;
    }

    .rovno-types-block__dark-link-icon svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 767px) {

    .rovno-cpt-brief {
        margin: -35px 0 32px 0 !important;
    }

    .rovno-types-block__bento,
    .rovno-types-block__flow,
    .rovno-types-block__dark-grid {
        grid-template-columns: 1fr;
    }

    .rovno-types-block__bento-head,
    .rovno-types-block__bento-card,
    .rovno-types-block__flow-head,
    .rovno-types-block__flow-card,
    .rovno-types-block__dark-item {
        grid-column: auto !important;
    }

    .rovno-types-block__bento-head,
    .rovno-types-block__flow-head {
        min-height: auto;
        padding: 18px;
        justify-content: center;
    }

    .rovno-types-block__flow-head-title,
    .rovno-types-block__dark-title,
    .rovno-types-block__bento-head-title {
        font-size: 18px;
        line-height: 22px;
        text-align: center;
    }

    .rovno-types-block__flow-card {
        padding: 16px 60px 16px 16px;
        min-height: auto;
    }

    .rovno-types-block__flow-card-desc {
        margin: 0 !important;
    }

    .rovno-types-block__flow-icon {
        width: 32px;
        height: 32px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 16px;
    }

    .rovno-cpt-offers__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rovno-cpt-brief__inner {
        text-align: left;
    }

    .rovno-cpt-offers__box {
        padding: 0;
        background: transparent;
        border-radius: 0;
    }

    .rovno-cpt-offers__title {
        font-size: 24px;
        line-height: 24px;
        padding-left: 0;
        margin: 0 0 24px;
    }

    .rovno-cpt-offers__grid {
        gap: 16px;
    }

    .rovno-cpt-offers__item {
        padding: 21px 24px;
        min-height: 0;
        border-radius: 16px;
    }

    .rovno-types-block__bento-card {
        min-height: auto;
    }

    .rovno-types-block__bento-icon {
        display: none;
    }
}

/* =========================================================
 * Услуги — блок «Этапы»
 * ========================================================= */
.rovno-cpt-stages {
    margin-bottom: 50px;
    padding: 0 21px;
}

.rovno-cpt-stages__grid {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.rovno-cpt-stages__card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 28px 28px 36px 28px;
    min-height: 210px;
    background: #fff;
    border: 1px solid #EEEEEE;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.rovno-cpt-stages__card--head {
    background: #EEE315;
    border: none;
    justify-content: flex-end;
    align-items: flex-start;
}

.rovno-cpt-stages__card--step {
    grid-column: span 8;
}

.rovno-cpt-stages__title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: #3F3C42;
    letter-spacing: -0.02em;
    max-width: 180px;
}

.rovno-cpt-stages--title-above .rovno-cpt-stages__title--above {
    max-width: 1280px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 36px;
    line-height: 36px;
    font-weight: 700;
}

.rovno-cpt-stages__card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    height: 100%;
}

.rovno-cpt-stages__num {
    flex-shrink: 0;
    font-size: 128px;
    font-weight: 800;
    line-height: 120px;
    color: #003C8D;
    background: linear-gradient(180deg, #003C8D 0%, rgba(0, 60, 141, 0) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.rovno-cpt-stages__card-text {
    flex: 0 1 auto;
    min-width: 0;
}

.rovno-cpt-stages__card-title {
    margin: 0 0 4px;
    font-size: 24px;
    font-weight: 600;
    line-height: 24px;
    color: #3F3C42;
    letter-spacing: -0.02em;
}

.rovno-cpt-stages__card-desc {
    margin: 0 !important;
    font-size: 16px;
    line-height: 20px;
    color: #757575;
}

.rovno-cpt-stages__card-title span {
    display: none;
}

@media (max-width: 1024px) {
    .rovno-cpt-stages {
        padding: 0;
    }

    .rovno-cpt-stages__grid {
        gap: 12px;
    }

    .rovno-cpt-stages__card {
        padding: 30px 24px 24px 24px;
    }

    .rovno-cpt-stages--title-above .rovno-cpt-stages__title--above {
        font-size: 32px;
        line-height: 32px;
        margin-bottom: 20px;
    }

    .rovno-cpt-stages__title {
        font-size: 18px;
        line-height: 22px;
        max-width: none;
    }

    .rovno-cpt-stages__num {
        font-size: 92px;
        line-height: 92px;
    }

    .rovno-cpt-stages__card-title {
        font-size: 18px;
        line-height: 22px;
    }

    .rovno-cpt-stages__card-desc {
        font-size: 14px;
        line-height: 16px;
    }
}

@media (max-width: 767px) {
    .rovno-cpt-stages {
        padding: 0;
        margin-bottom: 40px;
    }

    .rovno-cpt-stages--title-above .rovno-cpt-stages__title--above {
        margin-bottom: 16px;
        padding: 0;
        font-size: 24px;
        line-height: 24px;
        color: #003C8D
    }

    .rovno-cpt-stages__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rovno-cpt-stages__card[data-step="4"] {
        grid-column: 1 / -1 !important;
    }

    .rovno-cpt-stages__card {
        min-height: auto;
        padding: 16px 16px 22px 16px;
    }

    .rovno-cpt-stages__card--head {
        grid-column: auto !important;
        min-height: auto;
        padding: 16px;
        align-items: center;
        justify-content: center;
    }

    .rovno-cpt-stages__card--step {
        grid-column: auto !important;
        min-height: auto;
        padding: 16px;
    }

    .rovno-cpt-stages__card-body {
        display: block;
        max-width: 90%;
    }

    .rovno-cpt-stages__card-title span {
        display: inline-block;
        margin-right: 5px;
    }

    .rovno-cpt-stages__title {
        font-size: 18px;
        line-height: 22px;
        max-width: none;
    }

    .rovno-cpt-stages__num {
        display: none;
    }
}

/* =========================================================
 * Направления — блок «Виды» (карточки)
 * ========================================================= */
.rovno-direction-types {
    padding: 0 0 56px;
}

.rovno-direction-types__grid {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.rovno-direction-types--light-static .rovno-direction-types__grid {
    gap: 16px;
}

.rovno-direction-types__head {
    background: #003C8D;
    border-radius: 32px;
    padding: 28px 32px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.rovno-direction-types--light-static .rovno-direction-types__head {
    border-radius: 16px;
    padding: 36px
}

.rovno-direction-types__head-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.2;
    color: #fff;
}

.rovno-direction-types__head-desc {
    margin: 12px 0 0 0 !important;
    font-size: 16px;
    line-height: 1.35;
    color: #EEEEEE;
    max-width: 280px;
}

/* Светлые карточки */
.rovno-direction-types__card--light {
    position: relative;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 32px;
    padding: 15px 32px 24px 24px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.rovno-direction-types--light-static .rovno-direction-types__card--light {
    padding: 36px;
    border-radius: 16px;
}

.rovno-direction-types__card--light.rovno-direction-types__card--has-bg {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.rovno-direction-types__light-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.8);
    pointer-events: none;
    z-index: 0;
}

.rovno-direction-types__card--has-bg .rovno-direction-types__icon,
.rovno-direction-types__card--has-bg .rovno-direction-types__body {
    position: relative;
    z-index: 1;
}

.rovno-direction-types--light-static .rovno-direction-types__card--tall-default {
    min-height: 280px;
}

.rovno-direction-types__card--tall {
    min-height: 320px !important;
}

.rovno-direction-types__icon {
    width: 56px;
    height: 56px;
    margin: 0 0 16px;
    line-height: 0;
    flex-shrink: 0;
}

.rovno-direction-types__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    box-shadow: none !important;
}

.rovno-direction-types__body {
    margin-top: auto;
    min-width: 0;
}

.rovno-direction-types--light-icon .rovno-direction-types__card-title,
.rovno-direction-types--light-static .rovno-direction-types__card-title {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.15;
    color: #3F3C42;
}

.rovno-direction-types--light-static .rovno-direction-types__body {
    position: relative;
    z-index: 1;
}

.rovno-direction-types__card-desc {
    margin: 0 !important;
    font-size: 16px;
    line-height: 1.25;
    color: #757575;
}

/* Тёмные карточки */
.rovno-direction-types__card--dark {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 220px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    padding: 28px 32px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.2s ease;
}

a.rovno-direction-types__card--dark:hover {
    transform: translateY(-2px);
}

.rovno-direction-types__dark-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    pointer-events: none;
    z-index: 0;
}

.rovno-direction-types__link-icon {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-bottom: auto;
    line-height: 0;
}

.rovno-direction-types__dark-body {
    position: relative;
    z-index: 1;
}

.rovno-direction-types--dark-link .rovno-direction-types__card-title,
.rovno-direction-types--dark-static .rovno-direction-types__card-title {
    display: block;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    color: #fff;
}

.rovno-direction-types--dark-static .rovno-direction-types__card-desc {
    display: block;
    margin-top: 4px !important;
    font-size: 16px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
}

@media (max-width: 1024px) {
    .rovno-direction-types__grid {
        gap: 16px 24px;
    }

    .rovno-direction-types__card--tall,
    .rovno-direction-types__card--tall-default {
        min-height: 100px;
    }

    .rovno-direction-types__head,
    .rovno-direction-types--light-static .rovno-direction-types__head {
        padding: 24px;
        border-radius: 16px;
        min-height: auto;
    }

    .rovno-direction-types__head-title {
        font-size: 18px;
        line-height: 22px;
    }

    .rovno-direction-types__head-desc {
        margin: 4px 0 0 0 !important;
        font-size: 13px;
        line-height: 14px;
        color: #EEEEEE;
        max-width: none;
    }

    .rovno-direction-types__card {
        border-radius: 16px;
    }

    .rovno-direction-types__card--light,
    .rovno-direction-types__card--dark,
    .rovno-direction-types--light-static .rovno-direction-types__card--tall-default {
        padding: 16px;
        min-height: 175px;
    }

    .rovno-direction-types--dark-link .rovno-direction-types__card-title,
    .rovno-direction-types--dark-static .rovno-direction-types__card-title,
    .rovno-direction-types--light-icon .rovno-direction-types__card-title,
    .rovno-direction-types--light-static .rovno-direction-types__card-title {
        font-size: 18px;
        line-height: 22px;
        margin: 0 0 4px;
    }

    .rovno-direction-types--dark-static .rovno-direction-types__card-desc,
    .rovno-direction-types__card-desc {
        font-size: 13px;
        line-height: 14px;
    }


    .rovno-direction-types__icon {
        width: 40px;
        height: 40px;
        margin: 0 0 10px;
    }

    .rovno-direction-types {
        padding: 0;
        margin-bottom: 50px;
    }
}


@media (max-width: 767px) {
    .rovno-direction-types__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .rovno-direction-types__head,
    .rovno-direction-types__card {
        grid-column: auto !important;
    }

    .rovno-direction-types__head {
        text-align: center;
    }

    .rovno-direction-types__icon {
        display: none;
    }
}