html {
    scroll-behavior: smooth; 
}
body {
    font-family: 'Roboto';
    font-size: 16px;
}

header {
    height: 100px;
    padding: 20px;
    border-bottom: 1px solid lightgray;
}

header .wrapper {
    max-width: 1600px;
    margin: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

h3 {
    font-size: 3em;
    text-align: center;
}

h4 {
    font-size: 2.5em;
}


p {
    line-height: 1.5;
    font-weight: 300;
}

.container {
    max-width: 1600px;
    margin: auto;
}

.d-flex {
    display: flex;
}

.logo {
    height: 100%;
    margin-right: 2em;
}

.logo img {
    display: block;
    /* height: 100%; */
    width: 167px;
    height: 100px;
}



.top-menu ul {
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 2em;
}

.top-menu a {
    text-decoration: none;
    color: #3f3f3f;
}


.top-menu li {
    text-align: center;
}

.contacts {
    margin-left: 3em;
    display: flex;
    flex-direction: column;
    gap: 8px;
}



.btn {
    cursor: pointer;
    color: white;
    padding: 10px 30px;
    background-color: #752e20;
    text-decoration: none;
    border-radius: 7px;
    transition: .4s ease-in;
}

.btn:hover {
    background-color: #a04c25;
}

.btn.stroke {
    background: none;
    color: #752e20;
    border: 2px solid #752e20;
}

.btn.stroke:hover {
    color: #fff;
    background-color: #752e20;
}

.cont-item a {
    text-decoration: none;
    color: black;
    font-weight: 800;
    font-size: 1.1em;
    /* padding: 12px 0; */
    /* display: block; */
}

.cont-item {
    color: #737373;
    font-size: .9em;
}


section.hero {
    background-size: cover;
    background-image: url('img/hero-bg.webp');
    min-height: 600px;
    background-position-x: right;
    background-position-y: bottom;
    /*background-position: bottom;*/
    background-color: #00000069;
    background-blend-mode: hard-light;
}

section.hero.ready {
    background-color: #00000099;
    transition: 3s ease-in;
}

.hero .content-wrapper {
    display: flex;
    flex-direction: column;
    align-self: center;
    justify-content: center;
    height: 100%;
    /* margin: auto; */
    max-width: 50%;
    margin: 5em 0;
}

.hero h2.slogan {
    font-size: 4em;
    color: white;
}

.hero .text {
    color: white;
    /* max-width: 69%; */
    line-height: 2;
    font-size: 24px;
    font-weight: 200;
} 

.adv-wrapper {
    display: flex;
    flex-wrap: wrap;
    max-width: 80%;
    margin-top: 2em;
}

.adv-item {
    display: flex;
    color: white;
    font-weight: 200;
    align-items: center;
    gap: .5em;
    background-color: #915d45;
    padding: 10px 20px;
    border-radius: 30px;
    margin: 0 1em 1em 0;
}

.adv-item .icon svg {
    height: 26px;
    width: 26px;
    fill: #742d23;
}

.hero .buttons {
    display: flex;
    gap: 1em;
    margin-bottom: 2em;
    margin-top: 1em;
}

.hero .btn {
    padding: 16px 40px;
    border: 2px solid #752e20;
}

.hero .btn.stroke {background: none;border-color: white;}

.hero .btn:hover {
    border-color: #a04c25;
}

#events {
    margin-bottom: 4em;
}

.events-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: space-between;
}

.event {
    min-width: 21%;
    display: flex;
    flex-direction: column;
    background-color: #f4f0eb;
    padding: 20px;
    align-items: center;
    border-radius: 15px;
    gap: 10px;
}

.event-icon {
    width: 36px;
    height: 36px;

}

.event svg {
    fill: #742d23;
}

#about {
    background-color: #f4f0eb;
}

.about-wrapper {
    justify-content: space-between;
    width: 100%;
}


#about .left {
    max-width: 45%;
}


#about .right {
    max-width: 500px;
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    height: fit-content;
    align-self: center;
}

img.about-img {
    width: 220px;
    height: 200px;
    border-radius: 15px;
}

