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

@font-face {
  font-family: "Circle Contrast Subhead";
  src: url("../fonts/circe-contrast_subhead.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --color-main: #232e36;
  --color-secondary: #badcec;
  --color-3: #f0ebe2;
  --color-white: #fff;
  --color-black: #000;

  --font-serif: "Manrope", serif;
  --font-title: "Circle Contrast Subhead", sans-serif;

  --container: 1540px;
  --radius: 8px;

  --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;
  font-weight: 400;
  line-height: 1.37;
  color: var(--color-main);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

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

body.no-scroll {
  overflow: hidden;
}

body.fslightbox-open {
  padding-right: 0 !important;
}

main {
  flex: 1;
  overflow: hidden;
}

img {
  height: auto;
}

p,
h2 {
  line-height: 1.4;
}

figcaption {
  padding: 0.625rem;
  background: var(--color-3);
  color: var(--color-main);
  text-align: center;
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 400;
  line-height: 150%;
}

blockquote {
  position: relative;
  padding: 1.25rem 0 1.25rem 3.375rem;
  border-top: 1px solid var(--color-3);
  border-bottom: 1px solid var(--color-3);
  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: 1.3125rem;
    font-size: 1rem;
    line-height: 1.1;
  }

  blockquote {
    padding: 2.5rem 0 2.5rem 4.875rem;
    font-size: 1.375rem;
  }

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

.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: 0.625rem;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

@media (min-width: 1520px) {
  .container {
    max-width: 1440px;
  }
}

@media (min-width: 1700px) {
  .container {
    max-width: var(--container);
  }
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.125rem;
  border-radius: 6px;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 500;
  transition: all var(--duration-micro) var(--animation-ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn:hover {
  font-weight: 600;
}

.btn--primary {
  background: var(--color-main);
  color: var(--color-white);
}
.btn--primary:hover {
  background: #474747;
  color: var(--color-white);
}

.btn--secondary {
  background: var(--color-secondary);
  color: var(--color-main);
}
.btn--secondary:hover {
  background: #898989;
  color: var(--color-white);
}

.btn--ghost {
  background: var(--color-3);
  color: var(--color-main);
}
.btn--ghost:hover {
  background: #898989;
  color: var(--color-white);
}

.btn--badge {
  background: var(--color-3);
  color: var(--color-main);
}

.btn--badge:hover {
  background: #898989;
  color: var(--color-white);
}

.btn--white {
  background: var(--color-white);
  color: var(--color-main);
}

.btn--white:hover {
  background: #898989;
  color: var(--color-white);
}

.btn--back {
  background: transparent;
  border: 1px solid var(--color-3);
  color: var(--color-main);
}

.btn--back:hover {
  border-color: var(--color-main);
}

.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: -0.0625rem;
  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);
}

.header--scrolled {
  position: sticky;
  top: 0;
  animation: slideDownOpen 0.6s var(--animation-ease);
}

.header__top {
  display: none;
}

.header__top-inner {
  display: none;
}

.header__util-nav {
  display: none;
}

.header__util-nav--mobile {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.header__util-nav--mobile .header__util-link {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  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 {
  display: none;
}

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

.header__util-actions {
  display: none;
}

.header__util-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__util-social a img {
  transition: opacity var(--duration-micro) var(--animation-ease);
}

.header__util-social a:hover img {
  opacity: 0.8;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: opacity var(--duration-micro) var(--animation-ease);
}

.lang-switch:hover {
  opacity: 0.8;
}

.lang-switch img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.header__main {
  height: 66px;
}

.header__main-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.875rem;
}

.header__logo {
  display: flex;
  align-items: center;
  width: 166px;
  height: 38px;
}

.header__logo img {
  flex-shrink: 0;
  height: 100%;
}

.header__booking {
  border-radius: 6px;
}

.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: 0.25rem;
  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);
}

.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);
}

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

.header__icon-btn:hover svg path {
  fill: #ededed;
}

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%;
  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: 0.8125rem;
}

.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: 0.125rem 0.25rem;
  color: #254e36;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

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

  .header__search__item__head {
    gap: 0.625rem 1.25rem;
  }

  .header__search__item__title {
    font-size: 1.5rem;
  }

  .header__search__item__tag {
    padding: 0.4375rem 0.625rem;
  }

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

.search-form {
  display: flex;
  gap: 1.5rem;
  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: 20px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: opacity var(--duration-micro) var(--animation-ease);
  padding: 0;
}

.search-close:hover {
  opacity: 0.8;
}

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

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

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

.burger {
  display: flex;
  flex-direction: column;
  width: 16px;
  height: 7px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  gap: 0.15625rem;
}

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

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

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

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

body.menu-open .burger {
  position: absolute;
  top: 14px;
  right: 8px;
  width: 24px;
  height: 24px;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 901;
  background: var(--color-main);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  padding: 88px 0.625rem 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;
}

.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: 1.5rem;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1.25rem;
  line-height: 1;
  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: 1.25rem;
  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: 0.875rem;
  padding: 1.25rem 1.625rem 0;
  border-bottom: none;
}

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

.mobile-menu__footer {
  margin-top: 2.5rem;
  margin-bottom: 1.875rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.mobile-menu__utils .btn {
  width: 100%;
}

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

.mobile-menu__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.mobile-menu__socials a svg {
  max-width: 24px;
  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);
}

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

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

/* Footer */
.footer {
  position: relative;
  padding: 1.5625rem 0 5rem;
  background-color: var(--color-main);
  color: var(--color-white);
}

.footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/footer-bg.png");
  background-position: center bottom;
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
}

.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: 2.5rem;
}

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

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

.footer__col > h2 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.footer__col > .footer__col {
  margin-top: 1.25rem;
}

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

.footer__col-details {
  display: block;
}

.footer__col-details + ul {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer__col-summary {
  position: relative;
  display: inline-block;
  list-style: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
}

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

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

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

.footer__col-details .footer__nav-group {
  padding-top: 0.875rem;
  gap: 6px;
}

.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: 24px;
  height: 24px;
}

.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: 1.25rem;
}

