.page-content, .entry-content, .entry-summary {
    margin: 0;
}

.page {
    margin: 0;
}

body {
    font-family: 'Raleway', sans-serif !important;
}

ul, ol {
	margin: 0 !important;
	padding-left: 20px;
}

a, a:focus, a:active {
    outline: none;
}

form label, form label > span, form label > span > input, form p > input[type="submit"] {
    width: 100%;
}
.home form label > span > input, 
.home form label > span > textarea, 
.page form label > span > input, 
.page form label > span > textarea {
    min-height: 50px;
    border-radius: 0;
    padding: 0 20px;
    font-family: 'Roboto', sans-serif;
    transition: all .3s ease;
}
.home form label > span > textarea, 
.page form label > span > textarea {
    padding: 20px;
}
.home form label > span > input:focus, 
.home form label > span > input:active, 
.home form label > span > textarea:focus, 
.home form label > span > textarea:active, 
.page form label > span > input:focus, 
.page form label > span > input:active, 
.page form label > span > textarea:focus, 
.page form label > span > textarea:active {
    border: 1px solid;
    border-color: #823038;
    outline: none;
}
form p > input[type="submit"] {
    min-height: 50px;
    border-radius: 0;
    background-color: transparent;
    border: 1px solid;
    border-color: #000;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 2px;
    transition: all .3s ease;
}
form p > input[type="submit"]:hover {
    background-color: #823038;
    color: #fff;
}
.wpcf7 form .wpcf7-response-output {
    text-align: center;
    padding: 10px !important;
    margin: 0 !important;
}

.container {
    max-width: 95% !important;
}

.section-block {
    scroll-margin-top: 148px;
}

header.scrolled {
    z-index: 9999;
}
header.open-mobile {
    z-index: 9999;
    background-color: #fff;
    border-bottom: 1px solid;
    border-color: #000;
    box-shadow: none !important;
}

/* Mobile menu */

.burger {
    width: auto;
    height: auto;
    border: 0;
    background: none;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    cursor: pointer;
    position: relative;
    padding: 0;
}

.burger span {
    display: block;
    width: 35px;
    height: 1px;
    background: #fff;
    transition: transform .25s ease, opacity .2s ease;
}
header.scrolled .burger span, header.open-mobile .burger span {
    background: #000;
}
/* .burger.is-active {
    position: fixed;
    z-index: 9999;
    right: inherit;
    left: 40px;
    color: var(--color-dark);
} */
.burger.is-active span:nth-child(1){
  transform: translateY(9px) rotate(45deg);
}

.burger.is-active span:nth-child(2){
  opacity: 0;
}

.burger.is-active span:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.7);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 1000;
}

.menu-open .menu-overlay {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 1001;
    padding: 110px 20px;
}

.mobile-menu .head_socials {
    margin-top: 30px;
}
.mobile-menu .head_socials > ul {
    gap: 5px;
}
.mobile-menu .head_socials > ul > li > a {
    justify-content: center;
}
.mobile-menu .head_socials > ul > li > a > svg > g > path {
    fill: #000;
}

.mobile-menu .btn_action {
    margin-top: 30px;
}
.mobile-menu .btn_action > a {
    border-color: #000;
}
.mobile-menu .btn_action > a > svg {
    background-color: #000;
    height: 25px;
}
.mobile-menu .btn_action > a > svg > polyline, .mobile-menu .btn_action > a > svg > line {
    fill: #fff;
    stroke: #fff;
}
.mobile-menu .btn_action > a:hover {
    background-color: #000;
    color: #fff;
}

.menu-open .mobile-menu {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.mobile-menu ul > li {
    text-align: center;
}

.mobile-menu a {
    font-size: 18px;
    text-decoration: none;
    color: #111;
}

/* Mobile menu end */

header .topbar {
    width: 100%;
    padding: 10px 0 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    min-height: auto;
    margin-bottom: 30px;
}
header.scrolled .topbar {
    border-bottom: 1px solid #000;
}
header .topbar > .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.head_socials > ul {
    display: flex;
    margin: 0;
    padding-left: 0;
    list-style: none;
    gap: 50px;
}
.head_socials > ul > li:first-child > a {
    font-family: 'Roboto', sans-serif;
}
.head_socials > ul > li > a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}
.head_socials > ul > li > a > svg {
    width: 20px;
    height: 20px;
}
header.scrolled .head_socials > ul > li > a > svg > g > path {
    fill: #000;
}
.head_socials > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: #fff;
    opacity: 0;
    transform: translateY(6px); 
    transition: opacity 0.3s ease, transform 0.3s ease;
}
header.scrolled .head_socials > ul > li > a::after {
    background: #000;
}
.head_socials > ul > li > a:hover {
    color: #fff;
}
header.scrolled .head_socials > ul > li > a:hover {
    color: #000;
}
.head_socials > ul > li > a:hover::after, .head_socials > ul > li > a:focus::after, .head_socials > ul > li > a:active::after, .head_socials > ul > li > a:visited::after {
    opacity: 1;
    transform: translateY(0);
}
.head_socials > ul > li > a:visited, .head_socials > ul > li > a:focus, .head_socials > ul > li > a:active {
    color: #fff !important;
    outline: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    padding: 0 0 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}
header > .container {
    display: flex;
    justify-content: space-between;
}
header a {
    color: #fff;
    text-decoration: none;
}
header a:visited {
    color: #fff;
}
header.scrolled a, header.open-mobile a {
    color: #000;
}
header.scrolled a:visited, header.open-mobile a:visited {
    color: #000;
}

