

/* Start:/about/style.css?178902092755817*/
/* =========================================
   ГЛАВНЫЙ БЛОК СТРАНИЦЫ О КОМПАНИИ
   ========================================= */

.about-story {
    padding: 2px 0 40px;
}


/* =========================================
   H1
   ========================================= */

.about-story__head {
    max-width: 980px;

    margin: 0 auto 46px;

    text-align: center;
}

.about-story__title {
    margin: 0;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 38px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;

    color: #1f2933;

    text-transform: none;
}


/* =========================================
   ОБЩИЙ БАННЕР
   ========================================= */

.about-main {
    position: relative;

    min-height: 600px;

    overflow: hidden;

    border-radius: 14px;

    background: #f3f2f1;
}


/* =========================================
   ФОТОГРАФИЯ
   ========================================= */

.about-main__photo {
    position: absolute;

    inset: 0;

    overflow: hidden;
}

.about-main__image {
    display: block;

    width: 100%;
    height: 100%;

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


/* =========================================
   СВЕТЛЫЙ ГРАДИЕНТ
   ========================================= */

.about-main__gradient {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(243, 242, 241, 0) 36%,
            rgba(243, 242, 241, 0.18) 48%,
            rgba(243, 242, 241, 0.72) 64%,
            rgba(243, 242, 241, 0.96) 78%,
            #f3f2f1 90%
        );
}

/* =========================================
   НИЖНЯЯ СМЫСЛОВАЯ ЧАСТЬ
   ========================================= */

.about-main__trust {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 34px;

    z-index: 2;

    padding: 0 58px;
}


/* Заголовок */

.about-main__trust-title {
    margin: 0 0 34px;

    text-align: center;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;

    color: #1f2933;

    text-transform: none;
}

.about-main__trust-title strong {
    font: inherit;
    font-weight: 600;

    color: #841b2d;
}


/* =========================================
   4 СЦЕНАРИЯ
   ========================================= */

.about-main__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}


/* Один сценарий */

.about-main__item {
    position: relative;

    min-height: 100px;

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

    padding: 0 34px;

    text-align: center;
}


/* Вертикальные линии между сценариями */

.about-main__item:not(:first-child)::before {
    content: "";

    position: absolute;

    left: 0;
    top: 5px;

    width: 1px;
    height: 90px;

    background: rgba(31, 41, 51, 0.17);
}


/* Текст */

.about-main__item p {
    margin: 0;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 550;

    color: #1f2933;
}


/* Бордовая линия */

.about-main__item p::before {
    content: "";

    display: block;

    width: 30px;
    height: 2px;

    margin: 0 auto 18px;

    background: #841b2d;
}



/* =========================================
   БЛОК С ОСНОВАТЕЛЕМ
   ========================================= */

.about-founder__mobile-photo {
    display: none;
}

.about-founder {
    padding: 30px 0 40px;
}

.about-founder__inner {
    position: relative;

    min-height: 620px;

    display: flex;
    align-items: center;

    overflow: hidden;
    border-radius: 14px;

    background-image: url("/local/templates/nahodu/images/founder-banner3.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/* =========================================
   ЦИТАТА
   ========================================= */

.about-founder__quote {
    position: relative;
    z-index: 2;

    width: 49%;
    max-width: 570px;

    padding-left: 70px;
}


/* =========================================
   ФИРМЕННЫЙ ЗНАК ЦИТАТЫ
   ========================================= */

.about-founder__quote-mark {
    position: relative;

    width: 34px;
    height: 40px;

    margin-bottom: 18px;
}

.about-founder__quote-mark span {
    position: absolute;
    top: 0;

    width: 5px;
    height: 24px;

    background: #841b2d;

    transform: skew(-24deg);

    border-radius: 1px;
    opacity: 0.95;
}

.about-founder__quote-mark span:first-child {
    left: 2px;
}

.about-founder__quote-mark span:last-child {
    left: 16px;
}



/* =========================================
   BLOCKQUOTE
   ========================================= */

.about-founder__blockquote {
    margin: 0;
    padding: 0;

    border: 0;
}

.about-founder__text {
    margin: 0;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 27px;
    line-height: 1.48;
    font-weight: 400;
    letter-spacing: -0.01em;

    color: #1f2933;
}

.about-founder__text strong {
    color: #841b2d;

    font: inherit;
    font-weight: 600;
}


/* =========================================
   РАЗДЕЛИТЕЛЬ
   ========================================= */

.about-founder__line {
    width: 52px;
    height: 2px;

    margin: 30px 0 20px;

    background: #841b2d;
}


/* =========================================
   АВТОР ЦИТАТЫ
   ========================================= */

.about-founder__author {
    margin: 0;
}

.about-founder__author-name {
    margin-bottom: 5px;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 600;

    color: #1f2933;
}

.about-founder__author-position {
    font-family: "Inter", "Arial", sans-serif;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;

    color: #66707a;
}



/* =========================================
   ПРИНЦИПЫ РАБОТЫ
   ========================================= */

.about-principles {
    padding: 70px 0 90px;
}


/* Заголовок блока */

.about-principles__head {
    margin-bottom: 60px;
    text-align: center;
}

.about-principles__title {
    margin: 0;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;

    color: #1f2933;
    text-transform: none;
}


/* =========================================
   СТРОКА
   ========================================= */

.about-principles__row {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;

    align-items: center;

    margin-bottom: 90px;
}

.about-principles__row:last-child {
    margin-bottom: 0;
}


/* Чередование */

.about-principles__row--reverse .about-principles__media {
    order: 2;
}

.about-principles__row--reverse .about-principles__content {
    order: 1;
}


/* =========================================
   ФОТО
   ========================================= */

.about-principles__media {
    min-width: 0;
}

.about-principles__image {
    display: block;

    width: 100%;
    height: 390px;

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

    border-radius: 22px;
}


/* =========================================
   ТЕКСТ
   ========================================= */

.about-principles__content {
    max-width: 560px;
}

.about-principles__number {
    position: relative;

    display: inline-block;

    margin-bottom: 18px;
    padding-bottom: 10px;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.08em;

    color: #841b2d;
}

.about-principles__number::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: 0;

    width: 32px;
    height: 2px;

    background: #841b2d;
}


/* Заголовок пункта */

.about-principles__item-title {
    margin: 0 0 22px;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;

    color: #1f2933;

    text-transform: none;
}


/* Текст */

.about-principles__text {
    margin: 0 0 16px;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 400;

    color: #3f4852;
}

.about-principles__text:last-child {
    margin-bottom: 0;
}




/* =========================================
   ИСТОРИЯ КОМПАНИИ
   ========================================= */

.about-history {
    padding: 65px 0 80px;
    background: #f5f3f1;
    overflow: hidden;
}


/* =========================================
   ВСТУПЛЕНИЕ
   ========================================= */

.about-history__intro {
    margin-bottom: 0;
}


/* Логотип */

.about-history__logo {
    position: relative;

    margin-bottom: 38px;

    text-align: center;
}

.about-history__logo::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 50%;

    width: 520px;
    height: 180px;

    transform: translate(-50%, -50%);

    background: radial-gradient(
        ellipse,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0) 70%
    );

    pointer-events: none;
    z-index: 0;
}

