* {
    padding: 0px;
    margin: 0px;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Links */

a,
a:link,
a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Common */

aside,
nav,
footer,
header,
section,
main {
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-size: inherit;
    font-weight: inherit;
}

ul,
ul li {
    list-style: none;
}

img {
    vertical-align: top;
}

img,
svg {
    max-width: 100%;
    height: auto;
}

address {
    font-style: normal;
}

/* Form */

input,
textarea,
button,
select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
    display: none;
}

textarea {
    resize: vertical;
}

button,
input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

button::-moz-focus-inner {
    padding: 0;
    border: 0;
}

label {
    cursor: pointer;
}

legend {
    display: block;
}

input[type='file'] {
    max-width: 100%;
}

/*STYLES */
:root {
    --dark: #11101C;
    --primary: #0092DD;
}

.container {
    width: 100%;
    max-width: 1840px;
    margin-left: auto;
    margin-right: auto;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav li a {
    display: block;
    text-align: center;
    width: 178px;
    border-radius: 60px;
    border: 2px solid #fff;
    padding-top: 16px;
    padding-bottom: 16px;
    color: #fff;
    transition: .3s;
}

.nav li a:hover {
    background: #fff;
    color: var(--dark);
}

.header {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 9999;
    padding-top: 64px;
}


.menu {
    display: flex;
    list-style: none;
    padding-left: 0;
}


.elementor-507 .elementor-element.elementor-element-f55445f .elementor-wrapper {
    height: 100vh;
    width: 100%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 60px;
    background: var(--primary);
    padding: 20px 40px;
    color: #fff !important;
    transition: .3s;
    height: 55px;
    font-weight: 500;
    font-size: 16px;
}

.button:hover {
    background: #2462C9;
}

main.elementor-element-5a373f3 {
    margin-top: 32px;
    height: calc(100vh - 32px);
}

body {
    background: #EEE;
}

.service:hover h2 {
    color: #fff;
}

.service:hover p {
    color: #fff;
}

.service {
    position: relative;
}

.service:after {
    content: '';
    width: 60px;
    height: 60px;
    background: url('../images/arrow.svg') no-repeat center / cover;
    position: absolute;
    right: 32px;
    bottom: 24px;
    transition: .3s;
}


.service:hover:after {
    background: url('../images/arrow-white.svg') no-repeat center / cover;
}

.footer {
    background: var(--dark);
    border-radius: 36px;
    padding: 32px;
    margin-top: 32px;
    width: 100%;
    max-width: 1840px;
    margin-left: auto;
    margin-right: auto;
}

.footer ul {
    columns: 2;
}

.footer ul li a {
    color: #fff;
    transition: .3s;
}

.footer ul li a:hover {
    opacity: .6;
}

.footer-nav {
    display: flex;
    justify-content: space-between;
}

hr {
    height: 1px;
    background: #595959;
    margin-top: 24px;
    margin-bottom: 24px;
}

.footer p {
    text-align: center;
    color: #fff;
}

.img {
    pointer-events: none;
}

.btn {
    width: 50px;
    height: 50px;
    display: none;
    gap: 4px;
    flex-direction: column;
    justify-content: space-between;
    padding: 12px;
    border: 1px solid #fff;
    border-radius: 100%;
}

.btn span {
    width: 100%;
    display: block;
    height: 4px;
    background: #fff;
}

body:not(.home) .header {
    background: #fff;
    padding-top: 16px;
    padding-bottom: 16px;
}

body:not(.home) .header svg path {
    fill: #000;
}



body:not(.home) .nav li a {
    color: var(--primary);
    border-color: var(--primary);
}


body:not(.home) .nav li.current-menu-item a {
    background: var(--primary);
    color: #fff;
}


body.home .nav li.current-menu-item a {
    background: #fff;
    color: var(--primary);
}

body:not(.home) .nav li a:hover {
    background: var(--primary);
    color: #fff;
}

.lang-switcher {
    position: relative;
    background: #fff;
    width: 52px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}

.lang-switcher ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    padding: 12px;
    min-width: 200px;
    border-radius: 16px;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
}

.lang-switcher ul a {
    width: auto;
    text-align: left;
    color: var(--dark);
    padding-top: 8px;
    padding-bottom: 8px;
    border: none;
}

.lang-switcher ul a:hover {
    padding-left: 16px;
}

.lang-switcher:hover ul {
    visibility: visible;
    opacity: 1;
}

.flex {
    display: flex;
    align-items: center;
}

.lang-switcher img {
    width: 26px;
    height: auto;
}

.mobile-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: #fff;
    padding: 32px;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
}

.mobileMenu .mobile-header {
    visibility: visible;
    opacity: 1;
}

.mobile-header .btn {
    border-color: var(--dark);
    position: absolute;
    right: 32px;
    top: 32px
}

.mobile-header .btn span {
    background: var(--dark);
}

.mobile-header .btn span:nth-of-type(1) {
    transform: rotateZ(-46deg) translateY(7px) translateX(-6px)
}

.mobile-header .btn span:nth-of-type(2) {
    transform: rotateZ(46deg) translateY(-8px) translateX(-6px)
}


.mobile-header .lang-list {
    display: flex;
    gap: 8px;
}

