/* Блок шапки */

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/onest-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Onest";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("/static/fonts/onest-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font-main: "Onest", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --ink: #26221f;
  --muted: #706963;
  --taupe-dark: #4b4641;
  --brand-taupe: #7a6b5d;
  --brand-taupe-dark: #5f5248;
  --signal-cta: #ad4f44;
  --logo-accent: #b89f82;
  --champagne: #c7a15d;
  --section-accent: #9b7440;
  --line: #e3ddd6;
  --graphite-taupe: #343432;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(199, 161, 93, 0.12), transparent 30rem),
    radial-gradient(circle at 88% 10%, rgba(184, 159, 130, 0.055), transparent 24rem),
    linear-gradient(180deg, #fffefb 0%, #fbfaf7 54%, #f6f1ec 100%);
  font-family: var(--font-main);
}

img,
svg {
  display: block;
  max-width: 100%;
}

.shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

@media (max-width: 700px) {
  .shell {
    width: min(100% - 24px, 1180px);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(227, 221, 214, 0.78);
  background: rgba(255, 253, 249, 0.74);
  box-shadow: 0 10px 28px rgba(54, 44, 38, 0.075);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font-family: var(--font-main);
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.logo-link {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  text-decoration: none;
}

.logo {
  width: 198px;
  height: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--taupe-dark);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.nav__links a {
  position: relative;
  padding: 8px 0;
  color: var(--taupe-dark);
  font-family: var(--font-main);
  text-decoration: none;
  opacity: 0.9;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav__links a:hover,
.nav__links a.is-active,
.nav__links a[aria-current="page"] {
  color: var(--ink);
  opacity: 1;
}

.nav__links a.is-active::after,
.nav__links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 10%;
  bottom: 0;
  left: 10%;
  height: 2px;
  border-radius: 999px;
  background: var(--logo-accent);
}

.nav__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.nav__booking-wave {
  flex: 0 0 auto;
}

.nav__contact-group {
  display: grid;
  gap: 2px;
  justify-items: end;
  line-height: 1.15;
}

.nav__contact {
  color: var(--ink);
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  white-space: nowrap;
}

.nav__hours {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.messengers {
  display: flex;
  align-items: center;
  gap: 8px;
}

.messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--messenger-color, var(--taupe-dark));
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 8px 18px rgba(54, 44, 38, 0.06);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.messenger:hover {
  transform: translateY(-1px);
  background: #fff;
}

.messenger__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.messenger--whatsapp .messenger__icon {
  width: 23px;
  height: 23px;
}

.messenger--telegram .messenger__icon {
  width: 26px;
  height: 26px;
}

.messenger--whatsapp {
  --messenger-color: #1f9d57;
  border-color: rgba(31, 157, 87, 0.18);
  background: rgba(31, 157, 87, 0.08);
}

.messenger--telegram {
  --messenger-color: #2589c8;
  border-color: rgba(37, 137, 200, 0.18);
  background: rgba(37, 137, 200, 0.08);
}

.messenger--max {
  border-color: rgba(83, 62, 238, 0.16);
  background: rgba(83, 62, 238, 0.07);
}

.button {
  appearance: none;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  color: #fffaf3;
  border-color: rgba(101, 85, 70, 0.32);
  background: linear-gradient(135deg, var(--brand-taupe), var(--brand-taupe-dark));
  box-shadow:
    0 14px 28px rgba(95, 82, 72, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.button--ghost {
  color: var(--taupe-dark);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 18px rgba(54, 44, 38, 0.05);
}

.button--signal {
  color: #fff;
  border-color: rgba(173, 79, 68, 0.22);
  background: var(--signal-cta);
  box-shadow:
    0 10px 20px rgba(173, 79, 68, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.booking-wave {
  position: relative;
  display: inline-flex;
  border-radius: 12px;
  overflow: visible;
}

.booking-wave::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(185, 149, 93, 0.82), rgba(199, 161, 93, 0.62));
  opacity: 0;
  pointer-events: none;
  transform: none;
  will-change: inset, border-radius, opacity;
  animation: booking-wave 3.2s cubic-bezier(0.215, 0.61, 0.355, 1) 0.18s infinite;
}

.booking-wave .button {
  z-index: 1;
}

@keyframes booking-wave {
  0% {
    inset: 0;
    border-radius: 12px;
    opacity: 0;
  }

  4% {
    opacity: 0.62;
    inset: 0;
    border-radius: 12px;
  }

  70% {
    opacity: 0;
    inset: -12px;
    border-radius: 22px;
  }

  99% {
    opacity: 0;
    inset: -12px;
    border-radius: 22px;
  }

  100% {
    opacity: 0;
    inset: 0;
    border-radius: 12px;
  }
}

.button--booking-wave {
  overflow: visible;
}

@media (prefers-reduced-motion: reduce) {
  .booking-wave::after {
    animation: none;
  }
}

@media (max-width: 920px) {
  .nav {
    flex-wrap: wrap;
    gap: 10px 16px;
    padding: 10px 0 12px;
  }

  .nav__links {
    order: 3;
    width: 100%;
    justify-content: center;
    justify-self: stretch;
    margin-top: 2px;
    padding-top: 10px;
    border-top: 1px solid rgba(227, 221, 214, 0.72);
  }

  .nav__actions {
    margin-left: auto;
  }

  .nav__booking-wave {
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .topbar {
    position: static;
    background: rgba(255, 253, 249, 0.9);
  }

  .nav {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-height: 0;
    gap: 8px 12px;
    padding: 12px 0;
  }

  .logo-link {
    grid-row: 1 / 3;
    align-self: center;
  }

  .logo {
    width: 156px;
  }

  .nav__links {
    display: none;
  }

  .nav__actions {
    display: contents;
    margin-left: 0;
  }

  .nav__contact-group {
    grid-column: 2;
    justify-self: end;
    min-width: 0;
    justify-items: start;
  }

  .nav__contact {
    align-self: center;
    min-width: 0;
    font-size: 14px;
  }

  .nav__hours {
    font-size: 11px;
  }

  .messengers {
    grid-column: 2;
    justify-self: end;
    display: flex;
    gap: 8px;
  }

  .messenger {
    width: 38px;
    height: 38px;
  }

  .nav__booking-wave {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 6px;
    margin-left: 0;
  }

  .nav__actions .button--primary {
    min-height: 42px;
  }

  .nav__booking-wave .button--primary {
    width: 100%;
  }
}

@media (max-width: 440px) {
  .nav {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px 10px;
  }

  .logo {
    width: 138px;
  }

  .nav__contact-group {
    justify-items: end;
  }

  .nav__contact {
    font-size: 13px;
  }

  .messenger {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .messengers {
    gap: 7px;
  }

  .messenger__icon {
    width: 20px;
    height: 20px;
  }

  .messenger--whatsapp .messenger__icon {
    width: 21px;
    height: 21px;
  }

  .messenger--telegram .messenger__icon {
    width: 24px;
    height: 24px;
  }
}

/* /Блок шапки */

/* Блок контактов */

.fs-contact-section {
  padding: 32px 0;
  font-family: var(--font-main);
}

.fs-contact-section:has(+ .fs-follow-section) {
  padding-bottom: 8px;
}

.fs-contact {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(410px, 1.14fr);
  gap: 34px 44px;
  align-items: start;
  padding: 24px 26px;
  border: 1px solid rgba(227, 221, 214, 0.88);
  border-radius: 26px;
  color: var(--ink);
  background:
    radial-gradient(circle at 9% 12%, rgba(199, 161, 93, 0.075), transparent 17rem),
    rgba(255, 253, 249, 0.9);
  box-shadow: 0 12px 34px rgba(54, 44, 38, 0.04);
}

.fs-contact__copy {
  display: grid;
  gap: 13px;
  align-content: start;
}

.fs-contact__eyebrow {
  margin: 0 0 12px;
  color: var(--section-accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
}

.fs-contact__title {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-main);
  font-size: clamp(25px, 1.95vw, 31px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  white-space: nowrap;
}

.fs-contact .fs-contact__title {
  font-family: var(--font-main);
  text-align: left;
}

.fs-contact__title::before,
.fs-contact__title::after {
  content: none;
  display: none;
}

.fs-contact__lead {
  max-width: 620px;
  margin: 12px 0 0;
  color: rgba(112, 105, 99, 0.9);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.42;
}

.fs-contact__facts {
  display: grid;
  gap: 0;
  padding: 0 0 0 17px;
  border-left: 2px solid rgba(184, 159, 130, 0.72);
}

.fs-contact__fact {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  padding: 6px 0;
}

.fs-contact__label {
  color: var(--taupe-dark);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.fs-contact__value,
.fs-contact__value a {
  color: var(--taupe-dark);
  font-size: 15px;
  font-weight: 680;
  line-height: 1.24;
  text-decoration: none;
}

.fs-contact__primary-action {
  display: grid;
  width: 100%;
}

.fs-contact__booking {
  width: 100%;
  min-height: 40px;
  box-shadow:
    0 10px 20px rgba(95, 82, 72, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.fs-contact__question {
  display: grid;
  gap: 7px;
  padding-top: 14px;
  border-top: 1px solid rgba(227, 221, 214, 0.72);
}

.fs-contact__question strong {
  color: var(--taupe-dark);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
}

.fs-contact__question p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.fs-contact__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fs-contact__messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(185, 149, 93, 0.2);
  border-radius: 12px;
  color: var(--taupe-dark);
  background: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.fs-contact__messenger img,
.fs-contact__messenger svg {
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 auto;
}

.fs-contact__messenger--max {
  border-color: rgba(83, 62, 238, 0.16);
  background: rgba(83, 62, 238, 0.07);
}

.fs-contact__messenger--telegram {
  border-color: rgba(37, 137, 200, 0.18);
  background: rgba(37, 137, 200, 0.08);
}

.fs-contact__messenger--telegram img,
.fs-contact__messenger--telegram svg {
  width: 21px;
  height: 21px;
}

.fs-contact__messenger--whatsapp {
  border-color: rgba(31, 157, 87, 0.18);
  background: rgba(31, 157, 87, 0.08);
}

.fs-contact__messenger--whatsapp img,
.fs-contact__messenger--whatsapp svg {
  width: 19px;
  height: 19px;
}

.fs-contact__visual {
  display: grid;
  grid-template-rows: 288px auto;
  gap: 12px;
  align-self: start;
  min-width: 0;
}

.fs-contact__map {
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(227, 221, 214, 0.94);
  border-radius: 20px;
  background: #f4f1ed;
  box-shadow: 0 10px 24px rgba(54, 44, 38, 0.052);
}

.fs-contact__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.fs-contact__photo-slot {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.fs-contact-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 100%;
}

.fs-contact-photos--carousel {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.fs-contact-photos--carousel .slick-list {
  overflow: hidden;
  margin: 0 -6px;
  width: auto;
  max-width: none;
}

.fs-contact-photos--carousel .slick-track {
  min-width: 0;
}

.fs-contact-photos--carousel .slick-slide {
  height: auto;
  padding: 0 6px;
}

.fs-contact-photos--carousel .slick-slide > div {
  height: 100%;
}

.fs-contact-photos__item {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  background: #f4f1ed;
  box-shadow: 0 7px 18px rgba(54, 44, 38, 0.05);
}

.fs-contact-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1040px) {
  .fs-contact {
    grid-template-columns: 1fr;
  }

  .fs-contact__title {
    white-space: normal;
  }

  .fs-contact__visual {
    grid-template-rows: 320px auto;
  }
}

@media (max-width: 700px) {
  .fs-contact-section {
    padding: 24px 0;
  }

  .fs-contact-section:has(+ .fs-follow-section) {
    padding-bottom: 8px;
  }

  .fs-contact {
    padding: 22px;
  }

  .fs-contact__fact {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .fs-contact__visual {
    grid-template-rows: 300px auto;
  }
}

/* /Блок контактов */

/* Блок подписки на соцсети */

.section.fs-follow-section {
  padding-top: 10px;
  padding-bottom: 18px;
  border-top: 0;
}

.fs-follow {
  overflow: hidden;
  border-radius: 22px;
  font-family: var(--font-main);
}

.fs-follow--soft-taupe {
  color: #fffaf3;
  background:
    radial-gradient(circle at 9% 16%, rgba(255, 250, 243, 0.075), transparent 22rem),
    linear-gradient(135deg, #726a63 0%, #5f5852 100%);
  box-shadow: 0 20px 52px rgba(54, 44, 38, 0.12);
}

.fs-follow__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 26px 34px;
}

.fs-follow__title {
  max-width: 760px;
  margin: 0;
  color: #fffaf3;
  font-family: var(--font-main);
  font-size: clamp(20px, 1.82vw, 25px);
  font-weight: 760;
  line-height: 1.12;
}

.fs-follow .fs-follow__title {
  color: #fffaf3;
  font-family: var(--font-main);
  font-size: clamp(20px, 1.82vw, 25px);
  font-weight: 760;
  line-height: 1.12;
  text-align: left;
  text-decoration: none;
  text-transform: none;
}

.fs-follow .fs-follow__title::before,
.fs-follow .fs-follow__title::after {
  content: none;
  display: none;
}

.fs-follow__text {
  max-width: 760px;
  margin: 8px 0 0;
  color: rgba(255, 250, 243, 0.66);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 580;
  line-height: 1.42;
}

.fs-follow .fs-follow__text {
  color: rgba(255, 250, 243, 0.66);
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 580;
  line-height: 1.42;
  text-align: left;
}

.fs-follow__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.fs-follow__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #fffaf3;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
}

.fs-follow .fs-follow__button {
  color: #fffaf3;
  font-family: var(--font-main);
  text-decoration: none;
}

.fs-follow__button img {
  display: block;
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.fs-follow__button--dense-icon {
  width: 42px;
  height: 42px;
  border-color: rgba(255, 250, 243, 0.13);
  border-radius: 13px;
  background: rgba(255, 250, 243, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.fs-follow__button--dense-icon img {
  width: 28px;
  height: 28px;
  transition: transform 0.18s ease;
}

.fs-follow__button--dense-icon.fs-follow__button--telegram img {
  width: 29px;
  height: 29px;
}

.fs-follow__button--dense-icon span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.fs-follow__button--dense-icon:hover {
  border-color: rgba(255, 250, 243, 0.2);
  background: rgba(255, 250, 243, 0.12);
}

.fs-follow__button--dense-icon:hover img {
  transform: scale(1.08);
}

@media (prefers-reduced-motion: reduce) {
  .fs-follow__button--dense-icon img {
    transition: none;
  }

  .fs-follow__button--dense-icon:hover img {
    transform: none;
  }
}

@media (max-width: 700px) {
  .section.fs-follow-section {
    padding-top: 10px;
    padding-bottom: 18px;
  }

  .fs-follow__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }

  .fs-follow__actions {
    justify-content: flex-start;
  }
}

/* /Блок подписки на соцсети */

/* Страница вакансий */

.vacancy-page {
  padding: 56px 0 72px;
  color: var(--ink);
  font-family: var(--font-main);
}

.vacancy-page h1,
.vacancy-page h2,
.vacancy-page h3,
.vacancy-page p,
.vacancy-page ul {
  font-family: var(--font-main);
}

.vacancy-page h1,
.vacancy-page h2,
.vacancy-page h3 {
  position: static;
  text-align: left;
}

.vacancy-page h1::before,
.vacancy-page h1::after,
.vacancy-page h2::before,
.vacancy-page h2::after,
.vacancy-page h3::before,
.vacancy-page h3::after {
  content: none;
  display: none;
}

.vacancy-page a,
.vacancy-page a:visited,
.vacancy-page a:active {
  color: inherit;
  font-family: var(--font-main);
  text-decoration: none;
}

.vacancy-page .button,
.vacancy-page .button:visited,
.vacancy-page .button:active {
  text-decoration: none;
}

.vacancy-page .button--primary,
.vacancy-page .button--primary:visited,
.vacancy-page .button--primary:active {
  color: #fffaf3;
}

.vacancy-page--compact {
  padding: 32px 0 58px;
}

.vacancy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 46px;
  align-items: center;
  min-height: 520px;
}

.vacancy-hero--compact {
  min-height: 430px;
}

.vacancy-hero--simple {
  display: block;
  max-width: none;
  min-height: auto;
  padding: 18px 0 18px;
}

.vacancy-hero--simple > div {
  max-width: none;
}

.vacancy-hero--simple h1 {
  max-width: none;
  font-size: clamp(30px, 2.45vw, 38px);
  line-height: 1.04;
  white-space: nowrap;
}

.vacancy-hero--simple .vacancy-lead {
  max-width: 760px;
}

.vacancy-eyebrow {
  margin: 0 0 14px;
  color: var(--section-accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
}

.vacancy-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1;
}

.vacancy-lead {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 520;
  line-height: 1.5;
}

.vacancy-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button--secondary {
  border-color: rgba(122, 107, 93, 0.16);
  color: var(--taupe-dark);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 10px 22px rgba(54, 44, 38, 0.08);
}

.vacancy-page .button--secondary,
.vacancy-page .button--secondary:visited,
.vacancy-page .button--secondary:active {
  color: var(--taupe-dark);
}

.button--secondary:hover {
  transform: translateY(-1px);
  background: #fff;
}

.vacancy-hero__panel {
  padding: 28px;
  border: 1px solid rgba(227, 221, 214, 0.82);
  border-radius: 24px;
  background:
    radial-gradient(circle at 18% 0%, rgba(199, 161, 93, 0.14), transparent 18rem),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(54, 44, 38, 0.1);
}

.vacancy-hero__panel h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.15;
}

.vacancy-open-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vacancy-open-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid rgba(122, 107, 93, 0.14);
  color: var(--taupe-dark);
  font-size: 16px;
  font-weight: 780;
}

.vacancy-open-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 580;
  text-align: right;
}

.vacancy-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
  line-height: 1.45;
}

.vacancy-section {
  padding: 54px 0;
}

.vacancy-section--compact {
  padding: 38px 0;
}

.vacancy-section__head {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 28px;
}

.vacancy-section__head--simple {
  display: block;
  max-width: 760px;
}

.vacancy-section__head--simple p {
  margin-top: 12px;
}

.vacancy-section__head h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 820;
  line-height: 1.08;
}

.vacancy-section__head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 520;
  line-height: 1.55;
}

.vacancy-about {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.vacancy-about__item {
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(227, 221, 214, 0.82);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 34px rgba(54, 44, 38, 0.07);
}

.vacancy-about__item strong {
  display: block;
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
}

.vacancy-about__item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 520;
  line-height: 1.5;
}

.vacancy-list {
  display: grid;
  gap: 18px;
}

.vacancy-list--compact {
  gap: 14px;
}

.vacancy-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
  gap: 30px;
  padding: 28px;
  border: 1px solid rgba(227, 221, 214, 0.86);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 16px 42px rgba(54, 44, 38, 0.08);
}

.vacancy-card--compact {
  padding: 22px;
}

.vacancy-card--detailed {
  grid-template-columns: minmax(240px, 0.62fr) minmax(460px, 1.38fr);
}

.vacancy-card__title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 820;
  line-height: 1.08;
}

.vacancy-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.vacancy-tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 10px;
  border: 1px solid rgba(199, 161, 93, 0.24);
  border-radius: 999px;
  color: var(--taupe-dark);
  background: rgba(199, 161, 93, 0.1);
  font-size: 12px;
  font-weight: 720;
  line-height: 1;
}

.vacancy-card__body {
  display: grid;
  gap: 18px;
}

.vacancy-card__body--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.vacancy-card__body h3 {
  margin: 0 0 8px;
  color: var(--section-accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
}

.vacancy-card__body ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.45;
  list-style: none;
}

.vacancy-card__body li {
  position: relative;
  padding-left: 18px;
}

.vacancy-card__body li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--champagne);
}

