:root {
  --bg-main: #181210;
  --bg-soft: #241c18;
  --paper: #ebe3d6;
  --paper-2: #ddd2c4;
  --gold: #b08d6a;
  --gold-soft: #c5a47e;
  --text-main: #f2ede4;
  --text-muted: #cfc3b2;
  --black: #0b0908;
  --radius: 16px;
  --shadow: 0 18px 44px rgba(12, 8, 6, 0.45);
  --header-h: 72px;
  --surface-radius: 20px;
  --surface-shadow: 0 12px 40px rgba(8, 6, 5, 0.4);
  --surface-shadow-hover: 0 18px 48px rgba(8, 6, 5, 0.48);
  /* Карточки: как в макете — #2b1f18 / #1b1411 */
  --surface-bg: linear-gradient(158deg, rgba(48, 36, 30, 0.95), rgba(27, 20, 17, 0.98));
  --surface-tint: rgba(36, 28, 24, 0.62);
  --surface-border: rgba(176, 141, 106, 0.2);
  /* Лёгкий блюр: силуэты читаются, фон чуть мягче */
  --hero-bg-blur: 5px;
  --hero-bg-blur-scale: 1.04;
  /* Локально: без Google Fonts, работает offline / file:// */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: Georgia, "Times New Roman", "Times", "Noto Serif", serif;
  /* Оттенки внутри палитры сайта (золото / бронза / paper-2) для карточек сценариев */
  --uc-immigration: #b08d6a;
  --uc-studies: #c5a47e;
  --uc-work: #95785a;
  --uc-business: #c9ab88;
  --uc-legal: #8a6648;
  /* Фон страницы: глубокий эспрессо как в референсе (#120e0c / #140f0d) */
  --page-bg-base: #120e0c;
  --page-bg-mid: #161210;
  --page-bg-glow: rgba(197, 164, 126, 0.05);
  --page-bg-glow-soft: rgba(197, 164, 126, 0.032);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background-color: var(--page-bg-base);
  /* Тёплый шоколад + едва заметное «антикварное» золото (без персика) */
  background-image:
    radial-gradient(ellipse 125% 65% at 50% -8%, var(--page-bg-glow) 0%, transparent 55%),
    radial-gradient(ellipse 45% 38% at 92% 18%, var(--page-bg-glow-soft) 0%, transparent 52%),
    radial-gradient(ellipse 42% 36% at 6% 88%, rgba(90, 65, 48, 0.07) 0%, transparent 50%),
    radial-gradient(ellipse 95% 55% at 50% 108%, rgba(0, 0, 0, 0.45) 0%, transparent 48%),
    linear-gradient(
      168deg,
      #1a1512 0%,
      var(--page-bg-mid) 28%,
      #140f0d 52%,
      #120e0c 78%,
      var(--page-bg-base) 100%
    );
  background-attachment: fixed;
}

body {
  margin: 0;
  color: var(--text-main);
  background: transparent;
  font-family: var(--font-sans);
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  margin: 0 0 0.8rem;
}

p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

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

main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* Под контентом — иначе «зерно» ложится поверх фото и кажется низкое качество */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.028;
  z-index: 1;
  background-image: radial-gradient(rgba(255, 246, 235, 0.35) 1px, transparent 1px);
  background-size: 4px 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: linear-gradient(180deg, rgba(22, 17, 14, 0.9), rgba(14, 11, 9, 0.88));
  border-bottom: 1px solid rgba(176, 141, 106, 0.22);
  box-shadow: 0 1px 0 rgba(230, 218, 198, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  color: #c5a47e !important;
  text-decoration: none;
}

.logo-mark {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
  /* Тон лого ≈ --gold-soft */
  filter: brightness(0) saturate(100%) invert(72%) sepia(22%) saturate(420%) hue-rotate(355deg) brightness(96%) contrast(88%);
}

.logo-text {
  white-space: nowrap;
  color: #c5a47e !important;
  text-shadow: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
}

.lang-btn.active {
  color: var(--gold-soft);
}

.section {
  padding: 82px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  /* Высота: от низа шапки до низа экрана */
  min-height: max(520px, calc(100vh - var(--header-h)));
  min-height: max(520px, calc(100svh - var(--header-h)));
  display: flex;
  align-items: center;
}

