/*
 * ELMARES — стили сайта. Все классы с префиксом em-, сбросы через :where(), чтобы не спорить со стилями Тильды.
 * Дизайн-система: цвета и шрифты — переменные ниже, меняются в одном месте.
 */

/* ---------- 1. Токены ---------- */
.em-header-root, .em-page, .em-footer-root, .em-layer {
  /* Палитра эталона pelorustravel.com (по просьбе Ланы — «максимально близко») */
  --em-bg: #FFFFFF;          /* основной фон */
  --em-sand: #EBE9E6;        /* светлая подложка блоков (как фон поиска у эталона) */
  --em-sand-2: #EBE9E6;      /* вторая подложка */
  --em-sand-3: #E4E2DE;      /* заглушки фото */
  --em-ink: #000000;         /* текст */
  --em-ink-2: #43464B;       /* вторичный текст */
  --em-muted: #66665D;       /* подписи */
  --em-line: #EBE9E6;        /* линии и рамки */
  --em-accent: #F38B00;      /* акцент — оранжевый эталона */
  --em-accent-2: #DB7E08;    /* акцент при наведении */
  --em-foot: #535353;        /* подвал */
  --em-nav: #66665D;         /* текст и значки шапки (как у эталона) */
  --em-nav-line: #EBE9E6;    /* линии шапки (как у эталона) */
  --em-mm-text: #666605;     /* текст мегаменю (как у эталона) */
  --em-dark: #2A2A28;        /* тёмные заглушки под белый текст */
  --em-display: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif;
  --em-label: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --em-serif: 'Noto Serif', Georgia, 'Times New Roman', serif;
  --em-gut: 40px;            /* поле страницы */
  --em-sec: 112px;           /* вертикальный отступ секции */
  --em-ease: cubic-bezier(.22, .61, .36, 1);
  --em-ease-io: cubic-bezier(.65, 0, .35, 1);
  --em-ease-std: cubic-bezier(.4, 0, .2, 1);
  font-family: var(--em-serif); font-size-adjust: .51;
  font-size: 17px;
  line-height: 1.6;
  color: var(--em-ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
@media (max-width: 1023px) { .em-header-root, .em-page, .em-footer-root, .em-layer { --em-gut: 24px; --em-sec: 88px; } }
@media (max-width: 599px) { .em-header-root, .em-page, .em-footer-root, .em-layer { --em-gut: 20px; --em-sec: 72px; font-size: 16px; } }

/* ---------- 2. Сбросы ---------- */
:where(.em-header-root, .em-page, .em-footer-root, .em-layer) * { box-sizing: border-box; }
:where(.em-header-root, .em-page, .em-footer-root, .em-layer) :where(h1, h2, h3, h4, p, ul, figure, blockquote) { margin: 0; padding: 0; }
:where(.em-header-root, .em-page, .em-footer-root, .em-layer) ul { list-style: none; }
:where(.em-header-root, .em-page, .em-footer-root, .em-layer) a { color: inherit; text-decoration: none; }
:where(.em-header-root, .em-page, .em-footer-root, .em-layer) button { font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0; cursor: pointer; }
:where(.em-header-root, .em-page, .em-footer-root, .em-layer) input { font: inherit; color: inherit; margin: 0; }
:where(.em-header-root, .em-page, .em-footer-root, .em-layer) svg { display: block; flex: none; }
:where(.em-header-root, .em-page, .em-footer-root, .em-layer) :focus-visible { outline: 1px solid var(--em-accent); outline-offset: 3px; }
html.em-lock, html.em-lock body { overflow: hidden; }

/* ---------- 3. Сетка и типографика ---------- */
.em-wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--em-gut); }
.em-wrap--narrow { max-width: 900px; }
.em-sec { padding: var(--em-sec) 0; }
.em-sec--sand { background: var(--em-sand); }
.em-sec--sand2 { background: var(--em-sand-2); }

.em-label { font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 11px; line-height: 1.5; letter-spacing: .3em; text-transform: uppercase; color: var(--em-muted); }
.em-title { font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 18px; line-height: 1.3; letter-spacing: .4em; text-transform: uppercase; text-align: center; margin-bottom: 56px !important; padding-left: .4em; }
.em-display { font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 400; text-transform: uppercase; letter-spacing: .08em; line-height: 1.05; }
.em-lead { font-weight: 300; font-size: 21px; line-height: 1.65; color: var(--em-ink-2); }
.em-muted { color: var(--em-muted); }
@media (max-width: 599px) {
  .em-title { font-size: 14px; letter-spacing: .3em; margin-bottom: 40px !important; }
  .em-lead { font-size: 18px; }
}