.about-history__logo img {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 630px;

    opacity: 0.92;

    filter:
        drop-shadow(0 8px 18px rgba(58, 58, 58, 0.14))
        drop-shadow(0 2px 8px rgba(132, 27, 45, 0.10));
}


/* =========================================
   ДВЕ КОЛОНКИ
   ========================================= */

.about-history__text {
    display: grid;
    grid-template-columns: 1fr 1px 1fr;

    gap: 64px;
    align-items: start;

    max-width: 1200px;
    margin: 0 auto;
}

.about-history__divider {
    width: 1px;
    min-height: 120px;

    background: rgba(132, 27, 45, 0.28);
}

.about-history__col p {
    margin: 0;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 21px;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: -0.01em;

    color: #1f2933;
}


/* =========================================
   ФРАЗА ПЕРЕД ХРОНОЛОГИЕЙ
   ========================================= */

.about-history__lead {
    max-width: 720px;

    margin: 48px auto 0;

    text-align: center;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 26px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.01em;

    color: #1f2933;
}


/* =========================================
   СТРЕЛКИ
   ========================================= */

.about-history__scroll {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 4px;

    margin: 34px 0 58px;
}

.about-history__scroll span {
    width: 17px;
    height: 17px;

    border-right: 2.5px solid #841b2d;
    border-bottom: 2.5px solid #841b2d;

    transform: rotate(45deg);

    opacity: 0.35;

    animation: aboutHistoryArrow 2s infinite;
}

.about-history__scroll span:nth-child(2) {
    animation-delay: 0.2s;
}

.about-history__scroll span:nth-child(3) {
    animation-delay: 0.4s;
}


@keyframes aboutHistoryArrow {

    0% {
        opacity: 0.15;
        transform: rotate(45deg) translate(-2px, -2px);
    }

    50% {
        opacity: 0.8;
    }

    100% {
        opacity: 0.15;
        transform: rotate(45deg) translate(6px, 6px);
    }
}


/* =========================================
   ХРОНОЛОГИЯ
   ========================================= */

.about-history__timeline {
    position: relative;
}




/* =========================================
   ХРОНОЛОГИЯ
   ========================================= */

.about-history__timeline {
    position: relative;

    max-width: 1240px;

    margin: 0 auto;
    padding: 20px 0 40px;
}


/* Центральная линия */

.about-history__timeline::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: 50%;

    width: 2px;

    transform: translateX(-50%);

    background: rgba(31, 41, 51, 0.18);
}


/* =========================================
   ЭТАП
   ========================================= */

.history-step {
    position: relative;

    display: grid;
    grid-template-columns: 1fr 110px 1fr;

    align-items: center;

    min-height: 250px;

    margin-bottom: 10px;
}

.history-step:last-child {
    margin-bottom: 0;
}


/* =========================================
   ОСЬ: ГОД + ТОЧКА + СОЕДИНИТЕЛЬ
   ========================================= */

.history-step__axis {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    width: 110px;
    height: 100%;

    pointer-events: none;
}


/* Год */

.history-step__year {
    position: absolute;

    left: 50%;
    top: calc(50% - 62px);

    transform: translateX(-50%);

    padding: 5px 10px;

    background: #f5f3f1;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 21px;
    line-height: 1;
    font-weight: 700;

    color: #1f2933;

    z-index: 3;
}


/* Точка */

.history-step__dot {
    position: absolute;

    left: 50%;
    top: 50%;

    width: 15px;
    height: 15px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: #f5f3f1;
    border: 3px solid #841b2d;

    z-index: 3;
}


/* Горизонтальная связь от оси до блока */

.history-step__connector {
    position: absolute;

    top: 50%;

    width: 55px;
    height: 1px;

    background: rgba(132, 27, 45, 0.38);
}


/* Вправо */

.history-step--right .history-step__connector {
    left: 50%;
}


/* Влево */

.history-step--left .history-step__connector {
    right: 50%;
}


/* =========================================
   КАРТОЧКА ЭТАПА
   ========================================= */

.history-step__card {
    width: 100%;
    max-width: 500px;
}


/* Правые этапы */

.history-step--right .history-step__card {
    grid-column: 3;

    justify-self: start;

    margin-left: 26px;
}


/* Левые этапы */

.history-step--left .history-step__card {
    grid-column: 1;

    justify-self: end;

    margin-right: 26px;
}


/* =========================================
   ФОТО
   ========================================= */

.history-step__image {
    overflow: hidden;

    margin-bottom: 22px;

    border-radius: 18px;
}

