:root {
    --ff-gilroy: "Gilroy", "Arial", sans-serif;
    --color-accent: #348F50;
    --color-black: #141821;
}

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

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

html {
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    font-family: var(--ff-gilroy);
    color: var(--color-black);
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

body {
    width: 100%;
    height: 100%;

    background-color: #fff;

}

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: calc(100 * var(--vh, 1vh));
}

.wrapper .header,
.wrapper .footer {
    flex-shrink: 0;
}

.wrapper main {
    flex-grow: 1;
}

a {
    color: var(--color-black);
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

textarea {
    resize: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    margin: 0;

    appearance: none;
}

input[type="number"] {
    appearance: textfield;
}

select,
textarea,
input:matches([type="email"],
    [type="number"],
    [type="password"],
    [type="search"],
    [type="tel"],
    [type="text"],
    [type="url"]) {
    appearance: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    appearance: none;
}

@font-face {
    font-style: normal;
    font-weight: 400;
    font-family: "Gilroy";

    font-display: swap;
    src:
        url("../fonts/Gilroy-Regular.woff2") format("woff2");
}

@font-face {
    font-style: normal;
    font-weight: 500;
    font-family: "Gilroy";

    font-display: swap;
    src:
        url("../fonts/Gilroy-Medium.woff2") format("woff2");
}

@font-face {
    font-style: normal;
    font-weight: 600;
    font-family: "Gilroy";

    font-display: swap;
    src:
        url("../fonts/Gilroy-SemiBold.woff2") format("woff2");
}

@font-face {
    font-style: normal;
    font-weight: 700;
    font-family: "Gilroy";

    font-display: swap;
    src:
        url("../fonts/Gilroy-Bold.woff2") format("woff2");
}

.container {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 15px;
}

.image-mask {
    clip-path: url(#blobClip);
}

.button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    outline: none;
    border: 2px solid var(--color-accent);
    border-radius: 30px;
    font-family: 'Gilroy';
    font-style: normal;
    font-weight: 600;
    font-size: 15px;
    line-height: 17px;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    min-height: 60px;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    min-width: 270px;
    background-color: var(--color-accent);
    color: #fff;

    padding: 20px 33px;
}

.button:hover,
.button:focus {
    background-color: #fff;
    color: var(--color-accent);
}

.button--border {
    background-color: #fff;
    color: var(--color-accent);
}

.button--border:hover,
.button--border:focus {
    background-color: var(--color-accent);
    color: #fff;
}

.divider {
    display: grid;
    grid-template-columns: 1fr 40px 1fr;
    align-items: center;
    gap: 5px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.divider__line {
    height: 1px;
    background-color: var(--color-accent);
}

.divider__icon {
    width: 40px;
    height: 40px;
}

.divider__icon img {
    width: 100%;
    height: 100%;
}

.logo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo a {
    display: block;
    width: 80px;
    height: 80px;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo svg,
.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo a:hover,
.logo a:focus {
    opacity: 0.8;
}

@media(max-width : 767px) {

}

.custom-input,
.custom-textarea {
    position: relative;
    flex: 1;

    display: flex;
    width: 100%;

    font-size: 17px;
    letter-spacing: 0.42px;
    color: var(--color-black);
}

.custom-input label,
.custom-textarea label {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.custom-input input,
.custom-textarea textarea {
    width: 100%;
    min-height: 60px;
    padding: 20px 30px;
    font: inherit;
    color: inherit;
    outline: none;
    background-color: transparent;
    transition: border 0.3s ease;
    border: 2px solid var(--color-accent);
    border-radius: 30px;
}

.custom-textarea textarea {
    height: 203px;
}

.custom-toggle {
    position: relative;
    display: flex;
    width: 100%;
}

.custom-toggle input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    clip: rect(0 0 0 0);
 }

 .custom-toggle label {
     display: flex;
    position: relative;
    cursor: pointer;
 }

.custom-toggle__label {
    font-size: 12px;
    line-height: 130%;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.custom-toggle a {
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.custom-toggle a:hover {
    opacity: 0.6;
}

.custom-toggle__icon {
    margin-right: 8px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 1px solid var(--color-green);
    border-radius: 8px;
    color: #fff;
    flex-shrink: 0;
}

.custom-toggle__icon svg {
    width: 10px;
    height: 10px;
}

.custom-toggle label:hover .custom-toggle__label,
.custom-toggle label:focus .custom-toggle__label {
   opacity: 1;
}

.custom-toggle input:checked + .custom-toggle__icon {
    background-color: var(--color-green);
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 20;
    background: rgba(0,0,0,0.1);
    color: #fff;
    transition: background 0.3 ease, color 0.3s ease;
    min-height: 115px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.header.sticky {
    position: fixed;
    background: #fff;
    color: var(--color-black);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.header__wrap {
    position: relative;
    top: 0;
    padding: 20px 0 40px;
    display: grid;
    grid-template-columns: 1fr 270px 1fr;
    gap: 30px;
    align-items: center;
}

.header__btns {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header__btn {
    min-height: 42px;
}

.header__burger {
    display: none;
    border: none;
    outline: none;
    padding: 0;
    z-index: 50;
    cursor: pointer;

    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: #fff;
}

.header__burger svg {
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    transition: opacity 0.3s ease;
}

.header .divider {
    position: absolute;
    bottom: 10px;
    left: 0;
}

.header .logo {
    color: inherit;
    transition: color 0.3s ease;
    filter: brightness(0) invert(1);
}

.header.sticky .logo {
    filter: none;
}

.header__mobile-burger {
    position: absolute;
    top: 25px;
    left: 0;
    display: none;
    width: 30px;
    height: 30px;
    padding: 0;
    background-color: transparent;
    border: none;
    color: inherit;
    z-index: 10;
}

.header__mobile-burger img {
    width: 30px;
    height: 30px;
}

.header__mobile-block {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid var(--color-accent);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--color-accent);
    letter-spacing: 0.85px;
}

.header__mobile-call {
    display: none;
    position: absolute;
    right: 0;
    top: 30px;
    z-index: 10;
    border: none;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.header__mobile-block_social {
    display: none;
    gap: 20px;
}

@media (max-width : 1399px) {
    .header:has(.header__wrap.active) {
        background-color: #fff;
    }
    .header__wrap.active {
        justify-content: start;
        align-items: start;
        grid-template-columns: 1fr;
        background-color: #fff;
        color: var(--color-black);
        min-height: 100vh;
        padding-top: 160px;
        gap: 0;
    }

    .header .logo {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        filter: none;
    }

    .header .divider {
        bottom: auto;
        top: 80px;
    }

    .header__wrap.active .header__mobile-block{
        display: flex;
    }

    .header__mobile-burger,
    .header__mobile-call {
        display: block;
    }
}


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

.contact-us__phones {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-us .phone,
.contact-us .phone a {
    color: inherit;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.96px;
    transition: color 0.3s ease;
    text-align: left;
}

.contact-us__order-call {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--color-accent);
    letter-spacing: 0.85px;
    position: relative;
    cursor: pointer;
    border: none;
    background-color: transparent;
    padding: 0;
    font-family: var(--ff-gilroy);
}
.contact-us__order-call::before {
    content: ' ';
    background-image: url(/img/call.svg);
    width: 18px;
    height: 18px;
    left: -27px;
    position: absolute;
}

@media (max-width : 1399px) {
    .contact-us{
        display: none;
    }
}

.nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 22px;
}

.nav__item {
    position: relative;
}

.nav__item:hover > .nav__sublist,
.nav__item:focus > .nav__sublist,
.nav__item:focus-within > .nav__sublist {
    opacity: 1;
    visibility: visible;
    transform: translate(0, 100%) scaleY(1);
}

.nav__item a {
    color: inherit;
    transition: opacity 0.3s ease;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.96px;
}

.nav__list > li > .a {
    padding: 10px 0;
}

.nav__item a:hover,
.nav__item a:focus {
    text-decoration: underline;
}

.nav__sublist {
    position: absolute;
    bottom: 0;
    left: 0;
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 10px;
    z-index: 10;
    width: max-content;
    width: 250px;
    opacity: 0;
    visibility: hidden;

    padding: 10px;
    transform: translate(0, 100%) scaleY(0);
    transform-origin: 0 0;
    transition: .5s ease-in-out;
}

.nav__sublist .nav__item a {
    color: var(--color-black);
    font-weight: 500;
    padding: 12px 15px;
    font-size: 17px;
    display: block;
    text-transform: none;
    border-bottom: 1px solid #333;
}

.nav__sublist .nav__item:last-child a {
    border-bottom: none;
}

@media (max-width : 1399px) {
    .nav {
        display: none;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .header__wrap.active .nav {
        display: flex;
    }

    .nav__sublist {
        position: static;
        margin: 0;
        padding: 0;
        z-index: 10;
        width: 100%;
        max-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav__sublist .nav__item a {
        border: none;
        padding: 3px 0;
    }

    .nav > .nav__item  {
        margin-bottom: 10px;
    }

    .nav__item:hover > .nav__sublist,
    .nav__item:focus > .nav__sublist,
    .nav__item:focus-within > .nav__sublist {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav__sublist .nav__item a {
        padding: 5px 0px;
        font-size: 14px;
    }
}

.title {
    font-size: 50px;
    line-height: 120%;
    font-weight: 400;
    text-align: center;
    margin: 0 0 55px;
}

@media(max-width: 539px) {
    .title {
        font-size: 36px;
        margin-bottom: 25px;
    }
}

.promo {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.promo__wrap {
    position: relative;
    min-height: 100vh;
    min-height: calc(100 * var(--vh, 1vh));

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 150px 0;
    color: #fff;
    z-index: 5;
}

.promo__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.promo__slider .swiper {
    height: 100%;
}

.promo__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo__img::after {
    content: '';
    position: absolute;
    top: 0;
    height: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(0, 0, 0, 0.2);
}
.promo__title {
    font-weight: 600;
    font-size: 100px;
    line-height: 110%;
    letter-spacing: 1.7px;
    text-align: center;
    margin: 0 0 55px;
}

.promo__text {
    font-weight: 600;
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 85px;
    text-align: center;
}

@media (max-width: 767px) {
    .promo__title {
        font-size: 57px;
        margin: 0 0 40px;
    }

    .promo__text{
        font-size: 18px;
        margin: 0 0 40px;
    }
}

.gallery {
    position: relative;
    margin-bottom: 50px;
}

.gallery__img {
    height: 100%;
    min-height: 500px;
    max-height: 85vh;
}

.gallery__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper {
    height: 100%;
}

.swiper-btn-next,
.swiper-btn-prev {
    width: 120px;
    height: 60px;
    min-width: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}
.swiper-btn-next{
    right: 10px;
}
.swiper-btn-prev {
    left: 10px;
}

@media(max-width: 767px) {
    .gallery .swiper-btn-next,
    .gallery .swiper-btn-prev {
        display: none;
    }
}

.about {
    margin-bottom: 20px;
}

.about__wrap {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 30px;
    padding-top: 50px;  
}

.about__img {
    width: 100%;
}

.about__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about__info {
    padding-top: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about__text {
    font-size: 17px;
    letter-spacing: 0.42px;
    line-height: 31px;
    text-align: center;
    margin: 0 0 96px;
}

.about__btn {
    width: 270px;
}

@media(max-width : 767px) {
    .about__wrap {
        grid-template-columns: 1fr;
    }
    .about__info {
        padding-top: 0;
    }
    .about__text {
        font-size: 17px;
        margin: 0 0 36px;
    }
}

@media(max-width : 539px) {
    .about__text {
        font-size: 14px;
    }
}

.features__list {
    padding: 70px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.features__item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.features__icon {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.features__icon ing {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.features__text {
    font-size: 16px;
    line-height: 23px;
    color: #000;
    font-weight: 500;
    text-align: center;
}

@media(max-width: 1040px) {
    .features__list {
        grid-template-columns: repeat(2, 1fr);
    }  
}

@media(max-width: 767px) {
    .features__list {
        grid-template-columns: 1fr;
    }  
    .features__item {
        flex-direction: column;
    }
}

.special__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 50px 0;
}

.special__list a {
    display: block;
    width: calc((100% - 60px) / 3);
}

@media(max-width: 1023px) {
    .special__list a {
        width: calc((100% - 30px) / 2);
    }
}

@media(max-width: 767px) {
    .special__list a {
        width: 100%;
    }
    .special__list img {
        width: 100%;
        aspect-ratio: 449 / 382;
        object-fit: cover;
    }
}

.advantages__list {
   display: grid;
   gap: 20px;
}

.advantages__item {
    display: flex;
    align-items: center;
    gap: 30px;
}

.advantages__img {
    width: 40%;
    aspect-ratio: 4 / 3;
    flex-shrink: 0;
}

.advantages__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.advantages__info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantages__name {
    font-weight: 600;
    font-size: 70px;
    line-height: 1.28;
    letter-spacing: 1.27px;
    margin: 0 0 40px;
}

.advantages__description {
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: 0.42px;
    margin: 0;
}

.advantages__item:nth-child(even) {
    flex-direction: row-reverse;
}

@media(max-width: 1023px) {
    .advantages {
        margin-bottom: 50px;
    }
    .advantages__item,
    .advantages__item:nth-child(even) {
        flex-direction: column;
    }

    .advantages__img {
        width: 100%;
        max-width: 662px;
    }
}

@media(max-width: 850px) {
    .advantages__name {
        font-size: 50px;
    }
}

@media(max-width: 539px) {
    .advantages__name {
        font-size: 36px;
        text-align: center;
        margin-bottom: 20px;
    }
    .advantages__description {
        font-size: 14px;
    }
}

.booking__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px 30px;
    margin: 50px auto;
    max-width: 800px;
}

.booking__text {
    font-size: 17px;
    letter-spacing: 0.42px;
    line-height: 31px;
    text-align: center;
    margin-bottom: 30px;
}

.booking__phones {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 30px;
}

.phone {
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    text-align: center;
    margin: 0;
}

.phone a {
    color: inherit;
    font-weight: 600;
    font-size: 40px;
    text-align: center;
}

.book-form {
    margin-bottom: 77px;
}

.book-form__text {
    font-size: 17px;
    letter-spacing: 0.42px;
    line-height: 31px;
    text-align: center;
    margin-bottom: 30px;
}

.book-form form {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 30px;
}

.book-form .form__text {
    grid-column: 1 / -1;
    max-width: none;
}


@media(max-width: 1023px) {
    .book-form form {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media(max-width: 767px) {
    .book-form form {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


.footer {
    position: relative;
    padding: 40px;
}

.footer__wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.footer .logo {
    justify-content: start;
}

.footer__text {
    font-size: 15px;
    letter-spacing: 0.42px;
    line-height: 18px;
    font-weight: 500;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__col:last-child {
    align-items: flex-end;
    justify-content: flex-end;
    text-align: right;
}

@media(max-width : 1023px) {
    .footer__wrap {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer__col {
        align-items: center;
        text-align: center;
    }
    
    .footer__col:last-child {
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}

.accept {
    position: fixed;
    bottom: 30px;
    left: 40px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    background-color: #fff;
    padding: 30px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 120;
}

.accept.active {
    opacity: 1;
    visibility: visible;
}

.accept a {
    text-decoration: underline;
    transition: color 0.3s ease;
}

.accept a:hover {
    color: var(--color-green);
}

.accept__btn {
    margin-left: auto;
    width: 80px;
}

@media(max-width : 767px) {
    .accept {
        bottom: 15px;
        left: 15px;
        width: calc(100% - 30px);
        padding: 20px;
    }
}

.custom-select {
  position: relative;
  width: 100%;
  margin: 0;
}

.custom-select__label {
  display: block;
  max-width: 100%;
  font-size: 17px;
  line-height: 1.7rem;
  color: var(--color-black);
  margin-bottom: 0.7rem;
}

.custom-select__placeholder {
  position: absolute;
  top: 50%;
  width: calc(100% - 30px);
  left: 30px;
  transform: translateY(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  color: inherit;
  z-index: 3;
}

.custom-select select {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(100%);
}

.custom-select__button {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 60px;
  padding: 20px 30px;
  background-color: #fff;
  border: 2px solid var(--color-accent);
  border-radius: 30px;
  outline: none;
  cursor: pointer;
  transition: border 0.3s ease;
  z-index: 2;
}

.custom-select__list {
  position: absolute;
  bottom: 30px;
  z-index: 1;
  width: 100%;
  margin: 0;
  padding: 30px 0 0;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid #C4C8C6;
  transform: translateY(100%);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
  border-radius: 0 0 0.8rem 0.8rem;
  max-height: 300px;
  overflow: hidden;
}

.custom-select__item {
  padding: 5px 30px;
  border-bottom: 1px sold #e8e8e8;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.custom-select__text {
    font-size: 17px;
    letter-spacing: 0.42px;
    color: var(--color-black);
  flex-shrink: 0;
  width: 80%;
  overflow: hidden;
  text-align: left;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 1;
  transition: opacity 0.3s ease 0.1s;
}

.custom-select .custom-select__text p {
    margin: 0;
}

.custom-select__text br {
  display: none;
}

.custom-select__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-left: auto;
  color: var(--color-black);
  transition: transform 0.3s ease;
}

.custom-select__icon svg {
  width: 100%;
  height: 100%;
}

.custom-select.is-disabled {
  pointer-events: none;
}

.custom-select.is-disabled .custom-select__list {
  display: none;
}

.custom-select.open-up .custom-select__list {
  bottom: auto;
  top: 0;
  transform: translateY(calc(-100% + 10px));
}

.custom-select.is-open .custom-select__list {
  visibility: visible;
  opacity: 1;
}

.custom-select.not-empty .custom-select__text {
  opacity: 1;
}

.custom-select.not-empty .custom-select__placeholder {
  opacity: 0;
}

.custom-select--placeholder .custom-select__label {
  transform: translateY(calc(-50% - 40px));
  opacity: 1;
}

.custom-select--placeholder.is-open .custom-select__label {
  opacity: 1;
}

.custom-select--placeholder.not-empty .custom-select__label {
  opacity: 1;
}

.custom-select.slide-up.not-empty .custom-select__label,
.custom-select.slide-up.is-open .custom-select__label {
  transform: translateY(calc(-50% - 40px));
  opacity: 1;
}

.custom-select.slide-up.not-empty .custom-select__text,
.custom-select.slide-up.is-open .custom-select__text {
  opacity: 1;
}

.custom-select__item[aria-selected="true"] {
    color: var(--color-accent);
}

.custom-input:has([data-date-input])::after {
  content: url('/assets/theme/img/calendar.svg');
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 30px;
  height: 30px;
}

.air-datepicker-cell.-current- {
    background-color: var(--color-accent);  
    color: #fff;               
    border-radius: 50%;        
}

.air-datepicker-body--day-name {
    color: var(--color-accent);     
}

.form__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.form__text {
    font-size: 17px;
    letter-spacing: 0.42px;
    color: #141821;
    line-height: 31px;
    text-align: center;
    max-width: 680px;
    text-wrap: balance;
    margin: 0 auto;
}
.form__text a {
    color: var(--color-accent);
}
.form__text a:hover {
    color: #141821;
}

@media(max-width: 1023px) {
    .form__row {
        grid-template-columns: repeat(2, 1fr);
    }
    .form__btn.button {
        grid-column:  1 / span 2;
        min-width: 0;
    }
}

@media(max-width: 767px) {
    .form__row {
        grid-template-columns: 1fr;
    }
    .form__btn.button {
        grid-column:  auto;
    }
    .form__text {
        font-size: 14px;
    }
}

.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;

    transform: scale(1.2);
    visibility: hidden;
    opacity: 0;

    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;

    pointer-events: none;

    -ms-overflow-style: none;
    scrollbar-width: none;
}

.modal::-webkit-scrollbar {
    display: none;
}

.modal__wrapper {
    position: relative;

    display: flex;
    flex-shrink: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 100%;
    padding: 40px;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(52, 143, 80, 0.4);
    cursor: pointer;
}

.modal__content {
    position: relative;
    max-width: 900px;
    width: 100%;
    background-color: #fff;
    border-radius: 45px;
    overflow: hidden;
    padding: 80px;
}

.modal__close {
    position: absolute;
    top: 40px;
    right: 40px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    cursor: pointer;
    background: transparent;
    transition: color 0.3s ease;
    color: var(--color-black);
}

.modal__close:hover,
.modal__close:focus {
    color: var(--color-accent);
}

.modal__close svg {
    width: 30px;
    height: 30px;
}

.modal.active {
    transform: scale(1);
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

@media(max-width: 1023px) {
   .modal__content {
        padding: 30px;
    }
}

@media(max-width: 767px) {

    .modal__wrapper {
        padding: 20px;
    }
    
    .modal__content {
        padding: 30px;
    }
    
    .modal__close {
        top: 20px;
        right: 20px;
    }
}

.banquet-halls {
    margin: 50px 0;
}


.banquet-halls__wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media(max-width: 1199px) {
    .banquet-halls__wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 767px) {
    .banquet-halls__wrap {
        grid-template-columns: 1fr;
    }
}

.hall {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 15px;
}

.hall__title {
    font-size: 32px;
    line-height: 120%;
    text-align: center;
    flex: 1;
    color: var(--color-accent);
    transition: color 0.3s ease;
}

.hall__img {
    width: 100%;
    aspect-ratio: 1 / 1;
}
.hall__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hall:hover .hall__title {
    color: var(--color-black);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.gallery-hall {
    padding-top: 140px;
}
.gallery-hall__wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 90px;
}

.gallery-hall__img {
    width: 100%;
    aspect-ratio: 4 / 3;
}

.gallery-hall__img a{
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-hall__img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media(max-width: 1199px) {
    .gallery-hall__wrap {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 767px) {
    .gallery-hall__wrap {
        grid-template-columns: 1fr;
    }
}

.promo-menu,
.promo-menu .promo__wrap {
    height: 60vh;
    min-height: 0;
}

.menu__link {
    width: fit-content;
    margin: 40px auto;
}
.menu__link.mob {
    display: none;
}

.menu__wrap {
    position: relative;
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: start;
    gap: 50px;
    padding-top: 40px;
}

.menu__anchors {
    position: sticky;
    top: 140px;
    display: flex;
    flex-direction:column;
    padding: 60px 0;
}

.menu__anchor {
    color: var(--color-dark);
    transition: color 0.3s ease;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.96px;
    padding: 10px;
    border-bottom: 1px solid var(--color-accent);
}
.menu__anchor:hover,
.menu__anchor.active  {
    color: var(--color-accent);
}
.menu__block {
    margin: 60px 0;
}

.menu__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.menu__item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 20px;
}

.menu__name {
    font-size: 25px;
    line-height: 120%;
    font-weight: 400;
    text-transform: uppercase;
}

.menu__text {
    grid-column: 1 / -1;
    font-size: 17px;
    letter-spacing: 0.42px;
    line-height: 120%;
}

.menu__price {
    font-weight: 600;
    font-size: 32px;
     line-height: 120%;
    letter-spacing: 1.27px;
    color: var(--color-accent);
}

@media(max-width: 959px) {
   .menu__list {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 767px) {
    .menu__wrap {
        grid-template-columns: 1fr;
        padding-top: 0;
    }
    .menu__anchors {
        display: none;
    }
    .menu__block {
        margin: 40px 0;
    }
    .menu__link.mob {
        display: flex;
    }
}


[data-accordion=element].is-active>[data-accordion=content] {
    max-height: 100%;
}

[data-accordion=parent].no-transition [data-accordion=content] {
    transition: none;
}

[data-accordion=content] {
    max-height: 0;
    transition: max-height 0.3s;
    overflow: hidden;
}

.accordion__element {
    overflow: hidden;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.accordion__button {
    pointer-events: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding: 0;
    cursor: pointer;
    border: none;
    background-color: #fff;
    color: var(--color-accent);
    transition: color 0.3s ease;
    font-family: 'Gilroy','Arial', sans-serif;
    font-weight: 500;
    font-size: 50px;
    line-height: 120%;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.accordion__button:hover {
    opacity: 0.6;
}

.accordion__icon {
    position: relative;
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: none;
}

.accordion__icon svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.accordion__element.is-active .accordion__icon {
    transform: rotate(-180deg);
}

.accordion__element.is-active .accordion__button {
    color: var(--color-dark);
}

.accordion__wrapper {
    padding: 50px 0;
}

@media(max-width: 767px) {
    .accordion__button {
        pointer-events: all;
        padding: 20px;
        font-weight: 500;
        font-size: 34px;
        justify-content: space-between;
    }
    .accordion__icon {
        display: block;
    }
    .accordion__wrapper {
        padding: 20px;
    }
}

