/* =========================================================
   M.A. Ahsharot — лендинг курса машинистов башенного крана
   Стили написаны на логических свойствах (inline/block),
   чтобы версия на иврите (dir="rtl") работала без переделки.
   ========================================================= */

:root {
  /* Цвета */
  --ink: #0f1419;          /* основной тёмный (графит) */
  --steel: #18212b;        /* тёмные секции */
  --steel-2: #222d39;
  --surface: #f4f2ee;      /* светлый фон секций */
  --paper: #ffffff;
  --text: #1b232c;
  --muted: #5b6670;
  --muted-light: #a9b3bd;
  --line: #e3e0da;
  --line-strong: #cfcac2;
  --line-dark: rgba(255, 255, 255, 0.12);

  /* Фирменный оранжевый (из логотипа) и его оттенки */
  --orange: #f28c28;
  --orange-400: #ff9f45;
  --orange-600: #dd7a1a;
  --orange-700: #b86312;
  --orange-ink: #1a1300;   /* текст на оранжевом */
  --orange-tint: rgba(242, 140, 40, 0.12);

  /* Совместимость со старыми именами (privacy.html, 404.html) */
  --yellow: var(--orange);
  --yellow-hover: var(--orange-400);
  --yellow-ink: var(--orange-ink);

  /* Фирменные цвета мессенджеров и соцсетей (официальные) */
  --wa: #25d366;
  --wa-dark: #1ebe5d;
  --fb: #1877f2;

  --danger: #d64545;
  --success: #2e9e5b;

  /* Типографика */
  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --fs-h1: clamp(2.25rem, 1.4rem + 3.8vw, 4.25rem);
  --fs-h2: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.05rem, 1rem + 0.3vw, 1.25rem);

  /* Сетка */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 120px);
  --radius-lg: 20px;
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 84px;

  /* Тени: многослойные (контактная + рассеянная), чтобы объекты «лежали» на фоне,
     а не висели с одной размытой тенью */
  --shadow-xs: 0 1px 2px rgba(15, 20, 25, 0.06);
  --shadow-sm: 0 1px 2px rgba(15, 20, 25, 0.05), 0 4px 12px -4px rgba(15, 20, 25, 0.10);
  --shadow-md: 0 2px 4px rgba(15, 20, 25, 0.05), 0 14px 32px -14px rgba(15, 20, 25, 0.24);
  --shadow-lg: 0 4px 8px rgba(15, 20, 25, 0.06), 0 32px 64px -28px rgba(15, 20, 25, 0.38);
  --shadow-dark: 0 4px 10px rgba(0, 0, 0, 0.25), 0 36px 80px -30px rgba(0, 0, 0, 0.7);
  --shadow-orange: 0 1px 2px rgba(120, 60, 0, 0.18), 0 12px 26px -10px rgba(242, 140, 40, 0.6);
  --shadow-orange-hover: 0 2px 4px rgba(120, 60, 0, 0.18), 0 18px 34px -12px rgba(242, 140, 40, 0.7);
  --shadow-wa: 0 1px 2px rgba(0, 80, 30, 0.2), 0 12px 26px -10px rgba(37, 211, 102, 0.6);
  /* Старое имя оставлено для совместимости */
  --shadow: var(--shadow-md);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Иврит: без сжатия букв и капса ---------- */
[lang="he"] h1, [lang="he"] h2, [lang="he"] h3, [lang="he"] .hero__title, [lang="he"] .section__title, [lang="he"] .offer__quote { letter-spacing: 0; }
[lang="he"] .eyebrow, [lang="he"] .module__hours { letter-spacing: 0.04em; text-transform: none; }
[lang="he"] .hero__title { max-inline-size: 17ch; }
[lang="he"] .btn, [lang="he"] .nav a { letter-spacing: 0; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
/* :where() обнуляет специфичность, чтобы отступы компонентов (.hero__stats, .contacts…) не перебивались */
:where(ul[role="list"], ol[role="list"]) { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--orange-ink); }

