@font-face {
  font-family: "Lora";
  src:
    url("../fonts/Lora-Regular.woff2") format("woff2"),
    url("../fonts/Lora-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src:
    url("../fonts/Lora-Italic.woff2") format("woff2"),
    url("../fonts/Lora-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

:root {
  --color-main: #254e36;
  --color-secondary: #d7eded;
  --color-white: #fff;
  --color-white-rgb: 255, 255, 255;
  --color-black: #000;

  --color-bg: var(--color-secondary);
  --color-surface: var(--color-white);
  --color-primary: var(--color-main);
  --color-accent: var(--color-main);
  --color-accent-2: #4a8c63;
  --color-text: var(--color-black);
  --color-border: #b8d8d8;

  --font-serif: "Lora", serif;

  --container: 1540px;
  --header-h: 108px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(37, 78, 54, 0.12);
  --shadow-lg: 0 12px 48px rgba(37, 78, 54, 0.2);

  --transition: 0.25s ease;

  --animation-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration-micro: 0.3s;
  --duration-block: 0.7s;
  --duration-slide: 1s;
}

[id] {
  scroll-margin-top: 56px;
}

@media (min-width: 768px) {
  [id] {
    scroll-margin-top: 186px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    translate: 0 24px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    translate: -24px 0;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    translate: 24px 0;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes slideDownOpen {
  from {
    opacity: 0;
    translate: 0 -100%;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    scale: 0.95;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

@keyframes slideUpIn {
  from {
    opacity: 0;
    translate: 0 40px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes fadeInZoom {
  from {
    opacity: 0;
    scale: 1.05;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

body {
  display: flex;
  flex-direction: column;
  font-family: var(--font-serif);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 768px) {
  body {
    font-size: 1.125rem;
  }
}

body.no-scroll {
  overflow: hidden;
}

main {
  flex: 1;
  overflow: hidden;
}

img {
  height: auto;
}

p,
h2 {
  line-height: 1.4;
}

figcaption {
  padding: 10px;
  background: #e9edeb;
  color: #254e36;
  text-align: center;
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 400;
  line-height: 150%;
}

blockquote {
  position: relative;
  padding: 20px 0 20px 54px;
  border-top: 1px solid #254e36;
  border-bottom: 1px solid #254e36;
  color: #000;
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 400;
  line-height: 150%;
}

blockquote::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  background-image: url("../icons/quote.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 34px;
  height: 32px;
}

@media (min-width: 768px) {
  figcaption {
    padding: 21px;
    font-size: 1rem;
    line-height: 1.1;
  }

  blockquote {
    padding: 40px 0 40px 78px;
    font-size: 1.375rem;
  }

  blockquote::before {
    top: 48px;
    width: 38px;
    height: 36px;
  }
}

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: 0.625rem;
}

.container-fluid {
  max-width: 1920px;
  margin-inline: auto;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  transition: all var(--duration-micro) var(--animation-ease);
  white-space: nowrap;
  height: 50px;
  text-transform: uppercase;
  cursor: pointer;
}

@media (min-width: 768px) {
  .btn {
    padding: 0.875rem 2.5rem;
    height: 54px;
    font-size: 1.125rem;
  }
}

.btn--primary {
  background: var(--color-main);
  border: 1px solid var(--color-main);
  color: var(--color-white);
}
.btn--primary:hover {
  background: var(--color-white);
  color: var(--color-main);
}

.btn--outline {
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}
.btn--outline:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--ghost {
  border: 1px solid var(--color-white);
  color: var(--color-white);
}
.btn--ghost:hover {
  border-color: #254e36;
  background: #254e36;
  color: var(--color-white);
}

.btn--green {
  border: 1px solid #254e36;
  color: #254e36;
}
.btn--green:hover {
  background: #254e36;
  color: var(--color-white);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  color: var(--color-accent);
  transition: gap var(--duration-micro) var(--animation-ease);
}
.link-arrow:hover {
  gap: 0.75rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.header {
  position: relative;
  z-index: 902;
  background: var(--color-main);
  color: var(--color-white);
  height: 50px;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow 0.3s ease;
}

.header--scrolled {
  position: sticky;
  top: 0;
  box-shadow: 0 10px 40px 0 rgba(0, 0, 0, 0.25);
  animation: slideDownOpen 0.6s var(--animation-ease);
}

.header__top {
  display: none;
}

.header__top-inner {
  display: none;
}

.header__util-nav {
  display: none;
}

.header__util-link {
  display: none;
}

.header__util-link--cta {
  display: none;
}

.header__util-actions {
  display: none;
}

.header__main {
  height: 50px;
}

.header__main-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}

.header__logo img {
  flex-shrink: 0;
  width: 51px;
  height: 30px;
}

.header__logo-tagline {
  font-size: 11px;
  line-height: 1.4;
  color: var(--color-white);
  flex: 1;
  min-width: 0;
}

.main-nav {
  display: none;
}

.main-nav__list {
  display: none;
}

.main-nav__item {
  position: relative;
  display: flex;
  align-items: center;
}

.main-nav__link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 0.875rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  height: 100%;
  transition:
    background var(--duration-micro) var(--animation-ease),
    color var(--duration-micro) var(--animation-ease);
}

.main-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 240px;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  background: #1e3e2b;
  z-index: 10;
  list-style: none;
  margin: 0;
  padding: 20px 0;
  border-radius: 0 0 4px 4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s var(--animation-ease),
    visibility 0.25s var(--animation-ease);
}

.main-nav__dropdown__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.main-nav__item--has-dropdown:hover .main-nav__dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.main-nav__dropdown-link {
  display: block;
  font-size: 1rem;
  text-decoration: none;
}

.main-nav__dropdown-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

.header__actions {
  display: none;
}

.header__icon-btn {
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  color: var(--color-white);
  font-size: 0.875rem;
  line-height: 1;
  transition: background var(--duration-micro) var(--animation-ease);
}

body.menu-open .header .header__search-mob {
  display: none;
}

.header__search-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 199;
  display: flex;
  width: 100%;
  height: 100dvh;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  animation: slideDownOpen var(--duration-micro) var(--animation-ease);
}
.header__search-bar[hidden] {
  display: none;
}
.header__search-bar::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: -1;
}

.header__search-bar__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background: var(--color-white);
}

.header__search-container {
  position: relative;
  display: flex;
  gap: 0;
  align-items: center;
  padding-block: 13px;
}

.header__search-bar__wrapper:has(.header__search__content)
  .header__search-container::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 1px;
  background: rgba(178, 178, 178, 0.44);
}

.header__search__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-block: 25px;
  color: var(--color-black);
  overflow-y: auto;
}

.header__search__item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

.header__search__item__title {
  font-size: 1.125rem;
  font-weight: 400;
}

.header__search__item__tag {
  padding: 5px 10px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  line-height: 1;
  color: rgba(0, 0, 0, 0.5);
}

.header__search__item__date {
  font-style: italic;
  font-size: 1;
  line-height: 1;
  color: rgba(0, 0, 0, 0.5);
}

.header__basket {
  position: relative;
}

.header__basket > img {
  width: 20px;
  height: 20px;
}

.header__basket > p {
  position: absolute;
  top: -7px;
  right: -7px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #d7eded;
  border-radius: 50%;
  padding: 2px 4px;
  color: #254e36;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

@media (min-width: 768px) {
  .header__search__content {
    gap: 2.125rem;
    padding-block: 50px;
  }

  .header__search__item__head {
    gap: 10px 20px;
  }

  .header__search__item__title {
    font-size: 1.5rem;
  }

  .header__search__item__tag {
    padding: 7px 10px;
  }

  .header__search__item__date {
    font-size: 1.125rem;
  }
}

.search-form {
  display: flex;
  gap: 24px;
  flex: 1;
  align-items: center;
}

.search-form__input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 0.875rem;
}
.search-form__input::placeholder {
  color: #999;
}
.search-form__input:focus {
  outline: none;
}

.search-form__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  order: -1;
}
.search-form__btn svg {
  width: 100%;
  height: 100%;
}
.search-form__btn {
  transition: opacity var(--duration-micro) var(--animation-ease);
}
.search-form__btn:hover {
  opacity: 0.7;
}

.search-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color var(--duration-micro) var(--animation-ease);
  padding: 0;
}

.header__search-mob {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu__footer__wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #416a52;
}

.header__login {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.header__login img {
  width: 20px;
  height: 20px;
}

.burger {
  display: flex;
  flex-direction: column;
  width: 16px;
  height: 10px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  gap: 2px;
}

.burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  transition: all 0.3s ease;
  transform-origin: center;
}

.burger__line--3 {
  width: 50%;
}

.burger[aria-expanded="true"] .burger__line--1 {
  transform: translateY(4px) rotate(45deg);
}

.burger[aria-expanded="true"] .burger__line--2 {
  transform: translateY(-0.2px) rotate(-45deg);
}

.burger[aria-expanded="true"] .burger__line--3 {
  opacity: 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 901;
  background: var(--color-main);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  padding: 50px 10px 0;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu__overlay {
  display: none;
}

.mobile-menu__cta {
  padding: 20px 0;
  flex-shrink: 0;
}

.btn--cta-outline {
  text-align: center;
  border: 1px solid var(--color-white);
  text-transform: uppercase;
  color: var(--color-white);
}

.btn--cta-outline:hover {
  background: var(--color-main);
}

.mobile-nav__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #416a52;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.875rem;
  color: var(--color-white);
  text-align: left;
  transition: background var(--transition);
}

.mobile-nav__link img {
  flex-shrink: 0;
}

.mobile-nav__item--has-sub {
  position: relative;
}

.mobile-subnav {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--color-main);
  z-index: 1;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  visibility: hidden;
  display: flex;
  flex-direction: column;
}

.mobile-subnav.is-open {
  position: static;
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  width: 100%;
  overflow-x: hidden;
}

.mobile-subnav__back {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-white);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
  flex-shrink: 0;
}

.mobile-nav__list--sub {
  gap: 14px;
  padding: 20px 26px 0;
  border-bottom: none;
}

.mobile-subnav__back img {
  flex-shrink: 0;
}

.mobile-menu__footer {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.mobile-menu__utils {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #416a52;
}

.mobile-menu__socials {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
  padding: 20px 0;
}
.mobile-menu__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
    #254e36;
  transition: background var(--duration-micro) var(--animation-ease);
}

.mobile-menu__socials a:hover {
  background: var(--color-white);
}

.mobile-menu__socials a svg {
  max-width: 22px;
  max-height: 24px;
  object-fit: contain;
  object-position: center;
}

.mobile-menu__socials a svg path {
  transition: fill var(--duration-micro) var(--animation-ease);
}

.mobile-menu__socials a:hover svg path {
  fill: var(--color-main);
}

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

/* Footer */
.footer {
  padding: 40px 0 10px;
  background: var(--color-primary);
  color: var(--color-white);
}

.footer.js-hidden {
  opacity: 0;
  translate: 0 40px;
}

.footer.js-visible {
  animation: slideUpIn 0.8s var(--animation-ease) forwards;
}

.footer > .container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__main {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-size: 0.75rem;
}

.footer__creator {
  display: flex;
  align-items: center;
  gap: 1rem;
  line-height: 1.2;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer__col:first-child {
  margin-bottom: 6px;
}

.footer__col:last-child {
  margin-top: 6px;
}

.footer__nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  font-size: 0.75rem;
}

.footer__logo img {
  flex-shrink: 0;
}

.footer__socials {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.2) 100%),
    #254e36;
  transition: background var(--duration-micro) var(--animation-ease);
}
.footer__socials a:hover {
  background: var(--color-white);
}

.footer__socials a svg path {
  transition: fill var(--duration-micro) var(--animation-ease);
}

.footer__socials a:hover svg path {
  fill: var(--color-main);
}

.footer a {
  text-decoration: none;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.footer__copy-section {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 0.75rem;
}

.header__text {
  display: none;
}

@media (min-width: 1024px) {
  .header {
    height: auto;
  }

  .header__top {
    display: block;
    background: rgba(0, 0, 0, 0.2);
    padding: 14px 0;
    border-bottom: none;
  }

  .header__top-inner {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
    align-items: center;
    width: min(100%, var(--container));
    margin-inline: auto;
  }

  .header__util-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    font-size: 16px;
    align-items: center;
  }

  .header__util-nav:not(.header__util-nav--first) {
    margin-left: auto;
  }

  .home-page .header__util-nav--first {
    display: none;
  }

  .header__top-inner:has(> .header__util-nav--first) {
    justify-content: space-between;
  }

  .header__util-link {
    display: inline-block;
    color: var(--color-white);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity var(--duration-micro) var(--animation-ease);
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    line-height: 1;
  }

  .header__util-link--cta {
    display: inline-block;
  }

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

  .header__main {
    position: relative;
    height: auto;
  }

  .header__main-inner {
    position: static;
    gap: 0 10px;
    align-items: initial;
    justify-content: end;
    flex-wrap: wrap;
  }

  .header__main .js-search-toggle {
    display: none;
  }

  .header__login {
    padding: 0;
    border: none;
    font-size: 1rem;
  }

  .header__logo {
    gap: 20px;
    flex: 0 0 auto;
  }

  .header__logo img {
    width: 85px;
    height: 50px;
  }

  .header__logo-tagline {
    font-size: 1rem;
    max-width: 200px;
  }

  .header__icon-btn {
    min-width: 12px;
    font-size: 1rem;
  }

  .main-nav {
    display: flex;
    flex: 1;
    justify-content: center;
  }

  .main-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0 10px;
    list-style: none;
  }

  .main-nav__item {
    position: static;
  }

  .main-nav__link {
    padding: 26px 0;
    font-size: 1rem;
    text-decoration: none;
    transition: text-decoration var(--duration-micro) var(--animation-ease);
  }

  .main-nav__link:hover {
    text-decoration: underline;
  }

  .main-nav__dropdown {
    min-width: 260px;
  }

  .main-nav__item--has-dropdown:hover .main-nav__dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .main-nav__dropdown > .container {
    display: flex;
    gap: clamp(1.5rem, 10vw, 7.5625rem);
  }

  .main-nav__dropdown > .container > * {
    flex: 1;
  }

  .main-nav__dropdown > .container > p {
    font-size: 2.25rem;
  }

  .header__actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: clamp(20px, 5vw, 30px);
  }

  .header__search-mob {
    display: none;
  }

  .burger {
    display: none;
  }

  .header__search-container {
    padding-block: 53px;
  }

  .search-form {
    gap: 46px;
  }

  .search-form__input {
    font-size: 2rem;
  }

  .search-form__btn {
    width: 36px;
    height: 36px;
  }

  .search-close {
    width: 34px;
    height: 34px;
  }

  .header__text {
    display: block;
    overflow: hidden;
    padding: 14px 0;
    background: #d7eded;
  }

  .header__text-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-text 15s linear infinite;
  }

  .header__text-track > p {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #254e36;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
    flex-shrink: 0;
    padding-right: 15px;
  }

  @keyframes scroll-text {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }

  /* Footer */
  .footer {
    padding: 100px 0;
  }

  .footer > .container {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }

  .footer__main {
    flex-direction: row;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
    font-size: 0.875rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  }

  .footer__creator {
    gap: 1.75rem;
  }

  .footer__col {
    flex: 1;
    gap: 2.5rem;
  }

  .footer__col:first-child {
    margin-bottom: 0;
  }

  .footer__col:last-child {
    flex-direction: column-reverse;
    justify-content: flex-end;
    margin-top: 0;
  }

  .footer__nav-group {
    gap: 11px;
    font-size: 0.875rem;
  }

  .footer__logo img {
    width: 250px;
    height: 182px;
    aspect-ratio: 125/91;
  }

  .footer__copy-section {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.875rem;
  }
  .footer__copy-section > p {
    order: -1;
  }
}

.js-hidden {
  opacity: 0;
  translate: 0 24px;
  transition:
    opacity var(--duration-block) var(--animation-ease),
    translate var(--duration-block) var(--animation-ease);
}

.js-visible {
  opacity: 1;
  translate: 0 0;
}

.header--scrolled {
  box-shadow: 0 2px 16px rgba(37, 78, 54, 0.12);
}

.nav__link--active {
  color: var(--color-primary);
  background: var(--color-border);
}

.form-field input.field--error,
.form-field textarea.field--error {
  border-color: #c0392b;
}

.form-success {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(139, 94, 60, 0.08);
  border: 1.5px solid var(--color-accent);
  color: var(--color-primary);
  font-size: 0.9375rem;
  text-align: center;
}

@media (min-width: 1600px) {
  .main-nav {
    padding-left: clamp(30px, 8vw, 62px);
  }

  .main-nav__list,
  .header__main-inner {
    gap: 0 30px;
  }

  .header__logo-tagline {
    max-width: 270px;
  }
}

/* Swiper */

.swiper-button-prev,
.swiper-button-next {
  width: 44px;
  height: 44px;
  border: 1.25px solid var(--color-white);
  background: transparent;
  display: flex;
  padding: 12px;
  color: var(--color-white);
  transition: all var(--duration-micro) var(--animation-ease);
}

