/* Фон сайта: чтобы между блоками не просвечивал белый */
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;
}

/* ===== Статьи /post: карточки как в каталоге ===== */
#rec1237973351 {
    padding-top: 0 !important;
}
#rec1237973351 .t-feed__post {
    margin-bottom: 34px !important;
}
#rec1237973351 .t-feed__post-imgwrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    aspect-ratio: 4 / 3;
    background-color: #0f3d11;
}
#rec1237973351 .t-feed__post-bgimg {
    height: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
#rec1237973351 .t-feed__post:hover .t-feed__post-bgimg {
    transform: scale(1.04);
}
#rec1237973351 .t-feed__post-title {
    margin: 14px 0 8px !important;
    font-family: var(--t-headline-font, 'TildaSans', Arial, sans-serif) !important;
    font-size: clamp(0.98rem, 1.5vw, 1.12rem) !important;
    font-weight: 600 !important;
    line-height: 1.28 !important;
    letter-spacing: -0.02em !important;
    color: #ffffff !important;
}
#rec1237973351 .t-feed__post:hover .t-feed__post-title {
    color: #e8a33d !important;
}
#rec1237973351 .t-feed__post-descr {
    font-size: 12.5px !important;
    line-height: 1.55 !important;
    color: rgba(255, 255, 255, 0.55) !important;
}
#rec1237973351 .t-feed__post-date,
#rec1237973351 .t-uptitle {
    font-size: 11px !important;
    letter-spacing: 0.06em !important;
    color: rgba(255, 255, 255, 0.38) !important;
    text-transform: uppercase !important;
}
#rec1237973351 .t-feed__showallpost-btn {
    border-color: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    background: transparent !important;
}

/* ===== Формы: поля, подписи и кнопки на тёмном фоне ===== */
#allrecords .t-form .t-input,
#allrecords .t-form .t-textarea,
#allrecords .t-form textarea,
#allrecords .t-form .t-select,
#allrecords .t-form input,
#allrecords .t-form select {
    background-color: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}
#allrecords .t-form .t-input::placeholder,
#allrecords .t-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.42) !important;
    opacity: 1 !important;
}
#allrecords .t-form .t-input-title,
#allrecords .t-form .t-descr,
#allrecords .t-form .t-form__label {
    color: #ffffff !important;
}
#allrecords .t-form .t-submit,
#allrecords .t-btnflex.t-btnflex_type_submit {
    background-color: #e8a33d !important;
    color: #14260f !important;
    border: none !important;
    box-shadow: none !important;
}
#allrecords .t-form .t-submit:hover,
#allrecords .t-btnflex.t-btnflex_type_submit:hover {
    background-color: #ffffff !important;
    color: #093109 !important;
}
#allrecords .t-form .t-submit .t-btnflex__text {
    color: #14260f !important;
}
#allrecords .t-form .t-submit:hover .t-btnflex__text {
    color: #093109 !important;
}
#allrecords .t-form .t-input-error {
    color: #ff9b6a !important;
}

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

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