/*---RESET---*/
/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
.post,
.page,
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul,
ol {
    margin: 0;
    list-style: none;
}

/* Set core root defaults */
html:focus-within {
    scroll-behavior: smooth;
}

/* Set core body defaults */
body {
    min-height: 100vh;
    text-rendering: optimizeSpeed;
    line-height: 1.5;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
    max-width: 100%;
    display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
    font: inherit;
}

a:visited {
    color: inherit;
}

/* Remove all animations and transitions for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/*---RESET---*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Chillax';
    color: #262525;
    font-style: normal;
    text-decoration: none;
    outline: none;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 400;
}

/**:lang(ru) {*/
/*    font-family: 'MontserratAlternates';*/
/*}*/

html,
body {
    /*overflow-x: hidden;*/
}

body {
    background-color: #ffffff;
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

footer {
    flex: 0 0 auto;
}

.container {
    max-width: 1368px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px;
}

.main-btn {
    font-weight: 500;
    text-transform: uppercase;
    color: #262525;
    padding: 16px;
    background-color: transparent;
    border: 1px solid #262525;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    transition: .3s;
    width: fit-content;
}

.main-btn svg path {
    fill: #262525;
    transition: .3s;
}

.main-btn:hover {
    background-color: #262525;
    color: #fff;
    transition: .3s;
}

.main-btn:hover svg path {
    fill: #fff;
    transition: .3s;
}

.main-btn:focus {
    color: #B8B8B8;
    transition: .3s;
}

.main-btn:focus svg path {
    fill: #B8B8B8;
    transition: .3s;
}

.main-btn.white {
    border-color: #fff;
    color: #fff;
    transition: .3s;
    background-color: transparent;
}

.main-btn.white svg path {
    fill: #fff;
}

.main-btn.white:hover {
    background-color: #fff;
    color: #262525;
    transition: .3s;
}

.main-btn.white:hover svg path {
    fill: #262525;
    transition: .3s;
}

.main-btn.white:focus {
    background-color: #F6F6F6;
    color: #606060;
    transition: .3s;
}

.main-btn.white:focus svg path {
    fill: #606060;
    transition: .3s;
}

.main-title {
    font-weight: 500;
    font-size: 64px;
    text-transform: uppercase;
    color: #5a6e3e;
}

.section-padding {
    padding: 80px 0;
}

.section-padding-fsec {
    padding: 114px 0 0;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    padding: 41px 0 16px;
    width: 100%;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity .8s ease, transform .8s ease;
}

header.header-show {
    opacity: 1;
    transform: translateY(0);
}

header.is-sticky {
    top: 0;
    background-color: #48788c;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(0);
    transition: all 0.3s ease;
}

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

header .header-content .site-logo {
    width: 164px;
}

header .header-content .site-menu,
header .header-content .site-menu .menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

header .header-content .site-menu .menu a {
    color: #fff;
    transition: .3s;
    text-transform: uppercase;
}

header .header-content .site-menu .menu a:hover {
    color: #606060;
    transition: .3s;
}

header .header-content .site-menu .popup-btn {
    color: #fff;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    background-color: transparent;
    border: none;
    transition: .3s;
}

header .header-content .site-menu .popup-btn:hover {
    color: #606060;
    transition: .3s;
}

header .header-content .site-menu .popup-btn svg path {
    transition: .3s;
}

header .header-content .site-menu .popup-btn:hover svg path {
    fill: #606060;
    transition: .3s;
}

header .header-content .site-mobile-menu {
    display: none;
}

header.secondary-header {
    background-color: #48788c;
    border-radius: 0 0 40px 40px;
    opacity: 1;
    position: fixed;
    transform: translateY(0);
    padding: 16px;
}

header.secondary-header.is-sticky {
    /*position: fixed;*/
}

.site-mobile-menu {
    position: relative;
    z-index: 2000;
}

.site-mobile-menu .mobile-menu-logo {
    width: 64px;
}

/* Кнопка открытия */
.mobile-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 0;
}

/* Меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #48788c;
    box-shadow: 0 8px 16px 0 #26252529;
    transition: transform 0.5s ease;
    z-index: 2000;
    padding: 22px 24px 12px;
    border-radius: 0 0 24px 24px;

    /* высота по контенту */
    max-height: 90vh;
    overflow-y: auto;

    /* скрыто по умолчанию */
    transform: translateY(-120%);
}

/* открытое меню */
.mobile-menu.open {
    transform: translateY(0);
}

/* блокировка скролла сайта */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}

/* Кнопка закрытия */
.mobile-menu-close {
    position: absolute;
    top: 13px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2200;
}

/* Список */
.mobile-menu ul {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
}

