@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url(https://fonts.googleapis.com/css?family=Roboto+Condensed:400&subset=latin,latin-ext);
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

@font-face {
    font-family: 'Roboto';
    src: url('/wp-content/themes/generatepress/assets/fonts/Roboto-Regular.ttf');
}

@font-face {
    font-family: 'RobotoBold';
    src: url('/wp-content/themes/generatepress/assets/fonts/Roboto-Bold.ttf');
}

@font-face {
    font-family: 'RobotoCondensed';
    src: url('/wp-content/themes/generatepress/assets/fonts/RobotoCondensed-Regular.ttf');
}

@font-face {
    font-family: 'RobotoCondensedBold';
    src: url('/wp-content/themes/generatepress/assets/fonts/RobotoCondensed-Bold.ttf');
}

@font-face {
    font-family: 'Bebas';
    src: url('/wp-content/themes/generatepress/assets/fonts/BebasNeue Bold.ttf');
}

@font-face {
    font-family: 'America';
    src: url('/wp-content/themes/generatepress/assets/fonts/americaXIX.ttf');
}

/*
body {
    --accentColor: #BAAD7B;
    --primaryColor: #283048;
    --backLightColor: #F7F6F3;
    --accentColorDark: #486173;
    --accentColorDarker: #141e3c;
    --textColorDefault: #202020;

    line-height: 1.3;
}
*/

body {
    /*--accentColor: #C08457;*/
    --accentColor: #D2A075;
    --accentColorLight: #E6B489;
    --primaryColor: #312F30;
    --backLightColor: #F9F6EF;
    /*--accentColorDark: #503431;*/
    --accentColorDark: #584947;
    --accentColorDarker: #312F30;
    --textColorDefault: #312F30;

    line-height: 1.3;
    font-size: 17px;
}

@media (max-width: 767px) {
    body {
        font-size: 15px;
    }
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: inherit;
    text-decoration: none;
}

.site-header {
    background-color: var(--primaryColor);
}

.inside-header {
    padding: 10px 15px;
}

.section {
    padding: 80px 0;
}

.section-light {
    background-color: var(--backLightColor);
}

.section-dark {
    background-color: var(--primaryColor);
}

.section-hero {
    max-width: 100%;
    /* height: calc(100vh - 20px); */
    background: url(https://blagoystroistvomogilok.by/wp-content/uploads/2025/06/hero_back.jpg) no-repeat top right;
    background-color: var(--primaryColor);
    /*background-size: contain;*/
    background-size: 70%;
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
}

@media (max-width: 1280px) {
    .section-hero {
        background-size: cover;
    }
}

@media (max-width: 991px) {
    .section-hero {
        background: url(https://blagoystroistvomogilok.by/wp-content/uploads/2025/06/hero_back2-min2.jpg) no-repeat top right;
        background-color: var(--primaryColor);
        background-size: contain;
        padding-top: 400px;
        padding-bottom: 20px;
    }
}

@media (max-width: 500px) {
    .section-hero {
        padding-top: 250px;
    }
}

.section-hero::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--primaryColor) 45%, #00000000 70%);
    z-index: 0;
}

@media (max-width: 991px) {
    .section-hero::before {
        background: linear-gradient(0deg, var(--primaryColor) 65%, #00000000 70%);
    }
}

@media (max-width: 500px) {
    .section-hero::before {
        background: linear-gradient(0deg, var(--primaryColor) 70%, #00000000 75%);
    }
}

.section-hero > div {
    position: relative;
    z-index: 1;
}

.separate-containers .inside-article:has(.section-hero) {
    padding: 0;
}

.site.grid-container.container.hfeed:has(.section-hero) {
    width: 100%;
    max-width: 100%;
}

.separate-containers .site-main:has(.section-hero) {
    margin: 0;
}


.section-hero h1 {
    color: white;
    margin-bottom: 50px;
    /*font-family: "Playfair Display", serif;*/
    /*font-family: "America", serif;*/
    font-optical-sizing: auto;
    /*font-weight: 900;*/
    font-style: normal;
    /*font-size: 4rem;*/
    /*line-height: 1.1;*/


    font-family: "America", serif;
    font-weight: 100 !important;
    font-size: 3.6rem;
    line-height: 1.1;
    letter-spacing: -2px;
    text-transform: uppercase;
    transform: scaleY(1.5);
}

.section-hero h1 strong {
    font-weight: 900;
    color: var(--accentColor);
}

@media (max-width: 1380px) {
    .section-hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 1100px) {
    .section-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 767px) {
    .section-hero h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 500px) {
    .section-hero h1 {
        font-size: 1.8rem;
    }
}


.section-hero h3 {
    color: white;
    margin-bottom: 20px;
    font-family: Montserrat, sans-serif;
    font-size: 32px;
    line-height: 1.3;
    font-weight: bold;
}

@media (max-width: 500px) {
    .section-hero h3 {
        font-size: 18px;
    }
}

.hero2 h3 {
    color: var(--textColorDefault);
}

.section-hero h1 b {
    color: var(--accentColor);
}

h2 {
    font-size: 45px;
    /*font-family: "Playfair Display", serif;*/
    /*font-family: "America", serif;*/
    font-optical-sizing: auto;
    /*font-weight: 700;*/
    font-style: normal;
    line-height: 1.1;
    color: var(--primaryColor);


    font-family: "America", serif;
    font-weight: 100 !important;
    margin-bottom: 1em;
    transform: scaleY(1.5);
}

@media (max-width: 1280px) {
    h2 {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    h2 {
        font-size: 22px;
    }
}

h2 strong {
    color: var(--accentColor);
    font-weight: 100 !important;
}


h3 {
    font-size: 28px;
}

h4 {
    font-size: 24px;
}

@media (max-width: 1280px) {
    h3 {
        font-size: 23px;
    }
    h4 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    h3 {
        font-size: 18px;
    }
    h4 {
        font-size: 16px;
    }
}

.section-hero h5 {
    font-weight: 100;
    font-family: Roboto, sans-serif;
    margin-bottom: 10px;
    font-size: 20px;
}

.section-hero ul {
    padding-left: 1rem;
    margin-bottom: 40px;
}

.section-hero ul li {
    font-size: 24px;
    list-style: square;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--accentColorDark);
    font-family: RobotoCondensed, sans-serif;
}

@media (max-width: 450px) {
    .section-hero ul li {
        font-size: 15px;
    }
}

.wp-block-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 20px;
    row-gap: 10px;
}

.wp-block-buttons > .wp-block-button {
    line-height: 0.7;
}

form.wpcf7-form input[type="submit"],
.wpb-pcf-form-fire.wpb-pcf-btn-large.wpb-pcf-btn.wpb-pcf-btn-default,
.wp-block-buttons .wp-block-button a,
.button-accent,
.button-light {
    padding: 15px 36px !important;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
    border: 0;
}

@media (max-width: 450px) {
    form.wpcf7-form input[type="submit"],
    .wpb-pcf-form-fire.wpb-pcf-btn-large.wpb-pcf-btn.wpb-pcf-btn-default,
    .wp-block-buttons .wp-block-button a,
    .button-accent,
    .button-light {
        padding: 10px 20px !important;
        font-size: 16px;
    }
}

form.wpcf7-form input[type="submit"],
.wpb-pcf-form-fire.wpb-pcf-btn-large.wpb-pcf-btn.wpb-pcf-btn-default,
.wp-block-buttons .wp-block-button a,
.button-accent {
    border-radius: 5px;
    border: 2px solid var(--accentColor);
    z-index: 0;
    background-color: var(--accentColor);
    color: white;
    position: relative;
    overflow: hidden;

    display: inline-block;
    /*transition: all 0.2s ease-in-out;*/
    /*-webkit-box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.5);*/
    /*box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.5);*/
}

.wp-block-buttons .wp-block-button a span,
.button-accent span {
    z-index: 2;
    position: relative;
}

form.wpcf7-form input[type="submit"]:hover,
.wpb-pcf-form-fire.wpb-pcf-btn-large.wpb-pcf-btn.wpb-pcf-btn-default:hover,
.wp-block-buttons .wp-block-button a:hover,
a.button-accent:hover,
.button-accent:hover {
    background-color: transparent;
    color: var(--textColorDefault);
}


.section-hero .wp-block-buttons .wp-block-button a:hover {
    color: white;
}

.button-accent2 {
    box-shadow: none;
    border: 2px solid var(--accentColorDark);
    border-radius: 5px;
}

.button-accent2:hover {
    color: var(--accentColorDarker);
}

.button-accent2:before {
    background: var(--accentColorDark);
}

.button-accent3 {
    color: white;
    box-shadow: none;
    border: 2px solid white;
    border-radius: 5px;
    background: transparent;
}

.button-accent.button-accent3:hover {
    color: var(--accentColorDark);
}

.button-accent3:before {
    background: white;
}

.wpb-pcf-form-fire.wpb-pcf-btn-large.wpb-pcf-btn.wpb-pcf-btn-default,
.wp-block-buttons .wp-block-button:nth-child(2) a,
.button-light {
    border: 2px solid white;
    border-radius: 5px;
    background-color: transparent !important;
    color: white;
    box-shadow: 0 0 0 0 #ffffff00;
    transition: box-shadow 0.2s linear;
    position: relative;
    overflow: hidden;
}

.wpb-pcf-form-fire.wpb-pcf-btn-large.wpb-pcf-btn.wpb-pcf-btn-default:hover,
.wp-block-buttons .wp-block-button:nth-child(2) a:hover,
.button-light:hover {
    color: #404040 !important;
    background-color: white !important;
}

.button-light span {
    z-index: 2;
    position: relative;
}

.button-accent-dark {
    border: 0;
    background-color: var(--accentColorDark);
    padding: 15px 36px;
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.button-accent-dark:hover {
    background-color: var(--accentColorDark);
    color: #ffffff;
}

.section-hero h5,
.section-hero p {
    font-size: 20px;
    color: white;
    font-weight: normal;
}

@media (max-width: 500px) {
    .section-hero h5,
    .section-hero p {
        font-size: 1.0rem;
    }
}

.site-main:has(.section-hero) .wp-block-group__inner-container {
    padding: 0;
}

.advantages-block {
    margin-bottom: 0;
}

.advantages-block > .wp-block-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantages-block figure:has(img) {
    margin-bottom: 20px;
}

.advantages-block h4 {
    text-align: center;
    line-height: 1.2;

    /*font-family: "Playfair Display", serif;*/
    /*font-family: "America", serif;*/
    /*font-weight: 700;*/
    /*font-style: italic;*/
    font-style: normal;
    font-size: 24px;
    color: var(--primaryColor);
    margin-bottom: 20px;

    font-family: "America", serif;
    font-weight: 100 !important;
    transform: scaleY(1.5);
}

@media (max-width: 767px) {
    .advantages-block h4 {
        font-size: 18px;
    }
}

.advantages-block p {
    margin-bottom: 0;
    text-align: center;
    line-height: 1.3;
}

.section-hero p.hero-feature {
    /*font-family: "Playfair Display", serif;*/
    /*font-family: "America", serif;*/
    /*font-weight: 700;*/
    /*font-style: italic;*/
    font-size: 24px;
    color: var(--accentColor);

    font-family: "America", serif;
    font-weight: 100 !important;
    /*font-size: 3.6rem;*/
    line-height: 1.2;
    /*letter-spacing: -2px;*/
    /*text-transform: uppercase;*/
    font-style: normal;
    transform: scaleY(1.5);
}

@media (max-width: 767px) {
    .section-hero p.hero-feature {
        font-size: 18px;
    }
}

.section-dark h2,
.section-dark p,
.section-dark h3 {
    color: white;
}

.section-dark h2 {
    color: var(--accentColor);
}

.section-dark p {
    color: white;
    opacity: 0.7;
}

.services-grid figure:has(img) {
    margin-bottom: 20px;
}

.services-grid .wp-block-group:has(> .wp-block-group__inner-container) {
    /*.section-services .wp-block-columns .wp-block-column h4 {*/
    background-color: var(--accentColorDark);
    padding: 10px 10px 10px 15px;
    /*width: 90%;*/
    text-align: start;
    /*width: fit-content;*/
    /*margin: -40px auto 15px auto;*/
    margin-top: -10px;
    color: white;
    z-index: 1;
    /*position: relative;*/
    display: flex;
    flex-direction: column;
    align-items: start;
    height: 100%;
}

.services-grid .wp-block-group:has(> .wp-block-group__inner-container):hover {
    background-color: var(--primaryColor);
}

.services-grid .wp-block-group .wp-block-group__inner-container {
    padding: 0 !important;
}

.services-grid h4 {
    margin-bottom: 0;
    font-size: 22px;
    color: var(--accentColorLight);
    font-weight: 500 !important;
}

.services-grid h4 strong {
    font-weight: 500 !important;
}

@media (max-width: 767px) {
    .services-grid h4 {
        font-size: 18px;
    }
}

.services-grid p {
    margin-bottom: 0;
    margin-top: 15px;
    text-align: start;
    /*opacity: 0.7;*/
    color: white;
    font-size: 15px;
    margin-bottom: 10px;
}

.section-achievements h3 {
    font-size: 48px;
    /*font-family: "Playfair Display", serif;*/
    /*font-family: "America", serif;*/
    font-optical-sizing: auto;
    /*font-weight: 700;*/
    font-style: normal;
    line-height: 1.2;
    margin-bottom: 10px;

    font-family: "America", serif;
    font-weight: 100 !important;
    transform: scaleY(1.5);
}

@media (max-width: 767px) {
    .section-achievements h3 {
        font-size: 36px;
    }
}

.section-achievements p {
    color: white;
    opacity: 1;
    margin-bottom: 0;
}

/*
.section-achievements .wp-block-column {
    display: flex;
    flex-direction: column;
    align-items: center;
}*/

.wp-block-group.section .wp-block-group__inner-container {
    padding: 0 15px;
}

.contacts-column {
    display: flex;
    flex-direction: column;
}

.contacts-column p {
    margin-bottom: 20px;
}

.contacts-column a {
    display: flex;
    align-items: center;
    column-gap: 10px;
    text-decoration: none;
    font-weight: 500;
    font-size: 22px;
    margin-bottom: 15px;
}

.contacts-column p:has(img) {
    display: flex;
    align-items: center;
    column-gap: 10px;
    text-decoration: none;
    font-weight: 400;
    margin-bottom: 15px;
}

@media (max-width: 767px) {
    .contacts-column a {
        font-size: 18px;
    }
}

.contacts-column a img {
    width: 36px;
    height: 36px;
}

.contacts-column a:hover {
    color: var(--accentColorDark);
}

form.wpcf7-form > p {
    display: flex;
    flex-direction: column;
    row-gap: 15px;
}

form.wpcf7-form > p > span {
    width: 100%;
}

form.wpcf7-form > p > span > input {
    width: 100%;
    border: 0;
    padding: 15px 20px;
    border-radius: 5px;
}

.main-navigation,
.main-navigation ul ul {
    background-color: transparent;
    color: white;
}

.main-navigation ul ul {
    background-color: var(--primaryColor);
    width: 240px;
}

.main-navigation .main-nav ul ul li a,
.main-navigation .main-nav ul li[class*="current-menu-"] > a,
.main-navigation .main-nav ul li a,
.main-navigation .menu-toggle,
.main-navigation .menu-bar-items {
    color: white;
    font-size: 18px;
    font-weight: 400;
}

@media (max-width: 767px) {
    .main-navigation .main-nav ul li[class*="current-menu-"] > a,
    .main-navigation .main-nav ul li a, .main-navigation .menu-toggle, .main-navigation .menu-bar-items {
        font-size: 16px;
    }
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a:hover,
.main-navigation .main-nav ul li a:hover {
    color: var(--accentColor);
}

.services-grid img {
    background: url('https://blagoystroistvomogilok.by/wp-content/uploads/2025/06/Frame-119-min.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: contain;
    object-position: center;
}

ol, ul {
    margin: 0 0 1.5em 20px;
}

ol li,
ul li {
    margin-bottom: 10px;
}

.main-navigation ol li,
.main-navigation ul li {
    margin-bottom: 0;
}

.services-grid > .wp-block-group__inner-container {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 30px;
}

.services-grid > .wp-block-group__inner-container > * {
    flex: 1;
    max-width: 33%;
    min-width: 26%;
    display: flex;
    column-gap: 0;
    align-items: start;
}

@media (max-width: 1280px) {
    .services-grid > .wp-block-group__inner-container {
        column-gap: 20px;
    }

    .services-grid > .wp-block-group__inner-container > * {
        max-width: 50%;
        min-width: 40%;
    }
}

@media (max-width: 767px) {
    .services-grid > .wp-block-group__inner-container {
        column-gap: 15px;
        row-gap: 30px;
    }

    .services-grid > .wp-block-group__inner-container > * {
        max-width: 100%;
        min-width: 90%;
    }
}

.services-grid figure:has(img) {
    width: 35%;
    min-width: 35%;
    height: 150px;
}

.services-grid figure a:has(img) {
    width: 100%;
    height: 100%;
}

.services-grid figure img {
    height: 100% !important;
    width: 100% !important;
    padding: 10px;
}

.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a,
.main-navigation .menu-bar-item:hover > a,
.main-navigation .menu-bar-item.sfHover > a {
    color: var(--accentColor);
}

.header-contacts {
    display: flex;
    align-items: center;
    column-gap: 20px;
}

.header-contacts a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    column-gap: 10px;
}

@media (max-width: 810px) {
    .header-contacts a {
        font-size: 16px;
    }

    .main-navigation .main-nav ul li a {
        padding-left: 15px;
        padding-right: 15px;
    }
}

.header-contacts a:hover {
    color: var(--accentColor);
}

.header-contacts img {
    width: 32px;
    height: 32px;
    margin-right: 0;
}

header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
}

main.site-main {
    padding-top: 100px;
}

.site-logo a img {
    height: 80px !important;
}

.main-navigation.has-menu-bar-items.sub-menu-right {
    margin-right: auto;
    margin-left: auto;
}

.corner-decor-3,
.corner-decor-2,
.corner-decor-1 {
    position: relative;
}

.corner-decor-1::after {
    position: absolute;
    bottom: -25px;
    right: -25px;
    content: "";
    background-image: url(/wp-content/themes/generatepress/assets/img/corner2_4.svg);
    width: 150px;
    height: 150px;
    background-size: contain;
}

.corner-decor-2::after {
    position: absolute;
    top: -25px;
    left: -25px;
    content: "";
    background-image: url(/wp-content/themes/generatepress/assets/img/corner2_3.svg);
    width: 150px;
    height: 150px;
    background-size: contain;
}

.corner-decor-3::after {
    position: absolute;
    top: -25px;
    right: -25px;
    content: "";
    background-image: url(/wp-content/themes/generatepress/assets/img/corner2_3.svg);
    width: 150px;
    height: 150px;
    background-size: contain;
    transform: scaleX(-1);
}

@media (max-width: 767px) {

    .corner-decor-1::after {
        top: -15px;
        right: -15px;
    }

    .corner-decor-2::after {
        top: -15px;
        right: -15px;
    }

    .corner-decor-3::after {
        top: -15px;
        right: -15px;
    }
}

.check-mark {
    padding-left: 36px;
    position: relative;
}

.check-mark::after {
    content: url('/wp-content/themes/generatepress/assets/img/icon-check.svg');
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
}

.site-info,
.footer-widgets,
.site-footer {
    background-color: var(--primaryColor);
}

.footer-logo {
    width: 200px;
}

.copyright-bar {
    color: white;
}

.site-footer .widget_nav_menu li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.site-footer .widget_nav_menu li a:hover {
    color: var(--accentColorLight);
}

.site-footer h2 {
    color: var(--accentColorLight);
    font-size: 20px;
}

@media (max-width: 767px) {
    .site-footer .widget_nav_menu li a {
        font-size: 16px;
    }

    .site-footer h2 {
        font-size: 18px;
    }
}

.footer-widgets-container {
    padding: 80px 15px;
}

.site-footer .contacts-column a {
    color: white;
}

.site-footer .contacts-column a:hover {
    color: var(--accentColorLight);
}


.swal2-html-container {
    margin: 0 !important;
}

.swal2-close {
    position: absolute;
}

.swal2-html-container {
    overflow-x: hidden !important;
}

button:focus {
    background-color: inherit;
}

.wpcf7-spinner {
    width: 24px !important;
    height: 24px;
    margin: 0 24px;
}

@media (min-width: 767px) and (max-width: 960px) {
    .header-contacts .social {
        display: none;
    }
}

@media (max-width: 991px) {
    .section-hero .wp-block-columns {
        flex-wrap: wrap!important;
    }

    .section-hero .wp-block-column {
        width: 100% !important;
        flex-basis: 100% !important;
        flex-grow: 1 !important;
    }
}


.site-footer .widget_nav_menu ul li ul li ul {
    display: none;
}