/* ATLAS · дизайн-система новой версии (Задача 7). Перенос из прототипа D:\Workspaces\Landings\ATLAS\style.css.
   Только компоненты, которые Тильда не умеет штатно: слайдер, «О направлении» с карточками, кнопки.
   Все классы с префиксом atl-, переменные объявлены на .atl, глобальные стили Тильды не трогаем.
   Исходник: Задача 7/Код/atl.css → Тильда: CSS проекта 60897109 (update_project_css_code). */

.atl {
  --atl-bg: #DAD8D8;
  --atl-bg-dark: #0F0F0F;
  --atl-card: #282828;
  --atl-card-open: #212121;
  --atl-text: #000000;
  --atl-text-muted: #3D3D3D;
  --atl-light: #FFFFFF;
  --atl-light-muted: #AEAEAE;
  --atl-font-head: 'DrukWideCyr', 'Druk Wide Cyr', Arial, sans-serif;
  --atl-font-body: 'Montserrat', Arial, sans-serif;
  --atl-h2: clamp(1.1rem, calc(1.5vw + 0.8rem), 1.55rem);
  --atl-h3: clamp(0.85rem, calc(1.5vw + 0.5rem), 1.35rem);
  --atl-ls-head: 0.03em;
  --atl-lh-head: 1.3;
  --atl-lh-body: 1.6;
  --atl-pad: clamp(15px, 4vw, 64px);
  --atl-card-pad: clamp(30px, calc(3vw + 10px), 40px);
  --atl-slider-h: clamp(380px, calc(30vw + 200px), 520px);
  --atl-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --atl-ease-soft: cubic-bezier(0.25, 1, 0.5, 1);
  font-family: var(--atl-font-body);
  color: var(--atl-text);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Сбросы через :where (нулевая специфичность), чтобы стили компонентов всегда их перебивали */
:where(.atl) *, :where(.atl) *::before, :where(.atl) *::after { box-sizing: border-box; margin: 0; padding: 0; }
:where(.atl) img { max-width: 100%; height: auto; display: block; }
:where(.atl) button { font-family: inherit; }
:where(.atl) a { color: inherit; text-decoration: none; }
.atl-wrap { max-width: 1600px; margin: 0 auto; position: relative; }
.atl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Заголовок секции с линиями по бокам */
.atl-divider { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; }
.atl-divider__line { flex-grow: 1; height: 1px; background: rgba(0, 0, 0, 0.15); }
.atl-h2 {
  font-family: var(--atl-font-head); font-weight: 700; font-size: var(--atl-h2);
  text-transform: uppercase; letter-spacing: var(--atl-ls-head); white-space: nowrap;
}

/* Кнопка (btn-premium): заливка снизу, точечная сетка под курсором, стрелка уезжает вправо */
.atl-btn {
  display: inline-flex; align-items: center; justify-content: flex-start; gap: 15px;
  background: transparent; border: 1.5px solid var(--atl-text); color: var(--atl-text);
  padding: 18px 32px; font-family: var(--atl-font-body); font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; position: relative; overflow: hidden;
  isolation: isolate; --atl-dot: rgba(255, 255, 255, 0.15);
  transition: color 0.5s var(--atl-ease), border-color 0.5s var(--atl-ease), box-shadow 0.5s var(--atl-ease);
}
.atl-btn::before, .atl-btn::after { content: ''; position: absolute; inset: 0; pointer-events: none; }
.atl-btn::before { z-index: -2; background: transparent; transition: background-color 0.5s var(--atl-ease); }
.atl-btn::after {
  z-index: -1; opacity: 0; transition: opacity 0.3s ease;
  background-image: radial-gradient(circle, var(--atl-dot) 1.2px, transparent 1.2px); background-size: 6px 6px;
  -webkit-mask-image: radial-gradient(circle 24px at var(--atl-mx, 50%) var(--atl-my, 50%), #000 20%, transparent 100%);
          mask-image: radial-gradient(circle 24px at var(--atl-mx, 50%) var(--atl-my, 50%), #000 20%, transparent 100%);
}
.atl-btn__arrow { display: inline-block; line-height: 1; transform: translateY(-2px); transition: transform 0.3s var(--atl-ease); }
.atl-btn:hover { color: var(--atl-light); }
.atl-btn:hover::before { background-color: var(--atl-text); }
.atl-btn:hover::after { opacity: 1; }
.atl-btn:hover .atl-btn__arrow { transform: translateX(8px) translateY(-2px); }
.atl-btn:focus-visible { outline: 2px solid var(--atl-text); outline-offset: 3px; }

/* ===== Слайдер ===== */
.atl-slider { padding: 0 var(--atl-pad); margin-bottom: 60px; }
.atl-slider__box { position: relative; }
.atl-slider__viewport { position: relative; height: var(--atl-slider-h); width: 100%; overflow: hidden; background: #A0A0A0; }
.atl-slider__slide { position: absolute; inset: 0; opacity: 0; z-index: 1; transition: opacity 1.2s var(--atl-ease-soft); }
.atl-slider__slide.is-active { opacity: 1; z-index: 2; }
.atl-slider__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 12s ease-out; }
.atl-slider__slide.is-active .atl-slider__img { transform: scale(1); }
.atl-slider__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: clamp(40px, calc(4vw + 10px), 50px); height: clamp(40px, calc(4vw + 10px), 50px);
  background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(255, 255, 255, 0.2); color: var(--atl-light);
  display: flex; justify-content: center; align-items: center; cursor: pointer;
  transition: background-color 0.5s var(--atl-ease), color 0.5s var(--atl-ease);
}
.atl-slider__arrow svg { width: 20px; height: 20px; fill: currentColor; }
.atl-slider__arrow--prev { left: 40px; }
.atl-slider__arrow--next { right: 40px; }
.atl-slider__arrow:hover { background: var(--atl-light); color: var(--atl-text); }
.atl-slider__dots {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 10;
  display: flex; align-items: center; gap: 8px; padding: 10px 20px;
  background: rgba(0, 0, 0, 0.2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0.55;
  transition: opacity 0.25s var(--atl-ease-soft), background-color 0.25s var(--atl-ease-soft);
}
.atl-slider__dots:hover { opacity: 1; background: rgba(0, 0, 0, 0.45); }
.atl-slider__dot {
  width: 10px; height: 10px; border: 1px solid rgba(255, 255, 255, 0.45); background: transparent;
  cursor: pointer; position: relative; overflow: hidden;
  transition: width 0.4s var(--atl-ease), border-color 0.3s ease, background-color 0.3s ease;
}
.atl-slider__dot::after { content: ''; position: absolute; inset: -8px; }
.atl-slider__dot:hover { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.6); }
.atl-slider__dot.is-active { width: 32px; background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.7); }
.atl-slider__fill { position: absolute; inset: 0; background: rgba(255, 255, 255, 0.8); transform: scaleX(0); transform-origin: left; }
.atl-slider__dot.is-active .atl-slider__fill { animation: atl-progress var(--atl-slide-ms, 6000ms) linear forwards; }
@keyframes atl-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* Кнопка на слайдере: белая, на ховере чёрная. Стоит вне viewport, поэтому на телефоне не обрезается */

/* ===== О направлении + карточки ===== */
.atl-about { display: flex; flex-direction: column; width: 100%; }
.atl-about__side { padding: 60px var(--atl-pad); }
.atl-about__content { display: flex; flex-direction: column; gap: 30px; max-width: 800px; margin: 0 auto; }
.atl-about__text { font-size: 1.05rem; line-height: 1.7; font-weight: 400; }
.atl-about__text strong { font-weight: 700; }
/* Кнопка заявки и телефон под текстом «О направлении» (раньше кнопка стояла на карусели) */
.atl-about__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; padding-top: 6px; }
.atl-about__call { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.atl-about__call-label { font-size: 0.8rem; color: var(--atl-text-muted); }
.atl-about__phone {
  font-size: 1.25rem; font-weight: 700; color: var(--atl-text); text-decoration: none; white-space: nowrap;
  font-variant-numeric: tabular-nums; transition: color 0.3s ease;
}
.atl-about__phone:hover { color: #0066FF; }
.atl-about__phone:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.atl-word { display: inline; color: rgba(0, 0, 0, 0.22); transition: color 0.5s var(--atl-ease); }
.atl-word.is-lit { color: var(--atl-text); }
.atl-about__cards { padding: 0 var(--atl-pad) 80px; display: flex; flex-direction: column; gap: 30px; }
.atl-card {
  position: relative; background: var(--atl-card); color: var(--atl-light); padding: var(--atl-card-pad);
  overflow: hidden; cursor: pointer; border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: background-color 0.5s var(--atl-ease), box-shadow 0.5s var(--atl-ease), border-color 0.5s var(--atl-ease), transform 0.5s var(--atl-ease);
}
.atl-card:hover { box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); border-color: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.atl-card:focus-visible { outline: 2px solid var(--atl-text); outline-offset: 3px; }
.atl-card__head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 25px; }
.atl-card__title {
  font-family: var(--atl-font-head); font-weight: 700; font-size: var(--atl-h3); line-height: var(--atl-lh-head);
  text-transform: uppercase; letter-spacing: var(--atl-ls-head); min-width: 0;
  overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto;
}
.atl-card__arrow {
  width: 44px; height: 44px; flex-shrink: 0; display: flex; justify-content: center; align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.06); color: #fff; cursor: pointer;
  transition: background-color 0.5s var(--atl-ease), border-color 0.5s var(--atl-ease);
}
.atl-card__arrow svg { width: 18px; height: 18px; fill: #fff; transition: transform 0.5s var(--atl-ease); }
.atl-card:hover .atl-card__arrow { background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.25); }
.atl-card__short, .atl-card__more p { font-size: 1rem; line-height: var(--atl-lh-body); color: var(--atl-light-muted); }
.atl-card__short strong, .atl-card__more p strong { color: var(--atl-light); font-weight: 600; }
.atl-card__acc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--atl-ease); }
.atl-card__acc > div { overflow: hidden; min-height: 0; }
.atl-card__more { padding-top: 25px; margin-top: 25px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-direction: column; gap: 20px; }
.atl-card.is-open { background: var(--atl-card-open); }
.atl-card.is-open .atl-card__acc { grid-template-rows: 1fr; }
.atl-card.is-open .atl-card__arrow { background: rgba(255, 255, 255, 0.22); border-color: rgba(255, 255, 255, 0.4); }
.atl-card.is-open .atl-card__arrow svg { transform: rotate(180deg); }
.atl-rw { display: inline-block; opacity: 0.15; }
.atl-card.is-open .atl-rw { animation: atl-word-in 0.45s ease forwards; animation-delay: calc(var(--i) * 0.01s); }
@keyframes atl-word-in { to { opacity: 1; } }