.swiper-button-prev--green,
.swiper-button-next--green {
  border-color: #254e36;
  color: #254e36;
}

.swiper-button-prev svg path,
.swiper-button-next svg path {
  transition: fill var(--duration-micro) var(--animation-ease);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--color-white);
}

.swiper-button-prev:hover svg path,
.swiper-button-next:hover svg path {
  fill: var(--color-primary);
}

.swiper-button-prev--green:hover,
.swiper-button-next--green:hover {
  background: #254e36;
  color: var(--color-white);
}

.swiper-button-prev--green:hover svg path,
.swiper-button-next--green:hover svg path {
  fill: var(--color-white);
}

/* Hero */

.hero {
  position: relative;
}

.hero__slide {
  position: relative;
  padding-block: 122px;
  height: auto;
  overflow: hidden;
}

.hero__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.5) 100%
  );
  background-repeat: no-repeat;
  background-size: cover;
}

.hero__slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: fadeInZoom 3.5s ease-out forwards;
}

.hero__content {
  position: relative;
  z-index: 2;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 140%;
  color: var(--color-white);
}

.hero__title {
  color: var(--color-white);
  font-size: 3rem;
  font-style: italic;
  font-weight: 400;
  line-height: 140%;
  animation: slideUpIn 0.8s var(--animation-ease) 0.5s forwards;
  opacity: 0;
}

.hero__description {
  animation: slideUpIn 0.8s var(--animation-ease) 0.5s forwards;
  opacity: 0;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-top: 2.5rem;
  animation: slideUpIn 0.8s var(--animation-ease) 0.7s forwards;
  opacity: 0;
}

.hero__buttons .swiper-button-next,
.hero__buttons .swiper-button-prev {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  width: 50px;
  height: 50px;
}

.hero__buttons__wrap {
  display: flex;
  gap: 12.5px;
}

@media (min-width: 768px) {
  .hero__slide {
    padding-block: clamp(200px, 16vw, 338px);
  }

  .hero__title {
    font-size: clamp(2.25rem, 5vw, 6rem);
  }

  .hero__content {
    font-size: clamp(1.125rem, 2vw, 2.5rem);
  }

  .hero__button {
    padding: 16px 40px;
    font-size: 1.375rem;
  }

  .hero__buttons .swiper-button-next,
  .hero__buttons .swiper-button-prev {
    width: 55px;
    height: 55px;
  }
}

@media (min-width: 1024px) {
  .hero__content {
    width: 50%;
  }
}

@media (min-width: 1280px) {
  .hero__content {
    width: 40%;
  }
}

/* Services */

.services {
  display: none;
}

.services > .container ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 30px;
}

.services > .container li {
  opacity: 0;
}

.services.js-visible > .container li {
  animation: slideUpIn 0.8s var(--animation-ease) forwards;
}

.services.js-visible > .container li:nth-child(1) {
  animation-delay: 0s;
}

.services.js-visible > .container li:nth-child(2) {
  animation-delay: 0.15s;
}

.services.js-visible > .container li:nth-child(3) {
  animation-delay: 0.3s;
}

.services.js-visible > .container li:nth-child(4) {
  animation-delay: 0.45s;
}

.services > .container a {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-white);
  text-decoration: none;
}

@media (min-width: 768px) {
  .services {
    display: block;
    padding: 14px;
    background: #1e3e2b;
  }
}

/* Section */

.section {
  padding: 2.5rem 0;
  opacity: 0;
  transition:
    opacity var(--duration-block) var(--animation-ease),
    translate var(--duration-block) var(--animation-ease);
  translate: 0 24px;
}

.section.js-visible {
  opacity: 1;
  translate: 0 0;
}

.section__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.section__title > p {
  display: none;
}

.section__title > h2 {
  font-size: 1.75rem;
  font-weight: 400;
  text-transform: uppercase;
  text-align: center;
  color: var(--color-black);
}

.section__title > img {
  width: 210px;
}

.section__title > h2,
.section__title > p,
.section__title > img {
  opacity: 0;
}

.section__title.js-visible > p {
  animation: fadeIn 0.8s var(--animation-ease) forwards;
}

.section__title.js-visible > h2 {
  animation: slideUpIn 0.8s var(--animation-ease) 0.15s forwards;
}

.section__title.js-visible > img {
  animation: slideUpIn 0.8s var(--animation-ease) 0.3s forwards;
}

.home-page .section__title {
  margin: 0;
}

.section__subtitle {
  margin-bottom: 2.25rem;
  color: #000;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 140%;
  text-transform: uppercase;
  text-align: center;
}

.section__subtitle--little {
  font-weight: 500;
}

.section__wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.section__wrapper > .section {
  padding: 0;
}

@media (min-width: 768px) {
  .section {
    padding: 3.75rem 0 6.25rem;
  }

  .section__title {
    position: relative;
  }

  .section__title > p {
    position: absolute;
    top: 25%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    display: block;
    color: rgba(0, 0, 0, 0.04);
    text-align: center;
    font-size: clamp(50px, 10vw, 128px);
    line-height: 1;
    font-style: italic;
    text-transform: lowercase;
    pointer-events: none;
  }

  .section__title > h2 {
    position: relative;
    font-size: 3.25rem;
    z-index: 1;
  }

  .section__title > img {
    position: relative;
    z-index: 1;
  }

  .section__title > img {
    width: 395px;
  }

  .section__subtitle {
    font-size: 2rem;
  }

  .section__subtitle--little {
    font-size: 1.5rem;
  }

  .section__wrapper {
    gap: 5rem;
  }

  .section__wrapper--content {
    gap: 2.5rem;
  }
}

/* Events */

.events {
  background: #254e36;
}

.events .section__title > h2 {
  color: var(--color-white);
}

.events .section__title > p {
  color: rgba(255, 255, 255, 0.04);
}

.events__slider-wrapper {
  position: relative;
  margin-block: 2.5rem;
}

.events__swiper {
  width: 100%;
}

.events__slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

.events__card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  opacity: 0;
}

.events__slide.js-visible .events__card {
  animation: slideUpIn 0.8s var(--animation-ease) forwards;
}

.events__slide:nth-child(1) .events__card {
  animation-delay: 0s;
}

.events__slide:nth-child(2) .events__card {
  animation-delay: 0.1s;
}

.events__slide:nth-child(3) .events__card {
  animation-delay: 0.2s;
}

.events__slide:nth-child(4) .events__card {
  animation-delay: 0.3s;
}

.events__slide:nth-child(5) .events__card {
  animation-delay: 0.4s;
}

.events__slide:nth-child(6) .events__card {
  animation-delay: 0.5s;
}

.events__slide:nth-child(7) .events__card {
  animation-delay: 0.6s;
}

.events__slide:nth-child(8) .events__card {
  animation-delay: 0.7s;
}

.events__slide:nth-child(9) .events__card {
  animation-delay: 0.8s;
}

.events__slide:nth-child(10) .events__card {
  animation-delay: 0.9s;
}

.events__card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 65.81%,
    rgba(0, 0, 0, 0.67) 85.12%,
    rgba(0, 0, 0, 0.7) 99.92%
  );
}

.events__image {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transition: transform var(--duration-micro) var(--animation-ease);
}

.events__card:hover .events__image {
  transform: scale(1.05);
}

.events__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  color: var(--color-white);
  z-index: 1;
}

.events__content__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.events__content__header > p:not(:last-child) {
  position: relative;
}

.events__content__header > p:not(:last-child)::after {
  content: "·";
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
}

.events__content__tag {
  align-self: self-start;
  padding: 4px 10px;
  font-size: 0.875rem;
  line-height: 1;
  border: 1px solid #fff;
}

.events__title {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 140%;
}

.events__nav {
  display: none;
  gap: 0.625rem;
}

.events__button--prev,
.events__button--next {
  width: 44px;
  height: 44px;
}

.events__description {
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .events {
    position: relative;
  }

  .events::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 25%;
    height: 100%;
    background-image: url("../images/event-bg.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position-y: bottom;
    z-index: -1;
  }

  .events__content {
    padding: 2.5rem;
    gap: 1rem;
  }

  .events__image {
    max-height: 665px;
  }

  .events__content__tag {
    font-size: 1rem;
  }

  .events__title {
    font-size: 1.375rem;
  }

  .events__button--prev,
  .events__button--next {
    top: -86px;
    right: 0;
    left: auto;
    transform: translateY(-50%);
  }

  .events__button--prev {
    transform: translate(calc(-100% - 0.625rem), -50%);
  }

  .section__link {
    display: flex;
    justify-content: center;
  }

  .section__link .btn {
    padding: 16px 40px;
    font-size: 1.25rem;
  }
}

@media (min-width: 992px) {
  .events__nav {
    display: flex;
  }
}

/* News */

.news {
  background: rgba(37, 78, 54, 0.1);
}

.news__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-block: 2.5rem;
}

.news__content .events__card {
  height: auto;
  opacity: 1;
}

.news__content .events__image {
  aspect-ratio: 75/101;
}

.news__content__items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news__content__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 1.625rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--color-black);
  opacity: 0;
}

.news__title {
  transition: color var(--duration-micro) var(--animation-ease);
}

.news__content__item:hover .news__title {
  color: #254e36;
}

.news__content__items.js-visible .news__content__item {
  animation: slideUpIn 0.8s var(--animation-ease) forwards;
}

.news__content__items.js-visible .news__content__item:nth-child(1) {
  animation-delay: 0s;
}

.news__content__items.js-visible .news__content__item:nth-child(2) {
  animation-delay: 0.1s;
}

.news__content__items.js-visible .news__content__item:nth-child(3) {
  animation-delay: 0.2s;
}

.news__content__items.js-visible .news__content__item:nth-child(4) {
  animation-delay: 0.3s;
}

.news__content__items.js-visible .news__content__item:nth-child(5) {
  animation-delay: 0.4s;
}

.news__content__items.js-visible .news__content__item:nth-child(6) {
  animation-delay: 0.5s;
}

.news__content__item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.news__date {
  font-style: italic;
}

@media (min-width: 768px) {
  .news__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .news__content {
    grid-template-columns: repeat(3, 1fr);
  }

  .news__content .events__card {
    grid-column: 1/2;
    height: 100%;
  }

  .news__slider {
    grid-column: 2/-1;
  }

  .news__content__items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.625rem 2.5rem;
  }

  .news__content__item:last-child {
    padding-bottom: 1.625rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }

  .news__content .events__image {
    height: 100%;
    max-height: unset;
  }
}

.news__slider {
  position: relative;
}

.news__swiper {
  width: 100%;
}

.news__swiper .swiper-slide {
  height: auto;
}

.news__nav {
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.5rem;
}

.news__button--prev,
.news__button--next {
  position: static;
  width: 44px;
  height: 44px;
  margin: 0;
}

.news__button--prev::after,
.news__button--next::after {
  display: none;
}

@media (min-width: 992px) {
  .news__nav {
    position: absolute;
    top: -72px;
    right: 0;
    margin-top: 0;
  }

  .news__button--prev {
    left: auto;
  }
}

/* Invitations */

.invitations > .container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.invitation__item {
  display: flex;
  flex-direction: column;
  opacity: 0;
}

.invitation__image {
  min-width: 0;
  width: 100%;
  aspect-ratio: 300/250;
  overflow: hidden;
}

.invitation__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--duration-micro) var(--animation-ease);
}

.invitation__swiper {
  width: 100%;
  height: 100%;
  min-width: 0;
}

.invitation__slide {
  width: 100% !important;
  height: 100%;
  overflow: hidden;
}

.invitation__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: #254e36;
  color: #fff;
}

.invitation__content h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 140%;
  text-transform: uppercase;
}

.invitation__content__description {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  color: #fff;
  font-size: 16px;
  line-height: 140%;
}

.invitation__content__date {
  font-style: italic;
}

.invitation__content__event {
  text-transform: uppercase;
}

.invitation__content__description > p {
  position: relative;
}

.invitation__content__description > p:not(:last-child)::after {
  content: "·";
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
}

.invitation__item:hover .invitation__image img {
  transform: scale(1.05);
}

.invitations.js-visible .invitation__item {
  animation: slideUpIn 0.8s var(--animation-ease) forwards;
}

.invitations.js-visible .invitation__item:nth-child(1) {
  animation-delay: 0s;
}

.invitations.js-visible .invitation__item:nth-child(2) {
  animation-delay: 0.15s;
}

.invitations.js-visible .invitation__item:nth-child(3) {
  animation-delay: 0.3s;
}

.invitations.js-visible .invitation__item:nth-child(4) {
  animation-delay: 0.45s;
}

.invitations.js-visible .invitation__item:nth-child(5) {
  animation-delay: 0.6s;
}

.invitations.js-visible .invitation__item:nth-child(6) {
  animation-delay: 0.75s;
}

.invitation__item--full {
  position: relative;
}

.invitation__item--full::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(37, 78, 54, 0.95) 40.13%,
    rgba(85, 180, 125, 0) 100%
  );
  z-index: 1;
}

.invitation__item--full .invitation__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: unset;
}

.invitation__item--full .invitation__content {
  position: relative;
  z-index: 1;
  background: transparent;
}

.invitation__item--dialog {
  opacity: 1;
}

.invitation__item--dialog .invitation__image {
  aspect-ratio: 450/ 257;
}

.invitation__item--dialog .btn {
  height: 38px;
  padding: 5px 14px;
}

.invitation__item--special .invitation__content {
  background: #e9edeb;
  color: #254e36;
}

.invitation__item--special .invitation__content h3,
.invitation__item--special .invitation__content__description {
  color: inherit;
}

.invitation__item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  width: 100%;
}

.invitation__item__tag {
  padding: 8px 14px;
  border-radius: 500px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.875rem;
  color: var(--color-white);
}

.invitation__item__favorite {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
  font-style: italic;
}

.invitation__item__favorite > p {
  display: none;
}

.invitation__content__description:has(
  > .invitation__content__description__item
) {
  gap: 1.25rem 2.5rem;
}

.invitation__content__description__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.invitation__content__description__item > p:first-child {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.invitation__content__text {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #fff;
}

.invitation__content__text p {
  line-height: 1.5;
}

.invitation__content__text ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-left: 1.2rem;
  list-style-type: disc;
}

.invitation__content:has(> .block-italic) {
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .invitations {
    padding-top: 6.25rem;
  }

  .invitations > .container {
    gap: 2.5rem;
  }

  .invitation__item {
    flex-direction: row;
  }

  .invitation__image,
  .invitation__content {
    flex: 1;
  }

  .invitation__content {
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    padding: 2.5rem;
  }

  .invitation__content h3 {
    font-size: 2.25rem;
  }

  .invitation__image {
    aspect-ratio: 740/540;
  }

  .home-page .invitation__image {
    aspect-ratio: 740/350;
  }

  .invitation__item--full .invitation__content {
    max-width: 860px;
  }

  .invitation__item--dialog {
    flex-direction: column;
    opacity: 1;
  }

  .invitation__item--dialog .invitation__content {
    gap: 1rem;
  }

  .invitation__item--dialog .invitation__content h3 {
    font-size: 1.25rem;
  }

  .invitation__item--dialog .btn {
    font-size: 0.875rem;
  }

  .invitation__item__tag {
    font-size: 1rem;
  }

  .invitation__item__favorite {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.625rem;
    font-size: 1rem;
    font-style: italic;
    color: var(--color-white);
  }

  .invitation__content__description__item {
    flex: 1;
    gap: 0.625rem;
    font-size: 1rem;
  }

  .invitation__content__description__item > p:first-child {
    font-size: 0.875rem;
  }

  .invitation__item--special {
    flex-direction: row;
  }

  .invitation__item--special .invitation__image,
  .invitation__item--special .invitation__content {
    flex: 1;
  }

  .invitation__item--special .invitation__image {
    aspect-ratio: 430/250;
  }

  .invitation__item__favorite > p {
    display: block;
  }

  .invitation__content__text {
    font-size: 1rem;
  }

  .invitation__content:has(> .block-italic) {
    gap: 2.5rem;
  }
}

/* Sponsors */

.sponsors__swiper {
  position: relative;
}

.sponsors .swiper-wrapper {
  padding-bottom: 85px;
}

.sponsors__slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 130px;
}

.sponsors__slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.sponsors .sponsors__button--prev,
.sponsors .sponsors__button--next {
  top: auto;
  bottom: 0;
}

.sponsors .sponsors__button--prev {
  left: calc(50% - 55px);
  right: auto;
}

.sponsors .sponsors__button--next {
  right: calc(50% - 55px);
  left: auto;
}

@media (min-width: 768px) {
  .sponsors {
    padding-top: 6.25rem;
  }

  .sponsors__slide {
    height: 150px;
  }
}

/* About */

.about {
  padding-bottom: 0;
  background: #e9edeb;
  overflow: hidden;
}

.about__text {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  color: var(--color-black);
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about__image {
  position: relative;
  padding-block: 1.5rem;
  opacity: 0;
  animation: slideUpIn 0.8s var(--animation-ease) 0.2s forwards;
}

.about__image::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80%;
  height: 100%;
  background: #254e36;
}