/* Контурные иконки (интерфейс) */
.icon { inline-size: 1.25em; block-size: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Фирменные логотипы (WhatsApp, Facebook…) — заливка, без обводки */
.icon--brand { fill: currentColor; stroke: none; }
[dir="rtl"] .icon--dir { transform: scaleX(-1); }

.container { inline-size: 100%; max-inline-size: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-inline-size: calc(820px + var(--gutter) * 2); }

.skip-link { position: absolute; inset-inline-start: 16px; inset-block-start: -100px; z-index: 200; padding: 10px 16px; background: var(--orange); color: var(--orange-ink); font-weight: 600; border-radius: var(--radius-sm); }
.skip-link:focus { inset-block-start: 16px; }

.accent { color: var(--orange); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-block-end: 16px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; inline-size: 28px; block-size: 3px; background: var(--orange); border-radius: 2px; }
.eyebrow--light, .section--dark .eyebrow { color: var(--muted-light); }

/* ---------- Buttons ----------
   Объём: вертикальный градиент + светлая кромка сверху (inset) + двойная тень.
   Hover — чуть светлее и приподнимается, active — «вдавливается». */
.btn {
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-block-size: 48px; padding: 12px 24px;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; text-align: center;
  white-space: nowrap; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .25s var(--ease), filter .2s;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon--dir { transform: translateX(3px); }
[dir="rtl"] .btn:hover .icon--dir { transform: scaleX(-1) translateX(3px); }
.btn:active { transform: translateY(1px); transition-duration: .06s; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

.btn--primary {
  background: linear-gradient(180deg, #ffa24b 0%, var(--orange) 55%, #ea8120 100%);
  color: var(--orange-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(0, 0, 0, 0.1), var(--shadow-orange);
}
.btn--primary:hover {
  background: linear-gradient(180deg, #ffad5c 0%, #f9962f 55%, #ef8826 100%);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), inset 0 -1px 0 rgba(0, 0, 0, 0.1), var(--shadow-orange-hover);
}
.btn--primary:active {
  background: linear-gradient(180deg, #ea8120 0%, var(--orange) 100%);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.16), 0 1px 2px rgba(120, 60, 0, 0.2);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.38); color: #fff;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 24px -12px rgba(0, 0, 0, 0.5);
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }
.btn--ghost:active { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25); }
.btn--ghost .icon--brand { color: var(--wa); }

/* Кнопка WhatsApp в фирменном зелёном */
.btn--wa {
  background: linear-gradient(180deg, #3ddf79 0%, var(--wa) 55%, var(--wa-dark) 100%);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 -1px 0 rgba(0, 0, 0, 0.12), var(--shadow-wa);
}
.btn--wa:hover { background: linear-gradient(180deg, #4ae484 0%, #2fdb70 55%, #22c764 100%); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 -1px 0 rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 80, 30, 0.2), 0 18px 34px -12px rgba(37, 211, 102, 0.7); }
.btn--wa:active { background: var(--wa-dark); box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2); }

/* Нейтральная кнопка на светлом фоне (успех формы, 404) */
.btn--outline { border-color: var(--line-strong); color: var(--text); background: var(--paper); box-shadow: var(--shadow-xs); }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--outline .icon--brand { color: var(--wa); }

.btn--sm { min-block-size: 40px; padding: 8px 18px; font-size: 0.9375rem; }
.btn--lg { min-block-size: 56px; padding: 14px 30px; font-size: 1.0625rem; border-radius: 12px; }
.btn--block { inline-size: 100%; }

/* ---------- Header ---------- */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  block-size: var(--header-h);
  color: #fff;
  transition: background-color .3s, box-shadow .3s, block-size .3s;
}
.header.is-scrolled {
  background: rgba(15, 20, 25, 0.88);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-dark), 0 10px 30px -12px rgba(0, 0, 0, 0.5);
  --header-h: 64px;
}
/* Мягкое затемнение сверху, чтобы логотип и меню читались на любом фото */
.header::before { content: ""; position: absolute; inset: 0 0 -56px; z-index: -1; pointer-events: none; background: linear-gradient(to bottom, rgba(15, 20, 25, 0.9) 0%, rgba(15, 20, 25, 0.6) 55%, rgba(15, 20, 25, 0) 100%); transition: opacity .3s; }
.header.is-scrolled::before { opacity: 0; }
.header__inner { display: flex; align-items: center; gap: 24px; block-size: 100%; }
/* Логотип — прозрачный PNG прямо на тёмной шапке */
.logo { flex: none; display: block; border-radius: 8px; }
.logo__img { display: block; block-size: 64px; inline-size: auto; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45)); transition: block-size .3s; }
.header.is-scrolled .logo__img { block-size: 50px; }
.nav { display: flex; gap: 24px; margin-inline-start: auto; }
.nav a { position: relative; padding-block: 6px; text-decoration: none; font-weight: 500; font-size: 0.9375rem; opacity: .88; transition: opacity .2s, color .2s; }
.nav a::after { content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; block-size: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transform-origin: start; transition: transform .25s var(--ease); }
.nav a:hover { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }
.nav__extra { display: none; }
/* Логотип слева, меню и кнопки справа — одинаково в RU и HE */
[dir="rtl"] .header__inner { flex-direction: row-reverse; }
[dir="rtl"] .nav { margin-inline-start: 0; margin-inline-end: auto; }
[dir="rtl"] .header__actions { flex-direction: row-reverse; }
.header__actions { display: flex; align-items: center; gap: 20px; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; white-space: nowrap; direction: ltr; transition: color .2s; }
.header__phone:hover { color: var(--orange); }
/* Переключатель языка */
.lang-switch {
  display: inline-flex; align-items: center; min-block-size: 36px; padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28); border-radius: 999px;
  font-size: 0.9375rem; font-weight: 600; text-decoration: none; letter-spacing: 0;
  transition: border-color .2s, background-color .2s, color .2s;
}
.lang-switch:hover { border-color: var(--orange); color: var(--orange); background: rgba(242, 140, 40, 0.1); }
.nav__lang { display: none; }
.burger { display: none; inline-size: 44px; block-size: 44px; padding: 10px; border: 0; border-radius: 10px; background: none; cursor: pointer; transition: background-color .2s; }
.burger:hover { background: rgba(255, 255, 255, 0.08); }
.burger span { display: block; block-size: 2px; margin-block: 5px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  display: flex; align-items: flex-end;
  min-block-size: 100svh;
  padding-block: calc(var(--header-h) + 48px) clamp(48px, 7vw, 96px);
  color: #fff; background: var(--ink);
  overflow: hidden;
}
.hero__media, .hero__media img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; z-index: -2; }
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(15, 20, 25, 0.95) 0%, rgba(15, 20, 25, 0.55) 45%, rgba(15, 20, 25, 0.25) 100%),
    linear-gradient(to right, rgba(15, 20, 25, 0.75) 0%, rgba(15, 20, 25, 0) 70%);
}
[dir="rtl"] .hero__overlay {
  background:
    linear-gradient(to top, rgba(15, 20, 25, 0.95) 0%, rgba(15, 20, 25, 0.55) 45%, rgba(15, 20, 25, 0.25) 100%),
    linear-gradient(to left, rgba(15, 20, 25, 0.75) 0%, rgba(15, 20, 25, 0) 70%);
}
.hero__content { position: relative; }
.hero__title { max-inline-size: 15ch; font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35); }
.hero__lead { max-inline-size: 56ch; margin-block-start: 24px; font-size: var(--fs-lead); color: rgba(255, 255, 255, 0.85); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-block-start: 36px; }
.hero__stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block-start: clamp(40px, 6vw, 72px);
  border-block-start: 1px solid var(--line-dark);
}
.hero__stats li { padding-block: 24px 0; padding-inline-end: 24px; }
.hero__stats li + li { padding-inline-start: 24px; border-inline-start: 1px solid var(--line-dark); }
.hero__stats strong { display: block; font-size: clamp(1.75rem, 1.3rem + 1.5vw, 2.5rem); font-weight: 800; line-height: 1.1; color: var(--orange); }
.hero__stats span { display: block; margin-block-start: 6px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.75); text-wrap: pretty; }