.vkd {
    background-color: white;
    padding: 1.5em;
    border-radius: 20px;
    box-shadow: 4px 5px 12px 1px #915d45;
    margin-top: 3em;
    margin-bottom: 3em;
}

.vkd-logo {
    /*width: max-content;*/
    display: flex;
    align-items: center;
}

.vkd-logo svg {
    min-width: 60px;
    width: 60px;
    height: 60px;
}

.vkd h6 {
    display: inline-block;
    font-size: 1.2em;
    margin: 0 1em;
}

.vkd .btn {
    display: block;
    width: fit-content;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#guests {
    padding-bottom: 5em;
}

.g-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 1em;
}

.g-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
}

.g-item .icon {
    width: 55px;
    height: 55px;
    padding: .5em;
    border-radius: 50%;
    background-color: #fdf6e8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.g-item .icon svg {
    fill: #742d23;
}

.g-item .label {
    font-size: 1.5em;
    font-weight: 500;
}

.g-wrapper.bottom {
    margin-top: 3em;
}

.g-wrapper.bottom .g-item {
    background-color: #f4f0eb;
    padding: 0.5em 1em;
    min-width: 20%;
    border-radius: 5px;
}

#formats {
    padding-top: 3em;
    background-color: #f4f0eb;
    padding-bottom: 3em;
}

.f-wrapper {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
}

#formats h3 {
    margin-bottom: 0;
}

#formats .subtitle {
    width: fit-content;
    margin: 1em auto;
    font-size: 1.4em;
    color: #765647;
}

.f-item {
    max-width: 240px;
    background-color: white;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    border-radius: 10px;
    padding: 20px;
}

.f-item img {
    margin: 0 auto 20px;
    width: 220px;
    height: 160px;
    border-radius: 10px;
}

.f-item .caption {
    margin: 0 0 1em;
    font-weight: 500;
    font-size: 1.2em;
}

.f-item .btn {
    width: fit-content;
    display: block;
    margin: auto;
}

.f-item .content {
    margin-bottom: 1em;
    line-height: 1.5;
    font-weight: 300;
}

#menu {
    padding: 3em 0;
}

#menu h3 {
    margin-bottom: 0;
}

#menu .subtitle {
    width: fit-content;
    margin: 1em auto;
    font-size: 1.4em;
    color: #765647;
}

#menu .menu-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3em;
}

#menu .btn {
    display: block;
    width: fit-content;
    margin: auto;
    font-size: 1.5em;
    padding: 15px 60px;
}

.m-item {
    background-color: #f4f0eb;
    padding: 2em 3em;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.m-item .icon svg {
    width: 50px;
    fill: #742d23;
    height: 50px;
}

.m-item .title {
    font-size: 1.2em;
    font-weight: 500;
    width: fit-content;
    margin: 1em auto;
}

.m-item .content {
    font-weight: 300;
}

#foto {
    padding: 3em;
    background-color: #f4f0eb;
}

.foto-wrapper {
    flex-wrap: wrap;
    gap: 1em;
}

.foto-wrapper img {
    border-radius: 15px;
    width: 380px;
    height: 335px;
}

#reviews {
    padding: 3em 0;
}

.rev-wrapper {
    display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: space-between;
}

.rev-item {
    position: relative;
    background-color: #f4f0eb;
    max-width: 28%;
    padding: 30px;
    border-radius: 15px;
}

.rev-item .portrait {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 15px;
    background-color: #d1c7c5;
}

.rev-item .portrait svg path {
    fill: #64271f;
}

.rev-item .top {
    display: flex;
    align-items: center;
    gap: 1em;
}

.rev-item .fio {
    font-size: 1.2em;
    font-weight: 400;
}

.rev-item .cap {
    display: flex;
    flex-direction: column;
    gap: .5em;
}

.rev-item .category {
    font-weight: 400;
    color: #7e6a6a;
}

.rev-item .content {
    font-size: 1.2em;
    font-weight: 300;
    line-height: 1.5;
    margin-top: 1em;
}

.rev-item .date {
    position: absolute;
    right: 30px;
    bottom: 10px;
    font-size: .9em;
    color: #7e6a6a;
}

#faq {
    padding: 3em 0;
    background-color: #f4f0eb;
}

#faq .faq-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1em;
}

