@font-face {
  font-family: "Julius Sans One";
  font-weight: 400;
  font-style: normal;
  font-display: block;
  src: url("../fonts/JuliusSansOne-Regular.067b5d6bc17f.woff2") format("woff2");
}
@font-face {
  font-family: "Inria Sans";
  font-weight: 400;
  font-style: normal;
  font-display: block;
  src: url("../fonts/InriaSans-Regular.47c7c3c7a07f.woff2") format("woff2");
}
:root {
  --font: "Inria Sans", sans-serif;
  --font-heading: "Julius Sans One", sans-serif;
}

@media (max-width: 46.498em) {
  .mobile-hidden {
    display: none;
  }
}

.gutter-sizer {
  width: 0.2rem;
  height: 0;
  visibility: hidden;
}
@media (min-width: 46.5em) {
  .gutter-sizer {
    width: 0.375rem;
  }
}

/* Fading out state */
.gallery__container.fading-out {
  opacity: 0;
}

.gallery__container.fading-in {
  opacity: 1;
}

.hidden-nav {
  display: none !important;
}

.form-button {
  display: block;
  padding-block: 1.5625rem;
  color: var(--text-secondary-color);
  background-color: var(--highlight-color);
  border-radius: 3.4375rem;
  width: min(100%, 18.5625rem);
  text-align: center;
}
.form-button--small {
  padding: 0.5rem;
  width: fit-content;
  border-radius: 16px;
}

.font-big {
  font-size: 2rem;
  line-height: 0;
}

#photo-delete-dialog {
  color: white;
}

@media (min-width: 46.5em) {
  .medium-invert-color {
    filter: invert(100%) sepia(100%) saturate(0%) hue-rotate(298deg) brightness(102%) contrast(102%);
    margin: 0;
  }
}

.grid-central-button {
  grid-column: 1/span 2;
  margin-inline: auto;
}

.margin-block-4 {
  margin-block: 4rem;
}

@media (min-width: 46.5em) {
  .margin-block-top-7 {
    margin-block-start: 7.5rem;
  }
}

#photo-list-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6rem, 1fr));
  gap: 1rem;
}
@media (min-width: 46.5em) {
  #photo-list-container {
    grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
    gap: 1.25rem;
  }
}

.photo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.photo-thumbnail {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}

:root {
  --background-color: #ffffff;
  --text-color: #000000;
  --highlight-color: #000000;
  --text-secondary-color: #ffffff;
  --background-menu: #f2f2f4;
  --error-color: #b3261e;
  --admin-line: #e7e3de;
  --admin-line-strong: #d8d2c9;
  --admin-muted: #8a8378;
  --admin-hover: #f6f4f1;
  --admin-text-soft: #5a554e;
}

html {
  box-sizing: border-box;
  font-size: 100%;
  background-color: #f2f2f2;
}

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

* {
  margin: 0;
}

menu:not(article menu),
ol:not(article ol),
ul:not(article ul) {
  list-style: none;
}

menu,
ol,
ul {
  padding-left: 0;
}

article ol,
article ul {
  list-style-position: inside;
}

button {
  background: none;
  background-color: var(--highlight-color);
  color: inherit;
  border: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
  outline: inherit;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  background-color: var(--background-color);
  color: var(--text-color);
  margin-inline: auto;
  max-width: min(100%, 1280px);
  min-height: 100vh;
  display: flow-root;
  box-shadow: 0 4px 100px rgba(0, 0, 0, 0.25);
}

textarea {
  max-width: 100%;
}

h1, h2, h3 {
  font-weight: 400;
  margin-top: 0;
  font-family: var(--font-heading);
}

h1 {
  font-size: 2.25rem;
}
@media (min-width: 46.5em) {
  h1 {
    font-size: 3rem;
  }
}

h2 {
  font-size: 1.25rem;
}
@media (min-width: 46.5em) {
  h2 {
    font-size: 1.5rem;
  }
}

p {
  margin-top: 0;
  font-size: 1.125rem;
}
@media (min-width: 80em) {
  p {
    font-size: 1.25rem;
  }
}

a, a:visited, a:active {
  text-decoration: none;
}

a {
  color: inherit;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
}

p, h1, h2, h3, h4, h5, h6 {
  overflow-wrap: break-word;
}

menu:not(article menu),
ol:not(article ol),
ul:not(article ul) {
  list-style: none;
}

menu,
ol,
ul {
  padding-left: 0;
}

article ol,
article ul {
  list-style-position: inside;
}

label,
button,
select,
summary,
[type=radio],
[type=submit],
[type=checkbox] {
  cursor: pointer;
}

dialog {
  background-color: inherit;
  border: none;
  padding: 0;
}

dialog:focus-visible {
  outline: none;
}

dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.9);
}