.history-step__image img {
    display: block;

    width: 100%;
    aspect-ratio: 16 / 10;

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


/* =========================================
   ТЕКСТ
   ========================================= */

.history-step__content h3 {
    margin: 0 0 12px;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 600;
    letter-spacing: -0.01em;

    color: #1f2933;

    text-transform: none;
}

.history-step__content p {
    margin: 0;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400;

    color: #3f4852;
}


/* На левой стороне можно оставить текст слева.
   Я бы не делал text-align: right - читать так хуже. */

.history-step--left .history-step__content {
    text-align: left;
}



/* =========================================
   ДВИЖУЩАЯСЯ МАШИНА
   ========================================= */

.history-road {
    position: absolute;

    top: 0;
    bottom: 0;
    left: 50%;

    width: 70px;

    transform: translateX(-50%);

    pointer-events: none;

    z-index: 4;
}


/* Бордовый пройденный участок */

.history-road__progress {
    position: absolute;

    top: 0;
    left: 50%;

    width: 2px;
    height: 0;

    transform: translateX(-50%);

    background: #841b2d;

    z-index: 1;
}


/* Машина */

.history-road__car {
    position: absolute;

    top: 0;
    left: 50%;

    width: 60px;
    height: auto;

    transform: translate(-50%, -50%);

    z-index: 5;

    will-change: top;
}


/* Пройденная точка */

.history-step__dot.is-passed {
    background: #841b2d;
    border-color: #841b2d;
}




/* =========================================
   ФИНАЛ ИСТОРИИ
   ========================================= */

.about-history__final {
    max-width: 960px;
    margin: 70px auto 0;
    padding: 0 20px 20px;

    text-align: center;
}


/* Первый вывод */

.about-history__summary {
    max-width: 960px;
    margin: 0 auto;
}

.about-history__summary p {
    margin: 0;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 21px;
    line-height: 1.65;
    font-weight: 400;

    color: #3f4852;
}

.about-history__summary strong {
    font: inherit;
    font-weight: 600;
    color: #1f2933;
}


/* Бордовая линия */

.about-history__final-line {
    width: 48px;
    height: 2px;

    margin: 38px auto;

    background: #841b2d;
}


/* Главная итоговая мысль */

.about-history__final-thought {
    max-width: 850px;
    margin: 0 auto;
}

.about-history__final-thought p {
    margin: 0;

    font-family: "Inter", "Arial", sans-serif;
    font-size: 30px;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -0.01em;

    color: #1f2933;
}

.about-history__final-thought strong {
    font: inherit;
    font-weight: 600;
    color: #841b2d;
}



/* =========================================================
   ФИЛИАЛЫ - СТРАНИЦА О КОМПАНИИ
   ========================================================= */

.about-branches {
    padding: 80px 0 90px;
}


/* =========================================================
   Заголовок
   ========================================================= */

.about-branches__head {
    max-width: 820px;
    margin: 0 auto 48px;
    text-align: center;
}

.about-branches__title {
    margin: 0 0 18px;

    font-family: "Inter", Arial, sans-serif;
    font-size: 40px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: none;

    color: #1f2933;
}

.about-branches__subtitle {
    max-width: 700px;
    margin: 0 auto;

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

    color: #66707a;
}


/* =========================================================
   Табы филиалов
   ========================================================= */

.about-branches__tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;

    margin: 0;
}

.about-branches__tab {
    min-height: 60px;
    padding: 12px 24px;

    border: 1px solid rgba(132, 27, 45, .35);
    border-radius: 14px 14px 0 0;

    background: #ffffff;
    color: #1f2933;

    font-family: "Inter", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 650;

    text-align: center;
    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.about-branches__tab:hover {
    color: #841b2d;
    border-color: #841b2d;
}

.about-branches__tab.is-active {
    background: #841b2d;
    border-color: #841b2d;
    color: #ffffff;

    box-shadow: 0 12px 26px rgba(132, 27, 45, .16);
}


/* =========================================================
   Основной блок филиала
   ========================================================= */

.about-branch {
    display: none;

    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
    gap: 0;

    overflow: hidden;

    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 0 0 18px 18px;

    box-shadow: 0 18px 45px rgba(31, 41, 51, .07);
}

.about-branch.is-active {
    display: grid;
}


/* =========================================================
   Левая часть - фотографии
   ========================================================= */

.about-branch__gallery {
    display: grid;
    grid-template-rows: 340px 145px;
    gap: 12px;

    padding: 20px;

    background: #ffffff;
}


/* Главное фото */

.about-branch__photo-main {
    position: relative;

    display: block;
    min-height: 0;
    height: 340px;
    overflow: hidden;
    border-radius: 14px;

    background: #e8e8e8;
    cursor: zoom-in;
}

.about-branch__photo-main img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}

.about-branch__photo-main:hover img {
    transform: scale(1.025);
}


/* Маленькие фотографии */

.about-branch__photos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.about-branch__photo {
    position: relative;

    display: block;
    min-height: 145px;

    overflow: hidden;
    border-radius: 12px;

    background: #e8e8e8;
    cursor: zoom-in;
}

.about-branch__photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.about-branch__photo:hover img {
    transform: scale(1.04);
}


/* Легкое затемнение снизу фото */

.about-branch__photo-main::after,
.about-branch__photo::after {
    content: "";

    position: absolute;
    inset: auto 0 0 0;

    height: 22%;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .10),
        rgba(0, 0, 0, 0)
    );

    pointer-events: none;
}


/* =========================================================
   Правая часть
   ========================================================= */

.about-branch__content {
    padding: 42px 44px 40px;

    display: flex;
    flex-direction: column;

    border-left: 1px solid #eeeeee;
}


/* Небольшая подпись над названием */

.about-branch__eyebrow {
    margin-bottom: 12px;

    color: #841b2d;

    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
    letter-spacing: .08em;

    text-transform: uppercase;
}


/* Название филиала */

.about-branch__name {
    max-width: 540px;
    margin: 0 0 24px;

    font-family: "Inter", Arial, sans-serif;
    font-size: 29px;
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: -0.025em;
    text-transform: none;

    color: #1f2933;
}


/* Основной текст */

.about-branch__text {
    max-width: 600px;
}

.about-branch__text p {
    margin: 0 0 15px;

    font-size: 16px;
    line-height: 1.58;
    font-weight: 400;

    color: #3f4852;
}