#faq .faq-item {
    background-color: white;
    padding: 30px 40px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

#faq .title {
    font-size: 1.2em;
    font-weight: 500;
}

#faq .content {
    font-weight: 300;
}


#contacts h3 {
    margin-bottom: 0;
}

#contacts .subtitle {
    width: fit-content;
    margin: 1em auto;
    font-size: 1.4em;
    color: #765647;
}


#contacts .c-wrapper {
    display: flex;
    gap: 1em;
    justify-content: space-between;
}

#contacts .contacts-item {
    display: flex;
    gap: 1em;
}

#contacts .contacts-item a {
    color: #742d23;
}

#contacts .contacts-item .icon svg {
    fill: #742d23;
}

#contacts .buttons .btn {display: flex;align-items: center;gap: 1em;}

#contacts .buttons {
    display: flex;
    gap: 1em;
}

#contacts .buttons .icon svg {
    fill: #fff;
}

#contacts .btn.stroke {
    background: none;
    color: #752e20;
    border: 2px solid;
}

#contacts .btn.stroke .icon svg {
    fill: #742d23;
}

#contacts .right {
    min-width: 50%;
    padding: 3em;
}

#contacts .map {
    min-height: 400px;
}

#contacts .map iframe {
    border-radius: 30px;
}

#contacts .contacts {
    margin-bottom: 2em;
    margin-top: 3em;
}

form.fos {
    padding: 2em;
    background-color: #f4f0eb;
    border-radius: 15px;
}

.fos h5 {
    font-size: 2em;
    width: 100%;
    text-align: center;
    margin: 0;
}

.fos-row {
    position: relative;
    display: flex;
    gap: 1em;
    justify-content: space-between;
}

.fos input {
    height: 40px;
    width: 100%;
    margin: 1em auto 0;
    border: 1px solid #bdb3a6;
    padding: 0 1em;
    border-radius: 5px;
    stroke: none;
    outline: none;
}

.fos button.btn {
    border: none;
    margin: 1em auto 0;
    height: 40px;
    width: 100%;
}

.fos label {
    margin-top: 1em;
    display: block;
    width: fit-content;
    margin: 1em auto;
    font-size: .9em;
    color: #6f6f6f;
}

.fos-row.agree {
    justify-content: flex-start;
}

.fos input#agree {
    width: fit-content;
    margin: 1em 0;
    height: auto;
}

.fos .agree label {
    margin-left: 0;
}

.fos .agree a {
    color: #742d23;
}

.fos a {
    color: #742d23;
}

.fos-error {
    text-align: center;
    margin-top: 1em;
    color: red;
}

span.error {
    position: relative;
    bottom: -0.5em;
    font-size: .8em;
    left: 0.5em;
    color: red;
}

.err {
    padding: 10px 5px;
    margin: auto;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}

footer {
    background-color: #1f202e;
    margin-top: 2em;
    padding-top: 1em;
}

.footer-top {
    max-width: 1600px;
    display: flex;
    color: white;
    justify-content: space-between;
    margin: auto;
    border-bottom: 1px solid #aaa;
    padding-bottom: 1em;
}

footer .title {
    font-weight: bold;
    margin-bottom: 1em;
}

.footer-item p {
    margin: 0;
}

footer .content {
    color: #aaa;
    font-weight: 300;
}

.footer-item a {
    color: #f4f0eb;
}

