:root {
  --bg: #090b0f;
  --bg-soft: #11151b;
  --panel: #171c23;
  --panel-2: #eef1f4;
  --ink: #f8fafc;
  --muted: #aeb8c6;
  --dark: #111316;
  --dark-muted: #4e5968;
  --line: rgba(255, 255, 255, 0.14);
  --line-dark: rgba(17, 19, 22, 0.14);
  --red: #e3222c;
  --cyan: #49d8ff;
  --amber: #ffbd5a;
  --steel: #d8e1ec;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
  --soft-shadow: 0 18px 50px rgba(9, 11, 15, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

body,
button,
input,
textarea {
  letter-spacing: 0;
}

img {
  display: block;
  max-width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

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

button {
  font: inherit;
}

::selection {
  color: #08090b;
  background: var(--cyan);
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 12px 16px;
  color: var(--dark);
  background: var(--ink);
  border-radius: var(--radius);
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(9, 11, 15, 0.86);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: calc(100% - 32px);
  max-width: var(--max);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  flex: 0 1 auto;
}

.brand-mark {
  width: 148px;
  height: 42px;
  flex: 0 0 148px;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-name {
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.brand-short {
  display: none;
  font-size: 1rem;
  font-weight: 950;
  text-transform: uppercase;
}

.brand-sub {
  color: var(--muted);
  font-size: 0.74rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(248, 250, 252, 0.84);
  font-size: 0.92rem;
}

.nav a {
  position: relative;
  padding: 10px 0;
}

.nav-lang {
  display: none;
}

.nav-phone {
  display: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--red);
  transition: transform 180ms ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-link,
.phone-link,
.social-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

.lang-link {
  gap: 8px;
  padding: 0 10px;
}

.lang-code {
  font-weight: 900;
  font-size: 0.82rem;
}

.flag {
  width: 22px;
  height: 15px;
  display: inline-block;
  overflow: hidden;
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.flag-en {
  background:
    linear-gradient(0deg, transparent 41%, #fff 41% 59%, transparent 59%),
    linear-gradient(90deg, transparent 41%, #fff 41% 59%, transparent 59%),
    linear-gradient(0deg, transparent 46%, #c8102e 46% 54%, transparent 54%),
    linear-gradient(90deg, transparent 46%, #c8102e 46% 54%, transparent 54%),
    #012169;
}

.flag-mk {
  background:
    radial-gradient(circle at 50% 50%, #ffd21e 0 18%, transparent 19%),
    linear-gradient(22deg, transparent 42%, #ffd21e 43% 48%, transparent 49%),
    linear-gradient(-22deg, transparent 42%, #ffd21e 43% 48%, transparent 49%),
    linear-gradient(90deg, transparent 46%, #ffd21e 47% 53%, transparent 54%),
    linear-gradient(0deg, transparent 43%, #ffd21e 44% 50%, transparent 51%),
    #d71920;
}

.phone-link {
  color: #fff;
  font-weight: 900;
  font-size: 0.86rem;
  white-space: nowrap;
}

.social-link {
  min-width: 42px;
  font-weight: 800;
}

.social-link svg,
.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.fb-link {
  color: #fff;
  background: linear-gradient(135deg, #1877f2, #0b4da8);
  border-color: rgba(255, 255, 255, 0.22);
}

.menu-toggle {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 18px;
  height: 2px;
  margin: 0;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) translateY(-6px);
}

.menu-toggle span:nth-child(2) {
  transform: translate(-50%, -50%);
}

.menu-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) translateY(6px);
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 140px 0 56px;
  background: var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.74) 44%, rgba(8, 9, 11, 0.08) 78%),
    linear-gradient(0deg, rgba(8, 9, 11, 0.72) 0%, rgba(8, 9, 11, 0.02) 50%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-inner,
.section-inner {
  width: calc(100% - 32px);
  max-width: var(--max);
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: var(--red);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 4.6rem;
  line-height: 0.96;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.hero-copy {
  max-width: 680px;
  color: rgba(248, 250, 252, 0.82);
  font-size: 1.18rem;
  line-height: 1.72;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  cursor: pointer;
}

.btn-primary {
  color: var(--ink);
  background: var(--red);
  box-shadow: 0 16px 34px rgba(227, 34, 44, 0.28);
}

.btn-facebook {
  background: linear-gradient(135deg, #1877f2, #0b4da8);
  box-shadow: 0 16px 34px rgba(24, 119, 242, 0.22);
}

.btn-dark {
  color: var(--ink);
  background: var(--dark);
}

.btn-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
}

.btn-light {
  color: var(--dark);
  background: var(--ink);
}

.btn::after {
  content: ">";
  font-weight: 900;
}

.btn.no-arrow::after {
  content: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  max-width: 760px;
  min-width: 0;
  margin-top: 44px;
  border: 1px solid var(--line);
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric {
  min-width: 0;
  min-height: 98px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px;
  background: rgba(12, 15, 20, 0.74);
  backdrop-filter: blur(14px);
}

.metric strong {
  font-size: 1.45rem;
}

.metric span {
  display: block;
  min-width: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}

main {
  overflow: hidden;
}

.section {
  padding: 96px 0;
}

.section-dark {
  background:
    radial-gradient(circle at 12% 10%, rgba(73, 216, 255, 0.06), transparent 26%),
    radial-gradient(circle at 86% 12%, rgba(227, 34, 44, 0.08), transparent 28%),
    var(--bg);
}

.section-soft {
  color: var(--dark);
  background:
    linear-gradient(180deg, #f7f9fb 0%, var(--panel-2) 100%);
}

.section-metal {
  background:
    linear-gradient(120deg, rgba(73, 216, 255, 0.08), transparent 38%),
    linear-gradient(240deg, rgba(227, 34, 44, 0.1), transparent 36%),
    var(--bg-soft);
}

.section-kicker {
  color: var(--red);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.6fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 44px;
}

.section-title {
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.section-lead {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.78;
}

.section-soft .section-lead,
.section-soft .body-copy {
  color: var(--dark-muted);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.65fr);
  gap: 28px;
  align-items: stretch;
}

.body-copy {
  color: rgba(248, 250, 252, 0.78);
  font-size: 1.03rem;
  line-height: 1.82;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(17, 19, 22, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}

.feature-list strong {
  display: block;
  margin-bottom: 4px;
}

.feature-list span {
  color: var(--dark-muted);
}

.token {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--dark), #2a313b);
  border-radius: var(--radius);
  font-weight: 900;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: service;
}

.service-card {
  position: relative;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    #10141a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
  counter-increment: service;
}

.service-card::before {
  content: "0" counter(service);
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 32px;
  color: #fff;
  background: rgba(227, 34, 44, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  font-weight: 950;
  font-size: 0.8rem;
}

.service-card:nth-child(1),
.service-card:nth-child(4) {
  grid-column: span 2;
}

.service-card:nth-child(5) {
  grid-column: 1 / -1;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1fr);
  grid-template-rows: auto;
}

.service-card:nth-child(5) .service-media {
  height: 100%;
  min-height: 330px;
  aspect-ratio: auto;
}

.service-card:nth-child(5) .service-body {
  align-self: center;
}

.service-media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #151a22;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02) contrast(1.03);
}

.service-body {
  padding: 24px 24px 26px;
}

.service-body h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.service-body p {
  margin-bottom: 18px;
  color: rgba(248, 250, 252, 0.7);
  line-height: 1.7;
}

.service-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  padding: 8px 10px;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  font-size: 0.83rem;
  font-weight: 750;
}

.section-redline {
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(9, 11, 15, 0.98) 0%, rgba(9, 11, 15, 0.88) 46%, rgba(227, 34, 44, 0.16) 100%),
    var(--bg);
}

.redline-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: 34px;
  align-items: center;
}

.redline-media {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.redline-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 48%, rgba(227, 34, 44, 0.18));
  pointer-events: none;
}

.redline-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
}

.redline-copy {
  max-width: 520px;
}

.redline-copy p {
  color: rgba(248, 250, 252, 0.72);
  line-height: 1.78;
}

.redline-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.redline-points span {
  padding: 9px 11px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  font-size: 0.84rem;
  font-weight: 850;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
}

.process-step {
  min-height: 230px;
  display: grid;
  align-content: space-between;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.04));
}

.process-step span {
  color: var(--cyan);
  font-weight: 900;
}

.process-step h3 {
  margin: 28px 0 10px;
  font-size: 1.28rem;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.68;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.case-card {
  position: relative;
  min-height: 480px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  isolation: isolate;
}

.case-card.wide {
  grid-column: 1 / -1;
  min-height: 540px;
}

.case-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(8, 9, 11, 0.92), rgba(8, 9, 11, 0.16) 58%);
}

.case-copy {
  max-width: 680px;
  padding: 28px;
}

.case-copy h3 {
  margin-bottom: 12px;
  font-size: 1.7rem;
}

.case-copy p {
  margin-bottom: 0;
  color: rgba(248, 250, 252, 0.78);
  line-height: 1.7;
}

.materials-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(300px, 0.7fr);
  gap: 34px;
  align-items: center;
}

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

.brand-chip {
  min-height: 96px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 19, 22, 0.08);
  border-radius: var(--radius);
  font-size: 1.2rem;
  font-weight: 950;
  text-transform: uppercase;
  box-shadow: var(--soft-shadow);
}

.gallery-grid {
  columns: 3 280px;
  column-gap: 16px;
}

.gallery-item {
  width: 100%;
  position: relative;
  display: block;
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 0;
  overflow: hidden;
  color: var(--ink);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  cursor: zoom-in;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.22);
}

.gallery-item-wide {
  border-color: rgba(227, 34, 44, 0.45);
}

.gallery-item img {
  width: 100%;
  height: auto;
}

.gallery-item span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 8px 10px;
  color: var(--dark);
  background: rgba(248, 250, 252, 0.9);
  border-radius: var(--radius);
  font-size: 0.78rem;
  font-weight: 850;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    #10141a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.contact-band h2 {
  margin-bottom: 14px;
  font-size: 2.15rem;
}

.contact-band p {
  margin-bottom: 0;
  color: rgba(248, 250, 252, 0.7);
  line-height: 1.7;
}

.contact-band p a,
.footer-contact a {
  color: #fff;
  font-weight: 900;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.site-footer {
  padding: 44px 0;
  color: rgba(248, 250, 252, 0.68);
  background: #07080b;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: calc(100% - 32px);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-logo {
  width: min(220px, 100%);
  height: auto;
  display: block;
  margin: 0 0 18px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.34));
}

.footer-legal-group {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.footer-contact {
  margin: 12px 0 0;
  color: rgba(248, 250, 252, 0.72);
}

.footer-inner > .footer-contact {
  margin: 0;
  justify-self: center;
}

.footer-links a,
.credit a {
  color: var(--ink);
  font-weight: 800;
}

.legal-hero {
  padding: 132px 0 58px;
  background:
    linear-gradient(120deg, rgba(227, 34, 44, 0.14), transparent 36%),
    var(--bg-soft);
}

.legal-hero h1 {
  max-width: 880px;
  margin-bottom: 14px;
  font-size: 3.4rem;
  line-height: 1.04;
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin: 36px 0 12px;
  font-size: 1.55rem;
}

.legal-content p,
.legal-content li {
  color: var(--dark-muted);
  line-height: 1.8;
}

.legal-content ul {
  padding-left: 20px;
}

.image-rights {
  color: var(--amber);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 26px;
  background: rgba(3, 4, 6, 0.9);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-height: 86svh;
  width: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--red);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.4rem;
}

@media (max-width: 1040px) {
  .nav {
    gap: 14px;
    font-size: 0.86rem;
  }

  .brand-mark {
    width: 128px;
    height: 33px;
    flex-basis: 128px;
  }

  .phone-link {
    display: none;
  }

  h1 {
    font-size: 3.8rem;
  }

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

  .service-card:nth-child(1),
  .service-card:nth-child(4) {
    grid-column: span 1;
  }

  .service-card:nth-child(5) {
    grid-column: 1 / -1;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  }

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

@media (max-width: 860px) {
  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 118px;
    height: 30px;
    flex-basis: 118px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 68px;
    display: grid;
    gap: 0;
    max-height: calc(100svh - 84px);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 10px;
    white-space: normal;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    background:
      linear-gradient(180deg, rgba(18, 22, 29, 0.98), rgba(9, 11, 15, 0.98));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .nav a::after {
    display: none;
  }

  .nav-phone {
    display: flex;
    color: #fff;
    font-weight: 950;
    background: rgba(227, 34, 44, 0.16);
    border: 1px solid rgba(227, 34, 44, 0.28);
    border-radius: var(--radius);
    margin: 8px 0 0;
  }

  .nav .nav-lang {
    display: none;
  }

  .site-header.is-open .nav {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    min-height: 92svh;
    padding-top: 132px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(8, 9, 11, 0.82) 0%, rgba(8, 9, 11, 0.5) 58%, rgba(8, 9, 11, 0.18) 100%),
      linear-gradient(0deg, rgba(8, 9, 11, 0.84) 0%, rgba(8, 9, 11, 0.24) 52%, rgba(8, 9, 11, 0.58) 100%);
  }

  .hero-photo {
    object-position: 30% center;
    filter: saturate(1.08) contrast(1.04) brightness(1.12);
  }

  h1 {
    font-size: 3.05rem;
    line-height: 1;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .hero-metrics,
  .section-head,
  .intro-grid,
  .materials-wrap,
  .redline-wrap,
  .contact-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .redline-copy {
    max-width: 100%;
  }

  .redline-media {
    order: 2;
  }

  .redline-media img {
    height: 390px;
  }

  .section {
    padding: 74px 0;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .services-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(5) {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .service-card:nth-child(5) .service-media {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .case-card,
  .case-card.wide {
    grid-column: auto;
    min-height: 420px;
  }
}

@media (max-width: 560px) {
  .header-actions .social-link {
    display: none;
  }

  .nav-lang {
    display: none;
  }

  .header-inner {
    position: relative;
    gap: 8px;
  }

  .brand {
    gap: 9px;
    min-width: 0;
    max-width: 100%;
    flex: 1 1 auto;
  }

  .brand-mark {
    width: 108px;
    height: 28px;
    flex-basis: 108px;
  }

  .brand-name {
    display: none;
  }

  .brand-short {
    display: block;
    font-size: 1.02rem;
  }

  .brand-sub {
    display: none;
  }

  .footer-logo {
    width: min(188px, 100%);
    margin-bottom: 16px;
  }

  .header-actions {
    flex: 0 0 auto;
    gap: 8px;
  }

  .lang-link {
    min-width: 50px;
    min-height: 40px;
    padding: 0 8px;
  }

  .lang-code {
    font-size: 0.74rem;
  }

  h1 {
    max-width: 342px;
    font-size: 1.74rem;
    line-height: 1.04;
  }

  .hero-copy {
    max-width: 360px;
    font-size: 0.98rem;
    line-height: 1.64;
  }

  .hero {
    min-height: 92svh;
    padding-top: 128px;
    padding-bottom: 36px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(8, 9, 11, 0.78) 0%, rgba(8, 9, 11, 0.44) 62%, rgba(8, 9, 11, 0.18) 100%),
      linear-gradient(0deg, rgba(8, 9, 11, 0.86) 0%, rgba(8, 9, 11, 0.18) 58%, rgba(8, 9, 11, 0.58) 100%);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    width: min(100%, 342px);
    max-width: 342px;
    margin-top: 32px;
  }

  .metric {
    min-height: 84px;
    padding: 16px;
  }

  .metric strong {
    font-size: 1.34rem;
  }

  .metric span {
    font-size: 0.84rem;
  }

  .section-title {
    max-width: 360px;
    font-size: 1.64rem;
    line-height: 1.12;
  }

  .section-lead,
  .body-copy,
  .legal-content {
    max-width: 360px;
  }

  .process {
    grid-template-columns: 1fr;
  }

  .brand-cloud {
    grid-template-columns: 1fr;
  }

  .contact-band {
    padding: 24px;
  }

  .redline-media img {
    height: 285px;
  }

  .redline-points {
    gap: 8px;
  }

  .contact-band h2 {
    font-size: 1.7rem;
  }

  .legal-hero h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 380px) {
  .brand-mark {
    width: 96px;
    height: 25px;
    flex-basis: 96px;
  }

  .brand-short {
    font-size: 0.94rem;
  }

  .lang-link {
    min-width: 48px;
    padding: 0 7px;
  }
}