.about-branch__text p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   Контактная информация
   ========================================================= */

.about-branch__info {
    display: grid;
    grid-template-columns: 1.35fr .85fr;

    margin-top: 26px;

    overflow: hidden;

    background: #f7f6f5;
    border: 1px solid #ebe7e5;
    border-radius: 14px;
}

.about-branch__info-item {
    min-height: 88px;
    padding: 18px 20px;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


.about-branch__info-item:nth-child(1) {
    border-right: 1px solid #e6e1df;
    border-bottom: 1px solid #e6e1df;
}


.about-branch__info-item:nth-child(2) {
    border-bottom: 1px solid #e6e1df;
}


.about-branch__info-item:nth-child(3) {
    grid-column: 1 / -1;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
}

.about-branch__info-label {
    display: block;

    margin-bottom: 7px;

    color: #7a8188;

    font-size: 12px;
    line-height: 1.2;
    font-weight: 650;
    letter-spacing: .04em;

    text-transform: uppercase;
}

.about-branch__info-value {
    display: block;

    color: #1f2933;

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

.about-branch__info-value a {
    color: #1f2933;
    text-decoration: none;
}

.about-branch__info-value a:hover {
    color: #841b2d;
}


/* =========================================================
   Теги услуг
   ========================================================= */

.about-branch__services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 24px;
}

.about-branch__services span {
    display: inline-flex;
    align-items: center;

    min-height: 34px;
    padding: 7px 13px;

    border: 1px solid rgba(132, 27, 45, .18);
    border-radius: 8px;

    background: rgba(132, 27, 45, .045);
    color: #841b2d;

    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
}



@media (max-width: 1199px) {
      .about-story__head {
          max-width: 850px;
          margin-bottom: 40px;
       }

       .about-story__title {
          font-size: 36px;
       }

       .about-main {
          min-height: 560px;
        }

       .about-main__trust {
          bottom: 28px;
          padding: 0 40px;
       }

       .about-main__trust-title {
          margin-bottom: 28px;
          font-size: 28px;
       }

       .about-main__item {
           padding: 0 24px;
       }

       .about-main__item p {
           font-size: 18px;
       }

         .about-principles__row {
        gap: 50px;
    }

    .about-principles__image {
        height: 350px;
    }

    .about-principles__item-title {
        font-size: 27px;
    }

    .about-principles__text {
        font-size: 17px;
    }



    /* =====================================================
       ОБЩИЙ БЛОК
       ===================================================== */

    .about-branches {
        padding: 70px 0 80px;
    }

    .about-branches__head {
        margin-bottom: 38px;
    }

    .about-branches__title {
        font-size: 36px;
    }

    .about-branches__subtitle {
        font-size: 17px;
    }


    /* =====================================================
       ТАБЫ
       ===================================================== */

    .about-branches__tabs {
        gap: 12px;
    }

    .about-branches__tab {
        min-height: 56px;
        padding: 10px 16px;

        font-size: 15px;
    }


    /* =====================================================
       КАРТОЧКА ФИЛИАЛА
       На 1199 фото сверху, информация снизу
       ===================================================== */

    .about-branch,
    .about-branch.is-active {
        grid-template-columns: 1fr;
    }


    /* =====================================================
       ФОТОГАЛЕРЕЯ
       ===================================================== */

    .about-branch__gallery {
        display: grid;
        grid-template-rows: 420px 145px;

        gap: 12px;
        padding: 18px;

        border-bottom: 1px solid #eeeeee;
    }

    .about-branch__photo-main {
        min-height: 0;
        height: 420px;
    }

    .about-branch__photo-main img {
        width: 100%;
        height: 100%;

        object-fit: cover;
    }

    .about-branch__photos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .about-branch__photo {
        min-height: 0;
        height: 145px;
    }


    /* =====================================================
       НИЖНЯЯ ИНФОРМАЦИОННАЯ ЧАСТЬ
       Текст слева, контакты справа
       ===================================================== */

    .about-branch__content {
        display: grid;
        grid-template-columns: minmax(0, 1.4fr) minmax(340px, .6fr);
        grid-template-areas:
            "eyebrow info"
            "name    info"
            "text    info"
            "text    services";

        column-gap: 48px;
        row-gap: 0;

        padding: 30px 40px 40px;

        border-left: 0;
    }


    /* Небольшая бордовая подпись */

    .about-branch__eyebrow {
        grid-area: eyebrow;

        margin-bottom: 10px;

        font-size: 12px;
    }


    /* Название */

    .about-branch__name {
        grid-area: name;

        max-width: 600px;
        margin: 0 0 22px;

        font-size: 28px;
        line-height: 1.2;
    }


    /* Описание */

    .about-branch__text {
        grid-area: text;

        max-width: 650px;
    }

    .about-branch__text p {
        margin-bottom: 14px;

        font-size: 15px;
        line-height: 1.58;
    }


    /* =====================================================
       КОНТАКТЫ СПРАВА
       ===================================================== */

    .about-branch__info {
        grid-area: info;

        align-self: start;

        margin-top: 0;
    }

    .about-branch__info-item {
        padding: 16px 18px;
    }

    .about-branch__info-label {
        font-size: 11px;
    }

    .about-branch__info-value {
        font-size: 13px;
        line-height: 1.45;
    }


    /* =====================================================
       УСЛУГИ ПОД КОНТАКТАМИ
       ===================================================== */

    .about-branch__services {
        grid-area: services;

        align-self: start;

        gap: 7px;

        margin-top: 20px;
    }

    .about-branch__services span {
        min-height: 32px;

        padding: 6px 11px;

        font-size: 12px;
    }
}


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


    .about-page .container {
        width: calc(100% - 36px);
        max-width: 930px;

        margin-left: auto;
        margin-right: auto;
    }



    .about-story {
        padding: 0 0 34px;
    }

    .about-story__head {
        max-width: 760px;
        margin: 0 auto 34px;
    }

    .about-story__title {
        font-size: 34px;
        line-height: 1.2;
    }

    .about-main {
        min-height: 520px;
        border-radius: 14px;
    }

    .about-main__image {
        object-position: center 83%;
    }

    .about-main__trust {
        bottom: 26px;
        padding: 0 30px;
    }

    .about-main__trust-title {
        margin-bottom: 25px;

        font-size: 26px;
        line-height: 1.2;
    }

    .about-main__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .about-main__item {
        min-height: 84px;
        padding: 0 16px;
    }

    .about-main__item p {
        font-size: 16px;
        line-height: 1.35;
    }

    .about-main__item p::before {
        width: 26px;
        margin-bottom: 13px;
    }

    .about-main__item:not(:first-child)::before {
        top: 4px;
        height: 76px;
    }




    .about-founder {
        padding: 26px 0 38px;
    }

    .about-founder__inner {
        min-height: 520px;

        align-items: center;

        background-size: cover;
        background-position: 58% center;
    }

    .about-founder__quote {
        width: 50%;
        max-width: 460px;

        padding-left: 42px;
    }

    .about-founder__quote-mark {
        width: 30px;
        height: 30px;

        margin-bottom: 12px;
    }

    .about-founder__quote-mark span {
        width: 4px;
        height: 21px;
    }

    .about-founder__text {
        max-width: none;

        font-size: 22px;
        line-height: 1.46;
    }

    .about-founder__line {
        width: 46px;
        margin: 22px 0 14px;
    }

    .about-founder__author {
        max-width: none;
    }

    .about-founder__author-name {
        font-size: 16px;
    }

    .about-founder__author-position {
        font-size: 14px;
    }



    .about-principles {
        padding: 58px 0 72px;
    }

    .about-principles__head {
        margin-bottom: 44px;
    }

    .about-principles__title {
        font-size: 32px;
    }

    .about-principles__row {
        grid-template-columns: 1fr;
        gap: 26px;

        margin-bottom: 62px;
    }


    .about-principles__row--reverse .about-principles__media {
        order: 0;
    }

    .about-principles__row--reverse .about-principles__content {
        order: 0;
    }

    .about-principles__media {
        width: 100%;
    }

    .about-principles__image {
        width: 100%;
        height: 360px;

        border-radius: 18px;
    }

    .about-principles__content {
        max-width: 100%;
    }

    .about-principles__number {
        margin-bottom: 14px;
    }

    .about-principles__item-title {
        margin-bottom: 16px;

        font-size: 26px;
    }

    .about-principles__text {
        font-size: 17px;
        line-height: 1.6;
    }



    .about-history {
        padding: 58px 0 66px;
    }

    .about-history__logo {
        margin-bottom: 30px;
    }

    .about-history__logo img {
        max-width: 500px;
    }

    .about-history__logo::before {
        width: 440px;
        height: 160px;
    }


    .about-history__text {
        grid-template-columns: 1fr 1px 1fr;
        gap: 34px;

        max-width: 860px;
    }

    .about-history__divider {
        display: block;
        min-height: 110px;
    }

    .about-history__col p {
        font-size: 18px;
        line-height: 1.55;
    }

    .about-history__lead {
        max-width: 650px;

        margin-top: 38px;

        font-size: 23px;
    }

    .about-history__scroll {
        margin: 28px 0 46px;
    }



    .about-history__timeline {
        max-width: 900px;
        padding: 16px 0 32px;
    }

    .history-step {
        grid-template-columns: 1fr 82px 1fr;

        min-height: 220px;
        margin-bottom: 8px;
    }

    .history-step__axis {
        width: 82px;
    }

    .history-step__year {
        top: calc(50% - 52px);

        padding: 4px 7px;

        font-size: 18px;
    }

    .history-step__connector {
        width: 41px;
    }

    .history-step__card {
        max-width: 370px;
    }

    .history-step--right .history-step__card {
        margin-left: 16px;
    }

    .history-step--left .history-step__card {
        margin-right: 16px;
    }

    .history-step__image {
        margin-bottom: 16px;
        border-radius: 14px;
    }

    .history-step__content h3 {
        margin-bottom: 9px;

        font-size: 21px;
        line-height: 1.3;
    }

    .history-step__content p {
        font-size: 16px;
        line-height: 1.5;
    }

    .history-road {
        width: 56px;
    }

    .history-road__car {
        width: 50px;
    }

    .history-step__dot {
        width: 13px;
        height: 13px;
    }



    .about-history__final {
        margin-top: 55px;
    }

    .about-history__summary p {
        font-size: 19px;
        line-height: 1.6;
    }

    .about-history__final-line {
        margin: 30px auto;
    }

    .about-history__final-thought p {
        font-size: 26px;
    }




    .about-branches {
        padding: 62px 0 72px;
    }

    .about-branches__head {
        margin-bottom: 34px;
    }

    .about-branches__title {
        font-size: 34px;
    }

    .about-branches__subtitle {
        font-size: 16px;
    }


    /* Табы оставляем одной строкой */

    .about-branches__tabs {
        gap: 10px;
    }

    .about-branches__tab {
        min-height: 54px;

        padding: 9px 12px;

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




    .about-branch,
    .about-branch.is-active {
        grid-template-columns: 1fr;
    }


    /* Галерея */

    .about-branch__gallery {
        grid-template-rows: 360px 120px;

        gap: 10px;
        padding: 16px;

        border-bottom: 1px solid #eeeeee;
    }

    .about-branch__photo-main {
        height: 360px;
        min-height: 0;
    }

    .about-branch__photos {
        gap: 10px;
    }

    .about-branch__photo {
        height: 120px;
        min-height: 0;
    }



    .about-branch__content {
        display: grid;

        grid-template-columns: 1fr;
        grid-template-areas:
            "eyebrow"
            "name"
            "text"
            "info"
            "services";

        column-gap: 0;
        row-gap: 0;

        padding: 30px 28px 34px;

        border-left: 0;
    }

    .about-branch__eyebrow {
        grid-area: eyebrow;

        margin-bottom: 9px;

        font-size: 12px;
    }

    .about-branch__name {
        grid-area: name;

        max-width: 100%;
        margin-bottom: 18px;

        font-size: 26px;
        line-height: 1.2;
    }

    .about-branch__text {
        grid-area: text;

        max-width: 100%;
    }

    .about-branch__text p {
        margin-bottom: 13px;

        font-size: 15px;
        line-height: 1.55;
    }




    .about-branch__info {
        grid-area: info;

        width: 100%;
        margin-top: 22px;
    }

    .about-branch__info-item {
        padding: 15px 17px;
    }

    .about-branch__info-value {
        font-size: 13px;
    }


   

    .about-branch__services {
        grid-area: services;

        margin-top: 18px;
        gap: 7px;
    }

    .about-branch__services span {
        min-height: 32px;

        padding: 6px 11px;

        font-size: 12px;
    }
}


@media (max-width: 767px) {


    .about-page .container {
        width: calc(100% - 28px);
        max-width: none;

        margin-left: auto;
        margin-right: auto;
    }



    .about-story {
        padding: 0 0 28px;
    }

    .about-story__head {
        margin: 0 auto 26px;
        padding: 0 6px;
    }

    .about-story__title {
        font-size: 30px;
        line-height: 1.22;
    }

    .about-main {
        min-height: 680px;

        border-radius: 12px;
    }

    .about-main__image {
        object-position: center 72%;
    }

    .about-main__gradient {
        background:
            linear-gradient(
                to bottom,
                rgba(243, 242, 241, 0) 18%,
                rgba(243, 242, 241, 0.22) 32%,
                rgba(243, 242, 241, 0.76) 47%,
                rgba(243, 242, 241, 0.97) 60%,
                #f3f2f1 70%
            );
    }

    .about-main__trust {
        bottom: 20px;
        padding: 0 18px;
    }

    .about-main__trust-title {
        margin-bottom: 20px;

        font-size: 24px;
        line-height: 1.25;
    }

    .about-main__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 8px;
    }

    .about-main__item {
        min-height: 96px;
        padding: 10px 14px;
    }

    .about-main__item p {
        font-size: 16px;
        line-height: 1.35;
    }

    .about-main__item p::before {
        width: 25px;
        margin-bottom: 11px;
    }

    .about-main__item:not(:first-child)::before {
        height: 70px;
    }

    .about-main__item:nth-child(3)::before {
        display: none;
    }



    .about-founder {
        padding: 24px 0 34px;
    }


      .about-founder__inner {
        position: relative;
        min-height: 560px;

        overflow: hidden;
        border-radius: 18px;

        background-size: cover;
        background-position: 72% center;
        background-repeat: no-repeat;

        isolation: isolate;
    }

    .about-founder__inner::before {
        content: "";

        position: absolute;
        inset: 0;
        z-index: 1;

        background: linear-gradient(
            90deg,
            rgba(245, 243, 241, 0.96) 0%,
            rgba(245, 243, 241, 0.93) 24%,
            rgba(245, 243, 241, 0.82) 42%,
            rgba(245, 243, 241, 0.42) 60%,
            rgba(245, 243, 241, 0.00) 78%
        );
    }

    .about-founder__quote {
        position: relative;
        z-index: 2;

        width: 47%;
        max-width: none;

        padding: 34px 22px 28px 24px;
    }

    .about-founder__quote-mark {
        width: 28px;
        height: 24px;
        margin-bottom: 14px;
    }

    .about-founder__quote-mark span {
        width: 4px;
        height: 18px;
    }

    .about-founder__quote-mark span:first-child {
        left: 2px;
    }

    .about-founder__quote-mark span:last-child {
        left: 14px;
    }

    .about-founder__text {
        max-width: 290px;

        font-size: 18px;
        line-height: 1.5;
        font-weight: 400;

        color: #1f2933;
    }

    .about-founder__text strong {
        font: inherit;
        font-weight: 600;
        color: #841b2d;
    }

    .about-founder__line {
        width: 42px;
        height: 2px;
        margin: 18px 0 12px;
    }

    .about-founder__author {
        max-width: 250px;
    }

    .about-founder__author-name {
        margin-bottom: 4px;
        font-size: 15px;
        line-height: 1.35;
    }

    .about-founder__author-position {
        font-size: 13px;
        line-height: 1.45;
    }



    .about-principles {
        padding: 48px 0 58px;
    }

    .about-principles__head {
        margin-bottom: 34px;
    }

    .about-principles__title {
        font-size: 27px;
    }

    .about-principles__row {
        grid-template-columns: 1fr;

        gap: 22px;
        margin-bottom: 52px;
    }

    .about-principles__row--reverse .about-principles__media,
    .about-principles__row--reverse .about-principles__content {
        order: 0;
    }

    .about-principles__image {
        height: 320px;

        border-radius: 15px;
    }

    .about-principles__number {
        margin-bottom: 12px;
    }

    .about-principles__item-title {
        margin-bottom: 14px;

        font-size: 23px;
    }

    .about-principles__text {
        font-size: 15px;
        line-height: 1.58;
    }



    .about-history {
        padding: 46px 0 52px;
    }

    .about-history__logo {
        margin-bottom: 24px;
    }

    .about-history__logo img {
        max-width: 390px;
    }

    .about-history__logo::before {
        width: 360px;
        height: 130px;
    }

    .about-history__text {
        grid-template-columns: 1fr;
        gap: 18px;

        max-width: 100%;
    }

    .about-history__divider {
        display: none;
    }

    .about-history__col p {
        font-size: 17px;
        line-height: 1.5;
    }

    .about-history__lead {
        max-width: 100%;
        margin-top: 28px;

        font-size: 21px;
    }

    .about-history__scroll {
        margin: 22px 0 34px;
    }



    .about-history__timeline {
    padding-left: 66px;
}

.about-history__timeline::before {
    left: 28px;
}

.history-road {
    left: 28px;
}


    .history-road__car {
    width: 38px;
}

    .history-step {
        display: block;

        min-height: 0;

        margin-bottom: 42px;
    }

    .history-step:last-child {
        margin-bottom: 0;
    }

  .history-step__axis {
    left: 28px;
    width: 50px;
}

    .history-step__year {
        left: 0;
        top: 0;

        transform: translateX(-50%);

        padding: 4px 6px;

        font-size: 17px;
    }

    .history-step__dot {
        left: 0;
        top: 44px;

        width: 12px;
        height: 12px;
    }

    .history-step__connector {
        top: 44px;

        width: 26px;
    }

    .history-step--right .history-step__connector,
    .history-step--left .history-step__connector {
        left: 0;
        right: auto;
    }


    .history-step__card,
    .history-step--right .history-step__card,
    .history-step--left .history-step__card {
        padding-left: 24px;
     }

    .history-step__image {
        margin-bottom: 14px;

        border-radius: 13px;
    }

    .history-step__content h3 {
        margin-bottom: 8px;

        font-size: 20px;
    }

    .history-step__content p {
        font-size: 15px;
        line-height: 1.5;
    }



    .about-history__final {
        margin-top: 44px;
        padding: 0 6px 16px;
    }

    .about-history__summary p {
        font-size: 17px;
        line-height: 1.55;
    }

    .about-history__final-line {
        margin: 26px auto;
    }

    .about-history__final-thought p {
        font-size: 23px;
        line-height: 1.35;
    }



    .about-branches {
        padding: 52px 0 60px;
    }

    .about-branches__head {
        margin-bottom: 28px;
    }

    .about-branches__title {
        font-size: 30px;
    }

    .about-branches__subtitle {
        font-size: 15px;
        line-height: 1.5;
    }

    /* Табы пока оставляем в ряд */

    .about-branches__tabs {
        gap: 6px;
    }

    .about-branches__tab {
        min-height: 52px;

        padding: 8px 8px;

        font-size: 12px;
        line-height: 1.2;
    }



    .about-branch__gallery {
        grid-template-rows: 300px 105px;

        gap: 8px;
        padding: 12px;
    }

    .about-branch__photo-main {
        height: 300px;
    }

    .about-branch__photos {
        gap: 8px;
    }

    .about-branch__photo {
        height: 105px;
    }



    .about-branch__content {
        display: grid;

        grid-template-columns: 1fr;
        grid-template-areas:
            "eyebrow"
            "name"
            "text"
            "info"
            "services";

        padding: 26px 20px 30px;
    }

    .about-branch__name {
        margin-bottom: 16px;

        font-size: 23px;
    }

    .about-branch__text p {
        font-size: 14px;
        line-height: 1.55;
    }

    .about-branch__info {
        grid-template-columns: 1fr;

        margin-top: 20px;
    }

    .about-branch__info-item {
        min-height: auto;

        padding: 14px 15px;

        border-right: 0 !important;
        border-bottom: 1px solid #e6e1df;
    }

    .about-branch__info-item:last-child {
        border-bottom: 0;
    }

    .about-branch__info-item:nth-child(3) {
        grid-column: auto;
    }

    .about-branch__info-label {
        font-size: 10px;
    }

    .about-branch__info-value {
        font-size: 13px;
    }

    .about-branch__services {
        margin-top: 16px;
        gap: 6px;
    }

    .about-branch__services span {
        min-height: 30px;

        padding: 5px 9px;

        font-size: 11px;
    }
}


