:root {
  --ink: #1a1a1a;
  --muted: #5c6570;
  --line: #e5e8ec;
  --bg: #f5f7fa;
  --white: #ffffff;
  --blue: #0e35f6;
  --blue-deep: #0926b8;
  --sky: #38b3e8;
  --sky-soft: #e8f6fd;
  --ok: #12a35a;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(14, 53, 246, 0.12);
  --font: "Manrope", system-ui, sans-serif;
  --display: "Unbounded", "Manrope", sans-serif;
  --max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Top bar */
.topbar {
  background: #101828;
  color: #d0d5dd;
  font-size: 0.85rem;
  padding: 0.55rem 0;
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.topbar a:hover {
  color: #fff;
}

.topbar__warn {
  color: #ffd666;
}

/* Header — full-bleed sticky bar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: #0f1728;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 28px rgba(8, 16, 32, 0.28);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 2px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1rem;
  flex: 1;
  min-width: 0;
  justify-content: flex-start;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.nav a:hover,
.nav a.is-active {
  color: #fff;
}

.nav__drop {
  position: relative;
  padding-bottom: 0.65rem;
  margin-bottom: -0.65rem;
}

.nav__drop-btn {
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  padding: 0;
}

.nav__drop-btn:hover,
.nav__drop:hover .nav__drop-btn,
.nav__drop.is-open .nav__drop-btn {
  color: #fff;
}

.nav__drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.55rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  z-index: 60;
}

.nav__drop.is-open .nav__drop-menu,
.nav__drop:hover .nav__drop-menu {
  display: grid;
  gap: 0.15rem;
}

.nav__drop-menu a {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
}

.nav__drop-menu a:hover,
.nav__drop-menu a.is-active {
  background: var(--sky-soft);
  color: var(--blue);
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  margin-left: auto;
}

.header__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}

.header__phone a {
  font-weight: 800;
  font-size: 1.05rem;
  color: #7dd3fc;
}

.header__phone small {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.75rem;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--sky));
  color: #fff;
  box-shadow: 0 10px 24px rgba(14, 53, 246, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 14px 28px rgba(14, 53, 246, 0.35);
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn--light {
  background: var(--white);
  color: var(--blue);
}

.btn--outline {
  background: var(--white);
  color: var(--blue);
  border: 1.5px solid rgba(14, 53, 246, 0.25);
}

/* Hero — full bleed, content left and higher in the viewport */
.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(8, 18, 48, 0.88) 0%, rgba(14, 53, 246, 0.55) 48%, rgba(56, 179, 232, 0.35) 100%),
    url("../img/hero.jpg") center / cover no-repeat;
}

.hero > .container {
  position: relative;
  z-index: 2;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 3.25rem 0 2.5rem;
}

.hero__content {
  max-width: 36rem;
  text-align: left;
  animation: rise 0.8s ease both;
}

.hero__brand {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 800;
}

.hero__lead {
  margin: 0 0 1.6rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 34rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__promo {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 214, 102, 0.95);
  color: #1a1a1a;
  font-weight: 800;
  font-size: 0.82rem;
  width: fit-content;
  max-width: 100%;
  animation: pulse 2.4s ease-in-out infinite;
  transform-origin: left center;
}

.hero__station {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: min(38vw, 420px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.35));
  animation: float 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

/* Stats */
.stats {
  background: var(--white);
  margin-top: -2rem;
  position: relative;
  z-index: 2;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 1.45rem;
  color: var(--blue);
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section--bg {
  background: linear-gradient(180deg, var(--bg), #eef3f8 60%, var(--bg));
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section__head h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 2.15rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.55rem;
}

.section__head p {
  margin: 0;
  color: var(--muted);
}

/* Services — interactive tiles */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 220px;
  color: #fff;
  isolation: isolate;
  transition: transform 0.25s ease;
}

.service:hover {
  transform: translateY(-4px);
}

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

.service::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 20, 50, 0.15), rgba(8, 18, 48, 0.88));
  z-index: -1;
}

.service__body {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 1.25rem;
}