.socnets {
    max-width: 1600px;
    margin: auto;
    /* text-align: right; */
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.socnets svg {
    fill: white;
}

.socnets svg path {
    fill: white;
}

svg.max {
    height: 20px;
}

svg.tg {
    right: -3px;
    top: -3px;
    height: 48px;
    width: 48px;
    position: relative;
}

.copyright {
 color: #aaa; 
 font-weight: 300; 
 padding: 1em; 
 width: fit-content; 
 margin: auto; 
 display: flex;
 flex-direction: column;
 align-items: center;
 gap: 0.5em;
 text-align: center;
}

.footer-privacy {
 color: #f4f0eb;
 text-decoration: none;
 font-weight: 300;
 font-size: 0.95em;
 transition: color .3s ease;
}

.footer-privacy:hover {
 color: #fff;
 text-decoration: underline;
}

.footer-cookie-settings {
 background: none;
 border: none;
 color: #f4f0eb;
 text-decoration: underline;
 font: inherit;
 cursor: pointer;
 padding: 0;
}

.footer-cookie-settings:hover {
 color: #fff;
}

.cookie-consent[hidden] {
 display: none;
}

.cookie-consent {
 position: fixed;
 left: 24px;
 bottom: 24px;
 z-index: 9999;
 max-width: min(680px, calc(100vw - 32px));
}

.cookie-consent__inner {
 display: flex;
 gap: 28px;
 align-items: flex-start;
 padding: 28px 32px;
 border-radius: 24px;
 background: rgba(255, 251, 246, 0.98);
 border: 1px solid rgba(117, 46, 32, 0.12);
 box-shadow: 0 10px 30px rgba(80, 43, 30, 0.18);
 backdrop-filter: blur(8px);
}

.cookie-consent__icon {
 flex: 0 0 92px;
 width: 92px;
 height: 92px;
 color: #742d23;
}

.cookie-consent__icon svg {
 width: 100%;
 height: 100%;
 fill: currentColor;
}

.cookie-consent__content {
 color: #3f3f3f;
}

.cookie-consent__content p {
 margin: 0 0 0.9em;
 line-height: 1.6;
 font-size: 1.02em;
}

.cookie-consent__content a {
 color: #742d23;
}

.cookie-consent__actions {
 display: flex;
 flex-wrap: wrap;
 gap: 12px;
 margin-top: 1.5em;
}

.cookie-consent__button {
 margin-left: 0;
 padding: 14px 24px;
 border-width: 2px;
}

.cookie-consent__button--secondary {
 font-weight: 500;
}

.map-consent-placeholder {
 min-height: 400px;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: 30px;
 background: linear-gradient(180deg, #fdf6e8 0%, #f4f0eb 100%);
 border: 1px solid #d8c7b6;
 padding: 24px;
 box-sizing: border-box;
}

.map-consent-placeholder__content {
 max-width: 420px;
 text-align: center;
 color: #3f3f3f;
 display: flex;
 flex-direction: column;
 gap: 12px;
}

.map-consent-placeholder__content strong {
 color: #752e20;
 font-size: 1.2em;
}

.map-consent-placeholder__content span {
 line-height: 1.5;
 font-weight: 300;
}

.map-consent-placeholder__button {
 width: fit-content;
 margin: 0 auto;
}

/* Privacy policy page */
.privacy-page {
 background: linear-gradient(180deg, #fdf6e8 0%, #f4f0eb 40%, #f4f0eb 100%);
 padding: 3em 1.5em 4em;
}

.privacy-container {
 max-width: 960px;
 margin: 0 auto;
 color: #3f3f3f;
}

.privacy-title {
 font-size: 2.4em;
 font-weight: 500;
 text-align: center;
 color: #752e20;
 margin: 0 0 1.2em;
 line-height: 1.25;
}

.privacy-heading {
 font-size: 1.6em;
 font-weight: 500;
 color: #765647;
 text-align: left;
 margin: 2em 0 1em;
 line-height: 1.3;
}

.privacy-subheading {
 font-size: 1.25em;
 font-weight: 500;
 color: #765647;
 text-align: left;
 margin: 1.8em 0 0.8em;
}

.privacy-page p {
 font-weight: 300;
 line-height: 1.7;
 margin: 0 0 1em;
}

.privacy-page a {
 color: #742d23;
 text-decoration: underline;
 text-underline-offset: 2px;
}

.privacy-page a:hover {
 color: #a04c25;
}

.privacy-lead {
 font-weight: 500 !important;
 color: #765647;
 margin-top: 1.5em !important;
}

.privacy-table-wrap {
 overflow-x: auto;
 margin: 1.5em 0 2em;
 -webkit-overflow-scrolling: touch;
}

.privacy-table {
 width: 100%;
 border-collapse: collapse;
 background: #fff;
 min-width: 640px;
}

.privacy-table th,
.privacy-table td {
 border: 1px solid #d1c7c5;
 padding: 0.85em 1em;
 vertical-align: top;
 font-weight: 300;
 line-height: 1.55;
 font-size: 0.95em;
}

.privacy-table thead th {
 background-color: #f4f0eb;
 color: #752e20;
 font-weight: 500;
 text-align: center;
}

.privacy-table tbody tr:nth-child(even) {
 background-color: #fdf6e8;
}

.privacy-defs {
 list-style: none;
 padding: 0;
 margin: 0 0 1.5em;
}

.privacy-defs li {
 position: relative;
 padding-left: 1.1em;
 margin-bottom: 0.85em;
 font-weight: 300;
 line-height: 1.65;
}

.privacy-defs li::before {
 content: "";
 position: absolute;
 left: 0;
 top: 0.55em;
 width: 6px;
 height: 6px;
 border-radius: 50%;
 background: #915d45;
}

.privacy-defs .term {
 font-weight: 500;
 color: #765647;
}

.privacy-ol {
 list-style: none;
 counter-reset: privacy-counter;
 padding: 0;
 margin: 0 0 1.5em;
}

.privacy-ol > li {
 counter-increment: privacy-counter;
 position: relative;
 padding-left: 2.4em;
 margin-bottom: 1em;
 font-weight: 300;
 line-height: 1.7;
}

.privacy-ol > li::before {
 content: counter(privacy-counter);
 position: absolute;
 left: 0;
 top: 0.05em;
 width: 1.7em;
 height: 1.7em;
 border-radius: 50%;
 background: #752e20;
 color: #fff;
 font-size: 0.85em;
 font-weight: 500;
 display: flex;
 align-items: center;
 justify-content: center;
 line-height: 1;
}

.privacy-ul {
 list-style: none;
 padding: 0;
 margin: 0 0 1.5em;
}

.privacy-ul li {
 position: relative;
 padding-left: 1.25em;
 margin-bottom: 0.55em;
 font-weight: 300;
 line-height: 1.6;
}

.privacy-ul li::before {
 content: "";
 position: absolute;
 left: 0;
 top: 0.55em;
 width: 7px;
 height: 7px;
 border-radius: 2px;
 background: #a04c25;
}

@media (max-width: 768px) {
 .privacy-page {
  padding: 2em 1em 3em;
 }

 .privacy-title {
  font-size: 1.7em;
 }

 .privacy-heading {
  font-size: 1.3em;
 }

 .privacy-subheading {
  font-size: 1.1em;
 }

 .privacy-ol > li {
  padding-left: 2.2em;
 }
}

.popup {
    display: none;
    border-radius: 15px;
}

.popup h5 {
    text-align: center;
    font-size: 2em;
    margin: 0;
}

.popup .content {
    background-color: #f4f0eb;
    padding: 1em;
    border-radius: 15px;
}

.popup .f-button.is-close-button {
    top: 6px;
    color: black;
    right: 6px;
}

.popup .f-button.is-close-button:hover {
    color: black;
}

.burger {
    display: none;
}

.mobile-menu {
    display: none;
}

@media (min-width: 1441px) {
    header .wrapper {
        max-width: 95%;
    }

    .container {
        max-width: 90%;
    }

.top-menu ul {
    padding-left: 0;
    gap: 1.5em;
}

.top-menu li {/* min-width: 77px; */}

.contacts {
    margin-left: 1.5em;
    margin-right: 1.5em;
}

.cont-item a {
    width: max-content;
    display: block;
}

.cont-item {
    width: max-content;
}
}

@media (max-width: 1440px) and (min-width: 1025px){

header .wrapper {
    max-width: 95%;
}

.container {
    max-width: 90%;
}

.top-menu ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
}

.logo {
    margin-right: 1em;
}

.top-menu li {
    width: max-content;
}

.cont-item {
    width: max-content;
}

.btn {
    padding: 8px 12px;
    margin-left: 1.5em;
}

.m-item {
    max-width: 20%;
}

.rev-item {
    max-width: 40%;
}


#contacts .c-wrapper {
    flex-direction: column;
    align-items: center;
}


.footer-top {
    max-width: 90%;
}

.footer-bottom {
    max-width: 90%;
    margin: auto;
}

}

@media (max-width: 1024px) {
.mobile-menu .burger-checkbox {
  position: absolute;
  visibility: hidden;
}
.mobile-menu {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
}
.mobile-menu .burger {
  position: relative;
  z-index: 1;
  cursor: pointer;
  display: block;
  position: relative;
  border: none;
  background: transparent;
  width: 40px;
  height: 26px;
  top: 1em;
  right: 1em;
}
.mobile-menu .burger::before,
.mobile-menu .burger::after {
  content: '';
  left: 0;
  position: absolute;
  display: block;
  width: 100%;
  height: 4px;
  border-radius: 10px;
  background: #742d23;
}
.mobile-menu .burger::before {
  top: 0;
  box-shadow: 0 11px 0 #742d23;
  transition: box-shadow .3s .15s, top .3s .15s, transform .3s;
}
.mobile-menu .burger::after {
  bottom: 0;
  transition: bottom .3s .15s, transform .3s;
}
.mobile-menu .burger-checkbox:checked + .burger::before {
  top: 11px;
  transform: rotate(45deg);
  box-shadow: 0 6px 0 rgba(0,0,0,0);
  transition: box-shadow .15s, top .3s, transform .3s .15s;
}
.mobile-menu .burger-checkbox:checked + .burger::after {
  bottom: 11px;
  transform: rotate(-45deg);
  transition: bottom .3s, transform .3s .15s;
}
.mobile-menu .menu-list {
  top: 0;
  right: 0;
  opacity: 0;
  position: absolute;
  display: grid;
  gap: 20px;
  padding: 70px 20px 30px;
  margin: 0;
  background: #f4f0eb; /*#ebdfd9*/
  border-radius: 7px;
  list-style-type: none;
  transform: translateX(calc(-100% + 240px));
  transition: .5s;
  width: 200px;
  text-align: right;
}
.mobile-menu .menu-item {
  display: block;
  padding: 8px;
  color: white;
  font-size: 18px;
  text-align: center;
  text-decoration: none;
}
.mobile-menu .menu-item:hover {
  background: rgba(255,255,255,.2)
}
.mobile-menu .burger-checkbox:checked ~ .menu-list {
  transform: translateX(0);
  opacity: 1;
}

.mobile-menu .menu-list a {
    color: #742d23;
    text-decoration: none;
    font-size: 1.5em;
}

a.mobile-btn {
    padding: 10px;
    color: white !important;
    background-color: #752e20;
    display: block;
    margin: auto;
    border-radius: 7px;
    font-size: 1.2em !important;
    font-weight: 300;
    text-align: center;
}

}

@media (max-width: 1024px) and (min-width: 769px){
header .wrapper {
    max-width: 95%;
}

.top-menu {
    display: none;
}

header .contacts {
    display: none;
}

header .btn {
    display: none;
}

.btn {
    padding: 8px 12px;
    margin-left: 1.5em;
}

.container {
    max-width: 90%;
}

.event {
    min-width: 16%;
}

.f-wrapper {
    gap: 1em;
}

.f-item {
    max-width: 200px;
}

.f-item img {
    width: 180px;
}

.f-item .btn {
    font-size: .9em;
}

.f-item .content {
    font-size: .9em;
}

.m-item {
    max-width: 20%;
}

.foto-wrapper a {
    max-width: 20%;
}

.foto-wrapper img {
    display: block;
    width: 100%;
    height: 100%;
}

.foto-wrapper {
    margin: auto;
    width: fit-content;
    justify-content: center;
}

.rev-item {
    max-width: 40%;
}

#contacts .right {
    min-width: 70%;
}

#contacts .buttons .btn {
    max-width: 25%;
}

