/* =========================================================
   TOUCHMEDICAL — ABOUT PAGE
========================================================= */

.tm-about-page {
    width: 100%;
    overflow: hidden;
    background: #fff;
}

.tm-about-content {
    width: 100%;
    color: var(--tm-color-text, #151515);
    font-family: var(--tm-font, 'Manrope', sans-serif);
}


/* =========================================================
   COMMON OVERLINE
========================================================= */

.tm-about-overline {
    margin: 0 0 12px;

    color: #69B96B;

    font-family: var(--tm-font, 'Manrope', sans-serif);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.06em;
}


/* =========================================================
   BREADCRUMBS
========================================================= */

.tm-about-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;

    margin: 0 0 30px;

    color: #66706A;

    font-family: var(--tm-font, 'Manrope', sans-serif);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}

.tm-about-breadcrumbs a {
    color: inherit !important;
    text-decoration: none !important;
}

.tm-about-breadcrumbs a:hover {
    color: var(--tm-color-accent, #89C43B) !important;
}

.tm-about-breadcrumbs > span[aria-hidden="true"] {
    color: #9BA39D;
}


/* =========================================================
   SECTION 1 — INTRO
========================================================= */

.tm-about-intro {
    position: relative;
    background: #F4F5F2;
}

.tm-about-intro > .tm-container {
    position: relative;
    padding-top: 28px;
}

.tm-about-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: center;

    min-height: 330px;
}

.tm-about-intro-copy {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 530px;
    padding-bottom: 28px;
}