.about__image::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background-image: url("../images/about-bg.png");
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}

.about__image img {
  position: relative;
  z-index: 1;
  aspect-ratio: 274/ 228;
  width: calc(100% - 26px);
}

.about__slide {
  overflow: hidden;
}

.about__slide img {
  transition: transform var(--duration-micro) var(--animation-ease);
}

.about__slide:hover img {
  transform: scale(1.05);
}

.about .about__button--prev,
.about .about__button--next {
  width: 44px;
  height: 44px;
}

@media (min-width: 768px) {
  .about {
    padding-top: 40px;
    padding-bottom: 6.25rem;
  }

  .about::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: #254e36;
  }

  .about::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image: url("../images/about-bg.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position-x: right;
    z-index: 1;
  }

  .about > .container {
    display: flex;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
  }

  .about__text {
    flex: 0 1 46%;
    padding-bottom: 0;
    font-size: 1rem;
  }

  .about__image {
    flex: 0 1 54%;
    min-width: 0;
    padding-block: 0;
    z-index: 1;
  }

  .about__swiper {
    padding-top: 80px;
  }

  .about__image::after {
    display: none;
  }

  .about__image::before {
    display: none;
  }

  .about__image img {
    aspect-ratio: 757/ 633;
    width: 100%;
  }

  .about .about__button--prev,
  .about .about__button--next {
    top: 0;
    right: 0;
    left: auto;
    margin: 0;
  }

  .about .about__button--prev {
    transform: translateX(calc(-100% - 10px));
  }
}

/* Notification */

.notifications {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 900;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-micro) var(--animation-ease),
    visibility var(--duration-micro) var(--animation-ease);
}

.notifications.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

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

.notifications__item {
  position: relative;
  align-items: flex-start;
  background: var(--color-main);
  padding: 10px;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 250px;
  animation: fadeInUp 0.4s ease-out forwards;
}

.notifications__text {
  color: var(--color-white);
  font-size: 0.875rem;
}

.notifications__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  border: 1px solid var(--color-white);
  background: transparent;
  cursor: pointer;
  color: var(--color-white);
  transition: background var(--duration-micro) var(--animation-ease);
}

.notifications__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.notifications__btn {
  height: 38px;
  padding: 5px 14px;
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .notifications {
    bottom: 40px;
    right: 40px;
  }

  .notifications__item {
    padding: 20px;
    padding-right: 92px;
    gap: 10px;
    max-width: 450px;
  }

  .notifications__text {
    font-size: 1rem;
  }

  .notifications__close {
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
  }
}

/* Dialog */
.dialog {
  border: none;
  padding: 0;
  background: none;
  max-width: 450px;
  width: 90%;
  margin: auto;
  position: relative;
  padding-top: 40px;
}

.dialog__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--color-white);
  background: transparent;
  color: var(--color-white);
  cursor: pointer;
  outline: 0;
  transition: background var(--duration-micro) var(--animation-ease);
}

.dialog__close:hover {
  background: rgba(255, 255, 255, 0.15);
}

.dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

@media (min-width: 768px) {
  .dialog {
    max-width: 542px;
    width: 100%;
    padding: 46px;
  }

  .dialog__close {
    width: 32px;
    height: 32px;
  }

  .dialog:has(.dialog__icons-content) {
    max-width: 692px;
  }

  .dialog:has(.invitation__item--special) {
    max-width: 992px;
  }
}

/* Breadcrumb */

.breadcrumb {
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

.breadcrumb__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.625rem;
}

.breadcrumb__list > li {
  position: relative;
  opacity: 0;
}

.breadcrumb.js-visible .breadcrumb__list > li {
  animation: slideInLeft 0.6s var(--animation-ease) forwards;
}

.breadcrumb.js-visible .breadcrumb__list > li:nth-child(1) {
  animation-delay: 0s;
}

.breadcrumb.js-visible .breadcrumb__list > li:nth-child(2) {
  animation-delay: 0.12s;
}

.breadcrumb.js-visible .breadcrumb__list > li:nth-child(3) {
  animation-delay: 0.24s;
}

.breadcrumb.js-visible .breadcrumb__list > li:nth-child(4) {
  animation-delay: 0.36s;
}

.breadcrumb__list > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  transform: translate(100%, -50%);
  width: 4px;
  height: 1px;
  background: var(--color-black);
}

.breadcrumb__item {
  font-size: 11px;
}

.breadcrumb__link {
  font-size: 11px;
  color: #254e36;
  text-decoration: none;
}

@media (min-width: 768px) {
  .breadcrumb {
    padding-top: 3.75rem;
    padding-bottom: 1.5rem;
  }

  .breadcrumb__list > li:not(:last-child)::after {
    right: -14px;
    width: 5px;
  }

  .breadcrumb__item {
    font-size: 0.875rem;
  }

  .breadcrumb__link {
    font-size: 0.875rem;
  }
}

/* Calendar */

.calendar__content {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0.625rem;
}

.calendar__content .events__image {
  aspect-ratio: 75/107;
}

.calendar__service {
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 1.25rem;
  flex-wrap: wrap;
}

.calendar__service:has(> .calendar__service__image) {
  justify-content: space-between;
}

.calendar__service__image {
  flex-shrink: 0;
}

.calendar__service__favorite {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(178, 178, 178, 0.44);
  backdrop-filter: blur(5px);
  transition: background var(--duration-micro) var(--animation-ease);
}

.calendar__service__favorite.is-active,
.calendar__service__favorite:hover {
  background: #254e36;
}

.calendar__content .events__date {
  font-style: italic;
}

@media (min-width: 480px) {
  .calendar__content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .calendar__content {
    grid-template-columns: repeat(1, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .calendar__content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1280px) {
  .calendar__content {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.calendar__content .events__card.js-hidden {
  opacity: 0;
}

.calendar__content .events__card.js-visible {
  animation: slideUpIn 0.8s var(--animation-ease) forwards;
}

/* Main */

.main__content {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-bottom: 2.5rem;
}

.main__content__wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.main__content__footer {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.main__content__footer .btn {
  width: 100%;
}

.main__content__footer .btn,
.main__content__footer .share > p,
.main__content__footer .share ul > li {
  opacity: 0;
}

.main__content__footer.js-visible .btn,
.main__content__footer.js-visible .share > p,
.main__content__footer.js-visible .share ul > li {
  animation: slideUpIn 0.6s var(--animation-ease) forwards;
}

.main__content__footer.js-visible .btn {
  animation-delay: 0s;
}

.main__content__footer.js-visible .share > p {
  animation-delay: 0.15s;
}

.main__content__footer.js-visible .share ul > li:nth-child(1) {
  animation-delay: 0.3s;
}

.main__content__footer.js-visible .share ul > li:nth-child(2) {
  animation-delay: 0.42s;
}

.main__content__footer.js-visible .share ul > li:nth-child(3) {
  animation-delay: 0.54s;
}

.main__wrapper {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.main__aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  order: -1;
}

.main__tags-scroll {
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-inline: calc(var(--container-offset, 1rem) * -1);
  padding-inline: var(--container-offset, 1rem);
}

.main__tags-scroll::-webkit-scrollbar {
  display: none;
}

.main__tags-scroll.is-dropdown-open {
  overflow: visible;
}

.main__tags {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  scroll-snap-type: x mandatory;
}

.main__tags__item {
  display: flex;
  position: relative;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.main__tags__item a {
  padding: 8px 14px;
  border: 1px solid rgba(37, 78, 54, 0.2);
  border-radius: 500px;
  background: transparent;
  font-size: 0.875rem;
  line-height: 1;
  color: #254e36;
  transition:
    color var(--duration-micro) var(--animation-ease),
    background var(--duration-micro) var(--animation-ease);
}
.main__tags__item.is-active a {
  background: #254e36;
  color: var(--color-white);
}
.main__tags__item a:hover {
  background: #254e36;
  color: var(--color-white);
}

.main__content:has(> .section.anchors) > .section:not(.anchors) {
  padding: 0;
}

.main__content__footer--share {
  margin-top: 30px;
}

.main__content__service {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.625rem 1.25rem;
}

.main__content__service__search {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.main__content__service__search input {
  width: 100%;
  padding: 10px 44px 10px 20px;
  border-radius: 500px;
  border: 1px solid rgba(37, 78, 54, 0.2);
  background: transparent;
  font-size: 0.875rem;
  line-height: 1;
}

.main__content__service__search input::placeholder {
  color: #254e36;
}

.main__content__service__search > button {
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
}

.main__content.spaceless {
  gap: 2.5rem;
}

.main__content.spaceless > .section {
  padding: 0;
}

.main__content.spaceless > .main__content__footer--share {
  margin-top: 0;
}

@media (min-width: 768px) {
  .main__content {
    gap: 2.5rem;
    padding-bottom: 6.25rem;
  }

  .main__wrapper {
    flex-direction: row;
    align-items: flex-start;
  }

  .main__content {
    flex: 1;
    min-width: 0;
  }

  .main__content__footer {
    align-items: center;
    align-self: center;
    gap: 2.5rem;
  }

  .main__content__footer .btn {
    width: auto;
  }

  .main__tags-scroll {
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }

  .main__tags {
    flex-wrap: wrap;
    scroll-snap-type: none;
  }

  .main__tags__item a {
    padding: 15px 20px;
    font-size: 1.375rem;
  }

  .main__aside {
    flex: 0 1 350px;
    order: unset;
  }

  .card--event {
    padding-top: 0;
  }

  .main__content__footer--share {
    margin-top: 0;
  }

  .main__content__footer--share {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  .main__content__service {
    grid-template-columns: 310px max-content;
    gap: 0.625rem;
  }

  .main__content__service__search input {
    padding: 9px 14px;
    font-size: 1rem;
  }
}

/* Pagination */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem 0.625rem;
  flex-wrap: wrap;
}

.pagination__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.625rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination__btn,
.pagination__page,
.pagination__ellipsis {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #254e36;
  background: var(--color-white);
  color: var(--color-main);
  font-size: 1.125rem;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition);
}

.pagination__btn svg path {
  transition: fill var(--duration-micro) var(--animation-ease);
}

.pagination__page:hover:not(.pagination__page--active),
.pagination__ellipsis:hover {
  background: #254e36;
  color: var(--color-white);
}

.pagination__btn:hover:not(:disabled) {
  background: #254e36;
  color: var(--color-white);
}

.pagination__btn:hover:not(:disabled) svg path {
  fill: var(--color-white);
}

.pagination__btn:focus-visible,
.pagination__page:focus-visible,
.pagination__ellipsis:focus-visible {
  outline: 0;
}

.pagination__page--active {
  background: var(--color-main);
  border-color: var(--color-main);
  color: var(--color-white);
  cursor: default;
}

.pagination__btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .pagination__btn--prev,
  .pagination__btn--next {
    display: none;
  }
}
/* Select */

.choices {
  border: 1px solid rgba(37, 78, 54, 0.2);
  border-radius: 500px;
  background: transparent;
  font-size: 0.875rem;
  color: #254e36;
  transition:
    color var(--duration-micro) var(--animation-ease),
    background var(--duration-micro) var(--animation-ease);
}

.choices__inner {
  padding: 7px 14px 9px;
  border: none;
  background: none;
  min-height: unset;
}

.choices__placeholder {
  opacity: 1;
  color: #254e36;
}

.choices__list--single {
  padding: 0 14px 0 0;
}

.choices[data-type*="select-one"]::after {
  all: unset;
  content: "";
  position: absolute;
  top: 54%;
  right: 10px;
  width: 10px;
  height: 8px;
  background-image: url("../icons/select.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transform: translateY(-50%);
  transition: transform var(--duration-micro) var(--animation-ease);
}

.choices[data-type*="select-one"].is-open::after {
  margin: 0;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
  min-width: 198px;
  left: 0;
  border: none;
  margin-top: 4px;
  padding: 0.625rem;
  background: #254e36;
  border-radius: 0;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.15);
}

.choices__list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.choices__list--dropdown .choices__item,
.choices__list[aria-expanded] .choices__item {
  padding: 0;
  background: transparent !important;
  font-size: 0.875rem;
  color: var(--color-black);
  transition: color var(--duration-micro) var(--animation-ease);
}

.choices__list--dropdown .choices__item,
.choices__list[aria-expanded] .choices__item:hover {
  color: #254e36;
}

.choices__list[aria-expanded] .choices__item--selectable.is-selected {
  color: #254e36;
}

.choices[data-type*="select-one"].is-open::after {
  transform: translateY(-50%) rotate(180deg);
}

.main__content__service .choices__inner {
  padding: 9px 20px;
}

.main__content__service .choices[data-type*="select-one"] .choices__inner {
  padding-bottom: 10px;
}

@media (min-width: 768px) {
  .choices__list--dropdown,
  .choices__list[aria-expanded] {
    padding: 1.25rem;
  }

  .choices__list--single .choices__item {
    font-size: 1.375rem;
  }

  .choices__list--dropdown .choices__item,
  .choices__list[aria-expanded] .choices__item {
    font-size: 1rem;
  }

  .choices[data-type*="select-one"]::after {
    right: 16px;
    width: 12px;
    height: 10px;
  }

  .choices__list--single {
    padding: 0 20px 0 0;
  }

  .main__content__service .choices__list--single .choices__item {
    font-size: 1rem;
  }

  .main__content__service .choices__inner {
    padding: 9px 14px;
  }

  .main__content__service .choices[data-type*="select-one"] .choices__inner {
    padding-bottom: 9px;
  }
}

/* Datepicker */

.air-datepicker.-inline- {
  width: 100%;
  border: 1px solid rgba(37, 78, 54, 0.2);
  background: #fff;
  border-radius: 0;
}

.air-datepicker-nav--title {
  color: #254e36;
  font-family: "Lora";
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}

.air-datepicker-nav--title:hover {
  background: transparent;
}

.air-datepicker-body--day-name {
  color: #000;
  text-align: center;
  font-family: "Lora";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
  opacity: 0.5;
  text-transform: capitalize;
}

.air-datepicker-body--day-name.-weekend- {
  color: #ff3118;
}

.air-datepicker-cell {
  color: #000;
  text-align: center;
  font-family: "Lora";
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.3;
  border-radius: 0 !important;
}

.air-datepicker-cell.-weekend- {
  color: #ff3118;
}

.air-datepicker-cell.-selected,
.air-datepicker-cell.-current- {
  font-weight: 700;
}

.air-datepicker-cell.-current-,
.air-datepicker-cell.-current-.-in-range- {
  color: #254e36;
}

.air-datepicker-cell.-range-from-,
.air-datepicker-cell.-range-to-,
.air-datepicker-cell.-in-range- {
  background: #e9edeb;
  border-radius: 0;
}

.air-datepicker-cell:not(.-weekend-) {
  color: #000;
}

.air-datepicker-cell.-focus-.-selected- {
  background: #e9edeb;
}

.air-datepicker-nav {
  display: flex;
  justify-content: flex-start;
  gap: 0.625rem;
}

.air-datepicker-nav--action {
  width: 40px;
  height: 40px;
  border: 1px solid #254e36;
  border-radius: 0;
  transition:
    background var(--duration-micro) var(--animation-ease),
    color var(--duration-micro) var(--animation-ease);
}

.air-datepicker-nav--action:hover {
  background: #254e36;
  color: var(--color-white);
}

.air-datepicker-nav--action[data-action="prev"] {
  order: 1;
  margin-left: auto;
}

.air-datepicker-nav--action[data-action="next"] {
  order: 2;
}

.air-datepicker-nav--action svg {
  display: none;
}

.air-datepicker-nav--action {
  position: relative;
}

.air-datepicker-nav--action::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 22px;
  height: 22px;
  background-image: url("../icons/arrow-left-green.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.air-datepicker-nav--action:hover::before {
  width: 18px;
  height: 18px;
}

.air-datepicker-nav--action[data-action="next"]::before {
  background-image: url("../icons/arrow-right-green.svg");
}

.air-datepicker-nav--action[data-action="next"]:hover::before {
  background-image: url("../icons/arrow-right.svg");
}

.air-datepicker-nav--action[data-action="prev"]:hover::before {
  background-image: url("../icons/arrow-left.svg");
}

/* Anchors */

.anchors {
  margin: 10px 0 30px;
  background: #254e36;
  padding: 14px;
}

.anchors ul {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-inline: calc(var(--container-offset, 1rem) * -1);
  padding-inline: var(--container-offset, 1rem);
}

.anchors ul::-webkit-scrollbar {
  display: none;
}

.anchors ul a {
  color: var(--color-white);
  font-size: 1rem;
  text-transform: uppercase;
  transition: color var(--duration-micro) var(--animation-ease);
}

.anchors ul li {
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .anchors {
    margin: 0;
  }

  .anchors ul {
    justify-content: center;
    gap: 2.5rem;
    margin-inline: 0;
    padding-inline: 0;
  }

  .anchors ul a {
    font-size: 1.125rem;
  }
}

/* Time */

.time__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 14px;
  font-size: 0.875rem;
  color: #000;
  background: #e9edeb;
}

.time__item > p:first-child {
  width: 120px;
}

.time__item > p:last-child {
  flex: 1;
  font-weight: 600;
}

.time__item:nth-child(even) {
  background: #fff;
}

.time--big .time__item {
  flex-direction: column;
  align-items: flex-start;
}

.time--big .time__item > p:first-child {
  width: auto;
  font-weight: 600;
}

.time--big .time__item > p:last-child {
  flex: 1;
  font-weight: 400;
}

.time__item a {
  color: #254e36;
}

.time__item--link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.time__item:has(.time__item--link) > p:last-child {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .time__item {
    padding: 19px 40px;
    font-size: 1.125rem;
  }

  .time--big .time__item {
    flex-direction: row;
    align-items: center;
  }

  .time--big .time__item > p:first-child {
    width: 300px;
  }

  .time__item:has(.time__item--link) > p:last-child {
    flex-direction: row;
    gap: 1rem 2.5rem;
  }
}

/* Text */

.text {
  font-size: 0.875rem;
  line-height: 1.5;
}

.text__wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.text__wrapper ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.text__wrapper ul li {
  list-style-type: disc;
}

.text--strict__wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 20px;
  border: 1px solid #254e36;
  color: #000;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 150%;
}

.text--strict__wrapper a {
  color: #254e36;
}

.text--strict-italic {
  font-style: italic;
}

.text--strict--time__item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.text--strict--time__item:first-child {
  flex-shrink: 0;
}

.text--strict--time__item > img {
  width: 20px;
  height: 20px;
}

.text--strict--time .text--strict__wrapper {
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .text {
    font-size: 1.125rem;
  }

  .text__wrapper {
    gap: 0.75rem;
  }

  .text__wrapper ul {
    gap: 0.75rem;
  }

  .text--strict__wrapper {
    padding: 40px;
    font-size: 1.375rem;
  }

  .text--strict--time .text--strict__wrapper {
    flex-direction: row;
    gap: 2.5rem;
  }
}

/* Programma */

.programma__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.programma.js-visible .programma__wrapper .events__card {
  animation: slideUpIn 0.8s var(--animation-ease) forwards;
}

.programma.js-visible .programma__wrapper .events__card:nth-child(1) {
  animation-delay: 0s;
}

.programma.js-visible .programma__wrapper .events__card:nth-child(2) {
  animation-delay: 0.1s;
}

.programma.js-visible .programma__wrapper .events__card:nth-child(3) {
  animation-delay: 0.2s;
}

.programma.js-visible .programma__wrapper .events__card:nth-child(4) {
  animation-delay: 0.3s;
}

.programma.js-visible .programma__wrapper .events__card:nth-child(5) {
  animation-delay: 0.4s;
}

.programma.js-visible .programma__wrapper .events__card:nth-child(6) {
  animation-delay: 0.5s;
}

.programma.js-visible .programma__wrapper .events__card:nth-child(7) {
  animation-delay: 0.6s;
}

.programma.js-visible .programma__wrapper .events__card:nth-child(8) {
  animation-delay: 0.7s;
}

@media (min-width: 768px) {
  .programma__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .programma__wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .programma__wrapper {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Shedevri */

.shedevri__button--next,
.shedevri__button--prev {
  display: none;
}

.shedevri--content .events__card {
  aspect-ratio: 4/3;
}

@media (min-width: 768px) {
  .shedevri__button--next,
  .shedevri__button--prev {
    display: flex;
  }

  .shedevri--content .events__card {
    aspect-ratio: 350/262.72;
  }
}

/* Share */

.share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.625rem 2.5rem;
  color: #254e36;
  font-size: 16px;
  line-height: 150%;
}

.share ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.share ul li a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
}

.share ul li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%), #e9edeb;
  opacity: 1;
  transition: opacity var(--duration-micro) var(--animation-ease);
  z-index: -1;
}

.share ul li a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%), #254e36;
  opacity: 0;
  transition: opacity var(--duration-micro) var(--animation-ease);
  z-index: -1;
}