.mobile-header .lang-list a, .mobile-header .lang-list .current {
    border: 1px solid var(--dark);
    width: 40px;
    height: 40px;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-header .lang-list .current {
    opacity: .5;
}

.mobile-header .lang-list img {
    width: 24px;
}

.mobile-header .lang-list {
    margin-top: 16px;
}

.mobile-header .button {
    margin-top: 40px;
}


.mobile-header .menu {
    display: block !important;
}

.mobile-header .menu a {
    font-size: 24px;
    display: block;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.modal {
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: .3s;
}

.modal__inner {
    width: 100%;
    max-width: 600px;
    overflow: auto;
    max-height: 600px;
    padding: 32px;
    background: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 60px;
}

.modal input:not(.wpcf7-submit) {
    width: 100%;
    border-bottom: 2px solid var(--dark);
    padding-top: 16px;
    padding-bottom: 16px;
    outline: none;
}

.wpcf7-submit {
    background: var(--primary) !important;
    color: #fff;
    border-radius: 60px;
    width: 100%;
    margin-top: 24px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.wpcf7-spinner {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

.close {
    position: absolute;
    top: 32px;
    right: 32px;
    cursor: pointer;
}

.modal.modalActive  {
    visibility: visible;
    opacity: 1;
}


@media (min-width: 1100px) and (max-width: 1920px) {
    body.home
    .container {
        padding-left: 60px;
        padding-right: 60px;
    }

    body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .elementor-507 .elementor-element.elementor-element-5a373f3 {
        padding-left: 0;
        padding-right: 0;
    }
}



@media(min-width: 1024px) and (max-width: 1600px) {
    .elementor-507 .elementor-element.elementor-element-1c806cd .elementor-heading-title {
        font-size: 60px !important;
        line-height: 64px !important;
    }
}

@media (min-width: 1000px) and (max-width: 1280px) {
    .nav li a {
        width: auto;
        padding-left: 16px;
        padding-right: 16px;
    }

    .header {
        padding-left: 60px;
        padding-right: 60px;
    }

    body {
        padding-left: 32px;
        padding-right: 32px;
    }

    main {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 1023px) {

    .elementor-507 .elementor-element.elementor-element-cfcd3bd {
        margin-top: 24px;
    }
    .header {
        padding-top: 20px;
    }

    .header .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    main.elementor-element-5a373f3 {
        margin-top: 0;
        height: 100vh;
    }

    .btn {
        display: flex;
    }

    .header .button {
        display: none;
    }

     .lang-switcher {
        display: none;
    }

    .custom-logo-link img {
        max-width: 100px;
    }

    .menu {
        display: none;
    }

    .menu ul {
        column: 1;
    }

    .footer-nav {
        flex-direction: column;
        gap: 16px;
    }

    .elementor-507 .elementor-element.elementor-element-5a373f3 {
        border-radius: 0 !important;
    }
}


@media (max-width: 500px) {
    .service p {
        max-width: 70%;
    }

    .service h2 {
        max-width: 70%;
    }

    body {
        padding-left: 24px;
        padding-right: 24px;
    }

    .elementor-507 .elementor-element.elementor-element-078e26c {
       --border-radius: 0 !important;
    }

    .header svg {
        max-width: 100px;
    }

    body.home .header .container {
        padding-left: 40px !important;
        padding-right: 40px !important;
    }

   .maintitle  h2 {
        font-size: 14vw !important;
        line-height: 14vw !important;
    }

    .button {
        padding-left: 0;
        padding-right: 0;
    }

}

.calculator {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding: 16px;
}

.calculator input {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 12px;
    width: 100%;
    max-width: 440px;
}

body:not(.home) .btn {
    border-color: var(--dark);
}


body:not(.home) .btn span {
    background: var(--dark);
}

.e-n-tab-title {
    border: 2px solid #eee !important;
    border-radius: 32px !important;
    padding: 12px;
}

.e-n-tab-title:hover {
    background: #eee !important;
    color: #6A6972 !important;
}

.e-n-tab-title[aria-selected="true"] {
    background-color: var(--primary) !important;
}

.e-n-tab-title[aria-selected="true"]:hover {
    color: #fff !important;
}

.checkboxes {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkboxes label {
    display: flex;
    gap: 12px;
    align-items: center;
}

.checkboxes label input {
    width: 20px;
    height: 20px;
}

.calculatorresult {
    margin-top: 32px;
}

.calculatorresult strong {
    display: block;
    margin-bottom: 8px;
}

.calculatorresult ul li {
    padding-top: 8px;
    padding-bottom: 8px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.total {
    display: flex;
    font-weight: 700;
    font-size: 24px;
    margin-top: 16px;
}


 
  /* Десктопные табы */
  .tabs {
    display: flex;
    gap: 10px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .tab {
    padding: 10px 15px;
    background: #eee;
    cursor: pointer;
    border-radius: 5px 5px 0 0;
  }

  .tab.active {
    background: #4285f4;
    color: white;
  }

  /* Контент вкладок */
  .tab-content {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 0 5px 5px 5px;
  }

  /* Мобильный селект */
  .tab-select {
    display: none;
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
  }

  /* Адаптив */
  @media (max-width: 768px) {
    .tabs { display: none; }
    .tab-select { display: block; }
  }