.footer__contact a {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

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

.header__text {
  display: none;
}

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

  .header__top {
    display: block;
    background: var(--color-main);
    padding: 0.875rem 0;
    border-bottom: none;
  }

  .header__top-inner {
    display: flex;
    gap: 1.875rem;
    justify-content: space-between;
    align-items: center;
    width: min(100%, var(--container));
  }

  .header__util-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.875rem;
    font-size: 1rem;
    align-items: center;
  }

  .header__util-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    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: 2.25rem;
    align-items: center;
  }

  .header__main {
    height: auto;
    padding: 1.5rem 0;
  }

  .header__main-inner {
    gap: 0 clamp(0.875rem, 2vw, 2rem);
    flex-wrap: wrap;
  }

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

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

  .header__logo {
    width: 260px;
    height: 60px;
    gap: 1.25rem;
    flex: 0 0 auto;
  }

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

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

  .main-nav__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem clamp(0.875rem, 2vw, 1.5rem);
    list-style: none;
  }

  .main-nav__item {
    position: static;
  }

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

  .main-nav__link:hover {
    font-weight: 700;
  }

  .header__actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: clamp(0.875rem, 2vw, 2rem);
  }

  .header__search-mob {
    display: none;
  }

  .burger {
    display: none;
  }

  .header__search-container {
    padding-block: 3.3125rem;
  }

  .search-form {
    gap: 2.875rem;
  }

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

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

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

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

  /* Footer */
  .footer {
    padding: 4.5rem 0;
  }

  .footer::after {
    top: 0;
    right: 0;
    left: auto;
    max-width: 900px;
    background-image: url("../images/footer-bg-desktop.png");
    background-position: top right;
  }

  .footer > .container {
    gap: 7.5rem;
  }

  .footer:has(details[open]) > .container {
    gap: 87px;
  }

  .footer__main {
    flex-direction: row;
    gap: 2.5rem;
  }

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

  .footer__col:has(.footer__col-details) {
    gap: 12px;
  }

  .footer__col > h2 {
    font-size: 1.125rem;
  }

  .footer__nav-group {
    gap: 0.875rem;
  }

  .footer__contact a {
    font-size: 1.125rem;
  }

  .footer__copy-section {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    font-size: 13px;
  }

  .footer__col-details .footer__nav-group a {
    font-weight: 400;
  }

  .footer__col-details .footer__nav-group {
    gap: 3px;
  }

  .footer__contact {
    gap: 10px;
  }

  .footer__contact a {
    font-size: 1.125rem;
  }

  .footer__socials {
    margin-block: 10px 5px;
  }
}

.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;
}

/* Swiper */

.swiper-button-prev,
.swiper-button-next {
  width: 44px;
  height: 44px;
  border: 1.25px solid var(--color-white);
  background: transparent;
  display: flex;
  padding: 0.75rem;
  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);
}

/* Breadcrumb */

.breadcrumb {
  padding-block: 0.9375rem;
  padding-inline: 0.875rem;
}

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

.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: 12px;
  height: 1px;
  background: rgba(35, 46, 54, 0.4);
}

.breadcrumb__item {
  font-size: 0.8125rem;
}

.breadcrumb__link {
  font-size: 0.8125rem;
  color: rgba(35, 46, 54, 0.4);
}

@media (min-width: 768px) {
  .breadcrumb {
    padding-block: 1.5rem;
    padding-inline: 0;
  }

  .breadcrumb__item {
    font-size: 1rem;
  }

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

/* 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;
}

/* 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: 0.4375rem 0.875rem 0.5625rem;
  border: none;
  background: none;
  min-height: unset;
}

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

.choices__list--single {
  padding: 0 0.875rem 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: 0.25rem;
  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: 0.5625rem 1.25rem;
}

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

@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 1.25rem 0 0;
  }

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

  .main__content__service .choices__inner {
    padding: 0.5625rem 0.875rem;
  }

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

.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: 9.625rem 0.625rem 13.125rem;
  gap: 1rem;
}

.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: 2.8125rem;
  color: #fff;
  font-family: var(--font-title);
  font-size: 2.8125rem;
  font-weight: 600;
  line-height: 100%;
}

.page-404__text {
  margin-bottom: 0.25rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
  font-size: 0.8125rem;
  line-height: 140%;
}

.page-404__content .btn {
  align-self: normal;
}

@media (min-width: 768px) {
  .page-404__content {
    padding: 9.625rem 0.625rem 11.75rem;
    max-width: 902px;
    margin: 0 auto;
  }

  .page-404__title {
    font-size: 5.625rem;
  }

  .page-404__text {
    font-size: 1.25rem;
  }

  .page-404__content .btn {
    align-self: center;
  }
}

/* Section */
.section {
  padding: 1.5625rem 0;
}

.section__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 1.875rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 120%;
}

.section__title > h2 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1;
}

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

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

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

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

  .section__title {
    gap: 1.25rem;
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: 3rem;
    font-size: 1.125rem;
  }

  .section__title > h2 {
    font-size: 2.8125rem;
  }
}

/* Search page */

