:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --card: #161618;
  --card-2: #1c1c1f;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f4f2;
  --muted: #9a9a94;
  --lime: #d4ff00;
  --lime-2: #c3ef00;
  --ink: #111111;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
html, body { min-height: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 420px at 88% -10%, rgba(212, 255, 0, 0.12), transparent 55%),
    radial-gradient(700px 380px at -10% 20%, rgba(212, 255, 0, 0.06), transparent 50%),
    linear-gradient(155deg, #0b0b0c 0%, #141416 42%, #0c0c0d 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    linear-gradient(128deg, transparent 58%, rgba(255, 255, 255, 0.025) 58.2%, rgba(255, 255, 255, 0.025) 62%, transparent 62.2%),
    linear-gradient(148deg, transparent 72%, rgba(212, 255, 0, 0.035) 72.2%, rgba(212, 255, 0, 0.035) 74.5%, transparent 74.7%);
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 12, 0.94);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 0.88;
  letter-spacing: 0.04em;
}
.brand b {
  font-family: "Syne", sans-serif;
  font-size: 22px;
  font-weight: 800;
}
.brand span {
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.brand small {
  color: #7d7d78;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav a:hover,
.nav a.is-active { color: var(--text); }
.nav .btn { margin-left: 6px; }
.nav a.btn-lime,
.nav a.btn-lime:hover,
.nav a.btn-lime:focus {
  color: #111111;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  place-content: center;
  gap: 5px;
}
.burger i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  transition: 0.25s ease;
}
.btn-lime {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 24px rgba(212, 255, 0, 0.18);
}
.btn-lime:hover {
  background: var(--lime-2);
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(212, 255, 0, 0.38);
}
.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}
.btn-ghost:hover {
  border-color: rgba(212, 255, 0, 0.55);
  color: var(--lime);
  box-shadow: 0 0 22px rgba(212, 255, 0, 0.12);
}
.btn-wide { min-height: 54px; padding: 0 26px; font-size: 15px; }

.hero {
  padding: 54px 0 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  background: var(--lime);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 6px;
  margin-bottom: 18px;
  box-shadow: 0 0 22px rgba(212, 255, 0, 0.35);
}
h1, h2, h3, .display {
  font-family: "Syne", sans-serif;
  line-height: 1.08;
  letter-spacing: -0.03em;
}
h1 {
  font-size: clamp(38px, 5.6vw, 68px);
  font-weight: 800;
  max-width: 12ch;
  margin-bottom: 16px;
}
h1 em {
  color: var(--lime);
  font-style: normal;
  text-shadow: 0 0 28px rgba(212, 255, 0, 0.45);
}
.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 42ch;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.service-list {
  display: grid;
  gap: 14px;
}
.service-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}
.icon-box {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--lime);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--lime);
  box-shadow: 0 0 16px rgba(212, 255, 0, 0.18);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.service-item h3 { font-size: 18px; margin-bottom: 4px; }
.service-item p { color: var(--muted); font-size: 14px; }

.hero-visual {
  position: relative;
  isolation: isolate;
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(72px);
}
.hero-visual::before {
  width: 460px;
  height: 460px;
  background: rgba(212, 255, 0, 0.32);
  right: -14%;
  top: -6%;
}
.hero-visual::after {
  width: 280px;
  height: 280px;
  background: rgba(212, 255, 0, 0.18);
  left: -10%;
  bottom: 4%;
}
.hero-visual img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  border-radius: 28px;
  box-shadow: var(--shadow), 0 0 40px rgba(212, 255, 0, 0.12);
  border: 1px solid var(--line);
  object-fit: contain;
  object-position: center;
  background: #0a0a0a;
}
.glow {
  position: absolute;
  width: 320px;
  height: 320px;
  background: rgba(212, 255, 0, 0.28);
  filter: blur(64px);
  border-radius: 50%;
  right: 6%;
  top: 18%;
  z-index: 0;
  pointer-events: none;
}

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 18px 0 70px;
}
.feature {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 18px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.feature:hover {
  border-color: rgba(212, 255, 0, 0.28);
  box-shadow: 0 12px 32px rgba(212, 255, 0, 0.08);
  transform: translateY(-3px);
}
.feature:hover .icon-box {
  box-shadow: 0 0 22px rgba(212, 255, 0, 0.35);
}
.feature .icon-box { margin-bottom: 14px; }
.feature h3 { font-size: 16px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 13px; }

.section { padding: 36px 0 80px; }
.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  max-width: 42em;
}
.kicker {
  color: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-shadow: 0 0 16px rgba(212, 255, 0, 0.35);
}
h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { color: var(--muted); }

.cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.card:hover {
  border-color: rgba(212, 255, 0, 0.32);
  box-shadow: 0 16px 40px rgba(212, 255, 0, 0.08);
  transform: translateY(-3px);
}
.card h3 { font-size: 26px; margin: 10px 0 8px; }
.card p { color: var(--muted); }
.card ul {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 6px;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.app-card {
  display: grid;
  grid-template-rows: 280px auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: 0.28s ease;
}
.app-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212, 255, 0, 0.4);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 32px rgba(212, 255, 0, 0.12);
}
.app-card .icon img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  background: transparent;
  transition: transform 0.35s ease, filter 0.35s ease;
}
.app-card:hover .icon img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 16px rgba(212, 255, 0, 0.35));
}
.app-card .cover {
  background: #0a0a0a;
  overflow: hidden;
}
.app-card .cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.app-card.has-icon {
  grid-template-rows: auto auto;
}
.app-card .icon {
  display: grid;
  place-items: center;
  padding: 32px 22px 4px;
}
.app-card .body { padding: 22px; }
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  background: var(--lime);
  border-radius: 999px;
  padding: 4px 9px;
}
.tag-muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}
.app-card h3 { font-size: 24px; margin-bottom: 6px; }
.app-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.app-links { display: flex; gap: 10px; flex-wrap: wrap; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
.result-grid > .card {
  grid-column: span 2;
}
.stat {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.stat:hover {
  border-color: rgba(212, 255, 0, 0.28);
  box-shadow: 0 10px 28px rgba(212, 255, 0, 0.08);
  transform: translateY(-2px);
}
.stat b {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 32px;
  margin-bottom: 4px;
  text-shadow: 0 0 18px rgba(212, 255, 0, 0.2);
}
.stat span { color: var(--muted); font-size: 13px; }

.cases {
  display: grid;
  gap: 22px;
}
.case {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.case:hover {
  border-color: rgba(212, 255, 0, 0.3);
  box-shadow: 0 16px 40px rgba(212, 255, 0, 0.08);
}
.case:nth-child(even) { grid-template-columns: 0.85fr 1.15fr; }
.case:nth-child(even) .case-copy { order: 2; }
.case-copy { padding: 32px; }
.case-copy h3 { font-size: 26px; margin: 8px 0 10px; }
.case-copy p { color: var(--muted); margin-bottom: 16px; }
.kpi {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.kpi div {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 14px;
  padding: 12px;
}
.kpi b {
  display: block;
  font-family: "Syne", sans-serif;
  font-size: 20px;
  color: var(--lime);
  text-shadow: 0 0 16px rgba(212, 255, 0, 0.35);
}
.kpi span { color: var(--muted); font-size: 12px; }
.case-shot {
  min-height: 280px;
  background: #0a0a0a;
  cursor: zoom-in;
}
.case-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery.two { grid-template-columns: 1fr 1fr; }
.gallery img,
.zoom img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid var(--line);
  cursor: zoom-in;
  background: #0a0a0a;
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.gallery img:hover,
.zoom img:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 255, 0, 0.4);
  box-shadow: 0 16px 36px rgba(212, 255, 0, 0.12);
}

.page-hero { padding: 46px 0 20px; }
.page-hero h1 { max-width: 18ch; font-size: clamp(34px, 5vw, 58px); }
.crumbs {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}
.crumbs a:hover { color: var(--lime); }

.cta {
  background:
    linear-gradient(135deg, rgba(212, 255, 0, 0.16), transparent 42%),
    var(--card);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 0 40px rgba(212, 255, 0, 0.06);
}
.cta h2 { margin-bottom: 8px; }
.cta p { color: var(--muted); }
.contacts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.contact-pill {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--text);
  cursor: copy;
  user-select: all;
  -webkit-user-select: all;
  transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-pill:hover {
  border-color: var(--lime);
  color: var(--lime);
  box-shadow: 0 0 18px rgba(212, 255, 0, 0.18);
}
.contact-pill.is-copied {
  border-color: var(--lime);
  color: var(--ink);
  background: var(--lime);
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 13px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}
.footer-aside {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}
.footer-link {
  color: var(--text);
  font-weight: 700;
}
.footer-link:hover { color: var(--lime); }

.policy { max-width: 760px; }
.policy-hero h1 { max-width: none; }
.policy-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 8px;
}
.policy-switch a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
}
.policy-switch a:hover,
.policy-switch a.is-on {
  color: var(--ink);
  background: var(--lime);
  border-color: var(--lime);
}
.policy h2 {
  font-size: 22px;
  margin: 28px 0 10px;
}
.policy p,
.policy li { color: var(--muted); }
.policy p { margin-bottom: 10px; }
.policy ul,
.policy ol {
  margin: 0 0 14px;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}