@media (min-width: 1024px) {
  /* Левая колонка «плавает» (sticky), правая идёт вместе со страницей. Своей прокрутки у блока нет.
     Ширина левой: 35vw как в прототипе, но не больше 672 px (иначе на 2560 правая сжималась до 516 px). */
  .atl-about { display: grid; grid-template-columns: min(35vw, 672px) minmax(0, 1fr); gap: 60px;
    padding: 60px var(--atl-pad) 80px; align-items: start; }
  .atl-about__side { position: sticky; top: 80px; padding: 0; z-index: 10; }
  .atl-about__cards { padding: 0; }
}
@media (max-width: 768px) {
  .atl-h2 { white-space: normal; }
}
/* ===== Zero-секции на автолейауте: не шире 1600 px, как контейнер прототипа ===== */
.t396__artboard.t396__artboard-flex { max-width: 1600px; margin-left: auto; margin-right: auto; }
/* шапка на главной шире: до 2400 px, как её первый экран. На остальных страницах 1600 px, по ширине содержимого
   (решение владельца 23.11.2026: на услугах шапка фиксированная, как на металлоконструкциях) */
body:has([data-atl="home"]) .t396__artboard.t396__artboard-flex:has(.atl-burger) { max-width: 2400px; }

/* ===== Шапка (Zero): пункты меню с линией снизу, телефон, соцсети, бургер ===== */
.atl-nav .tn-atom { position: relative; display: inline-block; padding: 5px 0; }
.t396 .atl-nav .tn-atom, .t396 .atl-hphone .tn-atom { transition: opacity 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important; }
.atl-nav .tn-atom::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: #000;
  transform: scaleX(0); transform-origin: right; transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.atl-nav .tn-atom:hover { opacity: 0.8; }
.atl-nav .tn-atom:hover::after, .atl-nav .tn-atom:focus-visible::after { transform: scaleX(1); transform-origin: left; }
/* Zero ставит white-space: normal на брейкпоинтах, поэтому !important; иначе «hug» переносит номер по словам */
.atl-hphone .tn-atom, .atl-addr .tn-atom { white-space: nowrap !important; }
.atl-fill { height: 100%; }
.atl-hphone .tn-atom:hover, .atl-addr .tn-atom:hover { opacity: 0.7; }
.t396 .atl-addr .tn-atom { transition: opacity 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important; }
/* Группа меню шапки: Тильда считает её ширину «по содержимому» до загрузки шрифта (на 1024 выходило 314 px вместо 383),
   пункты вылезали вправо и наезжали на контакты. Ширина по содержимому здесь, тогда зазоры слева и справа равны
   (Задача 12, круг 2). */
.t396__group:has(> .tn-molecule > .atl-nav), .t396__group:has(> .tn-molecule > .atl-nav) > .tn-molecule { width: max-content !important; }
/* На самых узких телефонах номер не помещается рядом с логотипом и бургером: он есть в меню */
@media (max-width: 349px) { .atl-hphone { display: none !important; } }

.atl-socials { display: flex; align-items: center; gap: 12px; }
.atl-social, .atl-burger, .atl-drawer__close {
  display: flex; justify-content: center; align-items: center; width: 42px; height: 42px; flex-shrink: 0;
  position: relative; overflow: hidden; cursor: pointer; color: #000;
  background: rgba(0, 0, 0, 0.02); border: 1px solid rgba(0, 0, 0, 0.1);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}