/* ---------- Sections ---------- */
.section { position: relative; padding-block: var(--section-y); }
.section--muted { background: var(--surface); }
.section--dark { background: var(--steel); color: #fff; }
.section__head { max-inline-size: 760px; margin-inline: auto; margin-block-end: clamp(40px, 5vw, 64px); text-align: center; }
.section__head .eyebrow { justify-content: center; }
.section__head--left { margin-inline: 0; text-align: start; }
.section__head--left .eyebrow { justify-content: flex-start; }
.section__title { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.02em; }
.section__lead { margin-block-start: 20px; font-size: var(--fs-lead); color: var(--muted); text-wrap: pretty; }
.section--dark .section__lead { color: var(--muted-light); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Split: картинка + текст */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse { grid-template-columns: 7fr 5fr; }
.split--reverse .split__media { order: 2; }
.frame { inline-size: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; }
.split__media { position: relative; isolation: isolate; }
.split__media::after {
  content: ""; position: absolute; z-index: -1;
  inset-block-end: -16px; inset-inline-start: -16px;
  inline-size: 45%; block-size: 45%;
  background: linear-gradient(135deg, var(--orange-400), var(--orange-600)); border-radius: var(--radius);
  box-shadow: var(--shadow-orange);
}

/* ---------- О профессии ---------- */
.about__grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__grid .section__head { margin-block-end: 0; }
.about__text { margin-block-start: 16px; color: var(--muted); text-wrap: pretty; }
.about__traits { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); box-shadow: var(--shadow-sm); }

/* ---------- Market ---------- */
.market { overflow: hidden; isolation: isolate; }
.market__bg { position: absolute; inset: 0; z-index: -1; }
.market__bg img { inline-size: 100%; block-size: 100%; object-fit: cover; opacity: .22; }
.market__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--steel) 0%, rgba(24, 33, 43, .6) 50%, var(--steel) 100%); }

