@font-face {
    font-family: Geologica;
    font-weight: 500;
    font-style: normal;
    src: url('../fonts/Geologica-Medium.ttf') format('truetype');
}

@font-face {
    font-family: Geologica;
    font-weight: 600;
    font-style: normal;
    src: url('../fonts/Geologica-SemiBold.ttf') format('truetype');
}

@font-face {
    font-family: Geologica;
    font-weight: 700;
    font-style: normal;
    src: url('../fonts/Geologica-Bold.ttf') format('truetype');
}

:root {
    --black: #000;
    --black-alpha-60: rgba(0 0 0 / 60%);
    --black-alpha-20: rgba(0 0 0 / 20%);
    --black-alpha-10: rgba(0 0 0 / 10%);
    --white: #fff;
    --white-alpha-50: rgba(255 255 255 / 50%);
    --body-color: #161616;
    --gray: #b0b2bd;
    --light-gray: #F7F7F7;
    --blue: #2b6fe6;
    --light-blue: #7dabff;
    --dark-blue: #142543;
    --green: #deed4a;
    --light-green: #e9ffa0;
    --dark-green: #c4d61d;
    --red: #ff506d;

    --scrollbar-width: 0;
    --stroke-dasharray: 0 0;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    font-size: 10px;
}

body {
    background: var(--white);
    color: var(--body-color);
    font-size: 1.8rem;
    font-weight: 500;
    font-family: Geologica, sans-serif;
    line-height: 139%;
    padding: 10rem 4rem 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

img {
    max-width: 100%;
    display: block;
}

h1 {
    font-weight: 700;
    font-size: 6rem;
    line-height: 107%;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: var(--black);
    margin-bottom: 4rem;
}

main, aside, footer, .header-wrapper {
    max-width: 134.5rem;
    margin: 0 auto;
    width: 100%;
}

.wrapper {
    max-width: 100rem;
    margin: 0 auto;
    width: 100%;
}

.breadcrumbs {
    margin-bottom: 2rem;
    padding-top: 2rem;
}

.breadcrumbs-divider {
    font-size: 2.2rem;
    line-height: 2.3rem;
    display: inline-block;
    color: var(--gray);
}

.breadcrumb:last-child .breadcrumbs-divider {
    display: none;
}

.breadcrumb a {
    color: var(--black-alpha-60);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--black);
}

.tag {
    font-weight: 500;
    font-size: 1.6rem;
    line-height: 137%;
    color: var(--black-alpha-60);
    margin-bottom: 1.2rem;
    background-color: var(--light-gray);
    padding: 0.4rem 0.8rem;
    border-radius: 0.8rem;
    display: inline-block;
}