.share ul li svg path {
  transition: fill;
}

.share ul li a:hover::before {
  opacity: 0;
}

.share ul li a:hover::after {
  opacity: 1;
}

.share ul li a:hover svg path {
  fill: #fff;
}

/* Accordion */

.accordion__items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.accordion__item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.accordion__title {
  padding: 18px 20px;
  background: #254e36;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 150%;
}

.details {
  background: #f5f5f5;
}

.details__title {
  position: relative;
  padding: 18px 20px;
  background: #e9edeb;
  color: #000;
  font-size: 0.875rem;
  line-height: 150%;
  list-style: none;
  cursor: pointer;
}

.details__title::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  background-image: url("../icons/select.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 10px;
  height: 8px;
  transition: transform var(--duration-micro) var(--animation-ease);
}

.details__title span {
  font-weight: 600;
}

.details[open] > .details__title::after {
  transform: translateY(-50%) rotate(180deg);
}

.details__content__text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.875rem;
  padding: 18px 20px;
}

.details__content__text__desk {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.details__content__text__item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 150%;
  color: #000;
}

.details__content__text__item > p:first-child {
  font-size: 0.75rem;
  color: rgba(0, 0, 0, 0.6);
}

.accordion--big .accordion__item > .details > .details__title {
  background: #254e36;
  font-weight: 600;
  color: #fff;
}

.accordion--big .accordion__item > .details > .details__title::after {
  background-image: url("../icons/selected-white.svg");
}

.accordion--big .accordion__items {
  gap: 0.625rem;
}

.accordion--big .details__content {
  flex-direction: column;
  align-items: normal;
}

.accordion--big details details .details__content {
  padding: 10px 20px;
}

.details > .details .details__content {
  gap: 0;
  padding: 10px 20px;
}

.accordion--menu .details__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.625rem;
}

.accordion--menu .details > .details:not(:last-of-type) {
  margin-bottom: 2px;
}

@media (min-width: 768px) {
  .accordion__items {
    gap: 2.5rem;
  }

  .accordion__title {
    padding: 22px 40px;
    font-size: 1.375rem;
  }

  .details__content {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 40px;
  }

  .details__title {
    padding: 22px 40px;
    font-size: 1.125rem;
  }

  .details__title::after {
    right: 40px;
    width: 12px;
    height: 10px;
  }

  .details__content__swiper {
    width: 30%;
  }

  .details__content__slide img {
    transition: transform var(--duration-micro) var(--animation-ease);
  }

  .details__content__swiper:hover .details__content__slide img {
    transform: scale(1.05);
  }

  .details__content__text {
    flex: 1;
    gap: 1rem;
    padding: 0;
    font-size: 1rem;
  }

  .details__content__text__desk {
    gap: 1.25rem 2.5rem;
  }

  .details__content__text__item {
    gap: 0.375rem;
    font-size: 1rem;
  }

  .details__content__text__item > p:first-child {
    font-size: 0.875rem;
  }

  .accordion--big .accordion__items {
    gap: 1.125rem;
  }
}

/* Docs */

.docs-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 18px 20px;
  border: 1px solid transparent;
  background: #f5f5f5;
  color: #254e36;
  font-size: 0.875rem;
  line-height: 150%;
  transition: border-color var(--duration-micro) var(--animation-ease);
}

.docs-item:hover {
  border-color: #254e36;
}

.docs-item:not(:last-child) {
  margin-bottom: 0.625rem;
}

@media (min-width: 768px) {
  .docs-item {
    font-size: 1.125rem;
  }
}

/* Video */

video,
iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 101/67;
}

@media (min-width: 768px) {
  video,
  iframe {
    aspect-ratio: 80/53;
  }
}

/* Complex */

.complex__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.625rem;
}

.complex__wrapper .events__card {
  width: 100%;
}

@media (min-width: 768px) {
  .complex__wrapper {
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .complex__wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.875rem;
  }
}

@media (min-width: 1280px) {
  .complex__wrapper {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  .complex__wrapper--big {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cards */

.card--programm {
  display: flex;
  flex-direction: column;
}

.card--programm__image {
  aspect-ratio: 1/1;
  overflow: hidden;
}

.card--programm__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-micro) var(--animation-ease);
}

.card--programm:hover .card--programm__image img {
  transform: scale(1.05);
}

.card--programm__content {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding: 1.25rem;
  background: #e9edeb;
}

.card--programm__title {
  color: #254e36;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 140%;
}

.card--programm__info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.875rem;
  color: #254e36;
}

.card--programm__info > p:not(:last-child) {
  position: relative;
}

.card--programm__info > p:not(:last-child)::after {
  content: "·";
  position: absolute;
  top: 50%;
  right: -12px;
  transform: translateY(-50%);
  width: 4px;
  height: 100%;
}

.card--programm__info > p:first-child {
  font-style: italic;
}

.cards_wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.625rem;
}

.specials__slider {
  position: relative;
}

.specials__slider .cards_wrapper {
  display: flex;
  flex-direction: row;
  grid-template-columns: none;
  gap: 0;
}

.specials__slider .card--programm {
  height: auto;
  box-sizing: border-box;
}

.specials__button--prev,
.specials__button--next {
  display: none;
}

@media (min-width: 768px) {
  .cards_wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .specials__swiper {
    overflow: hidden;
  }

  .specials__slider .specials__button--prev,
  .specials__slider .specials__button--next {
    display: flex;
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin: 0;
    transform: translateY(-50%);
  }

  .specials__button--prev {
    left: -56px;
  }

  .specials__button--next {
    right: -56px;
  }

  .specials__button--prev::after,
  .specials__button--next::after {
    display: none;
  }

  .card--programm__content {
    padding: 2.5rem;
  }

  .card--programm__title {
    font-size: 1.375rem;
  }

  .card--programm__info {
    font-size: 1rem;
  }

  .card--programm__content > .btn {
    align-self: flex-start;
  }

  .card--event--big .invitation__content {
    justify-content: center;
  }

  .card--event--big .invitation__image {
    aspect-ratio: 740/540;
  }
}

@media (min-width: 1024px) {
  .cards_wrapper {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1650px) {
  .specials__slider .specials__button--prev,
  .specials__slider .specials__button--next {
    border-color: #254e36;
  }

  .specials__slider .specials__button--prev svg path,
  .specials__slider .specials__button--next svg path {
    fill: #254e36;
  }

  .specials__slider .specials__button--prev {
    left: -65px;
  }

  .specials__slider .specials__button--next {
    right: -65px;
  }

  .specials__slider .specials__button--prev:hover,
  .specials__slider .specials__button--next:hover {
    border-color: #254e36;
    background-color: #254e36;
  }

  .specials__slider .specials__button--prev:hover svg path,
  .specials__slider .specials__button--next:hover svg path {
    fill: #fff;
  }
}

/* Form */

.section--form {
  padding: 20px !important;
  border: 1px solid rgba(37, 78, 54, 0.2);
}

.section--form .section__title {
  align-items: flex-start;
  margin-bottom: 1rem;
}

.section--form .section__title > h2 {
  font-size: 1.375rem;
  text-align: left;
  font-weight: 500;
}

.section--form form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form__label {
  font-size: 0.875rem;
  color: #000;
}

.form__label span {
  color: #ff3118;
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.form__input {
  width: 100%;
  padding: 13px 20px;
  border-radius: 0;
  border: 1px solid #bec6c2;
  background: #fff;
  min-height: 54px;
}

.form__group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form__file {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 16px 20px;
  border: 1px solid #bec6c2;
  background: #fff;
  min-height: 54px;
  cursor: pointer;
}

.form__file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: 0;
}

.form__file-text {
  font-size: 0.875rem;
  color: #8a9591;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form__file--filled .form__file-text {
  color: #000;
}

.form__file-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.form__title {
  font-size: 1.125rem;
  color: #000;
  font-weight: 500;
  line-height: 140%;
  text-transform: uppercase;
}

.form__checkbox {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #000;
}

.form__checkbox a {
  color: #254e36;
}

.form__checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: 0;
}

.form__checkbox-box {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid #bec6c2;
  background: #fff;
  margin-right: 10px;
}

.form__checkbox-box::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: #254e36;
  transition: transform var(--duration-micro) var(--animation-ease);
}

.form__checkbox input:checked + .form__checkbox-box::after {
  transform: translate(-50%, -50%) scale(1);
}

.section--result {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem;
  border: 1px solid #254e36;
  color: #000;
}

.section--result > h3 {
  font-size: 1.25rem;
  color: #254e36;
  font-weight: 500;
  line-height: 140%;
  text-transform: uppercase;
  color: #254e36;
}

@media (min-width: 768px) {
  .main__content.spaceless > .section--form {
    padding: 40px;
  }

  .section--form .section__title {
    margin-bottom: 2rem;
  }

  .section--form .section__title > h2 {
    font-size: 2.25rem;
  }

  .section--form form {
    gap: 2.5rem;
  }

  .form__label {
    font-size: 1.125rem;
  }

  .form__label span {
    font-size: 1.125rem;
  }

  .form__group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 2.5rem;
  }

  .form__group > .form__field {
    flex: 1;
  }

  .form__title {
    font-size: 1.25rem;
  }

  .form__checkbox {
    font-size: 14px;
  }

  .section--form form > .btn {
    align-self: flex-start;
  }

  .main__content.spaceless > .section--result {
    gap: 2rem;
    padding: 2.5rem;
    font-size: 1.125rem;
  }

  .section--result > h3 {
    font-size: 2.25rem;
  }

  .form__group:has(.form__file) > .form__field {
    flex: 0 1 calc(25% - 30px);
  }

  .form__group .form__field:has(.form__file) {
    flex: 0 1 calc(50% - 20px);
  }
}

/* Bronirovanie */

.bronirovanie__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: 1.25rem;
  background: #254e36;
  color: #fff;
  font-size: 0.875rem;
}

.bronirovanie__content a {
  font-size: 1.25rem;
}

.bronirovanie--time .bronirovanie__content {
  align-items: flex-start;
  gap: 1.25rem;
}

.bronirovanie--time__item {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.bronirovanie--time::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 25%;
  height: 300%;
  background-image: url("../images/about-bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateY(-50%) rotate(30deg);
}

@media (min-width: 768px) {
  .bronirovanie {
    position: relative;
  }

  .bronirovanie::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 25%;
    height: 300%;
    background-image: url("../images/about-bg.png");
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(-50%) rotate(30deg);
  }
  .bronirovanie__content {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1.875rem 2.5rem;
    font-size: 1.125rem;
  }

  .bronirovanie__content a {
    font-size: 2.25rem;
  }

  .bronirovanie--time .bronirovanie__content {
    justify-content: flex-start;
    align-items: center;
    gap: 2.5rem;
  }

  .bronirovanie--time__item {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.625rem 1.25rem;
  }

  .bronirovanie--time__item > p {
    flex: 1;
  }
}

.text-link__wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-link__wrapper a {
  font-size: 0.875rem;
  color: #254e36;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
}

@media (min-width: 768px) {
  .text-link__wrapper a {
    font-size: 1rem;
  }
}

/* Service */

.services__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.625rem;
}

.services__item {
  display: flex;
  flex-direction: column;
}

.services__item__image {
  aspect-ratio: 740/540;
  overflow: hidden;
}

.services__item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-micro) var(--animation-ease);
}

.services__item:hover .services__item__image img {
  transform: scale(1.05);
}

.services__item__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 1.25rem;
  background: #254e36;
  font-size: 0.875rem;
  color: #fff;
}

@media (min-width: 768px) {
  .services__wrapper {
    gap: 1.25rem;
  }

  .services__item__content {
    gap: 0.75rem;
    padding: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .services__wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Icons */

.icons__slider {
  position: relative;
}

.icons__wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.icons__item {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding: 1.25rem;
  background: #254e36;
  border: 1px solid #254e36;
  font-size: 1rem;
  color: #fff;
  height: auto;
  transition: all var(--duration-micro) var(--animation-ease);
}

.icons__item:hover {
  background: #fff;
  color: #254e36;
}

.icons__item__image {
  max-height: 52px;
}

.icons__item__image svg {
  display: block;
  height: 52px;
  width: auto;
  color: #fff;
  transition: color var(--duration-micro) var(--animation-ease);
}

.icons__item:hover .icons__item__image svg {
  color: #254e36;
}

.icons__button--prev,
.icons__button--next {
  display: none;
}

.dialog__icons-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.25rem;
  background: #fff;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.45);
  font-size: 0.875rem;
}

.icons-content__header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 1.125rem;
  color: #000;
}

.icons__swiper--noslider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.625rem;
}

