/*
Theme Name: Aval
Author: Helen Parker
Version: 1.0.0
Description: Кастомная тема для сайта-визитки
*/

@font-face {
    font-family: 'Wix Madefor Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/wp-content/themes/aval/assets/fonts/SZcS3EX9IbbyeJ8aOluD52KXgUA_7Ed1I13G853Cp9duUYFhYmtntfz3QA.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Wix Madefor Display';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/wp-content/themes/aval/assets/fonts/SZcS3EX9IbbyeJ8aOluD52KXgUA_7Ed1I13G853Cp9duUYFhYmtjtfw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Wix Madefor Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(/wp-content/themes/aval/assets/fonts/SZcS3EX9IbbyeJ8aOluD52KXgUA_7Ed1I13G853Cp9duUYFTYmtntfz3QA.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Wix Madefor Display';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(/wp-content/themes/aval/assets/fonts/SZcS3EX9IbbyeJ8aOluD52KXgUA_7Ed1I13G853Cp9duUYFTYmtjtfw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Wix Madefor Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(/wp-content/themes/aval/assets/fonts/SZcS3EX9IbbyeJ8aOluD52KXgUA_7Ed1I13G853Cp9duUYG_ZWtntfz3QA.woff2) format('woff2');
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: 'Wix Madefor Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(/wp-content/themes/aval/assets/fonts/SZcS3EX9IbbyeJ8aOluD52KXgUA_7Ed1I13G853Cp9duUYG_ZWtjtfw.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/******************************************************************************************/
/* BASIC                                                                                  */
/******************************************************************************************/
*,
*:before,
*:after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scrollbar-gutter: stable;
}
body {
    color: #313132;
    font-family: "Wix Madefor Display", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.5;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}
a {
    text-decoration: none;
}
ul,
ol {
    list-style: none;
}
h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 600;
}
b, strong {
    font-weight: 600;
}
address {
    font-style: normal;
}
p:not(:last-child) {
    margin-bottom: 12px;
}
.hero-title span,
p a,
.page-content a {
    color: #4274d9;
}
.header {
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: white;
    box-shadow:
        0 0 30px rgba(49, 49, 50, .15);
}
.wrapper {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}
.header .wrapper {
    display: flex;
}
.header-logo,
.header-logo img,
.header-nav a {
    display: block;
}
.header-nav li {
    position: relative;
}
.hero-wrapper {
    background: #F6F6F6;
}
.hero-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.product-section {
    margin-bottom: 32px;
}