.tabs {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.tab {
    padding: 1.4rem 1.6rem;
    border-radius: 0.9rem;
    cursor: pointer;
    font-size: 2rem;
    line-height: 120%;
    font-weight: 700;
    white-space: nowrap;
    text-transform: uppercase;
    display: inline-block;
    border: 0.2rem solid var(--gray);
    background: none;
    color: var(--black)
}

.tab.active-tab {
    pointer-events: none;
    background-color: var(--dark-blue);
    color: var(--white);
    border-color: var(--dark-blue);
}

.tab:not(.active-tab):hover {
    border-color: var(--black);
}

.tab-content {
    display: none;
}

.tab-content.active-tab-content {
    display: block;
}

.content p:not(:last-child),
.content ul:not(:last-child),
.content ol:not(:last-child) {
    margin-bottom: 1.2rem;
}

.content h3,
.pdf-link-container h3 {
    margin-bottom: 1.2rem;
    font-weight: 700;
    font-size: 2.7rem;
    line-height: 119%;
    color: var(--body-color);
}

.content h4 {
    margin-bottom: 1.2rem;
    margin-top: 4rem;
}

.content p + h3 {
    margin-top: 4rem;
}

.about-advantage ul,
.content ul {
    list-style: none;
}

.content ol {
    padding-left: 2.1rem;
}

.about-advantage ul li,
.content ul li {
    position: relative;
    padding-left: 2.5rem;
}

.about-advantage ul li:not(:last-child),
.content ul li:not(:last-child),
.content ol li:not(:last-child) {
    margin-bottom: 1rem;
}

.about-advantage ul li::before,
.content ul li::before {
    content: '—';
    position: absolute;
    left: 0;
    top: 0;
}

.service-main .content .wp-block-image img {
    display: block;
    width: 20rem;
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

.services-main,
.faq-main,
.contacts-main {
    margin-bottom: 14rem;
}

.content p a {
    color: var(--blue) !important;
}

.content p a:hover {
    color: var(--light-blue) !important;
}

.content .table-container {
    margin-bottom: 4rem;
    max-width: 100%;
    overflow-x: auto;
}

.content table {
    min-width: 90rem;
    border: none;
}

.content table td {
    border: none;
    border-bottom: 0.1rem solid var(--gray);
    padding: 1.2rem 2rem 1.2rem 0.8rem;
}

.content table tr:first-child td {
    border-top: 0.1rem solid var(--gray);
}

.content table tr.header:first-child td {
    border-top: none;
    border-bottom: none;
    padding-top: 0.6rem;
    padding-bottom: 0.6rem;
    background-color: var(--dark-blue);
    color: var(--white);
}

.content table tr.header:first-child td:first-child {
    border-radius: 0.8rem 0 0 0.8rem;
}

.content table tr.header:first-child td:last-child {
    border-radius: 0 0.8rem 0.8rem 0;
}

.content p,
.content h3,
.content h4,
.content ul,
.content ol,
.content > a {
    max-width: 70rem;
}

.page-404 {
    background-color: var(--dark-blue);
    padding: 0 4rem;
}

.logo-404 {
    position: absolute;
    top: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: block;
}

.logo-404 img {
    width: 15.2rem;
    height: auto;
}

.content-404 {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.content-404 img {
    width: 48.4rem;
    max-width: 100%;
    margin-bottom: 1.6rem;
    height: auto;
}

.content-404 div {
    font-weight: 500;
    font-size: 2.4rem;
    line-height: 117%;
    text-align: center;
    color: var(--white-alpha-50);
    margin-bottom: 3.2rem;
}

.loader {
    display: block;
    animation: loader 4s linear infinite;
}

.loader path {
    stroke-dasharray: 0 var(--stroke-dasharray);
    animation: loaderPath 4s ease-in-out infinite;

}

@keyframes loader {
    0% {
        transform: rotate(0);
    }
    50% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(1080deg);
    }
}

@keyframes loaderPath {
    0% {
        stroke-dasharray: 0 var(--stroke-dasharray);
    }
    50% {
        stroke-dasharray: var(--stroke-dasharray) var(--stroke-dasharray);
    }
    100% {
        stroke-dasharray: 0 var(--stroke-dasharray);
    }
}

@media (max-width: 1319px) {
    body {
        padding: 7.4rem 1.6rem 0;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 1.6rem;
        line-height: 137%;
    }

    h1 {
        font-weight: 700;
        font-size: 2.7rem;
        line-height: 119%;
        margin-bottom: 2rem;
    }

    .services-main,
    .faq-main,
    .contacts-main {
        margin-bottom: 4rem;
    }

    .breadcrumbs {
        padding-top: 0;
        margin-bottom: 1.6rem;
    }

    .tabs {
        gap: 0.4rem;
        margin-bottom: 2rem;
    }

    .tab {
        padding: 1.3rem 1.2rem;
        font-weight: 700;
        font-size: 1.6rem;
        line-height: 144%;
        border-radius: 0.9rem;
    }

    .content p + h3 {
        margin-top: 3.2rem;
    }

    .content h3,
    .pdf-link-container h3 {
        font-weight: 700;
        font-size: 2.2rem;
        line-height: 109%;
        margin-bottom: 0.8rem;
    }

    .about-advantage ul li:not(:last-child),
    .content ul li:not(:last-child),
    .content ol li:not(:last-child) {
        margin-bottom: 0.8rem;
    }

    .content h4 {
        margin-bottom: 0.8rem;
        margin-top: 2.4rem;
    }

    .tag {
        margin-bottom: 0.8rem;
    }
}