.section--search {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

.section--search__header > .form {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.section--search__content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.section--search__content__item {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  color: var(--Color6, #6d758f);
  font-size: 0.8125rem;
  line-height: 140%;
}

.section--search__content-title {
  margin-bottom: 1.625rem;
  font-family: var(--font-title);
  font-size: 1.4375rem;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  color: var(--color-main);
  transition: color var(--duration-block) var(--animation-ease);
}

.section--search__content--desc {
  margin-bottom: 2rem;
  color: #555;
  font-size: 0.8125rem;
  line-height: 140%;
  transition: color var(--duration-block) var(--animation-ease);
}

.section--search__content__item:hover .section--search__content-title {
  color: #898989;
}

.section--search__content--path {
  display: flex;
  align-items: center;
  gap: 0.3125rem 0.625rem;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .section--search__header > .form {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0.65rem 1.25rem;
  }

  .section--search__header > .form .form__field {
    width: 300px;
  }

  .section--search__content-title {
    margin-bottom: 0.625rem;
  }

  .section--search__content--desc {
    margin-bottom: 0.9375rem;
  }

  .section--search__content__item {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
  }

  .section--search__content-image {
    flex-shrink: 0;
    width: 48px;
  }
}

.section--search__results {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
  margin-bottom: 1.125rem;
}

.section--search__results-count {
  font-size: 1rem;
}

.section--search__results-navigation {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
}

.section--search__results-list {
  display: flex;
  align-items: center;
  gap: 0.3125rem;
  padding-inline: 0.3125rem;
}

.section--search__results-navigation > *:not(:last-child) {
  position: relative;
  padding-right: 0.3125rem;
}

.section--search__results-list a {
  transition: font-weight var(--duration-micro) var(--animation-ease);
}

.section--search__results-list a:hover {
  font-weight: 800;
}

.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-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%);
}

.section--search__header,
.section--search__results,
.section--search__content__item {
  opacity: 0;
}

.section--search.js-visible .section--search__header,
.section--search.js-visible .section--search__results,
.section--search.js-visible .section--search__content__item {
  animation: fadeInUp 0.6s var(--animation-ease) forwards;
}

.section--search.js-visible .section--search__header {
  animation-delay: 0s;
}

.section--search.js-visible .section--search__results {
  animation-delay: 0.15s;
}

.section--search.js-visible .section--search__content__item:nth-child(1) {
  animation-delay: 0.3s;
}

.section--search.js-visible .section--search__content__item:nth-child(2) {
  animation-delay: 0.42s;
}

.section--search.js-visible .section--search__content__item:nth-child(3) {
  animation-delay: 0.54s;
}

.section--search.js-visible .section--search__content__item:nth-child(4) {
  animation-delay: 0.66s;
}

.section--search.js-visible .section--search__content__item:nth-child(5) {
  animation-delay: 0.78s;
}

.section--search.js-visible .section--search__content__item:nth-child(6) {
  animation-delay: 0.9s;
}

.section--search.js-visible .section--search__content__item:nth-child(n + 7) {
  animation-delay: 1.02s;
}

/* Form */

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

.form__label {
  font-size: 0.6875rem;
  font-weight: 600;
}

.form__label span {
  color: #d80027;
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 120%;
}

.form__input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  border: 1px solid #f1f3f7;
  background: var(--color-white);
  box-shadow: 0 1px 4px 0 rgba(25, 33, 61, 0.08);
  min-height: 38px;
  font-size: 0.875rem;
  line-height: 1;
}

.form__input::placeholder {
  font-size: 0.875rem;
  opacity: 0.5;
}

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

.form__file {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1rem 1.25rem;
  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__checkbox {
  display: flex;
  align-items: center;
  font-size: 0.625rem;
  line-height: 1.4;
}

.form__checkbox a {
  color: var(--color-main);
  font-weight: 800;
  line-height: 1.4;
}

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

.form__checkbox-box {
  flex-shrink: 0;
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 3px;
  border: 1px solid #6d758f;
  background: transparent;
  margin-right: 0.75rem;
}

.form__checkbox-box::after {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  width: 5px;
  height: 9px;
  border: solid var(--color-main);
  border-width: 0 2px 2px 0;
  transform: translate(-50%, -50%) rotate(45deg) scale(0);
  transform-origin: center;
  transition: transform var(--duration-micro) var(--animation-ease);
}

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

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

/* Bookings */

.bookings {
  background: var(--color-3);
}

.bookings__inner {
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
  padding: 1.25rem 1rem 1.875rem;
}

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

.bookings__title {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 120%;
}

.bookings__subtitle {
  font-size: 0.8125rem;
  line-height: 140%;
}

.bookings__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: var(--colormain);
}

.bookings__field {
  position: relative;
  background: var(--color-white);
  padding: 0.3125rem 0.625rem;
}

.bookings__field-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.5625rem;
  font-weight: 400;
  line-height: 120%;
}

.bookings__field-input {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.bookings__field-input:focus {
  outline: none;
}

.bookings__field-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: all var(--duration-micro) var(--animation-ease);
}

.bookings__field-icon:hover {
  opacity: 0.8;
}

.bookings__field--guests {
  position: relative;
}

.bookings__guests-popover {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  width: fit-content;
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 8px 24px rgba(35, 46, 54, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.bookings__guests-popover[hidden] {
  display: none;
}

.bookings__guests-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bookings__guests-row-title {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
}

.bookings__guests-row-hint {
  display: block;
  font-size: 0.75rem;
  color: rgba(35, 46, 54, 0.6);
}

.bookings__counter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bookings__counter-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(35, 46, 54, 0.3);
  background: var(--color-white);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--duration-micro) var(--animation-ease);
}

.bookings__counter-btn:hover:not(:disabled) {
  background: var(--color-main);
  color: var(--color-white);
}

.bookings__counter-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bookings__counter-value {
  min-width: 1.25rem;
  text-align: center;
  font-weight: 600;
}

.bookings__submit {
  background: var(--color-main);
  border-radius: 0;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-white);
  text-transform: uppercase;
}

.bookings__submit:hover {
  background: #474747;
  font-weight: 800;
}

.bookings .bookings__header,
.bookings .bookings__field,
.bookings .bookings__submit {
  opacity: 0;
}

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

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

.bookings.js-visible .bookings__field:nth-of-type(1) {
  animation-delay: 0.15s;
}

.bookings.js-visible .bookings__field:nth-of-type(2) {
  animation-delay: 0.3s;
}

.bookings.js-visible .bookings__field:nth-of-type(3) {
  animation-delay: 0.45s;
}

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

@media (min-width: 768px) {
  .bookings__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
  }

  .bookings__header {
    gap: 0.125rem;
  }

  .bookings__form {
    flex: 1;
    flex-direction: row;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem 0.9375rem;
  }

  .bookings__submit {
    padding-inline: 2.125rem;
    background: var(--color-secondary);
    color: var(--color-main);
  }

  .bookings__submit:hover {
    background: #898989;
  }
}

.home-page .bookings {
  background: var(--color-main);
}

.home-page .bookings__title {
  color: var(--color-white);
}

.home-page .bookings__subtitle {
  color: var(--color-white);
}

.home-page .bookings__submit {
  background: var(--color-secondary);
  color: var(--color-main);
}

.home-page .bookings__submit:hover {
  background: #898989;
}

