@font-face {
  font-family: "FUJI Sans Selif";

  src: url("/fonts/FUJISansSelif-Regular.otf") format("opentype");

  font-weight: 400;

  font-style: normal;

  font-display: swap;
}

*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.19 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: Manrope, sans-serif;
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

html {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  font-family: Manrope, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:where(a, button) {
  transition-property: color, background-color, border-color, opacity, box-shadow, transform;
  transition-duration: 250ms;
  transition-timing-function: ease-out;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
    padding-right: 30px;
    padding-left: 30px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 992px;
    padding-right: 31px;
    padding-left: 31px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1920px;
    padding-right: 186px;
    padding-left: 186px;
  }
}

/* 135×35, на 2xl 196×51. Толщина рамки через inset box-shadow — layout не сдвигается. */

.btn-pill {
  display: inline-flex;
  height: 35px;
  width: 135px;
  align-items: center;
  justify-content: center;
  border-radius: 21px;
  background-color: transparent;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  text-align: center;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

@media (min-width: 1920px) {
  .btn-pill {
    height: 51px;
    width: 196px;
    border-radius: 31px;
    font-size: 19px;
    line-height: normal;
  }
}

.btn-pill {
  box-shadow: inset 0 0 0 1px currentColor;
  transition: box-shadow 250ms ease-out;
}

.btn-pill:hover {
  box-shadow: inset 0 0 0 1.5px currentColor;
}

.btn-pill:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (min-width: 1920px) {
  .btn-pill {
    box-shadow: inset 0 0 0 1.5px currentColor;
  }

  .btn-pill:hover {
    box-shadow: inset 0 0 0 2px currentColor;
  }
}

.btn-pill--light {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.btn-pill--dark {
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

.card-tour {
  position: relative;
  aspect-ratio: 191/235;
  width: 191px;
  cursor: pointer;
  overflow: hidden;
  --tw-bg-opacity: 1;
  background-color: rgb(18 18 18 / var(--tw-bg-opacity, 1));
}

@media (min-width: 768px) {
  .card-tour {
    width: auto;
  }
}

@media (min-width: 992px) {
  .card-tour {
    aspect-ratio: 247/303;
  }
}

/* Hover: текст белый, на фото чёрная вуаль 40%. Вуаль под подписями (z-index 1). */

.card-tour::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease-out;
}

.card-tour:hover::after {
  opacity: 0.4;
}

.card-tour__img {
  pointer-events: none;
  position: absolute;
  inset: 0px;
  height: 100%;
  width: 100%;
  max-width: none;
  -o-object-fit: cover;
     object-fit: cover;
}

.card-tour__overlay {
  pointer-events: none;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 63%;
  background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #121212 86.538%);
  opacity: 0.8;
}

.card-tour__tag {
  pointer-events: none;
  position: absolute;
  left: 0px;
  right: 0px;
  top: 50%;
  z-index: 2;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  text-align: center;
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 1920px) {
  .card-tour__tag {
    font-size: 25px;
  }
}

.card-tour__link {
  position: absolute;
  inset: 0px;
  z-index: 2;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}

.card-tour__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -4px;
}

.card-tour__title {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 62%;
  margin-left: auto;
  margin-right: auto;
  max-width: 8em;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  text-align: center;
  font-family: Manrope, sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 1px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 1920px) {
  .card-tour__title {
    font-size: 39px;
    letter-spacing: 1.94px;
  }
}

.card-tour__title {
  /* max-w 8em: «GINZA / SHOPPING» в 2 строки на всех ширинах, как в Figma.
       Длинные названия (из БД): перенос по словам, длинное слово рвётся, больше 3 строк — обрезка с «…». */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.card-tour__fav {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
  z-index: 10;
  display: grid;
  width: 22px;
  height: 22px;
  cursor: pointer;
  place-items: center;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 1920px) {
  .card-tour__fav {
    width: 43px;
    height: 43px;
  }
}

.card-tour__fav:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.card-tour__fav svg {
  display: block;
  width: 100%;
  height: 100%;
}

.card-tour__fav-outline {
  transition: fill 250ms ease-out;
}

.card-tour__fav:hover .card-tour__fav-outline,
  .card-tour__fav:focus-visible .card-tour__fav-outline {
  fill: currentColor;
}

.card-tour__fav-filled {
  display: none;
}

.card-tour__fav[aria-pressed='true'] .card-tour__fav-outline {
  display: none;
}

.card-tour__fav[aria-pressed='true'] .card-tour__fav-filled {
  display: block;
}

/* 375: ряды шире экрана. С md класс не мешает grid/flex-утилитам. */

@media (max-width: 767px) {
  .h-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .h-scroll > * {
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  /* snap-align: start без scroll-padding прижимает первый элемент к краю скроллера,
       съедая padding-left. scroll-padding = отступу ряда → стартовая позиция с отступом. */

  .tours__tabs,
    .experiences__tabs,
    .services__tabs,
    .cat-tiles {
    scroll-padding-inline: 19px;
  }
}

.site-header {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0px;
  z-index: 20;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition: background-color 250ms ease-out, color 250ms ease-out;
}

/* Внутренние страницы ($headerVariant = 'solid'): шапка сразу в состоянии is-scrolled (fixed, белая); main сдвинут на высоту шапки. */

.has-solid-header main {
  padding-top: 30px;
}

@media (min-width: 768px) {
  .has-solid-header main {
    padding-top: 46.5px;
  }
}

@media (min-width: 992px) {
  .has-solid-header main {
    padding-top: 56px;
  }
}

.site-header.is-scrolled {
  position: fixed;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

.site-header__bar {
  position: relative;
  height: 30px;
}

/* 375: слева burger + phone (лупа убрана), логотип по центру, справа сердце + язык. */

.site-header__start {
  position: absolute;
  left: 15px;
  top: 15.9px;
  display: flex;
  height: 13.8px;
  align-items: center;
  gap: 0.75rem;
}

.site-header__end {
  position: absolute;
  left: 307px;
  top: 13.85px;
  display: flex;
  height: 15px;
  align-items: center;
  gap: 7.945px;
}

.site-header__logo {
  position: absolute;
  left: 50%;
  top: 15px;
  display: block;
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.site-header__logo-img {
  display: block;
  height: 10.3px;
  width: auto;
}

/* 375: отдельная кнопка Group 847 заменена полным набором иконок из Figma 8440:34018. */

.icon.site-header__sp {
  display: none;
}

.site-header__sp img {
  display: block;
  width: 13px;
  height: 13px;
  filter: invert(1);
}

.site-header.is-scrolled .site-header__sp img {
  filter: none;
}

.site-header.is-scrolled .site-header__sp:hover img {
  filter: brightness(0) invert(5%);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  color: inherit;
  cursor: pointer;
  line-height: 0;
  transition: opacity 250ms ease-out, color 250ms ease-out;
}

.site-header:has(.icon:hover) .icon:not(:hover) {
  opacity: 0.25;
}

.site-header.is-scrolled .icon:hover {
  color: #0c0c0c;
}

.site-header.is-scrolled .icon img {
  filter: brightness(0);
}

.site-header:not(.is-scrolled) .site-header__logo-img--dark,
  .site-header.is-scrolled .site-header__logo-img--light {
  display: none;
}

.site-header.is-scrolled .icon:hover img {
  filter: brightness(0) invert(5%);
}

/* Светлый верх фото: чёрные знаки на прозрачной шапке. Белый фон даёт только is-scrolled. */

.site-header--ink:not(.is-scrolled) {
  color: #121212;
}

.site-header--ink:not(.is-scrolled) .icon img {
  filter: brightness(0);
}

.site-header--ink:not(.is-scrolled) .site-header__sp img {
  filter: none;
}

.site-header--ink:not(.is-scrolled) .icon:hover {
  color: #0c0c0c;
}

.site-header--ink:not(.is-scrolled) .icon:hover img,
  .site-header--ink:not(.is-scrolled) .site-header__sp:hover img {
  filter: brightness(0) invert(5%);
}

.site-header--ink:not(.is-scrolled) .site-header__logo-img--light {
  display: none;
}

.site-header--ink:not(.is-scrolled) .site-header__logo-img--dark {
  display: block;
}

.site-header.is-search .site-header__bar {
  height: auto;
  min-height: 64px;
}

.site-header__glyph {
  display: block;
}

.site-header__glyph--burger {
  width: 14.775px;
  height: 10.186px;
}

.site-header__glyph--user {
  width: 10.186px;
  height: 13.242px;
}

.site-header__glyph--heart {
  width: 17.656px;
  height: 17.656px;
}

@media (min-width: 768px) {
  .site-header__glyph--burger {
    width: 13.7px;
    height: 10.9px;
  }

  .site-header__glyph--search {
    width: 12.3px;
    height: 13.6px;
  }

  .site-header__glyph--heart {
    width: 16.5px;
    height: 16.5px;
  }

  .site-header__user {
    display: none;
  }
}

.\!lang {
  position: relative;
  display: flex;
  align-items: center;
}

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

.lang__btn {
  gap: 6.5px;
}

.lang__globe {
  width: 14.492px;
  height: 13.242px;
}

@media (max-width: 767px) {
  .lang__btn {
    gap: 7.945px;
  }

  .lang__label {
    display: none;
  }
}

@media (min-width: 768px) {
  .lang__globe {
    width: 13.4px;
    height: 12.3px;
  }
}

.lang__label {
  font-family: Manrope, sans-serif;
  font-size: 8.5px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.17px;
  margin-right: -3.5px;
}

.lang__chevron {
  width: 6.4px;
  height: 3.3px;
  transform: rotate(90deg);
  transition: transform 250ms ease-out;
}

/* 375: шеврон 7.841×4.761 (Figma 8440:34039); ассет вертикальный и повёрнут на 90°. */

@media (max-width: 767px) {
  .lang__chevron {
    width: 4.761px;
    height: 7.841px;
  }
}

/* Figma 8795:1470 (Group 1232, 47×29): фон #929292/50%, r 2px, Manrope Medium 6.771px, lh 1.7 — шрифт в макете нечитаем,
     поэтому размер = подпись «English» (8.5px md / 10.435px lg+), отступы ×1.54 [I]. */

.lang__menu {
  position: absolute;
  left: 0px;
  z-index: 10;
  display: none;
  min-width: 47px;
  flex-direction: column;
  border-radius: 2px;
  padding-top: 2px;
  padding-bottom: 2px;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  top: calc(100% + 4px);
  background: rgba(146, 146, 146, 0.5);
}

/* Мостик над списком закрывает зазор 4px — ховер не теряется при переходе курсора от «English» к списку. */

.lang__menu::before {
  content: "";
  position: absolute;
  inset: -8px 0 100% 0;
}

.\!lang.is-open .lang__menu {
  display: flex !important;
}

.lang.is-open .lang__menu {
  display: flex;
}

.\!lang.is-open .lang__chevron {
  transform: rotate(270deg) !important;
}

.lang.is-open .lang__chevron {
  transform: rotate(270deg);
}

.lang__menu a,
  .lang__menu span {
  display: block;
  white-space: nowrap;
  padding-left: 6px;
  padding-right: 6px;
  font-family: Manrope, sans-serif;
  font-size: 8.5px;
  font-weight: 500;
  line-height: 1.7;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 992px) {
  .lang__menu a,
  .lang__menu span {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    font-size: 10.435px;
  }
}

.lang__menu a {
  text-decoration: underline;
}

.lang__menu a:hover,
  .lang__menu a:focus-visible {
  color: #0c0c0c;
}

.site-header.is-search .search-screen {
  display: flex;
}

.site-header.is-search .site-header__start,
  .site-header.is-search .site-header__end,
  .site-header.is-search .site-header__logo,
  .site-header.is-search .site-header__sp {
  visibility: hidden;
}

.nav-panel {
  position: fixed;
  z-index: 30;
  overflow: auto;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 300ms ease-out, visibility 0s linear 300ms;
  top: 0px;
  bottom: 0px;
  left: 0px;
  width: 375px;
  max-width: 100%;
}

.nav-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 300ms ease-out, visibility 0s;
}

.nav-panel__close {
  position: absolute;
  right: 14px;
  top: 11px;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
}

.nav-panel__close img {
  display: block;
  width: 13px;
  height: 13px;
  transform: rotate(45deg);
}

.nav-panel__body {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding-bottom: 40px;
  padding-left: 51px;
  padding-right: 1.5rem;
  padding-top: 96px;
}

.nav-panel__mark {
  display: block;
  width: 52px;
  height: 52px;
}

.nav-panel__list {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 23px;
  font-family: Manrope, sans-serif;
  font-size: 18.8px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5;
}

.nav-panel__list a {
  --tw-text-opacity: 1;
  color: rgb(146 146 146 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
  transition: color 250ms ease-out;
}

.nav-panel__list a.is-current,
  .nav-panel__list a:hover {
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

.nav-panel__foot {
  margin-top: auto;
  display: flex;
  width: min(287px, 100%);
  flex-direction: column;
  gap: 6px;
  padding-top: 3rem;
}

.nav-panel__social {
  display: flex;
  align-items: center;
  gap: 14.5px;
}

.nav-panel__social img {
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

.nav-panel__social a:nth-child(1) img {
  width: 20.3px;
  height: 20px;
}

.nav-panel__social a:nth-child(2) img {
  width: 28.96px;
  height: 39.09px;
}

.nav-panel__social a:nth-child(3) img {
  width: 21.8px;
  height: 20.2px;
}

.nav-panel__contact {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
  letter-spacing: 0.65px;
}

@media (min-width: 768px) {
  .site-header__bar {
    display: flex;
    height: auto;
    align-items: center;
    justify-content: space-between;
    padding-left: 31px;
    padding-right: 31px;
    padding-bottom: 0.5rem;
    padding-top: 22px;
  }

  .site-header__start,
    .site-header__end {
    position: static;
    display: flex;
    height: auto;
    width: auto;
    align-items: center;
    justify-content: flex-start;
  }

  .site-header__start {
    gap: 15px;
  }

  .site-header__end {
    gap: 10px;
  }

  .site-header__logo {
    position: absolute;
    left: 50%;
    top: 22px;
    display: block;
    --tw-translate-x: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  }

  .site-header__logo-img {
    display: block;
    height: 13px;
    width: auto;
  }

  .site-header__logo {
    top: 22px;
  }

  .site-header__sp {
    display: none;
  }
}

@media (min-width: 992px) {
  .site-header__bar {
    height: 50px;
    padding: 17px 31px 0;
  }

  .site-header.is-scrolled {
    box-shadow: 0 1.935px 3.87px rgb(0 0 0 / 0.1);
  }

  .site-header.is-scrolled .site-header__bar {
    height: 56px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header__start {
    gap: 20.8px;
  }

  .site-header__end {
    gap: 20.3px;
  }

  .site-header__user {
    display: inline-flex;
  }

  .site-header__logo {
    top: 25px;
  }

  .site-header.is-scrolled .site-header__logo {
    top: 19.5px;
  }

  .site-header__logo-img {
    height: 17px;
    width: auto;
  }

  .site-header.is-scrolled .site-header__logo-img--dark {
    height: 17.78px;
  }

  .site-header__glyph--burger {
    width: 15.562px;
    height: 13.952px;
  }

  .site-header__glyph--search {
    width: 15.688px;
    height: 15.448px;
  }

  .site-header__glyph--user {
    width: 12.572px;
    height: 16.068px;
  }

  .site-header__glyph--heart {
    width: 21.479px;
    height: 21.479px;
  }

  .lang__btn {
    gap: 7.6px;
  }

  .lang__globe {
    width: 17.528px;
    height: 16.016px;
  }

  .lang__label {
    margin-right: 0;
    font-size: 10.435px;
    letter-spacing: 0;
  }

  .lang__chevron {
    width: 4.337px;
    height: 8.383px;
  }
}

.hero {
  position: relative;
  height: 421px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero {
    height: 420px;
  }
}

@media (min-width: 992px) {
  .hero {
    height: 543px;
  }
}

@media (min-width: 1920px) {
  .hero {
    height: 1051px;
  }
}

.hero__img {
  position: absolute;
  inset: 0px;
  height: 100%;
  width: 100%;
  max-width: none;
  -o-object-fit: cover;
     object-fit: cover;
}

.hero__overlay {
  pointer-events: none;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 199px;
  background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #121212 86.538%);
  opacity: 0.7;
}

@media (min-width: 992px) {
  .hero__overlay {
    height: 257px;
  }
}

@media (min-width: 1920px) {
  .hero__overlay {
    height: 497px;
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding-top: 210px;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .hero__content {
    padding-top: 175px;
  }
}

@media (min-width: 992px) {
  .hero__content {
    padding-top: 297px;
  }
}

@media (min-width: 1920px) {
  .hero__content {
    gap: 14px;
    padding-top: 621px;
  }
}

.hero__label {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

@media (min-width: 768px) {
  .hero__label {
    font-weight: 800;
    line-height: 18px;
  }
}

@media (min-width: 1920px) {
  .hero__label {
    font-size: 19px;
    line-height: 26px;
  }
}

.hero__title {
  font-family: Manrope, sans-serif;
  font-size: 29px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.16;
}

@media (min-width: 1920px) {
  .hero__title {
    font-size: 42px;
    line-height: 1.16;
  }
}

.hero__text {
  max-width: 269px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: normal;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .hero__text {
    max-width: 329px;
    font-size: 10px;
    font-weight: 600;
    text-transform: none;
    line-height: 0.9643;
  }
}

@media (min-width: 1920px) {
  .hero__text {
    max-width: 478px;
    font-size: 14.5px;
    line-height: 0.9643;
  }
}

.hero__text {
  letter-spacing: 0.72px;
}

@media (min-width: 768px) {
  .hero__text {
    min-height: 39px;
    letter-spacing: 0;
  }
}

@media (min-width: 1920px) {
  .hero__text {
    min-height: 56.6px;
  }
}

@media (max-width: 767px) {
  .hero__cta {
    box-shadow: inset 0 0 0 0.5px currentColor;
  }
}

/* 32px под hero (992: градиент 257 + gap 32). 2xl: 32 × 1.4516 ≈ 46 [I]. */

.intro {
  margin-left: auto;
  margin-right: auto;
  display: flex;
  width: 100%;
  max-width: 332px;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding-top: 32px;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .intro {
    max-width: 594px;
  }
}

@media (min-width: 1920px) {
  .intro {
    max-width: 862px;
    gap: 26px;
    padding-top: 46px;
  }
}

.intro__lead {
  width: 100%;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: normal;
  font-weight: 700;
  line-height: 1.18;
}

@media (min-width: 768px) {
  .intro__lead {
    max-width: 394px;
    font-weight: 800;
  }
}

@media (min-width: 1920px) {
  .intro__lead {
    max-width: 572px;
    font-size: 17px;
    line-height: 1.18;
  }
}

.intro__lead {
  letter-spacing: 0.36px;
}

.intro__rule {
  height: 1px;
  width: 100%;
  flex-shrink: 0;
  --tw-bg-opacity: 1;
  background-color: rgb(18 18 18 / var(--tw-bg-opacity, 1));
}

@media (min-width: 1920px) {
  .intro__rule {
    height: 1.5px;
  }
}

.intro__usp {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  -moz-column-gap: 1rem;
       column-gap: 1rem;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: normal;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.24;
}

@media (min-width: 768px) {
  .intro__usp {
    justify-content: space-between;
    font-weight: 800;
  }
}

@media (min-width: 1920px) {
  .intro__usp {
    font-size: 17px;
  }
}

.intro__usp {
  letter-spacing: 0.72px;
}

.intro__usp span {
  white-space: nowrap;
}

@media (min-width: 1920px) {
  .intro__lead {
    letter-spacing: 0.52px;
  }

  .intro__usp {
    letter-spacing: 1.05px;
  }
}

.tours {
  margin-top: 60px;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .tours {
    margin-top: 78px;
  }
}

@media (min-width: 992px) {
  .tours {
    margin-top: 90px;
  }
}

@media (min-width: 1920px) {
  .tours {
    margin-top: 200px;
  }
}

.tours__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .tours__head {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.tours__mark {
  display: block;
  width: 45px;
  height: 45px;
}

@media (min-width: 768px) {
  .tours__mark {
    width: 58px;
    height: 58px;
  }
}

@media (min-width: 1920px) {
  .tours__mark {
    width: 84px;
    height: 84px;
  }
}

.tours__title {
  font-family: "FUJI Sans Selif", serif;
  font-size: 25px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .tours__title {
    font-size: 30px;
  }
}

@media (min-width: 1920px) {
  .tours__title {
    font-size: 44px;
    line-height: 1.2;
  }
}

.tours__title {
  /* Figma 7976:2221 / 8440:33833: трекинг по глифам (среднее по буквам ≈0.02em) и пробелы −12…−13.2px при 30px. */
  letter-spacing: 0.5px;
  word-spacing: -0.42em;
}

.tours__lead {
  max-width: 285px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: normal;
  font-weight: 600;
  line-height: 1.2;
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .tours__lead {
    max-width: 900px;
  }
}

@media (min-width: 1920px) {
  .tours__lead {
    font-size: 17px;
  }
}

.tours__lead {
  letter-spacing: 0.72px;
}

.tours__tabs,
  .experiences__tabs {
  margin-top: 32px;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 1.5rem;
  padding-left: 19px;
  padding-right: 19px;
}

@media (min-width: 768px) {
  .tours__tabs,
  .experiences__tabs {
    justify-content: center;
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (min-width: 1920px) {
  .tours__tabs,
  .experiences__tabs {
    gap: 2.25rem;
  }
}

.tours__tab,
  .experiences__tab,
  .services__tab {
  position: relative;
  flex-shrink: 0;
  cursor: pointer;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  padding-bottom: 6px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: normal;
  font-weight: 700;
  text-transform: uppercase;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}

@media (min-width: 1920px) {
  .tours__tab,
  .experiences__tab,
  .services__tab {
    font-size: 17px;
  }
}

.tours__tab::after,
  .experiences__tab::after,
  .services__tab::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left center;
}

.tours__tab:hover::after,
  .experiences__tab:hover::after,
  .services__tab:hover::after {
  animation: tours-tab-line 400ms ease-out;
}

@keyframes tours-tab-line {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

.tours__tab:focus-visible,
  .experiences__tab:focus-visible,
  .services__tab:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* 375: сетка 2×2 (Figma 8440:34081: 4 карточки), как Experiences. md+: 4 колонки × 2 ряда. */

.tours__grid {
  margin-top: 41px;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

@media (min-width: 768px) {
  .tours__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1920px) {
  .tours__grid {
    gap: 2px;
  }
}

.tours__grid > .card-tour {
  width: auto;
  min-width: 0px;
}

@media (max-width: 767px) {
  .tours__grid > .card-tour:nth-child(n + 5) {
    display: none;
  }
}

.tours__more {
  margin-top: 32px;
}

@media (min-width: 1920px) {
  .tours__more {
    margin-top: 47px;
  }
}

@media (min-width: 768px) {
  .tours__title {
    letter-spacing: 0.6px;
  }
}

@media (min-width: 1920px) {
  .tours__title {
    letter-spacing: 0.871px;
  }
}

.experiences {
  margin-top: 60px;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .experiences {
    margin-top: 78px;
  }
}

@media (min-width: 992px) {
  .experiences {
    margin-top: 90px;
  }
}

@media (min-width: 1920px) {
  .experiences {
    margin-top: 200px;
  }
}

.experiences__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .experiences__head {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.experiences__mark {
  display: block;
  width: 45px;
  height: 45px;
}

@media (min-width: 768px) {
  .experiences__mark {
    width: 58px;
    height: 58px;
  }
}

@media (min-width: 1920px) {
  .experiences__mark {
    width: 84px;
    height: 84px;
  }
}

.experiences__title {
  font-family: "FUJI Sans Selif", serif;
  font-size: 25px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .experiences__title {
    font-size: 30px;
  }
}

@media (min-width: 1920px) {
  .experiences__title {
    font-size: 44px;
    line-height: 1.2;
  }
}

.experiences__title {
  letter-spacing: 0.6px;
  /* Figma: пробелы в заголовке с отрицательным трекингом */
  word-spacing: -0.3em;
}

@media (min-width: 768px) {
  .experiences__title {
    word-spacing: -0.233em;
  }
}

.experiences__lead {
  max-width: 285px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: normal;
  font-weight: 600;
  line-height: 1.2;
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .experiences__lead {
    max-width: 900px;
  }
}

@media (min-width: 1920px) {
  .experiences__lead {
    font-size: 17px;
  }
}

.experiences__lead {
  letter-spacing: 0.72px;
}

/* 375: тот же кадр 768×423, сдвиг влево и обрезка. md+ — на всю ширину. */

.experiences__banner {
  position: relative;
  margin-top: 2.25rem;
  height: 423px;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 768px) {
  .experiences__banner {
    margin-top: 40px;
  }
}

@media (min-width: 992px) {
  .experiences__banner {
    height: 548px;
  }
}

@media (min-width: 1920px) {
  .experiences__banner {
    margin-top: 32px;
    height: 1061px;
  }
}

/* Hover как у плитки: текст белый, на фото чёрная вуаль 40%. Вуаль под подписью. */

.experiences__banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease-out;
}

.experiences__banner:hover::after {
  opacity: 0.4;
}

.experiences__img {
  position: absolute;
  left: 50%;
  top: 0px;
  height: 100%;
  width: 768px;
  max-width: none;
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 768px) {
  .experiences__img {
    width: 100%;
  }
}

.experiences__img {
  -o-object-position: center 56%;
     object-position: center 56%;
}

.experiences__overlay {
  pointer-events: none;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 200px;
  background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #121212 86.538%);
  opacity: 0.8;
}

@media (min-width: 992px) {
  .experiences__overlay {
    height: 259px;
  }
}

@media (min-width: 1920px) {
  .experiences__overlay {
    height: 501px;
  }
}

.experiences__copy {
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 74px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .experiences__copy {
    bottom: 3rem;
  }
}

@media (min-width: 992px) {
  .experiences__copy {
    bottom: 3.5rem;
  }
}

@media (min-width: 1920px) {
  .experiences__copy {
    bottom: 154px;
    gap: 15px;
  }
}

.experiences__tag {
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 18px;
}

@media (min-width: 1920px) {
  .experiences__tag {
    font-size: 19px;
    line-height: 26px;
  }
}

.experiences__name {
  font-family: Manrope, sans-serif;
  font-size: 29px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.16;
}

@media (min-width: 1920px) {
  .experiences__name {
    font-size: 42px;
    line-height: 1.16;
  }
}

.experiences__text {
  max-width: 329px;
  font-family: Manrope, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 0.9643;
}

@media (min-width: 1920px) {
  .experiences__text {
    max-width: 478px;
    font-size: 14.5px;
    line-height: 0.9643;
  }
}

.experiences__text {
  min-height: 39px;
}

.experiences__grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

@media (min-width: 768px) {
  .experiences__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1920px) {
  .experiences__grid {
    gap: 2px;
  }
}

.experiences__grid > .card-tour {
  width: auto;
  min-width: 0px;
}

.experiences__more {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .experiences__more {
    margin-top: 32px;
  }
}

@media (min-width: 1920px) {
  .experiences__more {
    margin-top: 47px;
  }

  .experiences__title {
    letter-spacing: 0.871px;
  }

  .experiences__text {
    min-height: 56.6px;
  }
}

.services {
  margin-top: 60px;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .services {
    margin-top: 78px;
  }
}

@media (min-width: 992px) {
  .services {
    margin-top: 90px;
  }
}

@media (min-width: 1920px) {
  .services {
    margin-top: 200px;
  }
}

.services__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .services__head {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.services__mark {
  display: block;
  width: 45px;
  height: 45px;
}

@media (min-width: 768px) {
  .services__mark {
    width: 58px;
    height: 58px;
  }
}

@media (min-width: 1920px) {
  .services__mark {
    width: 84px;
    height: 84px;
  }
}

.services__title {
  font-family: "FUJI Sans Selif", serif;
  font-size: 25px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .services__title {
    font-size: 30px;
  }
}

@media (min-width: 1920px) {
  .services__title {
    font-size: 44px;
    line-height: 1.2;
  }
}

.services__title {
  letter-spacing: 0.6px;
  /* Figma: пробелы в заголовке с отрицательным трекингом */
  word-spacing: -0.4em;
}

.services__lead {
  max-width: 285px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: normal;
  font-weight: 600;
  line-height: 1.2;
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .services__lead {
    max-width: 900px;
  }
}

@media (min-width: 1920px) {
  .services__lead {
    font-size: 17px;
  }
}

.services__lead {
  letter-spacing: 0.72px;
}

.services__tabs {
  margin-top: 32px;
  display: flex;
  width: 100%;
  align-items: center;
  gap: 30px;
  padding-left: 19px;
  padding-right: 19px;
}

@media (min-width: 768px) {
  .services__tabs {
    justify-content: center;
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (min-width: 1920px) {
  .services__tabs {
    gap: 44px;
  }
}

/* 992: картинка 1105 шире кадра и обрезана по центру. 375: кадр 768 скроллится. */

.services__banner {
  position: relative;
  margin-top: 40px;
  height: 424px;
  width: 100%;
  overflow: hidden;
}

@media (min-width: 992px) {
  .services__banner {
    height: 548px;
  }
}

@media (min-width: 1920px) {
  .services__banner {
    height: 1061px;
  }
}

.services__img {
  position: absolute;
  left: 50%;
  top: 0px;
  height: 100%;
  width: 100%;
  max-width: none;
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 992px) {
  .services__img {
    width: 1105px;
  }
}

@media (min-width: 1920px) {
  .services__img {
    width: 2139px;
  }
}

.services__img {
  -o-object-position: center 76%;
     object-position: center 76%;
}

.services__overlay {
  pointer-events: none;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 200px;
  background-image: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #121212 86.538%);
  opacity: 0.8;
}

@media (min-width: 992px) {
  .services__overlay {
    height: 259px;
  }
}

@media (min-width: 1920px) {
  .services__overlay {
    height: 501px;
  }
}

@media (max-width: 767px) {
  .services__banner {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .services__banner::-webkit-scrollbar {
    display: none;
  }

  .services__img {
    position: relative;
    left: auto;
    width: 768px;
    height: 424px;
    transform: none;
    scroll-snap-align: start;
  }
}

@media (min-width: 1920px) {
  .services__title {
    letter-spacing: 0.871px;
  }
}

.agents {
  margin-top: 60px;
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

@media (min-width: 768px) {
  .agents {
    margin-top: 78px;
  }
}

@media (min-width: 992px) {
  .agents {
    margin-top: 90px;
  }
}

@media (min-width: 1920px) {
  .agents {
    margin-top: 200px;
  }
}

.agents__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: center;
}

@media (min-width: 768px) {
  .agents__head {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.agents__mark {
  display: block;
  width: 45px;
  height: 45px;
}

@media (min-width: 768px) {
  .agents__mark {
    width: 58px;
    height: 58px;
  }
}

@media (min-width: 1920px) {
  .agents__mark {
    width: 84px;
    height: 84px;
  }
}

.agents__title {
  font-family: "FUJI Sans Selif", serif;
  font-size: 25px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .agents__title {
    font-size: 30px;
  }
}

@media (min-width: 1920px) {
  .agents__title {
    font-size: 44px;
    line-height: 1.2;
  }
}

.agents__title {
  letter-spacing: 0.6px;
  /* Figma: пробелы в заголовке с отрицательным трекингом */
  word-spacing: -0.4em;
}

.agents__lead {
  max-width: 285px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: normal;
  font-weight: 600;
  line-height: 1.2;
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .agents__lead {
    max-width: 900px;
  }
}

@media (min-width: 1920px) {
  .agents__lead {
    font-size: 17px;
  }
}

.agents__lead {
  letter-spacing: 0.72px;
}

.agents__photo {
  position: relative;
  margin-top: 40px;
  display: block;
  height: 424px;
  width: 100%;
  overflow: hidden;
  text-decoration-line: none;
}

@media (min-width: 992px) {
  .agents__photo {
    height: 548px;
  }
}

@media (min-width: 1920px) {
  .agents__photo {
    margin-top: 78px;
    height: 1062px;
  }
}

.agents__img {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 0px;
  height: 100%;
  width: 768px;
  max-width: none;
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 768px) {
  .agents__img {
    width: 100%;
  }
}

.agents__img {
  -o-object-position: center 31%;
     object-position: center 31%;
}

.agents__overlay {
  pointer-events: none;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 280px;
}

@media (min-width: 992px) {
  .agents__overlay {
    height: 380px;
  }
}

@media (min-width: 1920px) {
  .agents__overlay {
    height: 720px;
  }
}

.agents__overlay {
  background-image: linear-gradient(to bottom, rgba(18, 18, 18, 0) 0%, rgba(18, 18, 18, 0.45) 38%, #121212 78%, #121212 100%);
}

.site-footer {
  display: flex;
  min-height: 856px;
  flex-direction: column;
  align-items: center;
  --tw-bg-opacity: 1;
  background-color: rgb(18 18 18 / var(--tw-bg-opacity, 1));
  background-size: cover;
  background-position: center;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-bottom: 40px;
  padding-top: 45px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .site-footer {
    min-height: 502px;
    padding-left: 43px;
    padding-right: 43px;
    padding-bottom: 72px;
    padding-top: 59px;
  }
}

@media (min-width: 992px) {
  .site-footer {
    padding-bottom: 5rem;
  }
}

@media (min-width: 1920px) {
  .site-footer {
    min-height: 582px;
    padding-top: 2.75rem;
  }
}

.site-footer {
  background-image: url("/images/footer/bg.svg");
}

.site-footer :where(a) {
  transition: none;
  color: #fff;
}

.site-footer a:hover {
  color: #fff;
}

.site-footer a:focus-visible {
  outline: 1px solid #fff;
  outline-offset: 3px;
}

.site-footer__brand {
  display: flex;
  width: 100%;
  max-width: 273px;
  flex-direction: column;
  align-items: center;
  gap: 23px;
  text-align: center;
}

@media (min-width: 768px) {
  .site-footer__brand {
    max-width: 727px;
    gap: 28px;
  }
}

.site-footer__logo {
  display: block;
  height: 66px;
  width: 184px;
}

@media (min-width: 768px) {
  .site-footer__logo {
    height: 74px;
    width: 206px;
  }
}

@media (min-width: 1920px) {
  .site-footer__logo {
    height: 86px;
    width: 239px;
  }
}

/* Текст компании — 2 абзаца, разрыв после «…across Japan.» [I: без пустой строки между абзацами]. */

.site-footer__text {
  display: flex;
  flex-direction: column;
}

.site-footer__about {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  line-height: normal;
  line-height: 1.0476;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  letter-spacing: 0.6px;
}

.site-footer__nav {
  margin-top: 58px;
  display: grid;
  width: 100%;
  max-width: 282px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .site-footer__nav {
    margin-top: 4rem;
    display: flex;
    max-width: none;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
  }
}

@media (min-width: 992px) {
  .site-footer__nav {
    justify-content: center;
    gap: 71px;
  }
}

@media (min-width: 1920px) {
  .site-footer__nav {
    gap: 100px;
  }
}

.site-footer__col,
  .site-footer__heads {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.site-footer__col--tours {
  gap: 6px;
}

.site-footer__col a,
  .site-footer__heads a {
  font-family: Manrope, sans-serif;
  font-size: 9px;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}

@media (min-width: 768px) {
  .site-footer__col a,
  .site-footer__heads a {
    font-size: 10px;
  }
}

@media (min-width: 1920px) {
  .site-footer__col a,
  .site-footer__heads a {
    font-size: 12px;
    line-height: normal;
  }
}

.site-footer__col a,
  .site-footer__heads a {
  letter-spacing: 0.45px;
  line-height: normal;
}

.site-footer a.site-footer__heading,
  .site-footer__heads a {
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .site-footer a.site-footer__heading,
  .site-footer__heads a {
    font-size: 14px;
  }
}

@media (min-width: 1920px) {
  .site-footer a.site-footer__heading,
  .site-footer__heads a {
    font-size: 16px;
    line-height: normal;
  }
}

.site-footer a.site-footer__heading,
  .site-footer__heads a {
  letter-spacing: 0.75px;
  line-height: normal;
}

.site-footer__split {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.site-footer__heads {
  display: contents;
}

.site-footer__bar {
  margin-top: 40px;
  display: flex;
  width: 100%;
  max-width: 300px;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .site-footer__bar {
    margin-top: 52px;
    max-width: none;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
  }
}

.site-footer__offices {
  text-align: center;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 9px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .site-footer__offices {
    max-width: 393px;
    text-align: left;
    font-size: 8px;
  }
}

@media (min-width: 1920px) {
  .site-footer__offices {
    font-size: 10px;
  }
}

.site-footer__offices {
  line-height: normal;
  letter-spacing: 0.4px;
}

.site-footer__offices p + p {
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .site-footer__offices p + p {
    margin-top: 0.25rem;
  }
}

@media (min-width: 1920px) {
  .site-footer__offices p + p {
    margin-top: 0.25rem;
  }
}

.site-footer__contacts {
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
  row-gap: 0.5rem;
  font-size: 9px;
}

@media (min-width: 768px) {
  .site-footer__contacts {
    margin-top: 0.25rem;
    width: 100%;
    max-width: 393px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
}

@media (min-width: 1920px) {
  .site-footer__contacts {
    font-size: 10px;
  }
}

.site-footer__contacts {
  letter-spacing: 0.45px;
}

.site-footer__contacts a {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 9px;
  font-weight: 400;
  text-decoration-line: none;
}

@media (min-width: 1920px) {
  .site-footer__contacts a {
    font-size: 10px;
  }
}

.site-footer__contacts a {
  letter-spacing: 0.45px;
}

@media (max-width: 767px) {
  .site-footer__contacts a:last-child {
    flex-basis: 100%;
  }
}

.site-footer__aside {
  display: contents;
}

.site-footer__social {
  order: -9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1920px) {
  .site-footer__social {
    gap: 1.25rem;
  }
}

.site-footer__ig {
  display: block;
  height: 12.82px;
  width: 12.82px;
  max-width: none;
  -o-object-fit: contain;
     object-fit: contain;
}

@media (min-width: 1920px) {
  .site-footer__ig {
    height: 21px;
    width: 21px;
  }
}

.site-footer__yt {
  position: relative;
  display: block;
  height: 25px;
  width: 19px;
  overflow: hidden;
}

@media (min-width: 1920px) {
  .site-footer__yt {
    height: 41px;
    width: 31px;
  }
}

.site-footer__yt img {
  position: absolute;
  height: 100.64%;
  max-width: none;
  left: -44.52%;
  top: 0.16%;
  width: 394.03%;
}

.site-footer__li {
  display: block;
  height: 13px;
  width: 14px;
  max-width: none;
  -o-object-fit: cover;
     object-fit: cover;
}

@media (min-width: 1920px) {
  .site-footer__li {
    height: 21px;
    width: 23px;
  }
}

.site-footer__legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.site-footer__license {
  font-family: Manrope, sans-serif;
  font-size: 8px;
  font-weight: 400;
}

@media (min-width: 1920px) {
  .site-footer__license {
    font-size: 10px;
  }
}

.site-footer__license {
  line-height: normal;
}

.site-footer__copy {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 8px;
}

@media (min-width: 1920px) {
  .site-footer__copy {
    font-size: 10px;
  }
}

.site-footer__copy {
  line-height: normal;
  letter-spacing: 0.4px;
}

@media (min-width: 768px) {
  .site-footer__col a,
    .site-footer__contacts a {
    letter-spacing: 0.5px;
  }

  .site-footer a.site-footer__heading,
    .site-footer__heads a {
    letter-spacing: 0.7px;
  }

  .site-footer__about {
    letter-spacing: 0.6px;
  }

  .site-footer__col,
    .site-footer__heads {
    flex-shrink: 0;
  }

  .site-footer__col a,
    .site-footer a.site-footer__heading,
    .site-footer__heads a {
    white-space: nowrap;
    line-height: 1.2;
  }

  .site-footer__heads {
    display: flex;
    width: -moz-max-content;
    width: max-content;
    gap: 16px;
  }

  .site-footer__split {
    display: contents;
  }

  .site-footer__aside {
    display: flex;
    width: 210px;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
  }

  .site-footer__social {
    order: 0;
  }

  .site-footer__legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    text-align: right;
  }

  .site-footer__license,
    .site-footer__copy {
    line-height: 1;
  }
}

@media (min-width: 1920px) {
  .site-footer__about {
    letter-spacing: 0.7px;
    font-size: 14px;
  }

  .site-footer__col a {
    letter-spacing: 0.6px;
  }

  .site-footer a.site-footer__heading,
    .site-footer__heads a {
    letter-spacing: 0.8px;
  }

  .site-footer__aside {
    width: 273px;
  }

  .site-footer__copy {
    letter-spacing: 0.5px;
  }
}

.pyj {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 30;
  height: 51px;
  width: 109px;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 992px) {
  .pyj {
    bottom: 1.5rem;
    right: 1.5rem;
  }
}

.pyj {
  cursor: pointer;
}

.pyj__bg {
  pointer-events: none;
  position: absolute;
  max-width: none;
  left: -5.6%;
  top: 0;
  width: 111.2%;
  height: 123.93%;
  transition: filter 250ms ease-out;
}

.pyj:hover .pyj__bg {
  filter: brightness(0) invert(30%);
}

.pyj__inner {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding-left: 10px;
  padding-right: 0.375rem;
}

.pyj__icon {
  display: block;
  width: 23px;
  height: 23px;
  flex-shrink: 0;
}

.pyj__label {
  text-align: left;
  font-family: Manrope, sans-serif;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.27;
  letter-spacing: 0.48px;
  white-space: nowrap;
}

/* 1920: описания секций — ls 1.045px (Figma). */

@media (min-width: 1920px) {
  .tours__lead,
    .experiences__lead,
    .services__lead,
    .agents__lead {
    letter-spacing: 1.045px;
  }

  /* PLAN YOUR JOURNEY 1920: Figma 8558:52004 — 158×74, текст 14.516px; внутренние отступы ×1.45 [I]. */

  .pyj {
    width: 158px;
    height: 74px;
  }

  .pyj__icon {
    width: 33.4px;
    height: 33.4px;
  }

  .pyj__inner {
    gap: 5.8px;
    padding-left: 14.5px;
    padding-right: 8.7px;
  }

  .pyj__label {
    font-size: 14.516px;
    letter-spacing: 0.697px;
  }
}

/* 992→1920: плавная интерполяция значений 992 к значениям 1920 (на 1920 совпадает с 2xl, без скачка).
     --fluid = 0px на 992 и 1px на 1920. Значения сгенерированы из вычисленных стилей 992/1920. */

@media (min-width: 992px) and (max-width: 1919.98px) {
  :root {
    --fluid: calc((100vw - 992px) / 928);
  }

  .btn-pill {
    height: calc(35px + 16 * var(--fluid));
    width: calc(135px + 61 * var(--fluid));
    font-size: calc(13px + 6 * var(--fluid));
  }

  .card-tour__tag {
    font-size: calc(13px + 12 * var(--fluid));
    line-height: calc(13px + 12 * var(--fluid));
  }

  .card-tour__title {
    font-size: calc(20px + 19 * var(--fluid));
    line-height: calc(22px + 20.9 * var(--fluid));
    letter-spacing: calc(1px + 0.94 * var(--fluid));
  }

  .card-tour__fav {
    width: calc(22px + 21 * var(--fluid));
    height: calc(22px + 21 * var(--fluid));
  }

  .hero {
    height: calc(543px + 508 * var(--fluid));
  }

  .hero__overlay {
    height: calc(257px + 240 * var(--fluid));
  }

  .hero__content {
    row-gap: calc(10px + 4 * var(--fluid));
    -moz-column-gap: calc(10px + 4 * var(--fluid));
         column-gap: calc(10px + 4 * var(--fluid));
    padding-top: calc(297px + 324 * var(--fluid));
  }

  .hero__label {
    font-size: calc(13px + 6 * var(--fluid));
    line-height: calc(18px + 8 * var(--fluid));
  }

  .hero__title {
    font-size: calc(29px + 13 * var(--fluid));
    line-height: calc(33.64px + 15.08 * var(--fluid));
  }

  .hero__text {
    max-width: calc(329px + 149 * var(--fluid));
    font-size: calc(10px + 4.5 * var(--fluid));
    line-height: calc(9.643px + 4.339 * var(--fluid));
  }

  .intro {
    max-width: calc(594px + 268 * var(--fluid));
    row-gap: calc(18px + 8 * var(--fluid));
    -moz-column-gap: calc(18px + 8 * var(--fluid));
         column-gap: calc(18px + 8 * var(--fluid));
    padding-top: calc(32px + 14 * var(--fluid));
  }

  .intro__lead {
    max-width: calc(394px + 178 * var(--fluid));
    font-size: calc(12px + 5 * var(--fluid));
    line-height: calc(14.16px + 5.9 * var(--fluid));
  }

  .intro__rule {
    height: calc(1px + 0.5 * var(--fluid));
  }

  .intro__usp {
    font-size: calc(12px + 5 * var(--fluid));
    line-height: calc(14.88px + 6.2 * var(--fluid));
  }

  .tours {
    margin-top: calc(90px + 110 * var(--fluid));
  }

  .tours__mark {
    width: calc(58px + 26 * var(--fluid));
    height: calc(58px + 26 * var(--fluid));
  }

  .tours__title {
    font-size: calc(30px + 14 * var(--fluid));
    line-height: calc(36px + 16.8 * var(--fluid));
    letter-spacing: calc(0.6px + 0.271 * var(--fluid));
    word-spacing: calc(-12.6px + -5.88 * var(--fluid));
  }

  .tours__lead {
    font-size: calc(12px + 5 * var(--fluid));
    line-height: calc(14.4px + 6 * var(--fluid));
    letter-spacing: calc(0.72px + 0.325 * var(--fluid));
  }

  .experiences__tabs {
    row-gap: calc(24px + 12 * var(--fluid));
    -moz-column-gap: calc(24px + 12 * var(--fluid));
         column-gap: calc(24px + 12 * var(--fluid));
  }

  .services__tab {
    font-size: calc(12px + 5 * var(--fluid));
  }

  .tours__grid {
    row-gap: calc(1px + 1 * var(--fluid));
    -moz-column-gap: calc(1px + 1 * var(--fluid));
         column-gap: calc(1px + 1 * var(--fluid));
  }

  .tours__more {
    margin-top: calc(32px + 15 * var(--fluid));
  }

  .experiences {
    margin-top: calc(90px + 110 * var(--fluid));
  }

  .experiences__mark {
    width: calc(58px + 26 * var(--fluid));
    height: calc(58px + 26 * var(--fluid));
  }

  .experiences__title {
    font-size: calc(30px + 14 * var(--fluid));
    line-height: calc(36px + 16.8 * var(--fluid));
    letter-spacing: calc(0.6px + 0.271 * var(--fluid));
  }

  .experiences__lead {
    font-size: calc(12px + 5 * var(--fluid));
    line-height: calc(14.4px + 6 * var(--fluid));
    letter-spacing: calc(0.72px + 0.325 * var(--fluid));
  }

  .experiences__banner {
    margin-top: calc(40px + -8 * var(--fluid));
    height: calc(548px + 513 * var(--fluid));
  }

  .experiences__overlay {
    height: calc(259px + 242 * var(--fluid));
  }

  .experiences__copy {
    bottom: calc(56px + 98 * var(--fluid));
    row-gap: calc(10px + 5 * var(--fluid));
    -moz-column-gap: calc(10px + 5 * var(--fluid));
         column-gap: calc(10px + 5 * var(--fluid));
  }

  .experiences__tag {
    font-size: calc(13px + 6 * var(--fluid));
    line-height: calc(18px + 8 * var(--fluid));
  }

  .experiences__name {
    font-size: calc(29px + 13 * var(--fluid));
    line-height: calc(33.64px + 15.08 * var(--fluid));
  }

  .experiences__text {
    max-width: calc(329px + 149 * var(--fluid));
    font-size: calc(10px + 4.5 * var(--fluid));
    line-height: calc(9.643px + 4.339 * var(--fluid));
    min-height: calc(39px + 17.6 * var(--fluid));
  }

  .experiences__grid {
    row-gap: calc(1px + 1 * var(--fluid));
    -moz-column-gap: calc(1px + 1 * var(--fluid));
         column-gap: calc(1px + 1 * var(--fluid));
  }

  .experiences__more {
    margin-top: calc(32px + 15 * var(--fluid));
  }

  .services {
    margin-top: calc(90px + 110 * var(--fluid));
  }

  .services__mark {
    width: calc(58px + 26 * var(--fluid));
    height: calc(58px + 26 * var(--fluid));
  }

  .services__title {
    font-size: calc(30px + 14 * var(--fluid));
    line-height: calc(36px + 16.8 * var(--fluid));
    letter-spacing: calc(0.6px + 0.271 * var(--fluid));
  }

  .services__lead {
    font-size: calc(12px + 5 * var(--fluid));
    line-height: calc(14.4px + 6 * var(--fluid));
    letter-spacing: calc(0.72px + 0.325 * var(--fluid));
  }

  .services__tabs {
    row-gap: calc(30px + 14 * var(--fluid));
    -moz-column-gap: calc(30px + 14 * var(--fluid));
         column-gap: calc(30px + 14 * var(--fluid));
  }

  .services__banner {
    height: calc(548px + 513 * var(--fluid));
  }

  .services__img {
    width: calc(1105px + 1034 * var(--fluid));
  }

  .services__overlay {
    height: calc(259px + 242 * var(--fluid));
  }

  .agents {
    margin-top: calc(90px + 110 * var(--fluid));
  }

  .agents__mark {
    width: calc(58px + 26 * var(--fluid));
    height: calc(58px + 26 * var(--fluid));
  }

  .agents__title {
    font-size: calc(30px + 14 * var(--fluid));
    line-height: calc(36px + 16.8 * var(--fluid));
    letter-spacing: calc(0.6px + 0.271 * var(--fluid));
  }

  .agents__lead {
    font-size: calc(12px + 5 * var(--fluid));
    line-height: calc(14.4px + 6 * var(--fluid));
    letter-spacing: calc(0.72px + 0.325 * var(--fluid));
  }

  .agents__photo {
    margin-top: calc(40px + 38 * var(--fluid));
    height: calc(548px + 514 * var(--fluid));
  }

  .agents__overlay {
    height: calc(380px + 340 * var(--fluid));
  }

  .site-footer {
    min-height: calc(502px + 80 * var(--fluid));
    padding-top: calc(59px + -15 * var(--fluid));
  }

  .site-footer__logo {
    height: calc(74px + 12 * var(--fluid));
    width: calc(206px + 33 * var(--fluid));
  }

  .site-footer__nav {
    row-gap: calc(71px + 29 * var(--fluid));
    -moz-column-gap: calc(71px + 29 * var(--fluid));
         column-gap: calc(71px + 29 * var(--fluid));
  }

  .site-footer__heads a {
    font-size: calc(14px + 2 * var(--fluid));
    line-height: calc(16.8px + 2.4 * var(--fluid));
  }

  .site-footer__offices {
    font-size: calc(8px + 2 * var(--fluid));
  }

  .site-footer__contacts {
    font-size: calc(9px + 1 * var(--fluid));
  }

  .site-footer__contacts a {
    font-size: calc(9px + 1 * var(--fluid));
  }

  .site-footer__social {
    row-gap: calc(12px + 8 * var(--fluid));
    -moz-column-gap: calc(12px + 8 * var(--fluid));
         column-gap: calc(12px + 8 * var(--fluid));
  }

  .site-footer__yt {
    height: calc(25px + 16 * var(--fluid));
    width: calc(19px + 12 * var(--fluid));
  }

  .site-footer__li {
    height: calc(13px + 8 * var(--fluid));
    width: calc(14px + 9 * var(--fluid));
  }

  .site-footer__license {
    font-size: calc(8px + 2 * var(--fluid));
    line-height: calc(8px + 2 * var(--fluid));
  }

  .site-footer__copy {
    font-size: calc(8px + 2 * var(--fluid));
    line-height: calc(8px + 2 * var(--fluid));
  }

  .site-footer__about {
    font-size: calc(12px + 2 * var(--fluid));
    letter-spacing: calc(0.6px + 0.1 * var(--fluid));
  }

  .pyj {
    width: calc(109px + 49 * var(--fluid));
    height: calc(51px + 23 * var(--fluid));
  }

  .pyj__label {
    font-size: calc(10px + 4.516 * var(--fluid));
    letter-spacing: calc(0.48px + 0.217 * var(--fluid));
  }

  .pyj__icon {
    width: calc(23px + 10.391 * var(--fluid));
    height: calc(23px + 10.391 * var(--fluid));
  }

  .pyj__inner {
    padding-left: calc(10px + 4.5 * var(--fluid));
    padding-right: calc(6px + 2.7 * var(--fluid));
    -moz-column-gap: calc(4px + 1.8 * var(--fluid));
         column-gap: calc(4px + 1.8 * var(--fluid));
  }
}

/* Шапка fixed; отступ main = y первого блока в макете (375: интро 76; 992: крошки 76; 1920: крошки 95.75). */

.has-solid-header main.tours-page,
  .has-solid-header main.experience,
  .has-solid-header main.page-copy,
  .has-solid-header main.services-page,
  .has-solid-header main.for-agents,
  .has-solid-header main.blog-page,
  .has-solid-header main.article-page {
  padding-top: 76px;
}

@media (min-width: 1920px) {
  .has-solid-header main.tours-page,
  .has-solid-header main.experience,
  .has-solid-header main.page-copy,
  .has-solid-header main.services-page,
  .has-solid-header main.for-agents,
  .has-solid-header main.blog-page,
  .has-solid-header main.article-page {
    padding-top: 95.75px;
  }
}

/* Крошки, интро и счётчик — не шире 1548 (решение), сетка — во всю ширину. */

.crumbs,
  .tours-page__count-row {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 1548px;
}

.crumbs {
  display: none;
}

@media (min-width: 768px) {
  .crumbs {
    margin-bottom: 1rem;
    display: block;
    padding-left: 31px;
  }
}

@media (min-width: 1920px) {
  .crumbs {
    margin-bottom: 51.45px;
    padding-left: 0px;
  }
}

.crumbs__list {
  margin: 0px;
  display: flex;
  list-style-type: none;
  flex-wrap: wrap;
  padding: 0px;
  font-family: Manrope, sans-serif;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.56;
  letter-spacing: 0.6px;
  --tw-text-opacity: 1;
  color: rgb(146 146 146 / var(--tw-text-opacity, 1));
}

@media (min-width: 1920px) {
  .crumbs__list {
    font-size: 14.516px;
    letter-spacing: 0.871px;
  }
}

.crumbs__list li + li::before {
  content: "\3000>\3000";
}

.crumbs__list a {
  color: inherit;
  text-decoration: none;
  transition: color 250ms ease-out;
}

.crumbs__list a:hover {
  --tw-text-opacity: 1;
  color: rgb(12 12 12 / var(--tw-text-opacity, 1));
}

/* Интро — поток без подгонок: между блоками фиксированные отступы из Figma (375 / 992 / 1920).
     Заголовок обрезан до cap-height…baseline (text-box-trim), как текстовый бокс в Figma,
     поэтому отступы mark→title и title→lead — реальные расстояния до глифов.
     mark→title 16/20/29 · title→lead 16/24/35.6 · lead→search 22/27/39.19 · search→tabs 18/27/39.19. */

.tours-page__intro,
  .tours-page__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
}

.tours-page__head {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 768px) {
  .tours-page__head {
    padding-left: 0px;
    padding-right: 0px;
  }
}

.tours-page__head .tours__mark {
  width: 37px;
  height: 37px;
}

@media (min-width: 768px) {
  .tours-page__head .tours__mark {
    width: 58px;
    height: 58px;
  }
}

@media (min-width: 1920px) {
  .tours-page__head .tours__mark {
    width: 84px;
    height: 84px;
  }
}

.tours-page__head .tours__title {
  margin-bottom: 0px;
  margin-top: 1rem;
}

@media (min-width: 768px) {
  .tours-page__head .tours__title {
    margin-top: 1.25rem;
  }
}

@media (min-width: 1920px) {
  .tours-page__head .tours__title {
    margin-top: 29px;
  }
}

.tours-page__head .tours__title {
  text-box: trim-both cap alphabetic;
}

.tours-page__head .tours__lead {
  margin-bottom: 0px;
  margin-top: 1rem;
  line-height: 1.25;
}

@media (min-width: 768px) {
  .tours-page__head .tours__lead {
    margin-top: 1.5rem;
  }
}

@media (min-width: 1920px) {
  .tours-page__head .tours__lead {
    margin-top: 35.6px;
  }
}

.tours-search-row {
  margin-top: 22px;
}

@media (min-width: 768px) {
  .tours-search-row {
    margin-top: 27px;
  }
}

@media (min-width: 1920px) {
  .tours-search-row {
    margin-top: 39.19px;
  }
}

.tours-page__tabs {
  margin-top: 18px;
}

@media (min-width: 768px) {
  .tours-page__tabs {
    margin-top: 27px;
  }
}

@media (min-width: 1920px) {
  .tours-page__tabs {
    margin-top: 39.19px;
  }
}

@media (max-width: 767px) {
  .tours-page__head .tours__lead {
    max-width: 269px;
    font-size: 12px;
    font-weight: 500;
  }

  /* Figma 375: ряд табов с x 60. */

  .tours-page__tabs {
    padding-left: 60px;
    scroll-padding-inline-start: 60px;
  }
}

.tours-search-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.tours-search {
  margin: 0px;
  display: flex;
  align-items: stretch;
}

.tours-search__input {
  margin: 0px;
  height: 17.82px;
  width: 179px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border-radius: 1px;
  border-width: 1px;
  border-style: solid;
  --tw-border-opacity: 1;
  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  padding-top: 0px;
  padding-bottom: 0px;
  padding-left: 6px;
  padding-right: 0.25rem;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  outline: 2px solid transparent;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .tours-search__input {
    height: 18.59px;
    width: 346.74px;
    padding-left: 9.55px;
    font-size: 9px;
    font-weight: 400;
  }
}

@media (min-width: 1920px) {
  .tours-search__input {
    height: 26.99px;
    width: 503.34px;
    border-radius: 1.459px;
    border-width: 1.459px;
    padding-left: 13.86px;
    font-size: 13.065px;
  }
}

.tours-search__input {
  letter-spacing: 0.24px;
}

.tours-search__input::-moz-placeholder {
  color: #121212;
  opacity: 0.25;
  text-transform: none;
}

.tours-search__input::placeholder {
  color: #121212;
  opacity: 0.25;
  text-transform: none;
}

.tours-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.tours-search__input:focus-visible {
  outline: 1px solid #121212;
  outline-offset: 2px;
}

.tours-search__btn {
  margin-left: -1px;
  display: grid;
  height: 17.82px;
  width: 20.23px;
  flex-shrink: 0;
  cursor: pointer;
  place-items: center;
  border-radius: 1px;
  border-width: 0px;
  --tw-bg-opacity: 1;
  background-color: rgb(18 18 18 / var(--tw-bg-opacity, 1));
  padding: 0px;
}

@media (min-width: 768px) {
  .tours-search__btn {
    height: 18.59px;
    width: 21.1px;
  }
}

@media (min-width: 1920px) {
  .tours-search__btn {
    margin-left: -1.46px;
    height: 26.99px;
    width: 30.64px;
    border-radius: 1.459px;
  }
}

.tours-search__btn {
  transition: background-color 250ms ease-out;
}

.tours-search__btn:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(77 77 77 / var(--tw-bg-opacity, 1));
}

.tours-search__btn img {
  display: block;
  height: 9.55px;
  width: 9.17px;
}

@media (min-width: 1920px) {
  .tours-search__btn img {
    height: 13.86px;
    width: 13.31px;
  }
}

/* View all — после счётчика; только когда список урезан (375 / is-more). */

.tours-page__count-row {
  margin-top: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-left: 17px;
}

@media (min-width: 768px) {
  .tours-page__count-row {
    margin-top: 41px;
    padding-left: 23px;
  }
}

@media (min-width: 1920px) {
  .tours-page__count-row {
    margin-top: 41.15px;
    padding-left: 0px;
  }
}

.tours-page__all {
  flex-shrink: 0;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  text-decoration-line: underline;
  text-underline-offset: 2px;
}

@media (min-width: 768px) {
  .tours-page__all {
    display: none;
  }
}

@media (min-width: 1920px) {
  .tours-page__all {
    font-size: 17.419px;
  }
}

.tours-page__all {
  transition: color 250ms ease-out;
}

.tours-page__all:hover {
  --tw-text-opacity: 1;
  color: rgb(12 12 12 / var(--tw-text-opacity, 1));
}

.tours-page__all[hidden] {
  display: none;
}

@media (min-width: 1920px) {
  .tours-page__tabs {
    gap: 36px;
  }
}

/* Выбранный таб — без подчёркивания (остальные с ним). */

.tours__tab[aria-current='page']::after {
  content: none;
}

.tours-page__tabs .tours__tab {
  font-size: 12px;
}

@media (min-width: 1920px) {
  .tours-page__tabs .tours__tab {
    padding-bottom: 8.55px;
    font-size: 17.419px;
  }
}

.tours-page__count {
  margin-bottom: 0px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.366;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .tours-page__count {
    font-size: 10px;
    text-transform: uppercase;
  }
}

@media (min-width: 1920px) {
  .tours-page__count {
    font-size: 17.419px;
  }
}

/* Мозаика: 375 — 2 колонки, большая плитка во всю ширину; md+ — 4 колонки, большая 2×2. */

.tours-mosaic {
  margin-top: 6px;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
}

@media (min-width: 768px) {
  .tours-mosaic {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    -moz-column-gap: 1px;
         column-gap: 1px;
    row-gap: 2px;
  }
}

@media (min-width: 1920px) {
  .tours-mosaic {
    margin-top: 15.62px;
    -moz-column-gap: 1.94px;
         column-gap: 1.94px;
    row-gap: 3.87px;
  }
}

.tours-mosaic {
  grid-auto-flow: row dense;
  container-type: inline-size;
}

.tours-mosaic > .card-tour {
  aspect-ratio: 191.244/234.58;
  width: auto;
  min-width: 0px;
}

@media (min-width: 992px) {
  .tours-mosaic > .card-tour {
    aspect-ratio: 247.25/304.48;
  }
}

.tours-mosaic > .card-tour--big {
  grid-column: span 2 / span 2;
  aspect-ratio: 384/485;
}

@media (min-width: 768px) {
  .tours-mosaic > .card-tour--big {
    grid-row: span 2 / span 2;
    aspect-ratio: auto;
  }

  .tours-mosaic > .card-tour--big-right {
    grid-column: 3 / span 2;
  }

  /* overflow: hidden обнуляет вклад контента в высоту ряда. Без min-height строка из одних крупных плиток схлопывается. */

  .tours-mosaic > .card-tour--big {
    min-height: calc((100cqw - 1px) / 2 * 234.58 / 191.244);
  }
}

@media (max-width: 767px) {
  .tours-mosaic > .card-tour.is-more {
    display: none;
  }
}

.tours-page__more {
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

@media (min-width: 768px) {
  .tours-page__more {
    display: none;
  }
}

@media (min-width: 992px) and (max-width: 1919.98px) {
  .has-solid-header main.tours-page,
    .has-solid-header main.experience,
    .has-solid-header main.page-copy,
    .has-solid-header main.services-page,
    .has-solid-header main.for-agents,
    .has-solid-header main.blog-page,
    .has-solid-header main.article-page {
    padding-top: calc(76px + 19.75 * var(--fluid));
  }

  .crumbs {
    margin-bottom: calc(16px + 35.45 * var(--fluid));
    padding-left: calc(31px - 31 * var(--fluid));
  }

  .crumbs__list {
    font-size: calc(10px + 4.516 * var(--fluid));
    letter-spacing: calc(0.6px + 0.271 * var(--fluid));
  }

  .tours-page__head .tours__title {
    margin-top: calc(20px + 9 * var(--fluid));
  }

  .tours-page__head .tours__lead {
    margin-top: calc(24px + 11.6 * var(--fluid));
  }

  .tours-search-row,
    .tours-page__tabs {
    margin-top: calc(27px + 12.19 * var(--fluid));
  }

  .tours-page__head .tours__mark {
    width: calc(58px + 26.194 * var(--fluid));
    height: calc(58px + 26.194 * var(--fluid));
  }

  .tours-search__input {
    height: calc(18.59px + 8.4 * var(--fluid));
    width: calc(346.74px + 156.6 * var(--fluid));
    padding-left: calc(9.55px + 4.31 * var(--fluid));
    font-size: calc(9px + 4.065 * var(--fluid));
    border-width: calc(1px + 0.459 * var(--fluid));
  }

  .tours-search__btn {
    height: calc(18.59px + 8.4 * var(--fluid));
    width: calc(21.1px + 9.54 * var(--fluid));
  }

  .tours-search__btn img {
    width: calc(9.17px + 4.14 * var(--fluid));
    height: calc(9.55px + 4.31 * var(--fluid));
  }

  .tours-page__tabs {
    -moz-column-gap: calc(24px + 12 * var(--fluid));
         column-gap: calc(24px + 12 * var(--fluid));
  }

  .tours-page__tabs .tours__tab {
    font-size: calc(12px + 5.419 * var(--fluid));
    padding-bottom: calc(6px + 2.55 * var(--fluid));
  }

  .tours-page__count-row {
    margin-top: calc(41px + 0.15 * var(--fluid));
    padding-left: calc(23px - 23 * var(--fluid));
  }

  .tours-page__count {
    font-size: calc(10px + 7.419 * var(--fluid));
  }

  .tours-mosaic {
    margin-top: calc(6px + 9.62 * var(--fluid));
    -moz-column-gap: calc(1px + 0.94 * var(--fluid));
         column-gap: calc(1px + 0.94 * var(--fluid));
    row-gap: calc(2px + 1.87 * var(--fluid));
  }

  .tours-mosaic > .card-tour--big {
    min-height: calc((100cqw - (1px + 0.94 * var(--fluid))) / 2 * 304.48 / 247.25);
  }
}

@media (min-width: 1920px) {
  .tours-mosaic > .card-tour--big {
    min-height: calc((100cqw - 1.94px) / 2 * 304.48 / 247.25);
  }
}

/* Плитки вместо табов: равные квадраты, подпись снизу. 375 — h-scroll. */

.cat-tiles {
  margin-top: 18px;
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 3px;
  padding-left: 30px;
  padding-right: 30px;
}

@media (min-width: 768px) {
  .cat-tiles {
    margin-top: 27px;
    justify-content: center;
    gap: 0.25rem;
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (min-width: 1920px) {
  .cat-tiles {
    margin-top: 39.19px;
    gap: 5.8px;
  }
}

.cat-tiles__item {
  display: flex;
  width: 122px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}

@media (min-width: 768px) {
  .cat-tiles__item {
    width: 126px;
    gap: 11px;
  }
}

@media (min-width: 992px) {
  .cat-tiles__item {
    width: 162px;
  }
}

@media (min-width: 1920px) {
  .cat-tiles__item {
    width: 229.315px;
    gap: 26.6px;
  }
}

.cat-tiles__item {
  transition: opacity 250ms ease-out;
}

.cat-tiles__item:hover {
  opacity: 0.85;
}

.cat-tiles__item:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.cat-tiles__photo {
  display: block;
  aspect-ratio: 1 / 1;
  width: 122px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cat-tiles__photo {
    width: 126px;
  }
}

@media (min-width: 992px) {
  .cat-tiles__photo {
    width: 162px;
  }
}

@media (min-width: 1920px) {
  .cat-tiles__photo {
    width: 229.315px;
  }
}

.cat-tiles__photo img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  -o-object-fit: cover;
     object-fit: cover;
}

.cat-tiles__label {
  /* Кегль чуть меньше макета, чтобы «BUDDHISM & SHINTOISM» влезала в 1 строку на равных квадратах. */
  width: 100%;
  padding-left: 0.125rem;
  padding-right: 0.125rem;
  text-align: center;
  font-family: Manrope, sans-serif;
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -0.01em;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .cat-tiles__label {
    font-size: 10px;
  }
}

@media (min-width: 992px) {
  .cat-tiles__label {
    font-size: 12.5px;
  }
}

@media (min-width: 1920px) {
  .cat-tiles__label {
    font-size: 16.5px;
  }
}

.cat-tiles__label {
  white-space: nowrap;
}

/* Текущая категория (?cat=): цветом accent, без подчёркивания (как решил пользователь). */

.cat-tiles__item[aria-current='page'] .cat-tiles__label {
  --tw-text-opacity: 1;
  color: rgb(200 16 46 / var(--tw-text-opacity, 1));
}

/* После плиток до счётчика больше, чем после текстовых табов (Figma: ~100 @1920, ~51 @375). */

.experiences-page .tours-page__count-row {
  margin-top: 51px;
}

@media (min-width: 768px) {
  .experiences-page .tours-page__count-row {
    margin-top: 60px;
  }
}

@media (min-width: 1920px) {
  .experiences-page .tours-page__count-row {
    margin-top: 100px;
  }
}

/* Лид — обычный регистр на всех ширинах (решение пользователя). */

.experiences-page .tours__lead {
  text-transform: none;
}

@media (max-width: 767px) {
  .cat-tiles {
    scroll-padding-inline-start: 30px;
  }
}

@media (min-width: 992px) and (max-width: 1919.98px) {
  .cat-tiles {
    margin-top: calc(27px + 12.19 * var(--fluid));
    -moz-column-gap: calc(4px + 1.8 * var(--fluid));
         column-gap: calc(4px + 1.8 * var(--fluid));
  }

  .cat-tiles__item {
    row-gap: calc(11px + 15.6 * var(--fluid));
  }

  .cat-tiles__item,
    .cat-tiles__photo {
    width: calc(162px + 67.315 * var(--fluid));
  }

  .cat-tiles__label {
    font-size: calc(12.5px + 4 * var(--fluid));
  }

  .experiences-page .tours-page__count-row {
    margin-top: calc(70px + 30 * var(--fluid));
  }
}

.tour {
  --f: 0px;
}

@media (min-width: 992px) {
  .tour {
    --f: var(--fluid, 1px);
  }
}

/* --- Hero --- */

.tour-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  min-height: 393px;
  padding: 70px 30px 51px;
  color: #fff;
  text-align: center;
}

.tour-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Затемнение снизу (Figma Rectangle 142): только для тёмного фото. */

.tour-hero--dark::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 200px;
  opacity: 0.7;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #121212 86.538%);
}

/* Светлый верх фото (LightPicture=1): крошки тёмные. Шапка — site-header--ink, без белого фона.
     Сверху холодная серая вуаль (не белая плашка): шапка и крошки. Белый текст — тень
     и мягкое пятно, снег светлее самих букв. */

.tour-hero--light::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(
      to bottom,
      rgba(236, 238, 241, 0.92) 0px,
      rgba(236, 238, 241, 0.72) 42px,
      rgba(236, 238, 241, 0.2) 82px,
      rgba(236, 238, 241, 0) 120px
    );
}

.tour-hero--light .tour-hero__body {
  position: relative;
  z-index: 1;
  text-shadow:
      0 0 1px rgba(0, 0, 0, 0.7),
      0 1px 2px rgba(0, 0, 0, 0.62),
      0 8px 22px rgba(0, 0, 0, 0.42);
}

.tour-hero--light .tour-hero__body::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 40%;
  z-index: -1;
  width: min(860px, 150%);
  height: 155%;
  pointer-events: none;
  background: radial-gradient(
      ellipse at center,
      rgba(12, 14, 16, 0.46) 0%,
      rgba(12, 14, 16, 0.2) 46%,
      rgba(12, 14, 16, 0) 70%
    );
  transform: translate(-50%, -50%);
}

/* Обычное фото: тёмная вуаль под белой шапкой. Крошки белые. Не на LightPicture. */

.tour-hero--dark:not(.tour-hero--light)::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: -1;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(
      to bottom,
      rgba(14, 16, 18, 0.78) 0px,
      rgba(14, 16, 18, 0.5) 42px,
      rgba(14, 16, 18, 0.16) 82px,
      rgba(14, 16, 18, 0) 120px
    );
}

.tour-hero--dark:not(.tour-hero--light) .crumbs__list,
  .tour-hero--dark:not(.tour-hero--light) .crumbs__list a {
  color: #fff;
}

.tour-hero--dark:not(.tour-hero--light) .crumbs__list a:hover {
  color: rgba(255, 255, 255, 0.72);
}

@media (min-width: 768px) {
  .tour-hero--light::before {
    height: 188px;
    background: linear-gradient(
        to bottom,
        rgba(236, 238, 241, 0.92) 0px,
        rgba(236, 238, 241, 0.86) 72px,
        rgba(236, 238, 241, 0.48) 124px,
        rgba(236, 238, 241, 0) 188px
      );
  }

  .tour-hero--dark:not(.tour-hero--light)::before {
    height: 188px;
    background: linear-gradient(
        to bottom,
        rgba(14, 16, 18, 0.78) 0px,
        rgba(14, 16, 18, 0.58) 72px,
        rgba(14, 16, 18, 0.22) 128px,
        rgba(14, 16, 18, 0) 188px
      );
  }
}

.crumbs--on-light .crumbs__list,
  .crumbs--on-light .crumbs__list a {
  color: #121212;
}

.crumbs--on-light .crumbs__list a:hover {
  color: #0c0c0c;
}

.tour-hero__crumbs.crumbs {
  position: absolute;
  top: 87px;
  left: 31px;
  right: 31px;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.tour-hero__body {
  width: 100%;
  max-width: 1548px;
}

.tour-hero__body > * {
  margin: 0;
}

.tour-hero__area {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.tour-hero__title {
  margin-top: 7px !important;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
  max-width: 269px;
  margin-inline: auto !important;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.tour-hero__lead {
  max-width: 269px;
  margin: 13px auto 0 !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.72px;
  text-transform: uppercase;
}

.tour-hero__meta {
  margin-top: 23px !important;
  font-size: 12px;
  font-weight: 500;
}

.tour-hero__days {
  margin-left: 0.5em;
}

.tour-hero__route {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
}

/* --- Контент --- */

.tour__inner {
  width: calc(100% - 60px);
  max-width: 1548px;
  margin: 0 auto;
}

.tour__intro {
  max-width: 315px;
  margin: 30px auto 0;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.tour__rule {
  margin: 30px 0;
  border: 0;
  border-top: 1px solid #121212;
}

.tour-day {
  display: flow-root;
  max-width: 318px;
  margin: 0 auto;
  color: #121212;
}

.tour-day__img {
  float: left;
  display: block;
  width: 191px;
  height: auto;
  aspect-ratio: 191 / 242;
  margin: 0 16px 12px 0;
  -o-object-fit: cover;
     object-fit: cover;
}

.tour-day__title {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.65em;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.tour-day__schedule {
  display: grid;
  gap: 8px;
  margin: 15px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  font-weight: 700;
  line-height: normal;
}

.tour-day__time {
  margin-right: 1em;
}

.tour-day__text {
  margin-top: 40px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  overflow-wrap: break-word;
}

.tour-day__text > :first-child {
  margin-top: 0;
}

.tour-day__text > :last-child {
  margin-bottom: 0;
}

.tour-day__text p,
  .tour-day__text ul,
  .tour-day__text ol {
  margin: 1.3em 0;
}

.tour-day__text strong,
  .tour-day__text b {
  font-weight: 700;
}

.tour-route {
  text-align: center;
}

.tour-route__title {
  margin: 0;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: -0.01em;
}

.tour-route__map-wrap {
  position: relative;
  width: 285px;
  max-width: 100%;
  aspect-ratio: 920 / 514;
  margin: 15px auto 0;
  border: 1px solid #d9d9d9;
}

.tour-route__map-wrap > .tour-route__map,
  .tour-route__map-wrap > .tour-route__map-live {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tour-route__map {
  z-index: 1;
  -o-object-fit: cover;
     object-fit: cover;
}

.tour-route__map-live.is-pending {
  visibility: hidden;
}

.tour-route__pin {
  box-sizing: border-box;
  width: 14px;
  height: 14px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #5f5f5f;
  cursor: pointer;
}

/* --- Форма INQUIRE (partials/inquiry.php, js/inquiry.js) --- */

.inquiry {
  --gap: 15px;
  max-width: 315px;
  margin: 0 auto;
  padding-bottom: 40px;
  color: #121212;
}

.inquiry__head {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  text-align: center;
}

.inquiry__title {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  line-height: normal;
  text-transform: uppercase;
}

.inquiry__sub,
  .inquiry__note,
  .inquiry__check {
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.01em;
}

.inquiry__sub {
  max-width: 290px;
  margin: 0;
}

.inquiry__form {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin-top: var(--gap);
}

.inquiry__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.inquiry__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px 5px;
}

.inquiry__field--full {
  grid-column: 1 / -1;
}

.inquiry__input {
  display: block;
  width: 100%;
  height: 20px;
  padding: 0 9.7px;
  border: 0.75px solid #121212;
  border-radius: 1px;
  background: #fff;
  color: #121212;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.6px;
}

.inquiry__input::-moz-placeholder {
  color: #929292;
  opacity: 1;
}

.inquiry__input::placeholder {
  color: #929292;
  opacity: 1;
}

.inquiry__input:focus-visible {
  outline: 1px solid #121212;
  outline-offset: 0;
}

.inquiry__input[aria-invalid] {
  border-color: #c62828;
}

.inquiry__textarea {
  height: 67px;
  padding-top: 2px;
  padding-bottom: 2px;
  resize: vertical;
}

.inquiry__check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
}

.inquiry__field--check {
  text-align: center;
}

.inquiry__check input {
  flex: none;
  width: 12px;
  height: 12px;
  margin: 0;
  accent-color: #121212;
}

.inquiry__check a {
  color: inherit;
  text-decoration: underline;
}

.inquiry__error {
  margin: 4px 0 0;
  color: #c62828;
  font-size: 11px;
  line-height: 1.2;
  text-align: left;
}

.inquiry__field--check .inquiry__error {
  text-align: center;
}

.inquiry__error:empty,
  .inquiry__status:empty {
  display: none;
}

.inquiry__btn {
  align-self: center;
  width: 203px;
  max-width: 100%;
  height: 28px;
  border: 0.4px solid #fff;
  border-radius: 999px;
  background: #252525;
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 250ms ease-out, opacity 250ms ease-out;
}

.inquiry__btn:hover {
  background: #4d4d4d;
}

.inquiry__btn:disabled {
  opacity: 0.5;
  cursor: progress;
}

.inquiry__status {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}

.inquiry__status.is-ok {
  color: #1b7f3b;
}

.inquiry__status.is-error {
  color: #c62828;
}

.inquiry__note {
  margin: 0;
  text-align: center;
}

/* --- 768 --- */

@media (min-width: 768px) {
  .tour-hero {
    min-height: 420px;
    padding: 115px 31px 76px;
  }

  .tour-hero__area {
    font-size: 16.12px;
  }

  .tour-hero__title {
    margin-top: 9px !important;
    font-size: 31px;
  }

  .tour-hero__title,
    .tour-hero__lead {
    max-width: 334px;
  }

  .tour-hero__lead {
    margin-top: 16px !important;
    font-size: 14.88px;
    letter-spacing: 0.893px;
  }

  .tour-hero__meta {
    margin-top: 27.6px !important;
  }

  .tour-hero__meta,
    .tour-hero__route {
    font-size: 14.88px;
  }

  .tour__inner {
    width: 612px;
  }

  .tour__intro {
    max-width: 591px;
    margin-top: 52px;
  }

  .tour__rule {
    margin: 55px 0;
  }

  .tour-day {
    max-width: 513px;
  }

  .tour-day__img {
    float: left;
    width: 217px;
    aspect-ratio: 443 / 552;
    margin: 0 50px 44px 0;
  }

  .tour-day__title {
    font-size: 20px;
  }

  .tour-day__schedule {
    gap: 10px;
    margin-top: 10px;
    font-size: 15px;
  }

  .tour-day__text {
    margin-top: 24px;
  }

  .tour-route__title {
    font-size: 20px;
    letter-spacing: 0;
  }

  .tour-route__map-wrap {
    width: 487px;
    margin-top: 28px;
  }

  .inquiry {
    --gap: 23px;
    max-width: 612px;
    padding-bottom: 62px;
  }

  .inquiry__head {
    gap: 5px;
  }

  .inquiry__title {
    font-size: 35px;
  }

  .inquiry__sub {
    max-width: 359px;
  }

  .inquiry__grid {
    gap: 13px 15px;
  }

  .inquiry__input {
    height: 34px;
    padding: 0 15px;
    border-width: 1px;
    border-radius: 1.9px;
  }

  .inquiry__textarea {
    height: 115px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .inquiry__check input {
    width: 15px;
    height: 15px;
  }

  .inquiry__btn {
    width: 378px;
    height: 52.3px;
    border-width: 0.73px;
    font-size: 16.76px;
  }
}

/* --- 992 → 1920 (плавно) --- */

@media (min-width: 992px) {
  .tour-hero {
    min-height: calc(545px + 509.8 * var(--f));
    padding: calc(115px + 51 * var(--f)) calc(31px + 4 * var(--f)) calc(85px + 135 * var(--f));
  }

  .tour-hero--dark::after {
    height: calc(259px + 242.3 * var(--f));
  }

  .tour-hero__crumbs.crumbs {
    top: calc(76px + 20 * var(--f));
    left: calc(31px + 4 * var(--f));
    right: calc(31px + 4 * var(--f));
  }

  .tour-hero__area {
    font-size: calc(16.12px + 7.28 * var(--f));
  }

  .tour-hero__title {
    margin-top: calc(9px + 3 * var(--f)) !important;
    font-size: calc(31px + 14 * var(--f));
  }

  .tour-hero__title,
    .tour-hero__lead {
    max-width: calc(334px + 150 * var(--f));
  }

  .tour-hero__lead {
    margin-top: calc(16px + 7 * var(--f)) !important;
    font-size: calc(14.88px + 6.72 * var(--f));
    letter-spacing: calc(0.893px + 0.403 * var(--f));
  }

  .tour-hero__meta {
    margin-top: calc(27.6px + 14.4 * var(--f)) !important;
  }

  .tour-hero__meta,
    .tour-hero__route {
    font-size: calc(14.88px + 6.72 * var(--f));
  }

  .tour__inner {
    width: calc(100% - 192px);
  }

  .tour__intro {
    max-width: calc(591px + 267 * var(--f));
    margin-top: calc(52px + 60 * var(--f));
    font-size: calc(12px + 5.42 * var(--f));
  }

  .tour__rule {
    margin: calc(55px + 75 * var(--f)) 0;
    border-top-width: calc(1px + 0.935 * var(--f));
  }

  .tour-day {
    max-width: calc(554px + 336 * var(--f));
  }

  .tour-day__img {
    width: calc(228px + 215 * var(--f));
    margin: 0 calc(86px + 20 * var(--f)) calc(37px + 63 * var(--f)) 0;
  }

  .tour-day__title {
    font-size: calc(20px + 9.03 * var(--f));
  }

  .tour-day__schedule {
    gap: calc(10px + 4.5 * var(--f));
    margin-top: calc(10px + 4.5 * var(--f));
    font-size: calc(15px + 6.77 * var(--f));
  }

  .tour-day__text {
    margin-top: calc(24px + 12 * var(--f));
    font-size: calc(12px + 5.42 * var(--f));
  }

  .tour-route__title {
    font-size: calc(20px + 9.03 * var(--f));
  }

  .tour-route__map-wrap {
    width: calc(634px + 286 * var(--f));
    margin-top: calc(28px + 12.6 * var(--f));
    border-width: calc(1px + 0.452 * var(--f));
  }

  .inquiry {
    --gap: calc(23px + 10.4 * var(--f));
    max-width: calc(636px + 287 * var(--f));
    padding-bottom: calc(62px + 68 * var(--f));
  }

  .inquiry__head {
    gap: calc(5px + 2.26 * var(--f));
  }

  .inquiry__title {
    font-size: calc(35px + 15.8 * var(--f));
  }

  .inquiry__sub,
    .inquiry__note,
    .inquiry__check {
    font-size: calc(12px + 5.42 * var(--f));
  }

  .inquiry__sub {
    max-width: calc(359px + 162 * var(--f));
  }

  .inquiry__grid {
    gap: calc(13px + 5.9 * var(--f)) calc(15px + 6.8 * var(--f));
  }

  .inquiry__input {
    height: calc(34px + 15.4 * var(--f));
    padding: 0 calc(15px + 6.8 * var(--f));
    border-width: calc(1px + 0.452 * var(--f));
    border-radius: calc(1.9px + 0.86 * var(--f));
    font-size: calc(12px + 5.42 * var(--f));
    letter-spacing: calc(0.6px + 0.271 * var(--f));
  }

  .inquiry__textarea {
    height: calc(115px + 80.5 * var(--f));
    padding-top: calc(10px + 4.5 * var(--f));
    padding-bottom: calc(10px + 4.5 * var(--f));
  }

  .inquiry__check {
    gap: calc(9px + 4 * var(--f));
  }

  .inquiry__check input {
    width: calc(15px + 6.6 * var(--f));
    height: calc(15px + 6.6 * var(--f));
  }

  .inquiry__btn {
    width: calc(378px + 170.5 * var(--f));
    height: calc(52.3px + 23.6 * var(--f));
    border-width: calc(0.73px + 0.27 * var(--f));
    font-size: calc(16.76px + 7.57 * var(--f));
  }
}

@media (min-width: 1920px) {
  .tour {
    --f: 1px;
  }
}

.page-copy {
  --f: 0px;
  color: #121212;
  padding-bottom: 74px;
}

@media (max-width: 767px) {
  .page-copy .tours-page__head {
    margin-bottom: 30px;
  }
}

@media (min-width: 768px) {
  .page-copy {
    padding-bottom: 75px;
  }
}

@media (min-width: 992px) {
  .page-copy {
    --f: var(--fluid, 1px);
    padding-bottom: calc(80px + 54 * var(--f));
  }
}

@media (min-width: 1920px) {
  .page-copy {
    --f: 1px;
  }
}

/* Лид не шире колонки блоков: общий tours__lead с 768px до 900px. */

.page-copy .tours-page__head .tours__lead {
  width: min(281px, calc(100% - 94px));
  max-width: 281px;
}

@media (min-width: 768px) {
  .page-copy .tours-page__head .tours__lead {
    width: calc(100% - 62px);
    max-width: 651px;
  }
}

@media (min-width: 992px) {
  .page-copy .tours-page__head .tours__lead {
    max-width: calc(815px + 762.4 * var(--f));
  }
}

:root {
  --lh-body: 1.3;
}

.intro__lead,
  .tours__lead,
  .experiences__lead,
  .services__lead,
  .agents__lead,
  .tour-hero__lead,
  .tours-page__head .tours__lead,
  .tour__intro,
  .tour-day__text,
  .experience__text,
  .content_text,
  .service__text {
  line-height: var(--lh-body);
}

/* ===== services.php (Figma 1920 8558:55919 · 992 7976:10365 · 768 8295:5699 · 375 8440:37139) ===== */

.services-page {
  --f: 0px;
  padding-bottom: 50px;
}

@media (min-width: 768px) {
  .services-page {
    padding-bottom: 60px;
  }
}

.services-page__tabs {
  margin-top: 18px;
}

@media (min-width: 768px) {
  .services-page__tabs {
    margin-top: 27px;
  }
}

@media (min-width: 1920px) {
  .services-page__tabs {
    margin-top: 39.19px;
  }
}

.services-page__tabs {
  scroll-padding-inline-start: 19px;
}

/* Колонка: 375 → 309 (поля 33), 768 → 610, 992 → 830, 1920 → 1606.5. Текст = ширине фото. */

.services-page__list {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1.5rem;
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 42px;
  padding-left: 33px;
  padding-right: 33px;
}

@media (min-width: 768px) {
  .services-page__list {
    margin-top: 43px;
    max-width: 610px;
    gap: 40px;
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (min-width: 992px) {
  .services-page__list {
    max-width: 830px;
  }
}

@media (min-width: 1920px) {
  .services-page__list {
    margin-top: 100px;
    max-width: 1606.5px;
    gap: 127px;
  }
}

.service {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  scroll-margin-top: 90px;
}

.service__img {
  display: block;
  height: auto;
  width: 100%;
}

.service__title {
  margin: 0px;
  margin-top: 0.75rem;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.2;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .service__title {
    margin-top: 30px;
    font-size: 24px;
  }
}

@media (min-width: 1920px) {
  .service__title {
    margin-top: 90px;
    font-size: 34.839px;
  }
}

.service__text {
  margin-top: 0.75rem;
  width: 100%;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  line-height: normal;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .service__text {
    margin-top: 1.25rem;
    font-size: 16px;
    line-height: normal;
  }
}

@media (min-width: 1920px) {
  .service__text {
    margin-top: 29px;
    font-size: 23.226px;
  }
}

.service__text > * {
  margin: 0;
}

.service__text > * + * {
  margin-top: 1.3em;
}

@media (prefers-reduced-motion: no-preference) {
  html:has(main.services-page),
    html:has(.services-page__tabs) {
    scroll-behavior: smooth;
  }
}

@media (min-width: 992px) {
  .services-page {
    --f: var(--fluid, 1px);
    padding-bottom: calc(60px + 90 * var(--f));
  }

  .service {
    scroll-margin-top: calc(96px + 39.75 * var(--f));
  }

  .services-page__tabs {
    margin-top: calc(27px + 12.19 * var(--f));
  }

  .services-page__list {
    max-width: calc(830px + 776.5 * var(--f));
    margin-top: calc(43px + 57 * var(--f));
    gap: calc(39px + 88 * var(--f));
  }

  .service__title {
    margin-top: calc(30px + 60 * var(--f));
    font-size: calc(24px + 10.839 * var(--f));
  }

  .service__text {
    margin-top: calc(20px + 9 * var(--f));
    font-size: calc(16px + 7.226 * var(--f));
    letter-spacing: calc(1.3935 * var(--f));
  }
}

@media (min-width: 1920px) {
  .services-page {
    --f: 1px;
  }
}

.for-agents {
  --f: 0px;
  padding-bottom: 60px;
}

@media (min-width: 768px) {
  .for-agents {
    padding-bottom: 81px;
  }
}

.for-agents__photo {
  margin-left: auto;
  margin-right: auto;
  margin-top: 19px;
  width: 100%;
  padding-left: 33px;
  padding-right: 33px;
}

@media (min-width: 768px) {
  .for-agents__photo {
    margin-top: 30px;
    max-width: 610px;
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (min-width: 992px) {
  .for-agents__photo {
    max-width: 830px;
  }
}

@media (min-width: 1920px) {
  .for-agents__photo {
    margin-top: 50px;
    max-width: 1606.5px;
  }
}

.for-agents__img {
  display: block;
  height: auto;
  width: 100%;
}

/* Charter: линии шире текста (как в макете). */

.charter {
  margin-left: auto;
  margin-right: auto;
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 30px;
  padding-right: 30px;
  text-align: center;
}

@media (min-width: 768px) {
  .charter {
    margin-top: 26px;
    padding-left: 0px;
    padding-right: 0px;
  }
}

@media (min-width: 992px) {
  .charter {
    margin-top: 30px;
  }
}

.charter__title {
  margin: 0px;
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .charter__title {
    font-size: 30px;
  }
}

.charter__body {
  margin-top: 14px;
  width: 100%;
  border-top-width: 1px;
  border-bottom-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(0 0 0 / var(--tw-border-opacity, 1));
  padding-top: 21px;
  padding-bottom: 21px;
}

@media (min-width: 768px) {
  .charter__body {
    margin-top: 30px;
    width: 612px;
    padding-top: 47px;
    padding-bottom: 47px;
  }
}

@media (min-width: 992px) {
  .charter__body {
    width: 798px;
    padding-top: 86px;
    padding-bottom: 86px;
  }
}

.charter__text {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 253px;
  font-family: Manrope, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .charter__text {
    max-width: 487px;
  }
}

@media (min-width: 992px) {
  .charter__text {
    max-width: 636px;
  }
}

.charter__text > * {
  margin: 0;
}

.charter__text h3 {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .charter__text h3 {
    font-size: 24px;
  }
}

.charter__text p {
  margin-top: 0.25rem;
  font-size: 12px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .charter__text p {
    margin-top: 0.5rem;
    font-size: 16px;
  }
}

.charter__text p {
  line-height: var(--lh-body);
}

.charter__text p + h3 {
  margin-top: 14px;
}

@media (min-width: 768px) {
  .charter__text p + h3 {
    margin-top: 31px;
  }
}

/* Case studies. Размеры слайда на .cases, чтобы карусель работала и на page-copy. */

.cases {
  --case-w: 100%;
  --case-gap: 0px;
  margin-top: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .cases {
    margin-top: 60px;
  }
}

.cases__title {
  margin: 0px;
  padding-left: 30px;
  padding-right: 30px;
  font-family: "FUJI Sans Selif", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .cases__title {
    font-size: 35px;
  }
}

.cases__lead {
  margin: 0px;
  margin-top: 10px;
  width: 100%;
  max-width: 265px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .cases__lead {
    margin-top: 26px;
    max-width: 551px;
    font-size: 16px;
  }
}

.cases__lead {
  letter-spacing: 0.06em;
  line-height: var(--lh-body);
}

.cases__viewport {
  position: relative;
  margin-top: 17px;
  width: 100%;
}

@media (min-width: 768px) {
  .cases__viewport {
    margin-top: 31px;
  }
}

.cases__track {
  margin: 0px;
  display: flex;
  list-style-type: none;
  padding: 0px;
  gap: var(--case-gap);
  padding-inline: calc((100% - var(--case-w)) / 2);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.cases__track::-webkit-scrollbar {
  display: none;
}

.case {
  position: relative;
  display: flex;
  min-height: 247px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .case {
    min-height: 332px;
  }
}

.case {
  flex: 0 0 var(--case-w);
  scroll-snap-align: center;
}

.case__img {
  position: absolute;
  inset: 0px;
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.case::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset: 0px;
  --tw-bg-opacity: 1;
  background-color: rgb(18 18 18 / var(--tw-bg-opacity, 1));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.case.is-current::after {
  opacity: 0.61;
}

.case__body {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  max-width: 287px;
  flex-direction: column;
  align-items: center;
  padding-left: 0px;
  padding-right: 0px;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  opacity: 0;
}

@media (min-width: 768px) {
  .case__body {
    max-width: 387px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

.case__body {
  transition: opacity 0.35s ease;
}

.case.is-current .case__body {
  opacity: 1;
}

.case__category,
  .case__title {
  margin: 0px;
  font-family: Manrope, sans-serif;
  font-size: 12.2px;
  font-weight: 700;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .case__category,
  .case__title {
    font-size: 15.67px;
    font-weight: 600;
  }
}

.case__title {
  margin-top: 7px;
}

@media (min-width: 768px) {
  .case__title {
    margin-top: 6px;
  }
}

.case__text {
  margin: 0px;
  margin-top: 29px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .case__text {
    margin-top: 43px;
    font-size: 13.71px;
    font-weight: 600;
  }
}

.case__text {
  letter-spacing: 0.05em;
  line-height: var(--lh-body);
}

.cases__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  height: 16px;
  width: 8px;
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .cases__arrow {
    --tw-text-opacity: 1;
    color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  }
}

.cases__arrow {
  transition: opacity 0.2s ease;
}

.cases__arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.cases__arrow::before {
  /* расширенная зона нажатия */
  content: '';
  position: absolute;
  left: -1rem;
  right: -1rem;
  top: -0.75rem;
  bottom: -0.75rem;
}

.cases__arrow:disabled {
  cursor: default;
  opacity: 0.25;
}

.cases__arrow:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 6px;
}

.cases__arrow--prev {
  left: 19px;
}

.cases__arrow--next {
  right: 19px;
}

@media (prefers-reduced-motion: reduce) {
  .case::after,
    .case__body,
    .cases__arrow {
    transition: none;
  }
}

@media (min-width: 768px) {
  .cases {
    --case-w: 504px;
    --case-gap: 66px;
    --arrow-off: 31px;
  }

  .cases__arrow--prev {
    left: calc(50% - var(--case-w) / 2 - var(--arrow-off) - 8px);
  }

  .cases__arrow--next {
    right: calc(50% - var(--case-w) / 2 - var(--arrow-off) - 8px);
  }
}

@media (min-width: 992px) {
  .for-agents {
    --f: var(--fluid, 1px);
    padding-bottom: calc(81px + 69 * var(--f));
  }

  .for-agents__photo {
    max-width: calc(830px + 776.5 * var(--f));
    margin-top: calc(30px + 20 * var(--f));
  }

  .charter {
    margin-top: calc(30px + 132 * var(--f));
  }

  .charter__title {
    font-size: calc(30px + 11.195 * var(--f));
  }

  .charter__body {
    width: calc(798px + 298 * var(--f));
    margin-top: calc(30px + 14 * var(--f));
    padding-block: calc(86px + 32 * var(--f));
  }

  .charter__text {
    max-width: calc(636px + 237 * var(--f));
  }

  .charter__text h3 {
    font-size: calc(24px + 8.956 * var(--f));
  }

  .charter__text p {
    margin-top: calc(8px + 2 * var(--f));
    font-size: calc(16px + 5.971 * var(--f));
  }

  .charter__text p + h3 {
    margin-top: calc(31px + 12 * var(--f));
  }

  .cases {
    --case-w: calc(504px + 419 * var(--f));
    --case-gap: calc(66px + 55 * var(--f));
    --arrow-off: calc(31px + 25 * var(--f));
    --arrow-w: calc(8px + 7 * var(--f));
    margin-top: calc(60px + 104 * var(--f));
  }

  .cases__title {
    font-size: calc(35px + 13.06 * var(--f));
  }

  .cases__lead {
    margin-top: calc(26px + 10 * var(--f));
    max-width: calc(551px + 206 * var(--f));
    font-size: calc(16px + 5.97 * var(--f));
  }

  .cases__viewport {
    margin-top: calc(31px + 30 * var(--f));
  }

  .case {
    min-height: calc(332px + 276 * var(--f));
  }

  .case__body {
    max-width: calc(387px + 144 * var(--f));
    padding-block: calc(32px + 16 * var(--f));
  }

  .case__category,
    .case__title {
    font-size: calc(15.67px + 5.85 * var(--f));
  }

  .case__title {
    margin-top: calc(6px + 3 * var(--f));
  }

  .case__text {
    margin-top: calc(43px + 15 * var(--f));
    font-size: calc(13.71px + 5.12 * var(--f));
  }

  .cases__arrow {
    width: var(--arrow-w);
    height: calc(16px + 12 * var(--f));
  }

  .cases__arrow--prev {
    left: calc(50% - var(--case-w) / 2 - var(--arrow-off) - var(--arrow-w));
  }

  .cases__arrow--next {
    right: calc(50% - var(--case-w) / 2 - var(--arrow-off) - var(--arrow-w));
  }
}

@media (min-width: 1920px) {
  .for-agents {
    --f: 1px;
  }
}

/* ===== blog.php ===== */

.blog-page {
  --f: 0px;
}

.blog-search-row {
  margin-top: 1rem;
  justify-content: center;
  gap: 15px;
}

@media (min-width: 768px) {
  .blog-search-row {
    margin-top: 18px;
  }
}

.blog-search .tours-search__input {
  height: 19px;
  width: 246.4px;
  padding-left: 7px;
  font-size: 12px;
  font-weight: 400;
}

@media (min-width: 768px) {
  .blog-search .tours-search__input {
    height: 18.6px;
    width: 390px;
    padding-left: 9.55px;
    font-size: 9px;
  }
}

.blog-search .tours-search__input {
  letter-spacing: 0.02em;
}

.blog-search .tours-search__btn {
  height: 19px;
  width: 21.6px;
}

@media (min-width: 768px) {
  .blog-search .tours-search__btn {
    height: 18.6px;
    width: 21.1px;
  }
}

.blog-tags {
  margin-top: 1rem;
  display: flex;
  gap: 30px;
  white-space: nowrap;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .blog-tags {
    margin-top: 25px;
    justify-content: center;
  }
}

.blog-tags {
  line-height: var(--lh-body, 1.4);
}

@media (max-width: 767px) {
  .blog-tags {
    padding-left: 47px;
    padding-right: 47px;
    scroll-padding-inline-start: 47px;
  }
}

.blog-grid {
  margin-left: auto;
  margin-right: auto;
  margin-top: 1rem;
  display: grid;
  width: 345px;
  max-width: calc(100% - 30px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  -moz-column-gap: 4px;
       column-gap: 4px;
  row-gap: 21px;
}

@media (min-width: 768px) {
  .blog-grid {
    margin-top: 27.4px;
    width: 608px;
    -moz-column-gap: 15px;
         column-gap: 15px;
    row-gap: 38px;
  }
}

@media (min-width: 992px) {
  .blog-grid {
    width: 829px;
    -moz-column-gap: 8.4px;
         column-gap: 8.4px;
  }
}

.post-card.is-more {
  display: none;
}

.post-card__link {
  display: block;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
}

.post-card__photo {
  display: block;
  overflow: hidden;
  --tw-bg-opacity: 1;
  background-color: rgb(18 18 18 / var(--tw-bg-opacity, 1));
}

.post-card__img {
  display: block;
  aspect-ratio: 620/561;
  height: auto;
  width: 100%;
  max-width: none;
  -o-object-fit: cover;
     object-fit: cover;
  transition: filter 250ms ease-out;
}

.post-card__link:hover .post-card__img {
  filter: brightness(0.88);
}

.post-card__caption {
  margin-top: 5px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  -moz-column-gap: 1.6em;
       column-gap: 1.6em;
  text-align: center;
  font-family: Manrope, sans-serif;
  font-size: 8px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .post-card__caption {
    margin-top: 6px;
    font-size: 15px;
    text-transform: uppercase;
  }
}

@media (min-width: 992px) {
  .post-card__caption {
    margin-top: 0.5rem;
  }
}

.post-card__caption {
  line-height: var(--lh-body, 1.4);
  overflow-wrap: anywhere;
  transition: color 250ms ease-out;
}

.post-card__date {
  flex-shrink: 0;
}

.post-card__link:hover .post-card__caption {
  --tw-text-opacity: 1;
  color: rgb(77 77 77 / var(--tw-text-opacity, 1));
}

.blog-empty {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  margin-top: 32px;
  text-align: center;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 600;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .blog-empty {
    margin-top: 38px;
    font-size: 15px;
  }
}

.blog-empty {
  line-height: var(--lh-body, 1.4);
}

.blog-more {
  margin-top: 37px;
  display: flex;
  justify-content: center;
}

.blog-more[hidden] {
  display: none;
}

.blog-page {
  padding-bottom: 80px;
}

@media (min-width: 992px) {
  .blog-page {
    --f: var(--fluid, 1px);
  }

  .blog-search-row {
    margin-top: calc(18px + 32 * var(--f));
  }

  .blog-search .tours-search__input {
    height: calc(18.6px + 17.1 * var(--f));
    width: calc(390px + 274 * var(--f));
    padding-left: calc(9.55px + 8.8 * var(--f));
    font-size: calc(9px + 8.28 * var(--f));
    border-width: calc(1px + 0.45 * var(--f));
  }

  .blog-search .tours-search__btn {
    height: calc(18.6px + 17.1 * var(--f));
    width: calc(21.1px + 19.4 * var(--f));
  }

  .blog-search .tours-search__btn img {
    width: calc(9.17px + 8.4 * var(--f));
    height: calc(9.55px + 8.75 * var(--f));
  }

  .blog-tags {
    margin-top: calc(25px + 47 * var(--f));
    -moz-column-gap: calc(30px + 27.6 * var(--f));
         column-gap: calc(30px + 27.6 * var(--f));
    font-size: calc(12px + 11.04 * var(--f));
  }

  .blog-grid {
    margin-top: calc(27.4px + 72.6 * var(--f));
    width: calc(829px + 423 * var(--f));
    -moz-column-gap: calc(8.4px + 3.6 * var(--f));
         column-gap: calc(8.4px + 3.6 * var(--f));
    row-gap: calc(38px + 20 * var(--f));
  }

  .post-card__caption {
    margin-top: calc(8px + 4 * var(--f));
    font-size: calc(15px + 7.65 * var(--f));
  }

  .blog-empty {
    margin-top: calc(38px + 20 * var(--f));
    font-size: calc(15px + 7.65 * var(--f));
  }

  .blog-more {
    margin-top: calc(37px + 71 * var(--f));
  }

  .blog-page {
    padding-bottom: calc(80px + 78 * var(--f));
  }
}

@media (min-width: 1920px) {
  .blog-page {
    --f: 1px;
  }
}

/* ===== article.php: Figma 1920 8578:58643 · 992 7976:11126 · 768 8295:6556 · 375 8440:39069 =====
     Шапка как blog.php. Колонка = ширина фото (290/367/466→666), всё по левому краю, в потоке. */

.article-page {
  --f: 0px;
  --lh-body: 1.3;
  padding-bottom: 74px;
}

@media (min-width: 768px) {
  .article-page {
    padding-bottom: 75px;
  }
}

@media (min-width: 992px) {
  .article-page {
    padding-bottom: 80px;
  }
}

.article {
  margin-left: auto;
  margin-right: auto;
  margin-top: 32px;
  width: 290px;
  max-width: calc(100% - 30px);
  text-align: left;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

@media (min-width: 768px) {
  .article {
    margin-top: 40px;
    width: 367px;
  }
}

@media (min-width: 992px) {
  .article {
    width: 466px;
  }
}

.article__title {
  margin: 0px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  -moz-column-gap: 1.6em;
       column-gap: 1.6em;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 700;
}

@media (min-width: 768px) {
  .article__title {
    font-size: 15px;
    text-transform: uppercase;
  }
}

.article__title {
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.article__date {
  flex-shrink: 0;
}

.article-body {
  margin-top: 18px;
}

@media (min-width: 768px) {
  .article-body {
    margin-top: 28px;
  }
}

.article-body > * {
  margin: 0px;
}

.article-body > * + * {
  margin-top: 30px;
}

@media (min-width: 768px) {
  .article-body > * + * {
    margin-top: 28px;
  }
}

.article-body p {
  font-family: Manrope, sans-serif;
  font-size: 9px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .article-body p {
    font-size: 12px;
  }
}

.article-body p {
  letter-spacing: 0.06em;
  line-height: var(--lh-body);
  overflow-wrap: anywhere;
}

.article-body figure,
  .article-body img {
  display: block;
  width: 100%;
}

.article-body img {
  height: auto;
  max-width: 100%;
}

/* Блок ItineraryContents. Center и пустой AlignID — картинка не шире файла. */

.article-body .article-block--center .article-block__figure img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 768px) {
  .article-body .article-block--left .article-block__figure,
    .article-body .article-block--right .article-block__figure {
    width: -moz-max-content;
    width: max-content;
    max-width: 46%;
  }

  .article-body .article-block--left .article-block__figure img,
    .article-body .article-block--right .article-block__figure img {
    width: auto;
    max-width: 100%;
    height: auto;
  }

  .article-body .article-block--left .article-block__figure {
    float: left;
    margin-right: 16px;
    margin-bottom: 12px;
  }

  .article-body .article-block--right .article-block__figure {
    float: right;
    margin-bottom: 12px;
    margin-left: 16px;
  }

  .article-body .article-block--left .article-block__figure + .article-block__text,
    .article-body .article-block--right .article-block__figure + .article-block__text {
    margin-top: 0;
  }
}

@media (min-width: 992px) {
  .article-page {
    --f: var(--fluid, 1px);
    padding-bottom: calc(80px + 54 * var(--f));
  }

  .article {
    margin-top: calc(40px + 30 * var(--f));
    width: calc(466px + 200 * var(--f));
  }

  .article__title {
    font-size: calc(15px + 6.6 * var(--f));
  }

  .article-body {
    margin-top: calc(28px + 12 * var(--f));
  }

  .article-body > * + * {
    margin-top: calc(28px + 12 * var(--f));
  }

  .article-body p {
    font-size: calc(12px + 5.28 * var(--f));
  }

  .article-block > * + *,
    .article-block__text > * + * {
    margin-top: calc(28px + 12 * var(--f));
  }

  .article-body .article-block--left .article-block__figure {
    margin-right: calc(16px + 8 * var(--f));
    margin-bottom: calc(12px + 6 * var(--f));
  }

  .article-body .article-block--right .article-block__figure {
    margin-bottom: calc(12px + 6 * var(--f));
    margin-left: calc(16px + 8 * var(--f));
  }
}

@media (min-width: 1920px) {
  .article-page {
    --f: 1px;
  }
}

.wish-overlay {
  position: fixed;
  inset: 0px;
  z-index: 40;
  --tw-bg-opacity: 1;
  background-color: rgb(18 18 18 / var(--tw-bg-opacity, 1));
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease-out, visibility 0s linear 300ms;
}

.wish-overlay.is-open {
  opacity: 0.71;
  visibility: visible;
  transition: opacity 300ms ease-out, visibility 0s;
}

.wish-panel {
  --f: 0px;
  position: fixed;
  top: 0px;
  bottom: 0px;
  right: 0px;
  z-index: 50;
  display: flex;
  width: 100%;
  flex-direction: column;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  font-family: Manrope, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  height: 100dvh;
  padding: 22px 15px 20px;
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 300ms ease-out, visibility 0s linear 300ms;
}

.wish-panel.is-open {
  transform: translateX(0);
  visibility: visible;
  transition: transform 300ms ease-out, visibility 0s;
}

.wish-panel__close {
  position: absolute;
  right: 15px;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  font-family: Manrope, sans-serif;
  font-size: 11.848px;
  font-weight: 600;
  line-height: 1;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  cursor: pointer;
}

.wish-panel__close img {
  display: block;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
}

.wish-panel__title {
  margin: 0px;
  margin-top: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.wish-panel__title svg {
  display: block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.wish-panel__list {
  margin: 0px;
  margin-top: 14px;
  display: flex;
  min-height: 0px;
  flex: 1 1 0%;
  list-style-type: none;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  --tw-bg-opacity: 1;
  background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1));
  padding: 0px;
  padding-top: 8px;
  padding-bottom: 8px;
  overscroll-behavior: contain;
  scrollbar-color: #bdbbc0 #f5f5f5;
}

.wish-panel__list::-webkit-scrollbar {
  width: 26px;
}

.wish-panel__list::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.wish-panel__list::-webkit-scrollbar-thumb {
  background: #bdbbc0;
  background-clip: content-box;
  border: 4px solid transparent;
  border-inline-width: 9px;
  border-radius: 13px;
}

.wish-item {
  display: flex;
  flex-shrink: 0;
  align-items: flex-start;
}

.wish-panel__empty {
  margin: 0;
  padding: 28px 18px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #121212;
}

.wish-item__photo {
  position: relative;
  display: block;
  width: 100px;
  flex-shrink: 0;
  overflow: hidden;
  aspect-ratio: 171 / 211;
}

.wish-item__photo img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.wish-item__photo::after {
  content: '';
  pointer-events: none;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 61%;
  opacity: 0.8;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), #121212 86.538%);
}

.wish-item__fav {
  position: absolute;
  right: 7px;
  top: 7px;
  z-index: 1;
  display: block;
  width: 11px;
  height: 11px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.wish-item__fav svg {
  display: block;
  width: 100%;
  height: 100%;
}

.wish-item__text {
  display: flex;
  min-width: 0px;
  flex: 1 1 0%;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-left: 18px;
  padding-right: 12px;
  padding-top: 12px;
}

.wish-item__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
  letter-spacing: 0.01em;
}

.wish-item__remove {
  display: flex;
  align-items: center;
  gap: 4px;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
  cursor: pointer;
}

.wish-item__remove img {
  display: block;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
}

.wish-item__remove span {
  text-decoration-line: underline;
  text-underline-offset: 3px;
}

.wish-panel__foot {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  padding-top: 24px;
  padding-bottom: env(safe-area-inset-bottom);
}

.wish-panel__plan {
  display: flex;
  height: 42px;
  width: 290px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border-width: 0px;
  --tw-bg-opacity: 1;
  background-color: rgb(37 37 37 / var(--tw-bg-opacity, 1));
  font-family: Manrope, sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  cursor: pointer;
  transition: opacity 250ms ease-out;
}

.wish-panel__plan:hover {
  opacity: 0.85;
}

.wish-panel :focus-visible {
  outline: 2px solid #121212;
  outline-offset: 2px;
}

.wish-panel .wish-panel__plan:focus-visible {
  outline-offset: 3px;
}

/* Блокировка прокрутки без сдвига: компенсируем ширину скроллбара (--sbw ставит header.js). */

html.is-locked {
  overflow: hidden;
}

html.is-locked body {
  padding-right: var(--sbw, 0px);
}

html.is-locked .site-header,
  html.is-locked .pyj {
  margin-right: var(--sbw, 0px);
}

@media (min-width: 768px) {
  .wish-panel {
    padding: 30px 31px 32px;
  }

  .wish-panel__close {
    right: 31px;
    top: 30px;
  }

  .wish-panel__title {
    margin-top: 44px;
    font-size: 18px;
  }

  .wish-panel__title svg {
    width: 27px;
    height: 27px;
  }

  .wish-panel__list {
    margin-top: 18px;
    gap: 28px;
  }

  .wish-item__photo {
    width: 130px;
  }

  .wish-item__fav {
    right: 9px;
    top: 9px;
    width: 12px;
    height: 12px;
  }

  .wish-item__text {
    gap: 18px;
    padding-left: 36px;
    padding-top: 16px;
  }

  .wish-item__title {
    font-size: 15px;
  }

  .wish-panel__empty {
    padding: 36px 20px;
    font-size: 15px;
  }

  .wish-item__remove {
    font-size: 13px;
  }

  .wish-panel__foot {
    padding-top: 32px;
  }

  .wish-panel__plan {
    height: 45px;
    width: 330px;
    font-size: 14.403px;
  }
}

/* ≥992: боковая панель; 992→1920 плавно через --f (0 на 992, 1px на 1920). */

@media (min-width: 992px) {
  .wish-panel {
    --f: var(--fluid, 1px);
    width: calc(520px + 284 * var(--f));
    padding: calc(36px + 13 * var(--f)) 8px calc(48px + 63 * var(--f)) 28px;
  }

  .wish-panel__close {
    right: calc(40px + 16 * var(--f));
    top: calc(36px + 13 * var(--f));
    gap: calc(6px + 2 * var(--f));
    font-size: 11.848px;
  }

  .wish-panel__close img {
    width: calc(11px + 1.8 * var(--f));
    height: calc(11px + 1.8 * var(--f));
  }

  .wish-panel__title {
    margin-top: calc(40px + 18 * var(--f));
    gap: calc(8px + 2 * var(--f));
    font-size: calc(17px + 2.6 * var(--f));
    margin-left: 1px;
  }

  .wish-panel__title svg {
    width: calc(26px + 5 * var(--f));
    height: calc(26px + 5 * var(--f));
  }

  .wish-panel__list {
    margin-top: calc(16px - 11 * var(--f));
    gap: calc(26px + 9 * var(--f));
    flex: 0 1 calc(560px + 277 * var(--f));
  }

  .wish-item__photo {
    width: calc(140px + 31.4 * var(--f));
  }

  .wish-item__fav {
    top: calc(9px + 2.8 * var(--f));
    right: calc(9px + 1.5 * var(--f));
    width: calc(12px + 2.4 * var(--f));
    height: calc(12px + 2.4 * var(--f));
  }

  .wish-item__text {
    padding-left: calc(40px + 22 * var(--f));
    padding-top: calc(14px + 5 * var(--f));
    gap: calc(18px + 3.6 * var(--f));
  }

  .wish-item__title {
    font-size: calc(15px + 2.283 * var(--f));
    line-height: normal;
  }

  .wish-item__remove {
    font-size: calc(13px + 1.403 * var(--f));
    gap: calc(4px + 1 * var(--f));
  }

  .wish-item__remove img {
    width: calc(8px + 2.6 * var(--f));
    height: calc(8px + 2.6 * var(--f));
  }

  .wish-panel__foot {
    margin-top: auto;
    padding-top: calc(40px + 79 * var(--f));
    padding-right: 28px;
  }

  .wish-panel__plan {
    width: calc(300px + 30 * var(--f));
    height: calc(42px + 3.669 * var(--f));
    font-size: 14.403px;
  }
}

@media (min-width: 1920px) {
  .wish-panel {
    --f: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wish-overlay,
    .wish-overlay.is-open,
    .wish-panel,
    .wish-panel.is-open {
    transition: none;
  }
}

.\!plan {
  --f: 0px !important;
}

.plan {
  --f: 0px;
}

.\!plan {
  position: fixed;
  inset: 0px;
  z-index: 50;
  overflow-y: auto;
  font-family: Manrope, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

.plan {
  position: fixed;
  inset: 0px;
  z-index: 50;
  overflow-y: auto;
  font-family: Manrope, sans-serif;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

.\!plan {
  overscroll-behavior: contain !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transition: opacity 300ms ease-out, visibility 0s linear 300ms !important;
}

.plan {
  overscroll-behavior: contain;
  opacity: 0;
  visibility: hidden;
  transition: opacity 300ms ease-out, visibility 0s linear 300ms;
}

.\!plan.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  transition: opacity 300ms ease-out, visibility 0s !important;
}

.plan.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 300ms ease-out, visibility 0s;
}

.plan__overlay {
  position: fixed;
  inset: 0px;
  --tw-bg-opacity: 1;
  background-color: rgb(18 18 18 / var(--tw-bg-opacity, 1));
  opacity: 0.71;
}

.plan__box {
  position: relative;
  margin-left: auto;
  margin-right: auto;
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
  min-height: 100%;
  padding: 64px 15px 0;
  transform: translateY(24px);
  transition: transform 300ms ease-out;
}

.\!plan.is-open .plan__box {
  transform: none !important;
}

.plan.is-open .plan__box {
  transform: none;
}

.plan__close {
  position: absolute;
  right: 15px;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  font-family: Manrope, sans-serif;
  font-size: 11.848px;
  font-weight: 600;
  line-height: 1;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  cursor: pointer;
}

.plan__close img {
  display: block;
  width: 12px;
  height: 12px;
  transform: rotate(45deg);
}

.\!plan :focus-visible {
  outline: 2px solid #121212 !important;
  outline-offset: 2px !important;
}

.plan :focus-visible {
  outline: 2px solid #121212;
  outline-offset: 2px;
}

.\!plan .inquiry__input:focus-visible {
  outline-offset: 0 !important;
}

.plan .inquiry__input:focus-visible {
  outline-offset: 0;
}

.plan-wish {
  margin-top: 26px;
}

.plan-wish[hidden] {
  display: none;
}

.plan-wish__title {
  margin: 0px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
}

.plan-wish__title svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.plan-wish__list {
  margin: 0px;
  margin-top: 10px;
  display: flex;
  list-style-type: none;
  gap: 10px;
  overflow-x: auto;
  --tw-bg-opacity: 1;
  background-color: rgb(245 245 245 / var(--tw-bg-opacity, 1));
  padding: 0px;
  padding: 14px 14px 12px;
  overscroll-behavior-x: contain;
  scrollbar-color: #bdbbc0 #f5f5f5;
}

.plan-wish__list::-webkit-scrollbar {
  height: 13px;
}

.plan-wish__list::-webkit-scrollbar-track {
  background: #f5f5f5;
}

.plan-wish__list::-webkit-scrollbar-thumb {
  background: #bdbbc0;
  background-clip: content-box;
  border: 4px solid transparent;
  border-inline-width: 14px;
  border-radius: 10px;
}

.plan-wish__item {
  display: flex;
  width: 120px;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-start;
}

.plan-wish__photo {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 162 / 199;
}

.plan-wish__photo img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.plan-wish__photo::after {
  content: '';
  pointer-events: none;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: 0px;
  height: 61%;
  opacity: 0.8;
  background: linear-gradient(to bottom, rgb(255 255 255 / 0), #121212 86.538%);
}

.plan-wish__fav {
  position: absolute;
  right: 7px;
  top: 7px;
  z-index: 1;
  display: block;
  width: 11px;
  height: 11px;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.plan-wish__fav svg {
  display: block;
  width: 100%;
  height: 100%;
}

.plan-wish__name {
  margin-top: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
  text-decoration-line: none;
  letter-spacing: 0.01em;
}

.plan-wish__remove {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  border-width: 0px;
  background-color: transparent;
  padding: 0px;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity, 1));
  cursor: pointer;
}

.plan-wish__remove img {
  display: block;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
}

.plan-wish__remove span {
  text-decoration-line: underline;
  text-underline-offset: 3px;
}

@media (min-width: 768px) {
  .plan__box {
    padding: 84px 31px 0;
  }

  .plan__close {
    right: 31px;
    top: 30px;
  }

  .plan-wish {
    margin-top: 36px;
  }

  .plan-wish__title {
    font-size: 17px;
  }

  .plan-wish__title svg {
    width: 26px;
    height: 26px;
  }

  .plan-wish__list {
    margin-top: 14px;
    gap: 12px;
    padding: 18px 20px 14px;
  }

  .plan-wish__item {
    width: 140px;
  }

  .plan-wish__name {
    margin-top: 10px;
    font-size: 13px;
  }

  .plan-wish__remove {
    margin-top: 12px;
    font-size: 12px;
  }
}

/* ≥992: окно по центру поверх затемнения; 992→1920 плавно через --f. Если выше экрана — прокрутка внутри .plan. */

@media (min-width: 992px) {
  .\!plan {
    --f: var(--fluid, 1px) !important;
    padding: calc(40px + 176 * var(--f)) 20px calc(40px + 80 * var(--f)) !important;
  }

  .\!plan .inquiry {
    max-width: calc(520px + 403 * var(--f)) !important;
  }

  .\!plan .inquiry__textarea {
    height: calc(115px + 52 * var(--f)) !important;
  }

  .\!plan .inquiry__field--check {
    margin-top: calc(4px + 10 * var(--f)) !important;
  }

  .plan {
    --f: var(--fluid, 1px);
    padding: calc(40px + 176 * var(--f)) 20px calc(40px + 80 * var(--f));
  }

  .plan__box {
    width: calc(760px + 670 * var(--f));
    max-width: 100%;
    min-height: 0;
    padding: calc(70px + 35 * var(--f)) 20px calc(10px + 26 * var(--f));
  }

  .plan__close {
    top: calc(36px + 23 * var(--f));
    right: calc(36px + 16 * var(--f));
    gap: calc(6px + 2 * var(--f));
  }

  .plan__close img {
    width: calc(11px + 1.8 * var(--f));
    height: calc(11px + 1.8 * var(--f));
  }

  .plan .inquiry {
    max-width: calc(520px + 403 * var(--f));
  }

  .plan .inquiry__textarea {
    height: calc(115px + 52 * var(--f));
  }

  .plan .inquiry__field--check {
    margin-top: calc(4px + 10 * var(--f));
  }

  .plan-wish {
    margin-top: calc(30px + 47 * var(--f));
  }

  .plan-wish__title {
    gap: calc(8px + 2 * var(--f));
    padding-left: calc(4px + 3 * var(--f));
    font-size: calc(17px + 2.6 * var(--f));
  }

  .plan-wish__title svg {
    width: calc(26px + 4.6 * var(--f));
    height: calc(26px + 4.6 * var(--f));
  }

  .plan-wish__list {
    margin-top: calc(12px + 5 * var(--f));
    gap: calc(10px + 3 * var(--f));
    padding: calc(16px + 9 * var(--f)) calc(18px + 10 * var(--f)) calc(14px + 28 * var(--f));
  }

  .plan-wish__list::-webkit-scrollbar {
    height: calc(15px + 4 * var(--f));
  }

  .plan-wish__list::-webkit-scrollbar-thumb {
    border-block-width: calc(5px + 1.6 * var(--f));
    border-inline-width: calc(18px + 45 * var(--f));
  }

  .plan-wish__item {
    width: calc(130px + 31.5 * var(--f));
  }

  .plan-wish__fav {
    top: calc(9px + 2.8 * var(--f));
    right: calc(9px + 1.5 * var(--f));
    width: calc(12px + 2.4 * var(--f));
    height: calc(12px + 2.4 * var(--f));
  }

  .plan-wish__name {
    margin-top: calc(9px + 3 * var(--f));
    font-size: calc(13px + 1.4 * var(--f));
    line-height: normal;
  }

  .plan-wish__remove {
    margin-top: calc(12px + 4 * var(--f));
    gap: calc(4px + 1 * var(--f));
    font-size: calc(12px + 2.4 * var(--f));
  }

  .plan-wish__remove img {
    width: calc(8px + 2.6 * var(--f));
    height: calc(8px + 2.6 * var(--f));
  }

  .\!plan {
    --f: var(--fluid, 1px) !important;
    padding: calc(40px + 176 * var(--f)) 20px calc(40px + 80 * var(--f)) !important;
  }

  .\!plan .inquiry {
    max-width: calc(520px + 403 * var(--f)) !important;
  }

  .\!plan .inquiry__textarea {
    height: calc(115px + 52 * var(--f)) !important;
  }

  .\!plan .inquiry__field--check {
    margin-top: calc(4px + 10 * var(--f)) !important;
  }

  .\!plan {
    --f: var(--fluid, 1px) !important;
    padding: calc(40px + 176 * var(--f)) 20px calc(40px + 80 * var(--f)) !important;
  }

  .\!plan .inquiry {
    max-width: calc(520px + 403 * var(--f)) !important;
  }

  .\!plan .inquiry__textarea {
    height: calc(115px + 52 * var(--f)) !important;
  }

  .\!plan .inquiry__field--check {
    margin-top: calc(4px + 10 * var(--f)) !important;
  }

  .\!plan {
    --f: var(--fluid, 1px) !important;
    padding: calc(40px + 176 * var(--f)) 20px calc(40px + 80 * var(--f)) !important;
  }

  .\!plan .inquiry {
    max-width: calc(520px + 403 * var(--f)) !important;
  }

  .\!plan .inquiry__textarea {
    height: calc(115px + 52 * var(--f)) !important;
  }

  .\!plan .inquiry__field--check {
    margin-top: calc(4px + 10 * var(--f)) !important;
  }
}

@media (min-width: 1920px) {
  .\!plan {
    --f: 1px !important;
  }

  .plan {
    --f: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .\!plan,
    .\!plan.is-open,
    .\!plan.is-open .plan__box {
    transition: none !important;
  }

  .plan,
    .plan.is-open,
    .plan__box,
    .plan.is-open .plan__box {
    transition: none;
  }

  .plan__box {
    transform: none;
  }

  .\!plan,
    .\!plan.is-open,
    .\!plan.is-open .plan__box {
    transition: none !important;
  }
}

/* Шапка solid (absolute): отступ main = высота шапки (как .has-solid-header main), тёмный блок ≈ 100svh − шапка.
     Контент по центру, чуть выше середины (1920: центр текста на ~47% блока). */

.has-solid-header main.notfound {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  --tw-bg-opacity: 1;
  background-color: rgb(18 18 18 / var(--tw-bg-opacity, 1));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  text-align: center;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  padding-bottom: 6svh;
}

.notfound__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.notfound__code {
  font-family: "FUJI Sans Selif", serif;
  font-size: 52px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.377;
  letter-spacing: -1.25px;
}

@media (min-width: 768px) {
  .notfound__code {
    font-size: 56px;
    letter-spacing: -1.35px;
  }
}

@media (min-width: 1920px) {
  .notfound__code {
    font-size: 66.497px;
    letter-spacing: -1.6px;
  }
}

.notfound__text {
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.32;
}

@media (min-width: 768px) {
  .notfound__text {
    font-size: 13px;
  }
}

/* Ссылка в стиле «View all» (подчёркнутая), белая на тёмном. */

.notfound__link {
  margin-top: 18px;
  font-family: Manrope, sans-serif;
  font-size: 12px;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  text-decoration-line: underline;
  text-underline-offset: 2px;
}

@media (min-width: 768px) {
  .notfound__link {
    margin-top: 22px;
    font-size: 13px;
  }
}

@media (min-width: 1920px) {
  .notfound__link {
    margin-top: 26px;
    font-size: 15px;
  }
}

.notfound__link {
  transition: opacity 250ms ease-out;
}

.notfound__link:hover {
  opacity: 0.7;
}

@media (min-width: 992px) and (max-width: 1919.98px) {
  .notfound__code {
    font-size: calc(56px + 10.497 * var(--fluid));
    letter-spacing: calc(-1.35px + -0.25 * var(--fluid));
  }

  .notfound__link {
    margin-top: calc(22px + 4 * var(--fluid));
    font-size: calc(13px + 2 * var(--fluid));
  }
}

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

.static {
  position: static;
}

.\!grid {
  display: grid !important;
}

.grid {
  display: grid;
}

.\!hidden {
  display: none !important;
}

.hidden {
  display: none;
}

.resize {
  resize: both;
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.font-sans {
  font-family: Manrope, sans-serif;
}

.uppercase {
  text-transform: uppercase;
}

.text-ink {
  --tw-text-opacity: 1;
  color: rgb(18 18 18 / var(--tw-text-opacity, 1));
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

/* ===== tours.php (Figma: 375 8440:34990, 768 8295:4768, 992 7976:8781, 1920 8558:53051) ===== */

/* Анонс на крупных плашках (Figma: город + заголовок + абзац). Ниже md скрыт — мало места. */

.card-tour__teaser {
  pointer-events: none;
  position: absolute;
  left: 8%;
  right: 8%;
  top: 68%;
  z-index: 2;
  text-align: center;
  font-family: Manrope, sans-serif;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.4;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

@media (min-width: 992px) {
  .card-tour__teaser {
    left: 10%;
    right: 10%;
    top: 66%;
    font-size: 11px;
  }
}

@media (min-width: 1920px) {
  .card-tour__teaser {
    left: 12%;
    right: 12%;
    top: 62%;
    font-size: 15px;
    line-height: 1.45;
  }
}

.card-tour__teaser {
  display: none;
}

@media (min-width: 768px) {
  .card-tour__teaser {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    overflow: hidden;
  }

  /* С анонсом поднимаем tag/title, чтобы абзац поместился под заголовком. */

  .card-tour--big:has(.card-tour__teaser) .card-tour__tag {
    top: 34%;
  }

  .card-tour--big:has(.card-tour__teaser) .card-tour__title {
    top: 42%;
  }
}

@media (min-width: 1920px) {
  .card-tour__teaser {
    -webkit-line-clamp: 7;
    line-clamp: 7;
  }
}

/* ===== experiences.php: фото-плитки категорий (Figma 8558:54421 / 8630:819) ===== */

/* ===== Страница тура (tour.php), Figma 1920 8558:54144 · 992 7976:9386 · 768 8295:5057 · 375 8440:36151 =====
   Всё в потоке: высоты — только min-height у hero, отступы — фиксированные значения Figma.
   992→1920: calc(значение992 + разница * var(--f)), --f = --fluid (0px на 992, 1px на 1920). */

/* Единый межстрочный интервал абзацев (body <p>): лиды секций и тексты страниц.
   Значение 1.3 — доминирующее в макетах для читаемого текста (tour intro, дни тура, experience, services 375).
   Не трогаем: заголовки, подписи карточек, лейблы, мелкий текст форм и футера. Правило в конце файла,
   поэтому перекрывает и fluid-переопределения line-height. */

/* ===== for_agents.php (Figma 1920 8558:56414 · 992 7976:10476 · 768 8295:5843 · 375 8440:37646) =====
   Шапка — как services.php (.tours-page__head). Фото — ширина колонки services. 992→1920 — fluid через --f. */

/* WISHLIST: панель справа (≥992, ширина 520→804 плавно), ниже 992 — на весь экран. Макет только 1920 (8578:63237). */

/* PLAN YOUR JOURNEY: окно по центру (≥992, ширина 760→1430 плавно), ниже 992 — на весь экран. Макет только 1920 (8578:64300).
   Форма — partials/inquiry.php (стили .inquiry), здесь только обёртка, блок WISHLIST и переопределения ширины. */

/* ===== 404.php (Figma: 1920 8578:64646; остальные размеры — по аналогии) ===== */

@media not all and (min-width: 768px) {
  .max-md\:pb-pyj-safe {
    padding-bottom: 67px;
  }
}