.service h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.service p {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
}

.service .btn {
  align-self: flex-start;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

/* Models */
.models {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.model {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.model:hover {
  border-color: rgba(14, 53, 246, 0.35);
  box-shadow: var(--shadow);
}

.model img {
  height: 140px;
  width: auto;
  margin: 0 auto 0.85rem;
  object-fit: contain;
}

.model h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
}

.model__price {
  color: var(--blue);
  font-weight: 800;
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

/* Works */
.works {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.75rem;
  min-height: 420px;
}

.work {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.work:first-child {
  grid-row: span 2;
}

.work img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.work:hover img {
  transform: scale(1.05);
}

.work figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.85rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}

/* Split about */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.split li {
  position: relative;
  padding: 0.45rem 0 0.45rem 1.5rem;
  color: var(--muted);
}

.split li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--sky);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

/* FAQ */
.faq {
  display: grid;
  gap: 0.65rem;
  max-width: 780px;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.95rem 1.1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(120deg, #0a1638, #0e35f6 55%, #38b3e8);
  color: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.cta-band h2 {
  font-family: var(--display);
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
}

.cta-band p {
  margin: 0;
  opacity: 0.9;
}

.form {
  display: grid;
  gap: 0.65rem;
}

.form input,
.form textarea {
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.form .btn {
  width: 100%;
}

.form-note {
  font-size: 0.8rem;
  opacity: 0.85;
}

.form-status {
  display: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.form-status.is-visible {
  display: block;
}

/* Footer — darker than header */
.site-footer {
  background: #060a12;
  color: #a8b0bd;
  padding: 3rem 0 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer__brand {
  font-family: var(--display);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: #fff;
}

.footer__copy {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #6b7585;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(8, 16, 32, 0.55);
}

.modal.is-open {
  display: flex;
}

.modal__box {
  width: min(100%, 420px);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--muted);
}

.modal h2 {
  margin: 0 0 0.35rem;
  font-family: var(--display);
  font-size: 1.25rem;
}

.modal p {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.modal .form input {
  background: var(--bg);
  border: 1px solid var(--line);
}

/* Internal pages */
.page-hero {
  background:
    linear-gradient(120deg, #0a1638, #0e35f6 60%, #38b3e8);
  color: #fff;
  padding: 3rem 0 2.5rem;
}

.page-hero__brand {
  font-family: var(--display);
  font-weight: 800;
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.page-hero h1 {
  font-family: var(--display);
  margin: 0 0 0.65rem;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.page-hero__lead {
  margin: 0 0 1.25rem;
  max-width: 36rem;
  opacity: 0.9;
}

.prose {
  max-width: 760px;
}

.prose--wide {
  max-width: none;
}

.prose h2,
.prose h3 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  margin: 1.75rem 0 0.65rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose ul {
  padding-left: 1.15rem;
}

.prose-figure {
  margin: 1.25rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.prose-figure img {
  width: 100%;
  height: auto;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 4px 18px rgba(16, 24, 40, 0.05);
}

.table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 280px;
}

.table-wrap td,
.table-wrap th {
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 1rem;
  vertical-align: middle;
  text-align: left;
}

.table-wrap tr:last-child td {
  border-bottom: 0;
}

.table-wrap tr:nth-child(even) td {
  background: #f8fafc;
}

.table-wrap td:last-child {
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
}

.table-wrap p {
  margin: 0;
  color: inherit;
}

.table-wrap strong {
  color: var(--ink);
}

.prose-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.section--tight {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.media-band {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #eef2f7;
}

.media-band img {
  width: 100%;
  height: auto;
  max-height: clamp(280px, 48vw, 520px);
  object-fit: contain;
  object-position: center;
  display: block;
  margin-inline: auto;
}

.media-band--wide img {
  max-height: clamp(320px, 55vw, 560px);
}

.split-page {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1.75rem;
  align-items: center;
}

.split-page__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 280px;
}

.split-page__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.mid-cta {
  margin: 0.5rem 0;
  padding: 0 1rem;
}

.mid-cta__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.75rem;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, #0a1638, #0e35f6 55%, #38b3e8);
  color: #fff;
  box-shadow: var(--shadow);
}

.mid-cta h2 {
  font-family: var(--display);
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.mid-cta p {
  margin: 0;
  opacity: 0.9;
  max-width: 36rem;
}

.mid-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.prod-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.prod-card:hover {
  border-color: rgba(14, 53, 246, 0.35);
  box-shadow: var(--shadow);
}

.prod-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 170px;
  padding: 1rem;
  background: linear-gradient(180deg, #eef4fb, #f8fafc);
}

.prod-card__img img {
  max-height: 150px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.prod-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
}

.prod-card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.prod-card__users {
  margin: 0;
  font-weight: 700;
  color: var(--blue);
  font-size: 0.92rem;
}

.prod-card__fit {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  flex: 1;
}

.prod-card__price {
  margin: 0.35rem 0 0.55rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}

.prod-card .btn {
  width: 100%;
}

.page-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.page-gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 160px;
}

.page-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.page-gallery figure:hover img {
  transform: scale(1.04);
}

@media (max-width: 960px) {
  .split-page {
    grid-template-columns: 1fr;
  }

  .prod-grid,
  .page-gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .prod-grid,
  .page-gallery {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 960px) {
  .header__inner {
    flex-wrap: wrap;
  }

  .nav {
    display: none;
    order: 3;
    flex: 1 1 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0 0.75rem;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__drop-menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0.25rem 0 0.25rem 0.75rem;
  }

  .nav__drop.is-open .nav__drop-menu,
  .nav__drop:hover .nav__drop-menu {
    display: grid;
  }

  .nav-toggle {
    display: block;
  }

  .header__cta .btn {
    display: none;
  }

  .hero__station {
    opacity: 0.35;
    width: min(55vw, 280px);
  }

  .stats__grid,
  .services,
  .models,
  .steps,
  .footer__grid,
  .split,
  .cta-band {
    grid-template-columns: 1fr 1fr;
  }

  .works {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .work:first-child {
    grid-row: auto;
    grid-column: span 2;
    min-height: 240px;
  }

  .work {
    min-height: 180px;
  }
}

@media (max-width: 640px) {
  .stats__grid,
  .services,
  .models,
  .steps,
  .footer__grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .header__phone {
    display: flex;
  }

  .header__phone a {
    font-size: 0.92rem;
  }

  .header__phone small {
    display: none;
  }

  .logo span {
    font-size: 1rem;
  }

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

  .work:first-child {
    grid-column: auto;
  }
}

/* ========== Landing sections (Тильда / inSales / сторителлинг) ========== */
body.lp {
  --display: "Manrope", system-ui, sans-serif;
  --lp-gap: clamp(4rem, 8vw, 6.5rem);
  --lp-h2: clamp(1.55rem, 2.4vw, 2rem);
  --lp-h3: clamp(0.95rem, 1.2vw, 1.1rem);
}

body.lp .site-footer {
  margin-top: 0;
}

.lp-sec {
  padding: var(--lp-gap) 0;
}

.lp-sec--light {
  background: var(--white);
}

.lp-sec--gray {
  background: var(--bg);
}

.lp-sec--cover {
  background: linear-gradient(180deg, #f0f4f8 0%, #fff 70%);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
}

.lp-sec--accent {
  background: #0f1728;
  color: #e8eef6;
}

.lp-sec--accent h2,
.lp-sec--accent .lp-text,
.lp-sec--accent .btn-micro {
  color: #e8eef6;
}

.lp-sec--accent .btn-micro {
  opacity: 0.75;
}

.lp-sec h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: var(--lp-h2);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.25;
  max-width: 28ch;
}

.lp-sec--accent h2 {
  color: #fff;
}

.lp-sec h3 {
  margin: 0 0 0.35rem;
  font-size: var(--lp-h3);
  font-weight: 700;
  color: var(--ink);
}

.lp-text {
  margin: 0 0 1.25rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.lp-crumbs {
  margin: 0 0 0.85rem;
}

.lp-crumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.lp-crumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  font-weight: 500;
  opacity: 0.55;
}

.lp-crumbs__item a {
  color: var(--blue);
  text-decoration: none;
}

.lp-crumbs__item a:hover {
  text-decoration: underline;
}

.lp-crumbs__item[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

/* Full-bleed hero — сильный первый экран (PromoPult) */
.lp-sec--hero {
  padding: 0;
  background: #0b1220;
}

.lp-hero {
  position: relative;
  min-height: min(68vh, 560px);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.lp-hero__bg {
  position: absolute;
  inset: 0;
}

.lp-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.lp-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 14, 28, 0.88) 0%, rgba(8, 14, 28, 0.55) 42%, rgba(8, 14, 28, 0.2) 72%, transparent 100%),
    linear-gradient(180deg, rgba(8, 14, 28, 0.35) 0%, transparent 40%);
}

.lp-hero__content {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
  max-width: none;
  text-align: left;
}

.lp-crumbs--on-dark .lp-crumbs__list {
  color: rgba(255, 255, 255, 0.62);
}

.lp-crumbs--on-dark .lp-crumbs__item a {
  color: #7dd3fc;
}

.lp-crumbs--on-dark .lp-crumbs__item a:hover {
  color: #fff;
}

.lp-crumbs--on-dark .lp-crumbs__item[aria-current="page"] {
  color: rgba(255, 255, 255, 0.92);
}

.lp-hero h1 {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
  max-width: 28ch;
}

.lp-lead {
  margin: 0 0 1.35rem;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.55;
}

.lp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 0;
  backdrop-filter: blur(4px);
}

.btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-micro--on-dark {
  color: rgba(255, 255, 255, 0.7);
}

.lp-ph-badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  z-index: 2;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(15, 23, 40, 0.72);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  pointer-events: none;
}

.lp-ph-badge--hero {
  top: 1rem;
  right: 1rem;
  left: auto;
}

.lp-shot {
  margin: 0;
}

.lp-shot__frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg);
  aspect-ratio: 4 / 3;
}

.lp-shot__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.lp-shot:hover .lp-shot__frame img {
  transform: scale(1.03);
}

.lp-shot figcaption,
.lp-gal__item figcaption,
.lp-cover__media figcaption,
.lp-photo figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
}

.lp-sec--flush {
  padding: 0;
}

.lp-sec--mid {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  background: var(--sky-soft);
}

.lp-mid-cta {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
}

.lp-mid-cta h2 {
  margin: 0 0 0.35rem;
  max-width: 22ch;
}

.lp-mid-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 40ch;
}

.lp-band {
  position: relative;
  min-height: min(42vh, 380px);
  overflow: hidden;
}

.lp-band img {
  width: 100%;
  height: min(42vh, 380px);
  object-fit: cover;
}

.lp-band__cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(transparent, rgba(8, 14, 28, 0.78));
  color: #fff;
}

.lp-band__cap p {
  margin: 0.35rem 0 0;
  width: min(100% - 0rem, var(--max));
  margin-inline: auto;
  font-size: 0.9rem;
}

.lp-band__cap .lp-ph-badge {
  position: static;
  display: inline-block;
  margin-left: max(0px, calc((100% - var(--max)) / 2));
}

.lp-gal-head {
  margin-bottom: 1.5rem;
  padding-top: var(--lp-gap);
}

.lp-gal {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  padding-bottom: var(--lp-gap);
}

.lp-gal__item {
  margin: 0;
}

.lp-gal__item .lp-shot__frame {
  aspect-ratio: 1 / 1;
}

.lp-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.lp-service-card {
  margin: 0;
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

a.lp-service-card {
  cursor: pointer;
}

a.lp-service-card:hover {
  border-color: rgba(14, 53, 246, 0.35);
  box-shadow: 0 12px 28px rgba(14, 53, 246, 0.1);
  transform: translateY(-2px);
}

a.lp-service-card:hover .lp-service-card__img img {
  transform: scale(1.04);
}

a.lp-service-card:hover .lp-service-card__more {
  color: var(--blue);
}

.lp-service-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg);
}

.lp-service-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lp-service-card h3 {
  margin: 0.9rem 1rem 0.25rem;
}

.lp-service-card p {
  margin: 0 1rem 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.lp-service-card__more {
  display: inline-block;
  margin: 0 1rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  transition: color 0.2s ease;
}

.lp-split--hook,
.lp-split--rev {
  margin-top: 0;
  align-items: center;
}

.lp-split--rev {
  grid-template-columns: 0.95fr 1.05fr;
}

.lp-phone-lg {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
}

.lp-legal {
  max-width: 48rem;
}

.lp-legal h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lp-legal h2 {
  margin: 2rem 0 0.75rem;
  max-width: none;
  font-size: 1.15rem;
}

.lp-legal p,
.lp-legal li {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.lp-legal ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.lp-legal__meta {
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.lp-legal__note {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}

.lp-legal .table-wrap {
  margin: 1rem 0 1.5rem;
}

.lp-legal table {
  font-size: 0.85rem;
}

.table-wrap--legal {
  margin-top: 1.25rem;
}

.lp-legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.lp-legal-table th,
.lp-legal-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.lp-legal-table th {
  width: 38%;
  font-weight: 700;
  color: var(--ink);
  background: var(--bg);
}

.lp-legal-table td {
  color: var(--muted);
  word-break: break-word;
}

.form-agree .policy-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.lp-sec--accent .form-agree .policy-link {
  color: #7dd3fc;
}

/* Lightbox — встроенный просмотр */
img.js-zoomable {
  cursor: zoom-in;
}

body.lb-open {
  overflow: hidden;
}

.lb {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 4rem 4rem;
  background: rgba(8, 14, 28, 0.92);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.lb.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lb__figure {
  margin: 0;
  max-width: min(96vw, 1200px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb__img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  background: #0b1220;
}

.lb__cap {
  margin-top: 0.75rem;
  max-width: 40rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.lb__counter {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
  font-weight: 600;
}

.lb__close,
.lb__prev,
.lb__next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}

.lb__close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  font-size: 1.6rem;
  line-height: 1;
}

.lb__prev,
.lb__next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  font-size: 1.8rem;
  line-height: 1;
}

.lb__prev {
  left: 1rem;
}

.lb__next {
  right: 1rem;
}

.lb__close:hover,
.lb__prev:hover,
.lb__next:hover {
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 640px) {
  .lb {
    padding: 3rem 0.75rem 3.5rem;
  }

  .lb__prev,
  .lb__next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lb__prev {
    left: 0.35rem;
  }

  .lb__next {
    right: 0.35rem;
  }
}

.btn-micro {
  margin: 0.55rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.4;
}

.lp-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  max-width: 52ch;
}

.lp-list li {
  position: relative;
  padding-left: 1.15rem;
  color: var(--ink);
  line-height: 1.5;
}

.lp-list li + li {
  margin-top: 0.35rem;
}

.lp-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--blue);
}

.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem 1.25rem;
  margin-top: 1.5rem;
}

.lp-step {
  padding: 0;
}

.lp-step__n,
.lp-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  margin-bottom: 0.65rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.lp-step--photo .lp-step__img {
  margin-bottom: 0.75rem;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg);
}