.card {
  flex-shrink: 0;
  position: relative;
  display: flex;
  width: 290px;
  min-height: 480px;
  padding: 2.5rem 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 15px 0 rgba(225, 228, 237, 0.2);
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(124, 124, 124, 0) 0%,
    rgba(124, 124, 124, 0.7) 100%
  );
  opacity: 1;
  transition: opacity var(--duration-micro) var(--animation-ease);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(124, 124, 124, 0) 0%, #7c7c7c 100%);
  opacity: 0;
  transition: opacity var(--duration-micro) var(--animation-ease);
}

.card:hover::after {
  opacity: 0;
}

.card:hover::before {
  opacity: 1;
}

.card__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

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

.card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  color: var(--color-white);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.1px;
}

.card__content-title {
  color: var(--color-white);
  font-family: var(--font-title);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 120%;
}

.cards__wrapper {
  display: flex;
  gap: 0.625rem;
  overflow: auto;
}

@media (min-width: 768px) {
  .card {
    padding: 2.5rem 1.5rem;
  }

  .card__content {
    font-size: 0.8125rem;
  }

  .card__content-title {
    font-size: 1.4375rem;
  }

  .cards__wrapper {
    gap: 1.375rem;
    overflow: visible;
  }
}

@media (min-width: 1024px) {
  .card {
    flex: 1;
    max-width: 50%;
  }

  .card__content {
    width: 258px;
  }
}

.discounts-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  width: 290px;
  border-radius: 8px;
  border: 1px solid #f3f3f3;
  box-shadow: 0 1px 4px 0 rgba(25, 33, 61, 0.08);
  overflow: hidden;
  cursor: pointer;
}

.discounts-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 289/280;
}

.discounts-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  padding: 1.5rem 1.25rem;
  background: var(--color-white);
}

.discounts-item__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3125rem 0.625rem;
  font-size: 0.8125rem;
  line-height: 140%;
}

.discounts-item-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3125rem 0.625rem;
  border-radius: 3px;
  border: 1px solid var(--color-3);
  background: var(--color-3);
  text-align: center;
  font-weight: 600;
}

.discounts-item-date {
  font-weight: 500;
}

.discounts-item-title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  line-height: 140%;
  transition: color var(--duration-micro) var(--animation-ease);
}

.discounts__wrapper {
  display: flex;
  gap: 0.625rem;
  overflow: auto;
}

.discounts-item:hover .discounts-item-title {
  color: #898989;
}

.discounts .discounts-item {
  opacity: 0;
}

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

.discounts.js-visible .discounts-item:nth-child(1) {
  animation-delay: 0.15s;
}

.discounts.js-visible .discounts-item:nth-child(2) {
  animation-delay: 0.3s;
}

.discounts.js-visible .discounts-item:nth-child(3) {
  animation-delay: 0.45s;
}

.discounts.js-visible .discounts-item:nth-child(4) {
  animation-delay: 0.6s;
}

@media (min-width: 768px) {
  .discounts__wrapper {
    gap: 1.375rem;
    overflow: visible;
  }

  .discounts-item__image img {
    aspect-ratio: 363/280;
  }
}

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

  .discounts-item {
    width: auto;
  }

  .discounts-item-title {
    font-size: 23px;
  }
}

/* Gallery */

.gallery__wrapper {
  display: flex;
  gap: 0.625rem;
}

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

.gallery_item {
  flex: 1;
  display: grid;
  grid-template-rows: 1fr 1fr 0.75fr 1.5fr;
  gap: 0.625rem;
}

.gallery_item:last-child {
  grid-template-rows: 1.5fr 0.75fr 1fr 1fr;
}

.gallery_item img {
  width: auto;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 73/71;
}

.gallery_item-el {
  position: relative;
}

.gallery_item-el::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.2) 100%
  );
  opacity: 0;
  transition: opacity var(--duration-micro) var(--animation-ease);
}

.gallery_item-el:hover::after {
  opacity: 1;
}

.gallery .gallery_item-el {
  opacity: 0;
}

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

.gallery.js-visible .gallery_item:nth-child(1) .gallery_item-el:nth-child(1) {
  animation-delay: 0.1s;
}

.gallery.js-visible .gallery_item:nth-child(1) .gallery_item-el:nth-child(2) {
  animation-delay: 0.2s;
}

.gallery.js-visible .gallery_item:nth-child(1) .gallery_item-el:nth-child(3) {
  animation-delay: 0.3s;
}

.gallery.js-visible .gallery_item:nth-child(1) .gallery_item-el:nth-child(4) {
  animation-delay: 0.4s;
}

.gallery.js-visible .gallery_item:nth-child(2) .gallery_item-el:nth-child(1) {
  animation-delay: 0.5s;
}

.gallery.js-visible .gallery_item:nth-child(2) .gallery_item-el:nth-child(2) {
  animation-delay: 0.6s;
}

.gallery.js-visible .gallery_item:nth-child(2) .gallery_item-el:nth-child(3) {
  animation-delay: 0.7s;
}

.gallery.js-visible .gallery_item:nth-child(2) .gallery_item-el:nth-child(4) {
  animation-delay: 0.8s;
}

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

  .gallery__wrapper:not(:last-child) {
    margin-bottom: 1.375rem;
  }

  .gallery_item {
    flex: 1;
    gap: 1.375rem;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 125px);
  }

  .gallery_item:last-child {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 125px);
  }

  .gallery_item > .gallery_item-el:first-child {
    grid-row: 1/3;
  }

  .gallery_item > .gallery_item-el:nth-child(2) {
    grid-row: 3/-1;
  }

  .gallery_item > .gallery_item-el:nth-child(3) {
    grid-row: 1/4;
  }

  .gallery_item > .gallery_item-el:last-child {
    grid-row: 4/-1;
  }

  .gallery_item:last-child > .gallery_item-el:first-child {
    grid-column: 2/-1;
  }

  .gallery_item:last-child > .gallery_item-el:nth-child(2) {
    grid-column: 2/-1;
  }

  .gallery_item:last-child > .gallery_item-el:nth-child(3) {
    grid-column: 1/2;
    grid-row: 2/-1;
  }

  .gallery_item:last-child > .gallery_item-el:last-child {
    grid-row: 1/2;
  }

  .gallery_item img {
    width: 100%;
    aspect-ratio: 364/251;
  }
}

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

  .gallery_item:last-child {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 175px);
  }

  .gallery_item img {
    aspect-ratio: 364/251;
  }
}