.policy ol { gap: 8px; }
.policy ol li { color: var(--muted); }
.policy a { color: var(--lime); text-decoration: underline; text-underline-offset: 2px; }
.policy-lang {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.86);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 24px;
}
.lightbox.is-open {
  display: grid;
  animation: fadeIn 0.25s ease;
}
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 90vh;
  border-radius: 16px;
  box-shadow: 0 0 48px rgba(212, 255, 0, 0.12);
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fxRise {
  0% {
    opacity: 0;
    transform: perspective(1400px) translate3d(0, 90px, -150px) rotateX(22deg) scale(0.88);
  }
  14%, 62% {
    opacity: 1;
    transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: perspective(1400px) translate3d(0, -90px, -150px) rotateX(-22deg) scale(0.88);
  }
}
@keyframes fxLeft {
  0% {
    opacity: 0;
    transform: perspective(1400px) translate3d(-80px, 50px, -140px) rotateY(22deg) rotateX(10deg) scale(0.88);
  }
  14%, 62% {
    opacity: 1;
    transform: perspective(1400px) translate3d(0, 0, 0) rotateY(0) rotateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: perspective(1400px) translate3d(-80px, -50px, -140px) rotateY(22deg) rotateX(-10deg) scale(0.88);
  }
}
@keyframes fxRight {
  0% {
    opacity: 0;
    transform: perspective(1400px) translate3d(80px, 50px, -140px) rotateY(-22deg) rotateX(10deg) scale(0.88);
  }
  14%, 62% {
    opacity: 1;
    transform: perspective(1400px) translate3d(0, 0, 0) rotateY(0) rotateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: perspective(1400px) translate3d(80px, -50px, -140px) rotateY(-22deg) rotateX(-10deg) scale(0.88);
  }
}
@keyframes fxYaw {
  0% {
    opacity: 0;
    transform: perspective(1400px) translate3d(70px, 40px, -180px) rotateY(-18deg) rotateX(8deg) scale(0.86);
  }
  12%, 68% {
    opacity: 1;
    transform: perspective(1400px) translate3d(0, 0, 0) rotateY(0) rotateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: perspective(1400px) translate3d(40px, -50px, -180px) rotateY(-14deg) rotateX(-8deg) scale(0.86);
  }
}
@keyframes fxFlip {
  0% {
    opacity: 0;
    transform: perspective(1400px) translate3d(0, 40px, -110px) rotateX(30deg) scale(0.9);
  }
  14%, 62% {
    opacity: 1;
    transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: perspective(1400px) translate3d(0, -40px, -110px) rotateX(-30deg) scale(0.9);
  }
}

@supports (animation-timeline: view()) {
  .hero-grid > div:first-child,
  .hero-visual,
  .feature,
  .app-card,
  .section-head,
  .stat,
  .result-grid > .card,
  .cards-2 .card,
  .case,
  .cta,
  .gallery img,
  .page-hero {
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-fill-mode: both;
    animation-timeline: view(100px 48px);
    animation-range: cover 0% cover 100%;
    animation-name: fxRise;
  }
  .hero-grid > div:first-child { animation-name: fxLeft; }
  .hero-visual { animation-name: fxYaw; }
  .section-head { animation-name: fxLeft; }
  .feature:nth-child(odd),
  .app-card:nth-child(odd),
  .result-grid > .card:nth-of-type(odd),
  .cards-2 .card:nth-child(odd),
  .case:nth-of-type(odd) { animation-name: fxLeft; }
  .feature:nth-child(even),
  .app-card:nth-child(even),
  .result-grid > .card:nth-of-type(even),
  .cards-2 .card:nth-child(even),
  .case:nth-of-type(even) { animation-name: fxRight; }
  .gallery img { animation-name: fxFlip; }
  .gallery img:nth-child(3n+1) { animation-name: fxLeft; }
  .gallery img:nth-child(3n) { animation-name: fxRight; }
}

