/* root */

:root {
    /*colors*/
    --clr_1: #a48c5a;
    --clr_2: #837149;
    --clr_3: #0d2339;
    --clr_4: #eef4f9;
    --clr_5: #4e3713;
    --transparent: #FFFFFF00;
    --transparent_2: #FFFFFFd1;
    /*sizes*/
    --w_container: 1200px;
    --p_container: clamp(16px, 32px, 3.2vw);
    /*box-shadow*/
    --bs_1: 0px 0px 20px 20px var(--transparent_2);
}
* {
    margin: 0;
    padding: 0;
    transition: 0.3s;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
*::before,
*::after {
    transition: 0.3s;
}
body {
    position: relative;
    font-size: clamp(18px, 20px, 2vw);
    font-weight: 400;
    line-height: 1.4;
    background-size: cover;
    color: var(--clr_3);
}
img {
    width: 100%;
    height: auto;
    display: block;
}
section {
    padding-block: 60px;
}
h2 {
    font-size: clamp(25px, 38px, 3.6vw);
    margin-bottom: clamp(32px, 60px, 4.5vw);
    text-align: center;
}
a:hover,
.link:hover {
    scale: 1.05;
    color: var(--clr_2);
}
input,
textarea {
    padding: 16px 0 8px;
    font-size: clamp(16px, 18px, 1.8vw);
    border: none;
    border-bottom: 1px solid var(--clr_3);
    width: 100%;
    background: none;
    color: var(--clr_3);
}
input:focus-visible,
textarea:focus-visible {
    outline: none;
}
.container {
    max-width: var(--w_container);
    padding-inline: var(--p_container);
    margin-inline: auto;
    position: relative;
}
.flex {
    display: flex;
}
.align-center {
    align-items: center;
}
.link {
    text-decoration: none;
    color: inherit;
    font-weight: 700;
    cursor: pointer;
}
.full-w {
    margin-inline: -120px;
}
.w-full {
    width: 100vw;
    transform: translateX(-50%);
    position: relative;
    left: 50%;
}
.btn {
    padding: 16px 24px;
    font-size: clamp(16px, 20px, 2vw);
    font-weight: 700;
    background-color: var(--clr_1);
    color: #FFF;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0px 0px 8px 8px #4e371327;
}
.btn:hover {
    background-color: var(--clr_2);
    scale: 0.97;
    box-shadow: 0px 0px 5px 5px #4e371327;
}
.display-none {
    display: none;
}
.overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}
body.hidden {
    overflow: hidden;
}

/* root - end */

/* Header */

header {
    position: absolute;
    background-color: var(--transparent_2);
    box-shadow: var(--bs_1);
    width: 100%;
    z-index: 999;
    /*animation*/
    opacity: 0;
    animation: slide-down 1s forwards;
}
.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 24px;
    max-height: 120px;
    gap: 20px;
}
.header__logo {
    display: flex;
    gap: 16px;
    align-items: center;
}
.header__logo-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
}
.header__title {
    font-weight: 700;
    font-size: clamp(18px, 20px, 2vw);
    line-height: 1.1;
    max-width: clamp(175px, 195px, 19vw);
}
.header__contacts {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    max-height: 80px;
    gap: 8px 16px;
}
.header__tel {
    position: relative;
}
.header__tel > span {
    display: none;
}
.with-ico {
    display: block;
    width: fit-content;
    position: relative;
    padding-left: 22px;
}
.with-ico::before {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    right: auto;
    margin: auto;
    width: 15px;
    height: 15px;
    mask: url(/wp-content/themes/pro/images/phone_ico.svg) center no-repeat;
    mask-size: contain;
    -webkit-mask: url(/wp-content/themes/pro/images/phone_ico.svg) center no-repeat;
    -webkit-mask-size: contain;
    background-color: var(--clr_1);
}
.email::before {
    mask-image: url(/wp-content/themes/pro/images/mail_ico.svg);
    -webkit-mask-image: url(/wp-content/themes/pro/images/mail_ico.svg);
}
.with-ico:hover::before {
    background-color: var(--clr_2);
}
.header__adress::before {
    mask-image: url(/wp-content/themes/pro/images/location_ico.svg);
    -webkit-mask-image: url(/wp-content/themes/pro/images/location_ico.svg);
}
.contacts-btn {
    display: none;
}
.header__adress {
    max-width: 200px;
}

/* --- */

/*Page*/

