body.home .elementor-3975 .elementor-element-39d42b4 {
    padding-top: 0 !important;
}

body.home #masthead:not(.clone) .header-wrap-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    height: 92px;
    min-height: 92px;
    margin: auto;
    padding: 0 32px;
}

body.home #masthead:not(.clone) .site-branding,
body.home #masthead:not(.clone) .site-branding-wrap {
    width: auto;
    padding: 0;
    flex: 0 0 auto;
}

body.home #masthead:not(.clone) .site-branding {
    position: static;
}

body.home #masthead:not(.clone) .site-title {
    margin: 0;
    line-height: 1;
}

body.home #masthead:not(.clone) .site-title-text {
    font-family: 'Amatic SC', sans-serif;
    font-size: 49px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
}

body.home #masthead:not(.clone) .site-branding-left,
body.home #masthead:not(.clone) .site-branding-right,
body.home #masthead:not(.clone) .social-container,
body.home #masthead:not(.clone) .shopping-cart {
    display: none;
}

body.home #masthead:not(.clone) .site-navigation {
    width: auto;
    margin-left: auto;
    flex: 0 0 auto;
}

body.home #masthead:not(.clone) .site-navigation .layout-medium {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 992px) {
    body.home #masthead:not(.clone) .nav-menu > ul { display: flex; width: auto; }
    body.home #masthead:not(.clone) .nav-menu > ul > li { flex: 0 0 auto; width: auto; }
    body.home #masthead:not(.clone) .nav-menu > ul > li > a {
        height: 92px;
        padding: 0 20px;
        font-family: Arial, sans-serif;
        font-size: 16px;
        line-height: 92px;
        letter-spacing: 0;
    }
    body.home #masthead:not(.clone) .nav-menu > ul > li.current-menu-item > a { background: #e84065; }
    body.home #masthead:not(.clone) .nav-menu > ul > li.current-menu-item > a::before,
    body.home #masthead:not(.clone) .nav-menu > ul > li.current-menu-item > a::after { display: none; }
    body.home #masthead:not(.clone) .nav-menu > ul > li > a .link-text::before { display: none; }
    body.home #masthead:not(.clone) .nav-menu > ul > li > a .link-text { padding: 0; }
}

@media (max-width: 991px) {
    body.home #masthead:not(.clone) .header-wrap-inner { height: 72px; min-height: 72px; padding: 0 24px; }
    body.home #masthead:not(.clone) .site-title-text { font-size: 34px; }
    body.home #masthead:not(.clone) .site-navigation { position: static; width: 36px; }
    body.home #masthead:not(.clone) .menu-toggle { position: relative; inset: auto; width: 36px; height: 40px; margin: 0; }
    body.home #masthead:not(.clone) .menu-toggle .lines { left: 6px; width: 23px; }
    body.home #masthead:not(.clone) .menu-toggle .lines::before,
    body.home #masthead:not(.clone) .menu-toggle .lines::after { width: 23px; }
    body.home #masthead:not(.clone) .site-navigation .menu-wrap { position: static; padding: 0 !important; }
    body.home #masthead:not(.clone) .site-navigation .layout-medium { position: static; }
    body.home #masthead:not(.clone) .nav-menu { position: absolute; top: 72px; left: 0; right: 0; width: auto; max-height: calc(100svh - 72px); overflow: auto; padding: 16px 24px; background: #121b3a; color: #fff; }
    body.home #masthead:not(.clone) .nav-menu a { color: #fff; }
    html.is-menu-toggled-on body.home #masthead:not(.clone) { position: fixed; top: 0; left: 0; width: 100%; background: #121b3a; color: #fff; }
    html.is-menu-toggled-on body.home #masthead:not(.clone) .header-wrap { background: #121b3a !important; }
}

body.home .elementor-3975 .ab-home-hero.elementor-section {
    position: relative;
    isolation: isolate;
    left: calc((min(1140px, 100vw) - 100vw) / 2);
    width: 100vw;
    flex: 0 0 100vw;
    max-width: none;
    min-height: 860px;
    margin: 0 !important;
    padding: 0 !important;
    background: #12182f;
    color: #fff;
    font-family: Arial, sans-serif;
}

body.home .ab-home-hero::before,
body.home .ab-home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

body.home .ab-home-hero::before {
    z-index: -2;
    background: url('/wp-content/uploads/2025/10/Andrei-Kuroedov-134.avif') center top / cover no-repeat;
}

body.home .ab-home-hero::after {
    z-index: -1;
    background: linear-gradient(90deg, rgba(18, 30, 71, .9) 0%, rgba(18, 30, 71, .82) 43%, rgba(18, 30, 71, .25) 65%, rgba(0, 0, 0, .08) 100%);
}

body.home .ab-home-hero > .elementor-container {
    width: calc(100% - 64px);
    max-width: 1216px;
    margin: auto;
    padding: 154px 0 66px;
}