.vacancy-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.vacancy-benefits--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vacancy-benefit {
  padding: 20px;
  border-radius: 20px;
  color: rgba(255, 248, 239, 0.72);
  background:
    radial-gradient(circle at 16% 0%, rgba(199, 161, 93, 0.16), transparent 16rem),
    var(--graphite-taupe);
}

.vacancy-benefit strong {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 248, 239, 0.9);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.vacancy-benefit p {
  margin: 0;
  font-size: 14px;
  font-weight: 520;
  line-height: 1.45;
}

.vacancy-contact {
  margin-top: 54px;
  padding: 30px;
  border: 1px solid rgba(227, 221, 214, 0.84);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(244, 241, 237, 0.78));
  box-shadow: 0 18px 44px rgba(54, 44, 38, 0.1);
}

.vacancy-contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.vacancy-contact h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 820;
  line-height: 1.1;
}

.vacancy-contact p {
  max-width: 700px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  font-weight: 520;
  line-height: 1.5;
}

.vacancy-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.vacancy-contact__messengers {
  display: flex;
  gap: 8px;
}

@media (max-width: 980px) {
  .vacancy-hero,
  .vacancy-card,
  .vacancy-contact__inner {
    grid-template-columns: 1fr;
  }

  .vacancy-hero--simple {
    max-width: none;
  }

  .vacancy-hero--simple h1 {
    white-space: normal;
  }

  .vacancy-section__head {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .vacancy-section__head--simple,
  .vacancy-card--detailed,
  .vacancy-card__body--two {
    grid-template-columns: 1fr;
  }

  .vacancy-about,
  .vacancy-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vacancy-benefits--compact {
    grid-template-columns: 1fr;
  }

  .vacancy-contact__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .vacancy-page {
    padding: 34px 0 52px;
  }

  .vacancy-hero {
    min-height: auto;
    gap: 24px;
  }

  .vacancy-hero__panel,
  .vacancy-card,
  .vacancy-contact {
    padding: 22px;
    border-radius: 20px;
  }

  .vacancy-about,
  .vacancy-benefits {
    grid-template-columns: 1fr;
  }

  .vacancy-open-list li {
    display: grid;
    gap: 4px;
  }

  .vacancy-open-list span {
    text-align: left;
  }
}

/* /Страница вакансий */

/* Страница правовой информации */

.legal-page {
  padding: 46px 0 70px;
  color: var(--ink);
  font-family: var(--font-main);
}

.legal-page h1,
.legal-page h2,
.legal-page p,
.legal-page ul {
  font-family: var(--font-main);
}

.legal-page h1,
.legal-page h2 {
  position: static;
  margin: 0;
  color: var(--ink);
  text-align: left;
}

.legal-page h1::before,
.legal-page h1::after,
.legal-page h2::before,
.legal-page h2::after {
  content: none;
  display: none;
}

.legal-page a,
.legal-page a:visited,
.legal-page a:active {
  color: var(--taupe-dark);
  font-family: var(--font-main);
  text-decoration-color: rgba(199, 161, 93, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.legal-page a:hover {
  color: var(--ink);
  text-decoration-color: rgba(199, 161, 93, 0.72);
}

.legal-hero {
  max-width: 920px;
  padding-top: 12px;
}

.legal-eyebrow {
  margin: 0 0 14px;
  color: var(--section-accent);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
}

.legal-hero h1 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 820;
  letter-spacing: 0;
  line-height: 1;
}

.legal-intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 520;
  line-height: 1.5;
}

.legal-section {
  max-width: 920px;
  padding-top: 34px;
}

.legal-details {
  display: grid;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(122, 107, 93, 0.14);
  list-style: none;
}

.legal-details li {
  display: grid;
  grid-template-columns: minmax(210px, 0.46fr) minmax(0, 1fr);
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(122, 107, 93, 0.14);
}

.legal-details strong {
  color: var(--section-accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.075em;
  line-height: 1.35;
  text-transform: uppercase;
}

.legal-details span {
  color: var(--taupe-dark);
  font-size: 16px;
  font-weight: 560;
  line-height: 1.5;
}

.legal-documents h2 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 820;
  line-height: 1.1;
}

.legal-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.legal-links a {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.45;
}

.legal-note {
  margin: 28px 0 0;
  padding: 16px 18px 16px 20px;
  border-left: 3px solid rgba(199, 161, 93, 0.72);
  border-radius: 0 16px 16px 0;
  color: rgba(75, 70, 65, 0.88);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(244, 241, 237, 0.74));
  font-size: 14px;
  font-weight: 520;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .legal-page {
    padding: 34px 0 52px;
  }

  .legal-section {
    padding-top: 28px;
  }

  .legal-details li {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }

  .legal-details span,
  .legal-links a {
    font-size: 15px;
  }
}