.atl-social::before, .atl-burger::before, .atl-drawer__close::before {
  content: ''; position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.1) 1.5px, transparent 1.5px); background-size: 6px 6px; background-position: center;
  -webkit-mask-image: radial-gradient(circle 18px at var(--atl-mx, 50%) var(--atl-my, 50%), #000 20%, transparent 100%);
          mask-image: radial-gradient(circle 18px at var(--atl-mx, 50%) var(--atl-my, 50%), #000 20%, transparent 100%);
}
.atl-social:hover, .atl-burger:hover, .atl-drawer__close:hover { background-color: rgba(0, 0, 0, 0.04); border-color: rgba(0, 0, 0, 0.25); }
.atl-social:hover::before, .atl-burger:hover::before, .atl-drawer__close:hover::before { opacity: 1; }
.atl-social:focus-visible, .atl-burger:focus-visible, .atl-drawer__close:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.atl-social svg { width: 20px; height: 20px; fill: currentColor; position: relative; z-index: 2; }
.atl-burger { width: 100%; height: 100%; flex-direction: column; gap: 5px; background: transparent !important; border: 0 !important; }
.atl-burger::before { display: none; }
.atl-burger span { width: 26px !important; height: 3.5px !important; border-radius: 3px; background: #555555 !important; }
.atl-burger span, .atl-drawer__close span { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; z-index: 2; }
.atl-drawer__close span { position: absolute; }
.atl-drawer__close span:first-child { transform: rotate(45deg); }
.atl-drawer__close span:last-child { transform: rotate(-45deg); }

/* ===== Меню-шторка (бургер, <1024): строит atl.js, кладёт в конец body ===== */
html.atl-lock, html.atl-lock body { overflow: hidden !important; }
.atl-drawer { position: fixed; inset: 0; z-index: 99990; visibility: hidden; pointer-events: none; transition: visibility 0s linear 0.5s; }
.atl-drawer.is-open { visibility: visible; pointer-events: auto; transition-delay: 0s; }
.atl-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.4); opacity: 0; transition: opacity 0.4s var(--atl-ease); }
.atl-drawer.is-open .atl-drawer__backdrop { opacity: 1; }
.atl-drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 28px; padding: 18px var(--atl-pad) 32px;
  background-color: rgba(255, 255, 255, 0.98);
  background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 20px 20px; border-left: 1.5px solid rgba(0, 0, 0, 0.15); box-shadow: -20px 0 45px rgba(0, 0, 0, 0.08);
  transform: translateX(100%); transition: transform 0.5s var(--atl-ease);
}
.atl-drawer.is-open .atl-drawer__panel { transform: none; }
.atl-drawer__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.atl-drawer__logo img { height: 30px; width: auto; }
.atl-drawer__label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(0, 0, 0, 0.45); margin-bottom: 6px;
}
.atl-drawer__links a {
  display: block; padding: 12px 0; font-size: 1rem; font-weight: 500; border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: color 0.3s ease, transform 0.3s ease;
}
.atl-drawer__links a:hover { color: #0066FF; transform: translateX(4px); }
.atl-drawer__sec {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0;
  background: none; border: 0; border-bottom: 1.5px solid rgba(0, 0, 0, 0.1); cursor: pointer; color: #000; text-align: left;
  font-family: var(--atl-font-head); font-weight: 700; font-size: 0.9rem; letter-spacing: var(--atl-ls-head); text-transform: uppercase;
}
.atl-drawer__sec svg { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; transition: transform 0.5s var(--atl-ease); }
.atl-drawer__sec[aria-expanded="true"] svg { transform: rotate(180deg); }
.atl-drawer__sec:focus-visible, .atl-drawer__links a:focus-visible, .atl-drawer__list a:focus-visible { outline: 2px solid #000; outline-offset: 2px; }
.atl-drawer__acc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--atl-ease); }
.atl-drawer__acc > div { overflow: hidden; min-height: 0; }
.atl-drawer__sec[aria-expanded="true"] + .atl-drawer__acc { grid-template-rows: 1fr; }
.atl-drawer__list { list-style: none; display: flex; flex-direction: column; padding: 10px 0 14px; }
.atl-drawer__list a {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.9rem; font-weight: 500; color: #555;
  transition: color 0.3s ease, transform 0.3s ease;
}
.atl-drawer__list a:hover { color: #0066FF; transform: translateX(4px); }
.atl-drawer__list a[aria-current="page"] { color: #000; font-weight: 700; }
.atl-badge {
  display: inline-block; padding: 3px 7px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: #000; color: #fff; line-height: 1.2;
}
.atl-drawer__contacts { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 10px; }
.atl-drawer__phone { font-size: 1.25rem; font-weight: 700; }
.atl-drawer__addr { font-size: 0.85rem; color: var(--atl-text-muted); }
.atl-drawer__contacts .atl-btn { justify-content: center; margin-top: 6px; }

/* ===== «Почему выбирают»: пункт на ховере сдвигается на 10 px и белеет (.advantage-item прототипа, .25s) ===== */
.t396 .atl-adv { transition: background-color 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important; }
.t396 .atl-adv:hover { background-color: rgba(255, 255, 255, 0.01); }
.t396 .atl-adv .t396__elem { transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important; }
.t396 .atl-adv:hover .t396__elem { transform: translateX(10px); }
.t396 .atl-adv .atl-adv__text .tn-atom { transition: color 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important; }
.t396 .atl-adv:hover .atl-adv__text .tn-atom { color: #FFFFFF !important; }

/* ===== Без рывков при загрузке и переходах (замер layout-shift 23.11.2026) =====
   1. Zero-блок с автолейаутом до раскладки Тильды (класса rendered ещё нет) стоит запасной высоты ab_height (100 px),
      после раскладки сжимается до содержимого: крошки 100 → 50 px, и вся страница под ними прыгала вверх.
      Все наши Zero-блоки по высоте «по содержимому», поэтому до раскладки та же высота по содержимому.
   2. Пункты шапки до раскладки стоят по абсолютным координатам и потом съезжают. Раньше прятали только шапку,
      и она появлялась на 150 мс позже страницы: логотип «моргал». Теперь страница показывается целиком, когда шапка
      разложена и шрифты готовы; при переходе браузер всё это время держит на экране прошлую страницу.
      Если скрипт Тильды не сработал, страница всё равно показывается через 1,5 с. */
.t396__artboard-flex:not(.rendered) { height: auto !important; }
#allrecords:has(.t396__artboard-flex:not(.rendered) .atl-burger), html:not(.atl-fonts) #allrecords {
  visibility: hidden; animation: atl-reveal 0s linear 1.5s forwards;
}
@keyframes atl-reveal { to { visibility: visible; } }

/* ===== Навигация по разделам (Zero, страница-подвал): ховер, «Текущий» ===== */
@media (min-width: 768px) { .atl-h2z .tn-atom { white-space: nowrap !important; } }
/* Переходы как у .nav-col-item-link прототипа (.3s ease). !important: Тильда ставит на .tn-atom свой transition без длительности */
.t396 .atl-navitem .tn-atom { transition: color 0.3s ease, transform 0.3s ease !important; }
.t396 .atl-navitem .tn-atom span { transition: color 0.3s ease !important; }
.t396 .atl-navitem .tn-atom:hover { color: #0066FF !important; transform: translateX(4px); }
.atl-navitem .tn-atom:hover span { color: #0066FF !important; }
.atl-navitem a[aria-current="page"] { color: #000; }
.atl-navitem .atl-navitem__sub { color: #000; }
.atl-navitem .atl-badge-cur {
  display: inline-block; margin-left: 8px; padding: 2px 6px; vertical-align: middle; line-height: 1.3;
  font-family: var(--t-headline-font, 'DrukWideCyr'), Arial, sans-serif; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase;
  color: #0066FF !important; border: 1px solid #0066FF;
}

/* ===== Окно заявки (Zero-форма Тильды в поп-апе, класс atl-form) ===== */
/* Блокировка прокрутки поп-апом не сдвигает страницу вбок: место под полосу прокрутки держим всегда */
html { scrollbar-gutter: stable; }
.atl-form .t-input-title { text-transform: uppercase; letter-spacing: 0.08em; }
.atl-form .t-submit { text-transform: uppercase; letter-spacing: 0.05em; }
.atl-form .t-input { transition: border-color 0.3s ease, background-color 0.3s ease; }
.atl-form .t-input:focus { border-color: #FFFFFF !important; background-color: #333333 !important; outline: none; }
.atl-form .t-checkbox__control a, .atl-form .t-checkbox__labeltext a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 2px; }
/* Ошибки раскрываются плавно и не выталкивают поля рывком; сигнал текстом и рамкой, без тряски.
   Общий список ошибок Тильды скрыт: полей мало, подсказка у каждого поля видна рядом с кнопкой. */
.atl-form .t-input-error {
  position: static !important; width: auto !important; background: none !important; box-shadow: none !important;
  padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  /* Высота строки через grid: 0fr → 1fr даёт точную высоту текста (max-height давал ложный старт и обрыв) */
  display: grid !important; grid-template-rows: minmax(0, 0fr); opacity: 0; overflow: hidden; margin-top: 0 !important;
  color: #FF6B5A; font-size: 12px; font-weight: 600; line-height: 1.4;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.atl-form .js-error-control-box .t-input-error { grid-template-rows: minmax(0, 1fr); opacity: 1; margin-top: 6px !important; }
/* У Тильды правила ошибок с :not()/:is(:has()) и !important, поэтому селекторы длиннее, чем хотелось бы */
.t396 .atl-form .t-form .t-input-group .t-input-error { color: #FF6B5A !important; }
.t396 .atl-form .t-form .js-error-control-box .t-input:not(.t-input-phonemask):not(.t-input-ownanswer):not(.t-input__own-answer),
.t396 .atl-form .t-form .js-error-control-box .t-input-phonemask__wrap { border-color: #FF6B5A !important; }
.atl-form .t-input-error::before, .atl-form .t-input-error::after { display: none !important; }
/* Рамку вокруг согласия Тильда рисует новой рамкой с отступом: форма меняет вид и сдвигает текст. Вместо неё красный квадрат */
.t396 .atl-form .t-form .t-input-group.t-input-group_cb.js-error-control-box .t-input-block .t-checkbox__control {
  border: 0 !important; outline: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 !important; background: none !important;
}
.t396 .atl-form .t-form .t-input-group.js-error-control-box .t-checkbox__indicator { border-color: #FF6B5A !important; }
.t396 .atl-form .t-form .t-input-group.t-input-group_cb.js-error-control-box .t-input-block .t-checkbox__control::before { display: none !important; }
/* Общий список ошибок Тильды и красный тост в углу экрана (он ещё и исчезает сам) не нужны: подсказка стоит у поля */
.atl-form .t-form__errorbox-wrapper, .atl-form .t-form__errorbox-bottom, .tn-form__errorbox-popup { display: none !important; }

/* ===== Кнопка с лучом (прототип: .benefits-btn-glow-wrap, разметка из zero.mjs glowButtonHTML) =====
   Три слоя как в прототипе: размытое свечение, чёткая обводка (вращающийся квадрат с conic-gradient под рамкой 1.5 px)
   и тёмная середина. Вращение через transform: работает во всех браузерах, без @property. Значения прототипа. */
.atl-glowbtn {
  position: relative; width: 250px; height: 56px; display: flex; align-items: center; justify-content: center;
  overflow: visible; flex-shrink: 0;
  --atl-beam-speed: 5.4s; --atl-glow-blur: 21px; --atl-glow-inset: -12px; --atl-glow-radius: 24px; --atl-glow-max: 0.4;
  --atl-beam: conic-gradient(from 0deg, transparent 0%, #F7BB55 15%, #EC6746 50%, transparent 63%, transparent 100%);
}
.atl-glowbtn__glow {
  position: absolute; inset: var(--atl-glow-inset); z-index: 1; filter: blur(var(--atl-glow-blur)); pointer-events: none;
  animation: atl-glow-pulse 3s ease-in-out infinite alternate;
}
.atl-glowbtn__beam { position: absolute; inset: 0; border-radius: var(--atl-glow-radius); overflow: hidden; }
.atl-glowbtn__beam::before, .atl-glowbtn__border::before {
  content: ''; position: absolute; width: 300px; height: 300px; left: calc(50% - 150px); top: calc(50% - 150px);
  background: var(--atl-beam); animation: atl-beam-rotate var(--atl-beam-speed) linear infinite;
}
.atl-glowbtn__border { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; z-index: 2; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.atl-glowbtn__border::before { z-index: 1; }
.atl-glowbtn__inner {
  position: absolute; inset: 1.5px; z-index: 2; display: flex; align-items: center; justify-content: center;
  background: #090D16; border-radius: 11px; color: #FFFFFF; overflow: hidden; cursor: pointer;
  font-family: var(--atl-font-body); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.atl-glowbtn__inner:hover { background: #121824; color: #FFFFFF; }
.atl-glowbtn__inner > * { position: relative; z-index: 4; }
.atl-glowbtn__inner:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.atl-glowbtn__arrow { display: inline-block; line-height: 1; transform: translateY(-2px); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.atl-glowbtn__inner:hover .atl-glowbtn__arrow { transform: translateX(8px) translateY(-2px); }
@keyframes atl-beam-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes atl-glow-pulse { from { opacity: 0.45; transform: scale(0.98); } to { opacity: var(--atl-glow-max); transform: scale(1.02); } }

/* ===== Главная: первый экран (прототип: .home-grid, .homepage-triggers, .showcase-footer; кривые и длительности его) =====
   Высоту экрана считает atl.js: 100dvh минус шапка (--atl-hh). Фон страницы меняется вместе с разделом. */
body.t-body, #allrecords { transition: background-color 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
/* На главной подвала с навигацией нет: внизу волна, как в прототипе */
body:has([data-atl="home"]) #t-footer { display: none; }
.atl-home {
  position: relative; display: flex; flex-direction: column; max-width: 1600px; margin: 0 auto; overflow: hidden;
  min-height: calc(100vh - var(--atl-hh, 128px)); min-height: calc(100dvh - var(--atl-hh, 128px));
  --atl-gap: clamp(15px, 2vw, 30px); --atl-slide-gap: 70px;
}
.atl-home__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--atl-gap); padding: 20px var(--atl-pad) 0;
  height: calc(40vh + 20px); position: relative; z-index: 3;
}
.atl-home__col { display: flex; flex-direction: column; gap: var(--atl-gap); height: 100%; min-width: 0; }
.atl-hcard { position: relative; overflow: hidden; width: 100%; }
.atl-hcard--full { height: 100%; }
.atl-hcard--half { height: calc(50% - var(--atl-gap) / 2); }
.atl-hcard__inner {
  /* без постоянной тени: при смене раздела фото уезжают, а тень оставалась пятном под пустой плиткой */
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; overflow: hidden;
  transition: height 0.5s var(--atl-ease), box-shadow 0.5s var(--atl-ease), transform 0.5s var(--atl-ease), background-color 0.5s var(--atl-ease);
}
.atl-hcard__frame { position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; will-change: transform; z-index: 1; }
.atl-hcard__img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--atl-ease); }
.atl-hcard:hover .atl-hcard__img { transform: scale(1.06); }
.atl-hcard__overlay {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(18px, 1.8vw, 24px) clamp(15px, 1.5vw, 22px); background: rgba(0, 0, 0, 0.7);
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--atl-ease);
}
.atl-hcard:hover .atl-hcard__overlay, .atl-hcard:focus-within .atl-hcard__overlay { opacity: 1; pointer-events: auto; }
.atl-hcard__content { display: flex; flex-direction: column; gap: 8px; color: #FFFFFF; text-align: left; }
.atl-hcard__title {
  font-family: var(--atl-font-head); font-weight: 700; font-size: clamp(0.85rem, calc(1.1vw + 0.15rem), 1.1rem); line-height: 1.3;
  letter-spacing: var(--atl-ls-head); text-transform: uppercase; overflow-wrap: break-word;
  transform: translateY(15px); opacity: 0; transition: transform 0.5s var(--atl-ease), opacity 0.5s var(--atl-ease);
}
.atl-hcard__desc {
  font-size: clamp(0.75rem, 0.9vw, 0.85rem); line-height: 1.5; color: var(--atl-light-muted);
  transform: translateY(15px); opacity: 0; transition: transform 0.5s var(--atl-ease) 0.05s, opacity 0.5s var(--atl-ease) 0.05s;
}
.atl-hcard__link {
  font-family: var(--atl-font-head); font-weight: 700; font-size: clamp(0.7rem, 0.9vw, 0.8rem); color: #0066FF;
  text-transform: uppercase; letter-spacing: var(--atl-ls-head); margin-top: 5px; display: inline-flex; align-items: center; gap: 5px;
  transform: translateY(15px); opacity: 0;
  transition: transform 0.5s var(--atl-ease) 0.1s, opacity 0.5s var(--atl-ease) 0.1s, color 0.3s ease;
}
.atl-hcard__link:hover { color: #56CCF2; }
.atl-hcard__link:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; }
.atl-hcard:hover .atl-hcard__title, .atl-hcard:hover .atl-hcard__desc, .atl-hcard:hover .atl-hcard__link,
.atl-hcard:focus-within .atl-hcard__title, .atl-hcard:focus-within .atl-hcard__desc, .atl-hcard:focus-within .atl-hcard__link { transform: translateY(0); opacity: 1; }
/* «Доращивание» плитки, если текст не помещается (в прототипе задумано, но обрезалось): плитка растёт вниз и поднимается */
@media (min-width: 769px) {
  .atl-hcard { overflow: visible; }
  .atl-hcard.needs-expansion:hover, .atl-hcard.needs-expansion:focus-within { z-index: 50; }
  .atl-hcard.needs-expansion:hover .atl-hcard__inner, .atl-hcard.needs-expansion:focus-within .atl-hcard__inner {
    height: calc(100% + var(--atl-overflow, 95px)); transform: translateY(-5px); background-color: #212121;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  }
  .atl-hcard:not(.needs-expansion):hover { z-index: 10; }
  .atl-hcard:not(.needs-expansion):hover .atl-hcard__inner { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25); }
}
/* Вкладки разделов: серые кнопки, сверху чёрные копии, обрезанные clip-path по активной, черта 3 px */
.atl-home__tabs { display: flex; justify-content: center; margin-top: auto; margin-bottom: 29vh; position: relative; z-index: 10; padding: 0 var(--atl-pad); --atl-dur: 0.5s; }
.atl-tabs { position: relative; display: flex; gap: clamp(30px, 6vw, 100px); }
.atl-tabs__clip {
  position: absolute; inset: 0; pointer-events: none;
  clip-path: inset(0px calc(100% - var(--atl-clip-r, 0px)) 0px var(--atl-clip-l, 0px)); transition: clip-path var(--atl-dur) var(--atl-ease);
}
.atl-tabs__fg { display: flex; gap: clamp(30px, 6vw, 100px); height: 100%; width: 100%; }
.atl-tab {
  font-family: var(--atl-font-head); font-weight: 700; font-size: clamp(1.3rem, calc(3.2vw + 0.4rem), 3.1rem); line-height: normal;
  text-transform: uppercase; letter-spacing: var(--atl-ls-head); border: 0; background: transparent; padding: clamp(6px, 1vw, 12px) 0; white-space: nowrap;
}
button.atl-tab { color: rgba(0, 0, 0, 0.3); cursor: pointer; position: relative; z-index: 5; transition: color 0.4s var(--atl-ease); }
button.atl-tab:hover { color: rgba(0, 0, 0, 0.6); }
button.atl-tab.is-active { color: rgba(0, 0, 0, 0.3); }
button.atl-tab:focus-visible { outline: 2px solid #000000; outline-offset: 4px; }
.atl-tab--fg { color: #000000; display: block; }
.atl-tabs__line {
  position: absolute; bottom: 0; height: 3px; background: #000000; left: var(--atl-clip-l, 0px); width: var(--atl-clip-w, 0px);
  transition: left var(--atl-dur) var(--atl-ease), width var(--atl-dur) var(--atl-ease);
}
/* Волна-витрина у низа экрана: уходящая гаснет за .8s, приходящая поднимается из translateY(80px) scaleY(.9) за 1.2s */
.atl-home__showcase { position: absolute; bottom: 0; left: 0; width: 100%; height: 42vh; overflow: hidden; z-index: 1; pointer-events: none; }
.atl-wave {
  position: absolute; bottom: 0; left: 50.2%; width: 103%; max-width: none; height: auto; opacity: 0; z-index: 1;
  transform: translate3d(-50%, 80px, 0) scaleY(0.9); transform-origin: bottom center;
  transition: opacity 0.8s var(--atl-ease), transform 0s 0.8s;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, transparent 1.8%, rgba(0,0,0,0.08) 2.52%, rgba(0,0,0,0.35) 3.6%, rgba(0,0,0,0.75) 4.68%, #000 5.4%, #000 93.8%, rgba(0,0,0,0.75) 94.56%, rgba(0,0,0,0.35) 95.7%, rgba(0,0,0,0.08) 96.84%, transparent 97.6%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, transparent 1.8%, rgba(0,0,0,0.08) 2.52%, rgba(0,0,0,0.35) 3.6%, rgba(0,0,0,0.75) 4.68%, #000 5.4%, #000 93.8%, rgba(0,0,0,0.75) 94.56%, rgba(0,0,0,0.35) 95.7%, rgba(0,0,0,0.08) 96.84%, transparent 97.6%, transparent 100%);
}
.atl-wave.is-active {
  opacity: 1; z-index: 2; transform: translate3d(-50%, 0, 0) scaleY(1);
  transition: opacity 1.2s var(--atl-ease), transform 1.2s var(--atl-ease);
}
/* 769–1023: две колонки; в прототипе плитки сплющивались в 40vh, здесь у них своя высота */
@media (max-width: 1023px) {
  .atl-home__grid { grid-template-columns: repeat(2, 1fr); height: auto; }
  .atl-home__col { height: auto; }
  .atl-hcard--half { height: 200px; }
  .atl-hcard--full { height: calc(400px + var(--atl-gap)); }
}
@media (max-width: 768px) {
  .atl-home { min-height: 0; }
  .atl-home__grid { grid-template-columns: 1fr; gap: 20px; }
  .atl-home__col { gap: 20px; }
  .atl-hcard--full, .atl-hcard--half { height: 250px; }
  .atl-home__tabs { margin: 30px 0; }
  .atl-tabs { flex-direction: column; align-items: center; gap: 15px; }
  .atl-tabs__clip { display: none; }
  button.atl-tab.is-active { color: #000000; }
  .atl-home__showcase { position: relative; height: 200px; margin-top: 0; }
  .atl-wave { width: 100%; left: 50%; transform: translate3d(-50%, 0, 0); -webkit-mask-image: none; mask-image: none; }
  .atl-wave.is-active { transform: translate3d(-50%, 0, 0); }
}
/* ===== Главная от 1024 px: на всю ширину экрана и ровно в высоту экрана (просьба владельца 23.11.2026) =====
   Было: рамка 1600 px (на 1920 и шире пустые поля, волна обрывалась на краях рамки), вкладки на 29vh от низа,
   волна поверх нижних 42vh. Стало: колонка «плитки, вкладки, волна» высотой ровно экран минус шапка; плитки и вкладки
   во всю ширину до 2400 px (дальше, на ультрашироких, по центру), волна во всю ширину экрана до 2640 px.
   Волна прижата к низу экрана, ширина у трёх разделов одна: min(103 % экрана, высота места под вкладками / 0,13), где
   0,13 ширины это видимая часть бетона и террас. Ландшафт выше (растения над плитой), как он помещается, см. ниже.
   Три картинки с одного кадра 2560×988 (Картинки главной/волны-единый-холст/компьютер): у ландшафта сверху прозрачно,
   скамьи и пол у всех на одном месте, поэтому при одной ширине и низе они стоят ровно.
   Отступы по бокам как у шапки: 58 px от 1440, 41 px ниже. */
@media (min-width: 1024px) {
  .atl-home {
    max-width: none; width: 100%; --atl-cap: 2400px; --atl-side: 41px;
    height: calc(100vh - var(--atl-hh, 128px)); height: calc(100dvh - var(--atl-hh, 128px)); min-height: 520px;
  }
  .atl-home__grid {
    width: 100%; max-width: var(--atl-cap); margin: 0 auto; box-sizing: border-box; padding: 20px var(--atl-side) 0;
    height: clamp(260px, calc(40vh + 20px), 660px); flex: 0 0 auto;
  }
  .atl-home__tabs { flex: 0 0 auto; margin: clamp(16px, 4.5vh, 56px) 0 0; }
  .atl-tabs, .atl-tabs__fg { gap: clamp(30px, 5vw, 110px); }
  .atl-tab { font-size: clamp(1.3rem, calc(2.4vw + 0.5rem), 3.8rem); }
  .atl-home__showcase { position: relative; flex: 1 1 0; min-height: 110px; height: auto; }
}
@media (min-width: 1440px) { .atl-home { --atl-side: 58px; } }
@supports (width: 1cqw) {
  @media (min-width: 1024px) {
    .atl-home__showcase { container-type: size; }
    .atl-wave { --atl-w: min(103cqw, calc(100cqh / 0.1297), 2640px); width: var(--atl-w); }
    /* Ландшафт: видимая часть 0,1984 ширины против 0,13 у бетона. Сначала он опускается, насколько не хватает места, но не
       ниже 0,045 ширины: за нижний край уходят камни и вода, ножки плиты видны. Если места всё равно мало (низкие окна
       ноутбуков), верхушки растений поднимаются за вкладки: витрина сверху не обрезает (низ и бока обрезает .atl-home),
       вкладки и плитки выше по слою. Решение владельца 25.11.2026: «придаёт живости, объекты на одном канвасе».
       Раньше ширина ландшафта считалась от высоты отдельно, и он был уже других волн и срезан сверху рамкой витрины. */
    .atl-wave[data-key="landscape"] { bottom: calc(-1 * clamp(0px, var(--atl-w) * 0.1984 + 6px - 100cqh, var(--atl-w) * 0.045)); }
    .atl-home__showcase { overflow: visible; }
  }
}
/* На экранах без наведения подпись плитки видна всегда, иначе плитки остаются немыми фото */
@media (hover: none) {
  .atl-hcard__overlay { opacity: 1; pointer-events: auto; background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0)); }
  .atl-hcard__title, .atl-hcard__link { opacity: 1; transform: none; }
  .atl-hcard__desc { display: none; }
}

/* ===== Мега-меню «Услуги» (≥1024, строит atl.js; прототип .mega-menu, шаг пунктов 8 px как задумано) ===== */
.atl-mega {
  /* закрытая панель стоит в углу и не раздвигает страницу; ширина с полями, как у прототипа (border-box) */
  position: absolute; top: 0; left: 0; box-sizing: border-box; z-index: 9000; width: 680px; padding: 30px;
  background-color: rgba(255, 255, 255, 0.98);
  background-image: linear-gradient(rgba(0, 0, 0, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.02) 1px, transparent 1px);
  background-size: 20px 20px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border: 1.5px solid rgba(0, 0, 0, 0.15); box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: transform 0.4s var(--atl-ease), opacity 0.4s var(--atl-ease), visibility 0s linear 0.4s;
}
.atl-mega.is-open { opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; }
.atl-mega::before { content: ''; position: absolute; top: -25px; left: 0; right: 0; height: 25px; }
.atl-mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.atl-mega__title {
  font-family: var(--atl-font-head); font-weight: 700; font-size: 0.8rem; letter-spacing: var(--atl-ls-head); text-transform: uppercase;
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1.5px solid rgba(0, 0, 0, 0.1);
}
.atl-mega__title a { color: #000000; transition: color 0.3s ease; }
.atl-mega__title a:hover { color: #0066FF; }
.atl-mega__list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.atl-mega__list a { display: inline-block; font-size: 0.82rem; font-weight: 500; color: #555555; transition: color 0.3s ease, transform 0.3s ease; }
.atl-mega__list a:hover { color: #0066FF; transform: translateX(4px); }
.atl-mega__list a[aria-current="page"] { color: #000000; font-weight: 700; }
.atl-mega a:focus-visible { outline: 2px solid #000000; outline-offset: 2px; }
@media (max-width: 1439px) { .atl-mega { width: 580px; } }
@media (max-width: 1023px) { .atl-mega { display: none; } }

/* ===== Окна «О компании» и «Контакты» (Zero в шапке проекта; прототип: двойная рамка, плитки цифр) ===== */
.t396 .atl-stat { box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important; }
.t396 .atl-stat:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35), 0 0 0 1.5px rgba(0, 102, 255, 0.4); }
.t396 .atl-stat__in { box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1); transition: border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important; }
.t396 .atl-stat:hover .atl-stat__in { border-top-color: #0066FF !important; background-color: #212121 !important; }
.t396 .atl-stat .atl-stat__num .tn-atom { transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important; }
.t396 .atl-stat:hover .atl-stat__num .tn-atom { color: #0066FF !important; }
.t396 .atl-cval a { transition: color 0.25s ease; }
.t396 .atl-cval a:hover { color: #0066FF !important; }
.atl-map { width: 100%; height: 100%; padding: 8px; background: rgba(255, 255, 255, 0.03); border: 1.5px solid rgba(255, 255, 255, 0.08); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.atl-map iframe { display: block; width: 100%; height: 100%; border: 1px solid rgba(255, 255, 255, 0.05); background: #191919; }

/* ===== Крестик шторки: стоит ровно на месте бургера и превращается из него (полосы сходятся в X) ===== */
.atl-drawer__x {
  position: fixed; z-index: 5; left: var(--atl-bx, auto); top: var(--atl-by, 18px); right: auto; width: var(--atl-bw, 42px); height: var(--atl-bh, 42px);
  display: flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; padding: 0;
}
.atl-drawer__x span {
  position: absolute; left: 50%; top: 50%; width: 26px; height: 3.5px; margin: -1.75px 0 0 -13px; border-radius: 3px; background: #555555;
  transition: transform 0.45s var(--atl-ease), opacity 0.3s ease;
}
.atl-drawer__x span:nth-child(1) { transform: translateY(-8.5px); }
.atl-drawer__x span:nth-child(3) { transform: translateY(8.5px); }
.atl-drawer.is-open .atl-drawer__x span:nth-child(1) { transform: rotate(45deg); }
.atl-drawer.is-open .atl-drawer__x span:nth-child(2) { opacity: 0; transform: scaleX(0.2); }
.atl-drawer.is-open .atl-drawer__x span:nth-child(3) { transform: rotate(-45deg); }
.atl-drawer__x:focus-visible { outline: 2px solid #000000; outline-offset: 2px; }
.atl-drawer__top { min-height: 42px; }

/* ===== Главная на телефоне (до 767 px): макет Фигмы 414:326 и 417:172, плашки услуг 361:510 =====
   Кривая и длительность сняты с прототипа по кадрам: все элементы меняются одновременно, ease in and out, 420 мс. */
.atl-mhome { display: none; --atl-ez: cubic-bezier(0.42, 0, 0.58, 1); --atl-dur: 420ms; }
@media (max-width: 767px) {
  .atl-home__grid, .atl-home__tabs, .atl-home__showcase { display: none !important; }
  .atl-mhome { display: block; }
  .atl-home { min-height: 0; overflow: visible; }
  body.t-body, #allrecords { transition: background-color 420ms cubic-bezier(0.42, 0, 0.58, 1) !important; }
}
.atl-mhome__hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 4px var(--atl-pad) 26px; overflow: hidden; }
.atl-mhome__logo { width: 96px; height: auto; margin-bottom: 30px; }
/* окна прокрутки: всё едет снизу вверх (новый текст приходит снизу, старый уходит вверх), как волны */
.atl-roll { position: relative; width: 100%; overflow: hidden; }
.atl-roll__item {
  position: absolute; left: 0; right: 0; top: 0; opacity: 0; transform: translateY(100%);
  transition: transform var(--atl-dur) var(--atl-ez), opacity var(--atl-dur) var(--atl-ez);
}
.atl-roll__item.is-active { opacity: 1; transform: translateY(0); }
.atl-roll__item.is-out { opacity: 0; transform: translateY(-100%); }
.atl-mhome__tw { height: calc(var(--atl-tfs, 47px) * 1.2); }
.atl-mhome__title {
  display: block; width: 100%; white-space: nowrap; font-family: var(--atl-font-head); font-weight: 700;
  font-size: var(--atl-tfs, 47px); line-height: 1.2; letter-spacing: 0;
}
.atl-mhome__sw { height: 47px; margin-top: 10px; }
.atl-mhome__sub { font-size: 12px; font-weight: 500; line-height: 15px; color: #616161; }
.atl-mhome__stage { position: relative; width: 100%; height: 114px; margin-top: 35px; }
.atl-mhome__waves { position: absolute; inset: 0; pointer-events: none; }
/* Волны: ширина 454 px на 390 = 116vw у всех, низ на общей линии (--atl-by), активная растёт вверх в 614/454 = 1,352 раза.
   С 25.11.2026 три картинки с единого холста 1600×320 (Картинки главной/волны-единый-холст/телефон): скамья у всех на
   одном месте, над бетоном и деревом прозрачно, у ландшафта там растения. Поэтому линия низа у всех одна, ландшафт
   отдельно не опускаем (раньше картинки были разного размера и зелёная стояла на 22 px ниже). У зелёной своя тень уже
   есть в картинке, вторую тень ей не добавляем. */
.atl-mwave {
  position: absolute; left: 50%; top: 0; width: 116vw; max-width: none; height: auto !important; opacity: 0; transform-origin: 50% 100%;
  transform: translate(-50%, calc(var(--atl-by, 205px) - 100%)) scale(var(--atl-sc, 0.8));
  transition: transform var(--atl-dur) var(--atl-ez), opacity var(--atl-dur) var(--atl-ez), filter var(--atl-dur) var(--atl-ez);
}
.atl-mwave.is-active { --atl-by: 52px; --atl-sc: 1.352; opacity: 1; filter: drop-shadow(0 26px 11px rgba(0, 0, 0, 0.13)); }
.atl-mwave.is-next { --atl-by: 139px; --atl-sc: 1; opacity: 0.25; }
.atl-mwave.is-later { --atl-by: 205px; --atl-sc: 0.8; opacity: 0; }
.atl-mwave[data-key="landscape"].is-active { filter: none; }
/* третья волна входит, когда соседняя уже ушла вверх, и не наползает на неё снизу */
.atl-mwave.is-enter { transition: transform var(--atl-dur) var(--atl-ez), opacity 240ms var(--atl-ez) 180ms, filter var(--atl-dur) var(--atl-ez); }
/* уходящая волна растворяется в размытии раньше, чем дойдёт до текста */
.atl-mwave.is-gone {
  --atl-by: -20px; --atl-sc: 1.5; opacity: 0; filter: blur(14px);
  transition: transform var(--atl-dur) var(--atl-ez), opacity 220ms cubic-bezier(0.42, 0, 1, 1), filter 220ms cubic-bezier(0.42, 0, 1, 1);
}
/* крупная волна своего раздела внизу страницы (как витрина основы и компьютерной версии) */
.atl-mhome__foot { position: relative; height: calc(110vw * 0.386); overflow: hidden; pointer-events: none; }
.atl-mfoot {
  position: absolute; left: 50%; bottom: 0; width: 110vw; max-width: none; height: auto !important; opacity: 0; transform-origin: bottom center;
  transform: translate3d(-50%, 40px, 0) scaleY(0.92); transition: opacity 0.8s var(--atl-ease), transform 0s 0.8s;
}
.atl-mfoot.is-active { opacity: 1; transform: translate3d(-50%, 0, 0) scaleY(1); transition: opacity 1.2s var(--atl-ease), transform 1.2s var(--atl-ease); }
/* кнопка из макета: тёмный круг 20 %, размытое стекло, светлый край; стрелки прокручиваются */
.atl-mhome__switch {
  position: absolute; left: 50%; top: 0; z-index: 3; width: 60px; height: 60px; margin-left: -30px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(0, 0, 0, 0.2); -webkit-backdrop-filter: blur(6px) saturate(1.2); backdrop-filter: blur(6px) saturate(1.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28), inset 0 -3px 6px rgba(255, 255, 255, 0.2), 0 6px 18px rgba(0, 0, 0, 0.12);
  -webkit-tap-highlight-color: transparent;
}
.atl-mhome__switch:focus-visible { outline: 2px solid #000000; outline-offset: 3px; }
.atl-sw { display: block; width: 60px; height: 60px; overflow: hidden; border-radius: 50%; }
.atl-sw path { fill: none; stroke: #FFFFFF; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--atl-dur) var(--atl-ez), opacity var(--atl-dur) var(--atl-ez); }
.atl-sw .atl-sw__b { opacity: 0; }
.atl-mhome__switch.is-rolling .atl-sw__down path { transform: translateY(20px); }
.atl-mhome__switch.is-rolling .atl-sw__up path { transform: translateY(-20px); }
.atl-mhome__switch.is-rolling .atl-sw__a { opacity: 0; }
.atl-mhome__switch.is-rolling .atl-sw__b { opacity: 1; }
.atl-mhome__switch.no-tr .atl-sw path { transition: none; }
.atl-mhome__nw { height: 40px; margin-top: 30px; }
.atl-mhome__next { display: block; font-family: var(--atl-font-head); font-weight: 700; font-size: 30px; line-height: 40px; color: #616161; opacity: 0.55; white-space: nowrap; }
.atl-mhome__list { padding: 6px var(--atl-pad) 20px; }
.atl-mhome__h { font-family: var(--atl-font-head); font-weight: 700; font-size: 1.3rem; line-height: 1.2; text-transform: uppercase; letter-spacing: var(--atl-ls-head); margin-bottom: 16px; }
.atl-mhome__cards { display: flex; flex-direction: column; gap: 12px; }
.atl-mcard {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px;
  min-height: 140px; padding: 22px 18px 22px 20px; color: #FFFFFF; background: #3A3A3A;
  transition: opacity 0.5s var(--atl-ez) calc(var(--i) * 60ms), transform 0.6s var(--atl-ez) calc(var(--i) * 60ms);
}
.atl-mcard__img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; z-index: -2; transition: transform 0.8s var(--atl-ease); }
.atl-mcard::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, 0.55); }
.atl-mcard:active .atl-mcard__img { transform: scale(1.04); }
.atl-mcard__title { display: block; font-family: var(--atl-font-head); font-weight: 700; font-size: 1.12rem; line-height: 1.2; text-transform: uppercase; letter-spacing: var(--atl-ls-head); overflow-wrap: break-word; }
.atl-mcard__desc { display: block; margin-top: 8px; font-size: 0.85rem; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.atl-mcard__arrow { width: 38px; height: 38px; border-radius: 50%; background: #FFFFFF; color: #000000; display: flex; align-items: center; justify-content: center; }
.atl-mcard__arrow svg { width: 16px; height: 16px; }
.atl-mcard:focus-visible { outline: 2px solid #000000; outline-offset: 3px; }
.atl-mhome__cards.is-swapping .atl-mcard { opacity: 0; transform: translateY(14px); transition: opacity 0.25s var(--atl-ez), transform 0.25s var(--atl-ez); }

/* ===== Благодарность после отправки (прототип .success-message): квадрат с галочкой, пульс, «Спасибо!» ===== */
.atl-form .t-form__successbox { background: none !important; border: 0 !important; padding: 10px 0 0 !important; color: #FFFFFF !important; text-align: center; }
.atl-formcard.is-sent .atl-form-title, .atl-formcard.is-sent .atl-form-sub { display: none !important; }
.atl-ok__icon { position: relative; width: 110px; height: 110px; margin: 0 auto 30px; display: flex; justify-content: center; align-items: center; }
.atl-ok__bg, .atl-ok__ring { position: absolute; width: 76px; height: 76px; }
.atl-ok__bg { background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.01) 70%); border: 1px solid rgba(255, 255, 255, 0.12); z-index: 1; }
.atl-ok__ring { border: 1.5px solid rgba(255, 255, 255, 0.25); animation: atl-ok-pulse 2s cubic-bezier(0.16, 1, 0.3, 1) infinite; }
.atl-ok__ring--2 { border: 1px solid rgba(255, 255, 255, 0.12); animation-delay: 0.6s; }
.atl-ok__svg { width: 52px; height: 52px; position: relative; z-index: 2; }
.atl-ok__box { stroke: rgba(255, 255, 255, 0.85); stroke-width: 2; stroke-linecap: square; stroke-dasharray: 200; stroke-dashoffset: 200; animation: atl-ok-draw 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.atl-ok__check { stroke: #FFFFFF; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: atl-ok-draw 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards; }
.atl-ok__title { font-family: 'DrukWideCyr', Arial, sans-serif; font-weight: 700; font-size: clamp(1.1rem, calc(1.5vw + 0.8rem), 1.55rem); text-transform: uppercase; letter-spacing: 0.03em; margin: 0 0 15px; color: #FFFFFF; }
.atl-ok__desc { font-size: 0.95rem; line-height: 1.7; color: #AEAEAE; max-width: 340px; margin: 0 auto; }
@keyframes atl-ok-draw { to { stroke-dashoffset: 0; } }
@keyframes atl-ok-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ===== Слайдер с одним фото (разделы металлоконструкций): без стрелок и полосок ===== */
.atl-slider[data-count="1"] .atl-slider__img { transform: none; }

/* ===== Хаб «Металлоконструкции» (Задача 8): строгая сетка категорий, тёмные карточки как в «О направлении» =====
   4 колонки от 1440, 2 от 768, 1 на телефоне. Ховер: верхняя черта синеет (как плитки цифр «О компании»), иконка
   прорисовывается заново, строка раздела сдвигается и показывает стрелку. Появление снизу с шагом 90 мс. */
.atl-metal { padding: 10px var(--atl-pad) 80px; }
.atl-metal__head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.atl-metal__title {
  /* «Изготовление металлоконструкций в Тюмени»: переносится по словам, строки выровнены по длине; кегль по ширине
     экрана, чтобы самое длинное слово «металлоконструкций» помещалось целиком и на телефоне */
  font-family: var(--atl-font-head); font-weight: 700; font-size: clamp(1.15rem, 4.6vw, 2.6rem); line-height: 1.1;
  text-transform: uppercase; letter-spacing: var(--atl-ls-head); white-space: normal; text-wrap: balance; overflow-wrap: normal; hyphens: none;
}
.atl-metal__lead { font-size: 1rem; line-height: 1.6; color: var(--atl-text-muted); max-width: 640px; }
.atl-metal__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.atl-mcat {
  position: relative; display: flex; flex-direction: column; padding: 28px 26px 16px; color: #FFFFFF; background: #282828;
  border-top: 3px solid rgba(255, 255, 255, 0.12); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.5s var(--atl-ease), box-shadow 0.5s var(--atl-ease), border-color 0.4s var(--atl-ease);
  animation: atl-rise 0.8s var(--atl-ease) backwards; animation-delay: calc(var(--n) * 90ms); animation-play-state: paused;
}
.atl-metal.is-in .atl-mcat { animation-play-state: running; }
@keyframes atl-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.atl-mcat:hover, .atl-mcat:focus-within { transform: translateY(-4px); border-top-color: #0066FF; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18); }
.atl-mcat__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.atl-mcat__icon {
  width: 56px; height: 56px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.04); transition: border-color 0.4s ease, background-color 0.4s ease;
}
/* Иконка в два слоя (metal.mjs): основной белый стоит всегда, на ховере он гаснет до 30 %, и поверх него по очереди
   прорисовываются линии второго слоя. У каждой линии pathLength="1", штрих «1 2»: при сдвиге 1,2 линия целиком в
   промежутке (без точки от скруглённого конца), при 0 целиком нарисована. Уход курсора: всё плавно обратно. */
.atl-mcat__icon svg { width: 30px; height: 30px; fill: none; stroke: #FFFFFF; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.atl-ic-base { transition: opacity 0.4s ease; }
.atl-ic-trace path { stroke-dasharray: 1 2; stroke-dashoffset: 1.2; transition: stroke-dashoffset 0.35s var(--atl-ease); }
.atl-mcat:hover .atl-mcat__icon, .atl-mcat:focus-within .atl-mcat__icon { border-color: #0066FF; background: rgba(0, 102, 255, 0.14); }
.atl-mcat:hover .atl-ic-base, .atl-mcat:focus-within .atl-ic-base { opacity: 0.3; }
.atl-mcat:hover .atl-ic-trace path, .atl-mcat:focus-within .atl-ic-trace path {
  stroke-dashoffset: 0; transition: stroke-dashoffset 0.6s var(--atl-ease) calc(0.1s + var(--i) * 90ms);
}
.atl-mcat__num { font-family: var(--atl-font-head); font-size: 0.72rem; letter-spacing: 0.1em; color: rgba(255, 255, 255, 0.35); }

/* ===== 3D-объект в верхнем левом углу карточки (решение владельца 23.11.2026: «Объект в углу», квадратные подставки) =====
   Кадры 640×588, нижний угол подставки у всех в точке (50 %, 95,9 %), подставка во всю ширину кадра без 4,25 % с боков.
   --ow: ширина кадра, считается от ширины карточки (контейнер), одна на все 4 карточки, поэтому нижний угол стоит
   в одной точке у всех: левый угол подставки в 10 px от левого края карточки, нижний на линии пола (низ верхней части).
   Ховер: объект «выпрыгивает» из рамки, растёт от нижнего угла и уходит за верхний и левый края карточки. Без теней. */
.atl-mcat { container-type: inline-size; }
.atl-mcat:hover, .atl-mcat:focus-within { z-index: 2; }
.atl-mcat__top--obj {
  --ow: 260px;
  position: relative; margin: -28px -26px 22px; height: calc(var(--ow) * 0.8811); padding: 22px 26px 0; box-sizing: border-box;
  justify-content: flex-end;
}
/* В покое объект и его тень внутри карточки (рамка по краям верхней части); на ховере рамка сразу раскрывается и объект
   выходит за края, а после ухода курсора рамка закрывается только когда объект уже вернулся на место (задержка 0,6 с). */
.atl-mcat__top--obj { clip-path: inset(0); transition: clip-path 0s linear 0.6s; }
.atl-mcat:hover .atl-mcat__top--obj, .atl-mcat:focus-within .atl-mcat__top--obj { clip-path: inset(-240px -80px -60px -240px); transition-delay: 0s; }
/* без контейнерных единиц (Safari до 16) остаётся 260 px */
@supports (width: 1cqw) { .atl-mcat__top--obj { --ow: clamp(230px, 96cqw, 300px); } }
.atl-mcat__top--obj::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, 0.12); }
.atl-mcat__top--obj::before {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 1; background: #0066FF;
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--atl-ease);
}
.atl-mcat__top--obj .atl-mcat__num { position: relative; z-index: 3; }
.atl-mcat__obj {
  position: absolute; z-index: 2; pointer-events: none; width: var(--ow); aspect-ratio: 640 / 588;
  left: calc(var(--ow) * -0.0425 + 10px); bottom: calc(var(--ow) * -0.0375);
  transform-origin: 50% 95.9%;
}
/* пара кадров одного объекта точно друг над другом: нижний даёт бетонную плиту, верхний плотный металл; теней нет */
.atl-mcat__obj img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; }
.atl-mcat__obj { transition: transform 0.55s cubic-bezier(0.3, 1.45, 0.55, 1); }
.atl-mcat:hover .atl-mcat__obj, .atl-mcat:focus-within .atl-mcat__obj { transform: translate(-3%, -9%) scale(1.16); }
.atl-mcat:hover .atl-mcat__top--obj::before, .atl-mcat:focus-within .atl-mcat__top--obj::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) { .atl-mcat__obj { transition: none; } }
.atl-mcat__title { font-family: var(--atl-font-head); font-weight: 700; font-size: 1.02rem; line-height: 1.3; text-transform: uppercase; letter-spacing: var(--atl-ls-head); margin-bottom: 14px; min-height: 2.6em; }
.atl .atl-mcat__list { list-style: none; display: flex; flex-direction: column; margin: 0 !important; padding: 0 !important; }
.atl-mcat__link {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) 18px; align-items: center; gap: 10px; padding: 13px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08); color: #D6D6D6; font-size: 0.92rem; line-height: 1.35; transition: color 0.3s ease;
}
/* сдвиг на ховере через transform: ширина строки не меняется, слова не переносятся заново */
.atl-mcat__i, .atl-mcat__name { transition: color 0.3s ease, transform 0.35s var(--atl-ease); }
/* цифры как в «Навигации по разделам»: Druk 700, 11 px */
.atl-mcat__i { font-family: var(--atl-font-head); font-weight: 700; font-size: 11px; color: rgba(255, 255, 255, 0.35); }
.atl-mcat__go { display: flex; color: #0066FF; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s ease, transform 0.35s var(--atl-ease); }
.atl-mcat__go svg { width: 18px; height: 18px; }
.atl-mcat__link:hover, .atl-mcat__link:focus-visible { color: #FFFFFF; outline: none; }
.atl-mcat__link:hover .atl-mcat__i, .atl-mcat__link:hover .atl-mcat__name,
.atl-mcat__link:focus-visible .atl-mcat__i, .atl-mcat__link:focus-visible .atl-mcat__name { transform: translateX(6px); }
.atl-mcat__link:focus-visible .atl-mcat__name { text-decoration: underline; text-underline-offset: 3px; }
.atl-mcat__link:hover .atl-mcat__i, .atl-mcat__link:focus-visible .atl-mcat__i { color: #0066FF; }
.atl-mcat__link:hover .atl-mcat__go, .atl-mcat__link:focus-visible .atl-mcat__go { opacity: 1; transform: none; }
@media (max-width: 1439px) { .atl-metal__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .atl-metal__head { margin-bottom: 26px; }
  .atl-metal__grid { grid-template-columns: 1fr; gap: 14px; }
  .atl-mcat__title { min-height: 0; }
}
@media (hover: none) { .atl-mcat__go { opacity: 0.8; transform: none; } }
@media (prefers-reduced-motion: reduce) { .atl-mcat { animation: none; } .atl-ic-trace path, .atl-ic-base { transition: none !important; } }

/* ===== Документы: политика и согласие (legal.mjs) ===== */
.atl-doc { max-width: 900px; padding: 10px var(--atl-pad) 80px; }
.atl-doc__title {
  font-family: var(--atl-font-head); font-weight: 700; font-size: var(--atl-h2); line-height: var(--atl-lh-head);
  text-transform: uppercase; letter-spacing: var(--atl-ls-head); margin-bottom: 12px; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto;
}
.atl-doc__meta { font-size: 0.85rem; color: var(--atl-text-muted); margin-bottom: 28px; }
.atl-doc__draft { padding: 14px 18px; margin-bottom: 28px; font-size: 0.9rem; line-height: 1.5; border: 1px solid rgba(0, 102, 255, 0.35); background: rgba(0, 102, 255, 0.06); }
.atl-doc__body h2 {
  font-family: var(--atl-font-head); font-weight: 700; font-size: 1rem; line-height: 1.4; text-transform: uppercase;
  letter-spacing: var(--atl-ls-head); margin: 44px 0 16px; scroll-margin-top: 20px;
}
.atl-doc__body h3 { font-size: 1rem; font-weight: 700; margin: 28px 0 10px; }
.atl-doc__body p, .atl-doc__body li, .atl-doc__table th, .atl-doc__table td { font-size: 1rem; line-height: 1.7; }
.atl-doc__body p + p { margin-top: 12px; }
.atl-doc__body ul { padding-left: 1.3em; margin: 10px 0 14px; }
.atl-doc__body li + li { margin-top: 8px; }
.atl-doc a { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.atl-doc a:hover { color: #0066FF; }
.atl-doc__table { width: 100%; border-collapse: collapse; margin: 6px 0 10px; }
.atl-doc__table th, .atl-doc__table td { text-align: left; vertical-align: top; padding: 10px 0; border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
.atl-doc__table th { width: 38%; padding-right: 20px; font-weight: 600; }
.atl-ph { background: rgba(0, 102, 255, 0.12); color: #0047B3; padding: 0 4px; }
.atl-doc__links { margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(0, 0, 0, 0.12); display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 0.9rem; }
@media (max-width: 600px) {
  .atl-doc__table th, .atl-doc__table td { display: block; width: auto; padding: 4px 0; }
  .atl-doc__table th { padding-top: 12px; border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .atl-glowbtn__glow, .atl-glowbtn__beam::before, .atl-glowbtn__border::before { animation: none !important; }
  .atl *, .atl *::before, .atl *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-delay: 0s !important; }
  .atl-slider__img { transform: none !important; }
  .atl-word { color: var(--atl-text); }
  .atl-form .t-input-error, .atl-form .t-input, .atl-nav .tn-atom::after, .atl-navitem .tn-atom { transition: none !important; }
  .atl-hcard__frame, .atl-wave, body.t-body, .t396 .atl-stat, .atl-mwave, .atl-mcard, .atl-drawer__x span, .atl-roll__item, .atl-sw path { transition: none !important; }
  .atl-ok__ring { animation: none !important; }
}
