/* Бештаунит — кинематографичная тёмная тема.
   Один акцент (тёплый песочный), нейтральные поверхности, крупная типографика. */

:root {
  --bg: #0a0b0d;
  --surface: #12141a;
  --surface-2: #171a22;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f5f8;
  --muted: #9aa1b2;
  --dim: #6d7486;
  --accent: #e7b27c;
  --accent-2: #f3c999;
  --radius: 20px;
  --radius-sm: 12px;
  --container: 1240px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture, video { display: block; max-width: 100%; }

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

.wrap {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(18px, 4vw, 40px);
}

/* ─────────────── шапка ─────────────── */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-solid {
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 13px;
  text-transform: uppercase;
}

.logo svg { width: 34px; height: 26px; flex: none; }

.nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav a {
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}

.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.header .btn { margin-left: 8px; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  position: relative;
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 76px 0 auto 0;
  z-index: 45;
  background: rgba(10, 11, 13, 0.97);
  border-bottom: 1px solid var(--line);
  padding: 12px 0 22px;
  display: none;
}

.mobile-menu a {
  display: block;
  padding: 15px 0;
  font-size: 20px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu.is-open { display: block; }

/* ─────────────── кнопки ─────────────── */

.btn {
  --h: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 24px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 550;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #201709;
  box-shadow: 0 10px 30px -16px rgba(231, 178, 124, 0.9);
}

.btn--primary:hover { transform: translateY(-2px); }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.28); }

.btn--sm { --h: 44px; padding: 0 18px; font-size: 14px; border-radius: 12px; }

/* ─────────────── первый экран ─────────────── */

.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex;
  align-items: flex-end;
  padding: 160px 0 clamp(48px, 7vw, 96px);
  overflow: hidden;
}

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 11, 13, 0.85) 0%, rgba(10, 11, 13, 0.25) 38%, rgba(10, 11, 13, 0.92) 100%),
    linear-gradient(90deg, rgba(10, 11, 13, 0.8) 0%, rgba(10, 11, 13, 0.2) 65%);
}

.hero__content { position: relative; z-index: 2; max-width: 820px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

h1, .h1 {
  margin: 20px 0 0;
  font-size: clamp(34px, 5.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.hero p.lead {
  margin: 22px 0 0;
  max-width: 560px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: #cfd4de;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ─────────────── секции ─────────────── */

.section { padding: clamp(64px, 8vw, 118px) 0; }

.section--tight { padding: clamp(48px, 6vw, 84px) 0; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 52px);
}

.section__label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

h2 {
  margin: 12px 0 0;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.section__title {
  margin: 12px 0 0;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 600;
}

.section__note { max-width: 420px; color: var(--muted); font-size: 15px; }

/* ─────────────── направления ─────────────── */

.directions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.direction {
  position: relative;
  padding: 28px 26px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.direction:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.direction__num {
  font-variant-numeric: tabular-nums;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.direction h3 { margin: 18px 0 10px; font-size: 21px; letter-spacing: -0.02em; font-weight: 600; }

.direction p { margin: 0; color: var(--muted); font-size: 15px; }

.direction ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.direction li {
  font-size: 13px;
  color: #c9cfdb;
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

/* ─────────────── проекты ─────────────── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s var(--ease);
}

.card:hover { border-color: var(--line-strong); transform: translateY(-4px); }

.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: #1b1e26; }

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.card:hover .card__media img { transform: scale(1.04); }

.card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }

.card__tag {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.card h3 { margin: 0; font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; font-weight: 550; }

.card__meta { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; font-size: 13px; color: var(--dim); }

/* ─────────────── видео ─────────────── */

.film {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-areas: "poster text" "poster action";
  gap: clamp(16px, 2vw, 24px) clamp(24px, 4vw, 56px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(40px, 5vw, 72px) 0;
}

.film__poster { grid-area: poster; }
.film__text { grid-area: text; align-self: end; }
.film__action { grid-area: action; align-self: start; }
.film__text h2 { margin-bottom: 0; }

.film__poster {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #15181f;
}

.film__poster img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }

.film__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s;
}

.film__play:hover { transform: scale(1.06); background: rgba(231, 178, 124, 0.9); color: #201709; border-color: transparent; }

.film__play svg { width: 26px; height: 26px; margin-left: 4px; }

.film__poster video { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; background: #000; }

/* ─────────────── новости ─────────────── */

.news { display: grid; gap: 0; border-top: 1px solid var(--line); }

.news__item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding 0.25s var(--ease);
}

.news__item:hover { background: rgba(255, 255, 255, 0.025); padding-left: 16px; }

.news__date { font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }

.news__title { font-size: 18px; letter-spacing: -0.015em; }

.news__arrow { color: var(--dim); transition: transform 0.25s var(--ease), color 0.25s; }

.news__item:hover .news__arrow { transform: translateX(6px); color: var(--accent); }

/* ─────────────── о нас + заявка ─────────────── */

.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }

.quote {
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: #eef0f5;
}

.quote footer { margin-top: 18px; font-size: 14px; color: var(--muted); letter-spacing: 0.02em; }

.about p { color: var(--muted); }

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 34px);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.field { display: grid; gap: 8px; margin-bottom: 16px; }

.field label { font-size: 13px; color: var(--muted); letter-spacing: 0.02em; }

.field input, .field textarea {
  width: 100%;
  min-height: 50px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: rgba(0, 0, 0, 0.35);
  color: var(--text);
  font: inherit;
  font-size: 16px;
  transition: border-color 0.2s, background 0.2s;
}

.field textarea { min-height: 104px; resize: vertical; }

.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.5);
}

.form__note { margin: 14px 0 0; font-size: 12px; color: var(--dim); }

/* ─────────────── подвал ─────────────── */

.footer { border-top: 1px solid var(--line); padding: 56px 0 36px; }

.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }

.footer h4 { margin: 0 0 14px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); font-weight: 500; }

.footer p, .footer a { color: var(--muted); font-size: 15px; }

.footer a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--dim);
}