/* /Страница правовой информации */

/* Спокойный вариант страницы правовой информации */

.legal-page--quiet {
  padding: 36px 0 62px;
}

.legal-page--quiet .legal-hero,
.legal-page--quiet .legal-section {
  max-width: 960px;
}

.legal-page--quiet .legal-eyebrow {
  margin-bottom: 12px;
  color: var(--taupe-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.legal-page--quiet .legal-hero h1 {
  max-width: 760px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  line-height: 1.08;
}

.legal-page--quiet .legal-intro {
  max-width: 720px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 520;
}

.legal-page--quiet .legal-section {
  padding-top: 24px;
}

.legal-page--quiet .legal-details {
  overflow: hidden;
  border: 1px solid rgba(122, 107, 93, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 10px 28px rgba(54, 44, 38, 0.045);
}

.legal-page--quiet .legal-details li {
  grid-template-columns: minmax(190px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  padding: 13px 20px;
  border-bottom: 1px solid rgba(122, 107, 93, 0.12);
}

.legal-page--quiet .legal-details li:last-child {
  border-bottom: 0;
}

.legal-page--quiet .legal-details strong {
  color: rgba(75, 70, 65, 0.82);
  font-size: 13px;
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.legal-page--quiet .legal-details span {
  color: var(--taupe-dark);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.45;
}

.legal-page--quiet .legal-documents {
  display: block;
}

.legal-page--quiet .legal-documents h2 {
  margin-bottom: 14px;
  color: var(--taupe-dark);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.25;
}

.legal-page--quiet .legal-links {
  display: grid;
  gap: 8px;
  margin-top: 0;
}

.legal-page--quiet .legal-links a {
  display: block;
  width: 100%;
  padding: 0;
  color: var(--taupe-dark);
  font-size: 15px;
  font-weight: 570;
  line-height: 1.5;
  text-decoration: none;
}

.legal-page--quiet .legal-links a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(122, 107, 93, 0.34);
  text-underline-offset: 4px;
}

.legal-page--quiet .legal-note {
  margin-top: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(122, 107, 93, 0.14);
  border-left: 3px solid rgba(122, 107, 93, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
  color: rgba(75, 70, 65, 0.82);
}

.legal-page--quiet .legal-note--price-line {
  position: relative;
  padding: 16px 18px 16px 34px;
  border: 0;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(199, 161, 93, 0.14), transparent 18rem),
    rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(122, 107, 93, 0.08);
}

.legal-page--quiet .legal-note--price-line::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 18px;
  width: 3px;
  border-radius: 999px;
  background: rgba(122, 107, 93, 0.32);
}

.legal-page--quiet .legal-note-variants {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.legal-page--quiet .legal-note-sample {
  position: relative;
  margin: 0;
  color: rgba(75, 70, 65, 0.86);
  font-size: 14px;
  font-weight: 520;
  line-height: 1.55;
}

.legal-page--quiet .legal-note-sample::before {
  content: attr(data-variant);
  position: absolute;
  top: -8px;
  left: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: var(--taupe-dark);
  background: rgba(199, 161, 93, 0.2);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
}

.legal-page--quiet .legal-note-sample--line {
  padding: 4px 0 4px 18px;
  border-left: 3px solid rgba(122, 107, 93, 0.32);
}

.legal-page--quiet .legal-note-sample--soft {
  padding: 15px 18px;
  border-radius: 16px;
  background: rgba(244, 236, 223, 0.72);
}

.legal-page--quiet .legal-note-sample--plain {
  max-width: 880px;
  padding-left: 24px;
  color: rgba(75, 70, 65, 0.76);
}

.legal-page--quiet .legal-note-sample--label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 15px 18px;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(244, 236, 223, 0.78), rgba(255, 255, 255, 0.44));
}

.legal-page--quiet .legal-note-sample--label span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--taupe-dark);
  background: rgba(199, 161, 93, 0.18);
  font-size: 12px;
  font-weight: 760;
  line-height: 1;
}

