/* Локальний Montserrat Bold для заголовків сторінки «Про компанію». */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('font/Montserrat-Bold-cyrillic.woff2') format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('font/Montserrat-Bold-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Перший блок сторінки «Про компанію»: пошарова hero-анімація */
body.page_information_id_38 .tdc-about-banner {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background: #ffffff;
}

body.page_information_id_38 .tdc-about-banner__stage {
    position: relative;
    left: 50%;
    width: min(100vw, 2172px);
    max-width: 2172px;
    aspect-ratio: 2172 / 844;
    overflow: hidden;
    isolation: isolate;
    background: #ffffff;
    touch-action: pan-y;
    transform: translateX(-50%);
}

/* На звичайних 16:9 екранах із реальною високою роздільністю hero займає всю
   ширину. Умова за resolution не дає правилу спрацювати при zoom 25–50%.
   Формати 21:9/32:9 сюди не потрапляють і лишаються в натуральній межі 2172 px. */
@media (min-width: 2173px) and (max-aspect-ratio: 37/20) and (min-resolution: 0.75dppx) {
    body.page_information_id_38 .tdc-about-banner__stage {
        width: 100vw;
        max-width: none;
    }
}

/* Без JavaScript одразу залишається доступним фінальний кадр. */
body.page_information_id_38 .tdc-about-banner__frame {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain;
    opacity: 1;
    transform: none;
}

/* Сьомий шар з'являється останнім, лежить позаду інших і не має паралаксу. */
body.page_information_id_38 .tdc-about-banner__background {
    position: absolute;
    inset: 0;
    z-index: 40;
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain;
    pointer-events: none;
    opacity: 0;
    transform: none;
    will-change: opacity;
}

/* Обгортка тримає паралакс окремо від руху самого шару. */
body.page_information_id_38 .tdc-about-banner__parallax {
    position: absolute;
    inset: 0;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

body.page_information_id_38 .tdc-about-banner__stage.is-enhanced .tdc-about-banner__frame {
    opacity: 0;
    will-change: opacity, transform, -webkit-mask-image, mask-image;
}

body.page_information_id_38 .tdc-about-banner__canvas {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

body.page_information_id_38 .tdc-about-banner__canvas--back {
    z-index: 95;
}

body.page_information_id_38 .tdc-about-banner__canvas--front {
    z-index: 105;
}

/* Користувачі з вимкненим рухом одразу бачать точну фінальну композицію. */
@media (prefers-reduced-motion: reduce) {
    body.page_information_id_38 .tdc-about-banner__stage.is-enhanced .tdc-about-banner__frame {
        opacity: 1;
        transform: none !important;
        -webkit-mask-image: none !important;
        mask-image: none !important;
    }

    body.page_information_id_38 .tdc-about-banner__background {
        opacity: 1 !important;
    }

    body.page_information_id_38 .tdc-about-banner__canvas {
        display: none;
    }
}

/* Приховує заголовок тільки на сторінці «Про компанію» */
body.page_information_id_38 .page-header {
    display: none;
}

/* Другий блок сторінки «Про компанію»: текст і відео */
body.page_information_id_38 .tdc-about-intro {
    width: 100%;
    padding: 54px 20px 82px;
    background: #ffffff;
    color: #373737;
}

body.page_information_id_38 .tdc-about-intro__inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 20px 82px;
    box-sizing: border-box;
    background: #ffffff;
    color: #373737;
}

body.page_information_id_38 .tdc-about-intro__title,
body.page_information_id_38 .tdc-about-intro__inner > h1,
body.page_information_id_38 .tdc-about-intro__inner > h2 {
    margin: 0 0 48px;
    color: #373737;
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

body.page_information_id_38 .tdc-about-intro__content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 72px;
}

body.page_information_id_38 .tdc-about-intro__text {
    max-width: 470px;
    font-size: 18px;
    line-height: 1.35;
}

body.page_information_id_38 .tdc-about-intro__text p {
    margin: 0 0 24px;
}

body.page_information_id_38 .tdc-about-intro__text p:last-child {
    margin-bottom: 0;
}

body.page_information_id_38 .tdc-about-intro__text strong {
    font-weight: 700;
}

body.page_information_id_38 .tdc-about-intro__video {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    background: #10151b;
    box-shadow: 0 12px 34px rgba(16, 21, 27, 0.14);
    aspect-ratio: 16 / 9;
}

body.page_information_id_38 .tdc-about-intro__video iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 900px) {
    body.page_information_id_38 .tdc-about-intro,
    body.page_information_id_38 .tdc-about-intro__inner {
        padding: 44px 20px 64px;
    }

    body.page_information_id_38 .tdc-about-intro__title,
    body.page_information_id_38 .tdc-about-intro__inner > h2 {
        margin-bottom: 34px;
    }

    body.page_information_id_38 .tdc-about-intro__content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    body.page_information_id_38 .tdc-about-intro__text {
        max-width: none;
    }
}

@media (max-width: 520px) {
    body.page_information_id_38 .tdc-about-intro,
    body.page_information_id_38 .tdc-about-intro__inner {
        padding: 36px 16px 52px;
    }

    body.page_information_id_38 .tdc-about-intro__title,
    body.page_information_id_38 .tdc-about-intro__inner > h2 {
        margin-bottom: 28px;
    }

    body.page_information_id_38 .tdc-about-intro__text {
        font-size: 16px;
        line-height: 1.45;
    }
}

/* Третій блок сторінки «Про компанію»: показники компанії */
body.page_information_id_38 .tdc-about-numbers {
    position: relative;
    left: 50%;
    width: min(100vw, 2172px);
    max-width: 2172px;
    margin: 0;
    padding: 12px 0 90px;
    box-sizing: border-box;
    background: #ffffff;
    color: #373737;
    transform: translateX(-50%);
}

body.page_information_id_38 .tdc-about-numbers__title {
    margin: 0 0 58px;
    color: #373737;
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

body.page_information_id_38 .tdc-about-numbers__layout {
    display: grid;
    grid-template-columns: minmax(360px, 0.52fr) minmax(700px, 1fr);
    align-items: stretch;
    gap: clamp(58px, 4vw, 76px);
    width: 100%;
    padding-left: max(20px, calc((100% - 1180px) / 2 + 20px));
    box-sizing: border-box;
}

body.page_information_id_38 .tdc-about-numbers__stats {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

body.page_information_id_38 .tdc-about-numbers__stats .tdc-about-numbers__item:last-child {
    margin-top: 0;
}

body.page_information_id_38 .tdc-about-numbers__item {
    max-width: 390px;
}

body.page_information_id_38 .tdc-about-numbers__value {
    margin-bottom: 2px;
    color: #373737;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}

body.page_information_id_38 .tdc-about-numbers__label {
    color: #454545;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.22;
}

body.page_information_id_38 .tdc-about-numbers__visual {
    min-width: 0;
}

body.page_information_id_38 .tdc-about-numbers__visual .tdc-about-numbers__item {
    margin: 0 0 24px 20%;
}

body.page_information_id_38 .tdc-about-numbers__image {
    display: block;
    width: 100% !important;
    height: auto !important;
    margin: 0 auto;
}

body.page_information_id_38 .tdc-about-numbers__note {
    max-width: 420px;
    margin: 8px auto 0;
    color: #696969;
    font-size: 15px;
    line-height: 1.25;
}

body.page_information_id_38 .tdc-about-numbers__note-marker {
    color: #fecc00;
    font-weight: 700;
}

@media (max-width: 1180px) {
    body.page_information_id_38 .tdc-about-numbers__layout {
        grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
        align-items: start;
        gap: 46px;
        padding: 0 20px;
    }

    body.page_information_id_38 .tdc-about-numbers__stats {
        display: grid;
    }

    body.page_information_id_38 .tdc-about-numbers__stats .tdc-about-numbers__item:last-child {
        margin-top: 0;
    }

    body.page_information_id_38 .tdc-about-numbers__visual .tdc-about-numbers__item {
        margin-left: 14%;
    }
}

@media (max-width: 900px) {
    body.page_information_id_38 .tdc-about-numbers {
        padding: 0 0 72px;
    }

    body.page_information_id_38 .tdc-about-numbers__title {
        margin-bottom: 42px;
    }

    body.page_information_id_38 .tdc-about-numbers__layout {
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 0 20px;
    }

    body.page_information_id_38 .tdc-about-numbers__stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 42px;
    }

    body.page_information_id_38 .tdc-about-numbers__item {
        max-width: none;
    }

    body.page_information_id_38 .tdc-about-numbers__visual .tdc-about-numbers__item {
        margin: 0 0 24px;
    }
}

@media (max-width: 520px) {
    body.page_information_id_38 .tdc-about-numbers {
        padding: 0 0 56px;
    }

    body.page_information_id_38 .tdc-about-numbers__title {
        margin-bottom: 34px;
    }

    body.page_information_id_38 .tdc-about-numbers__stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    body.page_information_id_38 .tdc-about-numbers__layout {
        padding: 0 16px;
    }

    body.page_information_id_38 .tdc-about-numbers__value {
        font-size: 30px;
    }

    body.page_information_id_38 .tdc-about-numbers__label {
        font-size: 16px;
    }

    body.page_information_id_38 .tdc-about-numbers__note {
        font-size: 14px;
    }
}

/* Справжні ultrawide/4K екрани: збільшуємо робочу сітку помірно, не розтягуючи
   hero та зображення «Ми в цифрах» до розміру всього фізичного екрана. */
@media (min-width: 2400px) and (min-resolution: 0.75dppx) {
    body.page_information_id_38 .tdc-about-intro__inner {
        max-width: 1440px;
        padding-top: 64px;
        padding-bottom: 88px;
    }

    body.page_information_id_38 .tdc-about-intro__content {
        gap: clamp(72px, 4vw, 110px);
    }

    body.page_information_id_38 .tdc-about-intro__text {
        max-width: 540px;
        font-size: 19px;
    }

    body.page_information_id_38 .tdc-about-numbers {
        padding-bottom: 104px;
    }

    body.page_information_id_38 .tdc-about-numbers__layout {
        grid-template-columns: minmax(420px, 0.52fr) minmax(760px, 1fr);
        gap: clamp(72px, 3vw, 100px);
        padding-left: max(20px, calc((100% - 1440px) / 2 + 20px));
    }

    body.page_information_id_38 .tdc-about-numbers__item {
        max-width: 440px;
    }

    body.page_information_id_38 .tdc-about-numbers__value {
        font-size: 36px;
    }

    body.page_information_id_38 .tdc-about-numbers__label {
        font-size: 18px;
    }

    body.page_information_id_38 .tdc-about-numbers__note {
        max-width: 480px;
        font-size: 16px;
    }
}

@media (max-width: 760px) {
    body.page_information_id_38 .tdc-about-intro__title,
    body.page_information_id_38 .tdc-about-intro__inner > h2,
    body.page_information_id_38 .tdc-about-numbers__title {
        font-size: 32px;
    }
}