/* Fallback, если нет hero-background.jpg */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #1a1410 0%, #120e0b 50%, #0d0a08 100%);
  z-index: -4;
}

.hero-layers {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Полноэкранное заполнение без масштабирования в JS */
.hero-bg-fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #1a1510;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  /* Статуя справа — не обрезаем фигуру, слева остаётся воздух под текст */
  object-position: right center;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: scale(var(--hero-bg-blur-scale));
  transform-origin: right center;
  filter: blur(var(--hero-bg-blur));
  -webkit-filter: blur(var(--hero-bg-blur));
  will-change: filter;
}

/* Резерв: фон через CSS-переменную (если вернёте div.hero-bg) */
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #1a1510;
  background-image: var(--hero-bg-image, none);
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

/* Резерв под отдельный слой с GLB / PNG-фигурой (сейчас не используется) */
.hero-figure-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(0.5rem, 4vh, 2.5rem);
  z-index: 1;
}

.hero-figure-scaler {
  width: min(78vw, 560px);
  max-height: min(72vh, 760px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transform: scale(1);
  transform-origin: center bottom;
  will-change: transform;
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.45));
}

.hero-figure-img {
  width: 100%;
  height: auto;
  max-height: min(72vh, 760px);
  object-fit: contain;
  object-position: bottom center;
  display: block;
  user-select: none;
  pointer-events: none;
}

model-viewer.hero-model-viewer {
  width: 100%;
  height: min(72vh, 760px);
  min-height: 280px;
  max-height: min(72vh, 760px);
  background: transparent;
  --poster-color: transparent;
  user-select: none;
  pointer-events: none;
}

/* Текст по центру: слева/центр темнее, справа мягче — не забить статую */
.hero-readability {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(100deg, rgba(12, 9, 7, 0.82) 0%, rgba(12, 9, 7, 0.45) 42%, rgba(10, 8, 6, 0.22) 58%, rgba(8, 6, 5, 0.35) 100%),
    linear-gradient(180deg, rgba(10, 8, 6, 0.55) 0%, transparent 42%, rgba(8, 6, 5, 0.75) 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: inherit;
  padding-block: clamp(4rem, 12vh, 6rem);
}

/* Отключено: blur + анимация размывали фон и статую */
.hero-smoke {
  display: none;
}

.hero-content {
  text-align: center;
  max-width: min(46rem, 100%);
  margin-inline: auto;
}

.hero-content h1 {
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.55);
}