@media (max-width: 575px) {

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

    .about-page .container {
        width: calc(100% - 20px);
        max-width: none;
    }


    /* =====================================================
       HERO
       ===================================================== */

    .about-story {
        padding-bottom: 24px;
    }



    .about-story__head {
        margin-bottom: 20px;
        padding: 0 4px;
    }

    .about-story__title {
        font-size: 25px;
        line-height: 1.22;
    }

    .about-main {
        min-height: 560px;
        border-radius: 12px;
        background: #f3f2f1;
    }

    .about-main__image {
        content: url("/local/templates/nahodu/images/banner-about-mobile.png");

        width: 100%;
        height: 100%;

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

    .about-main__gradient {
        background: linear-gradient(
            to bottom,
            rgba(243,242,241,0) 30%,
            rgba(243,242,241,.12) 42%,
            rgba(243,242,241,.66) 56%,
            rgba(243,242,241,.94) 68%,
            #f3f2f1 78%
        );
    }

    .about-main__trust {
        bottom: 16px;
        padding: 0 16px;
    }

    .about-main__trust-title {
        margin-bottom: 14px;

        font-size: 21px;
        line-height: 1.25;
    }

    .about-main__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 4px;
    }

    .about-main__item {
        min-height: 76px;
        padding: 7px 9px;
    }

    .about-main__item p {
        font-size: 14px;
        line-height: 1.3;
    }

    .about-main__item p::before {
        width: 23px;
        margin-bottom: 8px;
    }

    .about-main__item:not(:first-child)::before {
        display: block;

        left: 0;
        top: 5px;

        width: 1px;
        height: 62px;

        background: rgba(31,41,51,.14);
    }

    .about-main__item:nth-child(3)::before {
        display: none;
    }


    /* =====================================================
       ЦИТАТА СЕРГЕЯ
       ===================================================== */

     .about-founder {
    padding: 22px 0 32px;
}


/* Общая карточка */

.about-founder__inner {
    min-height: 0;

    display: flex;
    flex-direction: column;
    align-items: stretch;

    background-image: none;

    overflow: hidden;

    border-radius: 14px;
    background: #ffffff;
}


/* Убираем старый градиент поверх фонового изображения */

.about-founder__inner::before {
    display: none;
}


/* =====================================================
   МОБИЛЬНАЯ ФОТОГРАФИЯ
   ===================================================== */

.about-founder__mobile-photo {
    display: block;

    width: 100%;
    height: 360px;

    background-image:
        url("/local/templates/nahodu/images/founder-mobile2.jpg");

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

    border-radius: 14px;
}


/* =====================================================
   ЦИТАТА ПОД ФОТОГРАФИЕЙ
   ===================================================== */

.about-founder__quote {
    width: 100%;
    max-width: none;

    padding: 28px 24px 30px;
}


/* Кавычки */

.about-founder__quote-mark {
    width: 26px;
    height: 24px;

    margin-bottom: 12px;
}

.about-founder__quote-mark span {
    width: 4px;
    height: 17px;
}


/* Текст */

.about-founder__text {
    max-width: none;

    font-size: 18px;
    line-height: 1.5;
}


/* Разделитель */

.about-founder__line {
    width: 38px;

    margin: 20px 0 12px;
}


/* Автор */

.about-founder__author {
    max-width: none;
}

.about-founder__author-name {
    font-size: 15px;
}

.about-founder__author-position {
    font-size: 13px;
    line-height: 1.45;
}


    /* =====================================================
       ПРИНЦИПЫ
       ===================================================== */

    .about-principles {
        padding: 44px 0 52px;
    }

    .about-principles__head {
        margin-bottom: 30px;
    }

    .about-principles__title {
        font-size: 24px;
    }

    .about-principles__row {
        gap: 18px;
        margin-bottom: 44px;
    }

    .about-principles__image {
        height: 240px;
        border-radius: 14px;
    }

    .about-principles__number {
        margin-bottom: 10px;
    }

    .about-principles__item-title {
        margin-bottom: 12px;
        font-size: 21px;
    }

    .about-principles__text {
        font-size: 15px;
        line-height: 1.55;
    }


    /* =====================================================
       ИСТОРИЯ - ВСТУПЛЕНИЕ
       ===================================================== */

    .about-history {
        padding: 42px 0 48px;
    }

    .about-history__logo {
        margin-bottom: 22px;
    }

    .about-history__logo img {
        max-width: 320px;
    }

    .about-history__logo::before {
        width: 300px;
        height: 110px;
    }

    .about-history__col p {
        font-size: 16px;
        line-height: 1.5;
    }

    .about-history__lead {
        margin-top: 24px;

        font-size: 20px;
        line-height: 1.35;
    }

    .about-history__scroll {
        margin: 20px 0 30px;
    }


     /* =====================================================
   ИСТОРИЯ - ВЕРТИКАЛЬНАЯ ОСЬ
   ===================================================== */

.about-history__timeline {
    padding-left: 72px;
}

.about-history__timeline::before {
    left: 28px;
}

.history-road {
    left: 28px;
    width: 38px;
}

.history-road__car {
    width: 34px;
}

.history-step {
    margin-bottom: 38px;
}

.history-step__axis {
    left: 28px;
    width: 46px;
}

.history-step__year {
        padding: 3px 7px;
    }

.history-step__dot {
    left: 0;
    top: 42px;

    width: 11px;
    height: 11px;
}

 .history-step__connector {
        width: 20px;
    }

/* На мобильном все соединители направлены вправо */

.history-step--left .history-step__connector,
.history-step--right .history-step__connector {
    left: 0;
    right: auto;

    width: 20px;
}


/* =====================================================
   КАРТОЧКИ
   Все карточки имеют одинаковый отступ от оси
   ===================================================== */

.history-step__card,
.history-step--left .history-step__card,
.history-step--right .history-step__card {
    width: 100%;
    max-width: none;

    margin-left: 0;
    margin-right: 0;

    padding-left: 38px;
    padding-right: 4px;

    box-sizing: border-box;

    grid-column: auto;
    justify-self: stretch;
    transform: none;
}

/* =====================================================
   ФОТО
   ===================================================== */

.history-step__image {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.history-step__image img {
    display: block;

    width: 100%;
    max-width: 100%;

    margin: 0;
}


/* =====================================================
   ТЕКСТ
   ===================================================== */

.history-step__content h3 {
    font-size: 19px;
}

.history-step__content p {
    font-size: 14px;
    line-height: 1.48;
}


    /* =====================================================
       ФИНАЛ ИСТОРИИ
       ===================================================== */

    .about-history__final {
        margin-top: 38px;
    }

    .about-history__summary p {
        font-size: 16px;
    }

    .about-history__final-thought p {
        font-size: 21px;
    }


    /* =====================================================
       ФИЛИАЛЫ
       ===================================================== */

    .about-branches {
        padding: 48px 0 56px;
    }

    .about-branches__head {
        margin-bottom: 24px;
    }

    .about-branches__title {
        font-size: 27px;
    }

    .about-branches__subtitle {
        font-size: 14px;
    }

    /* Табы пока оставляем в ряд, но сильнее ужимаем */

    .about-branches__tabs {
        gap: 5px;
    }

    .about-branches__tab {
        min-height: 50px;

        padding: 7px 6px;

        font-size: 11px;
        line-height: 1.15;
    }

    .about-branch__gallery {
        grid-template-rows: 250px 90px;

        gap: 7px;
        padding: 10px;
    }

    .about-branch__photo-main {
        height: 250px;
    }

    .about-branch__photos {
        gap: 7px;
    }

    .about-branch__photo {
        height: 90px;
    }

    .about-branch__content {
        padding: 22px 16px 26px;
    }

    .about-branch__name {
        margin-bottom: 14px;

        font-size: 21px;
        line-height: 1.22;
    }

    .about-branch__text p {
        font-size: 15px;
        line-height: 1.52;
    }

    .about-branch__info {
        margin-top: 18px;
    }

    .about-branch__info-item {
        padding: 13px 14px;
    }

    .about-branch__info-label {
        font-size: 15px;
    }

    .about-branch__info-value {
        font-size: 14px;
        line-height: 1.4;
    }

    .about-branch__services {
        margin-top: 14px;
    }

    .about-branch__services span {
        padding: 5px 8px;
        font-size: 10px;
    }
}
/* End */


/* Start:/local/templates/nahodu/components/bitrix/news.list/fillist_coords/style.css?1770129119150*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

/* End */


/* Start:/local/templates/nahodu/components/bitrix/news.list/fillist/style.css?1768583970150*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

/* End */
/* /about/style.css?178902092755817 */
/* /local/templates/nahodu/components/bitrix/news.list/fillist_coords/style.css?1770129119150 */
/* /local/templates/nahodu/components/bitrix/news.list/fillist/style.css?1768583970150 */