#contacts .buttons {
    gap: 0.25em;
}

#contacts .c-wrapper {
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
}

#contacts .buttons .btn {
    padding: 10px 20px;
}

#contacts .buttons .btn .icon {
    display: flex;
}

.footer-top {
    max-width: 90%;
    gap: 1em;
}

.footer-bottom {
    max-width: 90%;
    margin: auto;
}

}

@media (min-width: 769px) and (max-width: 799px){
    .m-item {
        max-width: 18%; 
    }

    #menu .menu-wrapper {
        justify-content: center;
        gap: 1em;
    }
}

@media (min-width: 401px) and (max-width: 768px){

 

.top-menu {
    display: none;
}

header .contacts {
    display: none;
}

header .btn {
    display: none;
}

.container {
    max-width: none;
}

.hero .content-wrapper {
    margin: auto;
    max-width: 90%;
    padding-left: 1em;
}

.hero h2.slogan {
    font-size: 2em;
}

.hero .text {
    line-height: 1.2;
}

.hero .buttons {
    flex-direction: column;
}

.hero .btn {
    text-align: center;
}

.adv-wrapper {
    max-width: 100%;
    flex-direction: column;
}

.adv-item {
    margin: 0 auto 1em;
    width: 70%;
}

.event {
    width: 100%;
    margin: 0 1em;
}

#about {
    padding-bottom: 2em;
}