.hero-content .eyebrow {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.eyebrow {
  color: var(--gold-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.12;
}

.hero-subtitle {
  font-size: 1.1rem;
  max-width: 52ch;
  margin-inline: auto;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.45);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.4rem 0 1rem;
  justify-content: center;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.social-link {
  color: var(--gold-soft);
  border-bottom: 1px solid rgba(197, 164, 126, 0.32);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.28s ease;
  border: 1px solid transparent;
}

.btn:hover {
  filter: brightness(1.04);
}

.btn:focus-visible {
  outline: 2px solid rgba(197, 164, 126, 0.65);
  outline-offset: 4px;
}

.btn-primary {
  background: linear-gradient(95deg, #9a7252, #c5a47e);
  color: #140f0d;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(176, 141, 106, 0.35);
}

.btn-secondary,
.btn-outline {
  border: none;
  color: var(--paper);
  background: rgba(235, 227, 214, 0.1);
  box-shadow: var(--surface-shadow);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: rgba(235, 227, 214, 0.16);
  box-shadow: var(--surface-shadow-hover);
  transform: translateY(-1px);
}

.btn-ticket {
  position: relative;
  padding: 0.7rem 1.35rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.78rem;
  border: none;
  box-shadow: var(--surface-shadow);
  clip-path: polygon(6% 0, 94% 0, 100% 50%, 94% 100%, 6% 100%, 0 50%);
}

.btn-ticket::before {
  display: none;
}

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: 1rem;
}

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.landing-main-stack {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.section-inner {
  display: flex;
  flex-direction: column;
}

.section-head {
  margin-bottom: 1.35rem;
}

.section-head h2 {
  margin: 0;
}

main .section h2 {
  text-align: center;
}

.section-head .section-lead {
  margin: 0.55rem 0 0;
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.45;
}

.paper-card,
.review-card,
.social-card {
  position: relative;
  background: var(--surface-bg);
  background-color: var(--surface-tint);
  border: 1px solid var(--surface-border);
  border-radius: var(--surface-radius);
  padding: 1.35rem 1.3rem;
  overflow: hidden;
  box-shadow: var(--surface-shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

a.social-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.social-card:focus-visible {
  outline: 2px solid rgba(197, 164, 126, 0.55);
  outline-offset: 3px;
}

.paper-card::before,
.review-card::before,
.social-card::before,
.step::before {
  display: none;
}

.icon-stamp {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(197, 164, 126, 0.2);
  background: rgba(197, 164, 126, 0.14);
  box-shadow: 0 4px 16px rgba(28, 18, 14, 0.2);
  color: var(--gold-soft);
  font-family: var(--font-display);
}

/* Фон: тёплое фото как в hero; раньше был hero-blender-bg — у него фиолетовый каст с рендера */
.english-focus {
  background:
    linear-gradient(120deg, rgba(32, 22, 16, 0.92), rgba(16, 11, 8, 0.95)),
    linear-gradient(100deg, rgba(48, 28, 14, 0.35), rgba(30, 18, 10, 0.25)),
    url("assets/hero-justice-bronze-statue.png") right center / cover no-repeat;
}

.focus-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.8rem;
  align-items: center;
}

.focus-content {
  background: linear-gradient(145deg, rgba(28, 20, 15, 0.75), rgba(16, 11, 9, 0.55));
  border: none;
  border-radius: var(--surface-radius);
  padding: clamp(1rem, 2vw, 1.6rem);
  box-shadow: var(--surface-shadow);
}

.english-focus .focus-content h2 {
  text-align: left;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 0.55rem;
}

.focus-content p {
  max-width: 55ch;
  margin-bottom: 0.9rem;
}

.doc-list {
  margin: 0 0 1.25rem;
  padding-left: 1.05rem;
  display: grid;
  gap: 0.18rem;
}

.focus-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.focus-content-wa {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  text-decoration-color: rgba(197, 164, 126, 0.45);
}

.focus-content-wa:hover {
  color: var(--paper);
  text-decoration-color: rgba(242, 237, 228, 0.5);
}

.en-arrow-wrap {
  justify-self: center;
  text-align: center;
  padding: 1.4rem 1.2rem;
}

.en-arrow {
  font-size: clamp(2rem, 5vw, 4.2rem);
  color: rgba(197, 164, 126, 0.88);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.en-arrow-note {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(197, 164, 126, 0.68);
}

/* Футер: тот же фон, что у блока english-focus (justice + градиенты) */
.site-footer {
  background:
    linear-gradient(120deg, rgba(32, 22, 16, 0.92), rgba(16, 11, 8, 0.95)),
    linear-gradient(100deg, rgba(48, 28, 14, 0.35), rgba(30, 18, 10, 0.25)),
    url("assets/hero-justice-bronze-statue.png") right center / cover no-repeat;
  padding: clamp(2.75rem, 6vw, 4.25rem) 0 clamp(2rem, 4vw, 3rem);
  border-top: 1px solid rgba(176, 141, 106, 0.18);
}

.site-footer__inner {
  position: relative;
  z-index: 1;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2.5rem;
  align-items: start;
}

.site-footer__col--contacts {
  justify-self: end;
  max-width: 22rem;
  width: 100%;
}

.site-footer__wordmark {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #c5b396;
}

.site-footer__tagline {
  margin: 0;
  max-width: 42ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(196, 186, 172, 0.88);
}

.site-footer__label {
  margin: 1.35rem 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f2ebe0;
}

.site-footer__text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(180, 170, 158, 0.9);
}

.site-footer__contacts-title {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e4c896;
}

.site-footer__contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.site-footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  color: rgba(180, 170, 158, 0.95);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__contact-link:hover {
  color: #f2ebe0;
}

.site-footer__icon {
  flex-shrink: 0;
  opacity: 0.85;
}

.site-footer__bar {
  margin-top: 2.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(150, 142, 132, 0.92);
}

.site-footer__legal {
  font: inherit;
  font-size: 0.8125rem;
  color: rgba(150, 142, 132, 0.95);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s ease;
  text-align: inherit;
}

.site-footer__legal:hover {
  color: #e4c896;
}

.site-footer__legal:focus-visible {
  outline: 2px solid rgba(228, 200, 150, 0.65);
  outline-offset: 3px;
  border-radius: 2px;
}

.legal-modal {
  padding: 0;
  border: none;
  max-width: min(36rem, calc(100vw - 2rem));
  width: 100%;
  background: transparent;
  color: inherit;
}

.legal-modal::backdrop {
  background: rgba(6, 5, 4, 0.72);
  backdrop-filter: blur(6px);
}

.legal-modal__panel {
  position: relative;
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--surface-radius, 12px);
  background: linear-gradient(155deg, rgba(36, 28, 22, 0.98), rgba(18, 14, 11, 0.98));
  border: 1px solid rgba(176, 141, 106, 0.22);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.legal-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  color: rgba(196, 186, 172, 0.9);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(176, 141, 106, 0.18);
  border-radius: 8px;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.legal-modal__close:hover {
  color: #f2ebe0;
  background: rgba(255, 255, 255, 0.08);
}

.legal-modal__close:focus-visible {
  outline: 2px solid rgba(228, 200, 150, 0.65);
  outline-offset: 2px;
}

.legal-modal__title {
  margin: 0 2.25rem 1rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.25;
  color: #e4c896;
}

.legal-modal__body {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.62;
  color: rgba(210, 200, 188, 0.92);
}

.legal-modal__body p {
  margin: 0 0 0.85rem;
}

.legal-modal__body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__col--contacts {
    justify-self: start;
    max-width: none;
  }
}

.service-card {
  position: relative;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  text-align: center;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.92rem;
  line-height: 1.3;
  border-radius: var(--surface-radius);
  padding: 1.2rem 1.35rem;
  border: 1px solid rgba(176, 141, 106, 0.14);
  background: linear-gradient(155deg, rgba(48, 36, 30, 0.98), rgba(27, 20, 17, 0.96));
  color: #f7ede0;
  box-shadow: var(--surface-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.services-grid.grid-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.1rem;
}

.service-icon {
  font-size: 1.15rem;
  line-height: 1;
  opacity: 0.9;
}

.service-label {
  display: block;
}

.service-card:nth-child(even) {
  background: linear-gradient(155deg, rgba(48, 36, 30, 0.98), rgba(27, 20, 17, 0.96));
  color: #f7ede0;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--surface-shadow-hover);
}

.use-cases-row,
.pill-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.75rem;
}

.use-case-pill,
.pill-wrap span {
  position: relative;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(155deg, rgba(40, 28, 21, 0.9), rgba(22, 16, 12, 0.88));
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 500;
  clip-path: none;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.use-case-pill::before,
.pill-wrap span::before {
  display: none;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.15rem;
  width: 100%;
  max-width: 100%;
}

@media (min-width: 641px) {
  /* Пятая карточка в одиночном ряду — по центру, ширина как у одной колонки */
  .use-cases-grid .use-case-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, calc((100% - 1.15rem) / 2));
  }
}

.use-case-card {
  margin: 0;
  padding: clamp(1.15rem, 2.5vw, 1.55rem) clamp(1.2rem, 2.5vw, 1.65rem);
  border-radius: var(--surface-radius);
  background: var(--surface-bg);
  background-color: var(--surface-tint);
  border: 1px solid rgba(176, 141, 106, 0.24);
  box-shadow: var(--surface-shadow);
  transition: box-shadow 0.32s ease, transform 0.28s ease, border-color 0.32s ease;
}

.use-case-card:hover {
  transform: translateY(-3px);
  border-color: rgba(197, 164, 126, 0.45);
  box-shadow:
    0 0 0 1px rgba(197, 164, 126, 0.28),
    0 0 36px rgba(197, 164, 126, 0.22),
    0 0 64px rgba(176, 141, 106, 0.12),
    var(--surface-shadow-hover);
}

.use-case-card__head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(176, 141, 106, 0.22);
}

.use-case-card__marker {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  transition: box-shadow 0.32s ease;
}

.use-case-card--immigration .use-case-card__marker {
  background: var(--uc-immigration);
}

.use-case-card--immigration:hover .use-case-card__marker {
  box-shadow: 0 0 14px rgba(176, 141, 106, 0.55);
}

.use-case-card--studies .use-case-card__marker {
  background: var(--uc-studies);
}

.use-case-card--studies:hover .use-case-card__marker {
  box-shadow: 0 0 14px rgba(201, 160, 112, 0.5);
}

.use-case-card--work .use-case-card__marker {
  background: var(--uc-work);
}

.use-case-card--work:hover .use-case-card__marker {
  box-shadow: 0 0 14px rgba(154, 115, 72, 0.5);
}

.use-case-card--business .use-case-card__marker {
  background: var(--uc-business);
}

.use-case-card--business:hover .use-case-card__marker {
  box-shadow: 0 0 14px rgba(197, 164, 126, 0.48);
}

.use-case-card--legal .use-case-card__marker {
  background: var(--uc-legal);
}

.use-case-card--legal:hover .use-case-card__marker {
  box-shadow: 0 0 14px rgba(139, 98, 56, 0.55);
}

.use-case-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 600;
  color: var(--paper);
  line-height: 1.25;
}