.card { padding: 32px; border-radius: var(--radius); }
.card--glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px -24px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: transform .25s var(--ease), border-color .25s, background-color .25s, box-shadow .25s;
}
.card--glass:hover { transform: translateY(-4px); border-color: rgba(255, 255, 255, 0.22); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 28px 48px -24px rgba(0, 0, 0, 0.7); }
.card__icon {
  inline-size: 48px; block-size: 48px; padding: 12px; margin-block-end: 22px; border-radius: 12px;
  background: linear-gradient(180deg, var(--orange-400), var(--orange-600)); color: var(--orange-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--shadow-orange);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.card__title { margin-block-end: 10px; font-size: var(--fs-h3); }
.card p { color: var(--muted-light); }

/* ---------- Features (статус) ---------- */
.feature { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-xs); transition: border-color .25s, transform .25s var(--ease), box-shadow .25s; }
.feature:hover { border-color: rgba(242, 140, 40, 0.55); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature__icon {
  inline-size: 44px; block-size: 44px; padding: 10px; margin-block-end: 16px; border-radius: 12px;
  background: var(--orange-tint); color: var(--orange-700);
  fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  transition: background-color .25s, color .25s;
}
.feature:hover .feature__icon { background: var(--orange); color: var(--orange-ink); }
.feature__title { margin-block-end: 8px; font-size: 1.125rem; }
.feature p { font-size: 0.9688rem; color: var(--muted); }

/* ---------- Checklist (безопасность) ---------- */
.checklist { display: grid; gap: 28px; }
.checklist li { display: flex; gap: 20px; align-items: flex-start; }
.checklist__icon {
  flex: none; inline-size: 52px; block-size: 52px; padding: 13px; border-radius: 14px;
  background: linear-gradient(180deg, var(--steel-2), var(--ink)); color: var(--orange);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), var(--shadow-md);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.checklist h3 { margin-block-end: 6px; font-size: var(--fs-h3); }
.checklist p { color: var(--muted); }

/* ---------- Program ---------- */
.hours { display: flex; gap: 6px; max-inline-size: 900px; margin: 0 auto clamp(32px, 4vw, 48px); }
.hours__bar { flex: var(--w) 1 0; display: flex; align-items: center; block-size: 56px; padding-inline: 20px; border-radius: var(--radius-sm); font-weight: 700; white-space: nowrap; overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--shadow-sm); }
.hours__bar--theory { background: linear-gradient(180deg, var(--steel-2), var(--ink)); color: #fff; }
.hours__bar--practice { background: linear-gradient(180deg, var(--orange-400), var(--orange-600)); color: var(--orange-ink); }

.module { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.module__media { overflow: hidden; }
.module__img { inline-size: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .6s var(--ease); }
.module:hover .module__img { transform: scale(1.03); }
.module__body { padding: 28px 32px 32px; }
.module__hours { font-size: 0.9375rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.module__hours strong { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text); margin-inline-end: 6px; }
.module__title { display: flex; align-items: center; gap: 10px; margin-block: 6px 20px; font-size: 1.5rem; }
.module__title .icon { color: var(--orange); stroke-width: 2.25; }
.module__title:has(+ .module__lead) { margin-block-end: 12px; }
.module__lead { margin-block-end: 20px; color: var(--muted); text-wrap: pretty; }

.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-inline-start: 32px; }
.ticks li::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block-start: 3px;
  inline-size: 20px; block-size: 20px; border-radius: 50%;
  box-shadow: 0 2px 6px -1px rgba(242, 140, 40, 0.5);
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1300' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- Условия поступления ---------- */
.admission__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.admission__item {
  position: relative; padding: 28px 24px;
  border: 1px solid var(--line-dark); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 20px 40px -24px rgba(0, 0, 0, 0.6);
}
.admission__num { position: absolute; inset-block-start: 20px; inset-inline-end: 22px; font-size: 1.5rem; font-weight: 800; line-height: 1; color: rgba(255, 255, 255, 0.14); }
.admission__icon {
  inline-size: 48px; block-size: 48px; padding: 12px; margin-block-end: 20px; border-radius: 12px;
  background: linear-gradient(180deg, var(--orange-400), var(--orange-600)); color: var(--orange-ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--shadow-orange);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.admission__item h3 { margin-block-end: 8px; font-size: 1.125rem; }
.admission__item p { font-size: 0.9375rem; color: var(--muted-light); text-wrap: pretty; }
.admission__note { font-size: 0.85em; color: rgba(255, 255, 255, 0.55); }
.admission__cta { margin-block-start: 36px; text-align: center; color: var(--muted-light); }
.admission__cta a { color: var(--orange); font-weight: 600; text-underline-offset: 3px; }
.admission__cta a:hover { color: var(--orange-400); }
.faq__answer a { color: var(--orange-700); font-weight: 500; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps__item { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-xs); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.steps__item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(242, 140, 40, 0.5); }
/* Стрелка-соединитель между шагами */
.steps__item:not(:last-child)::after {
  content: ""; position: absolute; z-index: 1; inset-block-start: 34px; inset-inline-end: -16px;
  inline-size: 16px; block-size: 16px;
  background: var(--line-strong);
  clip-path: polygon(30% 10%, 70% 50%, 30% 90%, 20% 80%, 50% 50%, 20% 20%);
}
[dir="rtl"] .steps__item:not(:last-child)::after { transform: scaleX(-1); }
.steps__num { display: block; margin-block-end: 18px; font-size: 2rem; font-weight: 800; line-height: 1; color: var(--orange); }
.steps__item h3 { margin-block-end: 8px; font-size: 1.125rem; }
.steps__item p { font-size: 0.9375rem; color: var(--muted); }
.steps__item:last-child { background: linear-gradient(180deg, var(--steel-2), var(--ink)); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-md); }
.steps__item:last-child p { color: var(--muted-light); }

/* ---------- Offer ---------- */
.offer { position: relative; isolation: isolate; padding-block: clamp(80px, 12vw, 160px); color: #fff; background: var(--ink); overflow: hidden; text-align: center; }
.offer__bg { position: absolute; inset: 0; z-index: -1; }
.offer__bg img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.offer__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(15, 20, 25, .7) 0%, rgba(15, 20, 25, .92) 75%); }
.offer__inner { display: flex; flex-direction: column; align-items: center; }
.offer__inner .eyebrow { justify-content: center; }
.offer__quote { max-inline-size: 22ch; margin: 0; font-size: clamp(2rem, 1.3rem + 3vw, 3.5rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4); }
.offer__points { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; margin-block: 36px 44px; }
.offer__points li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px 8px 10px; border-radius: 999px;
  font-weight: 500; color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-dark);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.offer__points .icon { inline-size: 22px; block-size: 22px; padding: 4px; border-radius: 50%; background: var(--orange); color: var(--orange-ink); stroke-width: 3; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); box-shadow: var(--shadow-xs); transition: border-color .2s, box-shadow .25s; }