.about-wrapper {
    flex-wrap: wrap;
    flex-direction: column;
}

#about h4 {
    margin-bottom: 0;
}

#about .left {
    max-width: 80%;
    margin: 0 auto;
}

.vkd-logo {
    flex-direction: column;
    flex-wrap: wrap;
    width: auto;
}

.vkd h6 {
    margin: 1em 0 0;
}

.vkd .btn {
    text-align: center;
}

#guests {
    padding-bottom: 1em;
}

.g-wrapper {
    flex-direction: column;
    flex-wrap: wrap;
}

.g-item .content {
    text-align: center;
    margin-bottom: 2em;
}

.g-wrapper.bottom .g-item {
    width: 80%;
    margin: auto;
}

#menu h3 {
    margin: 0;
}


#menu .menu-wrapper {
    flex-direction: column;
    align-items: center;
}

h3 {
    font-size: 2em;
    margin: 1em 0;
}

.event {
    width: 35%;
}

.events-wrapper {
    justify-content: center;
}

#formats h3 {
    margin: 0 auto;
}

#formats .subtitle {
    width: 80%;
    text-align: center;
    font-size: 1.2em;
}

.f-wrapper {
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.m-item {
    padding: 1em 1.5em;
    margin: 1em;
    width: 350px;
    text-align: center;
}

#foto {
    padding: 1em;
}