.use-case-card__body .uc-lead {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  font-weight: 600;
  color: var(--paper);
  line-height: 1.35;
}

.use-case-card__body .uc-strong {
  margin: 0 0 0.65rem;
  font-weight: 600;
  color: var(--paper);
  line-height: 1.45;
}

.use-case-card__body .uc-dim {
  color: var(--text-muted);
  font-weight: 500;
}

.use-case-card__body .uc-label {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-soft);
}

.use-case-card__body .uc-note {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.use-case-card__body .uc-bad-list {
  margin: 0 0 0.75rem;
  padding-left: 1.15rem;
  color: #d4a898;
  line-height: 1.55;
}

.use-case-card__body .uc-bad-list li::marker {
  color: #c07a6a;
}

.use-case-card__body .uc-highlight {
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1.45;
}

.use-case-card__body .uc-sub {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.use-case-card__body .uc-bullets {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
  color: var(--text-main);
  line-height: 1.55;
}

.use-case-card__body .uc-bullets li::marker {
  color: var(--gold-soft);
}

.use-case-card__body .uc-warn {
  margin: 0 0 0.65rem;
  font-weight: 600;
  color: #e8c4a8;
  line-height: 1.45;
}

.use-case-card__body .uc-footer {
  margin: 0.5rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(176, 141, 106, 0.2);
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.use-case-card__body .uc-footer.accent {
  color: var(--gold-soft);
  font-weight: 600;
  border-top-color: rgba(197, 164, 126, 0.35);
}

.use-case-card__body .uc-term {
  font-weight: 700;
  color: var(--paper);
  letter-spacing: 0.02em;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: stretch;
}

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.9rem;
  padding: 1.35rem 0.85rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--surface-radius);
  background: var(--surface-bg);
  background-color: var(--surface-tint);
  box-shadow: var(--surface-shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.step__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--gold-soft);
  line-height: 1;
  border: 1px solid rgba(197, 164, 126, 0.32);
  background: rgba(197, 164, 126, 0.1);
  box-shadow: 0 4px 16px rgba(28, 18, 14, 0.22);
}

.step__label {
  display: block;
  margin: 0;
  font-size: 0.91rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.review-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  color: var(--text-main);
}

.review-card__head {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.65rem;
}

.review-card__avatar {
  position: relative;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  border: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.review-card__avatar--a {
  background: linear-gradient(145deg, #4a3224, #261a12);
}

.review-card__avatar--b {
  background: linear-gradient(145deg, #3d3428, #1f1a14);
}

.review-card__avatar--c {
  background: linear-gradient(145deg, #2a3228, #151a16);
}

.review-card__initials {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.06em;
  z-index: 0;
}

.review-card__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.review-card__photo.is-hidden {
  display: none;
}

.review-card__meta {
  min-width: 0;
}

.review-card__name {
  margin: 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--paper);
  line-height: 1.2;
}

.review-card__context {
  margin: 0.2rem 0 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.review-card__stars {
  margin: 0 0 0.55rem;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
  font-size: 0.85rem;
  line-height: 1;
  opacity: 0.92;
}

.review-card__quote {
  margin: 0;
  padding: 0;
  border: 0;
}

.review-card__quote p {
  margin: 0;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.55;
  font-size: 0.96rem;
}

.reviews-foot {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  text-align: center;
}

.reviews-more {
  margin: 0;
  max-width: 40ch;
}

.reviews-more__link {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 164, 126, 0.35);
  padding-bottom: 0.05rem;
  transition: border-color 0.2s ease;
}

.reviews-more__link:hover {
  border-bottom-color: rgba(197, 164, 126, 0.75);
}

.reviews-more__link:focus-visible {
  outline: 2px solid rgba(197, 164, 126, 0.65);
  outline-offset: 3px;
  border-bottom-color: transparent;
}

.quote-flow-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.quote-panel {
  border: 1px solid var(--surface-border);
  border-radius: var(--surface-radius);
  background: rgba(18, 12, 9, 0.35);
  box-shadow: var(--surface-shadow);
  padding: 1.6rem 1.5rem;
}

/* "Склеиваем" панели в один монотонный блок */
.quote-panel--left {
  border-right: 0;
  border-radius: var(--surface-radius) 0 0 var(--surface-radius);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}

.quote-panel--left .quote-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.quote-panel--left .quote-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.quote-panel--right {
  border-radius: 0 var(--surface-radius) var(--surface-radius) 0;
  text-align: center;
}

.quote-panel--right .flow-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
}

.quote-panel--right .flow-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 48ch;
}

.quote-kicker {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(197, 164, 126, 0.85);
  margin-bottom: 0.65rem;
}

.quote-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  letter-spacing: 0.02em;
}

.quote-subtitle {
  margin: 0.8rem 0 0;
  color: var(--text-muted);
  max-width: 50ch;
  line-height: 1.55;
}

.quote-actions {
  margin-top: 1.15rem;
}

.quote-note {
  margin: 0.95rem 0 0;
  color: rgba(245, 240, 232, 0.78);
  font-size: 0.92rem;
}

.quote-note__sep {
  color: rgba(245, 240, 232, 0.9);
  font-weight: 700;
}

.quote-mail {
  color: var(--paper);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 164, 126, 0.35);
  padding-bottom: 0.05rem;
}