.about__header {
  padding-block-start: 1.25rem;
  padding-inline: 0.75rem;
  min-height: 11rem;
  background-image: url("../images/hero-about-small.1a3da2dde53a.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom right;
}
@media (min-width: 46.5em) {
  .about__header {
    min-height: 16rem;
    padding-block-start: 6.25rem;
    padding-inline: 2rem;
    display: flex;
    background-image: url("../images/hero-about.76fff5076484.webp");
  }
}
.about__title-wrapper {
  background-color: var(--background-menu);
  padding: 3rem 1rem;
}
@media (min-width: 46.5em) {
  .about__title-wrapper {
    padding: 7.5rem 2rem 3.5rem;
  }
}
.about__title {
  margin-block-end: 1.3125rem;
  line-height: 1.8;
  text-align: center;
}
.about__wrapper {
  padding: 2.5rem 1rem;
}
@media (min-width: 46.5em) {
  .about__wrapper {
    padding-inline: 2rem;
  }
}
@media (min-width: 46.5em) {
  .about__wrapper--thick-top-padding {
    padding-block-start: 7.5rem;
  }
}
@media (min-width: 46.5em) {
  .about__wrapper--grid {
    position: relative;
    display: grid;
    grid-template-columns: 30rem auto;
    min-height: 32rem;
  }
}
@media (min-width: 46.5em) {
  .about__wrapper--grid-2 {
    grid-template-columns: auto 26rem;
    min-height: 40rem;
  }
}
.about__portrait {
  margin-block-end: 3rem;
}
@media (min-width: 46.5em) {
  .about__portrait--grid {
    position: absolute;
    top: 7.5rem;
    left: 0;
    max-width: 30rem;
  }
}
@media (min-width: 46.5em) {
  .about__portrait--grid-right {
    top: 0;
    left: unset;
    right: 0;
    margin: 0;
    margin-block-start: 2.5rem;
    max-width: 26rem;
  }
}
.about__subtitle {
  margin-block-end: 1.5rem;
  text-align: center;
}
.about__text {
  line-height: 1.6;
}
.about__text--grid-column-right {
  grid-column: 2/3;
}
.about__text--grid-column-left {
  grid-column: 1/2;
}

.topbar {
  max-width: 70rem;
  margin-inline: auto;
  margin-block-start: 1.5rem;
  padding-inline: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 46.5em) {
  .topbar {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
  }
}
.topbar h1 {
  margin: 0;
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.1rem 0.85rem;
  font-size: 0.95rem;
  color: var(--admin-muted);
}
.admin-nav a {
  padding-block: 0.4rem;
  color: var(--admin-muted);
}
.admin-nav a:hover {
  color: var(--text-color);
  text-decoration: underline;
}
.admin-nav a[aria-current=page] {
  color: var(--text-color);
  font-weight: 600;
}

.wrap {
  max-width: 70rem;
  margin-inline: auto;
  margin-block: 1rem;
  padding-inline: 1rem;
}

.panel {
  border: 1px solid var(--admin-line);
  padding: 1.25rem;
  margin-block-end: 1.5rem;
}
@media (min-width: 46.5em) {
  .panel {
    padding: 1.25rem 1.5rem;
  }
}
.panel > h2:first-child,
.panel > h3:first-child {
  margin-block-start: 0;
}
.panel__intro {
  color: var(--admin-text-soft);
  margin-block-end: 1.25rem;
}

.inbox {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
@media (min-width: 46.5em) {
  .inbox {
    flex-direction: row;
    gap: 1.5rem;
    align-items: flex-start;
  }
}

@media (min-width: 46.5em) {
  .inbox__list {
    flex: 1 1 22rem;
    max-width: 24rem;
  }
}

.inbox__detail {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 220px;
}

.msg-row {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-block-end: 1px solid var(--admin-line);
  padding: 0.95rem 0.6rem;
  cursor: pointer;
}
.msg-row:hover {
  background: var(--admin-hover);
}
.msg-row:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -2px;
}
.msg-row__name {
  font-weight: 600;
}
.msg-row__meta {
  color: var(--admin-muted);
  font-size: 0.82rem;
  margin-block-start: 0.1rem;
}
.msg-row__preview {
  color: var(--admin-text-soft);
  font-size: 0.9rem;
  margin-block-start: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.msg-card {
  border: 1px solid var(--admin-line);
  padding: 1.25rem;
}
@media (min-width: 46.5em) {
  .msg-card {
    padding: 1.25rem 1.5rem;
  }
}
.msg-card h2 {
  margin-block-start: 0;
}
.msg-card dl {
  margin: 0;
}
.msg-card dt {
  color: var(--admin-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-block-start: 0.9rem;
}
.msg-card dd {
  margin: 0.15rem 0 0;
}
.msg-card__message {
  white-space: pre-wrap;
}

.muted {
  color: var(--admin-muted);
  padding: 0.6rem;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.45rem;
  border: 1px solid var(--admin-line-strong);
  border-radius: 3px;
  white-space: nowrap;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-block-start: 1.25rem;
}
.admin-actions .form-button {
  width: auto;
  padding: 0.65rem 1.15rem;
  font-size: 0.95rem;
}

.admin-list__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding-block: 0.85rem;
  border-block-end: 1px solid var(--admin-line);
}
.admin-list__row:first-child {
  padding-block-start: 0;
}
.admin-list__text {
  min-width: 0;
}
.admin-list__name {
  font-weight: 600;
}
.admin-list__desc {
  color: var(--admin-muted);
  font-size: 0.9rem;
}
.admin-list__empty {
  color: var(--admin-muted);
  padding-block: 0.85rem;
}
.admin-list .form-button {
  width: auto;
  padding: 0.45rem 1.05rem;
  font-size: 0.9rem;
}

.admin-form {
  max-width: 30rem;
}
.admin-form label {
  display: block;
  margin-block-end: 0.35rem;
}
.admin-form p {
  margin-block-end: 1rem;
}

.backend__gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr));
  gap: 0.75rem;
}
@media (min-width: 46.5em) {
  .backend__gallery-container {
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    gap: 1rem;
  }
}
.backend__gallery-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: grab;
}