.legal-page--quiet .legal-note-sample--label p,
.legal-page--quiet .legal-note-sample--price p {
  margin: 0;
}

.legal-page--quiet .legal-note-sample--price {
  padding: 16px 18px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(199, 161, 93, 0.14), transparent 18rem),
    rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(122, 107, 93, 0.08);
}

.legal-page--quiet .legal-note-sample--price strong {
  display: block;
  margin-bottom: 6px;
  color: var(--taupe-dark);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.3;
}

.legal-page--quiet .legal-note-sample--price-line {
  padding: 16px 18px 16px 34px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 0% 0%, rgba(199, 161, 93, 0.14), transparent 18rem),
    rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 0 0 1px rgba(122, 107, 93, 0.08);
}

.legal-page--quiet .legal-note-sample--price-line::after {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 18px;
  width: 3px;
  border-radius: 999px;
  background: rgba(122, 107, 93, 0.32);
}

.legal-page--quiet .legal-note-sample--asterisk {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 920px;
  color: rgba(75, 70, 65, 0.76);
}

.legal-page--quiet .legal-note-sample--asterisk span {
  color: var(--section-accent);
  font-size: 18px;
  font-weight: 760;
  line-height: 1.15;
}

@media (max-width: 700px) {
  .legal-page--quiet {
    padding: 32px 0 52px;
  }

  .legal-page--quiet .legal-details {
    border-radius: 18px;
  }

  .legal-page--quiet .legal-details li,
  .legal-page--quiet .legal-documents {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .legal-page--quiet .legal-details li {
    padding: 13px 16px;
  }

  .legal-page--quiet .legal-note-sample--label {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* /Спокойный вариант страницы правовой информации */

/* Блок подвала */

.footer {
  padding: 32px 0 28px;
  border-top: 1px solid rgba(255, 248, 239, 0.08);
  color: rgba(255, 248, 239, 0.68);
  background:
    radial-gradient(circle at 14% 0%, rgba(199, 161, 93, 0.08), transparent 24rem),
    var(--graphite-taupe);
  font-family: var(--font-main);
  font-size: 13px;
  line-height: 1.45;
}

.footer--career-after-soft {
  padding-bottom: 18px;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(340px, 1.18fr) minmax(260px, 0.95fr);
  gap: 42px;
  align-items: start;
  padding-bottom: 22px;
}

.footer--career-after-soft .footer__grid {
  padding-bottom: 18px;
}

.footer p {
  margin: 0 0 4px;
}

.footer__brand {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 248, 239, 0.76);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.45;
}

.footer__accent {
  color: var(--champagne);
  font-weight: 650;
}

.footer__copyright-inline {
  display: block;
  margin-top: 12px;
  color: rgba(255, 248, 239, 0.48);
  font-size: 12px;
  font-weight: 520;
  line-height: 1.35;
}

.footer__contact {
  display: grid;
  max-width: 470px;
  gap: 7px;
}

.footer__contact a {
  width: fit-content;
}

.footer a {
  color: rgba(255, 248, 239, 0.82);
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.footer__contact a {
  color: rgba(255, 248, 239, 0.88);
}

.footer a:hover {
  text-decoration: underline;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  justify-self: end;
  max-width: 360px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 248, 239, 0.12);
  color: rgba(255, 248, 239, 0.54);
  font-size: 12px;
}

.footer__copyright {
  flex: 0 0 auto;
}

.footer__disclaimer {
  text-align: right;
}

.fs-career {
  font-family: var(--font-main);
}

.fs-career a {
  color: inherit;
  text-decoration: none;
}

.fs-career__label {
  color: rgba(255, 248, 239, 0.46);
  font-size: 12px;
  font-weight: 560;
  line-height: 1.35;
}

.fs-career__link {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 248, 239, 0.76);
  font-size: 13px;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: underline;
  text-decoration-color: rgba(255, 248, 239, 0.2);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.fs-career__link:hover {
  color: rgba(255, 248, 239, 0.9);
  text-decoration-color: rgba(210, 183, 127, 0.48);
}

.fs-career--after-footer {
  border-top: 1px solid rgba(255, 248, 239, 0.045);
  background: transparent;
}

.fs-career--after-footer .shell {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  padding: 10px 0 0;
  text-align: center;
}

@media (max-width: 920px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
    gap: 24px 34px;
  }

  .footer__brand-wrap {
    display: none;
  }

  .footer__links {
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .footer {
    padding: 26px 0 24px;
  }

  .footer--career-after-soft {
    padding-bottom: 18px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding-bottom: 22px;
  }

  .footer--career-after-soft .footer__grid {
    padding-bottom: 18px;
  }

  .footer__contact,
  .footer__links {
    max-width: none;
  }

  .footer__bottom {
    display: block;
    padding-top: 22px;
  }

  .footer__copyright {
    display: none;
  }

  .footer__disclaimer {
    display: block;
    text-align: left;
  }

  .fs-career--after-footer .shell {
    justify-content: flex-start;
    padding-top: 10px;
    text-align: left;
  }
}

/* /Блок подвала */

/* Блок cookie */

.fr-cookie {
  position: fixed;
  right: 18px;
  bottom: 16px;
  left: 18px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 58px;
  padding: 12px 18px 12px 22px;
  color: var(--ink);
  border: 1px solid rgba(122, 107, 93, 0.18);
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.94);
  box-shadow: 0 18px 44px rgba(54, 44, 38, 0.16);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  font-family: var(--font-main);
}

.fr-cookie.is-hidden,
.fr-cookie[hidden] {
  display: none;
}

.fr-cookie__text {
  flex: 1 1 auto;
  margin: 0;
  color: rgba(38, 34, 31, 0.78);
  font-size: 13px;
  font-weight: 450;
  line-height: 1.38;
}

.fr-cookie__text a {
  color: var(--brand-taupe-dark);
  font-weight: 650;
  text-decoration-color: rgba(199, 161, 93, 0.75);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.fr-cookie__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

.fr-cookie__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 40px;
  padding: 10px 18px;
  border: 1px solid rgba(101, 85, 70, 0.28);
  border-radius: 14px;
  color: #fffaf3;
  background: linear-gradient(135deg, var(--brand-taupe), var(--brand-taupe-dark));
  box-shadow:
    0 10px 20px rgba(95, 82, 72, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fr-cookie__button:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 26px rgba(95, 82, 72, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.fr-cookie--light-quiet {
  min-height: 50px;
  padding: 8px 14px 8px 16px;
  color: var(--ink);
  border-color: rgba(122, 107, 93, 0.14);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.92);
  box-shadow: 0 10px 26px rgba(54, 44, 38, 0.1);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.fr-cookie--light-quiet .fr-cookie__text {
  color: rgba(38, 34, 31, 0.64);
  font-size: 12px;
  line-height: 1.35;
}

.fr-cookie--light-quiet .fr-cookie__text a {
  color: var(--brand-taupe-dark);
  font-weight: 550;
  text-decoration-color: rgba(199, 161, 93, 0.5);
}

.fr-cookie--light-quiet .fr-cookie__button {
  min-width: 96px;
  min-height: 34px;
  padding: 8px 15px;
  color: rgba(255, 248, 239, 0.88);
  border-color: rgba(52, 52, 50, 0.12);
  border-radius: 12px;
  background: rgba(52, 52, 50, 0.9);
  box-shadow: none;
  font-size: 13px;
  font-weight: 650;
}

.fr-cookie--light-quiet .fr-cookie__button:hover {
  box-shadow: none;
  background: rgba(52, 52, 50, 0.96);
}

.fr-cookie--button-soft-taupe .fr-cookie__button {
  color: #fffaf3;
  border-color: rgba(111, 104, 98, 0.16);
  background: rgba(111, 104, 98, 0.92);
  font-weight: 700;
}

.fr-cookie--button-soft-taupe .fr-cookie__button:hover {
  background: rgba(111, 104, 98, 0.98);
}

@media (max-width: 760px) {
  .fr-cookie {
    right: 10px;
    bottom: 10px;
    left: 10px;
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 14px;
    border-radius: 18px;
  }

  .fr-cookie__button {
    width: 100%;
    min-height: 40px;
  }

  .fr-cookie--light-quiet {
    padding: 11px;
  }
}

/* /Блок cookie */