@media (min-width: 768px) {
  .icons__swiper {
    overflow: hidden;
  }

  .icons__wrapper {
    display: flex;
    flex-direction: row;
    gap: 0;
  }

  .icons__item {
    gap: 1.875rem;
    padding: 2.5rem;
    font-size: 1.125rem;
  }

  .icons__slider .icons__button--prev,
  .icons__slider .icons__button--next {
    display: flex;
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin: 0;
    margin: 0;
    transform: translateY(-50%);
  }

  .icons__button--prev {
    left: -56px;
  }

  .icons__button--next {
    right: -56px;
  }

  .icons__button--prev::after,
  .icons__button--next::after {
    display: none;
  }

  .dialog__icons-content {
    gap: 2.5rem;
    padding: 2.5rem;
    font-size: 1rem;
  }

  .icons-content__header {
    gap: 1.25rem;
    font-size: 1.625rem;
  }

  .icons__swiper--noslider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .icons__swiper--noslider {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1650px) {
  .icons__slider .icons__button--prev,
  .icons__slider .icons__button--next {
    border-color: #254e36;
  }

  .icons__slider .icons__button--prev svg path,
  .icons__slider .icons__button--next svg path {
    fill: #254e36;
  }

  .icons__slider .icons__button--prev {
    left: -65px;
  }

  .icons__slider .icons__button--next {
    right: -65px;
  }

  .icons__slider .icons__button--prev:hover,
  .icons__slider .icons__button--next:hover {
    border-color: #254e36;
    background-color: #254e36;
  }

  .icons__slider .icons__button--prev:hover svg path,
  .icons__slider .icons__button--next:hover svg path {
    fill: #fff;
  }
}

/* authorization + password recovery */
.password-recovery,
.auth-form-section,
.registration-form-section {
  width: min(100% - 2rem, 600px);
  margin: 0 auto;
}

.password-recovery__card,
.auth-form-section__card,
.registration-form-section__card {
  padding: 2.5rem;
  border: 1px solid rgba(37, 78, 54, 0.2);
  background: #fff;
}

.password-recovery__text {
  margin: 0 0 1.375rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #000;
}

.password-recovery__form,
.auth-form,
.registration-form {
  display: flex;
  flex-direction: column;
}

.password-recovery__form {
  gap: 1.875rem;
}

.auth-form,
.registration-form {
  gap: 1.75rem;
}

.password-recovery__field,
.auth-form__field,
.registration-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.auth-form__field {
  gap: 0.75rem;
}

.registration-form__note {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.35;
  color: #666;
}

.password-recovery__button,
.registration-form__button {
  align-self: flex-start;
}

.auth-form__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.25rem;
}

.auth-form__forgot {
  font-size: 0.875rem;
  line-height: 1.35;
  color: #254e36;
  text-decoration: none;
}

.auth-form__forgot:hover {
  text-decoration: underline;
}

.auth-form__actions {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 0.25rem;
}

.registration-form__checkbox {
  margin-top: 0.25rem;
}

.auth-form > *,
.registration-form > *,
.password-recovery__form > *,
main .form > * {
  opacity: 0;
}

.auth-form.js-visible > *,
.registration-form.js-visible > *,
.password-recovery__form.js-visible > *,
main .form.js-visible > * {
  animation: slideUpIn 0.7s var(--animation-ease) forwards;
}

.auth-form.js-visible > *:nth-child(1),
.registration-form.js-visible > *:nth-child(1),
.password-recovery__form.js-visible > *:nth-child(1),
main .form.js-visible > *:nth-child(1) {
  animation-delay: 0s;
}

.auth-form.js-visible > *:nth-child(2),
.registration-form.js-visible > *:nth-child(2),
.password-recovery__form.js-visible > *:nth-child(2),
main .form.js-visible > *:nth-child(2) {
  animation-delay: 0.1s;
}

.auth-form.js-visible > *:nth-child(3),
.registration-form.js-visible > *:nth-child(3),
.password-recovery__form.js-visible > *:nth-child(3),
main .form.js-visible > *:nth-child(3) {
  animation-delay: 0.2s;
}

.auth-form.js-visible > *:nth-child(4),
.registration-form.js-visible > *:nth-child(4),
.password-recovery__form.js-visible > *:nth-child(4),
main .form.js-visible > *:nth-child(4) {
  animation-delay: 0.3s;
}

.auth-form.js-visible > *:nth-child(5),
.registration-form.js-visible > *:nth-child(5),
.password-recovery__form.js-visible > *:nth-child(5),
main .form.js-visible > *:nth-child(5) {
  animation-delay: 0.4s;
}

.auth-form.js-visible > *:nth-child(6),
.registration-form.js-visible > *:nth-child(6),
.password-recovery__form.js-visible > *:nth-child(6),
main .form.js-visible > *:nth-child(6) {
  animation-delay: 0.5s;
}

.auth-form.js-visible > *:nth-child(7),
.registration-form.js-visible > *:nth-child(7),
.password-recovery__form.js-visible > *:nth-child(7),
main .form.js-visible > *:nth-child(7) {
  animation-delay: 0.6s;
}

.auth-form.js-visible > *:nth-child(n + 8),
.registration-form.js-visible > *:nth-child(n + 8),
.password-recovery__form.js-visible > *:nth-child(n + 8),
main .form.js-visible > *:nth-child(n + 8) {
  animation-delay: 0.7s;
}

@media (max-width: 767px) {
  .password-page,
  .auth-page,
  .registration-page,
  .profile-page {
    padding-bottom: 3rem;
  }

  .password-recovery__card,
  .auth-form-section__card,
  .registration-form-section__card {
    padding: 1.5rem 1.25rem;
  }

  .password-recovery__button,
  .registration-form__button,
  .auth-form__actions .btn {
    width: 100%;
    min-width: 0;
  }

  .auth-form,
  .registration-form {
    gap: 1.35rem;
  }

  .auth-form__row,
  .auth-form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .auth-form__forgot {
    align-self: flex-start;
  }
}

/* Profile page */

.profile__container {
  display: grid;
  gap: 1.5625rem;
}

@media (min-width: 768px) {
  .profile__container {
    grid-template-columns: auto 1fr;
  }
}

@media (min-width: 1200px) {
  .profile__container {
    grid-template-columns: 350px 1fr;
  }
}

.profile-menu {
  border: 1px solid rgba(37, 78, 54, 0.16);
  align-self: flex-start;
}

.profile-menu__link {
  display: block;
  width: 100%;
  padding: 1rem 1.4375rem;
  border-bottom: 1px solid rgba(37, 78, 54, 0.12);
  font-size: 0.9375rem;
  line-height: 1.35;
  color: rgba(0, 0, 0, 1);
  text-align: left;
  text-decoration: none;
}

.profile-menu__link:last-child {
  border-bottom: 0;
}

.profile-menu__link--active {
  background: #254e36;
  color: #fff;
}

.profile-menu__link--danger {
  color: #ff3118;
}

.profile__content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.profile-card {
  padding: 3.25rem 2.5rem;
  border: 1px solid rgba(37, 78, 54, 0.2);
  background: #fff;
}

.profile-card__title {
  margin: 0 0 1.5rem;
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.profile-form__button {
  align-self: flex-start;
}

.profile-tickets {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.profile-ticket {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(37, 78, 54, 0.2);
}

.profile-ticket__image {
  width: 84px;
  height: 84px;
  object-fit: cover;
}

.profile-ticket__title {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.35;
  font-weight: 400;
  color: #000;
}

.profile-ticket__date {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
  font-style: italic;
  color: #254e36;
}

.profile-ticket__button {
  min-width: 82px;
}

.profile-loyalty__value {
  margin: 0 0 1.25rem;
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
  color: #000;
}

.profile-loyalty__text {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.45;
  color: #666;
}

.profile__container > * {
  opacity: 0;
  animation: slideUpIn 0.8s var(--animation-ease) forwards;
}

.profile__container > *:nth-child(1) {
  animation-delay: 0.1s;
}

.profile__container > *:nth-child(2) {
  animation-delay: 0.25s;
}

.profile-menu .profile-menu__link,
.profile-menu .profile-modal-details {
  opacity: 0;
  animation: slideUpIn 0.6s var(--animation-ease) forwards;
}

.profile-menu > *:nth-child(1) {
  animation-delay: 0.25s;
}
.profile-menu > *:nth-child(2) {
  animation-delay: 0.32s;
}
.profile-menu > *:nth-child(3) {
  animation-delay: 0.39s;
}
.profile-menu > *:nth-child(4) {
  animation-delay: 0.46s;
}
.profile-menu > *:nth-child(5) {
  animation-delay: 0.53s;
}
.profile-menu > *:nth-child(6) {
  animation-delay: 0.6s;
}
.profile-menu > *:nth-child(7) {
  animation-delay: 0.67s;
}
.profile-menu > *:nth-child(8) {
  animation-delay: 0.74s;
}
.profile-menu > *:nth-child(9) {
  animation-delay: 0.81s;
}
.profile-menu > *:nth-child(10) {
  animation-delay: 0.88s;
}
.profile-menu > *:nth-child(11) {
  animation-delay: 0.95s;
}

.profile__content .profile-card {
  opacity: 0;
  animation: slideUpIn 0.7s var(--animation-ease) forwards;
}

.profile__content .profile-card:nth-child(1) {
  animation-delay: 0.35s;
}

.profile__content .profile-card:nth-child(2) {
  animation-delay: 0.5s;
}

.profile__content .profile-card:nth-child(3) {
  animation-delay: 0.65s;
}

.profile__content .profile-card:nth-child(4) {
  animation-delay: 0.8s;
}

.profile-form .profile-form__field,
.profile-form .profile-form__button {
  opacity: 0;
  animation: slideUpIn 0.5s var(--animation-ease) forwards;
}

.profile-form .profile-form__field:nth-child(1) {
  animation-delay: 0.5s;
}
.profile-form .profile-form__field:nth-child(2) {
  animation-delay: 0.58s;
}
.profile-form .profile-form__field:nth-child(3) {
  animation-delay: 0.66s;
}
.profile-form .profile-form__field:nth-child(4) {
  animation-delay: 0.74s;
}
.profile-form .profile-form__field:nth-child(5) {
  animation-delay: 0.82s;
}
.profile-form .profile-form__field:nth-child(6) {
  animation-delay: 0.9s;
}
.profile-form .profile-form__button {
  animation-delay: 0.98s;
}

.profile-tickets .profile-ticket {
  opacity: 0;
  animation: slideUpIn 0.6s var(--animation-ease) forwards;
}

.profile-tickets .profile-ticket:nth-child(1) {
  animation-delay: 0.65s;
}
.profile-tickets .profile-ticket:nth-child(2) {
  animation-delay: 0.78s;
}
.profile-tickets .profile-ticket:nth-child(3) {
  animation-delay: 0.91s;
}
.profile-tickets .profile-ticket:nth-child(4) {
  animation-delay: 1.04s;
}

@media (max-width: 991px) {
  .profile__container {
    display: block;
  }

  .profile-menu {
    display: none;
  }

  .profile-menu--open {
    display: block;
  }
}

@media (max-width: 767px) {
  .profile-card {
    padding: 1.5rem 1rem;
  }

  .profile-card__title {
    font-size: 1.5rem;
  }

  .profile-ticket {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .profile-ticket__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

/* Profile modal details */
.profile-modal-details {
  display: block;
}

.profile-modal-details summary {
  list-style: none;
  cursor: pointer;
}

.profile-modal-details summary::-webkit-details-marker {
  display: none;
}

.profile-modal-details:last-child .profile-menu__link {
  border-bottom: 0;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.profile-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(4px);
}

.profile-modal__box {
  position: relative;
  z-index: 1;
  width: min(100%, 1520px);
  padding: 5.5rem 6.25rem;
  background: #fff;
  text-align: center;
}

.profile-modal__title {
  margin: 0 0 1.875rem;
  font-size: 3.25rem;
  line-height: 1.15;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
}

.profile-modal__text {
  margin: 0 0 2.5rem;
  font-size: 1.125rem;
  line-height: 1.45;
  color: #888;
}

.profile-modal__actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.profile-modal__button {
  min-width: 114px;
}

.profile-poster__button,
.profile-poster-calendar__button {
  width: fit-content;
  align-self: flex-start;
}
@media (max-width: 767px) {
  .profile-modal {
    align-items: flex-start;
    padding-top: 4.0625rem;
  }

  .profile-modal__box {
    width: min(100%, 310px);
    padding: 2.25rem 1.25rem 2.5rem;
  }

  .profile-modal__title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }

  .profile-modal__text {
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }

  .profile-modal__actions {
    flex-direction: column;
    align-items: center;
    gap: 1.5625rem;
  }

  .profile-modal__button {
    width: 100%;
    max-width: 166px;
  }
}

/* Settings page */
.form__label span {
  color: #ff3118;
}

.settings-result-modal {
  align-self: flex-start;
}

.settings-result-modal > summary {
  display: inline-flex;
  list-style: none;
}

.settings-result-modal > summary::-webkit-details-marker {
  display: none;
}

/* Profile poster page */
.profile-poster__text,
.profile-poster-calendar__text {
  margin: 0 0 2.5rem;
  font-size: 1.125rem;
  line-height: 1.45;
  color: #888;
}

.profile-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-bottom: 2.5rem;
}

.profile-tags__item {
  display: flex;
  flex-shrink: 0;
}

.profile-tags__item a {
  padding: 0.875rem 0.875rem;
  border: 1px solid rgba(37, 78, 54, 0.2);
  border-radius: 31.25rem;
  background: transparent;
  font-size: 1.125rem;
  line-height: 1;
  color: #254e36;
  text-decoration: none;
  transition:
    color var(--duration-micro) var(--animation-ease),
    background var(--duration-micro) var(--animation-ease);
}

.profile-tags__item a:hover {
  background: #254e36;
  color: var(--color-white);
}

.profile-poster__button,
.profile-poster-calendar__button {
  align-self: flex-start;
}

.profile-poster-calendar__text {
  display: none;
}

.profile-poster-calendar__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 350px));
  gap: 1.875rem 2.5rem;
  margin-bottom: 2.5rem;
}

.profile-poster-event {
  min-width: 0;
}
.profile-poster-event .events__date,
.profile-poster-event .events__description {
  font-size: 1rem;
}
.profile-poster-event .events__card {
  height: 31.25rem;
  opacity: 1;
}

.profile-poster-event__remove {
  display: inline-flex;
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.35;
  color: #254e36;
  text-decoration: underline;
  text-underline-offset: 0.125rem;
}

.profile-poster-event__remove:hover {
  text-decoration: none;
}
.profile-poster-event .events__content {
  padding: 1.25rem;
}

@media (max-width: 767px) {
  .profile-poster__text {
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }
  .profile-poster-event .events__date,
  .profile-poster-event .events__description {
    font-size: 0.6875rem;
  }
  .profile-poster-event .events__title {
    font-size: 0.9375rem;
  }
  .profile-tags {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
  }

  .profile-tags__item a {
    font-size: 0.75rem;
  }

  .profile-poster-calendar__text {
    display: block;
    margin-bottom: 1.5rem;
    font-size: 1rem;
  }

  .profile-poster-calendar__grid {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 1.875rem;
  }

  .profile-poster-event .events__card {
    height: 24rem;
  }

  .profile-poster-event__remove {
    margin-top: 0.75rem;
    font-size: 0.875rem;
  }
}

/* Profile support page */
.profile-support-form__textarea {
  min-height: 8.125rem;
  resize: vertical;
}

.support-result-modal {
  align-self: flex-start;
}

.support-history {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.support-history__item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 3.125rem 1.25rem;
  border: 1px solid rgba(37, 78, 54, 0.2);
}

.support-history__title {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.2;
  font-weight: 400;
  color: #000;
}

.support-history__date {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
  font-style: italic;
  color: #254e36;
  white-space: nowrap;
}

.support-history__status {
  white-space: nowrap;
  pointer-events: none;
}

.support-result-modal .profile-modal__actions {
  justify-content: center;
}

.support-result-modal .profile-modal__button {
  margin: 0 auto;
}
@media (max-width: 767px) {
  .profile-support-form__textarea {
    min-height: 6.25rem;
  }

  .support-history {
    gap: 2rem;
  }

  .support-history__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .support-history__title {
    font-size: 1rem;
  }

  .support-history__date {
    font-size: 0.875rem;
    white-space: normal;
  }
}

/* Profile security page */
.profile-security__text {
  margin: 0 0 2.5rem;
  font-size: 1.125rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.5);
}

.profile-security-sessions {
  margin-bottom: 2.5rem;
}

.profile-security-sessions__head {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.55);
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 400;
  text-transform: uppercase;
  color: #888;
}

.profile-security-session {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1fr;
  gap: 2rem;
  padding-top: 2.5rem;
  font-size: 1.375rem;
  line-height: 1.25;
  color: #000;
}

.profile-security-session__status {
  color: #888;
}

.profile-security-session__status--active {
  color: #254e36;
}

.profile-security__button {
  width: fit-content;
  align-self: flex-start;
}

@media (max-width: 767px) {
  .profile-security__text {
    margin-bottom: 1.6875rem;
    font-size: 1rem;
  }

  .profile-security-sessions {
    margin-bottom: 1.5rem;
  }

  .profile-security-sessions__head {
    display: none;
  }

  .profile-security-session {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding: 1.6875rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.35);
    font-size: 1rem;
    line-height: 1.35;
  }

  .profile-security-session:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  }

  .profile-security-session__cell::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9375rem;
    line-height: 1.25;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
  }
}

