/* Фон сайта: чтобы между блоками не просвечивал белый */
html,
body,
#allrecords,
#allrecords .t-body {
    background-color: #093109 !important;
}

div[data-field-name="email"] {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* якорные переходы не должны уезжать под фиксированную шапку */
[id^="rec"] {
    scroll-margin-top: 96px;
}
@media screen and (max-width: 960px) {
    [id^="rec"] {
        scroll-margin-top: 72px;
    }
}

/* Подменю в мобильном меню */
.ms-sub {
    list-style: none;
    margin: 8px 0 18px;
    padding: 0;
}
.ms-sub li {
    margin: 0;
    padding: 0;
}
.ms-sub li a {
    display: block;
    padding: 8px 0;
    color: #ffffff !important;
    font-family: 'TildaSans', Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    text-decoration: none;
    opacity: 1 !important;
    visibility: visible !important;
}
.ms-sub li a:active,
.ms-sub li a:hover {
    color: #e8a33d !important;
}

/* ===== Без эффекта появления при скролле ===== */
#allrecords .t-animate,
#allrecords .t-animate_started,
#allrecords [data-animate-style],
#allrecords .t-animate-item,
#allrecords .t-animate_item,
#allrecords .t-sbs-anim,
#allrecords .t-animate__item {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    filter: none !important;
    visibility: visible !important;
}
#allrecords .t-animate *,
#allrecords [data-animate-style] * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
}

/* ===== Первый экран: текст сразу, без выезда ===== */
#allrecords .vb-h7k__top > *,
#allrecords .vb-h7k__bottom {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Фото первого экрана: медленное «дыхание» оставлено намеренно */
@keyframes msHeroBreath {
    0%   { transform: scale(1.06) translate3d(0, 0, 0); }
    50%  { transform: scale(1.14) translate3d(-1.2%, -0.8%, 0); }
    100% { transform: scale(1.06) translate3d(0, 0, 0); }
}
#allrecords .vb-h7k__photo {
    animation: none !important;
    transform: scale(1.06);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
#allrecords .vb-h7k__photo--active {
    animation: msHeroBreath 32s ease-in-out infinite !important;
}

/* ===== Тизер конструктора: план виден сразу ===== */
#allrecords .mstp2__r,
#allrecords .mstp2__win {
    animation: none !important;
    opacity: 1 !important;
    transition: none !important;
}
#allrecords .mstp2__wall,
#allrecords .mstp2__part {
    animation: none !important;
    stroke-dashoffset: 0 !important;
    transition: none !important;
}

/* ===== Шапка: плотный фон ===== */
#rec6320306701,
#rec6320306701 .t1272,
#rec6320306701 .tmenu-mobile,
#rec6320306701 .t-menu-base {
    background-color: #093109 !important;
}
#rec6320306701 .t1272 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
#rec6320306701 .tmenu__sub,
#rec6320306701 .t-menu__sub {
    background-color: #0b3a0b !important;
}

/* ===== «О нас» на главной: типографика (текст не меняется) ===== */
#rec1238260821 {
    padding-top: clamp(30px, 4vw, 52px) !important;
    padding-bottom: 0 !important;
}
#rec1238260821 .t-title {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem) !important;
    font-weight: 600 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
    text-align: center !important;
}
#rec1229475406 {
    padding-bottom: clamp(30px, 4vw, 52px) !important;
}
#rec1229475406 .t-text {
    max-width: 74ch !important;
    margin: 0 auto !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
    color: rgba(255, 255, 255, 0.75) !important;
}
#rec1229475406 .t-text b,
#rec1229475406 .t-text strong {
    color: #ffffff !important;
}

@media screen and (max-width: 700px) {
    #rec1229475406 .t-text {
        font-size: 14.5px !important;
        line-height: 1.7 !important;
    }
}

/* Настройка «без анимаций» в системе отключает «дыхание» фото */
@media (prefers-reduced-motion: reduce) {
    #allrecords .vb-h7k__photo--active {
        animation: none !important;
        transform: scale(1.06) !important;
    }
}