.quote-mail:hover {
  border-bottom-color: rgba(197, 164, 126, 0.75);
}

.flow-list {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.flow-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(197, 164, 126, 0.18);
}

.flow-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.flow-num {
  font-family: var(--font-sans);
  font-weight: 800;
  color: rgba(197, 164, 126, 0.9);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.flow-title {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--paper);
}

.flow-desc {
  margin-top: 0.35rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .quote-flow-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .quote-panel--left {
    border-right: 1px solid var(--surface-border);
    border-radius: var(--surface-radius);
  }

  .quote-panel--right {
    border-radius: var(--surface-radius);
  }
}

/* Сплит-кнопки: бренд слева (#24A1DE / градиент IG), тёмный блок справа (#1c1f21) */
.brand-split {
  display: inline-flex;
  align-items: stretch;
  max-width: 100%;
  min-height: 3.6rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(8, 6, 5, 0.48);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.brand-split:hover {
  box-shadow: 0 14px 38px rgba(8, 6, 5, 0.58);
  transform: translateY(-2px);
}

.brand-split:focus-visible {
  outline: 2px solid rgba(197, 164, 126, 0.65);
  outline-offset: 3px;
}

.brand-split__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(3.5rem, 28%, 4.75rem);
  min-width: 3.5rem;
  flex-shrink: 0;
  color: #fff;
}