/* Profile purchase history page */
.profile-history-tabs__input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.profile-history-tabs__nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.profile-history-tabs__tab {
  font-size: 1.375rem;
  line-height: 1.25;
  color: #888;
  cursor: pointer;
  transition: color var(--duration-micro) var(--animation-ease);
}

.profile-history-tabs__tab:hover {
  color: #254e36;
}

.profile-history-tabs__panel {
  display: none;
}

#history-tickets-tab:checked
  ~ .profile-history-tabs__nav
  label[for="history-tickets-tab"],
#history-shop-tab:checked
  ~ .profile-history-tabs__nav
  label[for="history-shop-tab"] {
  color: #254e36;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

#history-tickets-tab:checked ~ .profile-history-tabs__panel--tickets,
#history-shop-tab:checked ~ .profile-history-tabs__panel--shop {
  display: block;
}

.profile-history-orders {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-history-order {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 3.125rem 1.25rem;
  border: 1px solid rgba(37, 78, 54, 0.2);
}
.profile-history-order__cancel {
  margin-bottom: 1.25rem;
}
.profile-history-order__title {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 400;
  color: #000;
}

.profile-history-order__meta {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.5);
}

.profile-history-order__sum {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
  font-style: italic;
  color: #254e36;
  white-space: nowrap;
}

.profile-history-order__status {
  white-space: nowrap;
  pointer-events: none;
}

.profile-history-order__cancel {
  width: fit-content;
  font-size: 1.375rem;
  line-height: 1.25;
  color: #254e36;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

.profile-history-order__cancel:hover {
  text-decoration: none;
}

@media (max-width: 767px) {
  .profile-history-tabs__nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .profile-history-tabs__tab {
    font-size: 1rem;
  }

  .profile-history-order {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .profile-history-order__title {
    font-size: 1rem;
  }

  .profile-history-order__meta {
    font-size: 1rem;
    white-space: normal;
  }
  .profile-history-order__sum {
    font-size: 0.875rem;
    white-space: normal;
  }
  .profile-history-order__cancel {
    font-size: 1rem;
  }
  .profile-history-orders {
    gap: 0.8125rem;
  }
}

/* Profile loyalty page */
.profile-loyalty-card__title {
  margin-bottom: 1.25rem;
}

.profile-loyalty-card__value {
  margin: 0 0 1.25rem;
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 700;
  color: #000;
}

.profile-loyalty-card__text {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.45;
  color: rgba(0, 0, 0, 0.6);
}

.profile-bonus-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 350px));
  gap: 1.875rem 1.5rem;
}

.profile-bonus-card {
  min-width: 0;
}

.profile-bonus-card__image {
  display: block;
  width: 100%;
  height: 21.875rem;
  object-fit: cover;
  margin-bottom: 1.25rem;
}

.profile-bonus-card__title {
  margin: 0 0 0.5rem;
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 400;
  color: #000;
}

.profile-bonus-card__points {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.35;
  font-style: italic;
  color: #000;
}

.profile-bonus-card__button[aria-disabled="true"] {
  color: rgba(37, 78, 54, 0.45);
  border-color: rgba(37, 78, 54, 0.35);
  pointer-events: none;
}

.profile-loyalty-operations {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.profile-loyalty-operation {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 2rem;
  padding: 3.125rem 1.25rem;
  border: 1px solid rgba(37, 78, 54, 0.2);
}

.profile-loyalty-operation__title {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.35;
  color: #000;
}

.profile-loyalty-operation__title strong {
  font-weight: 700;
}

.profile-loyalty-operation__date,
.profile-loyalty-operation__points {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
  font-style: italic;
  color: #254e36;
  white-space: nowrap;
}
.profile-bonus-card__button {
  width: fit-content;
  align-self: flex-start;
}

@media (max-width: 767px) {
  .profile-loyalty-card__title {
    margin-bottom: 1.5rem;
  }

  .profile-loyalty-card__value {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }

  .profile-loyalty-card__text {
    font-size: 0.75rem;
  }

  .profile-bonus-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
  }

  .profile-bonus-card__image {
    height: auto;
    aspect-ratio: 1 / 1;
    margin-bottom: 0.75rem;
  }

  .profile-bonus-card__title {
    font-size: 1rem;
  }

  .profile-bonus-card__points {
    margin-bottom: 0.75rem;
    font-size: 0.75rem;
  }

  .profile-loyalty-operations {
    gap: 1.5rem;
  }

  .profile-loyalty-operation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .profile-loyalty-operation__title {
    font-size: 1rem;
    white-space: normal;
  }
  .profile-loyalty-operation__date,
  .profile-loyalty-operation__points {
    font-size: 0.875rem;
    white-space: normal;
  }
}

/* Profile tickets page */
.profile-tickets-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.profile-tickets-card__head .profile-card__title {
  margin-bottom: 0;
}

.profile-tickets-card__buy {
  width: fit-content;
  align-self: flex-start;
  white-space: nowrap;
}

.profile-tickets-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.profile-tickets-item__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(37, 78, 54, 0.2);
}

.profile-tickets-item__image {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.profile-tickets-item__date {
  flex: 1;
  text-align: center;
}

.profile-tickets-item__title {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.35;
  font-weight: 400;
}

.profile-tickets-item__date,
.profile-tickets-item__price {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 400;
}
.profile-tickets-item__date,
.profile-tickets-item__price {
  font-style: italic;
  color: #254e36;
  white-space: nowrap;
}

.profile-tickets-item__status {
  white-space: nowrap;
  pointer-events: none;
}

.profile-tickets-item__status--danger {
  color: #ff3118;
  border-color: #ff3118;
}

.profile-tickets-item__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.profile-tickets-item__link {
  font-size: 1.375rem;
  line-height: 1.25;
  color: #254e36;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

.profile-tickets-item__link:hover {
  text-decoration: none;
}

.profile-tickets-item__note {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.profile-tickets-item__text {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.35;
  font-style: italic;
  color: rgba(0, 0, 0, 0.5);
}

.profile-tickets-item--muted .profile-tickets-item__main {
  opacity: 0.45;
}

@media (max-width: 767px) {
  .profile-tickets-card__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .profile-tickets-card__buy {
    font-size: 0.75rem;
  }

  .profile-tickets-list {
    gap: 2rem;
  }

  .profile-tickets-item__main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }

  .profile-tickets-item__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .profile-tickets-item__title {
    font-size: 1rem;
  }

  .profile-tickets-item__date,
  .profile-tickets-item__price {
    font-size: 0.875rem;
    white-space: normal;
  }

  .profile-tickets-item__status {
    font-size: 0.875rem;
  }

  .profile-tickets-item__actions,
  .profile-tickets-item__note {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.75rem;
  }

  .profile-tickets-item__link,
  .profile-tickets-item__text {
    font-size: 0.75rem;
  }
}

/* Profile orders page */
.profile-orders-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.profile-order-card__main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.25rem;
  border: 1px solid rgba(37, 78, 54, 0.2);
}

.profile-order-card__images {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.profile-order-card__image {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.profile-order-card__title {
  margin: 0 0 0.25rem;
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 400;
  color: #000;
}

.profile-order-card__date,
.profile-order-card__delivery,
.profile-order-card__sum,
.profile-order-card__count {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
}

.profile-order-card__date {
  color: rgba(0, 0, 0, 0.5);
}

.profile-order-card__delivery,
.profile-order-card__count,
.profile-order-card__sum {
  color: #254e36;
  font-style: italic;
}

.profile-order-card__delivery span {
  color: rgba(37, 78, 54, 0.5);
}

.profile-order-card__status {
  white-space: nowrap;
  pointer-events: none;
}

.profile-order-card__actions {
  margin-top: 1.25rem;
}

.profile-order-card__link {
  font-size: 1.375rem;
  line-height: 1.25;
  color: #254e36;
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

.profile-order-card__link:hover {
  text-decoration: none;
}

.profile-order-card__buttons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin-left: auto;
}
.profile-order-card .btn {
  padding: 0.9375rem;
}
@media (max-width: 767px) {
  .profile-orders-list {
    gap: 2rem;
  }

  .profile-order-card__main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }

  .profile-order-card__images {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .profile-order-card__image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .profile-order-card__title,
  .profile-order-card__date,
  .profile-order-card__delivery,
  .profile-order-card__sum,
  .profile-order-card__count {
    font-size: 0.875rem;
    white-space: normal;
  }

  .profile-order-card__title {
    font-size: 1rem;
  }

  .profile-order-card__delivery,
  .profile-order-card__sum {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .profile-order-card__buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-left: 0;
  }

  .profile-order-card__status {
    font-size: 0.875rem;
  }

  .profile-order-card__actions {
    margin-top: 0.75rem;
  }

  .profile-order-card__link {
    font-size: 0.75rem;
  }
}

/* Rooms tabs (gostinica) */
.rooms-tabs {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.rooms-tabs__nav {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  padding-bottom: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.rooms-tabs__nav::-webkit-scrollbar {
  display: none;
}

.rooms-tabs__tab {
  position: relative;
  width: 160px;
  padding: 0.75rem 1.25rem;
  border-bottom: 2px solid transparent;
  background: #f5f5f5;
  font-family: inherit;
  font-size: 1rem;
  color: #254e36;
  text-align: center;
  cursor: pointer;
  transition: color var(--duration-micro) var(--animation-ease);
}

.rooms-tabs__tab.is-active {
  border-color: #254e36;
}

@media (max-width: 767px) {
  .rooms-tabs__nav {
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 6px;
  }

  .rooms-tabs__tab {
    flex: 0 0 auto;
    font-size: 0.875rem;
    padding: 0.5rem 0.875rem 0.75rem;
  }
}

@media (min-width: 768px) {
  .rooms-tabs__tab {
    width: auto;
    padding: 1.25rem 1.5rem;
    border-bottom: 4px solid transparent;
    font-size: 1.125rem;
  }
}

/* Person */

.person__wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.person__card {
  display: flex;
  flex-direction: column;
}

.person__image {
  aspect-ratio: 99/118;
  overflow: hidden;
}

.person__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-micro) var(--animation-ease);
}

.person__card:hover .person__image img {
  transform: scale(1.05);
}

.person__card:hover a {
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

.person__content {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  padding: 1.25rem 1.5rem;
  background: #e9edeb;
  color: #254e36;
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 400;
  line-height: 140%;
}

.person__content__role {
  color: #254e36;
  font-style: normal;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 140%;
}

.person__content__name {
  display: flex;
  align-items: flex-end;
  gap: 0.25rem;
  color: #254e36;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  text-transform: uppercase;
}

.person__content__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.person__content__contacts__item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: #254e36;
  font-style: italic;
  font-size: 1rem;
  font-weight: 400;
  line-height: 140%;
}

.person__content__contacts__item img {
  width: 24px;
  height: 24px;
}

@media (min-width: 768px) {
  .person__wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .person__card {
    flex-direction: row;
  }

  .person__image {
    width: 250px;
  }

  .person__content {
    flex: 1;
    padding: 2rem 2.5rem;
  }

  .person__content__role {
    font-size: 1.25rem;
  }

  .person__content__name {
    gap: 1.25rem;
    font-size: 1.375rem;
  }

  .person__content__contacts {
    gap: 0.625rem;
  }
}

@media (min-width: 1280px) {
  .person__wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

.section--table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: rgba(37, 78, 54, 0.5) #d7eded;
  scrollbar-width: thin;
}

.section--table::-webkit-scrollbar {
  height: 8px;
}

.section--table::-webkit-scrollbar-track {
  background: #d7eded;
  border-radius: 4px;
}

.section--table::-webkit-scrollbar-thumb {
  background: rgba(37, 78, 54, 0.5);
  border-radius: 4px;
}

.section--table::-webkit-scrollbar-thumb:hover {
  background: rgba(37, 78, 54, 0.7);
}

.section--table__header,
.section--table__content-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 600px;
}

.section--table__header {
  background: var(--color-main);
  color: var(--color-white);
}

.section--table__header {
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
}

.section--table__header-item {
  flex: 1;
}

.section--table__header-item:first-child {
  min-width: 300px;
  flex: 3;
}

.section--table__header-item:not(:first-child) {
  text-align: center;
}

.section--table__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.section--table__content-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 1rem 1.5rem;
  background: #e9edeb;
}

.section--table__content-item > p:first-child {
  min-width: 300px;
  flex: 3;
}

.section--table__content-item > p {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.4;
}

.section--table__content-item > p:last-child {
  font-size: 1rem;
  font-weight: 700;
  color: #254e36;
  white-space: nowrap;
}

.section--table__content-item > p:not(:first-child) {
  text-align: center;
}

@media (min-width: 768px) {
  .section--table__header,
  .section--table__content-item {
    min-width: 0;
  }

  .section--table__header {
    padding: 1.25rem 2.5rem;
    font-size: 1.375rem;
  }

  .section--table__content-item {
    padding: 1.25rem 2.5rem;
  }

  .section--table__content-item > p {
    font-size: 1.125rem;
  }

  .section--table__header-item:first-child,
  .section--table__content-item > p:first-child {
    min-width: 400px;
    flex: 4;
  }
}

.block-italic {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.875rem;
  font-style: italic;
}

.block-italic--price {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .block-italic {
    gap: 0.75rem;
  }
}

.page-404 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--color-white);
}

.page-404__image {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.page-404__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-404__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 125px 10px;
  gap: 2rem;
}

.page-404__content > * {
  opacity: 0;
  animation: slideUpIn 0.8s var(--animation-ease) forwards;
}

.page-404__content > *:nth-child(1) {
  animation-delay: 0.15s;
}

.page-404__content > *:nth-child(2) {
  animation-delay: 0.35s;
}

.page-404__content > *:nth-child(3) {
  animation-delay: 0.55s;
}

.page-404__title {
  font-size: 60px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
}

.page-404__text {
  font-size: 1.5rem;
}

.page-404__content .btn {
  align-self: normal;
}

@media (min-width: 768px) {
  .page-404__content {
    padding: 200px 10px;
  }

  .page-404__title {
    font-size: 96px;
  }

  .page-404__text {
    font-size: 2.5rem;
  }

  .page-404__content .btn {
    align-self: center;
  }
}

@media (min-width: 1024px) {
  .page-404__content {
    padding: 285px 10px;
  }
}

/* Search page */

.section--search {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section--search__header > .form {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.section--search__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.section--search__content__item {
  display: flex;
  flex-direction: column;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 168%;
}

.section--search__content-title {
  margin-bottom: 0.625rem;
  font-size: 16px;
  font-weight: 600;
  line-height: 183.75%;
}

.section--search__content--desc {
  margin-bottom: 0.625rem;
  font-size: 14px;
  line-height: 150%;
}

@media (min-width: 768px) {
  .section--search,
  .section--search__content {
    gap: 2rem;
  }

  .section--search__header > .form {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1rem 2rem;
  }

  .section--search__header > .form .form__field {
    width: 500px;
  }

  .section--search__content-title {
    font-size: 20px;
    line-height: 147%;
  }
}

.section--search__results {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.section--search__results-navigation {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.section--search__results-list {
  display: flex;
  align-items: center;
  gap: 5px;
  padding-inline: 5px;
}

.section--search__results-navigation > *:not(:last-child) {
  position: relative;
  padding-right: 5px;
}

.section--search__results-navigation > *:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  bottom: 0;
  width: 1px;
  height: 70%;
  background-color: #000;
  transform: translateY(-50%);
}

.section--search__results--footer {
  gap: 0.625rem;
}

.section--search__results-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.section--search__results-filter > button:not(:last-child) {
  position: relative;
}

.section--search__results-filter > button:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  bottom: 0;
  width: 1px;
  height: 70%;
  background-color: #000;
  transform: translateY(-50%);
}

/* Catalog pages */

.shop-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.shop-category-card {
  min-width: 0;
}

.shop-category-card__link {
  position: relative;
  display: block;
  min-height: 40.625rem;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.shop-category-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 47.5%,
    rgba(0, 0, 0, 0.58) 100%
  );
  pointer-events: none;
}

.shop-category-card__image {
  display: block;
  width: 100%;
  height: 40.625rem;
  object-fit: cover;
  transition: transform var(--duration-base) var(--animation-ease);
}

.shop-category-card__title {
  position: absolute;
  left: 2.5rem;
  right: 2.5rem;
  bottom: 2.5rem;
  z-index: 1;
  font-size: 1.375rem;
  line-height: 1.2;
  color: #fff;
}

.shop-category-card__link:hover .shop-category-card__image {
  transform: scale(1.04);
}
.catalog-products .choices__list--single .choices__item {
  font-size: 1rem;
}
@media (max-width: 991px) {
  .shop-categories__grid {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }
}

@media (max-width: 767px) {
  .shop-category-card__link,
  .shop-category-card__image {
    min-height: 31.25rem;
    height: 31.25rem;
  }

  .shop-category-card__title {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    font-size: 1.125rem;
  }
}

/* Catalog products page */
.catalog-products {
  overflow: hidden;
}

.catalog-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
}