/* Reviews */

.reviews__wrapper {
  display: flex;
  gap: 0.625rem;
  overflow: auto;
}

.reviews-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 290px;
  padding: 1.75rem 1.1875rem 1.125rem;
  border-radius: 8px;
  border: 1px solid var(--color-3);
  background: var(--color-white);
  box-shadow: 0 1px 4px 0 rgba(25, 33, 61, 0.08);
  overflow: hidden;
  transition: box-shadow var(--duration-micro) var(--animation-ease);
}

.reviews-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reviews-header__image {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}

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

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

.reviews-header__name {
  font-size: 1rem;
  font-weight: 600;
  line-height: 120%;
}

.reviews-header__date {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.1px;
}

.reviews-text {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 140%;
}

.reviews .reviews-item {
  opacity: 0;
}

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

.reviews.js-visible .reviews-item:nth-child(1) {
  animation-delay: 0.1s;
}

.reviews.js-visible .reviews-item:nth-child(2) {
  animation-delay: 0.2s;
}

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

.reviews.js-visible .reviews-item:nth-child(4) {
  animation-delay: 0.4s;
}

.reviews.js-visible .reviews-item:nth-child(5) {
  animation-delay: 0.5s;
}

.reviews.js-visible .reviews-item:nth-child(6) {
  animation-delay: 0.6s;
}

.reviews.js-visible .reviews-item:nth-child(7) {
  animation-delay: 0.7s;
}

.reviews.js-visible .reviews-item:nth-child(8) {
  animation-delay: 0.8s;
}

.reviews.js-visible .reviews-item:nth-child(n + 9) {
  animation-delay: 0.9s;
}

@media (min-width: 768px) {
  .reviews__wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1.375rem;
    overflow: visible;
  }

  .reviews-item {
    width: auto;
    flex: 1;
    padding: 2rem 1.5rem 2rem;
  }

  .reviews-header__name {
    font-size: 1.125rem;
  }

  .reviews-header__date {
    font-size: 13px;
    font-weight: 700;
  }
}

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

/* Faq */

.faq__wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-item {
  display: block;
  padding: 1rem 1.25rem;
  border-radius: 100px;
  border: 1px solid var(--color-3);
  background: var(--color-white);
  box-shadow: 0 0.5px 2px 0 rgba(25, 33, 61, 0.1);
  transition: all var(--duration-micro) var(--animation-ease);
}

.faq-item__summary {
  position: relative;
  display: block;
  padding-right: 1.25rem;
  list-style: none;
  cursor: pointer;
  color: var(--color-main);
  font-size: 1rem;
  font-weight: 600;
  line-height: 120%;
}

.faq-item__summary::-webkit-details-marker {
  display: none;
}

.faq-item__summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-image: url("../icons/plus.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 16px;
  height: 16px;
  transition: transform var(--duration-micro) var(--animation-ease);
}

.faq-item[open] {
  border-radius: 20px;
  border: 1px solid var(---color-3);
  background: var(--color-3);
}

.faq-item[open] > .faq-item__summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item__content {
  padding-top: 0.625rem;
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.faq .faq-item {
  opacity: 0;
}

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

.faq.js-visible .faq-item:nth-child(1) {
  animation-delay: 0.15s;
}

.faq.js-visible .faq-item:nth-child(2) {
  animation-delay: 0.3s;
}

.faq.js-visible .faq-item:nth-child(3) {
  animation-delay: 0.45s;
}

.faq.js-visible .faq-item:nth-child(4) {
  animation-delay: 0.6s;
}

.faq.js-visible .faq-item:nth-child(n + 5) {
  animation-delay: 0.75s;
}

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

  .faq-item__summary {
    font-size: 1.125rem;
  }

  .faq .section__title > p {
    max-width: 480px;
  }
}

/* Hero */

.hero {
  position: relative;
  padding: 0;
}

.hero__swiper {
  position: relative;
  width: 100%;
}

.hero__swiper .swiper-slide {
  position: relative;
}

.hero__pagination {
  position: absolute;
  bottom: 30px !important;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.625rem;
  z-index: 2;
}

.swiper-pagination-bullet {
  opacity: 1;
  background: rgba(255, 255, 255, 0.8);
}

.swiper-pagination-bullet-active {
  background: var(--color-white);
}

.hero__button {
  display: none;
}

.swiper-pagination-bullet {
  margin: 0 !important;
}

@media (min-width: 768px) {
  .hero__button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 4px;
    background: var(--color-white);
    border: none;
    cursor: pointer;
    z-index: 2;
    transition: background var(--duration-micro) var(--animation-ease);
  }

  .hero__button:hover {
    background: #474747;
  }

  .hero__button--prev {
    left: 5px;
  }

  .hero__button--next {
    right: 5px;
  }

  .hero__button::before {
    content: "";
    width: 16px;
    height: 16px;
    background-image: url("../icons/chevron.svg");
    background-size: contain;
    background-repeat: no-repeat;
    transition: all var(--duration-micro) var(--animation-ease);
  }

  .hero__button--prev::before {
    transform: rotate(180deg);
  }

  .hero__button:hover::before {
    background-image: url("../icons/chevron-white.svg");
  }
}

@media (min-width: 1520px) {
  .hero__button--prev {
    left: 20px;
  }

  .hero__button--next {
    right: 20px;
  }
}

@media (min-width: 1700px) {
  .hero__button--prev {
    left: 58px;
  }

  .hero__button--next {
    right: 58px;
  }
}

.hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__image img,
.hero__image picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 5.9375rem 0 9.875rem;
  z-index: 1;
}

.hero-map {
  position: absolute;
  bottom: 95px;
  left: 50%;
  z-index: 1;
  transform: translateX(-50%);
  gap: 0.1875rem;
  width: calc(100% - 20px);
  padding: 0.5625rem 1.125rem;
}

.hero-map svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

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

.hero-map:hover svg path {
  fill: var(--color-white);
}