.foto-wrapper {
    align-items: center;
    justify-content: center;
}

.foto-wrapper img {
    max-width: 200px;
    width: 100%;
    height: 100%;
}

.rev-item {
    max-width: 80%;
}

.rev-wrapper {
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: auto;
}

#reviews {
    padding: 1em 0;
}

.rev-item .top {
    flex-direction: column;
}

.rev-item .content {
    line-height: 1.2;
    font-size: 1em;
}

#faq {
    padding: 1em 0;
}

#faq .faq-item {
    max-width: 80%;
    margin: auto;
}

#faq .faq-wrapper {
    max-width: 90%;
    margin: auto;
}

#contacts h3 {
    max-width: 90%;
    margin: 1em auto;
}

#contacts .subtitle {
    max-width: 90%;
    margin: 1em auto;
    text-align: center;
}

#contacts .c-wrapper {
    flex-direction: column;
    align-items: center;
}

#contacts .buttons {
    flex-direction: column;
    max-width: 70%;
    margin: auto;
}

#contacts .buttons .btn {
    width: auto;
}

#contacts .contacts {
    max-width: 80%;
    margin: 1em auto;
}

form.fos {
    max-width: 70%;
    margin: auto;
}

.fos h5 {
    font-size: 1.4em;
}

.fos-row {
    flex-direction: column;
    max-width: 90%;
    margin: 1em auto 0;
}

.fos input {
    width: auto;
    margin-top: 0;
}

.fos label {
    text-align: center;
}



.footer-top {
    flex-direction: column;
    padding: 1em;
}

.footer-item {
    margin-bottom: 1em;
}

.socnets {
    max-width: 70%;
    margin: auto;
}



}