.faq__item:hover { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq__item[open] { border-color: rgba(242, 140, 40, 0.6); box-shadow: var(--shadow-md); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none;
  border-radius: inherit;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { inline-size: 32px; block-size: 32px; padding: 7px; border-radius: 50%; background: var(--surface); color: var(--muted); transition: transform .25s var(--ease), background-color .2s, color .2s; }
.faq__item summary:hover .icon { background: var(--orange-tint); color: var(--orange-700); }
.faq__item[open] summary .icon { transform: rotate(45deg); background: var(--orange); color: var(--orange-ink); }
.faq__answer { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact / Form ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: clamp(40px, 6vw, 80px); align-items: start; }
.contacts { display: grid; gap: 14px; margin-block-start: 36px; }
.contacts li { display: flex; align-items: center; gap: 14px; color: rgba(255, 255, 255, .9); }
.contacts__icon {
  flex: none; display: grid; place-items: center;
  inline-size: 44px; block-size: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); color: var(--orange);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.contacts__icon .icon { inline-size: 20px; block-size: 20px; }
/* Фирменные плитки мессенджеров */
.contacts__icon--wa { background: var(--wa); border-color: var(--wa); color: #fff; box-shadow: var(--shadow-wa); }
.contacts__icon--fb { background: var(--fb); border-color: var(--fb); color: #fff; box-shadow: 0 12px 26px -10px rgba(24, 119, 242, 0.6); }
.contacts__icon--wa .icon, .contacts__icon--fb .icon { inline-size: 22px; block-size: 22px; }
.contacts a { text-decoration: none; transition: color .2s; }
.contacts a:hover { color: var(--orange); }
[data-phone-text] { direction: ltr; unicode-bidi: isolate; }

.form-card {
  position: relative;
  padding: clamp(24px, 4vw, 40px); border-radius: var(--radius-lg);
  background: var(--paper); color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), var(--shadow-dark);
}
.form-card::before { content: ""; position: absolute; inset-inline: 24px; inset-block-start: 0; block-size: 4px; border-radius: 0 0 4px 4px; background: linear-gradient(90deg, var(--orange-400), var(--orange-600)); }
.form { display: grid; gap: 18px; }
.form__title { font-size: 1.5rem; margin-block-end: 4px; }
.form__hint { margin-block: -8px 4px; font-size: 0.9375rem; color: var(--muted); }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.875rem; font-weight: 600; }
.field label span { color: var(--danger); margin-inline-start: 2px; }
.field input, .field select, .field textarea {
  inline-size: 100%; min-block-size: 50px; padding: 12px 14px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfaf8;
  font-size: 1rem; box-shadow: inset 0 1px 2px rgba(15, 20, 25, 0.04);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa3ab; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line-strong); }
.field textarea { resize: vertical; min-block-size: 96px; }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  padding-inline-end: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6670' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
[dir="rtl"] .field select { background-position: left 12px center; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange-600); background: #fff; box-shadow: 0 0 0 4px rgba(242, 140, 40, .22); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--danger); background: #fff7f7; }
.field.is-invalid input:focus { box-shadow: 0 0 0 4px rgba(214, 69, 69, .18); }
.field__error { min-block-size: 0; font-size: 0.8125rem; color: var(--danger); }
.field__error:empty { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field--check { grid-template-columns: auto 1fr; align-items: start; column-gap: 12px; }
.field--check input {
  appearance: none; -webkit-appearance: none;
  inline-size: 22px; min-block-size: 22px; block-size: 22px; margin: 1px 0 0; padding: 0;
  border: 1.5px solid var(--line-strong); border-radius: 6px; background: #fbfaf8;
  cursor: pointer; transition: background-color .15s, border-color .15s, box-shadow .15s;
}
.field--check input:hover { border-color: var(--orange-600); }
.field--check input:checked {
  border-color: var(--orange-600);
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1300' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E") center / 14px no-repeat;
  box-shadow: 0 2px 6px -1px rgba(242, 140, 40, 0.5);
}
.field--check input:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(242, 140, 40, .25); }
.field--check.is-invalid input { border-color: var(--danger); }
.field--check label { font-weight: 400; font-size: 0.8125rem; color: var(--muted); line-height: 1.5; }
.field--check .field__error { grid-column: 1 / -1; }
.field--check a { color: var(--text); text-decoration-color: var(--line-strong); text-underline-offset: 2px; }
.field--check a:hover { color: var(--orange-700); }
.hp { position: absolute !important; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form__status { font-size: 0.9375rem; text-align: center; }
.form__status.is-error { color: var(--danger); }
.form__note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-block-start: -6px; font-size: 0.8125rem; color: var(--muted); }
.form__note .icon { inline-size: 16px; block-size: 16px; color: var(--success); }

.form-success { display: grid; justify-items: center; gap: 12px; padding-block: 32px; text-align: center; }
.form-success[hidden] { display: none; }
.form-success__icon { inline-size: 64px; block-size: 64px; padding: 14px; border-radius: 50%; background: var(--success); color: #fff; box-shadow: 0 12px 26px -10px rgba(46, 158, 91, 0.6); fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--muted); max-inline-size: 36ch; }
.form-success .btn { margin-block-start: 8px; }

/* ---------- Footer ---------- */
.footer { padding-block: 56px calc(48px + env(safe-area-inset-bottom)); background: var(--ink); color: var(--muted-light); font-size: 0.9375rem; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 24px 48px; align-items: start; }
.footer__brand img { block-size: 68px; inline-size: auto; margin-block-end: 14px; }
.footer__links { display: grid; gap: 22px; justify-items: end; }
.footer__nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 28px; }
.footer__nav a { text-decoration: none; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__social { display: flex; justify-content: flex-end; gap: 10px; }
.footer__social a {
  display: grid; place-items: center; inline-size: 42px; block-size: 42px; border-radius: 50%;
  color: #fff; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.05);
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s;
}
.footer__social a:hover { transform: translateY(-2px); }
.footer__social .icon { inline-size: 20px; block-size: 20px; }
.footer__social [data-social="whatsapp"]:hover { background: var(--wa); border-color: var(--wa); box-shadow: var(--shadow-wa); }
.footer__social [data-social="facebook"]:hover { background: var(--fb); border-color: var(--fb); box-shadow: 0 12px 26px -10px rgba(24, 119, 242, 0.6); }
.footer__copy { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block-start: 24px; border-block-start: 1px solid var(--line-dark); font-size: 0.8125rem; }

/* ---------- Плавающая кнопка WhatsApp (десктоп) ---------- */
.wa-float {
  position: fixed; z-index: 90; inset-block-end: 28px; inset-inline-end: 28px;
  display: grid; place-items: center; inline-size: 60px; block-size: 60px; border-radius: 50%;
  background: linear-gradient(180deg, #3ddf79, var(--wa) 55%, var(--wa-dark)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 4px 10px rgba(0, 80, 30, 0.25), 0 18px 36px -12px rgba(37, 211, 102, 0.75);
  transition: transform .25s var(--ease), box-shadow .25s, opacity .3s, visibility .3s;
}
.wa-float .icon { inline-size: 32px; block-size: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa); opacity: 0; animation: wa-pulse 2.6s ease-out infinite; }
.wa-float:hover { transform: translateY(-3px) scale(1.04); }
.wa-float:active { transform: scale(.97); }
.wa-float.is-hidden { opacity: 0; visibility: hidden; transform: translateY(16px); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }

/* ---------- Reveal-анимация ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .wa-float::before { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* =========================================================
   Адаптив
   ========================================================= */
@media (max-width: 1200px) {
  .header__phone span { display: none; }
}

@media (max-width: 1100px) {
  .header__inner { gap: 16px; }
  .nav { gap: 14px; }
  .nav a { font-size: 0.875rem; }
  .header__actions { gap: 14px; }
  .logo__img { block-size: 54px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .admission__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .admission__item { grid-column: span 2; }
  .admission__item:nth-child(n+4) { grid-column: span 3; }
  .steps__item::after { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .logo__img, .header.is-scrolled .logo__img { block-size: 50px; }
  .burger { display: block; }
  .header__phone, .header__actions .btn, .lang-switch { display: none; }
  .header__actions { margin-inline-start: auto; }
  [dir="rtl"] .nav { margin: 0; }
  [dir="rtl"] .header__actions { margin-inline-start: 0; margin-inline-end: auto; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; gap: 0; margin: 0;
    padding: 8px var(--gutter) 24px;
    background: rgba(15, 20, 25, 0.98);
    border-block-start: 1px solid var(--line-dark);
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding-block: 14px; font-size: 1.125rem; border-block-end: 1px solid var(--line-dark); }
  .nav a::after { display: none; }
  .nav__lang { display: block; padding-block: 14px; font-size: 1.125rem; font-weight: 600; color: var(--orange); text-decoration: none; border-block-end: 1px solid var(--line-dark); }
  .nav__extra { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-block-start: 20px; }
  .nav__extra a { padding: 0; border: 0; font-size: 1rem; }
  .header:has(.nav.is-open) { background: rgba(15, 20, 25, 0.98); }

  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stats li:nth-child(3) { padding-inline-start: 0; border-inline-start: 0; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media { max-inline-size: 560px; }
  .grid--3 { grid-template-columns: 1fr; }
  .about__grid { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__links { justify-items: start; }
  .footer__nav, .footer__social { justify-content: flex-start; }
}

@media (max-width: 767px) {
  body { padding-block-end: calc(64px + env(safe-area-inset-bottom)); }
  .wa-float { display: none; }
  .hero { min-block-size: 100svh; padding-block-start: calc(var(--header-h) + 32px); }
  .hero__lead { margin-block-start: 18px; }
  .hero__cta { margin-block-start: 28px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__overlay { background: linear-gradient(to top, rgba(15, 20, 25, 0.96) 0%, rgba(15, 20, 25, 0.72) 55%, rgba(15, 20, 25, 0.55) 100%); }
  .hero__stats { margin-block-start: 32px; gap: 0 16px; }
  .hero__stats li { padding-block-start: 16px; padding-inline-end: 0; }
  .hero__stats li + li { padding-inline-start: 16px; }
  /* Размер от ширины экрана, а не от системного масштаба шрифта: «Профсоюз» всегда в одну строку */
  .hero__stats strong { font-size: min(1.625rem, 5.6vw); white-space: nowrap; }
  .hero__stats span { font-size: 0.875rem; }
  .grid--2, .field-row { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .admission__grid { grid-template-columns: 1fr; gap: 12px; }
  .admission__item, .admission__item:nth-child(n+4) { grid-column: auto; }
  .admission__item { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; padding: 20px; }
  .admission__icon { grid-row: span 2; inline-size: 44px; block-size: 44px; padding: 11px; margin: 0; }
  .admission__item h3 { margin-block-end: 4px; padding-inline-end: 28px; }
  .admission__num { inset-block-start: 18px; inset-inline-end: 18px; font-size: 1.25rem; }
  .hours__bar { padding-inline: 12px; font-size: 0.875rem; }
  .module__body { padding: 24px; }
  .market__grid { gap: 12px; }
  .market__grid .card { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: start; padding: 20px; }
  .market__grid .card__icon { grid-row: span 2; inline-size: 44px; block-size: 44px; padding: 11px; margin: 0; }
  .market__grid .card__title { margin-block-end: 4px; font-size: 1.0625rem; }
  .market__grid .card p { font-size: 0.9375rem; }
  .offer__points { gap: 10px; }
  .offer__points li { font-size: 0.9375rem; }
  .footer__copy { flex-direction: column; }

  .mobile-bar {
    position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 90;
    display: grid; grid-template-columns: auto auto 1fr; gap: 8px;
    padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom));
    background: rgba(15, 20, 25, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-block-start: 1px solid var(--line-dark);
    box-shadow: 0 -10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: transform .3s var(--ease);
  }
  .mobile-bar.is-hidden { transform: translateY(110%); }
  .mobile-bar a {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-block-size: 48px; padding-inline: 14px; border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.06);
    color: #fff; text-decoration: none; font-weight: 600; font-size: 0.875rem;
    -webkit-tap-highlight-color: transparent; transition: background-color .15s, transform .15s;
  }
  .mobile-bar a:active { transform: scale(.97); }
  .mobile-bar .mobile-bar__wa { background: var(--wa); border-color: var(--wa); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3); }
  .mobile-bar .mobile-bar__wa .icon { inline-size: 22px; block-size: 22px; }
  .mobile-bar .mobile-bar__primary {
    background: linear-gradient(180deg, #ffa24b, var(--orange) 55%, #ea8120);
    border-color: transparent; color: var(--orange-ink); font-size: 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--shadow-orange);
  }
}

@media (max-width: 400px) {
  .mobile-bar a span { display: none; }
}