/* ---------- 4. Кнопки и ссылки ---------- */
.em-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 42px; padding: 12px 64px; border: 1px solid var(--em-accent); background: var(--em-accent);
  font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: 3.6px; text-transform: uppercase; white-space: nowrap;
  color: #fff !important; transition: background-color .5s var(--em-ease-std), border-color .5s var(--em-ease-std), color .5s var(--em-ease-std);
}
.em-btn:hover { background: var(--em-accent-2); border-color: var(--em-accent-2); }
.em-btn--ghost { background: transparent; color: var(--em-accent) !important; }
.em-btn--ghost:hover { background: var(--em-accent); border-color: var(--em-accent); color: #fff !important; }
.em-btn--light { background: transparent; border-color: #fff; color: #fff !important; }
.em-btn--light:hover { background: #fff; border-color: #fff; color: var(--em-ink) !important; }
.em-btn--sm { padding: 12px 32px; }
.em-btn svg { width: 16px; height: 16px; }
@media (max-width: 599px) { .em-btn { padding: 12px 24px; height: auto; min-height: 42px; white-space: normal; text-align: center; letter-spacing: 2.4px; } }

.em-link { position: relative; display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; }
.em-link::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .6s var(--em-ease); }
.em-link:hover::after, a:hover > .em-link::after { transform: scaleX(1); }
.em-link svg { width: 18px; height: 10px; transition: transform .6s var(--em-ease); }
.em-link:hover svg, a:hover > .em-link svg { transform: translateX(6px); }

.em-arrow { width: 52px; height: 52px; border: 1px solid currentColor; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background .4s, color .4s, opacity .4s; }
.em-arrow svg { width: 18px; height: 10px; }
.em-arrow:hover { background: var(--em-accent); color: #fff; border-color: var(--em-accent); }
.em-arrow:disabled { opacity: .25; cursor: default; background: none; color: inherit; border-color: currentColor; }
.em-arrow--light:hover { background: #fff; color: var(--em-ink); border-color: #fff; }

/* ---------- 5. Заглушки фото и видео ---------- */
.em-ph { position: relative; overflow: hidden; background: var(--em-sand-3); }
.em-ph__img { position: absolute; inset: 0; background:
  radial-gradient(120% 90% at 20% 15%, rgba(255,255,255,.55), transparent 60%),
  linear-gradient(160deg, #F2F1EF 0%, #E6E4E0 55%, #DAD7D2 100%);
  transition: transform 2s var(--em-ease); }
.em-ph--alt .em-ph__img { background:
  radial-gradient(110% 80% at 80% 10%, rgba(255,255,255,.35), transparent 60%),
  linear-gradient(200deg, #DEDBD6 0%, #CFCBC5 60%, #C2BDB6 100%); }
.em-ph--dark { background: var(--em-dark); color: #fff; }
.em-ph--dark .em-ph__img { background:
  radial-gradient(90% 70% at 75% 25%, rgba(255,255,255,.14), transparent 60%),
  radial-gradient(70% 60% at 15% 90%, rgba(0,0,0,.25), transparent 70%),
  linear-gradient(165deg, #4A4A47 0%, #333331 55%, #232322 100%); }
.em-ph__tag { position: absolute; right: 16px; bottom: 14px; z-index: 2; font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; color: rgba(28,28,28,.42); pointer-events: none; }
.em-ph--dark .em-ph__tag { color: rgba(255,255,255,.45); }
.em-ph__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(20,18,15,0) 35%, rgba(20,18,15,.55) 100%); transition: opacity .8s; }

/* ---------- 6. Появление при прокрутке ---------- */
.em-js [data-em-reveal] { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 1.1s var(--em-ease), transform 1.1s var(--em-ease); transition-delay: var(--d, 0s); }
.em-js [data-em-reveal].is-in { opacity: 1; transform: none; }
.em-js [data-em-reveal="fade"] { transform: none; }

/* ---------- 7. Шапка ---------- */
.em-top { position: fixed; top: 0; left: 0; right: 0; z-index: 990; }
.em-head { background: var(--em-bg); transition: box-shadow .5s; }
.em-top.is-scrolled .em-head { box-shadow: 0 10px 30px -18px rgba(28,28,28,.25); }
/* верхний ряд — размеры сняты с эталона: поля 16/32, контейнер 1280 (от 1280 px) или 1536 (от 1536 px) с полями 64 */
.em-bar { padding: 16px 32px; }
.em-bar__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 52px; width: 100%; margin: 0 auto; padding: 0 64px; }
@media (min-width: 1280px) { .em-bar__in { max-width: 1280px; } }
@media (min-width: 1536px) { .em-bar__in { max-width: 1536px; } }
.em-bar__l, .em-bar__r { display: flex; align-items: center; gap: 24px; min-width: 0; }
.em-bar__r { justify-content: flex-end; }
.em-tico { position: relative; width: 16px; height: 16px; display: inline-flex; align-items: center; justify-content: center; color: var(--em-nav); transition: color .5s var(--em-ease-std); }
.em-tico:hover { color: var(--em-accent); }
.em-tico svg { width: 16px; height: 16px; }
.em-ico { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: var(--em-ink); transition: color .4s; }
.em-ico:hover { color: var(--em-accent); }
.em-ico svg { width: 18px; height: 18px; }

/* язык: флаг 16 px, выпадающий список 192 px со сдвигом −32 px, как у эталона */
.em-lang { position: relative; display: flex; }
.em-lang__menu { position: absolute; z-index: 10; top: 100%; left: -32px; width: 192px; margin-top: 8px; padding: 4px 0; background: #fff; border: 1px solid #E5E7EB; border-radius: 0;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); transform-origin: top left;
  opacity: 0; visibility: hidden; transform: scale(.95); transition: opacity .15s ease-in, transform .15s ease-in, visibility .15s; }
.em-lang.is-open .em-lang__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease-out, transform .2s ease-out, visibility .2s; }
.em-lang__menu a, .em-lang__menu span { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 8px 16px; font-family: var(--em-label); font-size-adjust: none; font-size: 14px; line-height: 20px; color: var(--em-nav); transition: color .15s; }
.em-lang__menu > * + * { border-top: 1px solid #F9FAFB; }
.em-lang__menu .is-on, .em-lang__menu a:hover { color: var(--em-accent); }
.em-lang__menu span { cursor: default; }
.em-lang__menu small { font-size: 11px; color: #A8A49B; }

.em-logo { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; height: 52px; line-height: 1; color: var(--em-ink); }
.em-logo b { font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 500; font-size: 28px; letter-spacing: .34em; padding-left: .34em; }
.em-logo small { margin-top: 7px; font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 8px; letter-spacing: .62em; padding-left: .62em; text-transform: uppercase; color: var(--em-muted); }

/* кнопка «Заявка»: 42 px, поля 12/32, 11 px, разрядка 3.6 px */
.em-enq { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 12px 32px; border: 1px solid var(--em-accent); background: var(--em-accent); color: #fff !important;
  font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 11px; line-height: 16px; letter-spacing: 3.6px; text-transform: uppercase; white-space: nowrap;
  transition: background-color .5s var(--em-ease-std), border-color .5s var(--em-ease-std); }
.em-enq:hover { background: var(--em-accent-2); border-color: var(--em-accent-2); }

/* «Вход для партнёров-туроператоров»: на 1280 px и шире — значок и текст, уже — только значок */
.em-partner { display: inline-flex; align-items: center; gap: 10px; height: 42px; font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 10px; line-height: 13px; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--em-nav); transition: color .5s var(--em-ease-std); }
.em-partner:hover { color: var(--em-accent); }
.em-partner svg { width: 16px; height: 16px; }
@media (max-width: 1279px) { .em-partner span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }
@media (max-width: 1023px) { .em-partner { display: none; } }
.em-mn__body .em-mn__partner a { justify-content: flex-start; gap: 12px; color: var(--em-accent); }
.em-mn__partner br { display: none; }

/* бургер: 24×35, три линии по 1 px через 8 px; «лесенка» — 100 / 60 / 30 % от правого края */
.em-burger { width: 24px; height: 35px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.em-burger span { display: block; width: 24px; height: 1px; background: #535353; transform-origin: right center; transition: transform .5s var(--em-ease-std); }
.em-burger.is-active span:nth-child(2) { transform: scaleX(.6); }
.em-burger.is-active span:nth-child(3) { transform: scaleX(.3); }

/* нижний ряд меню: 50 px, 12 px, разрядка .05em, шаг 48 px */
.em-nav { display: flex; justify-content: center; align-items: center; gap: 48px; height: 50px; padding: 0 32px; border-top: 1px solid var(--em-nav-line); border-bottom: 1px solid var(--em-nav-line); }
.em-nav__btn { position: relative; height: 100%; display: inline-flex; align-items: center; gap: 8px; font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: .05em; text-transform: uppercase; color: var(--em-nav); transition: color .5s var(--em-ease-std); }
.em-nav__btn svg { width: 12px; height: 12px; transition: transform .5s var(--em-ease-std); }
.em-nav__btn:hover, .em-nav__btn.is-open { color: var(--em-accent); }
.em-nav__btn.is-open svg { transform: rotate(180deg); }

/* мегаменю — размеры и шрифты сняты с эталона: выезжает вниз за 0.5 с, без затемнения страницы */
.em-mm { position: absolute; top: 100%; left: 0; right: 0; display: grid; grid-template-rows: 0fr; background: var(--em-bg); visibility: hidden;
  transition: grid-template-rows .5s var(--em-ease-std), visibility 0s .5s; }
.em-mm.is-open { grid-template-rows: 1fr; visibility: visible; transition: grid-template-rows .5s var(--em-ease-std), visibility 0s; z-index: 1; }
.em-mm__clip { min-height: 0; overflow: hidden; }
.em-mm__in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; width: 100%; margin: 0 auto; padding: 32px 64px; }
@media (min-width: 1280px) { .em-mm__in { max-width: 1280px; } }
@media (min-width: 1536px) { .em-mm__in { max-width: 1536px; } }

/* левая колонка: 12 px, 500, разрядка .025em */
.em-mm__list { font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: .025em; color: var(--em-mm-text); }
.em-mm__it { position: relative; isolation: isolate; display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 6px 56px 6px 0; transition: color .15s; }
.em-mm__it:hover { color: var(--em-accent); }
.em-mm__it.is-all { text-decoration: underline; }
.em-mm__it svg { flex: none; width: 12px; height: 12px; }
.em-mm__hl { position: absolute; inset: 0; z-index: -1; display: block; transform: scale(1.05, 1.25); transform-origin: right center; }
.em-mm__hl b { display: none; width: 100%; height: 100%; background: var(--em-accent); }
.em-mm__it.is-on, .em-mm__it.is-on:hover { color: #fff; }
.em-mm__it.is-on .em-mm__hl b { display: block; }

/* правая часть: три колонки по 32 px, карточки или ссылки + карточка */
.em-mm__views { grid-column: span 3; display: grid; }
.em-mm__view { grid-area: 1 / 1; display: none; background: var(--em-bg); }
.em-mm__view.is-on { display: block; }
.em-mm__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.em-mm__sub { grid-column: span 2; padding-left: 48px; border-left: 1px solid var(--em-nav-line); }
.em-mm__sub ul { columns: 2; font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: .025em; color: var(--em-mm-text); }
.em-mm__sub li { break-inside: avoid; }
.em-mm__sub a { display: block; width: 100%; padding: 6px 0; transition: color .15s; }
.em-mm__sub a:hover { color: var(--em-accent); }
.em-mm__sub a.is-all { text-decoration: underline; }

/* карточка: фото 4:3, отступ 16; заголовок 24/32 капсом; текст 14/20; «Подробнее» 12 px с чёрточкой при наведении */
.em-mc { padding-left: 16px; border-left: 1px solid var(--em-nav-line); }
.em-mc__a { display: block; }
.em-mc .em-ph { aspect-ratio: 4 / 3; width: 100%; margin-bottom: 16px; }
.em-mc__t { margin-bottom: 16px !important; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 24px; line-height: 32px; letter-spacing: .1em; text-transform: uppercase; color: #43464B; }
.em-mc__p { margin-bottom: 24px !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 300; font-size: 14px; line-height: 20px; color: #43464B; }
.em-mc__more { position: relative; display: inline-flex; align-items: center; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 12px; line-height: 16px; color: var(--em-accent); }
.em-mc__more::before { content: ''; width: 0; height: 1px; margin-right: 0; background: var(--em-accent); opacity: 0; transition: all .5s var(--em-ease-std); }
.em-mc__a:hover .em-mc__more::before { width: 12px; margin-right: 8px; opacity: 1; }

.em-veil { position: fixed; inset: 0; z-index: 980; background: rgba(28,28,28,.28); opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.em-veil.is-on { opacity: 1; visibility: visible; }

/* мобильная шапка (до 1024 px): поля 16/24, логотип слева, кнопка 12 px с полями 12/16, тень */
@media (max-width: 1023px) {
  .em-bar { padding: 16px 24px; box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1); }
  .em-bar__in { grid-template-columns: auto 1fr; height: 47px; padding: 0; }
  .em-bar__l, .em-nav, .em-mm { display: none; }
  .em-logo { align-items: flex-start; height: 47px; }
  .em-logo b { font-size: 24px; padding-left: 0; letter-spacing: .3em; }
  .em-logo small { padding-left: 0; font-size: 7px; }
  .em-enq { padding: 12px 16px; font-size: 12px; }
}
@media (max-width: 360px) { .em-logo b { font-size: 20px; letter-spacing: .24em; } .em-enq { padding: 12px 12px; letter-spacing: 2.4px; } .em-bar__r { gap: 16px; } }

/* плавающий бургер (компьютер): та же сетка, что у шапки; круг 56 px rgba(0,0,0,.25) появляется, когда шапка скрыта */
.em-fab { display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 995; padding: 0 32px; pointer-events: none; }
.em-fab__in { display: flex; align-items: center; justify-content: flex-end; height: 84px; width: 100%; margin: 0 auto; padding: 16px 64px; }
@media (min-width: 1280px) { .em-fab__in { max-width: 1280px; } }
@media (min-width: 1536px) { .em-fab__in { max-width: 1536px; } }
.em-fab__wrap { position: relative; display: flex; align-items: center; isolation: isolate; }
.em-fab__ring { position: absolute; z-index: -1; left: 50%; top: 50%; width: 56px; height: 56px; border-radius: 50%; background: rgba(0,0,0,.25); transform: translate(-50%, -50%); opacity: 0; transition: opacity .5s var(--em-ease-std); }
.em-fab.is-off .em-fab__ring { opacity: 1; }
.em-fab .em-burger { pointer-events: auto; }
@media (min-width: 1024px) {
  .em-fab { display: block; }
  .em-burger--bar { visibility: hidden; }
}

/* мобильное меню: слева на весь экран за 0.5 с, затемнение 30 % */
.em-mn { position: fixed; inset: 0; z-index: 1000; overflow: hidden; visibility: hidden; transition: visibility 0s .5s; }
.em-mn.is-open { visibility: visible; transition: none; }
.em-mn__veil { position: fixed; inset: 0; background: rgba(0,0,0,.3); opacity: 0; transition: opacity .15s linear; }
.em-mn.is-open .em-mn__veil { opacity: 1; }
.em-mn__panel { position: fixed; top: 0; bottom: 0; left: 0; width: 100%; display: flex; flex-direction: column; justify-content: space-between; background: var(--em-bg);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); transform: translateX(-100%); transition: transform .5s cubic-bezier(.4, 0, .2, 1); }
.em-mn.is-open .em-mn__panel { transform: none; }
.em-mn__top { flex: none; display: flex; padding: 32px 16px; border-bottom: 1px solid var(--em-nav-line); }
.em-mn__search { flex: 1; display: flex; color: #000; }
.em-mn__x { flex: none; color: #000; }
.em-mn__top svg { width: 16px; height: 16px; }
.em-mn__body { flex: 1; overflow-y: auto; }
.em-mn__body li { padding: 16px; border-bottom: 1px solid var(--em-nav-line); font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 16px; line-height: 24px; color: var(--em-nav); }
.em-mn__body a { display: flex; align-items: center; justify-content: space-between; transition: color .3s; }
.em-mn__body a:hover { color: var(--em-accent); }
.em-mn__body a svg { width: 16px; height: 16px; }
.em-mn__body .em-mn__back { font-size: 12px; line-height: 16px; }
.em-mn__back button { display: flex; align-items: center; gap: 8px; color: var(--em-nav); }
.em-mn__back svg { width: 16px; height: 16px; }
.em-mn__foot { flex: none; background: var(--em-nav); color: #fff; font-family: var(--em-label); font-size-adjust: none; font-size: 11px; line-height: 14px; }
.em-mn__foot li { padding: 12px 16px; border-bottom: 1px solid #7D7D75; }
.em-mn__foot li a { display: block; }
.em-mn__foot li a + a { margin-top: 2px; }
.em-mn__foot .em-mn__lang { padding-bottom: 32px; border-bottom: 0; }
.em-mn__sel { position: relative; display: inline-block; }
.em-mn__sel select { padding: 0 16px 0 0; border: 0; background: transparent; color: #fff; font: inherit; line-height: 16px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.em-mn__sel select option { color: var(--em-ink); }
.em-mn__sel svg { position: absolute; right: 0; top: 2px; width: 12px; height: 12px; opacity: .4; pointer-events: none; }

/* поиск */
.em-search { position: fixed; top: 0; left: 0; right: 0; z-index: 1001; background: var(--em-bg); padding: 28px var(--em-gut) 56px;
  transform: translateY(-100%); visibility: hidden; transition: transform .7s var(--em-ease-io), visibility .7s; }
.em-search.is-open { transform: none; visibility: visible; }
.em-search__close { position: absolute; top: 20px; right: var(--em-gut); }
.em-search form { max-width: 980px; margin: 56px auto 0; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--em-ink); }
.em-search form svg { width: 26px; height: 26px; color: var(--em-muted); }
.em-search input { flex: 1; min-width: 0; height: 76px; border: 0; outline: 0; background: none; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 400; font-size: 40px; letter-spacing: .06em; text-transform: uppercase; }
.em-search input::placeholder { color: #BDBAB4; }
.em-search__pop { max-width: 980px; margin: 28px auto 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; }
.em-search__pop .em-label { margin-right: 10px; }
.em-search__pop a { padding: 8px 16px; border: 1px solid var(--em-line); font-size: 15px; transition: border-color .4s, background .4s; }
.em-search__pop a:hover { border-color: var(--em-ink); background: var(--em-sand); }
@media (max-width: 599px) { .em-search input { font-size: 26px; height: 60px; } .em-search form { margin-top: 48px; } }

/* ---------- 8. Первый экран ---------- */
.em-hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: #fff; }
.em-hero > .em-ph { position: absolute; inset: 0; }
.em-hero .em-ph__img { animation: em-kb 18s var(--em-ease-io) infinite alternate; }
.em-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.8s var(--em-ease); }
.em-hero__video.is-playing { opacity: 1; }
.em-hero__frame { position: absolute; left: 50%; top: 50%; width: 177.78vh; height: 100vh; min-width: 100%; min-height: 56.25vw; border: 0; transform: translate(-50%, -50%); pointer-events: none; }
.em-ph.has-img .em-ph__img { background-size: cover; background-position: center; background-repeat: no-repeat; }
.em-ph.has-img .em-ph__tag { display: none; }
.em-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,16,13,.5) 0%, rgba(18,16,13,.18) 55%, rgba(18,16,13,.08) 100%), linear-gradient(0deg, rgba(18,16,13,.35), transparent 40%); pointer-events: none; }
/* текст первого экрана — размеры с эталона: блок 672 px в 32 px от края, по центру высоты; 72/72 · 30/36 · 20/28 */
.em-hero__in { position: absolute; z-index: 2; inset: 0; display: flex; align-items: center; justify-content: flex-start; padding: 32px 64px 0 32px; }
.em-hero__box { max-width: 672px; }
.em-hero h1 { margin: 16px 0 !important; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 36px; line-height: 40px; letter-spacing: .1em; text-transform: uppercase; }
.em-hero h2 { margin: 16px 0 !important; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 30px; line-height: 36px; letter-spacing: .1em; text-transform: uppercase; }
.em-hero p { margin: 16px 0 !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 400; font-style: normal; font-size: 20px; line-height: 28px; color: #fff; }
@media (min-width: 768px) { .em-hero h1 { font-size: 72px; line-height: 72px; } }
/* запас сверху, чтобы не обрезались точки «Ё» и значок «Й» */
.em-line { display: block; overflow: hidden; padding: .16em 0 .06em; margin: -.16em 0 -.06em; }
.em-line > span { display: block; transform: translate3d(0, 130%, 0); transition: transform 1.4s var(--em-ease); transition-delay: var(--d, 0s); }
.em-hero.is-in .em-line > span { transform: none; }
.em-hero__fade { opacity: 0; transition: opacity 1.4s var(--em-ease); transition-delay: var(--d, 0s); }
.em-hero.is-in .em-hero__fade { opacity: 1; }
.em-hero__cue { position: absolute; z-index: 2; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 14px; font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 9px; letter-spacing: .4em; padding-left: .4em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.em-hero__cue i { position: relative; width: 1px; height: 54px; background: rgba(255,255,255,.25); overflow: hidden; }
.em-hero__cue i::after { content: ''; position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: #fff; animation: em-cue 2.4s var(--em-ease-io) infinite; }
@keyframes em-kb { from { transform: scale(1.12) translate3d(-1%, 0, 0); } to { transform: scale(1) translate3d(1%, 0, 0); } }
@keyframes em-cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (max-width: 599px) { .em-hero { min-height: 520px; } .em-hero__in { padding: 32px 64px 32px 32px; } }

/* ---------- 9. Блоки главной (размеры сняты с эталона на 1440 px) ---------- */
/* общий контейнер эталона: 100% → 1280 (от 1280 px) → 1536 (от 1536 px), поля 16 → 64 (от 1024 px) */
.em-intro__in, .em-logos__in, .em-feat__box, .em-quotes__in, .em-care__in, .em-arts__in { width: 100%; margin: 0 auto; }
@media (min-width: 1280px) { .em-logos__in, .em-feat__box, .em-quotes__in, .em-care__in, .em-arts__in { max-width: 1280px; } }
@media (min-width: 1536px) { .em-logos__in, .em-feat__box, .em-quotes__in, .em-care__in, .em-arts__in { max-width: 1536px; } }
.em-h2 { padding: 48px 16px; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 18px; line-height: 22px; letter-spacing: 7.2px; text-transform: uppercase; text-align: center; color: var(--em-ink); }
.em-gap { width: 100%; }

/* круглые стрелки 48 px, стрелка-линия */
.em-carr { width: 48px; height: 48px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid #000; color: #000; background: transparent; transition: background-color .3s, color .3s, border-color .3s; }
.em-carr svg { width: 20px; height: 13px; }
.em-carr:hover { background: #000; color: #fff; }
.em-carr--white { border: 0; background: #fff; }
.em-carr--white:hover { background: var(--em-accent); color: #fff; }
.em-carr--light { border-color: #fff; color: #fff; }
.em-carr--light:hover { background: #fff; color: #000; }

/* вступление */
.em-intro { padding: 80px 16px 48px; }
.em-intro__in { max-width: 896px; text-align: center; }
.em-intro__cap { margin: 16px 0 !important; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 14px; line-height: 20px; text-transform: uppercase; color: var(--em-ink); }
.em-intro__txt { margin: 16px 0 !important; font-family: var(--em-serif); font-size-adjust: .51; font-size: 16px; line-height: 24px; color: var(--em-ink); }
.em-intro__btn { margin-top: 16px; }

/* лента изданий */
.em-logos { padding: 48px 0; }
.em-logos__in { position: relative; padding: 0 16px; }
@media (min-width: 1024px) { .em-logos__in { padding: 0 64px; } }
.em-logos__vp { margin: 0 64px; overflow: hidden; }
.em-logos__track { display: flex; gap: 20px; transition: transform .6s var(--em-ease-std); will-change: transform; }
.em-logos__item { flex: 0 0 calc((100% - 20px) / 2); }
@media (min-width: 640px) { .em-logos__item { flex-basis: calc((100% - 40px) / 3); } }
@media (min-width: 1024px) { .em-logos__item { flex-basis: calc((100% - 80px) / 5); } }
.em-logos__ph { aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; background: #F5F4F2; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 500; font-size: 15px; letter-spacing: .24em; text-transform: uppercase; color: #A8A49B; text-align: center; padding: 12px; }
.em-logos .em-carr { position: absolute; top: 50%; margin-top: -24px; z-index: 2; }
.em-logos__prev { left: 16px; }
.em-logos__next { right: 16px; }
@media (min-width: 1024px) { .em-logos__prev { left: 80px; } .em-logos__next { right: 80px; } .em-logos__vp { margin: 0 80px; } }
@media (max-width: 1023px) { .em-logos__vp { margin: 0 56px; } }

/* плитки */
.em-tiles { display: grid; grid-template-columns: 1fr; row-gap: 8px; padding-bottom: 4px; }
@media (min-width: 768px) { .em-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; } }
@media (min-width: 1024px) { .em-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.em-tile { position: relative; display: block; min-height: 480px; overflow: hidden; color: #fff; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.em-tile .em-ph { position: absolute; inset: 0; }
.em-tile .em-ph__img { transition: transform 2s var(--em-ease-std); }
.em-tile:hover .em-ph__img { transform: scale(1.1); }
.em-tile__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(25,25,25,.5), rgba(25,25,25,0)); }
.em-tile__cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 24px 56px; text-align: center; }
.em-tile__w { position: relative; display: block; overflow: hidden; }
.em-tile__t { display: block; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 60px; line-height: 64px; letter-spacing: 6px; text-transform: uppercase; transition: transform 2s var(--em-ease-std); }
.em-tile__more { position: absolute; left: 0; right: 0; bottom: 0; font-family: var(--em-serif); font-size-adjust: .51; font-style: italic; font-weight: 500; font-size: 20px; line-height: 28px; opacity: 0; transition: opacity 2s var(--em-ease-std); }
.em-tile:hover .em-tile__t { transform: translateY(-100%); }
.em-tile:hover .em-tile__more { opacity: 1; }
.em-tile__bar { position: absolute; z-index: 3; left: 0; bottom: 0; width: 0; height: 4px; background: var(--em-accent); transition: width 2s var(--em-ease-std); }
.em-tile:hover .em-tile__bar { width: 100%; }


/* почему мы */
.em-why { padding: 56px 24px 80px; }
@media (min-width: 1024px) { .em-why { padding: 56px 96px 80px; } }
.em-why__t { font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 48px; line-height: 48px; letter-spacing: 2.5px; text-transform: uppercase; text-align: center; color: var(--em-ink); }
.em-why__row { position: relative; margin-top: 56px; }
.em-why__line { display: none; }
.em-why__it { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; width: 176px; margin: 0 auto 40px; }
.em-why__img { width: 116px; height: 116px; border-radius: 50%; overflow: hidden; }
.em-why__img .em-ph { width: 100%; height: 100%; }
.em-why__it p { margin-top: 36px !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 500; font-size: 16px; line-height: 24px; text-align: center; color: var(--em-ink); }
.em-why__it { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--em-ease), transform 1s var(--em-ease); transition-delay: calc(.2s + var(--i) * .18s); }
.em-why__row.is-in .em-why__it { opacity: 1; transform: none; }
@media (min-width: 768px) {
  .em-why__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
  .em-why__it { margin: 0; }
  .em-why__line { display: block; position: absolute; left: 0; right: 0; top: 58px; padding: 0 64px; }
  .em-why__line i { display: block; height: 1px; background: #000; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--em-ease-io); }
  .em-why__row.is-in .em-why__line i { transform: none; }
}

/* слайдер в контейнере */
.em-feat__box { position: relative; display: grid; color: #fff; touch-action: pan-y; }
.em-feat__slide { grid-area: 1 / 1; position: relative; min-height: 470px; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s; }
.em-feat__slide.is-on { opacity: 1; visibility: visible; z-index: 1; }
.em-feat__slide > .em-ph { position: absolute; inset: 0; }
.em-feat__shade { position: absolute; inset: 0; background: #000; opacity: .1; }
.em-feat__txt { position: relative; z-index: 2; width: 100%; padding: 80px 16px 144px; text-align: center; }
@media (min-width: 1024px) { .em-feat__txt { padding: 128px 192px; } }
.em-feat__txt h3 { margin: 16px 0 !important; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 48px; line-height: 48px; letter-spacing: 4.8px; text-transform: uppercase; }
.em-feat__txt p { margin: 16px 0 !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 500; font-size: 18px; line-height: 28px; }
.em-feat__btn { margin-top: 16px; }
.em-feat__nav { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 40px; display: flex; justify-content: space-between; pointer-events: none; }
.em-feat__nav .em-carr { pointer-events: auto; }
@media (min-width: 1024px) { .em-feat__nav { left: 64px; right: 64px; top: 50%; bottom: auto; margin-top: -24px; } }


/* отзывы */
.em-quotes { position: relative; overflow: hidden; }
.em-quotes > .em-ph { position: absolute; inset: 0; z-index: 0; }
.em-quotes__t { position: relative; z-index: 1; padding: 96px 16px 80px; }
.em-quotes__in { position: relative; z-index: 1; padding: 0 16px 128px; }
@media (min-width: 1024px) { .em-quotes__in { padding: 0 64px 128px; } }
.em-qs { position: relative; min-height: 300px; touch-action: pan-y; }
.em-q { position: absolute; left: 50%; top: 50%; margin: 0; transition: transform .6s var(--em-ease-std), opacity .6s var(--em-ease-std); }
.em-q__card { padding: 80px; background: #fff; text-align: center; }
@media (max-width: 1023px) { .em-q__card { padding: 56px 32px; } }
.em-q__who { margin-bottom: 8px !important; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: .8px; text-transform: uppercase; color: #000; }
.em-q blockquote { margin: 40px 0 0 !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 300; font-style: italic; font-size: 20px; line-height: 28px; color: #000; }
.em-q figcaption { margin-top: 40px; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 16px; line-height: 24px; color: var(--em-accent); }
.em-qs__nav { position: absolute; z-index: 3; left: -22px; right: -22px; top: 50%; margin-top: -24px; display: flex; justify-content: space-between; pointer-events: none; }
.em-qs__nav .em-carr { pointer-events: auto; background: rgba(255,255,255,.6); }
.em-qs__nav .em-carr:hover { background: #000; }
@media (max-width: 1023px) { .em-qs__nav { left: 0; right: 0; top: auto; bottom: -80px; margin-top: 0; justify-content: center; gap: 16px; } }

/* мы бережём острова */
.em-care__in { padding: 36px 16px; }
@media (min-width: 1024px) { .em-care__in { padding: 36px 64px; } }
.em-care__row { display: flex; flex-direction: column; margin: 48px 0; }
.em-care__media { position: relative; flex: 1; display: flex; }
.em-care__a { width: 80%; aspect-ratio: 1 / 1; }
.em-care__a .em-ph, .em-care__b .em-ph { width: 100%; height: 100%; }
.em-care__b .em-fill { position: absolute; inset: 0; }
.em-care__b { position: absolute; right: 0; top: 48px; z-index: 1; width: 50%; aspect-ratio: 1 / 1; border: 8px solid #fff; background: #fff; will-change: transform; }
.em-care__txt { order: -1; display: flex; flex-direction: column; justify-content: center; margin-bottom: 32px; }
.em-care__txt h2 { margin: 16px 0 !important; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 36px; line-height: 40px; letter-spacing: 3.6px; text-transform: uppercase; color: var(--em-ink); }
.em-care__txt h2 em { font-style: normal; color: #649579; }
.em-care__txt p { margin: 16px 0 !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 300; font-size: 18px; line-height: 28px; color: var(--em-ink); }
.em-care__btn { margin-top: 16px; }
@media (min-width: 1024px) {
  .em-care__row { flex-direction: row; }
  .em-care__a { width: 75%; }
  .em-care__txt { order: 0; width: 33.333%; flex: none; margin: 0 0 0 112px; }
}

/* истории */
.em-arts__t { padding: 40px 16px; color: #222221; }
.em-arts__in { padding: 0 16px; }
@media (min-width: 1024px) { .em-arts__in { padding: 0 64px; } }
.em-arts__vp { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; }
.em-arts__vp::-webkit-scrollbar { display: none; }
.em-arts__vp.is-drag { cursor: grabbing; scroll-snap-type: none; }
.em-arts__vp.is-drag .em-art { pointer-events: none; }
.em-art { flex: 0 0 85%; padding: 10px; scroll-snap-align: start; user-select: none; -webkit-user-drag: none; }
@media (min-width: 640px) { .em-art { flex-basis: 50%; } }
@media (min-width: 1024px) { .em-art { flex-basis: 33.3333%; } }
.em-art__card { height: 100%; display: flex; flex-direction: column; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.em-art__img { height: 236px; flex: none; overflow: hidden; }
.em-art__img .em-ph { height: 100%; }
.em-art__img .em-ph__img { transition: transform 2s var(--em-ease-std); }
.em-art:hover .em-art__img .em-ph__img { transform: scale(1.1); }
.em-art__body { flex: 1; padding: 32px; background: #fff; }
.em-art__body h3 { padding-bottom: 8px; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: .8px; text-transform: uppercase; color: #000; }
.em-art__body p { padding-bottom: 20px; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 300; font-size: 14px; line-height: 20px; color: #000; }
.em-art__body .em-mc__more { letter-spacing: .6px; }
.em-art:hover .em-mc__more::before { width: 12px; margin-right: 8px; opacity: 1; }
.em-arts__all { padding: 64px 0 80px; text-align: center; }

/* ---------- 10. Внутренние страницы (размеры сняты с эталона на 1440 px) ---------- */
.em-bc__in, .em-fg, .em-ag, .em-ta__in, .em-ig, .em-ov__in, .em-sp__in, .em-eq, .em-f, .em-eq__note { width: 100%; margin: 0 auto; }
@media (min-width: 1280px) { .em-bc__in, .em-ag, .em-ta__in, .em-ig, .em-ov__in, .em-sp__in, .em-eq, .em-f { max-width: 1280px; } }
@media (min-width: 1536px) { .em-bc__in, .em-ag, .em-ta__in, .em-ig, .em-ov__in, .em-sp__in, .em-eq, .em-f { max-width: 1536px; } }

/* первый экран на пол-экрана: 640 px, заголовок 96 px по центру снизу */
.em-hh, .em-hf { position: relative; overflow: hidden; color: #fff; display: flex; align-items: flex-end; justify-content: center; }
.em-hh { height: 640px; }
.em-hh > .em-ph, .em-hf > .em-ph { position: absolute; inset: 0; }
.em-hh__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(25,25,25,.45), rgba(25,25,25,0) 60%); }
.em-hh__t, .em-hf__t { position: relative; z-index: 2; max-width: 1000px; padding: 0 24px 46px; text-align: center; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 96px; line-height: 96px; letter-spacing: 9.6px; text-transform: uppercase; }
.em-hh.is-in .em-line > span, .em-hf.is-in .em-line > span { transform: none; }
.em-hf { height: 100vh; height: 100svh; min-height: 560px; }
.em-hf--center { align-items: center; }
.em-hf--center .em-hf__t { padding-bottom: 0; font-size: 72px; line-height: 72px; letter-spacing: 7.2px; max-width: 860px; }
.em-hf--bottom .em-hf__t { padding-bottom: 77px; font-size: 128px; line-height: 128px; letter-spacing: 12.8px; }
@media (max-width: 767px) {
  .em-hh { height: 420px; }
  .em-hh__t { font-size: 48px; line-height: 48px; letter-spacing: 4.8px; padding-bottom: 36px; }
  .em-hf--bottom .em-hf__t { font-size: 56px; line-height: 56px; letter-spacing: 5.6px; padding-bottom: 36px; }
  .em-hf--center .em-hf__t { font-size: 36px; line-height: 40px; letter-spacing: 3.6px; }
}

/* хлебные крошки: 11 px, разделитель — оранжевая линия */
.em-bc__in { display: flex; align-items: center; overflow-x: auto; padding: 16px; scrollbar-width: none; }
@media (min-width: 1024px) { .em-bc__in { padding: 16px 64px; } }
.em-bc a, .em-bc span { flex: none; padding: 0 12px; font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 11px; line-height: 16px; color: var(--em-nav); white-space: nowrap; }
.em-bc a:first-child { padding-left: 0; }
.em-bc a + a, .em-bc a + span { border-left: 1px solid var(--em-accent); }
.em-bc a:hover { color: var(--em-accent); }

/* текстовый блок 896 px */
.em-bt__in { max-width: 896px; margin: 0 auto; text-align: center; }
.em-bt--narrow .em-bt__in { max-width: 672px; }
.em-bt--left .em-bt__in { text-align: left; }
.em-bt p { margin: 16px 0 !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 300; font-size: 18px; line-height: 28px; color: var(--em-ink); }
.em-bt--left p, .em-bt--narrow p { font-size: 16px; line-height: 24px; font-weight: 400; }
.em-bt__label { margin: 16px 0 !important; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 18px; line-height: 28px; letter-spacing: 7.2px; text-transform: uppercase; color: var(--em-ink); }
.em-bt__title { margin: 16px 0 !important; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 48px; line-height: 48px; letter-spacing: 4.8px; text-transform: uppercase; color: var(--em-ink); }
.em-bt__title em { font-style: normal; color: var(--em-accent); }
.em-bt__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 16px; }
.em-a { color: var(--em-accent); }
@media (max-width: 599px) { .em-bt__title { font-size: 48px; line-height: 48px; letter-spacing: 4.8px; } .em-bt__label { letter-spacing: 4px; } }

/* вкладки раздела: фон #EBE9E6, активная — белая */
.em-sn { background: var(--em-sand); }
.em-sn ul { display: flex; justify-content: center; overflow-x: auto; scrollbar-width: none; }
.em-sn li { flex: none; }
.em-sn a { display: block; padding: 28px 48px; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: #222221; transition: color .3s; }
.em-sn a:hover { color: var(--em-accent); }
.em-sn li.is-on { background: #fff; }
@media (max-width: 599px) { .em-sn ul { justify-content: flex-start; } .em-sn a { padding: 22px 20px; } }

/* сетка плиток с широкими */
@media (min-width: 1024px) { .em-tiles--mix .em-tile--wide { grid-column: span 2; } }

/* каталог с фильтрами */
.em-fg { padding: 32px 0 64px; text-align: center; }
.em-fg__t { padding-left: 7.2px; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 18px; line-height: 22px; letter-spacing: 7.2px; text-transform: uppercase; color: #000; }
.em-fg__count { margin-top: 8px !important; font-family: var(--em-serif); font-size-adjust: .51; font-size: 14px; line-height: 20px; color: var(--em-nav); }
.em-fg__sels { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; padding: 48px 16px; }
.em-sel { position: relative; display: block; }
.em-sel select { height: 34px; min-width: 200px; padding: 0 36px 0 14px; border: 1px solid var(--em-accent); background: #fff; color: var(--em-accent); font-family: var(--em-label); font-size-adjust: none; font-size: 12px; text-transform: uppercase; -webkit-appearance: none; appearance: none; cursor: pointer; border-radius: 0; }
.em-sel svg { position: absolute; right: 12px; top: 11px; width: 12px; height: 12px; color: var(--em-accent); pointer-events: none; }
.em-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.em-fg__grid { display: grid; grid-template-columns: 1fr; gap: 20px; text-align: left; }
@media (min-width: 768px) { .em-fg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .em-fg__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.em-fg__empty { grid-column: 1 / -1; padding: 48px 16px; text-align: center; font-family: var(--em-serif); font-size-adjust: .51; font-size: 18px; color: var(--em-nav); }
.em-xc { position: relative; display: block; height: 480px; overflow: hidden; color: #fff; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1); }
.em-xc .em-ph { position: absolute; inset: 0; }
.em-xc .em-ph__img { transition: transform 2s var(--em-ease-std); }
.em-xc:hover .em-ph__img { transform: scale(1.05); }
.em-xc__t { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 0 16px 80px; text-align: center; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 40px; line-height: 44px; letter-spacing: 5px; text-transform: uppercase; }
.em-xc__meta { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 38px; display: flex; align-items: center; justify-content: center; padding: 0 12px; background: #222221; color: #BCB9AF; font-family: var(--em-label); font-size-adjust: none; font-size: 12px; line-height: 22px; letter-spacing: 1.3px; text-transform: uppercase; white-space: nowrap; overflow: hidden; }
.em-pg { display: flex; align-items: center; justify-content: center; gap: 48px; margin-top: 48px; font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 11px; color: #222221; }
.em-pg button { display: inline-flex; color: #222221; }
.em-pg button:disabled { opacity: .3; cursor: default; }
.em-pg svg { width: 20px; height: 13px; }

/* истории: 4 колонки, фото 2:3 */
.em-ag { padding: 32px 16px 0; text-align: center; }
@media (min-width: 1024px) { .em-ag { padding: 32px 64px 0; } }
.em-ag__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 16px; text-align: left; }
@media (min-width: 1024px) { .em-ag__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 64px 56px; } }
.em-ag--rel { padding-bottom: 48px; }
.em-ag--rel .em-h2 { padding-top: 40px; }
.em-sc { display: block; }
.em-sc__img { aspect-ratio: 2 / 3; overflow: hidden; }
.em-sc__img .em-ph { height: 100%; }
.em-sc__img .em-ph__img { transition: transform 2s var(--em-ease-std); }
.em-sc:hover .em-sc__img .em-ph__img { transform: scale(1.05); }
.em-sc h3 { padding: 16px 0 8px; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: .8px; text-transform: uppercase; color: #000; }
.em-sc .em-mc__more { letter-spacing: .6px; }
.em-sc:hover .em-mc__more::before { width: 12px; margin-right: 8px; opacity: 1; }

/* фото + текст */
.em-ta__in { display: flex; flex-direction: column; gap: 32px; padding: 0 16px; }
.em-ta__img { aspect-ratio: 768 / 568; }
.em-ta__img .em-ph { height: 100%; }
.em-ta__txt { display: flex; flex-direction: column; justify-content: center; }
.em-ta__txt h3 { margin: 16px 0 !important; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 48px; line-height: 48px; text-transform: uppercase; color: #000; }
.em-ta__txt p { margin: 8px 0 !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 400; font-size: 16px; line-height: 24px; color: #000; }
.em-ta__sign { margin-top: 16px !important; font-family: var(--em-label) !important; font-weight: 600 !important; font-size: 14px !important; line-height: 20px !important; }
.em-ta__sign b { color: var(--em-accent); font-weight: 600; }
@media (min-width: 1024px) {
  .em-ta__in { flex-direction: row; gap: 48px; padding: 0; }
  .em-ta__img { width: 60%; flex: none; }
  .em-ta__txt { width: 416px; flex: none; }
  .em-ta--rev .em-ta__in { flex-direction: row-reverse; padding: 0 0 0 48px; }
}

/* три фото 424×550 через 4 px; узкая лента 198 px */
.em-ig { display: grid; grid-template-columns: 1fr; gap: 4px; }
@media (min-width: 768px) { .em-ig { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.em-ig__it { aspect-ratio: 424 / 550; }
.em-ig__it .em-ph, .em-is .em-ph { height: 100%; }
.em-is { height: 198px; }

/* фото на всю ширину с текстом */
.em-ov { position: relative; height: 600px; overflow: hidden; color: #fff; }
.em-ov > .em-ph { position: absolute; inset: 0; }
.em-ov .em-feat__shade { opacity: .25; }
.em-ov__in { position: relative; z-index: 2; height: 100%; padding: 70px 16px; }
@media (min-width: 1024px) { .em-ov__in { padding: 70px 64px; } }
.em-ov__txt { max-width: 340px; }
.em-ov__txt h3 { font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 48px; line-height: 48px; letter-spacing: 4.8px; text-transform: uppercase; }
.em-ov__txt p { margin-top: 16px !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 300; font-size: 16px; line-height: 24px; }
.em-ov__more { display: inline-block; margin-top: 24px; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; color: var(--em-accent); }
.em-ov__more:hover { text-decoration: underline; }
.em-ov--quote .em-ov__txt { max-width: 760px; }
.em-ov__txt .em-ov__q { margin: 0 !important; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 128px; line-height: 128px; letter-spacing: 12.8px; text-transform: uppercase; }
.em-ov__txt .em-ov__who { margin-top: 18px !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 600; font-size: 20px; line-height: 28px; }
@media (max-width: 767px) { .em-ov { height: 520px; } .em-ov__txt .em-ov__q { font-size: 56px; line-height: 56px; letter-spacing: 5.6px; } }

/* два фото с параллаксом + текст */
.em-sp__in { display: flex; flex-direction: column; gap: 32px; padding: 84px 16px; }
.em-sp__media { position: relative; flex: 1; padding-bottom: 80px; }
.em-sp__a { width: 75%; aspect-ratio: 492 / 345; }
.em-sp__a .em-ph, .em-sp__b .em-ph { height: 100%; }
.em-sp__b { position: absolute; right: 0; bottom: 0; width: 50%; aspect-ratio: 328 / 234; border: 8px solid #fff; background: #fff; will-change: transform; }
.em-sp__b .em-fill { position: absolute; inset: 0; }
.em-sp--rev .em-sp__media { padding-bottom: 0; }
.em-sp--rev .em-sp__b { top: 48px; bottom: auto; }
.em-sp__txt { display: flex; flex-direction: column; justify-content: center; margin-top: 48px; }
.em-sp__txt h3 { font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 48px; line-height: 48px; letter-spacing: 4.8px; text-transform: uppercase; color: #000; }
.em-sp__txt p { margin-top: 16px !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 300; font-size: 16px; line-height: 24px; color: #000; }
@media (min-width: 1024px) {
  .em-sp__in { flex-direction: row; gap: 112px; padding: 84px 64px; }
  .em-sp__txt { width: 384px; flex: none; margin-top: 0; }
  .em-sp--rev .em-sp__in { flex-direction: row-reverse; }
}


/* лента логотипов с тёмной полосой заголовка */
.em-lb__t { width: 100%; max-width: 1280px; margin: 0 auto; padding: 36px 16px; background: var(--em-foot); color: #fff; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 18px; line-height: 22px; letter-spacing: 7.2px; text-transform: uppercase; text-align: center; }

/* автор статьи */
.em-au { text-align: center; padding: 0 16px; }
.em-au__by { font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 18px; line-height: 28px; letter-spacing: 7.2px; text-transform: uppercase; color: #000; }
.em-au__date { margin-top: 12px !important; font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 14px; line-height: 20px; letter-spacing: .7px; color: var(--em-nav); }

/* заявка */
.em-eq { padding: 0 16px; }
@media (min-width: 1024px) { .em-eq, .em-f { padding-left: 64px; padding-right: 64px; } }
.em-eq h1 { font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 48px; line-height: 48px; letter-spacing: 9.6px; text-transform: uppercase; color: #000; }
.em-eq__intro { margin-top: 16px !important; font-family: var(--em-serif); font-size-adjust: .51; font-size: 16px; line-height: 24px; color: #000; }
.em-eq__intro a { font-weight: 600; color: var(--em-accent); }
.em-f { padding: 0 16px; }
.em-f fieldset { display: flex; flex-wrap: wrap; gap: 0 8px; margin: 0; padding: 0; border: 0; }
.em-f legend { width: 100%; padding: 32px 0; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; text-transform: uppercase; color: #222221; }
.em-f__fld { display: block; width: 100%; margin-bottom: 14px; }
.em-f__fld span { display: block; margin-bottom: 8px; font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: 1.2px; color: #222221; }
.em-f__fld sup { font-size: 9px; }
.em-f input, .em-f textarea, .em-f select { display: block; width: 100%; height: 42px; padding: 0 14px; border: 1px solid transparent; border-radius: 0; background: var(--em-sand); color: var(--em-nav); font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 12px; letter-spacing: 1.2px; outline: 0; -webkit-appearance: none; appearance: none; transition: border-color .3s; }
.em-f textarea { height: 106px; padding: 12px 14px; resize: vertical; }
.em-f input:focus, .em-f textarea:focus, .em-f select:focus { border-color: var(--em-accent); }
.em-f .is-bad { border-color: #C0392B; }
@media (min-width: 768px) { .em-f__fld--half { width: calc(50% - 4px); } }
.em-f__check { display: flex; align-items: center; gap: 20px; width: 100%; margin-top: 8px; font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 12px; letter-spacing: 1.2px; color: var(--em-nav); cursor: pointer; }
.em-f__check input { width: 16px; height: 16px; flex: none; padding: 0; -webkit-appearance: auto; appearance: auto; accent-color: var(--em-accent); }
.em-f__err { margin-top: 24px !important; font-family: var(--em-label); font-size-adjust: none; font-size: 12px; color: #C0392B; }
.em-f__send { margin-top: 140px; min-width: 200px; padding: 12px 32px; }
.em-f__ok { padding: 48px 0; font-family: var(--em-serif); font-size-adjust: .51; font-size: 20px; line-height: 28px; color: #000; }
.em-eq__note { padding: 17px 16px; text-align: center; font-family: var(--em-label); font-size-adjust: none; font-weight: 300; font-size: 11px; line-height: 16px; color: #BCB9AF; }
@media (max-width: 767px) { .em-f__send { margin-top: 48px; } .em-eq h1 { font-size: 48px; line-height: 48px; letter-spacing: 9.6px; } }

/* ---------- 19. Страница тура (по образцу программы путешествия: фото слева, разделы справа) ---------- */
.em-native, #allrecords .t-rec[data-record-type="106"], #allrecords .t-rec[data-record-type="670"] { display: none !important; }
.em-page { opacity: 0; transition: opacity .45s ease; }
.em-page[data-em-ready] { opacity: 1; }
.em-logos__ph.has-logo { background: #fff; }
.em-logos__ph img { max-width: 70%; max-height: 60%; object-fit: contain; }
.em-ti { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.em-tour { --em-tnav: 48px; position: relative; border-top: 1px solid var(--em-sand); }
.em-tnav { position: sticky; top: 0; z-index: 30; height: var(--em-tnav); background: #fff; border-bottom: 1px solid var(--em-sand); }
.em-tnav__in { display: flex; gap: 28px; height: 100%; padding: 0 24px; overflow-x: auto; scrollbar-width: none; }
.em-tnav__in::-webkit-scrollbar { display: none; }
.em-tnav a { position: relative; flex: none; display: inline-flex; align-items: center; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--em-nav); white-space: nowrap; transition: color .3s; }
.em-tnav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--em-accent); transform: scaleX(0); transition: transform .3s var(--em-ease); }
.em-tnav a:hover, .em-tnav a.is-on { color: var(--em-ink); }
.em-tnav a.is-on::after { transform: none; }
.em-tour__ph { display: none; }
.em-tour__pi, .em-tsec__mph { position: relative; overflow: hidden; background: var(--em-dark); }
.em-tour__pi > .em-ph, .em-tsec__mph > .em-ph, .em-tsl .em-ph { position: absolute; inset: 0; }
.em-tsec__mph { aspect-ratio: 3 / 2; }
.em-tsec { position: relative; background: #fff; }
.em-tsec__h { position: sticky; top: var(--em-tnav); z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 80px; padding: 12px 24px; background: #fff; border-bottom: 1px solid var(--em-sand); text-align: center; }
.em-tsec__h span { font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 14px; line-height: 20px; letter-spacing: .3em; text-transform: uppercase; color: var(--em-ink); }
.em-tsec__h small { font-family: var(--em-label); font-size-adjust: none; font-weight: 500; font-size: 11px; line-height: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--em-nav); }
.em-tsec__b { max-width: 645px; margin: 0 auto; padding: 32px 24px 72px; }
/* обложка */
.em-tcov { text-align: center; padding: 32px 0 16px; }
.em-tcov .em-label { color: var(--em-accent); }
.em-tcov__t { margin: 20px 0 0 !important; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 44px; line-height: 48px; letter-spacing: 4.4px; text-transform: uppercase; color: var(--em-ink); }
.em-tcov__w { margin: 20px 0 0 !important; font-family: var(--em-serif); font-size-adjust: .51; font-style: italic; font-weight: 300; font-size: 18px; line-height: 28px; color: var(--em-ink-2, #43464B); }
.em-tcov__m { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin: 32px 0 0 !important; padding: 20px 0 !important; list-style: none; border-top: 1px solid var(--em-sand); border-bottom: 1px solid var(--em-sand); }
.em-tcov__m li { font-family: var(--em-serif); font-size-adjust: .51; font-size: 15px; line-height: 22px; color: var(--em-ink); }
.em-tcov__m li span { display: block; margin-bottom: 2px; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 10px; line-height: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--em-nav); }
.em-tcov__i { margin-top: 28px; text-align: left; }
.em-tcov__i p, .em-ttxt p, .em-tmore__c p { margin: 0 0 16px !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 300; font-size: 16px; line-height: 28px; color: var(--em-ink); }
.em-tcov__go { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-top: 24px; border: 1px solid currentColor; border-radius: 50%; color: var(--em-ink); transition: background .3s, color .3s; }
.em-tcov__go:hover { background: var(--em-ink); color: #fff; }
/* краткая программа */
.em-tbt__tabs { display: flex; border-bottom: 1px solid var(--em-sand); }
.em-tbt__tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 8px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; cursor: pointer; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: var(--em-nav); transition: color .3s, border-color .3s; }
.em-tbt__tabs button.is-on { color: var(--em-ink); border-bottom-color: var(--em-accent); }
.em-tbt__tabs button .em-ti { width: 18px; height: 18px; }
.em-tbt__p { display: none; }
.em-tbt__p.is-on { display: block; }
.em-tbt table { width: 100%; border-collapse: collapse; }
.em-tbt th { padding: 16px 12px 12px; text-align: left; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--em-nav); border-bottom: 1px solid var(--em-sand); }
.em-tbt td { padding: 18px 12px; vertical-align: top; border-bottom: 1px solid var(--em-sand); font-family: var(--em-serif); font-size-adjust: .51; font-size: 15px; line-height: 22px; color: var(--em-ink); }
.em-tbt__d { width: 128px; }
.em-tbt__d b { display: block; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.em-tbt__d span { display: block; font-size: 14px; color: var(--em-nav); }
.em-tbt__d .em-tbt__pl { margin-top: 4px; color: var(--em-accent); }
.em-tbt__e { display: flex; gap: 12px; padding: 0 0 14px; }
.em-tbt__e:last-child { padding-bottom: 0; }
.em-tbt__e .em-ti { color: var(--em-accent); margin-top: 2px; }
.em-tbt__e small { display: block; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 10px; line-height: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--em-nav); }
.em-tbt__e--free { color: var(--em-nav); font-style: italic; }
/* карта */
.em-tmap { position: relative; z-index: 1; height: 420px; background: var(--em-sand); }
.em-tmap__no { padding: 48px 24px; text-align: center; font-family: var(--em-serif); font-size: 15px; color: var(--em-nav); }
.em-tmap__pin span { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border: 2px solid #fff; border-radius: 50%; background: var(--em-accent); color: #fff; font: 600 12px/1 'Montserrat', Arial, sans-serif; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.em-tmap__lt { margin: 28px 0 12px !important; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--em-ink); }
.em-tmap__l { margin: 0 !important; padding: 0 !important; list-style: none; }
.em-tmap__l li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--em-sand); font-family: var(--em-serif); font-size-adjust: .51; font-size: 15px; line-height: 22px; color: var(--em-ink); }
.em-tmap__l b { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--em-accent); color: #fff; font: 600 11px/22px 'Montserrat', Arial, sans-serif; text-align: center; }
/* день */
.em-tev { display: flex; gap: 16px; padding: 0 0 22px; }
.em-tev__ic { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--em-sand); border-radius: 50%; color: var(--em-accent); }
.em-tev__b { padding-top: 2px; min-width: 0; }
.em-tev__t { margin: 0 !important; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 15px; line-height: 22px; color: var(--em-ink); }
.em-tev__s { margin: 4px 0 0 !important; font-family: var(--em-serif); font-size-adjust: .51; font-size: 15px; line-height: 22px; color: var(--em-nav); }
.em-tev__tm { font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 13px; letter-spacing: .05em; color: var(--em-accent); }
.em-ttxt { margin-top: 12px; }
.em-tmore { margin: 4px 0 20px; }
.em-tmore__b, .em-tmore__a { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: var(--em-accent); }
.em-tmore__a { margin: 4px 0 20px; }
.em-tmore__b .em-ti { transition: transform .3s; }
.em-tmore.is-open .em-tmore__b .em-ti { transform: rotate(45deg); }
.em-tmore__c { display: none; padding-top: 16px; }
.em-tmore.is-open .em-tmore__c { display: block; }
.em-tsl { position: relative; overflow: hidden; aspect-ratio: 16 / 9; margin-top: 24px; background: var(--em-dark); }
.em-tsl__track { display: flex; height: 100%; transition: transform .6s var(--em-ease); }
.em-tsl__it { position: relative; flex: 0 0 100%; height: 100%; }
.em-tsl--one > .em-ph { position: absolute; inset: 0; }
.em-tsl__b { position: absolute; top: 50%; z-index: 2; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--em-ink); cursor: pointer; }
.em-tsl__b--p { left: 12px; }
.em-tsl__b--n { right: 12px; }
.em-tsl__c { position: absolute; right: 12px; bottom: 12px; z-index: 2; padding: 4px 10px; background: rgba(0,0,0,.45); color: #fff; font: 600 11px/16px 'Montserrat', Arial, sans-serif; letter-spacing: .1em; }
/* заявка в конце */
.em-tend { padding: 48px 0; text-align: center; }
.em-tend .em-label { color: var(--em-accent); }
.em-tend h2 { margin: 16px 0 !important; font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 550; font-size: 40px; line-height: 44px; letter-spacing: 4px; text-transform: uppercase; color: var(--em-ink); }
.em-tend p { margin: 0 0 28px !important; font-family: var(--em-serif); font-size-adjust: .51; font-size: 16px; line-height: 26px; color: var(--em-nav); }
@media (min-width: 1024px) {
  .em-tour__g { display: grid; grid-template-columns: 1fr 1fr; }
  .em-tour__ph { display: block; }
  .em-tour__pi { position: sticky; top: var(--em-tnav); height: calc(100vh - var(--em-tnav)); }
  .em-tsec__mph { display: none; }
  .em-tsec { min-height: calc(100vh - var(--em-tnav)); }
  .em-tsec__b { padding: 40px 66px 96px; }
  #tour-cover .em-tsec__b, #tour-end .em-tsec__b { display: flex; flex-direction: column; justify-content: center; min-height: calc(100vh - var(--em-tnav)); }
  .em-tcov__t { font-size: 56px; line-height: 60px; letter-spacing: 5.6px; }
  .em-tnav__in { justify-content: safe center; }
}
@media (max-width: 599px) {
  .em-tbt td, .em-tbt th { padding-left: 8px; padding-right: 8px; }
  .em-tbt__d { width: 96px; }
  .em-tbt__h4 th:nth-child(3), .em-tbt__h4 td:nth-child(3) { display: none; }
  .em-tmap { height: 320px; }
}

/* ---------- 17. Подвал (как у эталона, без ряда логотипов) ---------- */
/* фон #535353; сетка 2 → 3 → 5 колонок; заголовки 14 px капсом оранжевые; ссылки антиквой 14/20; подписка с полем-линией и контурной кнопкой */
.em-foot { background: var(--em-foot); color: #fff; }
.em-foot__grid, .em-foot__line, .em-foot__bot { width: 100%; margin: 0 auto; }
.em-foot__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 8px; row-gap: 32px; padding: 56px 16px; }
.em-foot__h { font-family: var(--em-label); font-size-adjust: none; font-weight: 600; font-size: 14px; line-height: 20px; letter-spacing: 2.8px; text-transform: uppercase; color: var(--em-accent); }
.em-foot__col ul { padding-top: 32px; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 300; font-size: 14px; line-height: 20px; letter-spacing: .13px; }
.em-foot__col li + li { margin-top: 8px; }
.em-foot__col a { transition: color .3s; }
.em-foot__col a:hover { color: var(--em-accent); }
.em-foot__sub { order: -1; grid-column: span 2; }
.em-foot__txt { margin-top: 32px !important; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 300; font-size: 14px; line-height: 20px; letter-spacing: .13px; }
.em-foot__form { display: flex; width: 100%; margin: 36px 0 40px; }
.em-foot__form input { flex: 1; min-width: 0; margin-right: 16px; padding: 0; border: 0; border-bottom: 1px solid #E5E7EB; border-radius: 0; background: transparent; outline: 0; color: #fff; font-family: var(--em-serif); font-size-adjust: .51; font-size: 14px; line-height: 20px; }
.em-foot__form input::placeholder { color: #9CA3AF; }
.em-foot__form .em-btn { flex: none; padding: 12px 16px; }
.em-foot__ok { margin: 36px 0 40px !important; font-family: var(--em-serif); font-size-adjust: .51; font-size: 14px; color: #fff; }
.em-foot__social { display: flex; flex-wrap: wrap; align-items: center; }
.em-foot__social a { display: block; color: var(--em-accent); transition: color .3s; }
.em-foot__social a:hover { color: #fff; }
.em-foot__social svg { width: 20px; height: 20px; margin: 4px 24px 4px 0; }
.em-foot__line { border-top: 1px solid rgba(255,255,255,.2); }
.em-foot__bot { display: flex; flex-direction: column; gap: 8px; padding: 24px 16px; font-family: var(--em-serif); font-size-adjust: .51; font-weight: 300; font-size: 12px; line-height: 16px; color: #B2AEAA; text-align: center; }
.em-foot__bot span { font-family: var(--em-label); font-size-adjust: none; font-size: 11px; color: rgba(178,174,170,.5); }
@media (min-width: 768px) {
  .em-foot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .em-foot__sub { grid-column: span 3; }
}
@media (min-width: 1024px) {
  .em-foot__grid { grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 56px 64px; max-width: 1024px; }
  .em-foot__sub { order: 0; grid-column: span 2; }
  .em-foot__line, .em-foot__bot { max-width: 1024px; }
  .em-foot__line { width: calc(100% - 128px); }
  .em-foot__bot { padding: 24px 64px; }
}
@media (min-width: 1280px) {
  .em-foot__grid { gap: 64px; max-width: 1280px; }
  .em-foot__line, .em-foot__bot { max-width: 1280px; }
  .em-foot__line { max-width: 1152px; }
  .em-foot__bot { flex-direction: row; align-items: center; gap: 32px; text-align: left; }
  .em-foot__bot p { flex: 1; text-align: center; }
}
@media (min-width: 1536px) {
  .em-foot__grid, .em-foot__bot { max-width: 1536px; }
  .em-foot__line { max-width: 1408px; }
}

/* ---------- 18. Всплывающая подписка ---------- */
.em-pop { position: fixed; z-index: 970; right: 24px; bottom: 24px; width: 620px; max-width: calc(100% - 48px); display: grid; grid-template-columns: 220px 1fr; background: var(--em-sand); box-shadow: 0 30px 60px -30px rgba(28,28,28,.45);
  opacity: 0; visibility: hidden; transform: translateY(30px); transition: opacity .8s var(--em-ease), transform .8s var(--em-ease), visibility .8s; }
.em-pop.is-open { opacity: 1; visibility: visible; transform: none; }
.em-pop .em-ph { min-height: 100%; }
.em-pop__body { position: relative; padding: 36px 36px 30px; }
.em-pop__x { position: absolute; top: 10px; right: 10px; }
.em-pop h3 { font-family: var(--em-display); font-size-adjust: cap-height .74; font-weight: 400; font-size: 26px; line-height: 1.1; letter-spacing: .08em; text-transform: uppercase; padding-right: 24px; }
.em-pop p { margin-top: 12px !important; font-size: 15px; line-height: 1.5; color: var(--em-ink-2); }
.em-pop__q { display: flex; align-items: center; gap: 18px; margin-top: 16px; font-size: 14px; }
.em-pop__q label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.em-pop__q input { accent-color: var(--em-ink); }
.em-pop form { margin-top: 16px; display: grid; gap: 10px; }
.em-pop input[type=email] { height: 46px; padding: 0 14px; border: 1px solid var(--em-line); background: #fff; outline: 0; font-size: 15px; transition: border-color .4s; }
.em-pop input[type=email]:focus { border-color: var(--em-ink); }
.em-pop .em-btn { width: 100%; height: 46px; }
@media (max-width: 599px) {
  .em-pop { right: 0; bottom: 0; max-width: 100%; width: 100%; grid-template-columns: 1fr; }
  .em-pop .em-ph { display: none; }
  .em-pop__body { padding: 28px var(--em-gut) 24px; }
}

/* ---------- 19. Без анимаций для тех, кто их отключил ---------- */
@media (prefers-reduced-motion: reduce) {
  .em-header-root *, .em-page *, .em-footer-root *, .em-layer * { animation: none !important; transition-duration: .01s !important; transition-delay: 0s !important; }
  .em-js [data-em-reveal] { opacity: 1; transform: none; }
}

/* Родная форма Тильды на странице заявки */
.em-eqf { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.em-eqf .t-rec, .em-eqf .em-eqf__rec { padding: 0 !important; background: transparent !important; }
.em-eqf .t-container, .em-eqf .t-col, .em-eqf .t-container_100 { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.em-eqf .t-section__topwrapper { display: none !important; }
.em-eqf .t-input-group { margin-bottom: 32px; }
.em-eqf .t-input-title { font-family: var(--em-label); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--em-muted); padding-bottom: 8px; }
.em-eqf .t-input, .em-eqf textarea.t-input { border-radius: 0 !important; border: 0 !important; border-bottom: 1px solid var(--em-ink) !important; background: transparent !important; font-family: var(--em-serif); font-size: 18px; color: var(--em-ink); padding-left: 0 !important; }
.em-eqf .t-submit { background: var(--em-accent) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important; font-family: var(--em-label); font-weight: 600; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; height: 56px; padding: 0 40px; width: auto; transition: background .3s; }
.em-eqf .t-submit:hover { background: var(--em-accent-2) !important; }
.em-eqf .t-form__successbox, .em-eqf .t-form__errorbox-text { font-family: var(--em-serif); }