.hero-title {
  color: var(--color-white);
  font-family: var(--font-title);
  font-size: 2.25rem;
  font-weight: 600;
  line-height: 100%;
}

.hero-text {
  color: var(--color-white);
  font-size: 0.9375rem;
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
}

.hero__content > .btn {
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .hero__content {
    padding: 5.9375rem 0;
    max-width: 460px;
  }

  .hero-map {
    bottom: 50px;
    right: 0;
    left: auto;
    transform: translateX(0);
    width: auto;
    gap: 1rem;
    padding: 0.875rem 1.125rem;
    font-size: 13px;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .hero-text {
    font-size: 1.125rem;
  }

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

  .hero-map svg {
    width: 45px;
    height: 45px;
  }
}

@media (min-width: 1670px) {
  .hero-map {
    transform: translateX(-50%);
  }
}

/* Services */

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

.services-item {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2.5rem 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--color-3);
  background: var(--color-white);
}

.services-item__image {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.services-item__image img,
.services-item__image picture,
.services-item__image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-item__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services-item__title {
  font-family: var(--font-title);
  font-size: 1.4375rem;
  font-weight: 600;
  line-height: 100%;
  transition: color var(--duration-micro) var(--animation-ease);
}

.services-item__description {
  font-size: 0.8125rem;
  line-height: 140%;
}

.services-item:hover .services-item__title {
  color: #898989;
}

@media (min-width: 768px) {
  .services__wrapper {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.5rem 1.375rem;
  }

  .services-item {
    flex: 0 1 calc(100% / 3 - 20px);
  }

  .services-item:nth-last-child(2):nth-child(3n + 1),
  .services-item:nth-last-child(2):nth-child(3n + 1) ~ .services-item {
    flex: 0 1 calc(50% - 11px);
  }
}

.services .services-item {
  opacity: 0;
}

.services.js-visible .services-item {
  animation: fadeInUp 0.6s var(--animation-ease) forwards;
}

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

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

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

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

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

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

.services.js-visible .services-item:nth-child(7) {
  animation-delay: 0.6s;
}

.services.js-visible .services-item:nth-child(8) {
  animation-delay: 0.7s;
}

.services.js-visible .services-item:nth-child(n + 9) {
  animation-delay: 0.8s;
}

/* Pagination */

.pagination {
  display: none;
  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: 45px;
  height: 45px;
  padding: 0;
  border: 1px solid #c3ced7;
  border-radius: 50%;
  background: var(--color-white);
  color: #c3ced7;
  font-size: 1.125rem;
  cursor: pointer;
  transition:
    background var(--transition),
    color var(--transition),
    border-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 {
  border: 1px solid #6a7074;
  color: #6a7074;
}

.pagination__btn:hover:not(:disabled) {
  background: var(--color-main);
  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 (min-width: 768px) {
  .pagination {
    display: flex;
    margin-top: 3rem;
  }
}

.page-inner .section__title {
  max-width: 100%;
}

.main__wrapper {
  padding: 1.5625rem 0;
}

.main__wrapper > section {
  padding: 0;
}

.main__wrapper > section:not(:first-child) {
  margin-bottom: 1.5rem;
}

.main__wrapper > section:last-child {
  margin-bottom: 0 !important;
}

@media (min-width: 768px) {
  .main__wrapper > section:not(:first-child) {
    margin-bottom: 3rem;
  }

  .main__wrapper > section:not(.inner-image):not(:last-child) {
    margin-bottom: 3rem;
  }

  .main__wrapper > section:is(.section-table) {
    margin-bottom: 2rem !important;
  }
}

.inner-image img {
  width: 100%;
  height: 100%;
  aspect-ratio: 289/280;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.inner-discount .discounts-item__content {
  padding-block: 0;
  gap: 1rem;
}

.inner-discount .discounts-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 140%;
}

@media (min-width: 1024px) {
  .main__wrapper {
    padding: 3.125rem 0;
  }

  .inner-image img {
    aspect-ratio: 1520/600;
  }

  .inner-discount .discounts-item__content {
    padding: 0;
    gap: 2rem;
  }

  .inner-discount .discounts-item-text {
    font-size: 1.125rem;
    line-height: 1.2;
  }
}

.inner-slider > .container {
  padding-inline: 1.875rem;
}

.inner-slider__wrapper {
  position: relative;
}

.inner-slider__swiper {
  overflow: hidden;
}

.inner-slider__swiper .swiper-slide {
  height: auto;
}

.inner-slider__item {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.inner-slider__swiper .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 270/240;
  object-fit: cover;
}

.inner-slider__button {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: var(--color-3);
  color: var(--color-main);
  cursor: pointer;
  transform: translateY(-50%);
  transition:
    background 0.2s,
    color 0.2s;
}

.inner-slider__button:hover {
  background: var(--color-main);
  color: var(--color-white);
}

.inner-slider__button--prev {
  left: -10px;
}

.inner-slider__button--next {
  right: -10px;
}

.inner-slider__button.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

@media (min-width: 1024px) {
  .inner-slider > .container {
    padding-inline: 4.375rem;
  }

  .inner-slider__button--prev {
    left: -60px;
  }

  .inner-slider__button--next {
    right: -60px;
  }

  .inner-slider__swiper .swiper-slide img {
    aspect-ratio: 330/240;
  }
}

.inner-text > .container {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  padding-inline: 2.1875rem;
}

.inner-text--center > .container {
  padding-left: 0.625rem;
  text-align: center;
}

.inner-video video,
.inner-video iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 290/240;
}

@media (min-width: 768px) {
  .inner-text > .container {
    gap: 1rem;
    font-size: 1.125rem;
    line-height: 1.2;
    padding-inline: 0.625rem;
  }

  .inner-text--center > .container {
    padding-left: 0.625rem;
    text-align: initial;
  }

  .inner-video video,
  .inner-video iframe {
    aspect-ratio: 1520/650;
  }
}

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

.doc-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem 1.125rem;
  border-radius: 4px;
  border: 1px solid var(--color-3);
  background: var(--color-white);
}

.doc-image {
  flex-shrink: 0;
  width: 24px;
  height: 27px;
}

.doc-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.doc-title {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 120%;
}

.doc-text {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3125rem 0.625rem;
  font-size: 0.6875rem;
  line-height: 140%;
}

.doc-arrow {
  margin-left: auto;
  width: 14px;
  height: 16px;
}

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

.doc-item:hover .doc-arrow svg path {
  fill: var(--color-main);
}

@media (min-width: 1024px) {
  .doc__wrapper {
    gap: 1rem;
  }

  .doc-item {
    padding: 1.875rem 2.875rem 1.875rem 2.5rem;
  }

  .doc-image {
    width: 35px;
    height: 40px;
  }

  .doc-content {
    gap: 0.3125rem;
  }

  .doc-title {
    font-size: 1rem;
  }

  .doc-text {
    gap: 0.3125rem 0.9375rem;
    font-size: 0.8125rem;
  }

  .doc-arrow {
    width: 14px;
    height: 16px;
  }
}

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

.subscribe__image {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
}

.subscribe__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 290/280;
}

