/* ==================================================
   UNIVERSAL PAGE CARD simple_page_content
   ================================================== */

.simple_page {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(15,23,42,.06);
}
@media (max-width: 480px) {
    .simple_page {
        padding: 16px;
    }
}





/* page container helper (same logic as hero container) */
.page_container{
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
}

@media (max-width: 980px){
    .page_container{ width: min(720px, calc(100% - 32px)); }
}

/* optional: your existing "section title" classes compatibility */
.section__title.h1{
    text-align:center;
    font-weight: 800;
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.05;
    margin: 0 0 34px;
    color: #0b0b0b;
}

/* =========================
   HEADER / MENU — ARCHITECTURE CORRECT VERSION
   ========================= */

.header {
    position: relative;
    z-index: 1000;
}

.header__content {
    display: flex;
    align-items: center;
}

.nav { margin-left: auto; }

.menu,
.menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* скрытые чекбоксы */
.menu-toggle,
.submenu-toggle { display: none; }

/* BURGER */

.burger {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid var(--stroke);
    background: #fff;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;

    position: relative;
    z-index: 1200;
}

.burger span {
    width: 18px;
    height: 2px;
    background: #000;
    margin: 2px 0;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

/* крестик */
.menu-toggle:checked + .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle:checked + .burger span:nth-child(2) { opacity: 0; }
.menu-toggle:checked + .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* MENU — DESKTOP */

.menu {
    display: flex;
    gap: 5px;
    font-size: 14px;
}

.menu__item { position: relative; }

.menu__link {
    display: flex;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.menu__link.selected {
    color: var(--green);
    font-weight: 600;
}

.menu__link-icon {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

/* DROPDOWN — DESKTOP */

.menu__dropdown {
    position: absolute;
    top: calc(100% + 16px);
    left: 0;
    min-width: 220px;

    background: #fff;
    border: 1px solid var(--stroke);
    border-radius: 12px;
    padding: 16px;

    display: none;
    z-index: 1100;
}

.menu__dropdown li { margin-bottom: 8px; }
.menu__dropdown li:last-child { margin-bottom: 0; }

@media (min-width: 1281px) {
    .menu__item--dropdown:hover .menu__dropdown { display: block; }
    .menu__item--dropdown:hover .menu__link-icon { transform: rotate(180deg); }
}

/* MOBILE */

@media (max-width: 1280px) {
    .burger {
        display: flex;
        margin-left: auto;
    }

    .nav {
        position: fixed;
        inset: 0;
        background: var(--gradient);

        padding: 96px 32px 32px;
        transform: translateY(-100%);
        transition: transform 0.25s ease;

        z-index: 1100;
    }

    .menu-toggle:checked ~ .nav { transform: translateY(0); }

    .menu {
        flex-direction: column;
        gap: 16px;
        color: #fff;
    }

    .menu__link {
        color: #fff;
        line-height: 32px;
    }

    .menu__link.selected { color: #fff; }

    .menu__dropdown {
        position: static;
        border: none;
        background: transparent;
        padding: 8px 0 0 16px;
        display: none;
    }

    .submenu-toggle:checked ~ .menu__dropdown { display: block; }
    .submenu-toggle:checked + .menu__link .menu__link-icon { transform: rotate(180deg); }
}

@media (max-width: 1280px) {
    .nav::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: -1;
    }
}


/* =========================
   ABOUT BLOCK
   ========================= */

.about_block{
    padding: 70px 0 40px;
    background: #fff;
}

.about_block__container{
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 18px;
}

.about_block__title{
    text-align: center;
    font-weight: 800;
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.05;
    margin: 0 0 34px;
    color: #0b0b0b;
}

.about_block__grid{
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 38px;
    align-items: start;
}

.about_block__video_wrap{
    border-radius: 40px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 18px 55px rgba(20, 30, 60, 0.12);
}

.about_block__video{
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.about_block__content{
    display: grid;
    gap: 26px;
    padding-top: 10px;
}

.about_block__item{ display: grid; gap: 12px; }

.about_block__line{
    height: 6px;
    border-radius: 999px;
    background: var(--green);
    width: var(--line-w, 160px);
}

.about_block__item--1{ --line-w: 120px; }
.about_block__item--2{ --line-w: 170px; }
.about_block__item--3{ --line-w: 240px; }

.about_block__text{
    margin: 0;
    color: #2b2b2b;
    font-size: 15.5px;
    line-height: 1.45;
}

.about_block__text strong{
    font-weight: 800;
    color: #000;
}

@media (max-width: 1024px){
    .about_block__grid{ grid-template-columns: 1fr; gap: 22px; }
    .about_block__content{ padding-top: 0; }
}

@media (max-width: 520px){
    .about_block{ padding: 52px 0 28px; }
    .about_block__video_wrap{ border-radius: 26px; }
}


.about_block__image{
    border-radius: 25px;
}
/* =========================
   ADVANTAGES BLOCK — FIXED CONTAINER (UPDATED)
   - big 4 cards: image via ::after
   - added text style
   ========================= */

.advantages_block{
    padding: 40px 0 8px;
    background: linear-gradient(180deg, #f7f8fa 0%, #fbfcfd 45%, #ffffff 100%);
}

.advantages_block__container{
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
}

@media (max-width: 980px){
    .advantages_block__container{
        width: min(720px, calc(100% - 32px));
    }
}

.advantages_block__section_title{
    text-align: center;
    font-weight: 700;
    font-size: clamp(26px, 3vw, 42px);
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 36px;
    color: #141820;
}

/* grid теперь НЕ задает свою ширину — берет 100% контейнера */
.advantages_block__grid{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.advantages_block__card{
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    padding: 22px 22px 18px;
    min-height: 240px;

    display: grid;
    grid-template-rows: auto auto 1fr;
    align-content: start;

    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
}

/* title */
.advantages_block__title{
    font-weight: 700;
    font-size: 19px;
    line-height: 1.08;
    color: #141820;

    position: relative;
    z-index: 2;
}

/* NEW: text */
.advantages_block__text{
    margin-top: 12px;
    font-size: 15.5px;
    line-height: 1.35;
    color: rgba(30, 34, 40, 0.78);
    max-width: 320px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* legacy img wrapper — hidden (чтобы старый HTML не ломал верстку, если где-то осталось) */
.advantages_block__img{
    display: none;
}

/* нейтральные приглушённые фоны вместо ярких цветных */
.advantages_block__card--1{ background: linear-gradient(145deg, #f0f3f8 0%, #ffffff 55%); }
.advantages_block__card--2{ background: linear-gradient(145deg, #eef1ee 0%, #ffffff 55%); }
.advantages_block__card--3{ background: linear-gradient(145deg, #f2f1ef 0%, #ffffff 55%); }
.advantages_block__card--4{ background: linear-gradient(145deg, #f0eef3 0%, #ffffff 55%); }

/* image preset via css var */
.advantages_block__card--1{ --adv-img: url("../images/main/advanced/advantages_4card_1.png"); }
.advantages_block__card--2{ --adv-img: url("../images/main/advanced/advantages_4card_2.png"); }
.advantages_block__card--3{ --adv-img: url("../images/main/advanced/advantages_4card_3.png"); }
.advantages_block__card--4{ --adv-img: url("../images/main/advanced/advantages_4card_4.png"); }

/* лёгкое осветление под текст, без «свечения» */
.advantages_block__card::before{
    content:'';
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;

    background:
            radial-gradient(480px 240px at 28% 26%, rgba(255,255,255,0.78) 0%, rgba(255,255,255,0) 58%),
            radial-gradient(460px 260px at 18% 86%, rgba(255,255,255,0.45) 0%, rgba(255,255,255,0) 55%);
}

/* иконка справа: без неонового оттенка, чуть приглушённая насыщенность */
.advantages_block__card::after{
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    background-image:
            linear-gradient(to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 0.93) 38%,
            rgba(255, 255, 255, 0.62) 58%,
            rgba(255, 255, 255, 0.22) 76%,
            rgba(243, 245, 248, 0.45) 100%),
            var(--adv-img);

    background-repeat: no-repeat;

    background-size: 100% 100%, 30% 30%;

    background-position: 0 0, right 16px bottom 14px;

    filter: saturate(0.78) contrast(1.02) brightness(0.97) drop-shadow(0 6px 14px rgba(15, 23, 42, 0.07));
}


/* per-card tuning */
/*.advantages_block__card--1::after{ background-size: 240px auto; }*/
/*.advantages_block__card--2::after{ background-size: 170px auto; }*/
/*.advantages_block__card--3::after{ background-size: 170px auto; }*/
/*.advantages_block__card--4::after{ background-size: 170px auto; }*/

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

@media (max-width: 520px){
    .advantages_block__grid{ grid-template-columns: 1fr; }
    .advantages_block__card{ min-height: 210px; }
    .advantages_block__title{ font-size: 18px; }

    .advantages_block__text{
        max-width: 100%;
    }

    .advantages_block__card::after{
        background-size: 170px auto;
        background-position: right 10px bottom 8px;
        opacity: .92;
    }
}
/* =========================
   ADVANTAGES ICONS (inside same container)
   ========================= */

.advantages_icons{
    margin-top: 36px;
    padding-bottom: 12px;
}

.advantages_icons__grid{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.advantages_icons__item{
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 14px;
    border: 1px solid rgba(15, 23, 42, 0.07);

    display: grid;
    place-items: center;
    gap: 12px;

    text-align: center;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.advantages_icons__title{
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1.25;
    color: #1c2128;
}

.advantages_icons__img{
    width: 100px;
    height: 100px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(15, 23, 42, 0.03);
}

.advantages_icons__img img{
    max-width: 100px;
    max-height: 100px;
    filter: saturate(0.72) contrast(1.03);
    opacity: 0.94;
}



@media (max-width: 1200px){
    .advantages_icons__grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

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

@media (max-width: 520px){
    .advantages_icons__grid{ grid-template-columns: 1fr; }
}


/* =========================
   COURSES BLOCK (vanilla, no svg)
   ========================= */

.courses.section{
    padding: 70px 0 40px;
}

.courses.section{
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
}

@media (max-width: 980px){
    .courses.section{
        width: min(720px, calc(100% - 32px));
    }
}

.courses-block.card{
    background: #ffffff;
    border-radius: 26px;
    padding: 26px;
    box-shadow: 0 18px 55px rgba(20, 30, 60, 0.08);
    margin: 0 0 26px;
}

.courses-block .line{
    height: 6px;
    width: 96px;
    border-radius: 999px;
    background: var(--green);
    margin: 0 0 12px;
}

.courses-block__txt{
    margin: 0 0 16px;
    color: #2b2b2b;
    font-size: 15.5px;
    line-height: 1.45;
}
.courses-block__txt:last-child{ margin-bottom: 0; }

/* ---------- Главная: блок «Наши программы обучения» ---------- */
.home_programs_section{
    padding: 88px 0 80px;
    background:
        radial-gradient(1200px 500px at 50% -10%, rgba(10, 143, 42, 0.06), transparent 55%),
        linear-gradient(180deg, #f7f9f8 0%, #ffffff 38%, #fafcfb 100%);
}

.home_programs_section__title{
    margin: 0 auto 32px;
    max-width: 920px;
    text-align: center;
    letter-spacing: -0.03em;
    line-height: 1.2;
    position: relative;
    padding-bottom: 18px;
}

.home_programs_section__title::after{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(100px, 28vw);
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--green, #0a8f2a), #1ec046);
    box-shadow: 0 2px 12px rgba(10, 143, 42, 0.25);
}

.home_programs_section .courses-block.card{
    border: 1px solid rgba(15, 35, 25, 0.06);
    box-shadow: 0 16px 48px rgba(15, 40, 30, 0.06);
}

.courses_block__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.courses-item.card{
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #fff;
    min-height: 268px;
    border: 1px solid rgba(10, 143, 42, 0.09);
    box-shadow:
        0 22px 56px rgba(15, 35, 28, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.courses-item.card:hover{
    transform: translateY(-5px);
    box-shadow:
        0 32px 64px rgba(15, 35, 28, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

/* Фон: снизу фото (правая часть яркая), сверху градиент только слева под текст */
.courses-item.card::after{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(
            105deg,
            rgba(255, 255, 255, 0.995) 0%,
            rgba(255, 255, 255, 0.93) 22%,
            rgba(255, 255, 255, 0.78) 38%,
            rgba(255, 255, 255, 0.22) 56%,
            rgba(255, 255, 255, 0.04) 68%,
            rgba(255, 255, 255, 0) 78%
        ),
        var(--bg-image);
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
    background-position: center left, 88% center;
    pointer-events: none;
}

/* Лёгкий зелёный акцент в правом нижнем углу (без затемнения фото) */
.courses-item.card::before{
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: radial-gradient(ellipse 85% 72% at 100% 100%, rgba(10, 143, 42, 0.11), transparent 52%);
}

/* пресеты картинок (как у hero_block--home и т.д.) */
.courses-item--1{ --bg-image: url('../images/main/card_item/1.avif'); }
.courses-item--2{ --bg-image: url('../images/main/card_item/2.avif'); }
.courses-item--3{ --bg-image: url('../images/main/card_item/3.avif'); }
.courses-item--4{ --bg-image: url('../images/main/card_item/4.avif'); }

.courses-item__info{
    position: relative;
    z-index: 3;
    width: min(58%, 100%);
    max-width: 420px;
    padding: 24px 24px 64px;
}

.courses-item__title{
    margin: 0 0 10px;
    font-weight: 800;
    font-size: 20px;
    line-height: 1.15;
    color: #0b0b0b;
    overflow-wrap: anywhere;
}

.courses-item__txt{
    color: #2b2b2b;
    font-size: 14.5px;
    line-height: 1.45;
}

.courses-item__txt p{ margin: 0 0 10px; }

.courses-item__txt ul{
    margin: 8px 0 0 18px;
    padding: 0;
}

.courses-item__txt li{ margin: 0 0 6px; }

.courses-item__btn{
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 4;

    width: 44px;
    height: 44px;
    border-radius: 12px;

    background: var(--green);
    text-decoration: none;
    box-shadow: 0 14px 30px rgba(10, 143, 42, 0.22);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.courses-item__btn::before{
    content: "›";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;

    color: #fff;
    font-weight: 900;
    font-size: 22px;
    line-height: 1;
    transform: translateX(1px);
}

.courses-item__btn:hover{
    transform: translateY(-1px);
    background: #087a24;
    box-shadow: 0 16px 34px rgba(10, 143, 42, 0.26);
}
.courses-item__btn:active{ transform: translateY(0); }

@media (max-width: 1024px){
    .courses_block__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
    .home_programs_section{ padding: 64px 0 56px; }
    .courses-item__info{
        width: min(72%, 100%);
        max-width: none;
    }
}

@media (max-width: 520px){
    .courses.section{ padding: 52px 0 28px; }
    .courses-block.card{ border-radius: 22px; padding: 20px; }
    .courses-item.card{ border-radius: 20px; min-height: 240px; }
    .courses-item.card::after{
        background-position: center left, 82% center;
    }
    .courses-item__info{
        width: 100%;
        max-width: none;
        padding: 18px 18px 58px;
    }
    .courses-item__title{ font-size: 18px; }
    .home_programs_section__title{ margin-bottom: 22px; padding-bottom: 14px; }
}




/* =========================
   WORK BLOCK (FINAL) — true background, no layout shift
   ========================= */

.work_block{
    padding: 70px 0 40px;
}

.work_block__container{
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;
}

.work_block__card{
    position: relative;
    border-radius: 34px;
    overflow: hidden;
    padding: 44px 44px 34px;

    background:
            radial-gradient(900px 450px at 15% 15%, rgba(255,255,255,0.35) 0%, rgba(255,255,255,0) 60%),
            linear-gradient(90deg, rgba(183, 240, 214, 0.78) 0%, rgba(168, 231, 233, 0.78) 55%, rgba(160, 224, 245, 0.78) 100%);
}

/* BIG CIRCLE as background layer */
.work_block__card::before{
    content:"";
    position:absolute;
    inset:0;
    z-index: 0;
    pointer-events:none;

    background-image: url("static/images/general/work-big.png");
    background-repeat: no-repeat;
    background-size: clamp(240px, 34vw, 520px);
    background-position: right 18px top 10px;
    opacity: 1;
}

/* STICKER as separate element (rotation ok) */
.work_block__card::after{
    content:"";
    position:absolute;
    z-index: 0;
    pointer-events:none;

    width: 136px;
    height: 188px;

    right: 320px;
    top: 74px;

    background-image: url("static/images/general/work-sm.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;

    transform: rotate(-10deg);
    filter: drop-shadow(0 18px 28px rgba(0,0,0,.12));
    opacity: 1;
}

/* keep content above */
.work_block__header,
.work_steps{
    position: relative;
    z-index: 1;
}

.work_block__header{ max-width: 620px; }

.work_block__title{
    margin: 0 0 12px;
    font-weight: 900;
    font-size: clamp(30px, 3.2vw, 48px);
    line-height: 1.05;
    color: #0b0b0b;
}

.work_block__text{
    margin: 0 0 20px;
    color: rgba(11,15,20,.75);
    font-size: 15.5px;
    line-height: 1.45;
}

.work_block__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    height: 52px;
    padding: 0 22px;
    border-radius: 10px;
    text-decoration: none;

    background: var(--green);
    color: #fff;
    font-weight: 700;
    font-size: 15px;

    box-shadow: 0 14px 30px rgba(10, 143, 42, 0.22);
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.work_block__btn::after{
    content: "▶";
    font-size: 12px;
    line-height: 1;
    opacity: .95;
}

.work_block__btn:hover{
    transform: translateY(-1px);
    background: #087a24;
    box-shadow: 0 16px 34px rgba(10, 143, 42, 0.26);
}
.work_block__btn:active{ transform: translateY(0); }

.work_steps{ margin-top: 26px; }

.work_steps__grid{
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.work_step{
    background: rgba(255,255,255,0.95);
    border-radius: 22px;
    padding: 18px 18px 16px;
    min-height: 190px;

    box-shadow: 0 18px 55px rgba(20, 30, 60, 0.10);
    position: relative;
}

.work_step__num{
    position: absolute;
    top: 14px;
    right: 14px;

    width: 34px;
    height: 34px;
    border-radius: 10px;

    display: grid;
    place-items: center;

    background: var(--green);
    color: #fff;
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
}

.work_step__title{
    padding-right: 46px;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.2;
    color: #0b0b0b;
    margin: 0 0 12px;
}

.work_step__line{
    height: 6px;
    width: 96px;
    border-radius: 999px;
    background: var(--green);
    margin: 0 0 12px;
}

.work_step__txt{
    color: rgba(11,15,20,.75);
    font-size: 13.5px;
    line-height: 1.45;
}

/* reserve space on desktop so header never sits under circle */
@media (min-width: 980px){
    .work_block__card{
        /*padding-right: clamp(320px, 36vw, 560px);*/
    }
}

@media (max-width: 1100px){
    .work_block__card::before{
        background-size: 420px;
        background-position: right 10px top 10px;
    }

    .work_block__card::after{
        width: 120px;
        height: 165px;
        right: 250px;
        top: 72px;
    }
}

@media (max-width: 720px){
    .work_block__container{ width: calc(100% - 28px); }

    .work_block__card{
        padding: 28px 20px 24px;
        padding-right: 20px; /* remove reserve */
    }

    .work_block__card::before{
        background-size: 320px;
        background-position: right -30px top 140px;
        opacity: 0.95;
    }

    .work_block__card::after{
        width: 110px;
        height: 155px;
        right: 150px;
        top: 200px;
        opacity: 0.95;
    }
}

@media (max-width: 420px){
    .work_block__card::before{
        background-size: 280px;
        background-position: right -40px top 160px;
    }

    .work_block__card::after{
        width: 96px;
        height: 136px;
        right: 120px;
        top: 215px;
    }
}




/* ==================================================
   CONTACTS SECTION
   ================================================== */

.contacts_section__header {
    margin-bottom: 56px;
}

.contacts_section__header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
}

.contacts_section__title {
    font-size: 36px;
    font-weight: 700;
    margin: 0;
}

/* ===== IMAGE ===== */

.contacts_section__header-image img {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
}

/* ===== GRID ===== */

.contacts_section__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
}

/* ===== CARD ===== */

.contacts_section__card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 10px 30px rgba(15,23,42,.06);
}

/* ===== BLOCK ===== */

.contacts_section__block {
    font-size: 15px;
    line-height: 1.6;
}

.contacts_section__block strong {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.contacts_section__block p {
    margin: 0 0 12px;
}

.contacts_section__block a {
    color: #2563eb;
    text-decoration: none;
}

.contacts_section__block a:hover {
    text-decoration: underline;
}

/* ===== DIVIDER ===== */

.contacts_section__divider {
    height: 1px;
    background: #e2e8f0;
    margin: 24px 0;
}

/* ===== NOTE ===== */

.contacts_section__note {
    margin-top: 32px;
    font-size: 14px;
    color: #475569;
    text-align: center;
}

/* ==================================================
   RESPONSIVE
   ================================================== */

@media (max-width: 1024px) {
    .contacts_section__grid {
        grid-template-columns: 1fr;
    }

    .contacts_section__header-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contacts_section__header-image img {
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .contacts_section__title {
        font-size: 28px;
    }

    .contacts_section__card {
        padding: 24px;
    }

    .contacts_section__header-image img {
        max-width: 180px;
    }
}




/* =========================================
   ABOUT MEDIA (RIGHT IMAGE BLOCK)
   ========================================= */

.about_info__media {
    position: relative;
    padding: 0;
    overflow: hidden;
}

/* слой картинки */
.about_info__media_layer {
    position: absolute;
    inset: 0;

    background-image:
            linear-gradient(
                    to left,
                    rgba(255,255,255,0) 0%,
                    rgba(255,255,255,0.35) 45%,
                    rgba(255,255,255,0.85) 70%,
                    rgba(255,255,255,1) 100%
            ),
            var(--about-media-image);

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center right;
}

/* =========================================
   IMAGE MODIFIERS (ONLY URL)
   ========================================= */

.about_info__media--center {
    --about-media-image:  url('../images/general/about-img.jpg');
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
    .about_info__media {
        min-height: 240px;
        border-radius: 20px;
    }
}

@media (max-width: 520px) {
    .about_info__media {
        min-height: 200px;
    }
}


/* ============================================================
   ABOUT PAGE
   Используется только в рамках страницы "О компании"
   ============================================================ */
/* ============================================================
   ABOUT PAGE
   ============================================================ */

.simple_page_header__bg--about {
    /* фон header задаётся централизованно */
}

/* ------------------------------------------------------------
   FLEX CARD WITH IMAGE
------------------------------------------------------------ */

.simple_page_content_card--with-image {
    padding: 0; /* внутренние отступы берут на себя дочерние блоки */
}

.about_card_flex {
    display: flex;
    gap: 32px;
    align-items: center;
}

.about_card_text {
    flex: 1 1 auto;

}

.about_card_image {
    flex: 0 0 320px;
    min-height: 220px;

    background-image: url('../images/general/about-img.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 8px;
}

/* ------------------------------------------------------------
   TYPOGRAPHY
------------------------------------------------------------ */

.about_section h2 {
    margin-bottom: 12px;
}

.about_section p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.about_section ul {
    padding-left: 18px;
}

/* ------------------------------------------------------------
   MOBILE
------------------------------------------------------------ */

@media (max-width: 768px) {
    .about_card_flex {
        flex-direction: column;
    }

    .about_card_image {
        width: 100%;
        flex: none;
        min-height: 200px;
    }

    .about_card_text {
        padding: 20px;
    }
}


/* ============================================================
   PAGE: HOW WE WORK / ABOUT LEARNING
   ============================================================ */

.simple_page_header__bg--about {
    /* модификатор фона, без изменения архитектуры */
}

.about_section .simple_page_content_card h2 {
    margin-bottom: 12px;
}

.about_section .simple_page_content_card p {
    margin-bottom: 0;
    line-height: 1.6;
}