body.home .ab-home-hero > .elementor-container > .elementor-column {
    width: 740px;
    max-width: 100%;
}

body.home .ab-home-hero > .elementor-container > .elementor-column > .elementor-widget-wrap {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: stretch;
    column-gap: 28px;
    padding: 0;
    margin: 0;
    --kit-widget-spacing: 0px;
}

body.home .elementor-3975 .ab-home-hero .elementor-widget {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    padding: 0;
    visibility: visible !important;
    opacity: 1 !important;
    animation: none !important;
    transform: none;
    letter-spacing: 0;
    text-shadow: none;
    background: none;
}

body.home .ab-home-hero p {
    margin: 0;
    font-family: Arial, sans-serif;
    letter-spacing: 0;
}

body.home .elementor-3975 .ab-home-hero .elementor-element-64a521a {
    margin-bottom: 28px !important;
    border-radius: 0;
}

body.home .ab-home-hero .ab-home-name {
    margin-bottom: 8px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: normal;
}

body.home .ab-home-hero .ab-home-profession {
    color: #e2e4ed;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

body.home .elementor-3975 .ab-home-hero .elementor-element-d4ffc47 h1 {
    margin: 0;
    color: #fff;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 1.07;
    letter-spacing: 0;
    text-decoration: none;
    text-shadow: none;
}

body.home .elementor-3975 .ab-home-hero .elementor-element-32638a4 {
    margin-top: 24px !important;
}

body.home .elementor-3975 .ab-home-hero .elementor-element-32638a4 .elementor-heading-title {
    display: block;
    max-width: 680px;
    color: #fff;
    font-family: 'Fira Sans', Arial, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.23;
    letter-spacing: 0;
    text-shadow: none;
}

body.home .elementor-3975 .ab-home-hero .elementor-element-8ebab47 {
    max-width: 658px;
    margin-top: 25px !important;
}

body.home .elementor-3975 .ab-home-hero .elementor-element-8ebab47 .elementor-heading-title {
    color: #f0f1f6;
    font-family: Arial, sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: none;
}

body.home .elementor-3975 .ab-home-hero .elementor-element-20db26f,
body.home .elementor-3975 .ab-home-hero .elementor-element-ab1023c {
    width: auto;
    margin-top: 30px !important;
}

body.home .elementor-3975 .ab-home-hero .elementor-element-20db26f .elementor-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: 62px;
    padding: 18px 26px;
    border: 0;
    border-radius: 4px;
    box-shadow: none;
    background: #51ffdd;
    color: #071b21;
    font-family: Arial, sans-serif;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0;
    word-spacing: 0;
    text-transform: none;
    text-decoration: none;
    white-space: normal;
}

body.home .ab-home-hero .ab-home-secondary {
    display: flex;
    align-items: center;
    min-height: 62px;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}

body.home .ab-home-hero a:focus-visible {
    outline: 3px solid #51ffdd;
    outline-offset: 5px;
}

@media (min-width: 701px) and (max-width: 1100px) {
    body.home .ab-home-hero > .elementor-container > .elementor-column { max-width: 64%; }
    body.home .elementor-3975 .ab-home-hero .elementor-element-d4ffc47 h1 { font-size: 46px; }
    body.home .elementor-3975 .ab-home-hero .elementor-element-32638a4 .elementor-heading-title { font-size: 27px; }
}

@media (max-width: 1024px) {
    body.home .elementor-3975 .ab-home-hero.elementor-section { left: -5vw; }
}