h1 {
    text-align: center;
    font-size: clamp(40px, 70px, 5.5vw);
    max-width: min(1200px, 80%);
    line-height: 1;
    padding: 24px;
    box-shadow: var(--bs_1);
    background-color: var(--transparent_2);
    position: absolute;
    inset: 0;
    top: 60px;
    height: fit-content;
    margin: auto;
    /*animation*/
    opacity: 0;
    animation: slide-up 1.5s forwards;
}
@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(200%);
    }
    to {
        opacity: 1;
        transform: translateY(0%);
    }
}
@keyframes slide-down {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.first-screen {
    position: relative;
    padding: 0;
}
.first-screen__text {
    background-color: var(--clr_3);
    padding-block: clamp(40px, 60px, 5.5vw);
    color: #FFF;
    font-size: clamp(18px, 24px, 2.4vw);
}
.first-screen__text > .container {
    display: flex;
    align-items: center;
    gap: clamp(24px, 32px, 3.2vw);
}
.info-ico {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 3px solid #FFF;
    border-radius: 50%;
    width: clamp(60px, 80px, 10vw);
    height: clamp(60px, 80px, 10vw);
    font-size: clamp(40px, 60px, 8vw);
    flex-shrink: 0;
}

.schedule {
    position: relative;
    z-index: 0;
    padding-block: 0;
    color: #FFF;
    background-color: var(--clr_5);
}
.schedule__block {
    position: relative;
    padding-block: 60px;
    width: 50%;
}
.schedule__block::after {
    content: '';
    position: absolute;
    display: block;
    height: 100%;
    width: 50%;
    right: -50%;
    top: 0;
    background: linear-gradient(90deg, var(--clr_5) 0%, var(--transparent) 100%);
}
.schedule__block h2 {
    text-align: left;
    margin-bottom: 32px;
}
.schedule__bg {
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    z-index: -2;
    object-fit: cover;
    height: 100%;
    width: 50%;
}
.schedule p {
    font-size: clamp(18px, 22px, 2vw);
    margin-bottom: 32px;
}
.schedule__table {
    font-size: 20px;
}
.schedule__table td {
    padding: 8px;
}
.schedule__table tr:first-child td {
    padding-top: 12px;
}
.schedule__table td:first-child {
    padding-left: 0;
}
.schedule__table td:last-child {
    padding-right: 0;
    text-align: right;
}
.schedule__table th {
    border-bottom: 1px solid #FFF;
    font-size: 22px;
    padding-bottom: 8px;
}

.adress__text {
    margin-bottom: 32px;
    font-size: 22px;
}

.adress {
    background-color: var(--clr_3);
    color: #FFF;
}
.adress__contacts,
.map {
    width: 50%;
}
.adress__container {
    display: flex;
    gap: 40px var(--p_container);
    margin-bottom: clamp(32px, 64px, 6.4vw);
}
.adress__contacts .title {
    margin-block: 24px 16px;
}
.adress__contacts .contact {
    margin-bottom: 8px;
}
.adress__contacts .contact:not(.email):hover::before {
    background-color: var(--clr_1);
}
.adress__contacts .email {
    margin-top: 8px;
}
@media (min-width: 1100px) {
    .adress__contacts .with-ico.tel {
        font-size: clamp(17px, 19px, 1.55vw);
        margin-bottom: 4px;
    }
}

.donate-h2 {
    margin-bottom: 32px;
    text-align: left;
}
.donate__requisites > p {
    margin-bottom: 8px;
}

.field-wrapper {
    margin-bottom: 8px;
}
.privacy-policy {
    display: none;
}
.checkbox-label {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 24px;
    gap: 12px;
    cursor: pointer;
}
.checkbox-label::before {
    content: '';
    display: block;
    width: 17px;
    height: 17px;
    background-color: var(--clr_4);
    border: 1px solid var(--clr_3);
    border-radius: 4px;
    flex-shrink: 0;
}
.privacy-policy:checked + .checkbox-label::after {
    content: '';
    display: block;
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 3px;
    background-color: var(--clr_3);
    left: 4px;
}
.gallery {
    overflow: hidden;
    text-align: center;
    padding-bottom: clamp(60px, 120px, 12vw);
}
.siemaCalc {
    max-width: min(88vw, 1000px);
    overflow: visible !important;
}
.slider-image {
    width: min(88vw, 1000px);
}
.slider-image img {
    width: 90%;
    margin: auto;
}
.siema-calculator-container {
    display: flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}
.siema__prev,
.siema__next {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid var(--clr_3);
    position: absolute;
    z-index: 10;
    cursor: pointer;
    left: 0;
    display: none;
}
.siema__next {
    left: auto;
    right: 0;
}
.siema__prev:hover,
.siema__next:hover {
    scale: 1.2;
}
.siema__prev .change-slide-icon::after {
    transform: rotate(180deg);
    left: -3px;
    right: 0;
}
.change-slide-icon::after {
    content: '';
    display: block;
    position: absolute;
    inset: 0;
    right: -3px;
    margin: auto;
    width: 20px;
    height: 20px;
    mask: url(/wp-content/themes/pro/images/arrow.svg) center no-repeat;
    mask-size: contain;
    -webkit-mask: url(/wp-content/themes/pro/images/arrow.svg) center no-repeat;
    -webkit-mask-size: contain;
    background-color: var(--clr_3);
}

.contact-form-section {
    position: relative;
    padding-block: clamp(60px, 120px, 12vw);
}
.contact-form__bg {
    position: absolute;
    inset: 0;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: blur(5px);
}
.contact-form__container {
    display: flex;
    gap: clamp(40px, 64px, 6.4vw);
    background-color: var(--transparent_2);
    padding: 32px;
    box-shadow: var(--bs_1);
}
.contact-form__container > * {
    max-width: 50%;
}
.contact-form-section h2 {
    text-align: left;
    margin-bottom: 24px;
}
.contact-form-text {
    font-size: clamp(20px, 24px, 2.4vw);
}
.submit-form {
    margin-top: 24px;
}
.msgBox.error {
    color: red;
    font-size: 14px;
    line-height: 1.2;
    margin-top: 4px;
}

div.general-message-box {
    position: fixed;
    z-index: 1001;
    inset: 0;
    margin: auto;
    max-width: 90vw;
    max-height: 90vh;
    background-color: #FFF;
    border-radius: 10px;
    padding: clamp(32px, 40px, 8vw) clamp(16px, 32px, 6.4vw);
    text-align: center;
    width: fit-content;
    height: fit-content;
}

/* --- */

/* Adaptive */

@media (max-width: 1100px) {
    .header__container {
        max-height: none;
    }
    .header__contacts-wrapper {
        position: relative;
    }
    .contacts-btn {
        display: block;
        width: 100%;
    }
    .header__contacts {
        max-height: 0;
        overflow: hidden;
        flex-wrap: nowrap;
        gap: 6px;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #FFF;
        box-shadow: 0px 0px 20px 0 var(--transparent_2);
        padding-left: 16px;
        width: min(650px, 92vw);
    }
    .header__tel > span {
        display: inline;
    }
    .header__contacts.open {
        max-height: 400px;
        box-shadow: 0px 0px 20px 20px #FFF;
        z-index: 99;
    }
    .header__adress {
        max-width: none;
    }

    .adress__contacts .tel a {
        display: block;
        margin-bottom: 8px;
    }
}
@media (max-width: 800px) {
    .adress__container {
        flex-wrap: wrap;
    }
    .adress__contacts,
    .map {
        width: 100%;
    }
    .adress__contacts .tel a {
        display: inline-block;
        margin-bottom: 0;
    }
    .adress__contacts > p {
        margin-bottom: 8px;
    }

    .header__adress {
        max-width: 180px;
    }
    .header__adress::before {
        top: 6px;
        bottom: auto;
    }
    h1 {
        font-size: clamp(28px, 40px, 5vw);
    }
    .schedule {
        padding: clamp(40px, 60px, 10vw) 0;
    }
    .schedule__block {
        width: 100%;
        max-width: 500px;
        margin-inline: auto;
        background-color: #4e3713cf;
        box-shadow: 0 0 16px 16px #4e3713cf;
        padding: 16px;
    }
    .schedule__bg {
        width: 100%;
    }
    .schedule__block::after {
        display: none;
    }
    .siema__prev {
        left: -18px;
    }
    .siema__next {
        right: -18px;
    }
}
@media (max-width: 650px) {
    .schedule__block h2 {
        margin-bottom: 24px;
    }
    .header__title {
        max-width: 270px;
    }
    .header__adress {
        display: none;
    }
    .header__container {
        padding-block: 16px;
    }
    h1 {
        padding: 8px 16px;
    }
    .contact-form__container {
        flex-wrap: wrap;
        width: fit-content;
        margin: auto;
    }
    .contact-form__container > * {
        max-width: 100%;
    }
    .header__tel {
        margin-bottom: 4px;
        line-height: 1.2;
    }
    .header__tel > span {
        display: block;
    }
}
@media (max-width: 575px) {
    .first-screen .main-img {
        min-height: 320px;
        object-fit: cover;
    }
}
@media (max-width: 450px) {
    .contacts-btn {
        height: 40px;
        width: 40px;
        position: relative;
        visibility: hidden;
        padding: 0;
        overflow: hidden;
    }
    .contacts-btn::after {
        content: '';
        display: block;
        position: absolute;
        inset: 0;
        visibility: visible;
        margin: auto;
        width: 25px;
        height: 25px;
        mask: url(/wp-content/themes/pro/images/phone_ico.svg) center no-repeat;
        mask-size: contain;
        -webkit-mask: url(/wp-content/themes/pro/images/phone_ico.svg) center no-repeat;
        -webkit-mask-size: contain;
        background-color: var(--clr_1);
    }
}
@media (max-width: 379px) {
    h1 {
        top: 100px;
        width: 285px;
    }
}

/* --- */