.booking {
  max-width: 50rem;
  margin-inline: auto;
  padding-block-start: 2.5rem;
  padding-block-end: 4rem;
  padding-inline: 1.25rem;
}
@media (min-width: 46.5em) {
  .booking {
    padding-inline: 1.875rem;
  }
}
@media (min-width: 80em) {
  .booking {
    padding-inline: 3.125rem;
  }
}
.booking__heading {
  font-size: 1.5rem;
  margin-block-end: 1rem;
}
.booking__intro {
  font-size: 0.9375rem;
  opacity: 0.75;
  margin-block-end: 2rem;
  max-width: 38rem;
}
.booking__empty {
  opacity: 0.75;
}

.booking-form__chosen {
  font-weight: 600;
  margin-block-end: 1.5rem;
}

.booking-form__note {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.65;
}

.cal {
  max-width: 24rem;
}
@media (min-width: 46.5em) {
  .cal {
    max-width: 30rem;
  }
}
.cal__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-block-end: 0.75rem;
}
.cal__label {
  margin: 0;
  font-size: 1.1rem;
}
.cal__controls {
  display: flex;
  gap: 0.25rem;
}
.cal__nav {
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.6rem;
  background: none;
  border: 1px solid #e7e3de;
  font: inherit;
  cursor: pointer;
}
.cal__nav:hover:not([disabled]) {
  background: #f6f4f1;
}
.cal__nav:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
.cal__nav[disabled] {
  opacity: 0.35;
  cursor: default;
}
.cal__weekdays, .cal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal__weekday {
  text-align: center;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8a8378;
  padding-block: 0.3rem;
}
.cal__cell {
  position: relative;
}
.cal__cell--today .cal__day {
  border-color: #8a8378;
}
.cal__day {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: none;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9rem;
  color: inherit;
  text-decoration: none;
  padding: 0;
}
button.cal__day,
a.cal__day {
  cursor: pointer;
}
button.cal__day:hover,
a.cal__day:hover {
  background: #f6f4f1;
}
button.cal__day:focus-visible,
a.cal__day:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}

.cal__day--pad, .cal__day--past {
  opacity: 0.3;
}
.cal__day--open {
  background: #eef0e6;
  border-color: #aab088;
  font-weight: 600;
}
.cal__day--held {
  background: #f7ecd8;
  border-color: #d9b36a;
  font-weight: 600;
}
.cal__day--booked {
  background: #3d3a35;
  border-color: #3d3a35;
  color: #fff;
  font-weight: 600;
}
button.cal__day--booked:hover {
  background: #56524b;
}

.cal__day--blocked {
  background: #f6f4f1;
  border-color: #d8d2c9;
  text-decoration: line-through;
}
.cal__edit {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 24px;
  min-height: 24px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #d8d2c9;
  border-radius: 50%;
  font-size: 0.7rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}
.cal__edit:hover {
  background: #f6f4f1;
}
.cal__edit:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}
.cal__dot {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
}
.cal__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-block-start: 0.85rem;
  font-size: 0.8rem;
  color: #8a8378;
}
.cal__legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.cal__swatch {
  width: 0.85rem;
  height: 0.85rem;
  border: 1px solid transparent;
}
.cal__swatch--open {
  background: #eef0e6;
  border-color: #aab088;
}
.cal__swatch--held {
  background: #f7ecd8;
  border-color: #d9b36a;
}
.cal__swatch--booked {
  background: #3d3a35;
}
.cal__empty {
  margin-block-start: 1rem;
  font-size: 0.9rem;
  opacity: 0.75;
}