.mobile-menu li {
    margin-bottom: 24px;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    transition: .3s;
    text-align: center;
    font-size: 12px;
    text-transform: uppercase;
}

.mobile-menu a:hover {
    color: #606060;
}


/*---DROPDOWN---*/
.dropdown-container {
    position: relative;
    display: inline-block;
    text-align: left;
    margin-right: auto;
}

.dropdown-label {
    display: block;
}

.select-dropdown-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: fit-content;
    padding: 8px 0;
    border-radius: 0;
    cursor: pointer;
    outline: none;
    background: transparent;
    border: none;
    transition: .3s;
}

.select-dropdown-button:hover,
.select-dropdown-button:focus {
    border-color: #B8B8B8;
    transition: .3s;
}

.select-dropdown-button:hover .selected-value,
.select-dropdown-button:focus .selected-value {
    color: #606060;
}

.select-dropdown-button:hover svg,
.select-dropdown-button:focus svg {
    transform: rotate(-90deg);
    transition: .3s;
}

.select-dropdown-button svg path {
    transition: .3s;
}

.select-dropdown-button:hover svg path,
.select-dropdown-button:focus svg path {
    fill: #606060;
    transition: .3s;
}

.select-dropdown-button .selected-value {
    flex-grow: 1;
    text-align: left;
    text-transform: uppercase;
    color: #fff;
    transition: .3s;
}

.select-dropdown-button svg {
    margin-left: 0.5rem;
    height: 16px;
    width: 16px;
    transition: .3s;
}

.select-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.5rem;
    width: 100%;
    border-radius: 8px;
    background-color: #F6F6F6;
    outline: none;
    z-index: 10;
    opacity: 0;
    transform: scale(0.9);
    transform-origin: top left;
    visibility: hidden;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0s linear 0.2s;
}

.select-dropdown-content.show {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0s linear;
}

.select-dropdown-content ul {
    list-style: none;
}

.select-dropdown-content a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    color: #262525;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.select-dropdown-content .current-lang a,
.select-dropdown-content .select-option:hover,
.select-dropdown-content .lang-item:hover a {
    color: #B8B8B8;
}

.mobile-menu .dropdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.mobile-menu .dropdown-container .select-dropdown-button {
    padding: 0;
}

.mobile-menu .dropdown-container .select-dropdown-button .selected-value {
    font-size: 12px;
}

.mobile-menu .dropdown-container .select-dropdown-button svg {
    width: 13px;
    height: 13px;
}

.mobile-menu .dropdown-container .select-dropdown-content {
    position: unset;
    width: fit-content;
}

.mobile-menu .dropdown-container .select-dropdown-content ul {
    display: flex;
    margin: 0;
}

.mobile-menu .dropdown-container .select-dropdown-content ul li {
    margin: 0;
}

/*---DROPDOWN---*/

.pagination {
    margin: 60px auto 0;
    width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.pagination a,
.pagination a:focus {
    color: #262626;
    transition: .3s;
}

.pagination a:hover,
.page-numbers.current {
    color: #48788c;
    transition: .3s;
}

.page-numbers.prev,
.page-numbers.next {
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 16px;
}

.page-numbers.prev span,
.page-numbers.next span {
    font-weight: 500;
    transition: .3s;
}

.page-numbers.prev:hover span,
.page-numbers.next:hover span {
    color: #B8B8B8;
    transition: .3s;
}

.page-numbers.prev svg path,
.page-numbers.next svg path {
    transition: .3s;
}

.page-numbers.prev:hover svg path,
.page-numbers.next:hover svg path {
    fill: #B8B8B8;
    transition: .3s;
}

footer {
    background-color: rgba(157, 181, 162, .4);
    border-radius: 40px 40px 0 0;
}

footer .footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 40px;
}

footer .footer-logo img {
    max-height: 92px;
}

footer .footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 24px;
    padding: 40px 0;
}

footer .footer-content .footer-content-col h4 {
    font-size: 24px;
    margin-bottom: 16px;
}

footer .footer-content .footer-content-col .footer-content-form form br {
    display: none;
}

footer .footer-content .footer-content-col .footer-content-form form label {
    position: relative;
}

footer .footer-content .footer-content-col .footer-content-form form input {
    width: 100%;
    border: none;
    border-bottom: 1px solid #B8B8B8;
    padding: 4px 0;
    border-radius: 0;
    font-weight: 500;
    background: transparent;
    color: #262525;
}

footer .footer-content .footer-content-col .footer-content-form form input::placeholder {
    color: #262525;
    font-weight: 400 !important;
}

footer .footer-content .footer-content-col .footer-content-form form input:focus {
    border-bottom: 1px solid #48788c;
}