.subscribe__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1.5rem;
}

.subscribe-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 100%;
  text-align: center;
}

.subscribe-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 120%;
}

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

@media (min-width: 768px) {
  .subscribe__wrapper {
    flex-direction: row;
    align-items: center;
    border-radius: 8px;
    border: 1px solid var(--color-3);
  }

  .subscribe__image {
    flex: 1;
    border-radius: 8px 0 0 8px;
  }

  .subscribe__image img {
    aspect-ratio: 760/660;
  }

  .subscribe__content {
    flex: 1;
    padding: 3.375rem 1.5rem 4.625rem;
  }

  .subscribe-title {
    font-size: 2.1875rem;
    text-align: initial;
  }

  .subscribe__content > form .form__submit {
    align-self: flex-start;
  }
}

@media (min-width: 768px) {
  .inner-back > .container {
    display: flex;
    justify-content: flex-start;
  }
}

.section-table > .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-table > .container > h3 {
  text-align: center;
  font-family: var(--font-title);
  font-size: 1.4375rem;
  font-weight: 600;
  line-height: 120%;
}

.section-table > .container > p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 28px;
}

.table__wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-x: auto;
}

.table__header {
  display: flex;
  width: 100%;
}

.table__header-item {
  flex: 1;
  padding: 1rem 1.25rem;
  background: #e7e7e7;
  font-size: 1rem;
  font-weight: 700;
  line-height: 120%;
}

.table__header-item:first-child {
  width: 260px;
  flex: 0 0 260px;
}

.table__rows {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.table__rows-item {
  display: flex;
  font-size: 1rem;
  line-height: 120%;
}

.table__rows-item:nth-child(even) {
  background: #f7f7f7;
}

.table__rows-item > div {
  flex: 1;
  padding: 1rem 1.25rem;
}

.table__rows-item > div:first-child {
  width: 260px;
  flex: 0 0 260px;
}

@media (min-width: 768px) {
  .section-table > .container > h3 {
    text-align: initial;
  }

  .table__rows-item > div:first-child,
  .table__header-item:first-child {
    width: 560px;
    flex: 0 0 560px;
  }
}

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

.dialog__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: transparent;
  cursor: pointer;
  outline: 0;
}

.dialog__close svg {
  width: 100%;
  height: 100%;
}

.dialog__close svg path {
  transition: fill var(--duration-micro) var(--animation-ease);
  fill: #6d758f;
}

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

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

.dialog__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid #e1e4ed;
  background: var(--color-white);
  box-shadow: 0 1px 4px 0 rgba(25, 33, 61, 0.08);
}

.dialog-title {
  color: var(--color-main);
  text-align: center;
  font-family: var(--font-title);
  font-size: 1.4375rem;
  font-weight: 600;
  line-height: 100%;
}

.dialog-text {
  color: var(--color-main);
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 400;
  line-height: 140%;
}

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

@media (min-width: 768px) {
  .dialog {
    max-width: 635px;
    padding-top: 1.25rem;
    padding-inline: 3.5rem;
  }

  .dialog__close {
    top: 0;
    right: 0;
    width: 44px;
    height: 44px;
  }

  .dialog__close svg path {
    fill: var(--color-white);
  }

  .dialog__close:hover svg path {
    fill: #474747;
  }

  .dialog-title {
    font-size: 2.8125rem;
    line-height: 1;
  }

  .dialog-title--little {
    font-size: 2.1875rem;
  }

  .dialog-text {
    font-size: 1.125rem;
    line-height: 1.2;
  }

  .dialog-form > .form__submit {
    align-self: flex-start;
  }
}

/* Vacancies */

.vacancies__list {
  display: grid;
  gap: 1.375rem;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}

.vacancies__item {
  display: flex;
  border-radius: 8px;
  border: 1px solid var(--color-3);
  overflow: hidden;
}

.vacancies__image {
  flex: 1;
}

.vacancies__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px 8px 0 8px;
}

.vacancies__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.125rem 0.75rem;
}

.vacancies-place {
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 140%;
}

.vacancies-title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  line-height: 120%;
}

.vacancies-salary {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 140%;
}

.vacancies-text {
  font-size: 0.625rem;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}

.vacancies-text > p:not(:last-child) {
  margin-bottom: 1rem;
}

.vacancies-text > h4 {
  font-size: 0.625rem;
  font-weight: 700;
}

.vacancies-text > ul {
  padding-left: 1rem;
  list-style-type: disc;
}

.vacancies-text > ul ~ h4 {
  margin-top: 1rem;
}

.vacancies-link {
  margin-top: 0.5rem;
  color: var(--color-main);
  font-size: 0.8125rem;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  transition: color var(--duration-micro) var(--animation-ease);
}

.vacancies-link:hover {
  color: #898989;
}

.vacancies__item--big {
  flex-direction: column;
}

.vacancies__item--big .vacancies__image img {
  aspect-ratio: 300/150;
}