/* ─────────────── появление при прокрутке ─────────────── */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ─────────────── телефон и планшет ─────────────── */

@media (max-width: 1020px) {
  .film { grid-template-columns: 1fr; grid-template-areas: "text" "poster" "action"; gap: 20px; }
  .about { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav, .header .btn { display: none; }
  .burger { display: block; }
  .hero { min-height: 0; padding-top: 120px; }
  .hero__media img { object-position: 68% 22%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .news__item { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .news__date { grid-column: 1 / -1; font-size: 12px; }
  .news__arrow { display: none; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  body { font-size: 16px; }
}

/* ─────────────── внутренние страницы ─────────────── */

.page { max-width: 900px; }
.page__title {
  margin: 16px 0 28px;
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 600;
}

.article { padding: 132px 0 clamp(64px, 8vw, 110px); }
.article__wrap { max-width: 820px; }
.article__back { display: inline-block; font-size: 13px; letter-spacing: 0.06em; color: var(--dim); margin-bottom: 18px; }
.article__back:hover { color: var(--accent); }
.article__date { margin: 0; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.article__title {
  margin: 14px 0 0;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 600;
}
.article__lead { margin: 20px 0 0; font-size: 19px; color: #cfd4de; }
.article__body { margin-top: 34px; color: #dfe3ea; font-size: 18px; line-height: 1.65; }
.article__body p { margin: 0 0 20px; }
.article__body h2, .article__body h3, .article__body h4, .article__body h5 {
  margin: 38px 0 14px;
  font-size: clamp(21px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.article__body h5, .article__body h6 { font-size: 19px; }
.article__body ul { margin: 0 0 22px; padding-left: 22px; }
.article__body li { margin-bottom: 8px; }
.article__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.figure { margin: 30px 0; }
.figure img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.figure--lead { margin: 30px 0 34px; }
.figure--lead img { border-radius: var(--radius); }

.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 30px 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #15181f;
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* карточка без фотографии: мягкий градиент вместо пустого места */
.card--text { background: linear-gradient(160deg, #1b2029 0%, #12141a 60%); }
.card--text .card__body { min-height: 190px; justify-content: space-between; }
.card--text { position: relative; }
.card--text::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 9px);
  pointer-events: none;
}
.card--text h3 { font-size: 22px; }

/* ─────────────── правки после первого просмотра ─────────────── */

/* внутренние страницы: шапка сразу с фоном, иначе меню наезжает на заголовок */
body.inner .header {
  background: rgba(10, 11, 13, 0.88);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}

.nav a { white-space: nowrap; }

/* меню на телефоне: прокрутка, если не влезает, и блокировка прокрутки страницы */
.mobile-menu {
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease);
}
.mobile-menu.is-open { transform: none; opacity: 1; }
.mobile-menu { background: #0a0b0d; border-bottom: 1px solid var(--line-strong); box-shadow: 0 24px 60px -20px rgba(0,0,0,0.9); }
body.menu-open { overflow: hidden; }
body.menu-open .header { background: rgba(10, 11, 13, 0.96); }

/* единые пропорции фотографий */
.card__media { aspect-ratio: 4 / 3; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.figure--lead img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.figure img { width: 100%; height: auto; }

/* подвал: ссылки на документы */
.footer__docs { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 14px; }
.footer__docs a { font-size: 13px; color: var(--dim); }
.footer__docs a:hover { color: var(--accent); }

/* документы: ровный текст */
.page .article__body { font-size: 16.5px; }
.page .article__body h4 { margin-top: 30px; }

/* контакты: три карточки в ряд */
.contacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.contacts__card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contacts__card h3 { margin: 0; font-size: 22px; letter-spacing: -0.02em; }
.contacts__card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.contacts__card p a { color: var(--text); }
.contacts__card .btn { align-self: flex-start; margin-top: auto; }
.contacts__socials { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; }
.contacts__socials a { color: var(--accent); }

.map-link { margin: 18px 0 0; }

/* ─────────────── cookie, галочка, статус отправки ─────────────── */

.cookie {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: rgba(14, 16, 21, 0.97);
  border-top: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  padding: 16px 0;
}
.cookie__inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.cookie__text { margin: 0; flex: 1 1 420px; font-size: 14px; color: var(--muted); }
.cookie__text a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.cookie__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { --h: 42px; }

.check { display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 14px; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form-status { margin: 12px 0 0; font-size: 14px; min-height: 20px; }
.form-status.is-ok { color: #8fd6a5; }
.form-status.is-error { color: #f08a8a; }

/* ─────────────── выпадающее меню «Новости» ─────────────── */

.nav__group { position: relative; }
.nav__parent { display: inline-flex; align-items: center; gap: 6px; }
.nav__caret { font-size: 10px; opacity: 0.55; transition: transform 0.2s var(--ease); }
.nav__group:hover .nav__caret { transform: translateY(2px); }
.nav__parent.is-active { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.nav__drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  padding: 6px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #12141a;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.95);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
}

.nav__group:hover .nav__drop,
.nav__group:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }

.nav__drop a { display: block; padding: 10px 12px; border-radius: 9px; font-size: 14px; }

.mobile-sub { display: none; }

@media (max-width: 860px) {
  .mobile-menu .nav__drop { display: none; }
  .mobile-sub { display: block; margin: 2px 0 10px 14px; padding-left: 12px; border-left: 1px solid var(--line-strong); }
  .mobile-sub a { display: block; padding: 10px 0; font-size: 16px; color: var(--muted); border: 0; }
}

/* мобильное меню: подпункты новостей стоят сразу под «Новостями» */
.mobile-menu__group { font-weight: 550; }
.mobile-sub { margin: 0 0 6px 6px; padding-left: 14px; border-left: 1px solid var(--line-strong); }
.mobile-sub a { padding: 12px 0; font-size: 16px; color: var(--muted); border-bottom: 1px solid rgba(255,255,255,0.05); }
.mobile-sub a.is-active { color: var(--accent); }
.mobile-menu > .wrap > a:last-child { border-bottom: 0; }

/* открытое меню прячет плашку cookie, чтобы не перекрывала кнопки */
body.menu-open .cookie { display: none; }

/* кнопка внутри бургер-меню: текст по центру, как у обычной кнопки */
.mobile-menu .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-bottom: 0;
  text-align: center;
}

/* раскрывающийся блок «Новости» в бургер-меню */
.mobile-group__head { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); }
.mobile-group__head > a { flex: 1; border-bottom: 0; padding: 15px 0; font-size: 20px; }
.mobile-group__toggle {
  width: 44px; height: 44px; flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 13px;
  cursor: pointer;
  transition: transform 0.22s var(--ease), background 0.2s;
}
.mobile-group__toggle:hover { background: rgba(255, 255, 255, 0.09); }
.mobile-group.is-open .mobile-group__toggle { transform: rotate(180deg); background: rgba(231, 178, 124, 0.16); }

.mobile-sub { display: none; }
.mobile-group.is-open .mobile-sub { display: block; }

/* меню на телефоне занимает весь экран под шапкой */
.mobile-menu { inset: 76px 0 0 0; max-height: none; padding-bottom: 32px; }
.mobile-sub a.is-active { color: var(--accent); font-weight: 550; }

/* одна карточка не растягивается на всю ширину */
.cards > .card { max-width: 420px; }
@media (max-width: 620px) { .cards > .card { max-width: none; } }

/* подпись под фотографией */
.figure__caption { margin: -18px 0 28px; font-size: 13.5px; color: var(--dim); line-height: 1.45; }