.cal-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}
@media (min-width: 46.5em) {
  .cal-layout {
    gap: 2rem;
  }
}
.cal-layout .cal {
  flex: 0 1 24rem;
}
@media (min-width: 46.5em) {
  .cal-layout .cal {
    flex-basis: 30rem;
  }
}
.cal-layout__editor {
  flex: 1 1 16rem;
  min-width: 0;
}

.cal-editor {
  border: 1px solid #e7e3de;
  padding: 1rem 1.25rem;
}
.cal-editor__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}
.cal-editor__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.cal-editor__close {
  background: none;
  border: none;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}
.cal-editor__close:hover {
  background: #f6f4f1;
}
.cal-editor__close:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}
.cal-editor__error {
  color: #a04432;
  font-size: 0.9rem;
}
.cal-editor__slot {
  padding-block: 0.75rem;
  border-block-start: 1px solid #e7e3de;
}
.cal-editor__slot:first-of-type {
  border-block-start: none;
  padding-block-start: 0;
}
.cal-editor__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: flex-end;
}
.cal-editor__form p {
  margin: 0;
  flex: 1 1 12rem;
}
.cal-editor .form-button {
  width: auto;
  padding: 0.6rem 1.15rem;
  font-size: 0.95rem;
}
.cal-editor__when {
  margin: 0 0 0.35rem;
  font-weight: 600;
}
.cal-editor__remove {
  margin-block-start: 0.6rem;
}
.cal-editor__add {
  margin-block-start: 1rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid #e7e3de;
}

.contact-form {
  padding-block-start: 3.8rem;
  padding-block-end: 5.875rem;
  padding-inline: 1.25rem;
}
@media (min-width: 46.5em) {
  .contact-form {
    padding-inline: 1.875rem;
  }
}
@media (min-width: 80em) {
  .contact-form {
    padding-inline: 3.125rem;
  }
}
.contact-form__heading {
  font-size: 1.25rem;
  margin-block-end: 1.25rem;
}
@media (min-width: 46.5em) {
  .contact-form form {
    display: grid;
    column-gap: 4rem;
    row-gap: 4rem;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
  }
}
@media (min-width: 46.5em) {
  .contact-form .message-field {
    grid-column: 1/span 2;
  }
}
.contact-form__hint {
  font-size: 0.875rem;
  opacity: 0.75;
  margin-block-end: 1rem;
}
@media (min-width: 46.5em) {
  .contact-form__hint {
    grid-column: 1/span 2;
    margin-block-end: 0;
  }
}
.contact-form .name-field,
.contact-form .phone-field,
.contact-form .email-field,
.contact-form .message-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-block-end: 1.75rem;
}
@media (min-width: 46.5em) {
  .contact-form .name-field,
  .contact-form .phone-field,
  .contact-form .email-field,
  .contact-form .message-field {
    margin-block-end: 0;
  }
}
.contact-form label {
  text-align: left;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: transparent;
  color: var(--text-color);
  appearance: none;
  transition: border-color 0.15s ease;
}
.form-input::placeholder,
.form-select::placeholder,
.form-textarea::placeholder {
  color: var(--text-color);
  opacity: 0.5;
}

.form-input,
.form-select {
  min-height: 2.75rem;
  padding-block: 0.7rem;
  padding-inline: 0.1rem;
  border: 0;
  border-bottom: 1px solid var(--text-color);
  border-radius: 0;
}
.form-input:focus-visible,
.form-select:focus-visible {
  outline: none;
  border-bottom-width: 2px;
}

.form-textarea {
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--text-color);
  border-radius: 0.25rem;
}
@media (min-width: 46.5em) {
  .form-textarea {
    min-height: 10rem;
  }
}
@media (min-width: 80em) {
  .form-textarea {
    min-height: 16rem;
  }
}
.form-textarea:focus-visible {
  outline: none;
  border-width: 2px;
}

.error,
ul.errorlist {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--error-color);
  font-size: 0.8125rem;
  line-height: 1.4;
}

.error {
  margin-block-end: 1.25rem;
}
@media (min-width: 46.5em) {
  .error {
    grid-column: 1/span 2;
  }
}