.lp-step--photo .lp-step__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.lp-note {
  margin: 1.5rem 0 0;
  max-width: 58ch;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.lp-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.75rem;
  margin-top: 1.25rem;
}

.lp-mini p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.lp-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  margin-top: 0;
}

.lp-photo {
  margin: 0;
}

.lp-photo .lp-shot__frame,
.lp-photo img {
  width: 100%;
}

.lp-photo img {
  max-height: 360px;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.75rem;
}

.lp-faqs {
  display: grid;
  gap: 0.65rem;
  max-width: 64ch;
  margin-top: 1rem;
}

.lp-faq {
  border-bottom: 1px solid var(--line);
  padding: 0.35rem 0 0.75rem;
}

.lp-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
  list-style: none;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq p {
  margin: 0.55rem 0 0;
  color: var(--muted);
}

.lp-inline-cta {
  margin-top: 1.75rem;
}

.lp-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-close {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.lp-form {
  display: grid;
  gap: 0.75rem;
  max-width: 380px;
}

.lp-form input[type="text"],
.lp-form input[type="tel"],
.lp-form input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.lp-sec--accent .lp-form input {
  border-color: transparent;
}

.form-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-agree {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}

.lp-sec--accent .form-agree {
  color: rgba(232, 238, 246, 0.75);
}

.form-agree a {
  text-decoration: underline;
}

.lp-sec .table-wrap {
  margin-top: 1.25rem;
  overflow-x: auto;
}

.lp-sec .table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.lp-sec .table-wrap th,
.lp-sec .table-wrap td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.lp-sec .prod-grid {
  margin-top: 1.5rem;
}

.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: rgba(15, 23, 40, 0.72);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.to-top.is-visible {
  opacity: 0.85;
  pointer-events: auto;
}

.to-top:hover {
  opacity: 1;
}

@media (max-width: 960px) {
  .lp-cover,
  .lp-split,
  .lp-split--rev,
  .lp-close {
    grid-template-columns: 1fr;
  }

  .lp-steps,
  .lp-gal {
    grid-template-columns: 1fr 1fr;
  }

  .lp-mini-grid,
  .lp-service-grid {
    grid-template-columns: 1fr 1fr;
  }

  .lp-hero {
    min-height: min(58vh, 480px);
    align-items: center;
  }

  .lp-hero h1 {
    max-width: 22ch;
  }

  .lp-band__cap .lp-ph-badge {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .lp-steps,
  .lp-mini-grid,
  .lp-service-grid,
  .lp-gal {
    grid-template-columns: 1fr;
  }

  .lp-cover h1,
  .lp-hero h1 {
    max-width: none;
  }

  .lp-hero {
    min-height: auto;
    align-items: flex-end;
  }

  .lp-hero__content {
    padding: 1.5rem 0 1.75rem;
  }

  .lp-hero h1 {
    font-size: clamp(1.45rem, 6.2vw, 1.85rem);
    margin-bottom: 0.75rem;
  }

  .lp-lead {
    font-size: 0.98rem;
    margin-bottom: 1rem;
  }

  .lp-hero__actions {
    display: grid;
    gap: 0.65rem;
  }

  .lp-hero__actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .lp-hero__actions .btn--ghost-dark {
    width: 100%;
  }

  .btn-micro--on-dark {
    font-size: 0.8rem;
  }

  .lp-sec .table-wrap,
  .table-wrap {
    margin-left: 0;
    margin-right: 0;
    border-radius: 10px;
  }

  .lp-sec .table-wrap table,
  .table-wrap table {
    font-size: 0.82rem;
    min-width: 0;
  }

  .table-wrap td,
  .table-wrap th,
  .lp-sec .table-wrap th,
  .lp-sec .table-wrap td {
    padding: 0.55rem 0.6rem;
  }

  .table-wrap td:last-child {
    white-space: normal;
  }

  .lp-legal-table th,
  .lp-legal-table td {
    display: block;
    width: 100%;
  }

  .lp-legal-table tr {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--line);
  }

  .lp-legal-table th {
    border: 0;
    padding-bottom: 0.2rem;
    font-size: 0.78rem;
    color: var(--muted);
  }

  .lp-legal-table td {
    border: 0;
    padding-top: 0;
  }

  .header__inner {
    gap: 0.5rem;
    padding: 0.65rem 0;
  }

  .nav a,
  .nav__drop-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav.is-open {
    gap: 0.15rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.35rem;
    padding-top: 0.65rem;
  }

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

  .lp-step--photo .lp-step__img {
    aspect-ratio: 16 / 10;
  }

  .lp-phone-lg {
    font-size: 1.25rem;
    word-break: break-word;
  }

  .to-top {
    right: 14px;
    bottom: 14px;
  }
}