.catalog-tags__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem;
  border: 1px solid rgba(37, 78, 54, 0.2);
  border-radius: 31.25rem;
  background: transparent;
  font-size: 1rem;
  line-height: 1;
  color: #254e36;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--duration-micro) var(--animation-ease),
    background var(--duration-micro) var(--animation-ease);
}

.catalog-tags__item:hover,
.catalog-tags__item--active {
  background: #254e36;
  color: var(--color-white);
}

.catalog-products__title {
  margin: 0 0 2.5rem;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
  color: #000;
}

.catalog-products__toolbar {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.catalog-sort .choices {
  min-width: 9.375rem;
  margin: 0;
}

.catalog-sort .choices__list--dropdown,
.catalog-sort .choices__list[aria-expanded] {
  min-width: 12.5rem;
}

.catalog-stock-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.catalog-stock-toggle__text {
  font-size: 1rem;
  line-height: 1.35;
  color: #254e36;
}

.catalog-stock-toggle__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.catalog-stock-toggle__control {
  position: relative;
  width: 2.25rem;
  height: 1.25rem;
  border-radius: 31.25rem;
  background: #d7eded;
  transition: background var(--duration-micro) var(--animation-ease);
}

.catalog-stock-toggle__control::before {
  content: "";
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--duration-micro) var(--animation-ease);
}

.catalog-stock-toggle__input:checked + .catalog-stock-toggle__control {
  background: #254e36;
}

.catalog-stock-toggle__input:checked + .catalog-stock-toggle__control::before {
  transform: translateX(1rem);
}

.catalog-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem 2.5rem;
}

.catalog-product-card {
  display: flex;
  flex-direction: column;
}

.catalog-product-card__image-link {
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.catalog-product-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform var(--duration-micro) var(--animation-ease);
}

.catalog-product-card__image-link:hover .catalog-product-card__image {
  transform: scale(1.05);
}

.catalog-product-card__title {
  margin: 0 0 0.75rem;
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 400;
  color: #000;
}

.catalog-product-card__price {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.35;
  font-style: italic;
  color: #000;
}

.catalog-product-card__button {
  width: fit-content;
}
.catalog-product-card__button_more {
  background: rgba(233, 237, 235, 1);
}
.catalog-product-card__button--disabled {
  color: rgba(37, 78, 54, 0.45);
  border-color: rgba(37, 78, 54, 0.35);
  pointer-events: none;
}

@media (max-width: 991px) {
  .catalog-products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .catalog-tags {
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0.625rem;
    width: calc(100% + 1.25rem);
    margin-bottom: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .catalog-tags::-webkit-scrollbar {
    display: none;
  }

  .catalog-tags__item {
    padding: 0.875rem;
    font-size: 0.875rem;
  }

  .catalog-products__title {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
  }
  .catalog-products .choices__list--single .choices__item {
    font-size: 0.875rem;
  }
  .catalog-products__toolbar {
    gap: 1.25rem;
    margin-bottom: 1.5rem;
  }

  .catalog-sort .choices {
    min-width: 8.125rem;
  }

  .catalog-stock-toggle {
    gap: 0.5rem;
  }

  .catalog-stock-toggle__text {
    font-size: 0.875rem;
  }

  .catalog-stock-toggle__control {
    width: 2.25rem;
    height: 1.25rem;
  }

  .catalog-stock-toggle__control::before {
    top: 0.125rem;
    left: 0.125rem;
    width: 1rem;
    height: 1rem;
  }

  .catalog-stock-toggle__input:checked
    + .catalog-stock-toggle__control::before {
    transform: translateX(1rem);
  }

  .catalog-products__grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .catalog-product-card__image-link {
    margin-bottom: 1.25rem;
  }

  .catalog-product-card__title {
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
  }

  .catalog-product-card__price {
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
  }

  .catalog-product-card__button {
    width: 100%;
  }
}

/* Catalog product detail page */
.catalog-product-detail {
  overflow: hidden;
}

.catalog-product-detail__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  margin-bottom: 2.5rem;
}

.catalog-product-detail__gallery {
  position: relative;
  min-width: 0;
  width: 100%;
  aspect-ratio: auto;
  background: #f4f0ef;
}

.catalog-product-detail__swiper,
.catalog-product-detail__swiper .swiper-wrapper,
.catalog-product-detail__swiper .swiper-slide {
  width: 100%;
  height: 100%;
}

.catalog-product-detail__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.catalog-product-detail__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #fff;
  transform: translateY(-50%);
  transition:
    background var(--duration-micro) var(--animation-ease),
    color var(--duration-micro) var(--animation-ease);
}

.catalog-product-detail__arrow:hover {
  background: #fff;
  color: #254e36;
}

.catalog-product-detail__arrow--prev {
  left: 2.5rem !important;
}

.catalog-product-detail__arrow--next {
  right: 2.5rem !important;
}

.catalog-product-detail__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4.625rem 2.5rem;
  background: #254e36;
  color: #fff;
}

.catalog-product-detail__title {
  margin: 0 0 1.625rem;
  font-size: 2.25rem;
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
}

.catalog-product-detail__subtitle {
  margin: 0 0 1.625rem;
  font-size: 1.25rem;
  line-height: 1.4;
}

.catalog-product-detail__props {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-bottom: 1.625rem;
  font-size: 0.875rem;
  line-height: 1.35;
}

.catalog-product-detail__props p {
  margin: 0;
}

.catalog-product-detail__price {
  margin: 0 0 1.625rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-style: italic;
}

.catalog-product-detail__stock {
  margin: 0 0 1.625rem;
  font-size: 0.875rem;
  line-height: 1.35;
  font-style: italic;
}

.catalog-product-detail__button {
  width: fit-content;
  border-color: #fff;
  color: #fff;
}

.catalog-product-detail__button:hover {
  background: #fff;
  color: #254e36;
}

.catalog-product-detail__text {
  margin-bottom: 2.5rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: #000;
}

.catalog-product-detail__text p {
  margin: 0 0 1rem;
}

.catalog-product-detail__text p:last-child {
  margin-bottom: 0;
}

.catalog-product-detail__text a {
  color: #254e36;
  text-decoration: none;
}

.catalog-product-detail__text a:hover {
  text-decoration: underline;
}

.catalog-related__title {
  margin: 0 0 2.5rem;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 400;
  text-align: center;
  text-transform: uppercase;
}

.catalog-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.catalog-product-detail .main__content__footer--share {
  margin-top: 0;
}

@media (max-width: 991px) {
  .catalog-product-detail__hero {
    grid-template-columns: 1fr;
  }

  .catalog-product-detail__gallery {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .catalog-related__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .catalog-product-detail__hero {
    margin-bottom: 2.5rem;
  }

  .catalog-product-detail__arrow {
    width: 2.75rem;
    height: 2.75rem;
  }

  .catalog-product-detail__arrow--prev {
    left: 0.75rem;
  }

  .catalog-product-detail__arrow--next {
    right: 0.75rem;
  }

  .catalog-product-detail__info {
    padding: 1.25rem;
  }

  .catalog-product-detail__title {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
  }

  .catalog-product-detail__subtitle {
    margin-bottom: 1.25rem;
    font-size: 1rem;
  }

  .catalog-product-detail__props {
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
  }

  .catalog-product-detail__price {
    font-size: 1.5rem;
  }

  .catalog-product-detail__stock {
    font-size: 0.875rem;
  }
  .catalog-product-detail__stock {
    margin: 0 0 1.25rem;
  }
  .catalog-product-detail__button {
    width: 100%;
  }

  .catalog-product-detail__text {
    margin-bottom: 2.5rem;
    font-size: 0.875rem;
    line-height: 1.45;
    text-align: justify;
  }

  .catalog-related__title {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
  }

  .catalog-related__grid {
    display: flex;
    flex-direction: row;
    gap: 1.25rem;
    width: calc(100% + 1.25rem);
    margin-bottom: 2.5rem;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .catalog-product-detail__price {
    margin: 0 0 1.25rem;
  }
  .catalog-related__grid::-webkit-scrollbar {
    display: none;
  }

  .catalog-related__grid .catalog-product-card {
    flex: 0 0 17.5rem;
  }

  .catalog-product-detail .main__content__footer--share {
    align-items: stretch;
    gap: 1.25rem;
  }

  .catalog-product-detail .main__content__footer--share .btn {
    width: 100%;
  }
  .catalog-product-detail__arrow--prev {
    left: 0.625rem !important;
  }

  .catalog-product-detail__arrow--next {
    right: 0.625rem !important;
  }
}

.catalog-product-detail__swiper .swiper-button-prev::after,
.catalog-product-detail__swiper .swiper-button-next::after {
  display: none;
}

/* Cart page */
.cart-page {
  overflow: hidden;
}

.cart-section .container {
  display: flex;
  flex-direction: column;
}

.cart-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(37, 78, 54, 0.2);
  background: #fff;
  opacity: 0;
  transition:
    border-color var(--duration-micro) var(--animation-ease),
    box-shadow var(--duration-micro) var(--animation-ease),
    translate var(--duration-micro) var(--animation-ease),
    transform var(--duration-block) var(--animation-ease);
}

.cart-section.js-visible .cart-item {
  animation: fadeInUp 0.7s var(--animation-ease) forwards;
}

.cart-section.js-visible .cart-item:nth-child(1) {
  animation-delay: 0s;
}

.cart-section.js-visible .cart-item:nth-child(2) {
  animation-delay: 0.12s;
}

.cart-section.js-visible .cart-item:nth-child(3) {
  animation-delay: 0.24s;
}

.cart-section.js-visible .cart-item:nth-child(4) {
  animation-delay: 0.36s;
}

.cart-section.js-visible .cart-item:nth-child(5) {
  animation-delay: 0.48s;
}

.cart-section.js-visible .cart-item:nth-child(n + 6) {
  animation-delay: 0.6s;
}

.cart-item:hover {
  border-color: #254e36;
  translate: 0 -2px;
  box-shadow: 0 8px 20px rgba(37, 78, 54, 0.08);
}

.cart-item.is-removing {
  animation: cartItemRemove 0.45s var(--animation-ease) forwards;
  pointer-events: none;
}

@keyframes cartItemRemove {
  from {
    opacity: 1;
    translate: 0 0;
    max-height: 16rem;
    margin-bottom: 0;
  }
  to {
    opacity: 0;
    translate: 24px 0;
    max-height: 0;
    margin-bottom: -2.5rem;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
  }
}

.cart-item__image-link {
  display: block;
  width: 8.125rem;
  height: 8.125rem;
  overflow: hidden;
}

.cart-item__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cart-item__title {
  margin: 0;
  font-size: 1.375rem;
  line-height: 1.25;
  font-weight: 400;
  color: #000;
}

.cart-item__price {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.35;
  font-style: italic;
  color: #254e36;
  white-space: nowrap;
}

.cart-item__price--desktop {
  display: block;
  margin-left: auto;
}

.cart-item__content > .cart-item__price {
  display: none;
}

.cart-quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: 3.375rem;
  border: 1px solid #254e36;
  color: #254e36;
}

.cart-quantity__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.875rem;
  height: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1.25rem;
  line-height: 1;
  color: #254e36;
  cursor: pointer;
  transition: opacity var(--duration-micro) var(--animation-ease);
}

.cart-quantity__button:hover {
  opacity: 0.65;
}

.cart-quantity__input {
  width: 2.5rem;
  height: 100%;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1.125rem;
  line-height: 1;
  color: #254e36;
  text-align: center;
  outline: none;
  -moz-appearance: textfield;
}

.cart-quantity__input::-webkit-outer-spin-button,
.cart-quantity__input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.cart-item__remove {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  line-height: 1.35;
  font-weight: 500;
  color: #254e36;
  text-decoration: none;
  white-space: nowrap;
}

.cart-item__remove:hover span {
  text-decoration: underline;
  text-underline-offset: 0.1875rem;
}

.cart-item__remove svg {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.cart-summary__label,
.cart-summary__value {
  margin: 0;
  color: #254e36;
}

.cart-summary__label {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
}

.cart-summary__value {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 700;
}

.cart-summary__button {
  width: fit-content;
}

@media (max-width: 991px) {
  .cart-item {
    display: grid;
    grid-template-columns: 6.25rem 1fr;
    gap: 1.25rem;
  }

  .cart-item__content,
  .cart-quantity,
  .cart-item__remove {
    grid-column: 2;
  }

  .cart-item__image-link {
    width: 6.25rem;
    height: 6.25rem;
    align-self: flex-start;
  }

  .cart-summary {
    flex-wrap: wrap;
    gap: 1.25rem 2rem;
  }

  .cart-item__price--desktop {
    display: none;
  }

  .cart-item__content > .cart-item__price {
    display: block;
  }
}

@media (max-width: 767px) {
  .cart-list {
    gap: 1.25rem;
  }

  .cart-item {
    grid-template-columns: 5rem minmax(0, 1fr);
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .cart-item__image-link {
    width: 4.6875rem;
    height: 4.6875rem;
  }

  .cart-item__title {
    font-size: 0.875rem;
  }

  .cart-item__price {
    font-size: 1rem;
  }

  .cart-quantity {
    grid-column: 1;
    width: 6.875rem;
    height: 3.375rem;
    margin-top: 0.25rem;
  }

  .cart-quantity__button {
    width: 2.875rem;
    font-size: 1.25rem;
  }

  .cart-quantity__input {
    width: 2.5rem;
    font-size: 1.25rem;
  }

  .cart-item__remove {
    grid-column: 2;
    align-self: center;
    font-size: 0.875rem;
    justify-content: flex-end;
  }

  .cart-item__remove svg {
    width: 1.375rem;
    height: 1.375rem;
  }

  .cart-summary {
    justify-content: flex-start;
    gap: 0.75rem 1.25rem;
    margin-top: 1.25rem;
  }

  .cart-summary__label {
    font-size: 1rem;
  }

  .cart-summary__value {
    font-size: 1.875rem;
  }

  .cart-summary__button {
    width: 100%;
    margin-top: 0.5rem;
  }
}

/* Checkout page */
.checkout-page {
  overflow: hidden;
}

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21.875rem;
  align-items: flex-start;
  gap: 2.5rem;
}

.checkout__main {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  min-width: 0;
}

.checkout-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
}

.checkout-card,
.checkout-summary {
  border: 1px solid rgba(37, 78, 54, 0.2);
  background: #fff;
}

.checkout-card {
  padding: 2.5rem;
}

.checkout-card__title,
.checkout-card__subtitle {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
}

.checkout-card__title {
  margin-bottom: 2.5rem;
}

.checkout-card__subtitle {
  margin-top: 2rem;
  margin-bottom: 1.25rem;
}

.checkout-radio-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.checkout-radio {
  position: relative;
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: 0.625rem;
  cursor: pointer;
}

.checkout-radio__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkout-radio__box {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
  border: 1px solid #bec6c2;
  border-radius: 0.25rem;
  background: #fff;
  transition:
    border-color var(--duration-micro) var(--animation-ease),
    background var(--duration-micro) var(--animation-ease);
}

.checkout-radio__box::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.75rem;
  height: 0.5rem;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translate(-50%, -65%) rotate(-45deg) scale(0);
  transition: transform var(--duration-micro) var(--animation-ease);
}

.checkout-radio__input:checked + .checkout-radio__box {
  border-color: #254e36;
  background: #254e36;
}

.checkout-radio__input:checked + .checkout-radio__box::after {
  transform: translate(-50%, -65%) rotate(-45deg) scale(1);
}

.checkout-radio__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.checkout-radio__title {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.35;
  color: #000;
}

.checkout-radio__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.checkout-radio__note {
  font-size: 0.875rem;
  line-height: 1.45;
  font-style: italic;
  color: #000;
}

.checkout-radio__note--accent {
  font-weight: 700;
  color: #254e36;
}

.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.5rem;
}

.checkout-form--address {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.checkout-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 0;
}

.checkout-form__field--full {
  grid-column: 1 / -1;
}

.checkout-form__label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.checkout-form__error {
  font-size: 0.875rem;
  line-height: 1.35;
  color: #ff3118;
}

.checkout-form__input--invalid {
  border-color: #ff3118;
}

.checkout-form__textarea {
  min-height: 6.25rem;
  resize: vertical;
}

.checkout-location {
  position: relative;
  display: block;
}

.checkout-location__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  z-index: 1;
  display: flex;
  color: #bec6c2;
  transform: translateY(-50%);
  pointer-events: none;
}

.checkout-location__input {
  padding-left: 3rem;
}

.checkout-products-table {
  display: flex;
  flex-direction: column;
}

.checkout-products-table__head,
.checkout-product {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) 5.625rem 5.625rem 5.625rem;
  align-items: center;
  gap: 1.25rem;
}

.checkout-products-table__head {
  padding: 1rem 1.25rem;
  background: #e9edeb;
  font-size: 1.125rem;
  line-height: 1.35;
  color: #000;
}

.checkout-product {
  padding: 2.5rem 0 0 0;
}