.tm-about-title {
    margin: 0 0 20px !important;

    color: var(--tm-color-text, #151515) !important;

    font-family: var(--tm-font, 'Manrope', sans-serif) !important;
    font-size: 50px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;
}

.tm-about-intro-copy p {
    margin: 0 0 16px;

    color: #66706A;

    font-family: var(--tm-font, 'Manrope', sans-serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.tm-about-intro-copy p:last-child {
    margin-bottom: 0;
}


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

.tm-about-intro-visual {
    position: relative;
    align-self: stretch;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    min-width: 0;
    min-height: 330px;
}

.tm-about-intro-image {
    display: block;

    width: 120%;
    height: 120%;
    max-height: 600px;

    object-fit: contain;
    object-position: center bottom;

    mix-blend-mode: multiply;
}


/* =========================================================
   SECTION 2 — BENEFITS
========================================================= */

.tm-about-benefits {
    padding: 54px 0 58px;
    background: #fff;
}

.tm-about-section-header {
    margin-bottom: 30px;
}

.tm-about-section-header .tm-about-overline {
    margin-bottom: 10px;
}

.tm-about-section-title {
    margin: 0 !important;

    color: var(--tm-color-text, #151515) !important;

    font-family: var(--tm-font, 'Manrope', sans-serif) !important;
    font-size: 34px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    padding-bottom: 20px;
}

.tm-about-benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;

    align-items: start;
}

.tm-about-benefit {
    min-width: 0;
    text-align: center;
}

.tm-about-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin: 0 auto 15px;
    padding: 14px;

    color: var(--tm-color-accent, #89C43B);
    background: #F1F5EF;

    border-radius: 50%;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}

.tm-about-benefit-icon img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}

.tm-about-benefit h3 {
    margin: 0 0 10px !important;

    color: var(--tm-color-text, #151515) !important;

    font-family: var(--tm-font, 'Manrope', sans-serif) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

.tm-about-benefit p {
    margin: 0;

    color: #66706A;

    font-family: var(--tm-font, 'Manrope', sans-serif);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================================================
   SECTION 3 — MODERN MEDICINE
========================================================= */

.tm-about-modern {
    position: relative;
    isolation: isolate;

    overflow: hidden;
    background: #F4F5F2;
}

.tm-about-modern-background {
    position: absolute;
    inset: 0;
    z-index: -1;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;
}

.tm-about-modern-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.33fr) minmax(0, 0.67fr);
    gap: 24px;
    align-items: center;

    min-height: 340px;
    padding: 36px 0 28px;
}

.tm-about-modern-copy {
    position: relative;
    z-index: 2;

    max-width: 320px;
}

.tm-about-modern-title {
    margin: 0 0 22px !important;

    color: var(--tm-color-text, #151515) !important;

    font-family: var(--tm-font, 'Manrope', sans-serif) !important;
    font-size: 34px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
}

.tm-about-modern-copy p {
    max-width: 280px;
    margin: 0;

    color: #66706A;

    font-family: var(--tm-font, 'Manrope', sans-serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================================================
   MODERN MEDICINE IMAGE
========================================================= */

.tm-about-modern-visual {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 0;
    min-height: 400px;
}

.tm-about-modern-image {
    display: block;

    width: 100%;
    height: 100%;
    max-height: 370px;

    object-fit: contain;
    object-position: center bottom;

    mix-blend-mode: multiply;
}


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

@media (max-width: 1024px) {

    .tm-about-intro-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
        gap: 16px;
    }

    .tm-about-intro-visual {
        min-height: 290px;
    }

    .tm-about-title {
        font-size: 42px !important;
    }

    .tm-about-benefits-grid {
        gap: 18px;
    }

    .tm-about-modern-grid {
        grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
        gap: 16px;
    }

    .tm-about-modern-title {
        font-size: 28px !important;
    }

}


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

@media (max-width: 767px) {

    /* INTRO */

    .tm-about-intro > .tm-container {
        padding-top: 17px;
    }

    .tm-about-breadcrumbs {
        gap: 7px;
        margin-bottom: 20px;

        font-size: 14px;
    }

    .tm-about-intro-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        min-height: 0;
    }

    .tm-about-intro-copy {
        max-width: none;
        padding-bottom: 0;

        text-align: center;
    }

    .tm-about-intro-copy .tm-about-overline {
        margin-bottom: 7px;
        font-size: 14px;
    }

    .tm-about-title {
        margin-bottom: 14px !important;

        font-size: 25px !important;
        line-height: 1.3 !important;
    }

    .tm-about-intro-copy p {
        margin-bottom: 12px;

        font-size: 14px;
        line-height: 1.45;
        text-align: left;
    }

    .tm-about-intro-copy p:first-of-type {
        text-align: left;
    }

    .tm-about-intro-visual {
        width: 100%;
        min-height: 0;
        height: auto;
        margin-top: 4px;
    }

    .tm-about-intro-image {
        width: 100%;
        height: auto;
        max-height: none;

        object-position: center bottom;
    }


    /* BENEFITS */

    .tm-about-benefits {
        padding: 29px 0 32px;
    }

    .tm-about-section-header {
        margin-bottom: 22px;
        text-align: center;
    }

    .tm-about-section-header .tm-about-overline {
        margin-bottom: 8px;
        font-size: 14px;
    }

    .tm-about-section-title {
        font-size: 24px !important;
        line-height: 1.35 !important;
    }

    .tm-about-benefits-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .tm-about-benefit-icon {
        width: 54px;
        height: 54px;

        margin-bottom: 10px;
        padding: 12px;
    }

    .tm-about-benefit h3 {
        margin-bottom: 6px !important;

        font-size: 16px !important;
        line-height: 1.4 !important;
    }

    .tm-about-benefit p {
        max-width: 360px;
        margin: 0 auto;

        font-size: 14px;
        line-height: 1.45;
    }


    /* MODERN MEDICINE */

    .tm-about-modern-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-bottom: 20px;

        min-height: 0;
        padding: 27px 0 0;
    }

    .tm-about-modern-copy {
        max-width: none;
        text-align: center;
    }

    .tm-about-modern-title {
        margin-bottom: 13px !important;

        font-size: 24px !important;
        line-height: 1.35 !important;
    }

    .tm-about-modern-copy p {
        max-width: 370px;
        margin: 0 auto;

        font-size: 14px;
        line-height: 1.45;
    }

    .tm-about-modern-visual {
        width: 100%;
        min-height: 0;
        height: auto;
        margin-top: 8px;
    }

    .tm-about-modern-image {
        width: 100%;
        height: auto;
        max-height: none;

        object-position: center bottom;
    }

}


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

@media (max-width: 380px) {

    .tm-about-intro-copy p {
        font-size: 12px;
    }

    .tm-about-modern-title {
        font-size: 21px !important;
    }

    .tm-about-benefits-grid {
        gap: 19px;
    }

}





/* =========================================================
   ABOUT INTRO — LARGE OVERLAPPING IMAGE
========================================================= */

@media (min-width: 1025px) {

    /* Верхняя секция располагается поверх следующего блока */
    .tm-about-intro {
        position: relative;
        z-index: 2;
        overflow: visible;
    }

    .tm-about-intro-grid {
        position: relative;
        display: block;

        min-height: 0;
        overflow: visible;
    }

    /* Текстовая колонка */
    .tm-about-intro-copy {
        position: relative;
        z-index: 2;

        width: 44%;
        max-width: 540px;

        padding-bottom: 38px;
    }

    /* Увеличенная композиция оборудования */
    .tm-about-intro-visual {
        position: absolute;

        top: -42px;
        right: -20px;
        bottom: -58px;

        width: 59%;
        height: auto;
        min-height: 0;

        z-index: 3;

        display: flex;
        align-items: stretch;
        justify-content: center;

        overflow: visible;
    }

    .tm-about-intro-image {
        display: block;

        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;

        object-fit: contain;
        object-position: center bottom;

        mix-blend-mode: multiply;
    }

    /* Следующая секция остаётся под изображением */
    .tm-about-benefits {
        position: relative;
        z-index: 1;
    }

}






/* =========================================================
   ABOUT — MODERN MEDICINE
   LARGER EQUIPMENT IMAGE + LAYERING FIX
========================================================= */

@media (min-width: 768px) {

    /* Секция */
    .tm-about-modern {
        position: relative;
        isolation: isolate;
        overflow: hidden;
    }

    /* Фоновое изображение — нижний слой */
    .tm-about-modern > .tm-about-modern-background {
        position: absolute;
        inset: 0;
        z-index: 0;

        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center;
    }

    /* Контент находится над фоном */
    .tm-about-modern > .tm-container {
        position: relative;
        z-index: 1;
    }

    /* Пространство для крупного изображения */
    .tm-about-modern-grid {
        position: relative;

        display: block;

        min-height: 390px;
        padding: 36px 0 28px;
    }

    /* Текст слева */
    .tm-about-modern-copy {
        position: relative;
        z-index: 3;

        width: 30%;
        max-width: 360px;
    }

    /* Область композиции справа */
    .tm-about-modern-visual {
        position: absolute;

        top: 0;
        right: 0;
        bottom: 0;

        z-index: 2;

        width: 74%;
        height: auto;
        min-height: 0;

        display: flex;
        align-items: flex-end;
        justify-content: flex-end;

        overflow: visible;
    }

    /* Увеличенная композиция оборудования */
    .tm-about-modern-image {
        display: block;

        width: 100%;
        height: 100%;

        max-width: none;
        max-height: none;

        object-fit: contain;
        object-position: right bottom;

        mix-blend-mode: multiply;
    }

}