.contacts {
  padding-block-start: 1.25rem;
  padding-inline: 0.75rem;
}
@media (min-width: 46.5em) {
  .contacts {
    padding-block-start: 4.625rem;
    padding-inline: 1.875rem;
    display: flex;
  }
}
@media (min-width: 80em) {
  .contacts {
    padding-block-start: 5.1875rem;
    padding-inline: 3.125rem;
  }
}
.contacts__hero {
  background-image: url("../images/hero-alternate.1e5e00e7a097.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: top left;
  min-height: 24rem;
  color: var(--text-secondary-color);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  line-height: 2.5;
  padding-inline: 1.625rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 46.5em) {
  .contacts__hero {
    min-height: 32.8437rem;
  }
}
@media (min-width: 80em) {
  .contacts__hero {
    min-height: 41.6875rem;
  }
}
.contacts__hero-text {
  margin-block-end: 1.25rem;
}
@media (min-width: 46.5em) {
  .contacts__hero-text {
    margin-inline-start: 53%;
  }
}
.contacts__social-button {
  display: inline-block;
  vertical-align: middle;
}
.contacts__social-wrapper {
  padding-block: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: var(--background-menu);
}

.hero {
  position: relative;
  padding-block-start: 1.25rem;
  padding-inline: 0.75rem;
  margin-block-end: 4.375rem;
  font-size: 1.125rem;
}
@media (min-width: 46.5em) {
  .hero {
    display: grid;
    grid-template-columns: 55.1% 44.9%;
    grid-template-rows: 9.25rem 10.625rem;
    min-height: 29.125rem;
    background-image: url("../images/hero-1920w.e54ce9630c0d.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 100%;
    padding-block: 2.875rem;
    padding-inline-start: 1.9375rem;
  }
}
@media (min-width: 80em) {
  .hero {
    min-height: 47.875rem;
    padding: 3.75rem;
    grid-template-rows: 11.25rem;
    margin-block-end: 5rem;
  }
}
.hero__hamburger-icon {
  margin-inline-start: auto;
  margin-inline-end: 0.5rem;
  margin-block-end: 3.125rem;
}
@media (min-width: 46.5em) {
  .hero__hamburger-icon {
    display: none;
  }
}
.hero__logo {
  margin-block-end: 4.625rem;
}
.hero__logo img {
  margin-inline: auto;
}
@media (min-width: 46.5em) {
  .hero__logo img {
    margin: 0;
    width: 21.875rem;
    height: 3.6875rem;
  }
}
@media (min-width: 80em) {
  .hero__logo img {
    width: 35.175rem;
    height: 5.93125rem;
  }
}
.hero__logo--small-margin {
  margin-block-end: 3.125rem;
}
.hero__navmenu {
  display: none;
}
@media (min-width: 46.5em) {
  .hero__navmenu {
    margin-inline-end: 1rem;
    margin-inline-start: auto;
    display: flex;
    width: 17.0625rem;
    justify-content: space-between;
    text-transform: uppercase;
    font-size: 0.875rem;
  }
}
@media (min-width: 80em) {
  .hero__navmenu {
    margin-inline-end: 0;
    margin-block-start: 2.25rem;
  }
}
.hero__text {
  font-size: 1rem;
  line-height: 1.875;
  max-width: 11.25rem;
  margin-inline-start: auto;
}
@media (max-width: 46.498em) {
  .hero__text {
    display: none;
  }
}
@media (min-width: 80em) {
  .hero__text {
    max-width: 18.25rem;
    margin-inline-end: 1.875rem;
  }
}
.hero__button {
  margin-inline: auto;
  align-self: flex-start;
}
@media (min-width: 46.5em) {
  .hero__button {
    grid-column: 1/3;
  }
}
@media (min-width: 80em) {
  .hero__button {
    grid-column: 2/3;
    margin-inline-end: 1.875rem;
  }
}
.hero__title {
  margin-block-end: 1.3125rem;
}
@media (min-width: 46.5em) {
  .hero__title {
    width: max-content;
    position: absolute;
    color: var(--text-secondary-color);
    letter-spacing: 0.25em;
    top: 4rem;
    left: 50%;
    transform: translate(-50%);
  }
}
@media (min-width: 80em) {
  .hero__title {
    position: unset;
    transform: unset;
    margin: 0;
    align-self: flex-end;
    grid-column: 2/3;
    grid-row: 1/2;
  }
}
.hero__subtitle {
  font-size: 1rem;
  text-transform: uppercase;
  margin-block-end: 2.625rem;
}
@media (min-width: 46.5em) {
  .hero__subtitle {
    font-size: 1.5rem;
    width: max-content;
    position: absolute;
    color: var(--text-secondary-color);
    letter-spacing: 0.6em;
    top: 9.6rem;
    left: 50%;
    transform: translate(-50%);
  }
}
@media (min-width: 80em) {
  .hero__subtitle {
    position: unset;
    transform: unset;
    margin: 0;
    grid-column: 2/3;
    grid-row: 2/3;
    align-self: flex-end;
  }
}
.hero__image {
  height: 95vw;
  object-fit: cover;
  object-position: 65% 50%;
  margin-block-end: 3.25rem;
}
@media (min-width: 46.5em) {
  .hero__image {
    height: 75.4vw;
    margin-block-end: 5.8125rem;
  }
}
@media (min-width: 80em) {
  .hero__image {
    display: none;
  }
}
.hero__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-inline: 0.75rem;
  font-size: 0.875rem;
}
@media (min-width: 46.5em) {
  .hero__form {
    padding-inline: 5.25rem;
    font-size: 1rem;
  }
}
@media (min-width: 80em) {
  .hero__form {
    padding: 0;
    font-size: 0.875rem;
    grid-column: 3/4;
    grid-row: 1/-1;
  }
}
.hero__section-subtitle {
  font-size: 1.5rem;
  margin-block-end: 2.375rem;
}
@media (min-width: 46.5em) {
  .hero__section-subtitle {
    align-self: center;
    margin-block-end: 4.5625rem;
  }
}
@media (min-width: 80em) {
  .hero__section-subtitle {
    margin-block-end: 3.5rem;
  }
}
.hero__contacts-wrapper {
  justify-self: flex-end;
  grid-row: 3/4;
  width: 100;
}
@media (max-width: 79.998em) {
  .hero__contacts-wrapper {
    display: none;
  }
}
.hero__social-wrapper {
  grid-row: 4/5;
  width: 100%;
}
@media (max-width: 79.998em) {
  .hero__social-wrapper {
    display: none;
  }
}
.hero__contacts-title, .hero__social-title {
  font-size: 1.5rem;
  text-transform: uppercase;
}
.hero__contacts-title {
  margin-block: 2rem;
  text-align: right;
}
.hero__social-title {
  margin-block-end: 2.25rem;
  text-align: right;
}
.hero__contacts {
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.8;
}
@media (max-width: 46.498em) {
  .hero__contacts {
    display: none;
  }
}
.hero__social {
  display: flex;
  justify-content: flex-end;
  column-gap: 1.1875rem;
}

.galleries {
  padding-block-start: 1.25rem;
  padding-inline: 0.75rem;
  text-align: center;
  min-height: 100vh;
}
@media (min-width: 46.5em) {
  .galleries {
    padding-block-start: 4.625rem;
    padding-inline: 1.875rem;
    padding-block-end: 2rem;
  }
}
@media (min-width: 80em) {
  .galleries {
    padding-block-start: 5.1875rem;
    padding-inline: 3.125rem;
    padding-block-end: 4rem;
  }
}
@media (min-width: 46.5em) {
  .galleries__header {
    display: flex;
  }
}
@media (min-width: 46.5em) {
  .galleries__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 4rem;
  }
}
@media (min-width: 80em) {
  .galleries__wrapper {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.galleries__section-heading {
  text-align: center;
  margin-block-end: 2rem;
}
@media (min-width: 46.5em) {
  .galleries__section-heading {
    margin-block-end: 3.5rem;
  }
}
.galleries__gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-block-end: 2rem;
}
.galleries__gallery-heading {
  margin-block-end: 1rem;
}
@media (min-width: 46.5em) {
  .galleries__gallery-heading {
    margin-block-end: 1.5rem;
  }
}
.galleries__image {
  border-radius: 48px;
  height: 17.5rem;
  width: 17.5rem;
  object-fit: cover;
  margin-block-end: 1rem;
}

.gallery {
  margin-block-end: 3.4375rem;
}
@media (min-width: 46.5em) {
  .gallery {
    padding-inline: 0.375rem;
    width: 100%;
    margin-block-end: 6.375rem;
  }
}
.gallery__title {
  text-align: center;
  margin-block-end: 2.5rem;
}
@media (min-width: 46.5em) {
  .gallery__title {
    margin-block-end: 4.5rem;
  }
}
.gallery__toggles {
  font-family: var(--font-heading);
  font-size: 1rem;
  display: none;
}
@media (min-width: 46.5em) {
  .gallery__toggles {
    display: flex;
    flex-direction: row;
    column-gap: 3.75rem;
    width: fit-content;
    margin-inline: auto;
    margin-block-end: 3rem;
  }
}
.gallery__toggle {
  background: transparent;
}
.gallery__toggle--active {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}
.gallery__container {
  visibility: hidden;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}
.gallery__photo {
  width: 49.59%;
  margin-block-end: 0.2rem;
}
@media (min-width: 46.5em) {
  .gallery__photo {
    width: 49.59%;
    margin-block-end: 0.375rem;
  }
}
@media (min-width: 80em) {
  .gallery__photo {
    width: 33.02%;
  }
}
.gallery__photo--narrow {
  width: 48.5937%;
}
.gallery__sticky-nav {
  position: sticky;
  visibility: hidden;
  top: 0;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
  height: 2.5rem;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 46.5em) {
  .gallery__sticky-nav {
    gap: 2rem;
    height: 5.625rem;
  }
}
.gallery__sticky-nav .gallery__toggle {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.5rem;
}
@media (min-width: 46.5em) {
  .gallery__sticky-nav .gallery__toggle {
    font-size: 1rem;
  }
}
.gallery__sticky-nav .gallery__toggle--active {
  text-underline-offset: 0.4rem;
}
@media (min-width: 46.5em) {
  .gallery__sticky-nav .gallery__toggle--active {
    text-underline-offset: 0.875rem;
  }
}

.gallery-header {
  padding-block-start: 1.25rem;
  padding-inline: 0.75rem;
  text-align: center;
}
@media (min-width: 46.5em) {
  .gallery-header {
    padding-block-start: 4.625rem;
    padding-inline: 1.875rem;
    padding-block-end: 2rem;
  }
}
@media (min-width: 80em) {
  .gallery-header {
    padding-block-start: 5.1875rem;
    padding-inline: 3.125rem;
    padding-block-end: 4rem;
  }
}
@media (min-width: 46.5em) {
  .gallery-header__header {
    display: flex;
  }
}
.gallery-header__back-link {
  display: block;
  width: fit-content;
  margin-block-end: 0.75rem;
  margin-inline-end: auto;
  font-size: 0.95rem;
  color: var(--text-color);
}
.gallery-header__back-link:hover {
  text-decoration: underline;
}
.gallery-header__section-heading {
  text-align: center;
  margin-block-end: 2rem;
}
@media (min-width: 46.5em) {
  .gallery-header__section-heading {
    margin-block-end: 3.5rem;
  }
}

.info__text-wrapper {
  padding-inline: 1.125rem;
}
@media (min-width: 46.5em) {
  .info__text-wrapper {
    padding-inline: 6.75rem;
  }
}
@media (min-width: 80em) {
  .info__text-wrapper {
    padding-inline: 6rem;
  }
}
.info__title {
  text-align: center;
  margin-block-end: 4rem;
}
@media (min-width: 46.5em) {
  .info__title {
    margin-block-end: 5rem;
  }
}
@media (min-width: 80em) {
  .info__title {
    margin-block-end: 4.375rem;
  }
}
.info__title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  text-align: center;
  margin-block-end: 3.25rem;
}
@media (min-width: 46.5em) {
  .info__title {
    font-size: 3rem;
    margin-block-end: 3rem;
  }
}
@media (min-width: 80em) {
  .info__title {
    text-align: center;
    margin-block-end: 2.375rem;
  }
}
.info__title--small {
  font-size: 1.25rem;
}
.info__text {
  font-size: 1.125rem;
  line-height: 1.667;
  margin-block-end: 1.875rem;
  text-align: center;
}
.info__text--last {
  margin-block-end: 4.125rem;
}
@media (min-width: 46.5em) {
  .info__text--last {
    margin-block-end: 5rem;
  }
}
.info__price-wrapper {
  background-color: var(--background-menu);
  padding-inline: 1.125rem;
  padding-block-start: 5rem;
  padding-block-end: 7.75rem;
}
@media (min-width: 46.5em) {
  .info__price-wrapper {
    padding-inline: 6.75rem;
    padding-block-end: 5.375rem;
  }
}
@media (min-width: 46.5em) {
  .info__price-text-wrapper {
    margin-block-end: 3.33rem;
  }
}
@media (min-width: 80em) {
  .info__price-text-wrapper {
    flex: 1;
  }
}
.info__table {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.info__table-entry-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block-start: 2.25rem;
}
.info__table-entry-wrapper:first-child {
  padding-block-start: 0;
}
.info__table-entry-wrapper:not(:last-child)::after {
  content: "";
  width: 82vw;
  height: 1px;
  background-color: var(--text-color);
  margin-block-start: 2.25rem;
}
@media (min-width: 46.5em) {
  .info__table-entry-wrapper:not(:last-child)::after {
    width: 53vw;
  }
}
@media (min-width: 80em) {
  .info__table-entry-wrapper:not(:last-child)::after {
    width: 30vw;
  }
}
.info__table-term {
  font-size: 1.125rem;
  font-weight: 700;
  margin-block-end: 1.375rem;
}
.info__table-description {
  font-size: 1.25rem;
}
.info__contacts-wrapper {
  padding-block-start: 4.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1.25rem;
}
@media (min-width: 46.5em) {
  .info__contacts-wrapper {
    padding-block-start: 5rem;
  }
}
.info__social-wrapper {
  padding-block-start: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (min-width: 46.5em) {
  .info__social-wrapper {
    padding-block-start: 6.125rem;
  }
}
.info__contact {
  font-family: var(--font-heading);
  font-size: 1.29rem;
  margin-block-end: 1.5rem;
  text-align: center;
}
@media (min-width: 46.5em) {
  .info__contact {
    font-size: 2rem;
  }
}
@media (min-width: 80em) {
  .info__contact {
    margin-block-end: 2rem;
  }
}
.info__contact:last-of-type {
  margin-block-end: 2.5rem;
}
@media (max-width: 46.498em) {
  .info__contact--large {
    font-size: 1.5rem;
  }
}
.info__contact--small {
  font-size: 1rem;
}
@media (min-width: 46.5em) {
  .info__contact--small {
    font-size: 1.5rem;
  }
}

.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background-menu);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.5s ease-in-out;
  overflow: hidden;
  padding: 2rem 1.5rem;
}
.menu.active {
  transform: translateX(0);
}
.menu__content {
  text-align: center;
}
.menu__nav {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.menu__nav .menu__link {
  text-decoration: none;
  font-family: var(--font-heading);
  color: var(--text-primary-color);
  font-size: 1.5rem;
  line-height: 1.2;
}
.menu__close-icon {
  width: 1.65rem;
  height: 1.65rem;
  margin-inline-start: auto;
}

.footer {
  padding-block-start: 4rem;
  padding-block-end: 3.5rem;
}
.footer__text {
  font-family: var(--font-heading);
  font-size: 1rem;
  text-align: center;
}

.photo-popup {
  background: transparent;
  width: calc(100% - 3rem);
  height: calc(100% - 3rem);
  max-height: 100%;
  max-width: 100%;
  margin: auto;
}
.photo-popup__arrow-left, .photo-popup__arrow-right {
  position: absolute;
  top: 95%;
  transform: translateY(-50%);
  background-color: transparent;
  opacity: 0.5;
}
@media (min-width: 46.5em) {
  .photo-popup__arrow-left, .photo-popup__arrow-right {
    top: 50%;
  }
}
.photo-popup__arrow-left svg path, .photo-popup__arrow-right svg path {
  transition: stroke-width 0.2s ease;
  stroke-linecap: 0.2 ease;
}
.photo-popup__arrow-left {
  left: 5%;
}
.photo-popup__arrow-right {
  right: 5%;
}
.photo-popup__close-button {
  position: absolute;
  top: 0;
  right: 0;
  background-color: transparent;
  cursor: pointer;
  padding: 0.75rem 1rem;
  z-index: 2;
}
.photo-popup__close-button svg {
  height: 1rem;
  width: 1rem;
}
@media (min-width: 46.5em) {
  .photo-popup__close-button svg {
    height: 2rem;
    width: 2rem;
  }
}
@media (min-width: 80em) {
  .photo-popup__close-button svg {
    height: 2.5rem;
    width: 2.5rem;
  }
}
.photo-popup__close-button svg path {
  transition: stroke-width 0.2s ease;
  stroke-linecap: 0.2 ease;
}
.photo-popup__wrapper {
  max-width: 100%;
  max-height: 100%;
}
.photo-popup__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin: auto;
  opacity: 0;
  transition: opacity 0.2s ease-in;
}
.photo-popup__image.is-loaded {
  opacity: 1;
}
.photo-popup__spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.5rem;
  height: 2.5rem;
  margin: -1.25rem 0 0 -1.25rem;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  animation: spin 0.7s linear infinite;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6));
  pointer-events: none;
}
.photo-popup__spinner.is-hidden {
  display: none;
}
.photo-popup__close-button:hover, .photo-popup__arrow-left:hover, .photo-popup__arrow-right:hover {
  opacity: 1;
}
.photo-popup__close-button:hover svg path, .photo-popup__arrow-left:hover svg path, .photo-popup__arrow-right:hover svg path {
  stroke-width: 4;
  stroke-linecap: round;
}