.vacancies__content > .btn {
  margin-top: 0.5rem;
}

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

  .vacancies__content {
    padding: 2.25rem 1.5rem;
  }

  .vacancies-place {
    font-size: 0.8125rem;
  }

  .vacancies-title {
    font-size: 1.4375rem;
  }

  .vacancies-salary {
    font-size: 1.125rem;
    line-height: 133%;
  }

  .vacancies-text {
    font-size: 0.8125rem;
  }

  .vacancies-text > h4 {
    font-size: 0.8125rem;
  }

  .vacancies-link {
    font-size: 1rem;
  }

  .vacancies__item--big {
    flex-direction: row;
  }

  .vacancies__item--big .vacancies__image img {
    aspect-ratio: 760/660;
  }

  .vacancies__content > .btn {
    align-self: flex-start;
    margin-top: 1rem;
  }
}

@media (min-width: 1024px) {
  .page-vacansies .main__wrapper {
    padding: 5rem 0;
  }
}

/* Map */

.map {
  position: relative;
  height: 558px;
}

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

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

.map > .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.map-block {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 300px;
  padding: 1.5625rem 2rem 1.875rem;
  border-radius: 8px;
  border: 1px solid #e4e4e4;
  background: var(--color-white);
  box-shadow: 0 1px 4px 0 rgba(25, 33, 61, 0.08);
}

.map-block > h2 {
  margin-bottom: 0.25rem;
  font-family: var(--font-title);
  font-size: 1.4375rem;
  font-weight: 600;
  line-height: 1.4;
}

.map-block__item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.map-block__image {
  flex-shrink: 0;
  max-width: 28px;
  max-height: 28px;
}

.map-block__content {
  display: flex;
  flex-direction: column;
  gap: 0.3125rem;
  font-size: 0.5625rem;
  line-height: 140%;
}

.map-block__content > p:last-child,
.map-block__content > a {
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 140%;
}

@media (min-width: 768px) {
  .map > .container {
    justify-content: flex-end;
  }

  .map-block {
    gap: 1.5rem;
    min-width: 422px;
    padding: 1.875rem 2rem 2rem;
  }

  .map-block > h2 {
    margin-bottom: 1rem;
    font-size: 2.8125rem;
    line-height: 1;
  }

  .map-block__image {
    width: 48px;
    height: 48px;
  }

  .map-block__content {
    font-size: 0.8125rem;
  }

  .map-block__content > p:last-child,
  .map-block__content > a {
    font-size: 0.875rem;
  }
}

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

.pin-item:hover svg path {
  fill: #474747;
}

.pin-item--1 {
  position: absolute;
  top: 65px;
  right: 40px;
}

.pin-item--2 {
  position: absolute;
  top: 25%;
  left: 0;
}

.pin-item--3 {
  position: absolute;
  bottom: 88px;
  right: 40px;
}

@media (min-width: 1024px) {
  .pin-item svg,
  .pin-item img {
    width: 45px;
    height: 58px;
  }

  .pin-item--1 {
    top: 130px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .pin-item--2 {
    left: 200px;
  }

  .pin-item--3 {
    bottom: 120px;
    right: auto;
    left: 38%;
    transform: translateX(-50%);
  }
}

/* Modal */

.modal {
  position: fixed;
  bottom: 0;
  border: none;
  padding: 0;
  background: none;
  max-width: 320px;
  margin: auto;
  z-index: 1000;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  background: transparent;
  cursor: pointer;
  outline: 0;
}

.modal__close svg {
  width: 100%;
  height: 100%;
}

.modal__close svg path {
  transition: fill var(--duration-micro) var(--animation-ease);
  fill: #6d758f;
}

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

.modal-item {
  display: flex;
  height: 100%;
  border-radius: 8px 8px 0 0;
  background: var(--color-white);
  overflow: hidden;
}

.modal__image {
  flex: 1;
}

.modal__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 130/200;
  border-radius: 8px 8px 0 0;
}

.modal__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 0.75rem 1.5625rem;
  font-size: 0.6875rem;
}

.modal__title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 600;
  line-height: 120%;
}

.modal__content > p {
  font-size: 11px;
  line-height: 140%;
}

.modal__content > .btn {
  margin-top: 0.5rem;
}

.modal__swiper {
  overflow: hidden;
}

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

.modal__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4375rem 0.625rem;
  background: var(--color-3);
  border-radius: 0 0 8px 8px;
}

.modal__pagination.swiper-pagination {
  flex: 1;
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  width: auto;
}

.modal__pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  margin: 0 !important;
  background: rgba(35, 46, 54, 0.3);
  opacity: 1;
  transition: background var(--duration-micro) var(--animation-ease);
}

.modal__pagination .swiper-pagination-bullet-active {
  background: var(--color-main);
}

.modal__nav-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  outline: 0;
}

.modal__nav-next svg path {
  transition: stroke var(--duration-micro) var(--animation-ease);
}

.modal__nav-next:hover svg path {
  stroke: var(--color-main);
}

@media (min-width: 768px) {
  .modal {
    bottom: 20%;
    left: 30px;
    right: auto;
    max-width: 500px;
  }

  .modal__close {
    width: 20px;
    height: 20px;
  }

  .modal-item {
    border-radius: 8px 8px 0 0;
  }

  .modal__image {
    flex: 0 1 200px;
  }

  .modal__image img {
    aspect-ratio: 200/240;
  }

  .modal__content {
    gap: 1.5rem;
    padding: 1.625rem 1.5rem 2.125rem;
    font-size: 0.8125rem;
  }

  .modal__title {
    margin-bottom: 0.5rem;
    font-size: 1.4375rem;
  }

  .modal__content > p {
    font-size: 13px;
  }

  .modal__content > .btn {
    margin-top: 0;
    align-self: flex-start;
  }
}

.modal--big::backdrop {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6.5px);
}

.modal--big {
  bottom: 50%;
  transform: translateY(50%);
}

@media (min-width: 768px) {
  .modal--big {
    bottom: 45%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1500px;
  }

  .modal--big .modal__image {
    flex: 1;
  }

  .modal--big .modal__image img {
    aspect-ratio: 750/350;
  }

  .modal--big .modal-item {
    font-size: 1.4375rem;
  }

  .modal--big .modal__title {
    font-size: 2.8125rem;
  }

  .modal--big .modal__content > .btn {
    margin-top: 1.5rem;
  }

  .modal--big .modal__content > p {
    font-size: 23px;
  }
}