footer .footer-content .footer-content-col .footer-content-form form input.wpcf7-not-valid {
    border-bottom: 1px solid #D67676;
}

footer .footer-content .footer-content-col .footer-content-form form .wpcf7-not-valid-tip {
    color: #D67676;
}

footer .footer-content .footer-content-col .footer-content-form form .main-btn {
    background-color: transparent;
    padding: 3px;
    border: 0;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

footer .footer-content .footer-content-col .footer-content-form form .main-btn svg {
    width: 10px;
    height: 10px;
}

footer .footer-content .footer-content-col .footer-content-form form .main-btn:hover svg path {
    fill: #606060;
}

footer .footer-content .footer-content-col .footer-content-title {
    margin-bottom: 16px;
    color: #48788c;
    text-transform: uppercase;
}

footer .footer-content .footer-content-col .footer-content-menu {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

footer .footer-content .footer-content-col .footer-content-menu li a {
    color: #262525;
    transition: .3s;
}

footer .footer-content .footer-content-col .footer-content-menu li a:hover {
    color: #606060;
}

footer .footer-content .footer-content-col .footer-content-contacts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

footer .footer-content .footer-content-col .footer-content-contacts .item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

footer .footer-content .footer-content-col .footer-content-contacts .item h5 {
    color: #B8B8B8;
}

footer .footer-content .footer-content-col .footer-content-contacts .item a {
    font-size: 24px;
    color: #262525;
    transition: .3s;
}

footer .footer-content .footer-content-col .footer-content-contacts .item a:hover {
    color: #606060;
}

footer .footer-content .footer-content-col .footer-content-contacts .item ul {
    display: flex;
    gap: 8px;
}

footer .footer-content .footer-content-col .footer-content-contacts .item ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #262525;
    padding: 12px;
    transition: .3s;
}

footer .footer-content .footer-content-col .footer-content-contacts .item ul li a:hover {
    border-color: #5a6e3e;
}

footer .footer-content .footer-content-col .footer-content-contacts .item ul li a svg path {
    transition: .3s;
}

footer .footer-content .footer-content-col .footer-content-contacts .item ul li a:hover svg path {
    fill: #5a6e3e;
}

.footer-copyright {
    padding: 40px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px 8px;
}

.footer-copyright h5 {
    color: #B8B8B8;
}

.footer-copyright .development {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Базовый стиль для анимации */
.animate-on-scroll {
    opacity: 0;
    transform: translateX(0);
    transition: all 1s ease-out;
}

/* Направления вылета */
.animate-on-scroll.fade-left {
    transform: translateX(-50px);
}

.animate-on-scroll.fade-right {
    transform: translateX(50px);
}

/* Fade без смещения */
.animate-on-scroll.fade {
    transform: translateX(0);
}

/* Когда элемент появляется */
.animate-on-scroll.active {
    opacity: 1;
    transform: translateX(0);
}

@media screen and (max-width: 992px) {
    .section-padding-fsec {
        padding: 76px 0 0s;
    }

    .main-title {
        font-size: 32px;
    }

    header .header-content .site-logo {
        width: 64px;
    }

    header .header-content .site-menu {
        display: none;
    }

    header .header-content .site-mobile-menu {
        display: block;
    }

    footer .footer-content .footer-content-col h4,
    footer .footer-content .footer-content-col .footer-content-contacts .item a {
        font-size: 16px;
    }
}

@media screen and (max-width: 767px) {
    * {
        font-size: 12px;
    }

    .main-btn {
        font-size: 12px;
        padding: 12px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .pagination {
        margin: 40px auto 0;
    }

    footer .footer-logo {
        padding: 40px 0 24px;
    }

    footer .footer-content {
        padding: 24px 0;
        grid-template-columns: repeat(1, 1fr);
    }

    footer .footer-content .footer-content-col .footer-content-contacts .item h5,
    footer .footer-content .footer-content-col .footer-content-title,
    footer .footer-content .footer-content-col .footer-content-menu li a,
    footer .footer-content .footer-content-col .footer-content-form form input,
    .footer-copyright h5 {
        font-size: 12px;
    }

    footer .footer-content .footer-content-col .footer-content-title {
        margin-bottom: 8px;
    }

    footer .footer-content .footer-content-col .footer-content-menu {
        gap: 8px;
    }

    footer .footer-content .footer-content-col .footer-content-contacts .item ul li a {
        width: 32px;
        height: 32px;
        padding: 9px;
    }

    .footer-copyright {
        padding: 24px 0;
        flex-direction: column;
    }

    .footer-copyright .development svg {
        width: 40px;
        height: 30px;
    }
}

@media screen and (max-width: 478px) {
    .main-title {
        font-size: 24px;
    }
}