.maxwidth-theme{
    max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 30px;
  box-sizing: border-box;
}

.med_hero{
    display: flex;
    gap: 40px;
}

.med_hero_image,
.med_hero_info{
    width: 50%;
}

.med_hero_info h2{
    color: var(--main, #1B1B1B);
    font-family: Ubuntu;
    font-size: 48px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.med_hero_info span{
    color: #FF1B21;
}

.med_hero_info p{
    max-width: 678px;
    color: var(--p, #4B4B4B);

    /* p */
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
}

.med_hero_info{
    padding: 30px 0;
    display: flex;  
    flex-direction: column;
    justify-content: space-between;
}


.med_title_section{
    color: var(--main, #1B1B1B);
    font-family: Ubuntu;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.med_title_section span{
    color: #F54147;
}


/* tizers */

.med_tizer_time{
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    padding: 60px;
    align-items: flex-start;
    gap: 30px;
    border-radius: 20px;
    background: #F4F4F4;
    width: 100%;
}

.med_container_section{
    width: 100%;
    display: flex;
    gap: 20px;
}

.med_container_block{
    position: relative;
    overflow: hidden;
    width: 25%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-radius: 10px;
    background: #FFF;
}

.last_med_b{
    overflow: visible;
    padding-bottom: 0;
}

.last_med_b > div{
    position: relative;
  height: 100%;
  overflow: hidden;
}

.last_med_b > div span{
    bottom: -30px;
    right: -6px;
}

.last_med_b svg{
    position: absolute;
    top: -20px;
    right: 20px;
}

.med_container_block p{
    color: #F54147;
    font-family: Ubuntu;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
}

.med_container_block h3{
    color: var(--p, #4B4B4B);

    /* p */
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
}


.med_container_block span{
    right: 10px;
    bottom: -30px;
    position: absolute;
    color: #F54147;
    font-family: Ubuntu;
    font-size: 105.217px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    opacity: 0.15;
}



/* med_plus_app */


.med_plus_app{
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.med_p_h2{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.med_p_h2 p{
    color: var(--Red, #FF1B21);
    font-family: Ubuntu;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 114.286% */
    text-transform: uppercase;
}

.med_plus_container{
    border-top: 1px solid #EAEAEA;
    display: flex;
    flex-direction: column;
}

.med_plus_block{
    width: 100%;
    display: flex;
    padding: 40px;
    align-items: center;
    gap: 40px;
    align-self: stretch;
    border-bottom: 1px solid #EAEAEA;
}


.med_plus_block > div{
    width: 50%;
}

.med_plus_block > span{
    font-family: Ubuntu;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 114.286% */
    text-transform: uppercase;
}


.med_plus_block > div p{
    margin-top: 12px;
    max-width: 450px;
    width: 100%;
    color: var(--main, #1B1B1B);
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
}

.med_plus_block h3{
    color: #F54147;
    font-family: Ubuntu;
    font-size: 70px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-transform: uppercase;
}


/* med_app_pacient */

.med_app_pacient{
    margin-top: 60px;
    position: relative;
    background: #F4F4F4;
}

.med_app_pacient .med_p_h2{
    margin-bottom: 30px;
}

.med_app_pacient_container{
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    background: #FFF;
    border-bottom: 1px solid #F4F4F4;
}

.map_line_vertical{
    width: 1px;
    height: 250px;
    background: #F4F4F4;
}

.med_app_pacient_block{
    width: 25%;
    height: 250px;
    display: flex;
    padding: 40px;
    gap: 30px;
}

.med_app_icon{
    flex-shrink: 0;
}

.info_app_icon{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info_app_icon h3{
color: var(--main, #1B1B1B);
font-family: Ubuntu;
font-size: 20px;
font-style: normal;
font-weight: 400;
line-height: 23px; /* 115% */
}

.info_app_icon p{
color: var(--p, #4B4B4B);

/* p */
font-family: Ubuntu;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 22px; /* 137.5% */ 
}

.map_left_bottom{
    position: absolute;
    left: 0;
    bottom: 0;
}

.map_right_top{
    position: absolute;
    right: 0;
}

/* med_table_list */

.med_table_list{
    margin-top: 60px;
    display: flex;
    gap: 40px;
}

.med_table_block{
    position: relative;
    overflow: hidden;
    width: 50%;
    display: flex;
    padding: 60px;
    flex-direction: column;
    align-items: flex-start;
    /* flex: 1 0 0; */
    border-radius: 20px;
    background: #F4F4F4;
}

.mtb_desc{
    margin-top: 20px;
}


.med_table_block ul{
    max-width: 400px;
    position: relative;
    z-index: 1;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.med_table_block li{
    display: flex;
    gap: 10px;
color: var(--p, #4B4B4B);

/* p */
font-family: Ubuntu;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 22px; /* 137.5% */
}

.mtb_image_1{
    position: absolute;
    right: -510px;
    top: 155px;
}


.mtb_image_2{
    position: absolute;
    right: 0;
    bottom: 10px;
}

/* med_big_section */

.med_big_section{
    width: 100%;
    padding: 40px;
}

.med_big_container{
    position: relative;
    width: 100%;
    height: 600px;
    background-image: url('https://moszapusk.ru/upload/medialibrary/a30/q74d42ksvhwkxmglmr9ank1m1pp7rzm2/256926c04549a03b7798a14589e283088b3409c5.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 20px;
    overflow: hidden;    
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mbs_shadow{
    position: absolute;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.60) 41.52%, rgba(0, 0, 0, 0.00) 100%);
}

.mds-theme_container{
    max-width: 640px;
    width: 100%;
    
}

.mds_title{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mds_title p{
    color: #DE6F72 !important;
    font-family: Ubuntu;
    font-size: 14px !important;
    font-style: normal;
    font-weight: 400;
    line-height: 16px; /* 114.286% */
    text-transform: uppercase;
}

.mds_title h2{
    color: #FFF;
    font-family: Ubuntu;
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.med_big_container .maxwidth-theme{
    position: relative;
    z-index: 1;
}

.med_big_container p{
    margin-top: 20px;
    color: #FFF;
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
}

.mbs_tag_list{
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.mbs_tag_list > div{
    color: #FFF;
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    display: flex;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 12px;
    border-radius: 99px;
    border: 1px solid #FFF;
    background: rgba(116, 116, 116, 0.10);
    backdrop-filter: blur(5px);
}






/* conditions_block */

.conditions_container{
    display: flex;
    gap: 20px;
}

.conditions_block{
    padding: 40px;
    display: flex;
    width: 33.333%;
    border-radius: 16px;
    gap: 40px;
    border: 1px solid #EAEAEA;
}

.conditions_block .info h3{
    color: var(--main, #1B1B1B);
    font-family: Ubuntu;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 22px; /* 122.222% */
}


.conditions_block .info p{
    color: var(--p, #4B4B4B);
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
}


.conditions_container .info{
    display: flex;
    flex-direction: column;
    gap: 12px;
}


.conditions_block .image{
    flex-shrink: 0;
}

.conditions_block .image svg{
    width: 130px;
    height: 130px;
}


/* med_faq_container */

.med_faq_container{
    position: relative;
    overflow: hidden;
    display: flex;
    padding: 80px;
    align-items: flex-start;
    gap: 80px;
    align-self: stretch;
        border-radius: 20px;
    background: #F4F4F4;
}

.mf_svg_left{
    position: absolute;
    left: 0;
    bottom: 0;
}

.mf_svg_right{
    position: absolute;
    right: 0;
    top: 0;
    z-index: 0;
}

.med_faq_quest,
.mf_info{
    position: relative;
    z-index: 1;
}

.mf_p{
    margin-top: 20px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--p, #4B4B4B);
    font-family: Ubuntu;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px; /* 137.5% */
}



.med_faq_quest {
    flex-shrink: 0;
    width: 100%;
    max-width: 790px;
    height: auto;
display: flex;
  flex-direction: column;
  gap: 10px;
}

.med_faq_block {
    position: relative;
    padding: 20px 80px 20px 30px;
    align-items: center;
    gap: 60px;
    align-self: stretch;
    border-radius: 12px;
    background: #FFF;
    overflow: hidden;
    cursor: pointer;
    transition: border-radius 0.2s;
    flex-wrap: wrap; /* чтобы ответ мог быть на новой строке */
}

/* Кнопка (крестик/плюс) — позиционирование как в исходнике */
.btn_faq_open {
    position: absolute;
    right: 0;
    top: 0;
    pointer-events: none; /* клик перехватывает сам .med_faq_block */
}

.btn_faq {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    width: 35px;
    height: 35px;
    justify-content: center;
    align-items: center;
    aspect-ratio: 1/1;
    border-radius: 99px;
    border: 1.5px solid #FF1B21;
    background: #FF1B21;
    transition: transform 0.3s ease;
    pointer-events: none; /* чтобы клик шёл на блок */
}

/* Поворот крестика при открытии */
.med_faq_block.open .btn_faq {
    transform: rotate(-45deg);
}

/* В закрытом состоянии крестик повёрнут на -90deg (как в исходнике) */
.btn_faq {
    transform: rotate(-90deg);
}

.btn_faq svg {
    display: block;
}

.med_faq_block h2 {
    color: #1B1B1B;
    font-family: Ubuntu;
    font-size: 20px;
    font-weight: 400;
    line-height: 23px;
    margin: 0;
    flex: 1 1 100%;
}

/* Ответ — скрыт по умолчанию, появляется при .open */
.faq_answer {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease, margin 0.3s ease;
    color: #333;
    font-size: 16px;
    line-height: 1.5;
    padding: 0 10px 0 0;
    margin: 0;
    background: transparent;
    border-top: none;
}

.med_faq_block.open .faq_answer {
    max-height: 300px;  /* достаточно для ответа */
    padding: 16px 10px 8px 0;
}

/* убираем лишние отступы у h2 при открытом состоянии */
.med_faq_block.open h2 {
    margin-bottom: 0;
}

/* адаптив для маленьких экранов */
@media (max-width: 600px) {
    .med_faq_block {
        padding: 16px 70px 16px 20px;
        gap: 20px;
    }
    .med_faq_block h2 {
        font-size: 17px;
        line-height: 20px;
    }
}




/* ===== 1200px (Ноутбуки и маленькие экраны) ===== */
@media (max-width: 1200px) {
    .maxwidth-theme {
        padding: 35px 25px;
    }

    /* HERO */
    .med_hero {
        gap: 30px;
    }

    .med_hero_info h2 {
        font-size: 38px;
    }

    .med_hero_image svg {
        width: 100%;
        height: auto;
        max-height: 420px;
    }

    .med_hero_info p {
        max-width: 100%;
        font-size: 15px;
    }

    /* TIZER TIME */
    .med_tizer_time {
        padding: 40px 30px;
        margin-top: 50px;
    }

    .med_title_section {
        font-size: 28px;
    }

    .med_container_block {
        padding: 18px;
        padding-bottom: 0;
        min-height: 130px;
    }

    .last_med_b > div span{
        bottom: -23px;
    }

    .med_container_block span {
        font-size: 85px;
        bottom: -25px;
    }

    .med_container_block h3 {
        font-size: 15px;
        line-height: 21px;
    }

    .med_container_block p {
        font-size: 18px;
    }

    .last_med_b svg {
        width: 35px;
        height: 35px;
        top: -15px;
        right: 15px;
    }

    /* PLUS APP */
    .med_plus_block {
        padding: 30px;
        gap: 30px;
    }

    .med_plus_block h3 {
        font-size: 55px;
    }

    .med_plus_block > div p {
        max-width: 100%;
        font-size: 15px;
    }

    /* APP PACIENT */
    .med_app_pacient_container {
        flex-wrap: wrap;
        border-radius: 12px !important;
    }

    .med_app_pacient_block {
        width: 50%;
        height: auto;
        min-height: 200px;
        padding: 30px 25px;
        border-bottom: 1px solid #F4F4F4;
    }

    .med_app_pacient_block:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .map_line_vertical {
        display: none;
    }

    .map_left_bottom,
    .map_right_top {
        display: none;
    }

    /* TABLE LIST */
    .med_table_list {
        gap: 25px;
        margin-top: 50px;
        flex-wrap: wrap;
    }

    .med_table_block {
        width: calc(50% - 15px);
        padding: 40px 30px;
        min-height: 350px;
    }

    .mtb_image_1 {
        position: absolute;
        right: -300px;
        top: 100px;
        width: auto;
        height: 280px;
    }

    .mtb_image_2 {
        position: absolute;
        right: -50px;
        bottom: 0;
        width: auto;
        height: 200px;
    }

    .med_table_block ul {
        max-width: 100%;
    }

    /* BIG SECTION */
    .med_big_container {
        height: 500px;
        min-height: auto;
        background-position: 70% center;
    }

    .mbs_shadow {
        width: 80%;
        background: linear-gradient(90deg, rgba(0, 0, 0, 0.70) 41.52%, rgba(0, 0, 0, 0.00) 100%);
    }

    .mds-theme_container {
        max-width: 500px;
    }

    .mds_title h2 {
        font-size: 28px;
    }

    .mbs_tag_list {
        gap: 12px;
        margin-top: 30px;
    }

    .mbs_tag_list > div {
        font-size: 15px;
        padding: 8px 18px;
    }

    /* CONDITIONS */
    .conditions_container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .conditions_block {
        width: calc(33.333% - 12px);
        padding: 30px 20px;
        gap: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .conditions_block .image svg {
        width: 90px;
        height: 90px;
    }

    /* FAQ */
    .med_faq_container {
        padding: 50px 40px;
        gap: 50px;
    }

    .med_faq_quest {
        max-width: 60%;
    }

    .med_faq_block {
        padding: 18px 75px 18px 25px;
    }

    .med_faq_block h2 {
        font-size: 18px;
        line-height: 22px;
    }

    .mf_svg_left,
    .mf_svg_right {
        opacity: 0.4;
        max-width: 50%;
    }

    .mf_svg_right {
        max-width: 40%;
    }

    .btn_faq {
        width: 32px;
        height: 32px;
        right: 8px;
        top: 14px;
    }

    .btn_faq_open svg {
        width: 45px;
        height: 45px;
    }

    .faq_answer {
        font-size: 15px;
    }

    .med_faq_block.open .faq_answer {
        max-height: 280px;
        padding: 14px 10px 6px 0;
    }
}

/* ===== 900px (Планшеты) ===== */
@media (max-width: 900px) {
    .maxwidth-theme {
        padding: 30px 20px;
    }

    /* HERO */
    .med_hero {
        flex-direction: column;
        gap: 20px;
    }

    .med_hero_image,
    .med_hero_info {
        width: 100%;
    }

    .med_hero_image svg {
        max-height: 350px;
    }

    .med_hero_info h2 {
        font-size: 32px;
    }

    .med_hero_info {
        padding: 20px 0;
        gap: 20px;
    }

    /* TIZER TIME */
    .med_tizer_time {
        padding: 30px 20px;
        margin-top: 40px;
    }

    .med_title_section {
        font-size: 26px;
    }

    .med_container_section {
        flex-wrap: wrap;
        gap: 15px;
    }

    .med_container_block {
        width: calc(50% - 10px);
        min-height: 120px;
    }

    .med_container_block span {
        font-size: 70px;
        bottom: -20px;
    }

    .last_med_b {
        width: 100%;
    }

    .last_med_b > div {
        padding-right: 50px;
    }

    .last_med_b svg {
        width: 30px;
        height: 30px;
        top: -10px;
        right: 10px;
    }

    /* PLUS APP */
    .med_plus_app {
        margin-top: 40px;
        gap: 30px;
    }

    .med_plus_block {
        padding: 25px 20px;
        flex-wrap: wrap;
        gap: 20px;
    }

    .med_plus_block > div {
        width: 100%;
    }

    .med_plus_block h3 {
        font-size: 40px;
        width: 100%;
    }

    .med_plus_block > div p {
        max-width: 100%;
    }

    /* APP PACIENT */
    .med_app_pacient_container {
        flex-wrap: wrap;
        border-radius: 12px !important;
    }

    .med_app_pacient_block {
        width: 100%;
        height: auto;
        padding: 25px 20px;
        gap: 20px;
        border-bottom: 1px solid #F4F4F4;
        min-height: auto;
    }

    .med_app_pacient_block:last-child {
        border-bottom: none;
    }

    .map_line_vertical {
        display: none;
    }

    .map_left_bottom,
    .map_right_top {
        display: none;
    }

    /* TABLE LIST */
    .med_table_list {
        flex-direction: column;
        gap: 20px;
        margin-top: 40px;
    }

    .med_table_block {
        width: 100%;
        padding: 30px 20px;
        min-height: 300px;
    }

    .mtb_image_1 {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        height: auto;
        margin-top: 20px;
        transform: none;
        max-height: 250px;
        object-fit: contain;
    }

    .mtb_image_2 {
        position: relative;
        right: auto;
        bottom: auto;
        width: 100%;
        height: auto;
        margin-top: 20px;
        max-height: 200px;
        object-fit: contain;
    }

    .med_table_block ul {
        max-width: 100%;
        margin-top: 20px;
    }

    /* BIG SECTION */
    .med_big_section {
        padding: 20px;
    }

    .med_big_container {
        height: auto;
        min-height: 450px;
        /* padding: 30px 20px; */
        background-position: center;
    }

    .mbs_shadow {
        width: 100%;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.60) 0%, rgba(0, 0, 0, 0.80) 100%);
    }

    .mds-theme_container {
        max-width: 100%;
    }

    .mds_title h2 {
        font-size: 26px;
    }

    .mbs_tag_list {
        gap: 10px;
        margin-top: 25px;
    }

    .mbs_tag_list > div {
        font-size: 14px;
        padding: 8px 16px;
    }

    /* CONDITIONS */
    .conditions_container {
        flex-direction: column;
        gap: 15px;
    }

    .conditions_block {
        width: 100%;
        padding: 25px 20px;
        gap: 20px;
        flex-direction: row;
        align-items: center;
    }

    .conditions_block .image svg {
        width: 80px;
        height: 80px;
    }

    /* FAQ */
    .med_faq_container {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }

    .mf_info {
        width: 100%;
    }

    .med_faq_quest {
        max-width: 100%;
    }

    .med_faq_block {
        padding: 16px 70px 16px 20px;
        gap: 10px;
    }

    .med_faq_block h2 {
        font-size: 17px;
        line-height: 22px;
    }

    .mf_svg_left,
    .mf_svg_right {
        display: none;
    }

    .btn_faq {
        right: 7px;
        top: 8px;
        width: 25px;
        height: 25px;
    }

    .btn_faq_open svg {
        width: 50px;
        height: 50px;
    }

    .faq_answer {
        font-size: 15px;
    }

    .med_faq_block.open .faq_answer {
        max-height: 280px;
        padding: 12px 10px 6px 0;
    }
    
    .btn_faq_open path{
        fill: red;
    }
}
    .med_btn_container{
        display: flex;
        gap: 16px;
        margin-bottom: 15px;

    }
    .med_btn_container .transform a{
       background-color: transparent !important;
        border: 1px solid #FF1B21;
        color: #FF1B21;
    }
    



/* ===== 420px (Телефоны) ===== */
@media (max-width: 420px) {

        .med_btn_container{
            flex-direction: column !important;
        }
        .med_btn_container .menu-request-btn{
            margin: 0 !important;
            width: 100%;
        }

        .menu-request-btn .btn{
            width: 100%;
  display: block;
        }

            .med_btn_container{
        display: flex;
        gap: 16px;
        margin-bottom: 12px;

    }
    .med_btn_container .transform a{
       background-color: transparent !important;
        border: 1px solid #FF1B21;
        color: #FF1B21;
    }

    .maxwidth-theme {
        padding: 20px 12px;
    }

    /* HERO */
    .med_hero_image svg {
        max-height: 250px;
    }

    .med_hero_info h2 {
        font-size: 22px;
    }

    .med_hero_info p {
        font-size: 14px;
        line-height: 20px;
    }

    /* TIZER TIME */
    .med_tizer_time {
        padding: 18px 12px;
        gap: 16px;
        margin-top: 25px;
    }

    .med_title_section {
        font-size: 18px;
    }

    .med_container_block {
        width: 100%;
        padding: 14px;
        min-height: 90px;
        padding-bottom: 0;
        padding-right: 0;
        gap: 8px;
    }

    .last_med_b > div span{
        bottom: -10px;
    }

    .med_container_block p {
        font-size: 14px;
    }

    .med_container_block h3 {
        font-size: 13px;
        line-height: 18px;
    }

    .med_container_block span {
        font-size: 40px;
        bottom: -10px;
        right: 5px;
    }

    .last_med_b > div {
        padding-right: 35px;
    }

    .last_med_b svg {
        width: 20px;
        height: 20px;
        top: -5px;
        right: 5px;
    }

    /* PLUS APP */
    .med_plus_app {
        margin-top: 30px;
        gap: 20px;
    }

    .med_p_h2 p {
        font-size: 12px;
        line-height: 14px;
    }

    .med_plus_block {
        padding: 16px 12px;
        gap: 12px;
    }

    .med_plus_block h3 {
        font-size: 28px;
    }

    .med_plus_block > div p {
        font-size: 13px;
        line-height: 19px;
        margin-top: 6px;
    }

    .med_plus_block > div span {
        font-size: 12px;
    }

    /* APP PACIENT */
    .med_app_pacient {
        margin-top: 30px;
    }

    .med_app_pacient_block {
        padding: 16px 12px;
        gap: 12px;
    }

    .info_app_icon h3 {
        font-size: 15px;
        line-height: 18px;
    }

    .info_app_icon p {
        font-size: 13px;
        line-height: 19px;
    }

    .med_app_icon svg {
        width: 24px;
        height: 24px;
    }

    /* TABLE LIST */
    .med_table_list {
        margin-top: 30px;
        gap: 15px;
    }

    .med_table_block {
        padding: 16px 12px;
        border-radius: 10px;
        min-height: 200px;
    }

    .med_table_block ul {
        gap: 10px;
        margin-top: 12px;
    }

    .med_table_block li {
        font-size: 13px;
        line-height: 19px;
        gap: 8px;
    }

    .med_table_block li svg {
        width: 16px;
        height: 16px;
        flex-shrink: 0;
    }

    .mtb_desc {
        font-size: 13px;
        line-height: 19px;
        margin-top: 10px;
    }

    .mtb_image_1,
    .mtb_image_2 {
        max-height: max-content;
        margin-top: 15px;
    }

    /* BIG SECTION */
    .med_big_section {
        padding: 8px;
    }

    .med_big_container {
        min-height: 320px;
        /* padding: 16px 12px; */
        border-radius: 10px;
    }

    .mds_title h2 {
        font-size: 18px;
    }

    .mds_title p {
        font-size: 11px !important;
    }

    .med_big_container p {
        font-size: 13px;
        line-height: 19px;
        margin-top: 10px;
    }

    .mbs_tag_list {
        gap: 8px;
        margin-top: 18px;
    }

    .mbs_tag_list > div {
        font-size: 11px;
        padding: 5px 12px;
        gap: 6px;
        border-radius: 50px;
    }

    .mbs_tag_list > div svg {
        width: 14px;
        height: 14px;
    }

    /* CONDITIONS */
    .conditions_block {
        padding: 16px 12px;
        gap: 12px;
        flex-direction: row;
        align-items: flex-start;
        border-radius: 12px;
    }

    .conditions_block .info h3 {
        font-size: 14px;
        line-height: 18px;
    }

    .conditions_block .info p {
        font-size: 13px;
        line-height: 19px;
    }

    .conditions_block .image svg {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    /* FAQ */
    .med_faq_container {
        padding: 16px 12px;
        gap: 16px;
        border-radius: 10px;
    }

    .mf_p {
        font-size: 13px;
        line-height: 19px;
        margin-top: 10px;
        margin-bottom: 16px;
        gap: 6px;
    }

    .med_faq_block {
        padding: 12px 50px 12px 14px;
        border-radius: 8px;
        gap: 6px;
    }

    .med_faq_block h2 {
        font-size: 14px;
        line-height: 18px;
    }

    .btn_faq {
        width: 22px;
        height: 22px;
        right: 8px;
        top: 8px;
        border-width: 1px;
    }

    /* .btn_faq {
        right: 7px;
        top: 8px;
        width: 20px;
        height: 20px;
    }

    .btn_faq_open svg {
        width: 50px;
        height: 50px;
    } */

    
    /* .btn_faq svg {
        width: 12px;
        height: 12px;
    }

    .btn_faq_open svg {
        width: 28px;
        height: 28px;
    } */

    .faq_answer {
        font-size: 13px;
        line-height: 1.5;
    }

    .med_faq_block.open .faq_answer {
        max-height: 200px;
        padding: 10px 8px 4px 0;
    }

    .med_faq_block.open {
        padding-bottom: 12px;
    }
}

/* ===== Дополнительные улучшения ===== */

/* Оптимизация изображений на мобильных */
@media (max-width: 900px) {
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Улучшаем кликабельные области на мобильных */
@media (max-width: 420px) {
    .btn_faq,
    .med_faq_block,
    .conditions_block,
    .med_app_pacient_block {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .med_faq_block:active {
        background: #f8f8f8;
    }

    .conditions_block:active {
        background: #fafafa;
    }

    /* Увеличиваем отступы для безопасной зоны тапа */
    .med_faq_block h2 {
        padding-right: 15px;
    }

    .btn_faq {
        pointer-events: auto;
        /* min-width: 30px;
        min-height: 30px; */
    }
}

/* Плавные переходы для всех интерактивных элементов */
.med_faq_block,
.med_faq_block *,
.btn_faq,
.conditions_block,
.med_app_pacient_block {
    transition: all 0.3s ease;
}

/* Фикс для скролла на мобильных */
@media (max-width: 900px) {
    body {
        -webkit-text-size-adjust: 100%;
        -webkit-tap-highlight-color: transparent;
    }

    * {
        -webkit-touch-callout: none;
    }
}