/* ==========================================
   RADIATORI.KZ — GLOBAL DESIGN SYSTEM
   ========================================== */

:root {
    --rad-red: #ed1c24;
    --rad-dark: #111827;
    --rad-text: #2d3748;
    --rad-muted: #667085;
    --rad-light: #f7f8fa;
    --rad-border: #e7e9ee;
    --rad-white: #ffffff;

    --rad-container: 1170px;
    --rad-radius: 14px;
}


/* ОСНОВНАЯ ТИПОГРАФИКА */

body {
    font-family: "Open Sans", sans-serif;
    color: var(--rad-text);
}


/* ОБЩИЙ КОНТЕЙНЕР */

.rad-container {
    width: 100%;
    max-width: var(--rad-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}


/* СЕКЦИЯ */

.rad-section {
    padding-top: 72px;
    padding-bottom: 72px;
}


/* ЗАГОЛОВОК СЕКЦИИ */

.rad-section-head {
    margin-bottom: 32px;
}

.rad-kicker {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 0 0 10px;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;

    color: #596273;
}

.rad-kicker::before {
    content: "";
    display: block;
    width: 30px;
    height: 3px;
    flex: 0 0 30px;

    background: var(--rad-red);
    border-radius: 3px;
}


/* H2 — ГЛАВНЫЕ ЗАГОЛОВКИ БЛОКОВ */

.rad-section-title {
    margin: 0;

    font-family: "Open Sans", sans-serif !important;
    font-size: 36px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;

    color: var(--rad-dark) !important;
}


/* ПОДЗАГОЛОВОК */

.rad-section-subtitle {
    max-width: 850px;
    margin: 12px 0 0;

    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;

    color: var(--rad-muted);
}


/* H3 / ЗАГОЛОВКИ КАРТОЧЕК */

.rad-card-title {
    margin: 0 0 10px;

    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;

    color: var(--rad-dark);
}


/* TABLET */

@media (min-width: 768px) and (max-width: 991px) {

    .rad-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .rad-section-title {
        font-size: 32px !important;
    }

    .rad-section-subtitle {
        font-size: 16px;
    }

    .rad-card-title {
        font-size: 20px;
    }
}


/* MOBILE */

@media (max-width: 767px) {

    .rad-section {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .rad-section-head {
        margin-bottom: 22px;
    }

    .rad-kicker {
        gap: 9px;
        margin-bottom: 8px;

        font-size: 10px;
    }

    .rad-kicker::before {
        width: 24px;
        height: 2px;
        flex-basis: 24px;
    }

    .rad-section-title {
        font-size: 26px !important;
        line-height: 1.22 !important;
    }

    .rad-section-subtitle {
        margin-top: 9px;
        font-size: 14px;
        line-height: 1.55;
    }

    .rad-card-title {
        font-size: 19px;
    }
}

/* ==================================================
   HOME — ЕДИНЫЕ ЗАГОЛОВКИ БЛОКОВ
   ================================================== */

.rad-home .sppb-section-title {
    margin-bottom: 32px !important;
    padding-left: 15px;
    padding-right: 15px;
}

/* Красная фирменная линия */
.rad-home .sppb-section-title::before {
    content: "";
    display: block;
    width: 32px;
    height: 3px;
    margin: 0 auto 12px;
    background: #ed1c24;
    border-radius: 3px;
}

/* H2/H3 — визуально одинаковые заголовки секций */
.rad-home .sppb-section-title .sppb-title-heading {
    margin: 0 !important;

    font-family: "Open Sans", sans-serif !important;
    font-size: 36px !important;
    line-height: 1.18 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;

    color: #111827 !important;
}

/* Подзаголовки секций */
.rad-home .sppb-section-title .sppb-title-subheading {
    max-width: 850px;
    margin: 12px auto 0 !important;

    font-family: "Open Sans", sans-serif !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
    font-weight: 400 !important;

    color: #667085 !important;
}


/* =========================
   TABLET 768–991
   ========================= */

@media (min-width: 768px) and (max-width: 991px) {

    .rad-home .sppb-section-title {
        margin-bottom: 28px !important;
    }

    .rad-home .sppb-section-title::before {
        width: 28px;
        margin-bottom: 10px;
    }

    .rad-home .sppb-section-title .sppb-title-heading {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    .rad-home .sppb-section-title .sppb-title-subheading {
        margin-top: 10px !important;
        font-size: 16px !important;
    }
}


/* =========================
   MOBILE ≤767
   ========================= */

@media (max-width: 767px) {

    .rad-home .sppb-section-title {
        margin-bottom: 22px !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .rad-home .sppb-section-title::before {
        width: 24px;
        height: 2px;
        margin-bottom: 9px;
    }

    .rad-home .sppb-section-title .sppb-title-heading {
        font-size: 26px !important;
        line-height: 1.22 !important;
        letter-spacing: -0.015em !important;
    }

    .rad-home .sppb-section-title .sppb-title-subheading {
        margin-top: 9px !important;
        font-size: 14px !important;
        line-height: 1.55 !important;
    }
}


/* Тёмные секции на главной */
.rad-home .rad-dark-section .sppb-section-title .sppb-title-heading {
    color: #ffffff !important;
}

.rad-home .rad-dark-section .sppb-section-title .sppb-title-subheading {
    color: rgba(255,255,255,0.92) !important;
}

.rad-home .rad-dark-section .sppb-section-title::before {
    background: #ed1c24 !important;
}


/* ==========================================
   HOME — ЕДИНЫЙ ВЕРТИКАЛЬНЫЙ РИТМ
   ========================================== */

/* Desktop */
.rad-home .sppb-section-title {
    padding-top: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 32px !important;
}

/* Расстояние между обычными секциями */
.rad-home .sppb-section {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {

    .rad-home .sppb-section-title {
        margin-bottom: 26px !important;
    }
}


/* Mobile */
@media (max-width: 767px) {

    .rad-home .sppb-section-title {
        margin-bottom: 20px !important;
    }
}

/* ==================================================
   HOME — ЕДИНЫЕ ОТСТУПЫ ОСНОВНЫХ БЛОКОВ
   ================================================== */

/* Desktop */
.rad-home #section-id-1617358623974, /* Радиаторы отопления */
.rad-home #section-id-1617639899669, /* Преимущества */
.rad-home #section-id-1617794255406, /* Партнёрам */
.rad-home #section-id-1617639415600, /* Наши клиенты desktop */
.rad-home #section-id-1622794918669, /* Наши клиенты mobile */
.rad-home #section-id-1622610205635, /* Топ проекты desktop */
.rad-home #section-id-1622786063170  /* Топ проекты mobile */
{
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}


/* Tablet */
@media (min-width: 768px) and (max-width: 991px) {

    .rad-home #section-id-1617358623974,
    .rad-home #section-id-1617639899669,
    .rad-home #section-id-1617794255406,
    .rad-home #section-id-1617639415600,
    .rad-home #section-id-1622794918669,
    .rad-home #section-id-1622610205635,
    .rad-home #section-id-1622786063170 {
        padding-top: 52px !important;
        padding-bottom: 52px !important;
    }
}


/* Mobile */
@media (max-width: 767px) {

    .rad-home #section-id-1617358623974,
    .rad-home #section-id-1617639899669,
    .rad-home #section-id-1617794255406,
    .rad-home #section-id-1617639415600,
    .rad-home #section-id-1622794918669,
    .rad-home #section-id-1622610205635,
    .rad-home #section-id-1622786063170 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }
}


/* ==================================================
   INNER PAGES — ЕДИНАЯ ТИПОГРАФИКА
   ================================================== */

.rad-aluminum,
.rad-panel,
.rad-bimetal {
    font-family: "Open Sans", sans-serif;
    color: #2d3748;
}


/* H1 — название страницы */
.rad-aluminum h1,
.rad-panel h1,
.rad-bimetal h1 {
    font-family: "Open Sans", sans-serif !important;
    font-size: 48px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: -0.025em;
}


/* H2 — основные разделы страницы */
.rad-aluminum h2,
.rad-panel h2,
.rad-bimetal h2 {
    font-family: "Open Sans", sans-serif !important;
    font-size: 36px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
}


/* H3 — внутренние подзаголовки / карточки */
.rad-aluminum h3,
.rad-panel h3,
.rad-bimetal h3 {
    font-family: "Open Sans", sans-serif !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 700 !important;
}


/* Основной текст */
.rad-aluminum p,
.rad-panel p,
.rad-bimetal p,
.rad-aluminum li,
.rad-panel li,
.rad-bimetal li {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================
   TABLET
   ========================= */

@media (min-width: 768px) and (max-width: 991px) {

    .rad-aluminum h1,
    .rad-panel h1,
    .rad-bimetal h1 {
        font-size: 40px !important;
        line-height: 1.17 !important;
    }

    .rad-aluminum h2,
    .rad-panel h2,
    .rad-bimetal h2 {
        font-size: 32px !important;
    }

    .rad-aluminum h3,
    .rad-panel h3,
    .rad-bimetal h3 {
        font-size: 20px !important;
    }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {

    .rad-aluminum h1,
    .rad-panel h1,
    .rad-bimetal h1 {
        font-size: 32px !important;
        line-height: 1.18 !important;
        letter-spacing: -0.02em;
    }

    .rad-aluminum h2,
    .rad-panel h2,
    .rad-bimetal h2 {
        font-size: 26px !important;
        line-height: 1.22 !important;
    }

    .rad-aluminum h3,
    .rad-panel h3,
    .rad-bimetal h3 {
        font-size: 19px !important;
    }

    .rad-aluminum p,
    .rad-panel p,
    .rad-bimetal p,
    .rad-aluminum li,
    .rad-panel li,
    .rad-bimetal li {
        font-size: 15px;
        line-height: 1.65;
    }
}