@media (max-width: 700px) {
    body.home .elementor-3975 .ab-home-hero.elementor-section { min-height: 0; overflow: clip; background: #121b3a; }
    body.home .ab-home-hero::before { inset: 60px 0 auto; height: 286px; background-position: 72% top; }
    body.home .ab-home-hero::after { background: linear-gradient(180deg, rgba(18,27,58,.05) 0, rgba(18,27,58,.1) 178px, #121b3a 342px), linear-gradient(90deg, rgba(18,27,58,.92), rgba(18,27,58,.52) 43%, rgba(18,27,58,.02) 73%); }
    body.home .ab-home-hero > .elementor-container { width: calc(100% - 48px); padding: 104px 0 34px; }
    body.home .ab-home-hero > .elementor-container > .elementor-column { width: 100%; max-width: 100%; }
    body.home .elementor-3975 .ab-home-hero .elementor-element-64a521a { min-height: 135px; max-width: 193px; margin-bottom: 0 !important; }
    body.home .ab-home-hero .ab-home-name { margin-bottom: 8px; font-size: 18px; line-height: 1.3; }
    body.home .ab-home-hero .ab-home-profession { max-width: 165px; font-size: 14px; line-height: 1.5; }
    body.home .elementor-3975 .ab-home-hero .elementor-element-d4ffc47 h1 { font-size: 34px; line-height: 1.08; }
    body.home .elementor-3975 .ab-home-hero .elementor-element-32638a4 { margin-top: 20px !important; }
    body.home .elementor-3975 .ab-home-hero .elementor-element-32638a4 .elementor-heading-title { font-size: 25px; line-height: 1.2; }
    body.home .elementor-3975 .ab-home-hero .elementor-element-8ebab47 { margin-top: 22px !important; }
    body.home .elementor-3975 .ab-home-hero .elementor-element-8ebab47 .elementor-heading-title { font-size: 16px; line-height: 1.5; }
    body.home .elementor-3975 .ab-home-hero .elementor-element-20db26f { width: 100%; margin-top: 25px !important; }
    body.home .elementor-3975 .ab-home-hero .elementor-element-20db26f .elementor-button { width: 100%; min-height: 58px; padding: 16px 18px; font-size: 15px; }
    body.home .elementor-3975 .ab-home-hero .elementor-element-ab1023c { width: 100%; margin-top: 22px !important; }
    body.home .ab-home-hero .ab-home-secondary { justify-content: center; min-height: 22.5px; font-size: 15px; line-height: 1.5; }
}

@media (max-width: 350px) {
    body.home .ab-home-hero > .elementor-container { width: calc(100% - 40px); }
    body.home .elementor-3975 .ab-home-hero .elementor-element-d4ffc47 h1 { font-size: 30px; }
    body.home .elementor-3975 .ab-home-hero .elementor-element-32638a4 .elementor-heading-title { font-size: 23px; }
}

/* Фото даёт только фон секции: у неё своё фото на каждую ширину, отдельная копия давала шов. */
body.home .elementor-3975 .ab-home-hero.elementor-section { background: transparent; }
body.home .ab-home-hero::before,
body.home .ab-home-hero::after { display: none; }

/* На узких экранах текст шире тёмной части фона, поэтому затемнение идёт через всю секцию. */
@media (max-width: 1024px) {
    body.home .elementor-3975 .elementor-element-39d42b4 > .elementor-background-overlay {
        background: linear-gradient(90deg, rgba(18, 30, 71, .92) 0%, rgba(18, 30, 71, .8) 60%, rgba(18, 30, 71, .55) 100%);
        opacity: 1;
    }
    body.home .elementor-3975 .elementor-element-39d42b4 { background-position: calc(100vw - 1700px) 0 !important; }
}

@media (max-width: 767px) {
    body.home .elementor-3975 .elementor-element-39d42b4 > .elementor-background-overlay {
        background: linear-gradient(90deg, rgba(18, 30, 71, .9) 0%, rgba(18, 30, 71, .74) 100%);
    }
    body.home .elementor-3975 .elementor-element-39d42b4 { background-position: 58% 0 !important; }
}

/* Первый экран заканчивается вместе с контентом, а следующий блок идёт по той же левой линии. */
body.home .elementor-3975 .ab-home-hero.elementor-section { min-height: 0; }

body.home .elementor-3975 .elementor-element-d8b0b36,
body.home .elementor-3975 .elementor-element-af3ad16 {
    position: relative;
    left: calc(max((100vw - 1216px) / 2, 32px) - max((100vw - 1140px) / 2, 0px));
}

@media (min-width: 701px) {
    body.home .ab-home-hero > .elementor-container { padding-bottom: 56px; }
}

@media (max-width: 1024px) {
    body.home .elementor-3975 .elementor-element-d8b0b36,
    body.home .elementor-3975 .elementor-element-af3ad16 { left: calc(32px - 5vw); }
}

@media (max-width: 700px) {
    body.home .elementor-3975 .elementor-element-d8b0b36,
    body.home .elementor-3975 .elementor-element-af3ad16 { left: calc(24px - 5vw); }
}

@media (max-width: 350px) {
    body.home .elementor-3975 .elementor-element-d8b0b36,
    body.home .elementor-3975 .elementor-element-af3ad16 { left: calc(20px - 5vw); }
}

body.home .elementor-3975 .elementor-element-af3ad16 > .elementor-container { margin-left: -15px; }

/* Фото первого экрана закреплено к окну (fixed + cover): в узком высоком окне оно растягивалось по высоте и лицо уходило за правый край. Здесь фото идёт по ширине и мягко гаснет внизу; остаётся закреплённым (fixed), чтобы при прокрутке стояло, а контент наезжал. */
@media (min-width: 1025px) and (max-aspect-ratio: 3/2) {
    body.home .elementor-3975 .elementor-element.elementor-element-39d42b4 {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) calc(85.7vw - 260px), #000 calc(85.7vw - 2px)) 0 0 / 100% 100% no-repeat fixed,
            url('/wp-content/uploads/2025/10/Andrei-Kuroedov-134.avif') -22vw 0 / 150vw auto no-repeat fixed, #000 !important;
    }
}