html.no-view .hero-grid > div:first-child,
html.no-view .hero-visual,
html.no-view .feature,
html.no-view .app-card,
html.no-view .section-head,
html.no-view .stat,
html.no-view .result-grid > .card,
html.no-view .cards-2 .card,
html.no-view .case,
html.no-view .cta,
html.no-view .gallery img,
html.no-view .page-hero {
  opacity: 0;
  transform: perspective(1400px) translate3d(0, 80px, -120px) rotateX(18deg) scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}
html.no-view .from-up {
  transform: perspective(1400px) translate3d(0, -80px, -120px) rotateX(-18deg) scale(0.92);
}
html.no-view .is-in {
  opacity: 1;
  transform: perspective(1400px) translate3d(0, 0, 0) rotateX(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .hero-grid > div:first-child,
  .hero-visual,
  .feature,
  .app-card,
  .section-head,
  .stat,
  .result-grid > .card,
  .cards-2 .card,
  .case,
  .cta,
  .gallery img,
  .page-hero,
  html.no-view .hero-grid > div:first-child,
  html.no-view .hero-visual,
  html.no-view .feature,
  html.no-view .app-card,
  html.no-view .section-head,
  html.no-view .stat,
  html.no-view .result-grid > .card,
  html.no-view .cards-2 .card,
  html.no-view .case,
  html.no-view .cta,
  html.no-view .gallery img,
  html.no-view .page-hero {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .hero-grid,
  .cards-2,
  .app-grid,
  .case,
  .case:nth-child(even),
  .features,
  .stats,
  .result-grid,
  .gallery { grid-template-columns: 1fr; }
  .result-grid > .card { grid-column: auto; }
  .case:nth-child(even) .case-copy { order: 0; }
  .case-shot {
    min-height: 0;
    background: none;
    overflow: hidden;
    padding: 0 32px 32px;
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .case-shot img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
  }
  .hero { padding: 28px 0 16px; }
  .hero-grid { gap: 28px; }
  .hero-visual { min-height: 0; }
  .hero-visual::before,
  .hero-visual::after,
  .glow { width: 180px; height: 180px; filter: blur(40px); }
  .hero-visual img { border-radius: 18px; }
  h1, h2, h3, .lead, .card p, .stat b, .stat span {
    overflow-wrap: break-word;
  }
  h1 {
    font-size: clamp(28px, 9vw, 40px);
    max-width: none;
  }
  .page-hero { padding: 28px 0 12px; }
  .page-hero h1 { max-width: none; font-size: clamp(26px, 8.5vw, 38px); }
  .lead { font-size: 16px; max-width: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn,
  .btn-wide,
  .cta .btn { width: 100%; height: auto; min-height: 48px; padding: 12px 16px; white-space: normal; line-height: 1.3; }
  .gallery img { height: auto; }
  .app-card { grid-template-rows: auto auto; }
  .app-card.has-icon { grid-template-rows: auto auto; }
  .app-card h3 { font-size: 20px; }
  .card h3, .case-copy h3 { font-size: 22px; }
  .kpi { grid-template-columns: 1fr; }
  .stat b { font-size: 22px; }
  .contact-pill { max-width: 100%; overflow-wrap: anywhere; }
  .cta {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 18px;
  }
  .cta > div { min-width: 0; width: 100%; }
  .cta .btn,
  .cta .btn-wide {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: none;
    align-self: stretch;
    white-space: normal;
    box-sizing: border-box;
  }
  .footer-inner { align-items: flex-start; }
  .footer-brand { max-width: 100%; }
  .footer-brand div { overflow-wrap: anywhere; }
  .footer-aside {
    justify-items: start;
    text-align: left;
  }
  .burger { display: grid; }
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 14px;
    right: 14px;
    background: #151517;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .nav .btn { margin-left: 0; width: 100%; }

  .hero-grid > div:first-child,
  .hero-visual,
  .feature,
  .app-card,
  .section-head,
  .stat,
  .result-grid > .card,
  .cards-2 .card,
  .case,
  .cta,
  .gallery img,
  .page-hero {
    animation: none !important;
  }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  .hero { padding-top: 22px; }
  .cta, .card, .case-copy { padding: 20px; }
  .case-shot { padding: 0 20px 20px; }
  .features { grid-template-columns: 1fr; }
  .stats, .result-grid { grid-template-columns: 1fr 1fr; }
  .result-grid > .card { grid-column: 1 / -1; }
  .section { padding: 28px 0 48px; }
  .features { padding-bottom: 36px; }
}