.post-text ul,
.list-circle {
    display: grid;
    row-gap: 8px;
}
li .list-circle {
    margin-top: 8px;
}
.post-text li,
.list-circle li {
    position: relative;
}
.post-text li:before,
.list-circle li:before {
    content: "";
    border-radius: 50%;
    background: #4274D9;
    position: absolute;
    left: 0;
}
.post-text ol,
.list-numbered {
    display: grid;
    row-gap: 8px;
    counter-reset: item;
}
.post-text ol>li,
.list-numbered>li {
    counter-increment: item;
    position: relative;
    padding-left: 2em;
}
.post-text ol>li:before,
.list-numbered>li:before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
    color: #4274D9;
}
.faq-accordion-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
}
.faq-question {
    color: #4274D9;
    position: relative;
    padding-left: 32px;
    font-weight: 500;
    cursor: pointer;
    background: none;
}
.faq-item.active {
    display: flex;
    flex-direction: column;
    row-gap: 18px;
}
.faq-item.active .faq-question {
    color: #4274D9;
}
.faq-question:before {
    content: '';
    position: absolute;
    top: 5px;
    left: 6px;
    width: 2px;
    height: 14px;
    background: #4274D9;
    border-radius: 2px;
}
.faq-question:after {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 14px;
    height: 2px;
    background: #4274D9;
    border-radius: 2px;
}
.faq-item.active .faq-question:after {
    transition: all .5s ease-out;
    transform: scale(-1, -1);
}
.faq-item.active .faq-question:before {
    content: none;
}
.faq-answer {
    display: none;
    border-radius: 4px;
    background: #F5F5F5;
    color: #545761;
}
.faq-item.active .faq-answer {
    margin-bottom: 12px;
}
.pdf-link {
    display: flex;
    align-items: center;
    column-gap: 16px;
    position: relative;    
    line-height: 1.2;    
    color: #4274D9;
    margin-bottom: 12px;
}
.pdf-link:before {
    content: "";
    display: block;
    width: 32px;
    height: 32px;
    background: #eef6f6 url(/wp-content/themes/aval/assets/img/pdf.svg) no-repeat center/13px 16px;
    border-radius: 50%;
}
.info {
    background: #eef6f6;
    border-radius: 8px;
    display: grid;
    row-gap: 8px;
}
.info a {
    color: #313132;
    font-weight: 500;
}
.partners {
    background: #F6F6F6;
}
.swiper-wrapper {
    align-items: center;
}
.logos-slider img {
    display: block;
	height: auto;
    max-height: 60px;
    width: auto;
	max-width: 120px;
}
footer {
    background: #293057;
    color: #8c8c8c;
}
footer a {
    display: block;
    color: #f2f2f2;
}
.footer-legal {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 16px 0;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    color: #8c8c8c;
}
.footer-nav {
    display: grid;
    row-gap: 16px;
}
.contact-link {
    margin-top: 16px;
}
.footer-col--links a:first-child {
    margin-bottom: 16px;
}
.footer-grid,
.bento-grid,
.cards-grid,
.technology-grid {
    display: grid;
}
.card {
    background: #F6F6F6;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.card:before {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: top right;
}
.card-dispute:before {
    background-image: url(/wp-content/themes/aval/assets/img/triangles.svg);
}
.card-corporate:before {
    background-image: url(/wp-content/themes/aval/assets/img/triangles-2.svg);
}
.card-land:before {
    background-image: url(/wp-content/themes/aval/assets/img/pie.svg);
}
.card-tax:before {
    background-image: url(/wp-content/themes/aval/assets/img/corner.svg);
}
.card-intellectual:before {
    background-image: url(/wp-content/themes/aval/assets/img/chevron.svg);
}
.card-bankruptcy:before {
    background-image: url(/wp-content/themes/aval/assets/img/corners.svg);
}
.card-accounting:before {
    background-image: url(/wp-content/themes/aval/assets/img/double-corner.svg);
}
.card-consulting:before {
    background-image: url(/wp-content/themes/aval/assets/img/triangle-circle.svg);
}
.card-it:before {
    background-image: url(/wp-content/themes/aval/assets/img/lightning.svg);
}
.card-title {
    font-size: 14px;
    font-weight: 600;
}
.card-service {
    font-size: 14px;
    margin-top: 4px;
}
.card-title+.card-service {
    margin-top: 8px;
}
.hero-grid__item {
    display: grid;
    row-gap: 4px;    
}
.hero-grid__item b {
    font-weight: 600;   
    color: #4274d9;
}
.button {
    display: table;
    border-radius: 8px;
    font-weight: 500;
    transition: .2s linear;
}
.button--outline {
    background: white;
    color: #4274d9;
    padding: 0 32px;
    border: 2px solid #4274d9;
}
.card-item__title {
    font-weight: 600;
    margin-bottom: 8px;
}
.card-item {
    border-radius: 8px;
    color: #313132;
}
.technology-item {
    border-radius: 8px;
    background: #F6F6F6;
    position: relative;
}
.technology-item:before {
    content: "";
    position: absolute;
    width: 28px;
    height: 28px;   
}
.technology-item--db:before {
    background: url(/wp-content/themes/aval/assets/img/database.svg) no-repeat center / cover;
}
.technology-item--fr:before {
    background: url(/wp-content/themes/aval/assets/img/front.svg) no-repeat center / cover;
}
.technology-item--sec:before {
    width: 23px;    
    background: url(/wp-content/themes/aval/assets/img/security.svg) no-repeat center / cover;
}
.sertificates-list {
    display: grid;
    column-gap: 32px;
    row-gap: 24px;
}
.sertificates-list img {
    display: block;
    max-width: 100%;
    height: auto;
}
.privacy-content h2,
.privacy-content h3 {
    scroll-margin-top: 100px;
}
.privacy-content {
    counter-reset: privacy-section;
    margin-top: 40px;
}
.privacy-content h2 {
    counter-increment: privacy-section;
    counter-reset: privacy-item;
}
.privacy-content h2:before {
    content: counter(privacy-section) '. ';
}
.privacy-content .list-numbered {
    counter-reset: privacy-item;
    margin-bottom: 32px;
}
.privacy-content .list-numbered:last-child {
    margin-bottom: 0;
}
.privacy-content .list-numbered>li {
    counter-increment: privacy-item;
}
.privacy-content .list-numbered>li:before {
    content: counter(privacy-section) '.' counter(privacy-item) '. ';
}
.services-list,
.page-sidebar__widget {
    border-radius: 8px;
    background: #F6F6F6;
}
.page-toc-title {
    font-weight: 600;
    padding: 16px 24px;
    border-bottom: 2px solid #e6e6e6;
}
.news-list li,
.services-list li {
    padding: 8px 24px;
    font-size: 14px;
}
.services-list li:first-child,
.widget-title {
    font-size: 16px;
    font-weight: 600;
    padding: 16px 24px;
    margin-bottom: 12px;
    border-bottom: 2px solid #e6e6e6;
}
.news-list li a,
.services-list li a {
    display: block;
    color: #313132;
}
.news-list li a:hover,
.services-list li a:hover {
    color: #4274d9;
}
.services-list li.current-service {
    color: #b2b2b3;
}
.news-date {
    color: #b2b2b3;
    font-size: 12px;
    margin-bottom: 4px;
}
.news-list li:last-child,
.services-list li:last-child {
    padding-bottom: 24px;
}
.news-single+.news-single {
    margin-top: 32px;
}
.screen-reader-text {
    display: none;
}
.nav-links {
    display: flex;
    column-gap: 8px;
}
.page-numbers {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    font-weight: 600;
}
.page-numbers.current {
    background: #F6F6F6;
    border-radius: 8px;
}
.page-numbers.prev {
    background: url(/wp-content/themes/aval/assets/img/chevron-left-black.svg) no-repeat center/6px 10px;
}
.page-numbers.next {
    background: url(/wp-content/themes/aval/assets/img/chevron-right-black.svg) no-repeat center/6px 10px;
}
.more-link {
    display: inline-flex;
    align-items: center;
    column-gap: 6px;
    transition: .2s linear;
}
.more-link:hover {
    column-gap: 10px;
}
.more-link:after {
    content: "";
    display: block;
    width: 11px;
    height: 8px;
    background: url(/wp-content/themes/aval/assets/img/arrow-right-blue.svg) no-repeat center/cover;
}
.page-toc {
    display: grid;
    row-gap: 8px;
    counter-reset: item;
    padding: 16px 24px 20px;
}
.page-toc>li {
    counter-increment: item;
    position: relative;
    font-size: 14px;
    padding-left: 16px;
}
.page-toc>li:before {
    content: counter(item) ".";
    position: absolute;
    left: 0;
}
.page-toc__link {
    color: #313132;
}
.page-toc>li:has(.page-toc__link.is-active):before,
.page-toc__link.is-active {
    color: #4274D9;
}
.page-404 {
    text-align: center;
}
.title-404 {
    padding-top: 270px;
    position: relative;
}
.title-404:before {
    content: "";
    position: absolute;
    top: 0;
    width: 271px;
    height: 222px;
    left: 50%;
    transform: translateX(-50%);
    background: url(/wp-content/themes/aval/assets/img/404-error.svg) no-repeat center/cover;
}
.tab-map {
    height: 400px;
    width: 100%;
}
.tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}
.tabs-header .page-title {
    margin-bottom: 0;
}
.tabs-buttons {
    display: flex;
    column-gap: 24px;
}
.tab-btn {
    display: block;
    height: 42px;
    line-height: 38px;
    border-radius: 8px;
    font-weight: 500;
    padding: 0 32px;
    background: white;
    border: 2px solid #4274d9;
    color: #4274d9;
}
.tab-btn.active {
    background: #4274d9;
    color: white;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}