.brand-split--telegram .brand-split__icon {
  background: #24a1de;
}

/* Иконка «самолётика» в Heroicons смотрит вправо; у Telegram — вверх-вправо */
.brand-split--telegram .brand-split__icon svg {
  display: block;
  transform: rotate(-34deg);
  transform-origin: center;
}

.brand-split--instagram .brand-split__icon {
  background: linear-gradient(43deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.brand-split__label {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.2rem;
  background: #1c1f21;
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(0.92rem, 2.1vw, 1.02rem);
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: center;
}

.brand-split__label--channel {
  font-size: clamp(0.78rem, 1.8vw, 0.84rem);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.social-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 200px;
}

.social-btn-img {
  width: min(420px, 100%);
  height: auto;
  display: block;
  margin: auto;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

.social-btn-img--sm {
  width: min(260px, 88%);
}

.social-grid--compact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: min(560px, 100%);
  align-items: center;
}

.social-card--instagram {
  background: transparent;
  border: none;
  padding: 0;
  min-height: 0;
  overflow: visible;
  box-shadow: none;
  transform: none;
}

.social-card--telegram {
  background: transparent;
  border: none;
  padding: 0;
  min-height: 0;
  overflow: visible;
  box-shadow: none;
  transform: none;
}

.social-card--telegram:hover {
  box-shadow: none;
  transform: translateY(-1px);
}

.social-card--telegram:active {
  transform: translateY(0);
}

.social-card--telegram .social-btn-img {
  max-width: 100%;
}

.social-card--instagram:hover {
  box-shadow: none;
  transform: translateY(-1px);
}

.social-card--instagram:active {
  transform: translateY(0);
}

.social-card--instagram .social-btn-img {
  max-width: 100%;
}

.social-card__masthead {
  height: 104px;
  margin: -1.35rem -1.3rem 0 -1.3rem;
  border-radius: var(--surface-radius) var(--surface-radius) 0 0;
  background-size: cover;
  background-position: top center;
  flex-shrink: 0;
}

.social-card--telegram .social-card__masthead {
  background-image: none;
}

.social-card--instagram .social-card__masthead {
  background-image: none;
}

.social-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1.1rem;
  padding-top: 1.15rem;
}

.social-card-body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--paper);
}