.checkout-product__image {
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  object-fit: cover;
}

.checkout-product__title,
.checkout-product__count,
.checkout-product__price,
.checkout-product__sum {
  font-size: 1.125rem;
  line-height: 1.35;
  color: #000;
}

.checkout-product__sum {
  font-style: italic;
  color: #254e36;
}

.checkout-products__button {
  width: fit-content;
  margin-top: 1.875rem;
}

.checkout-summary {
  position: sticky;
  top: 1.25rem;
  padding: 1.875rem;
}

.checkout-summary__title {
  margin: 0 0 1.875rem;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 700;
  color: #254e36;
}

.checkout-summary__rows {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(37, 78, 54, 0.2);
}

.checkout-summary__row,
.checkout-summary__total {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem 1rem;
  align-items: baseline;
}

.checkout-summary__row span,
.checkout-summary__total span {
  font-size: 1.125rem;
  line-height: 1.35;
  color: #000;
}

.checkout-summary__row strong,
.checkout-summary__total strong {
  font-size: 1.125rem;
  line-height: 1.35;
  color: #254e36;
  white-space: nowrap;
  justify-content: flex-end;
  display: flex;
}

.checkout-summary__row small {
  grid-column: 2;
  margin-top: -0.375rem;
  font-size: 0.625rem;
  line-height: 1.25;
  color: #888;
}

.checkout-summary__total {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(37, 78, 54, 0.2);
}

.checkout-summary__total span {
  font-size: 1.5rem;
  font-weight: 700;
}
.checkout-summary__total strong {
  font-size: 1.375rem;
  font-weight: 700;
}
.checkout-summary__agreements .form__checkbox-box {
  min-width: 20px;
}
.checkout-summary__agreements {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.25rem 0;
}

.checkout-summary__button {
  width: 100%;
}

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

  .checkout-summary {
    position: static;
    order: 2;
  }
}

@media (max-width: 991px) {
  .checkout-options {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }

  .checkout-form--address {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-products-table__head {
    display: none;
  }

  .checkout-products-table {
    gap: 1.25rem;
  }

  .checkout-product {
    grid-template-columns: 5rem minmax(0, 1fr);
    align-items: flex-start;
    gap: 0.25rem 1.25rem;
    padding: 0;
  }

  .checkout-product__image-cell {
    grid-row: span 5;
  }

  .checkout-product__image {
    width: 5rem;
    height: 5rem;
  }

  .checkout-product__title,
  .checkout-product__count,
  .checkout-product__price,
  .checkout-product__sum {
    font-size: 0.875rem;
  }
}

@media (max-width: 767px) {
  .checkout__main,
  .checkout {
    gap: 1.25rem;
  }

  .checkout-card,
  .checkout-summary {
    padding: 1.25rem;
  }

  .checkout-card__title,
  .checkout-card__subtitle {
    font-size: 1.25rem;
  }

  .checkout-card__title {
    margin-bottom: 1.25rem;
  }

  .checkout-radio-list {
    gap: 1.25rem;
  }

  .checkout-radio {
    gap: 0.75rem;
  }

  .checkout-radio__title {
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
  }

  .checkout-radio__row {
    grid-template-columns: 1fr;
    gap: 0.625rem;
  }

  .checkout-radio__note {
    font-size: 0.75rem;
  }

  .checkout-form,
  .checkout-form--address {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .checkout-form__label-row {
    align-items: flex-start;
  }

  .checkout-form__textarea {
    min-height: 7.5rem;
  }

  .checkout-products__button {
    width: 100%;
    margin-top: 1.5rem;
  }

  .checkout-summary__title {
    font-size: 1.25rem;
  }

  .checkout-summary__total span,
  .checkout-summary__total strong {
    font-size: 1.25rem;
  }
  .checkout-summary__row span {
    font-size: 1rem;
  }
  .checkout-summary__total span {
    font-size: 1.25rem;
  }
  .checkout-summary__total strong {
    font-size: 1.375rem;
  }
}

/* Order success page */
.order-success-page {
  overflow: hidden;
}

.order-success__card {
  padding: 2.5rem;
  border: 1px solid rgba(37, 78, 54, 0.2);
  background: #fff;
}

.order-success__title {
  margin: 0 0 2.5rem;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 400;
  text-transform: uppercase;
  color: #000;
}

.order-success__text {
  margin: 0 0 2.5rem;
  font-size: 1.125rem;
  line-height: 1.45;
  color: #000;
}

.order-success__number {
  margin: 0 0 2.5rem;
  font-size: 1.125rem;
  line-height: 1.45;
  font-weight: 700;
  color: #254e36;
}

.order-success__number strong {
  font-weight: 700;
}

.order-success__button {
  width: fit-content;
}

@media (max-width: 767px) {
  .order-success__card {
    padding: 1.25rem;
  }

  .order-success__title {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
  }

  .order-success__text {
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
  }

  .order-success__number {
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
  }

  .order-success__button {
    width: 100%;
  }
}

.section--list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.section--list__item {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #000;
}

.section--list__item ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.section--list .section__subtitle {
  flex: 0 1 100%;
  width: 100%;
  margin: 0;
}

@media (min-width: 768px) {
  .section--list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 5vw, 2.5rem);
  }

  .section--list__item {
    flex: 1;
    font-size: 1.125rem;
  }
}

.section--images__wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.section--images__wrapper img {
  max-height: 650px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .section--images__wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: clamp(1.25rem, 5vw, 2.5rem);
  }

  .section--images__wrapper img {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .section--images__wrapper {
    gap: 2.5rem;
  }
}

.section--text > h4 {
  margin-bottom: 1.25rem;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  line-height: 150%;
  text-align: center;
}

.section--text .text__wrapper ol {
  padding-left: 1.25rem;
  list-style-type: decimal;
  font-size: 0.875rem;
  line-height: 150%;
}

@media (min-width: 768px) {
  .section--text > h4 {
    margin-bottom: 2.25rem;
    font-size: 1.25rem;
  }

  .section--text .text__wrapper ol {
    font-size: 1.125rem;
  }
}

/* Posadochnaya */

.special__hero {
  position: relative;
}

.special__hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
}

.special__hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.special__hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 182px 0 80px;
}

.special__hero__title {
  color: #fff;
  font-size: 31px;
  font-weight: 500;
  line-height: 140%;
  text-transform: uppercase;
}

.special__hero__description {
  color: #fff;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 140%;
}

.special__hero__desc {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.special__hero__item {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 5px;
}

.special__hero__item-image {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
}

.special__hero__item__item-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  line-height: 140%;
}

.special__hero__item__item-content > p:first-child {
  color: #b5b5b5;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

.special__hero__wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

@media (min-width: 768px) {
  .special__hero__content {
    gap: 2.75rem;
    padding: clamp(182px, 20vw, 485px) 0 108px;
  }

  .special__hero__title {
    font-size: 96px;
    line-height: 1.1;
  }

  .special__hero__wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.5rem;
  }

  .special__hero__description {
    flex: 1;
    font-size: 23px;
  }

  .special__hero__desc {
    flex-shrink: 0;
    flex-wrap: nowrap;
    gap: 2.5rem;
  }

  .special__hero__item {
    gap: 1.5rem;
  }

  .special__hero__item-image {
    width: 64px;
    height: 64px;
  }

  .special__hero__item__item-content {
    gap: 0.625rem;
    font-size: 1.875rem;
  }

  .special__hero__item__item-content > p:first-child {
    font-size: 1.25rem;
  }
}

.invitations--special .invitation__item {
  gap: 1.25rem;
}

.invitations--special .invitation__content {
  padding: 0;
  background: transparent;
  color: #000;
}

.invitations--special .invitation__content h3 {
  color: #000;
}

.invitations--special .invitation__content__text {
  color: #000;
}

.invitations--special .invitation__content__buttons {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .invitations--special .invitation__item {
    gap: 2.5rem;
  }

  .invitations--special .invitation__content {
    gap: 50px;
  }

  .invitations--special .invitation__content h3 {
    font-size: 48px;
  }

  .invitations--special .invitation__content__text {
    font-size: 22px;
  }

  .invitations--special .invitation__content__buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem 2.5rem;
  }
}

.timeline__main {
  position: relative;
  display: flex;
  gap: 25px;
  overflow-x: auto;
  background-image: linear-gradient(#254e36, #254e36);
  background-size: 100% 1px;
  background-position: 0 50%;
  background-repeat: no-repeat;
}

.timeline__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 250px;
  min-height: 440px;
}

.timeline__item:nth-child(even) {
  flex-direction: column-reverse;
}

.timeline__item-time {
  color: #000;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: 2px;
  transition: color var(--duration-micro) var(--animation-ease);
}

.timeline__item-title {
  color: #000;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  text-transform: uppercase;
}

.timeline__item-text {
  color: #000;
  text-align: center;
  font-size: 12px;
  font-style: italic;
  font-weight: 400;
  line-height: 140%;
}

.timeline__item__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.timeline__item-image {
  position: relative;
  width: 250px;
  padding: 0 25px;
  overflow: hidden;
}

.timeline__item-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  transition: transform var(--duration-micro) var(--animation-ease);
}

.timeline__item:hover .timeline__item-image img {
  transform: scale(1.05);
}

.timeline__item:hover .timeline__item-time {
  color: #254e36;
}

.timeline__item-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(0% + 8px));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline__item-line > span:first-child {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #254e36;
}

.timeline__item-line > span:last-child {
  height: 60px;
  width: 1px;
  background: #254e36;
}

.timeline__item:nth-child(even) .timeline__item-line {
  flex-direction: column-reverse;
}

.timeline__item:nth-child(even) .timeline__item-line {
  top: 50%;
  transform: translate(-50%, calc(-100% + 8px));
}

.timeline {
  position: relative;
}

.timeline__button {
  display: none;
}

.timeline__button.is-hidden {
  display: none !important;
}

.special .section__subtitle {
  margin-bottom: 1.25rem;
  font-size: 22px;
}

.timeline__cards {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 40px;
}

.timeline-card__image {
  overflow: hidden;
}

.timeline-top {
  position: relative;
}

.timeline-card__image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 300/250;
  object-fit: cover;
  transition: transform var(--duration-micro) var(--animation-ease);
}

.timeline-card:hover .timeline-card__image img {
  transform: scale(1.05);
}

.timeline-card__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 20px;
  background: #254e36;
  font-size: 14px;
  color: #fff;
}

.timeline-card__content > p:first-child {
  font-size: 18px;
}

@media (min-width: 768px) {
  .timeline__item {
    max-width: 410px;
    min-height: 540px;
  }

  .timeline__item-image {
    width: 310px;
    padding: 0 40px;
  }

  .timeline__item-time {
    font-size: 30px;
  }

  .timeline__item-title {
    font-size: 18px;
  }

  .timeline__item-text {
    font-size: 16px;
  }

  .special .section__subtitle {
    margin-bottom: 50px;
    font-size: 48px;
  }

  .timeline__button {
    display: flex;
  }

  .timeline__cards {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 52px;
    margin-top: 60px;
  }

  .timeline-card {
    flex: 1;
    display: flex;
  }

  .timeline-card__image {
    flex-shrink: 0;
    width: 210px;
  }

  .timeline-card__image img {
    aspect-ratio: 210/210;
  }

  .timeline-card__content {
    flex: 1;
    justify-content: center;
    padding: 40px;
    font-size: 22px;
  }

  .timeline-card__content > p:first-child {
    font-size: 30px;
  }
}

@media (min-width: 1350px) {
  .timeline__item-line {
    transform: translate(-50%, 0%);
  }

  .timeline__item:nth-child(even) .timeline__item-line {
    top: 50%;
    transform: translate(-50%, -100%);
  }
}

.laureati__list {
  display: flex;
  gap: 10px;
  padding-bottom: 8px;
  overflow-x: auto;
}

.laureati__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex-shrink: 0;
  width: 280px;
  padding: 20px;
  border: 1px solid #254e36;
}

.laureati__item-image {
  aspect-ratio: 1/1;
}

.laureati__item-title {
  color: #254e36;
  font-size: 12px;
  font-weight: 400;
  line-height: 130%;
}

.laureati__item-footer {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.laureati__item-place {
  font-style: italic;
}

.laureati > .btn {
  width: max-content;
  margin: 0 auto;
  margin-top: 14px;
}

@media (min-width: 768px) {
  .laureati__list {
    gap: 40px;
  }

  .laureati__item {
    width: 350px;
  }

  .laureati__item-title {
    font-size: 18px;
  }

  .laureati__item-footer {
    font-size: 18px;
  }

  .laureati__item-name {
    font-size: 22px;
  }

  .laureati > .btn {
    margin-top: 44px;
  }
}

.videos__wrapper {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.videos__wrapper > video,
.videos__wrapper > iframe {
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 35/19;
}

@media (min-width: 768px) {
  .videos__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    overflow: hidden;
  }

  .videos__wrapper > video,
  .videos__wrapper > iframe {
    width: 100%;
    aspect-ratio: 213/116;
  }
}

.organizators__swiper {
  overflow: hidden;
}

.organizators__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  border: 1px solid #dfdfdf;
  color: #000;
  text-align: center;
  font-size: 12px;
  width: 100%;
}

.organizators__item img {
  max-height: 78px;
}

@media (min-width: 768px) {
  .organizators__slider .organizators__button--prev,
  .organizators__slider .organizators__button--next {
    display: flex;
  }
}

@media (min-width: 768px) {
  .organizators__slider {
    position: relative;
  }

  .organizators__slider .icons__button--prev,
  .organizators__slider .icons__button--next {
    display: flex;
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin: 0;
    margin: 0;
    transform: translateY(-50%);
  }

  .organizators__slider .icons__button--prev {
    left: -56px;
  }

  .organizators__slider .icons__button--next {
    right: -56px;
  }
}

@media (min-width: 1650px) {
  .organizators__slider .icons__button--prev {
    left: -65px;
  }

  .organizators__slider .icons__button--next {
    right: -65px;
  }
}

.histoty-swiper {
  position: relative;
}

.histoty-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.history__preview {
  margin-bottom: 1.25rem;
  color: #000;
  font-size: 14px;
}

.history__image {
  margin-bottom: 1.25rem;
  aspect-ratio: 300/150;
}

.history__content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.history__content-item {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: #000;
  font-size: 14px;
  line-height: 140%;
}

.history__content-title {
  color: #000;
  font-size: 18px;
  font-weight: 500;
  line-height: 140%;
}

.history__content-text {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

.history__content-text ul {
  padding-left: 1.25rem;
  list-style-type: disc;
  color: #000;
}

.history__content .swiper-slide {
  width: 100% !important;
}

.history__content-text--big {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  color: #254e36;
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  line-height: 140%;
}

@media (min-width: 768px) {
  .history__preview {
    margin-bottom: 3rem;
    font-size: 22px;
  }

  .history__image {
    margin-bottom: 3rem;
    aspect-ratio: 1520/500;
  }

  .history__content {
    gap: 3rem;
  }

  .history__content-item {
    flex-direction: row;
    gap: 52px;
    font-size: 18px;
  }

  .history__content-title {
    width: 480px;
    font-size: 36px;
  }

  .history__content-text {
    flex: 1;
    gap: 2.5rem;
  }

  .history__content-text--big {
    gap: 2.5rem;
    font-size: 28px;
  }
}

.folder__cards {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.folder__item {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #254e36;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
}

.folder__item::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 25%;
  height: 200%;
  transform: translateY(-50%);
  background-image: url("../images/event-bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position-y: bottom;
}

.folder__item img {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
}

.folder__item p {
  flex: 1;
}

.special-more__content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.special-more__content .docs-item {
  border: 1px solid #254e36;
}

@media (min-width: 768px) {
  .folder__cards {
    flex-direction: row;
    gap: 52px;
  }

  .folder__item {
    gap: 40px;
    padding: 40px;
    font-size: 22px;
  }

  .special-more__content {
    gap: 48px;
  }
}

.special__main {
  position: relative;
  padding-top: 50px;
  padding-bottom: 100px;
  background: #fcfbf7;
}

.special__main::before {
  content: "";
  position: absolute;
  top: -52px;
  left: 0;
  width: 100%;
  height: 52px;
  background-image: url("../images/special-main.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

@media (min-width: 768px) {
  .special__main {
    padding-block: 100px;
  }
}

body:has(main.special) .footer::before {
  content: "";
  position: absolute;
  top: -52px;
  left: 0;
  width: 100%;
  height: 52px;
  background-image: url("../images/special-footer.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.profile__menu-btn {
  margin-bottom: 20px;
}

.invitation__content__text-subtitle {
  font-size: 1rem;
}

@media (min-width: 1024px) {
  .profile__menu-btn {
    display: none;
  }

  .invitation__content__text-subtitle {
    font-size: 1.25rem;
  }
}

.suveniri-cart {
  position: fixed;
  top: 60px;
  right: 10px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 5px 5px 0 0;
  background: #254e36;
  border-radius: 50%;
}

@media (min-width: 1024px) {
  .suveniri-cart {
    display: none;
  }
}