header .logo {
    display: flex;
    align-content: center;
}
header .logo svg {
    width: 100%;
    height: 30px;
    fill: #fff;
    transition: all .3s ease;
}
header.scrolled .logo svg, header.open-mobile .logo svg {
    fill: #823038;
}
header .logo p {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    position: relative;
}
header .logo p > a {
    font-weight: 800;
    transition: all .3s;
}
header .logo p > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0px;
    width: 100%;
    height: 1px;
    background: #fff;
    opacity: 0;
    transform: translateY(6px); 
    transition: opacity 0.3s ease, transform 0.3s ease;
}
header.scrolled .logo p > a::after {
    background: #000;
}
header .logo p > a:hover {
    color: #fff;
}
header.scrolled .logo p > a:hover {
    color: #000;
}
header .logo p > a:hover::after {
    opacity: 1;
    transform: translateY(0);
}
header .logo p > span {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 100px;
    background-color: #fff;
    bottom: 7px;
    right: -7px;
    margin-left: 3px;
}
header.scrolled .logo p > span, header.open-mobile .logo p > span {
    background-color: #000;
}
header.scrolled {
    background-color: #fff;
    box-shadow: 0 -6px 10px 5px rgba(0,0,0,.5);
}

.main_menu {
    display: flex;
    align-items: center;
}
.main_menu ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
    margin-bottom: 0;
    padding-left: 0;
}
.main_menu ul > li > a {
    position: relative;
    padding: 5px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}
.main_menu ul > li > a:hover {
    color: #fff;
}
.main_menu ul > li > a::before {
    content: "";
    position: absolute;
    top: 0;
    background-color: #823038;
    border-color: #823038;
    left: auto;
    width: 0;
    height: 100%;
    z-index: -1;
    transition: width .3s;
}
header.scrolled .main_menu ul > li > a::before {
    background-color: #823038;
    border-color: #823038;
}
header.scrolled .main_menu ul > li > a:hover {
    color: #fff;
}
.main_menu ul > li > a:hover::before {
    width: 100%;
    left: 0;
}

.btn_action > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid;
    border-color: #fff;
    padding: 5px 65px 5px 25px;
    border-radius: 100px;
    position: relative;
    transition: all .3s ease;
}
header.scrolled .btn_action > a {
    border-color: #823038;
}
.btn_action > a > svg {
    position: absolute;
    width: 37px;
    height: 23px;
    top: 6px;
    right: 6px;
    background-color: #fff;
    padding: 0px;
    border-radius: 100px;
}
header.scrolled .btn_action > a > svg {
    background-color: #823038;
}
header.scrolled .btn_action > a > svg > polyline, header.scrolled .btn_action > a > svg > line {
    fill: #fff;
    stroke: #fff;
}
.btn_action > a:hover {
    background-color: #fff;
    color: #000;
}
header.scrolled .btn_action > a:hover {
    background-color: #823038;
    color: #fff;
}

#home-block {
    position: relative;
}
#home-block::after {
    content: url("https://energy.marktarasov.com/wp-content/uploads/2026/01/scroll-down-animation.gif");
    width: auto;
    height: 150px;
    position: absolute;
    bottom: 30px;
    left: 50%;
    z-index: 999;
    transform: translateX(-50%);
}

.home_map iframe {
    margin-bottom: -7px !important;
}

footer {
    padding: 50px 0;
    border-top: 1px solid;
    border-color: #000;
}
footer > .container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}
footer > .container:nth-child(2) {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}
footer a:visited {
    color: #000;
}

.footer_info {
    display: flex;
    align-items: center;
}
.footer_info div {
    display: flex;
}
.footer_info div > svg {
    width: 100%;
    fill: #823038;
}
.footer_info div > p {
    position: relative;
    font-size: 30px;
    margin: 0;
    font-weight: 800;
}
.footer_info div > p > span {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background-color: #000;
    bottom: 12px;
    right: 63px;
    margin-left: 3px;
}

.footer_worktime {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.footer_worktime > div {
    width: 100%;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 20px;
    text-align: center;
}
.footer_worktime > ul {
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    gap: 30px;
}
.footer_worktime > ul > li {
    text-transform: uppercase;
}
.footer_worktime > ul > li > span {
    font-family: 'Roboto', sans-serif;
}
.footer_worktime > ul > li:first-child {
    list-style: none;
}

.footer_contacts {
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
}
.footer_contacts > div {
    width: 100%;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 20px;
    text-align: right;
}
.footer_contacts > ul {
    padding-left: 0;
    margin: 0;
    text-align: right;
    list-style: none;
    margin-right: -5px;
}
.footer_contacts > ul > li {
    padding: 5px;
}
.footer_contacts > ul > li > a {
    color: #000;
    text-decoration: none;
    position: relative;
}
.footer_contacts > ul > li > a > span, .footer_contacts > ul > li > span {
    font-family: 'Roboto', sans-serif;
}
.footer_contacts > ul > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background: #000;
    opacity: 0;
    transform: translateY(6px); 
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.footer_contacts > ul > li > a:hover::after {
    opacity: 1;
    transform: translateY(0);
}

.footer_copyright > p {
    text-transform: uppercase;
    margin-bottom: 0;
}
.footer_copyright > p > span {
    font-family: 'Roboto', sans-serif;
}