.paper-card:hover,
.step:hover,
.review-card:hover,
.social-card:hover {
  box-shadow: var(--surface-shadow-hover);
  transform: translateY(-2px);
  border-color: rgba(197, 164, 126, 0.34);
}

/* Подсветка при наведении для всех основных карточек */
.paper-card,
.step,
.review-card,
.social-card,
.service-card,
.use-case-card,
.quote-panel {
  transition: box-shadow 0.28s ease, transform 0.28s ease, border-color 0.28s ease, filter 0.28s ease;
}

.paper-card:hover,
.step:hover,
.review-card:hover,
.social-card:hover,
.service-card:hover,
.use-case-card:hover,
.quote-panel:hover {
  filter: brightness(1.03);
}

.service-card:hover,
.use-case-card:hover,
.quote-panel:hover {
  border-color: rgba(197, 164, 126, 0.34);
  box-shadow: var(--surface-shadow-hover);
  transform: translateY(-2px);
}

.use-case-pill:hover,
.pill-wrap span:hover {
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
  transform: translateY(-1px);
}

.final-cta {
  background:
    linear-gradient(90deg, rgba(14, 10, 7, 0.9), rgba(18, 12, 8, 0.88)),
    linear-gradient(95deg, rgba(42, 26, 14, 0.4), rgba(24, 14, 8, 0.3)),
    url("assets/hero-justice-bronze-statue.png") right center / cover no-repeat;
  text-align: center;
}