@media (max-width: 799px) {
    .fos-row.agree {
        flex-direction: row;
        gap: 0.5em;
        align-items: start;
        max-width: fit-content;
        justify-content: center;
    }

    .fos .agree label {
        max-width: 340px;
        text-align: left;
    }

    .cookie-consent {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .cookie-consent__inner {
        flex-direction: column;
        gap: 18px;
        padding: 20px;
        border-radius: 18px;
    }

    .cookie-consent__icon {
        width: 72px;
        height: 72px;
        flex-basis: auto;
    }

    .cookie-consent__actions {
        flex-direction: column;
    }

    .cookie-consent__button {
        width: 100%;
        text-align: center;
        margin-left: 0;
    }
}

@media (max-width: 400px){



.top-menu {
    display: none;
}

header .contacts {
    display: none;
}

header .btn {
    display: none;
}

.container {
    max-width: none;
}

.hero .content-wrapper {
    max-width: 90%;
    padding-left: 1em;
}

.hero h2.slogan {
    font-size: 2em;
}

.hero .text {
    line-height: 1.2;
}

.hero .buttons {
    flex-direction: column;
}

.hero .btn {
    text-align: center;
}

.adv-wrapper {
    max-width: 100%;
    flex-direction: column;
}

.adv-item {
    margin: 0 auto 1em;
    width: 70%;
}

.event {
    width: 100%;
    margin: 0 1em;
}

#about {
    padding-bottom: 2em;
}

.about-wrapper {
    flex-wrap: wrap;
}

#about h4 {
    margin-bottom: 0;
}

#about .left {
    max-width: 80%;
    margin: 0 auto;
}

.vkd-logo {
    flex-direction: column;
    flex-wrap: wrap;
    width: auto;
}

.vkd h6 {
    font-size: 1em;
    margin: 1em 0 0;
}

.vkd .btn {
    text-align: center;
}

#guests {
    padding-bottom: 1em;
}

.g-wrapper {
    flex-direction: column;
    flex-wrap: wrap;
}

.g-item .content {
    text-align: center;
    margin-bottom: 2em;
}

.g-wrapper.bottom .g-item {
    width: 80%;
    margin: auto;
}

#menu h3 {
    margin: 0;
}


#menu .menu-wrapper {
    flex-direction: column;
}

h3 {
    font-size: 2em;
    margin: 1em 0;
}

#formats h3 {
    margin: 0 auto;
}

#formats .subtitle {
    width: 80%;
    text-align: center;
    font-size: 1.2em;
}

.f-wrapper {
    flex-direction: column;
    align-items: center;
}

.m-item {
    padding: 1em 1.5em;
    margin: 1em;
}

#foto {
    padding: 1em;
}

.foto-wrapper {
    flex-direction: column;
    align-items: center;
}

.foto-wrapper img {
    max-width: 200px;
    width: 100%;
    height: 100%;
}

.rev-item {
    max-width: 80%;
}

.rev-wrapper {
    flex-direction: column;
    align-items: center;
    width: 80%;
    margin: auto;
}

#reviews {
    padding: 1em 0;
}

.rev-item .top {
    flex-direction: column;
}

.rev-item .content {
    line-height: 1.2;
    font-size: 1em;
}

#faq {
    padding: 1em 0;
}

#faq .faq-item {
    max-width: 80%;
    margin: auto;
}

#faq .faq-wrapper {
    max-width: 90%;
    margin: auto;
}

#contacts h3 {
    max-width: 90%;
    margin: 1em auto;
}

#contacts .subtitle {
    max-width: 90%;
    margin: 1em auto;
    text-align: center;
}

#contacts .c-wrapper {
    flex-direction: column;
    align-items: center;
}

#contacts .buttons {
    flex-direction: column;
    max-width: 70%;
    margin: auto;
}

#contacts .buttons .btn {
    width: auto;
}

#contacts .contacts {
    max-width: 80%;
    margin: 1em auto;
}

form.fos {
    max-width: 70%;
    margin: auto;
}

.fos h5 {
    font-size: 1.4em;
}

.fos-row {
    flex-direction: column;
    max-width: 90%;
    margin: 1em auto 0;
}

.fos input {
    width: auto;
    margin-top: 0;
}

.fos label {
    text-align: center;
}

.footer-top {
    flex-direction: column;
    padding: 1em;
}

.footer-item {
    margin-bottom: 1em;
}

.socnets {
    max-width: 70%;
    margin: auto;
}

}