.tab-text h2 {
    font-size: 18px;
}
[aria-hidden="true"] {
    display: none;
}
.tab-phone {
    color: #4274d9;
    padding-left: 29px;
    background: url(/wp-content/themes/aval/assets/img/phone-blue.svg) no-repeat left center/16px 16px;
}
.tab-email {
    color: #4274d9;
    padding-left: 32px;
    background: url(/wp-content/themes/aval/assets/img/email-blue.svg) no-repeat left center/19px 16px;
}
.tab-column {
    display: grid;
    row-gap: 24px;
}
.form-grid {
    display: grid;
    column-gap: 24px;
    margin-bottom: 24px;
}
input, select, textarea, button {
    display: block;
    border-radius: 4px;
    font-size: 14px;
    border: 0;
    font-family: "Wix Madefor Display", sans-serif;
    outline: none;
}
button {
    cursor: pointer;
    user-select: none;
}
.form-input {
    display: block;
    width: 100%;
    font-size: 14px;
    color: #313132;
    padding: 22px 16px 8px;
    border-radius: 4px;
    background: #F6F6F6;
    transition: border-color .2s;
}
.form-input:focus {
    border-color: #4274d9;
}
.form-control {
    position: relative;
}
.form-label {
    position: absolute;
    left: 0;
    top: 17px;
    z-index: 0;
    font-size: 14px;
    line-height: 14px;
    cursor: text;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    padding: 0 16px;
    pointer-events: none;
    transition: all .18s ease;
}
.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label,
.form-textarea:focus+.form-label,
.form-textarea:not(:placeholder-shown)+.form-label {
    top: 8px;
    font-size: 11px;
    color: #4274d9;
}
.form-input:autofill+.form-label,
.form-input:-webkit-autofill+.form-label,
.form-textarea:autofill+.form-label,
.form-textarea:-webkit-autofill+.form-label {
    top: 8px;
    font-size: 11px;
    color: #4274d9;
}
.form-textarea {
    width: 100%;
    padding: 22px 16px 8px;
    resize: vertical;
    height: 84px;
    line-height: 20px;
    background: #F6F6F6;
    margin-bottom: 24px;
}
.form-button {
    display: flex;
    justify-content: flex-end;
}
.form-error {
    color: #D64445;
    font-size: 14px;
    margin: 4px 0 0 0;
}
.form-error--general {
    margin: 0 0 12px 0;
}
.page-content p+h2 {
    margin-top: 32px;
}
.wrapper .info,
.page-content ul+p,
.page-content ol+p {
    margin-top: 24px;
}
.wrapper .info:not(:last-child) {
    margin-bottom: 24px;
}
.product-gallery {
    width: 100%;
    overflow: hidden;
}
.product-gallery__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}
.product-gallery__header h2 {
    margin: 0;
}
.product-gallery__navigation {
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-gallery__button {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
}
.product-gallery__button--prev {
    background: #F6F6F6 url(/wp-content/themes/aval/assets/img/chevron-left-black.svg) no-repeat center/6px 10px;
}
.product-gallery__button--next {
    background: #F6F6F6 url(/wp-content/themes/aval/assets/img/chevron-right-black.svg) no-repeat center/6px 10px;
}
.product-gallery__button.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}
.product-gallery__slider {
    width: 100%;
    overflow: visible;
}
.product-gallery__slide.swiper-slide {
    width: auto;
    height: clamp(240px, 32vw, 420px);
    flex-shrink: 0;
}
.product-gallery__slide img {
    display: block;
    width: auto;
    height: 100%;
    max-width: none;
    object-fit: contain;
}