.scroll-landing-btn {
  position: fixed;
  right: max(16px, env(safe-area-inset-right, 0px));
  bottom: max(18px, env(safe-area-inset-bottom, 0px));
  z-index: 45;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  font: inherit;
  cursor: pointer;
  border: 1px solid rgba(42, 30, 22, 0.45);
  border-radius: 50%;
  background: linear-gradient(145deg, #9a7252, #c5a47e);
  color: #140f0d;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(14px);
  transition:
    opacity 0.32s ease,
    visibility 0.32s ease,
    transform 0.32s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.scroll-landing-btn__icon {
  flex-shrink: 0;
  margin-top: -2px;
}

.scroll-landing-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.scroll-landing-btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 12px 32px rgba(176, 141, 106, 0.38);
}

.scroll-landing-btn:focus-visible {
  outline: 2px solid rgba(228, 200, 150, 0.75);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .scroll-landing-btn {
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .scroll-landing-btn.is-visible {
    transform: none;
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.9s ease;
}

.fade-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    background-attachment: scroll;
  }

  .hero-figure-scaler {
    will-change: auto;
  }

  .hero-bg-img {
    filter: none;
    -webkit-filter: none;
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 768px) {
  html {
    background-attachment: scroll;
  }

  .section {
    padding: 52px 0;
  }

  .container {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .hero-inner {
    padding-block: clamp(2.25rem, 8vh, 4.5rem);
  }

  .quote-panel {
    padding: 1.35rem 1.15rem;
  }
}

@media (max-width: 992px) {
  .focus-wrap {
    grid-template-columns: 1fr;
  }

  .hero-figure-scaler {
    width: min(88vw, 480px);
    max-height: min(58vh, 560px);
  }

  .hero-bg-img {
    object-position: 82% center;
  }

  .hero-bg {
    background-position: 82% center;
  }

  .hero-figure-img {
    max-height: min(58vh, 560px);
  }

  model-viewer.hero-model-viewer {
    height: min(58vh, 560px);
    max-height: min(58vh, 560px);
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .section {
    padding: 40px 0;
  }

  .container {
    width: min(1120px, calc(100% - 1.25rem));
  }

  .section-head {
    margin-bottom: 1rem;
  }

  main .section .section-head h2 {
    font-size: clamp(1.28rem, 5.2vw, 1.75rem);
  }

  h1 {
    font-size: clamp(1.42rem, 6.2vw, 2.3rem);
  }

  .hero {
    min-height: max(360px, calc(100svh - var(--header-h)));
  }

  .hero-inner {
    padding-block: clamp(1.75rem, 6vh, 3.5rem);
  }

  .eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    max-width: 100%;
    padding-inline: 0.25rem;
  }

  .hero-cta {
    margin: 1.1rem 0 0.85rem;
    gap: 0.65rem;
  }

  .btn {
    padding: 0.62rem 1rem;
    font-size: 0.9rem;
  }

  .english-focus .focus-content h2 {
    font-size: clamp(1.2rem, 4.5vw, 1.85rem);
  }

  .focus-content p,
  .doc-list {
    font-size: 0.9rem;
  }

  .en-arrow {
    font-size: clamp(1.45rem, 4vw, 2.75rem);
  }

  .quote-title {
    font-size: clamp(1.3rem, 4.8vw, 2rem);
  }

  .quote-subtitle {
    font-size: 0.9rem;
  }

  .quote-note {
    font-size: 0.85rem;
  }

  .quote-panel {
    padding: 1.15rem 1rem;
  }

  .flow-desc {
    font-size: 0.88rem;
  }

  .service-card {
    min-height: 104px;
    padding: 0.95rem 0.85rem;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
  }

  .service-icon {
    font-size: 1rem;
  }

  .use-case-card {
    padding: 1.05rem 1rem;
  }

  .use-case-card__title {
    font-size: 1rem;
  }

  .review-card {
    padding: 1.1rem 1rem;
  }

  .site-footer {
    padding: 2rem 0 1.5rem;
  }

  .site-footer__wordmark {
    font-size: clamp(1.15rem, 4vw, 1.55rem);
  }

  .site-footer__tagline,
  .site-footer__text,
  .site-footer__contact-link {
    font-size: 0.88rem;
  }

  .legal-modal__panel {
    padding: 1.2rem 1rem;
  }

  .legal-modal__body {
    font-size: 0.88rem;
  }

  .scroll-landing-btn {
    width: 2.85rem;
    height: 2.85rem;
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: max(14px, env(safe-area-inset-bottom, 0px));
  }

  .scroll-landing-btn__icon {
    width: 20px;
    height: 20px;
  }

  .header-inner {
    min-height: 64px;
    gap: 0.75rem;
  }

  .logo {
    font-size: 1.05rem;
    gap: 0.4rem;
  }

  .logo-mark {
    height: 30px;
  }

  .btn {
    width: 100%;
  }

  .header-actions .btn {
    width: auto;
  }

  .btn-ticket {
    clip-path: none;
    border-radius: var(--surface-radius);
  }

  .use-case-pill,
  .pill-wrap span,
  .pill-wrap span::before {
    clip-path: none;
    border-radius: 999px;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .process-line {
    grid-template-columns: 1fr;
  }

  .hero-links {
    flex-wrap: wrap;
  }

  .hero-figure-scaler {
    width: min(92vw, 420px);
    max-height: min(52vh, 480px);
  }

  .hero-bg-img {
    object-position: 72% center;
  }

  .hero-bg {
    background-position: 72% center;
  }

  :root {
    --header-h: 64px;
  }

  .hero-figure-img {
    max-height: min(52vh, 480px);
  }

  model-viewer.hero-model-viewer {
    height: min(52vh, 480px);
    max-height: min(52vh, 480px);
    min-height: 220px;
  }
}
