/* ============================================================
   XRT.kz (ULS ASIA) — стили сайта. Основа: макет uls-asia.kz,
   ниже — дополнения под XRT: плитки руд, схемы, иконки технологии.
   Фирменный стиль оригинала uls-asia.kz: светлый монохром
   (белый / серый / графит), сдержанный красный акцент из
   фирменного знака, зелёный — только у кнопок WhatsApp.
   Mobile-first, брейкпоинты: 360 / 768 / 1024 / 1200.
   ============================================================ */

:root {
  /* Палитра — менять здесь */
  --c-ink:    #111417;   /* почти чёрный — заголовки, тёмные кнопки */
  --c-text:   #23262a;   /* основной текст */
  --c-muted:  #6d727b;   /* вторичный текст (серый оригинала #989ca2, затемнён для контраста) */
  --c-line:   #e4e6ea;   /* границы карточек */
  --c-bg:     #ffffff;   /* базовый фон */
  --c-soft:   #f5f5f6;   /* светло-серые секции (как на оригинале) */
  --c-dark:   #15181c;   /* тёмные блоки: герой, футер */
  --c-dark-2: #1e2228;   /* карточки на тёмном */
  --c-red:    #d43b33;   /* фирменный красный акцент (шильдик ULS ASIA) */
  --c-wa:     #25d366;   /* зелёный — ТОЛЬКО WhatsApp */
  --c-wa-2:   #1db457;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Roboto Mono", Consolas, monospace;

  --radius: 10px;
  --shadow: 0 4px 20px rgba(17, 20, 23, .07);
  --container: 1200px;
}

/* ---------- Сброс ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .5em; font-weight: 800; color: var(--c-ink); }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
table { border-collapse: collapse; width: 100%; }

/* ВАЖНО: атрибут hidden должен работать всегда,
   иначе классы с display перебивают скрытие (скрытый телефон!) */
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--c-ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px)  { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

/* Числовые характеристики — моноширинный «технический» акцент */
.num { font-family: var(--mono); font-weight: 600; letter-spacing: -0.02em; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;              /* кликабельная зона ≥44px */
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius);
  font: 600 15px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s, transform .18s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }

/* WhatsApp — главная конверсионная кнопка */
.btn--wa { background: var(--c-wa); color: #fff; }
.btn--wa:hover { background: var(--c-wa-2); }

/* тёмная кнопка в стиле «Позвонить нам» оригинала */
.btn--dark { background: var(--c-ink); color: #fff; }
.btn--dark:hover { background: #2c3138; }

/* контурная — на тёмном фоне */
.btn--ghost {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.35);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 2px #fff; }

/* контурная — на светлом фоне */
.btn--outline {
  background: #fff;
  color: var(--c-ink);
  box-shadow: inset 0 0 0 2px var(--c-line);
}
.btn--outline:hover { box-shadow: inset 0 0 0 2px var(--c-ink); }

.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 14px; }

/* ---------- Шапка ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--c-line);
}
.header__in {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
}
.logo { flex: none; display: inline-flex; align-items: center; }
.logo img { height: 42px; width: auto; }

.nav { display: none; }
.nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-muted);
  padding: 6px 2px;
  white-space: nowrap;
}
.nav a:hover { color: var(--c-ink); }
.nav a[aria-current="page"] { color: var(--c-ink); box-shadow: 0 2px 0 var(--c-red); }

.header__cta { display: none; margin-left: auto; align-items: center; gap: 10px; }

/* Переключатель языков RU / ҚАЗ / ENG — виден на всех ширинах */
.lang {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  padding: 2px;
}
.lang a {
  font: 700 12.5px/1 var(--font);
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--c-muted);
  padding: 8px 9px;
  border-radius: 6px;
}
.lang a:hover { color: var(--c-ink); }
.lang a[aria-current="true"] { background: var(--c-ink); color: #fff; }
@media (min-width: 1200px) { .lang { margin-left: 6px; } }

/* Бургер */
.burger {
  margin-left: 2px;
  width: 48px; height: 48px;
  background: none; border: 0; cursor: pointer;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.burger span {
  width: 24px; height: 2px; background: var(--c-ink);
  transition: transform .2s, opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* десктоп-меню включается с 1200px — раньше не влезает без переносов */
@media (min-width: 1200px) {
  .burger { display: none; }
  .nav { display: flex; gap: 14px; margin-left: 16px; margin-right: 8px; }
  .header__cta { display: flex; }
  /* до 1400px кнопка WhatsApp в шапке — только иконка, чтобы всё влезало */
  .header__cta .btn--wa span { display: none; }
  .header__cta .btn--wa { padding: 12px 14px; }
}
@media (min-width: 1400px) {
  .nav { gap: 20px; margin-left: 26px; }
  .header__cta .btn--wa span { display: inline; }
  .header__cta .btn--wa { padding: 12px 22px; }
}

/* Мобильное меню */
@media (max-width: 1199.98px) {
  .nav {
    position: fixed;
    inset: 68px 0 0 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    padding: 20px 20px 40px;
    gap: 2px;
    transform: translateX(100%);
    transition: transform .25s ease;
    overflow-y: auto;
    border-top: 1px solid var(--c-line);
  }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 18px; padding: 14px 4px; border-bottom: 1px solid var(--c-line); }
  .nav .nav__cta { margin-top: 22px; display: flex; flex-direction: column; gap: 10px; border: 0; }
}
@media (min-width: 1200px) { .nav .nav__cta { display: none; } }

/* ---------- Секции ---------- */
.section { padding: 56px 0; }
.section--soft { background: var(--c-soft); }
.section--dark { background: var(--c-dark); color: #cfd3d9; }
.section--dark h2, .section--dark h3 { color: #fff; }
@media (min-width: 768px) { .section { padding: 84px 0; } }

.section__head { max-width: 760px; margin-bottom: 34px; }
.section__title { font-size: 28px; }
.section__lead { color: var(--c-muted); font-size: 17px; }
.section--dark .section__lead { color: #9aa1ab; }
@media (min-width: 768px) { .section__title { font-size: 36px; } }

/* красная фирменная плашка-надзаголовок */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 700 12.5px/1 var(--font);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 14px;
}
.kicker::before {
  content: "";
  width: 26px; height: 3px;
  background: var(--c-red);
}

/* ---------- Герой ---------- */
.hero {
  position: relative;
  background: var(--c-dark);
  color: #fff;
  overflow: hidden;
  padding: 72px 0 60px;
}
.hero__video, .hero__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .38;                 /* видео/фото приглушены под текст */
}
.hero__in { position: relative; }
.hero h1 { font-size: 30px; max-width: 800px; color: #fff; }
.hero__lead { font-size: 18px; color: #c3c8cf; max-width: 640px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero--sub { padding: 52px 0 44px; }
@media (min-width: 768px)  { .hero h1 { font-size: 42px; } .hero { padding: 96px 0 80px; } .hero--sub { padding: 64px 0 56px; } }
@media (min-width: 1200px) { .hero h1 { font-size: 48px; } }

/* Ключевые цифры */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
}
.stat { background: #fff; padding: 20px 22px; }
.stat__num { font: 700 27px/1.1 var(--mono); color: var(--c-ink); }
.stat__num b { color: var(--c-red); font-weight: 700; }
.stat__label { font-size: 14px; color: var(--c-muted); margin-top: 4px; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* в герое цифры на тёмном */
.hero .stats { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.14); margin-top: 44px; }
.hero .stat { background: rgba(21,24,28,.82); }
.hero .stat__num { color: #fff; }
.hero .stat__label { color: #9aa1ab; }

/* ---------- Карточки категорий (главная) ---------- */
.cats { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .cats { grid-template-columns: repeat(2, 1fr); } }

.cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.cat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-card__img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.cat-card__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.cat-card__title { font-size: 21px; margin-bottom: 6px; }
.cat-card__text { color: var(--c-muted); font-size: 15px; flex: 1; }
.cat-card__specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.chip {
  font: 600 13px/1 var(--mono);
  background: var(--c-soft);
  border: 1px solid var(--c-line);
  border-radius: 6px;
  padding: 7px 10px;
  color: var(--c-text);
}
.cat-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Карточка модели ---------- */
.models { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .models { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .models { grid-template-columns: repeat(3, 1fr); } }

.model {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.model:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.model__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--c-soft); }
.model__body { padding: 18px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.model__title { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.model table { font-size: 14px; margin-bottom: 16px; }
.model td { padding: 6px 0; border-bottom: 1px solid var(--c-soft); vertical-align: top; }
.model td:first-child { color: var(--c-muted); padding-right: 12px; }
.model td:last-child { text-align: right; font-family: var(--mono); font-weight: 600; }
.model .btn { margin-top: auto; }

/* ---------- Список услуг (карточки с иконками) ---------- */
.services-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services-grid--4 { grid-template-columns: repeat(4, 1fr); } .services-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.service {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 24px 22px;
}
.service__icon { color: var(--c-red); margin-bottom: 14px; }
.service__title { font-size: 18px; }
.service__text { font-size: 14.5px; color: var(--c-muted); margin: 0; }

/* простой двухколоночный список работ (СМР) */
.worklist { display: grid; gap: 10px 28px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .worklist { grid-template-columns: 1fr 1fr; } }
.worklist li {
  position: relative;
  padding: 12px 14px 12px 38px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  font-size: 15px;
}
.worklist li::before {
  content: "";
  position: absolute;
  left: 14px; top: 19px;
  width: 12px; height: 3px;
  background: var(--c-red);
}

/* ---------- Проекты ---------- */
.projects { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects { grid-template-columns: repeat(3, 1fr); } }
.project {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.project__body { padding: 18px 20px 22px; flex: 1; }
.project__title { font-size: 16.5px; }
.project__text { font-size: 14px; color: var(--c-muted); margin: 0; }
.project__meta { font-size: 13.5px; color: var(--c-muted); margin: 10px 0 0; }
.project__meta b { color: var(--c-text); font-weight: 600; }

/* ---------- Преимущества ---------- */
.trust { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 768px)  { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust--3 { grid-template-columns: repeat(3, 1fr); } .trust--4 { grid-template-columns: repeat(4, 1fr); } }
.trust__item {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.trust__item svg { flex: none; color: var(--c-red); margin-top: 2px; }
.trust__item b { display: block; color: var(--c-ink); }
.trust__item span { font-size: 14.5px; color: var(--c-muted); }

/* ---------- Клиенты («Нам доверяют») ---------- */
.clients {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  align-items: center;
}
@media (min-width: 768px) { .clients { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .clients { grid-template-columns: repeat(6, 1fr); } }
.clients__cell {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex; align-items: center; justify-content: center;
  min-height: 92px;
}
.clients__cell img {
  max-height: 56px; width: auto; max-width: 100%;
  filter: grayscale(1); opacity: .75;
  transition: filter .2s, opacity .2s;
}
.clients__cell:hover img { filter: none; opacity: 1; }

/* ---------- Контакты ---------- */
.contacts-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .contacts-grid { grid-template-columns: 1.1fr .9fr; } }

.office { padding: 13px 0; border-bottom: 1px solid var(--c-line); }
.section--dark .office { border-color: #2a2f36; }
.office__city { display: block; font-weight: 700; color: var(--c-ink); }
.section--dark .office__city { color: #fff; }
.office__addr { font-size: 14.5px; color: var(--c-muted); }
.section--dark .office__addr { color: #9aa1ab; }

.contact-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
@media (min-width: 480px) { .contact-actions { max-width: 340px; } }

/* ---------- Хлебные крошки ---------- */
.crumbs { font-size: 13.5px; color: #9aa1ab; margin-bottom: 18px; }
.crumbs a { color: #9aa1ab; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-current] { color: #fff; }

/* ---------- CTA-полоса ---------- */
.cta-band { background: var(--c-dark); color: #cfd3d9; border-top: 3px solid var(--c-red); }
.cta-band__in { display: flex; flex-direction: column; gap: 18px; padding: 44px 0; }
.cta-band h2 { font-size: 24px; margin: 0; color: #fff; }
.cta-band p { color: #9aa1ab; margin: 6px 0 0; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 1024px) {
  .cta-band__in { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Футер ---------- */
.footer {
  background: var(--c-dark);
  color: #9aa1ab;
  padding: 48px 0 28px;
  font-size: 14.5px;
  border-top: 1px solid #2a2f36;   /* отделяет подвал от тёмного блока-призыва над ним */
}
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: repeat(3, 1fr); } }
.footer .logo img { height: 46px; }
.footer h3 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; }
.footer a { color: #9aa1ab; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer li { margin-bottom: 8px; }
.footer .office { border-color: #2a2f36; }
.footer .office__city { color: #e5e8ec; }
.footer__bottom {
  margin-top: 36px; padding-top: 20px;
  border-top: 1px solid #2a2f36;
  font-size: 13px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
}

/* ---------- Анимация появления ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Текстовые страницы ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 24px; margin-top: 1.6em; }
.prose li { list-style: disc; margin: 0 0 .4em 1.2em; }


/* ============================================================
   Дополнения XRT.kz
   ============================================================ */

/* Схемы (технологическая схема, схема в шахте) */
.figures { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 1024px) { .figures { grid-template-columns: 1fr 1fr; align-items: start; } }
.figure { margin: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.figure img { width: 100%; }
.figure figcaption { padding: 14px 18px; font-weight: 700; color: var(--c-ink); border-top: 1px solid var(--c-line); }

/* Иконки «Основной технологии» — картинки со старого сайта */
.service__img { width: 100%; height: 200px; object-fit: contain; margin-bottom: 16px; background: var(--c-soft); border: 1px solid var(--c-line); border-radius: 8px; padding: 14px; }

/* Плитки руд: фото + подпись, каждая — ссылка в WhatsApp */
.ores { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
@media (min-width: 768px)  { .ores { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1024px) { .ores { grid-template-columns: repeat(6, 1fr); } }
.ore {
  display: flex; flex-direction: column; text-decoration: none; color: var(--c-ink);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden;
  transition: box-shadow .2s, transform .2s;
}
.ore:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ore img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ore span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 6px; font-size: 14px; font-weight: 600; text-align: center; }

/* Таблица характеристик на странице модели */
.spec-table { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; }
.spec-table td { padding: 12px 18px; border-bottom: 1px solid var(--c-soft); vertical-align: top; font-size: 15px; }
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child { color: var(--c-muted); width: 40%; }
.spec-table td:last-child { font-family: var(--mono); font-weight: 600; }

/* Модели на главной — две карточки в ряд на десктопе */
.models--2 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .models--2 { grid-template-columns: repeat(2, 1fr); } }

/* Люди (страница о компании) */
.person b { display: block; color: var(--c-ink); font-size: 16px; }
.person em { display: block; font-style: normal; font-size: 14px; color: var(--c-text); margin: 4px 0 8px; }
.person span { font-size: 14px; }

/* Пилюля языков: Рус / Қаз / Eng — как в образце */

/* Закрытое мобильное меню уезжает за экран через translateX(100%) и в макете
   uls-asia остаётся в ширине прокрутки: документ становится вдвое шире экрана.
   Прячем его по-настоящему и запрещаем горизонтальную прокрутку на узких экранах. */
@media (max-width: 1199.98px) {
  html, body { overflow-x: hidden; }
  .nav { visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
  .nav.is-open { visibility: visible; transition: transform .25s ease, visibility 0s; }
}

/* Схемы открываются на весь экран по клику */
.zoom { display: block; cursor: zoom-in; position: relative; }
.zoom::after {
  content: "";
  position: absolute; right: 12px; bottom: 12px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(17,20,23,.72) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M21 21l-4.3-4.3M11 8v6M8 11h6'/></svg>") center/20px no-repeat;
  pointer-events: none;
}
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 24px; background: rgba(17,20,23,.92); cursor: zoom-out;
}
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; background: #fff; border-radius: 8px; }
.lightbox__close {
  position: absolute; top: 16px; right: 16px; width: 48px; height: 48px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff;
  font-size: 28px; line-height: 1; cursor: pointer;
}
.lightbox__close:hover { background: rgba(255,255,255,.28); }