@media (prefers-reduced-motion: reduce) {
  .photo-popup__spinner {
    animation-duration: 2.5s;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.gallery__toggle.htmx-request::after, .form-button.htmx-request::after {
  box-sizing: border-box;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: spin 0.7s linear infinite;
}

.form-button.htmx-request {
  position: relative;
  color: transparent;
  pointer-events: none;
}
.form-button.htmx-request::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.1rem;
  height: 1.1rem;
  margin: -0.55rem 0 0 -0.55rem;
  color: var(--text-secondary-color);
}

.gallery__toggle.htmx-request {
  pointer-events: none;
}
.gallery__toggle.htmx-request::after {
  content: "";
  display: inline-block;
  width: 0.75rem;
  height: 0.75rem;
  margin-inline-start: 0.4em;
  vertical-align: middle;
}

@media (prefers-reduced-motion: reduce) {
  .form-button.htmx-request::after,
  .gallery__toggle.htmx-request::after {
    animation-duration: 2.5s;
  }
}
.thank-you {
  background: radial-gradient(50% 50% at 50% 50%, #F8DDF1 0%, #FFFFFF 100%);
  padding-inline: 1.375rem;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}
.thank-you__heading {
  font-size: 3rem;
  margin-block-end: 1rem;
}
@media (min-width: 46.5em) {
  .thank-you__heading {
    font-size: 5.3125rem;
  }
}
.thank-you__text:last-of-type {
  margin-block-end: 2.75rem;
}
@media (min-width: 46.5em) {
  .thank-you__bird {
    position: absolute;
    top: 50%;
    left: 50%;
  }
  .thank-you__bird--1 {
    transform: translate(-290%, -175%);
  }
  .thank-you__bird--2 {
    transform: translate(90%, -10%);
  }
}
@media (min-width: 46.5em) and (min-width: 80em) {
  .thank-you__bird--2 {
    transform: translate(100%, -5%);
  }
}
