@font-face {
  font-family: "PT Serif";
  src: url("assets/fonts/pt-serif-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Serif";
  src: url("assets/fonts/pt-serif-italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "PT Serif";
  src: url("assets/fonts/pt-serif-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "PT Serif";
  src: url("assets/fonts/pt-serif-bold-italic.woff") format("woff");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --orange: #132440;
  --orange-dark: #132440;
  --sand: #d6a35d;
  --sand-dark: #875a27;
  --orange-soft: #e7edf3;
  --orange-pale: #f3f6f9;
  --ink: #132440;
  --muted: #647286;
  --line: #d8e0e8;
  --white: #fff;
  --shadow: 0 18px 60px rgba(54, 38, 27, .1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "PT Serif", Georgia, serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1420px, calc(100% - 56px)); margin: 0 auto; }

.header {
  position: sticky;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid rgba(32, 25, 20, .06);
  backdrop-filter: blur(18px);
}
.nav {
  min-height: 84px;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) auto minmax(390px, 1fr);
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; justify-self: start; }
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(12%) sepia(41%) saturate(1190%) hue-rotate(181deg) brightness(88%) contrast(97%);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.2; }
.brand-copy strong { font-size: 18px; letter-spacing: -.45px; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 33px; }
.nav-links a {
  position: relative;
  padding: 31px 0 29px;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 23px;
  height: 2px;
  background: var(--orange);
  transition: right .25s ease;
}
.nav-links a:hover::after { right: 0; }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 14px; }
.messengers { display: flex; gap: 6px; }
.messenger {
  width: 31px; height: 31px;
  display: grid; place-items: center;
  border: 1px solid #dedede;
  border-radius: 10px;
  font-size: 8px;
  font-weight: 800;
  transition: .2s ease;
}
.messenger:hover { transform: translateY(-2px); border-color: #e2e3e5; color: var(--orange); }
.telegram { color: #198dcc; }
.max { color: #7358d9; }
.header-phone { font-size: 13px; font-weight: 800; white-space: nowrap; }
.callback-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 750;
  transition: .2s ease;
}
.callback-btn:hover { border-color: var(--sand); color: var(--ink); }
.menu-btn { display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: none; }
.menu-btn span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); }

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  padding: 36px 0 24px;
  overflow: hidden;
  background:
    linear-gradient(112deg, rgba(255,255,255,.98) 0%, rgba(247,249,252,.96) 46%, rgba(195,205,217,.64) 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .32;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(237, 188, 121, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 188, 121, .05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 60%, #000 100%);
}
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(1px); }
.hero-orb-one {
  width: 640px; height: 640px;
  right: -220px; top: -140px;
  background: radial-gradient(circle, rgba(195, 205, 217, .28), transparent 68%);
}
.hero-orb-two {
  width: 360px; height: 360px;
  left: 38%; bottom: -190px;
  background: radial-gradient(circle, rgba(237, 188, 121, .1), transparent 70%);
}
.hero-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: .87fr 1.13fr;
  align-items: center;
  gap: 48px;
  min-height: 455px;
}
.hero-copy { padding: 6px 0 20px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 20px;
  color: var(--orange-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.35px;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 21px; height: 2px; background: var(--orange); }
h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(43px, 4.25vw, 68px);
  line-height: 1.04;
  letter-spacing: -3.8px;
}
.hero-lead {
  max-width: 660px;
  margin: 24px 0 30px;
  color: #5f6570;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.62;
}
.hero-buttons { display: flex; gap: 12px; }
.btn {
  display: inline-flex;
  min-height: 55px;
  align-items: center;
  justify-content: center;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 750;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: var(--white);
  background: #1d365c;
  box-shadow: 0 13px 28px rgba(19, 36, 64, .2);
}
.btn-primary:hover {
  background: #183052;
  box-shadow: 0 17px 34px rgba(19, 36, 64, .29);
}
.btn-secondary { background: rgba(255,255,255,.82); border-color: #d9d7d5; }
.btn-secondary:hover {
  border-color: var(--sand);
  color: var(--ink);
  background: var(--sand);
  box-shadow: 0 10px 26px rgba(135,90,39,.18);
}

.hero-visual {
  position: relative;
  height: 455px;
  transform: scale(.82);
  transform-origin: right center;
}
.monitor {
  position: absolute;
  left: 2%;
  top: 22px;
  width: 78%;
  padding: 8px;
  border: 2px solid rgba(28, 29, 32, .78);
  border-radius: 27px;
  background: #202126;
  box-shadow: 0 36px 80px rgba(42, 28, 19, .16);
  transform: perspective(1400px) rotateY(-2deg);
}
.monitor-camera {
  position: absolute;
  z-index: 3;
  width: 5px; height: 5px;
  left: 50%; top: 3px;
  border-radius: 50%;
  background: #08090a;
}
.dashboard { position: relative; overflow: hidden; border-radius: 19px; background: #fff; }
.monitor-video,
.monitor-poster {
  position: absolute;
  z-index: 2;
  inset: 7px;
  width: calc(100% - 14px);
  height: calc(100% - 14px);
  padding: 0;
  box-sizing: border-box;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
}
.monitor-poster { display: none; }
.dash-header {
  height: 43px;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #ececee;
}
.dash-brand { display: flex; align-items: center; gap: 7px; font-size: 9px; font-weight: 800; }
.dash-brand i, .mobile-brand i { width: 13px; height: 13px; border-radius: 4px; background: var(--orange); }
.dash-avatar { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); font-size: 8px; font-weight: 800; }
.dash-layout { display: flex; min-height: 330px; }
.dash-layout aside { width: 46px; padding-top: 25px; display: flex; align-items: center; flex-direction: column; gap: 17px; border-right: 1px solid #ececee; }
.dash-layout aside i { width: 14px; height: 14px; border-radius: 4px; background: #ececef; }
.dash-layout aside i.active { background: var(--orange); }
.dash-content { width: calc(100% - 46px); padding: 23px; }
.dash-title { display: flex; justify-content: space-between; align-items: flex-end; }
.dash-title small { display: block; color: #8b8e95; font-size: 8px; }
.dash-title strong { display: block; margin-top: 4px; font-size: 21px; letter-spacing: -.7px; }
.dash-title > span, .dash-cards em { padding: 4px 7px; border-radius: 12px; color: #238b59; background: #e7f7ee; font-size: 7px; font-style: normal; }
.chart { position: relative; height: 135px; margin: 18px 0 15px; overflow: hidden; }
.chart-lines { position: absolute; inset: 0; background: repeating-linear-gradient(to bottom, transparent 0 32px, #f0f0f2 33px); }
.chart-fill {
  position: absolute; inset: 14px 0 0;
  background: linear-gradient(180deg, rgba(19,36,64,.2), transparent 90%);
  clip-path: polygon(0 88%, 12% 74%, 21% 78%, 32% 59%, 43% 64%, 55% 41%, 64% 47%, 76% 26%, 85% 34%, 100% 6%, 100% 100%, 0 100%);
}
.chart-path {
  position: absolute;
  inset: 0;
  background: var(--orange);
  height: 3px;
  top: 75px;
  transform: rotate(-10deg);
  border-radius: 100%;
  box-shadow: 130px -18px 0 -1px var(--orange), 270px -20px 0 -1px var(--orange);
}
.dash-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.dash-cards div { min-width: 0; padding: 10px; border: 1px solid #ededee; border-radius: 11px; }
.dash-cards small { display: block; overflow: hidden; color: #8a8d93; font-size: 7px; white-space: nowrap; text-overflow: ellipsis; }
.dash-cards b { display: block; margin: 5px 0; font-size: 11px; }
.phone {
  position: absolute;
  z-index: 5;
  left: -1%;
  top: 190px;
  width: 148px;
  height: 292px;
  padding: 7px;
  border: 2px solid rgba(20, 21, 24, .85);
  border-radius: 28px;
  background: #202126;
  box-shadow: 0 26px 55px rgba(38, 26, 19, .2);
}
.phone-speaker { position: absolute; z-index: 2; width: 35px; height: 4px; top: 9px; left: 50%; transform: translateX(-50%); border-radius: 4px; background: #111216; }
.phone-screen { position: relative; height: 100%; padding: 22px 12px 12px; overflow: hidden; border-radius: 20px; background: #fff; }
.phone-video,
.phone-poster {
  position: absolute;
  z-index: 3;
  inset: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  border-radius: 20px;
  object-fit: cover;
  background: #fff;
}
.phone-poster { display: none; }
.phone-screen.video-fallback .phone-video { display: none; }
.phone-screen.video-fallback .phone-poster { display: block; }
.mobile-brand { display: flex; align-items: center; gap: 5px; margin-bottom: 22px; font-size: 7px; font-weight: 800; }
.mobile-brand i { display: block; width: 10px; height: 10px; }
.phone-screen > small { color: #8a8d93; font-size: 7px; }
.phone-screen > strong { display: block; margin-top: 2px; font-size: 26px; }
.mobile-chart { height: 58px; display: flex; align-items: flex-end; gap: 6px; padding: 8px 0; }
.mobile-chart i { flex: 1; border-radius: 4px 4px 1px 1px; background: linear-gradient(var(--orange), var(--sand)); }
.mobile-chart i:nth-child(1) { height: 38%; }.mobile-chart i:nth-child(2) { height: 62%; }.mobile-chart i:nth-child(3) { height: 48%; }.mobile-chart i:nth-child(4) { height: 78%; }.mobile-chart i:nth-child(5) { height: 95%; }
.mobile-row { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid #eee; font-size: 7px; }
.founder-placeholder {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  width: 45%;
  height: 500px;
  display: grid;
  place-items: center;
  text-align: center;
  color: rgba(90, 77, 68, .48);
  border: 1px dashed rgba(237, 188, 121, .38);
  border-radius: 44% 44% 18% 18% / 20% 20% 8% 8%;
  background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(195,205,217,.66));
  font-size: 10px;
  font-weight: 700;
}
.founder-placeholder::after {
  content: "";
  position: absolute;
  left: -12%; right: -7%; bottom: -4px;
  height: 95px;
  background: linear-gradient(0deg, #f3f6f9 15%, rgba(243,246,249,.92) 34%, transparent);
  pointer-events: none;
}

.metrics {
  position: relative;
  z-index: 12;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: -12px;
}
.metric-card {
  min-height: 108px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid rgba(72, 54, 41, .08);
  border-radius: 18px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 14px 38px rgba(55, 38, 26, .07);
  backdrop-filter: blur(12px);
  transition: transform .24s ease, box-shadow .24s ease;
}
.metric-card:hover { transform: translateY(-4px); box-shadow: 0 20px 44px rgba(55, 38, 26, .11); }
.metric-card:nth-child(1), .metric-card:nth-child(4) { background: rgba(231, 237, 243, .94); }
.metric-card p { margin: 0; }
.metric-card strong { display: block; font-size: 14px; letter-spacing: -.25px; }
.metric-card small { display: block; max-width: 205px; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.35; }
.metric-icon {
  position: relative;
  flex: 0 0 auto;
  width: 42px; height: 42px;
  border: 1px solid rgba(19,36,64,.18);
  border-radius: 13px;
  background: var(--orange-soft);
}
.metric-icon::before, .metric-icon::after, .metric-icon i { content: ""; position: absolute; display: block; }
.icon-system::before { width: 14px; height: 14px; left: 8px; top: 9px; border: 2px solid var(--orange); border-radius: 5px; }
.icon-system::after { width: 14px; height: 14px; right: 7px; bottom: 8px; border: 2px solid var(--sand); border-radius: 5px; }
.icon-speed::before { width: 21px; height: 12px; left: 9px; top: 12px; border: 2px solid var(--orange); border-bottom: 0; border-radius: 20px 20px 0 0; }
.icon-speed::after { width: 11px; height: 2px; left: 19px; top: 21px; background: var(--orange); transform: rotate(-48deg); transform-origin: left; }
.icon-automation::before { width: 20px; height: 20px; left: 10px; top: 10px; border: 2px dashed var(--orange); border-radius: 50%; }
.icon-automation::after { width: 7px; height: 7px; left: 17px; top: 17px; border-radius: 50%; background: var(--orange); }
.icon-growth::before { width: 22px; height: 16px; left: 9px; top: 13px; border-left: 2px solid var(--sand); border-bottom: 2px solid var(--sand); }
.icon-growth::after { width: 18px; height: 10px; left: 13px; top: 13px; border-top: 2px solid var(--orange); transform: skewY(-28deg); }

.next-section { padding: 100px 0; background: #fff; }
.next-section span { color: var(--orange-dark); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.next-section h2 { max-width: 780px; margin: 15px 0 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.1; letter-spacing: -2.7px; }

.callback-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17, 18, 20, .55);
  backdrop-filter: blur(8px);
}
.callback-modal[hidden] { display: none; }
.modal-card { position: relative; width: min(440px, 100%); padding: 38px; border-radius: 24px; background: #fff; box-shadow: 0 30px 100px rgba(0,0,0,.25); }
.modal-card > small { color: var(--orange-dark); font-weight: 800; letter-spacing: 1px; }
.modal-card h2 { margin: 12px 0 25px; font-size: 29px; line-height: 1.2; letter-spacing: -1.2px; }
.modal-card form { display: flex; flex-direction: column; gap: 15px; }
.modal-card label { color: var(--muted); font-size: 11px; font-weight: 700; }
.modal-card input { width: 100%; height: 50px; margin-top: 6px; padding: 0 13px; border: 1px solid #ddd; border-radius: 11px; outline: none; }
.modal-card input:focus { border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.modal-close { position: absolute; top: 15px; right: 16px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f3f3f3; cursor: pointer; font-size: 22px; }

/* First-screen direction approved on 23.07.2026 */
.nav {
  min-height: 88px;
  grid-template-columns: minmax(270px, 1fr) auto minmax(440px, 1fr);
  gap: 28px;
}
.brand-logo {
  width: 64px;
  height: 64px;
  transform: translateY(4px);
}
.brand-copy { line-height: 1.05; }
.brand-copy strong {
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 1.25px;
}
.brand-copy small {
  margin-top: 4px;
  color: #545962;
  font-size: 14.5px;
  font-weight: 400;
  letter-spacing: 2.4px;
}
.nav-links { gap: 32px; }
.nav-links a {
  padding: 31px 0 29px;
  font-size: 20px;
  font-weight: 400;
}
.nav-actions { gap: 15px; }
.messenger {
  width: 36px;
  height: 36px;
  padding: 7px;
  border-color: #e2e3e5;
  border-radius: 11px;
  background: #fff;
}
.messenger img { display: block; width: 100%; height: 100%; object-fit: contain; }
.header-phone { font-size: 17px; font-weight: 500; }
.callback-btn {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 12px;
  border-color: rgba(135, 90, 39, .82);
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
}
.callback-btn:hover {
  border-color: var(--sand);
  color: var(--ink);
  background: var(--sand);
  box-shadow: 0 10px 26px rgba(135,90,39,.22);
}
.hero {
  min-height: calc(100vh - 65px);
  padding: 34px 0 28px;
  display: flex;
  flex-direction: column;
  background: linear-gradient(
    90deg,
    #edf3f9 0%,
    #f3f6f9 52%,
    #fbfcfd 100%
  );
}
.hero::before {
  inset: 0;
  width: 100%;
  display: block;
  opacity: .44;
  background: url("assets/network-pattern-sparse-varied-transparent-v4.png?v=1") right center / auto 100% no-repeat;
  background-blend-mode: normal;
  filter: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 43%,
    rgba(0,0,0,.72) 52%,
    rgba(0,0,0,.22) 63%,
    transparent 75%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 43%,
    rgba(0,0,0,.72) 52%,
    rgba(0,0,0,.22) 63%,
    transparent 75%
  );
}
.hero::after {
  display: none;
}
.hero-orb { display: none; }
.hero-main {
  flex: 1 1 auto;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  width: min(1420px, calc(100% - 56px));
  min-height: 540px;
}
.hero-main::before {
  display: none;
}
.hero-copy,
.hero-visual { z-index: 1; }
.hero-copy {
  width: 100%;
  max-width: 690px;
  padding: 0 0 38px;
}
h1 {
  max-width: 690px;
  font-size: clamp(40px, 2.65vw, 48px);
  line-height: 1.12;
  letter-spacing: -1.6px;
}
.hero-lead {
  max-width: 690px;
  margin: 25px 0 31px;
  color: #545b68;
  font-size: clamp(21px, 1.3vw, 24px);
  line-height: 1.44;
}
.hero-buttons { width: 100%; gap: 14px; }
.hero-buttons .btn {
  flex: 1 1 0;
  padding-inline: 18px;
  font-size: 19px;
  font-weight: 400;
}
.hero-visual {
  height: 520px;
  transform: scale(.9);
  transform-origin: right center;
}
.hero-visual::before {
  display: none;
}
.monitor {
  z-index: 2;
  left: -6%;
  top: 24px;
  width: 104%;
  padding: 6px;
  border: 1px solid rgba(86, 96, 109, .3);
  border-radius: 25px;
  background: #e5e9ee;
  box-shadow:
    0 2px 8px rgba(19, 36, 64, .12),
    0 26px 62px rgba(55, 38, 26, .15),
    inset 0 0 0 1px rgba(255, 255, 255, .8);
}
.monitor .dash-layout { min-height: 290px; }
.monitor .chart { height: 105px; }
.monitor-camera { background: #d4d6da; }
.dashboard {
  aspect-ratio: 16 / 9;
  border-radius: 20px;
}
.monitor .dash-layout {
  min-height: 0;
  height: calc(100% - 43px);
}
.phone {
  left: 0;
  top: 155px;
  width: 170px;
  height: 335px;
  padding: 6px;
  border: 1px solid rgba(86, 96, 109, .32);
  background: #edf0f3;
  box-shadow:
    8px 12px 24px rgba(19, 36, 64, .18),
    0 27px 54px rgba(55, 38, 26, .17),
    inset 0 0 0 1px rgba(255, 255, 255, .9);
}
.phone-speaker { background: #d3d5d8; }
.phone-screen {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(19, 36, 64, .08);
}
.founder-image {
  position: absolute;
  z-index: 8;
  right: -3%;
  bottom: -17px;
  width: 58%;
  height: 600px;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
  filter: drop-shadow(0 18px 30px rgba(39, 31, 26, .08));
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 82%,
    rgba(0,0,0,.97) 84%,
    rgba(0,0,0,.88) 86%,
    rgba(0,0,0,.72) 88%,
    rgba(0,0,0,.52) 90%,
    rgba(0,0,0,.32) 92%,
    rgba(0,0,0,.16) 94%,
    rgba(0,0,0,.06) 96%,
    transparent 98%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 82%,
    rgba(0,0,0,.97) 84%,
    rgba(0,0,0,.88) 86%,
    rgba(0,0,0,.72) 88%,
    rgba(0,0,0,.52) 90%,
    rgba(0,0,0,.32) 92%,
    rgba(0,0,0,.16) 94%,
    rgba(0,0,0,.06) 96%,
    transparent 98%,
    transparent 100%
  );
}
.founder-fade {
  z-index: 9;
  display: block;
  /* Match the cool hero background so the cropped leg edge stays invisible
     even on displays with reduced brightness. */
  filter: brightness(0) saturate(100%) invert(99%) sepia(3%) saturate(270%) hue-rotate(175deg) brightness(99%) contrast(98%);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 82%,
    rgba(0,0,0,.12) 85%,
    rgba(0,0,0,.38) 89%,
    rgba(0,0,0,.72) 93%,
    #000 97%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 82%,
    rgba(0,0,0,.12) 85%,
    rgba(0,0,0,.38) 89%,
    rgba(0,0,0,.72) 93%,
    #000 97%,
    #000 100%
  );
}
.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: -7%;
  bottom: -5%;
  width: 120%;
  height: 43%;
  display: none;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(251,252,253,.16) 16%,
    rgba(251,252,253,.72) 45%,
    #fbfcfd 72%,
    #fbfcfd 100%
  );
  -webkit-mask-image: none;
  mask-image: none;
}
.founder-image.founder-master {
  z-index: 7;
  inset: -4% -8% -8px 0;
  width: 108%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 68% center;
  mix-blend-mode: multiply;
  filter: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 64%,
    rgba(0,0,0,.96) 72%,
    rgba(0,0,0,.7) 81%,
    rgba(0,0,0,.2) 89%,
    transparent 96%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 64%,
    rgba(0,0,0,.96) 72%,
    rgba(0,0,0,.7) 81%,
    rgba(0,0,0,.2) 89%,
    transparent 96%
  );
}
.metrics {
  width: min(980px, calc(100% - 76px));
  gap: 12px;
  margin: 18px auto 28px;
}
.metric-card,
.metric-card:nth-child(1),
.metric-card:nth-child(4) {
  position: relative;
  min-height: 99px;
  margin-left: 0;
  padding: 12px 14px;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(66, 53, 44, .1);
  border-top: 3px solid var(--sand);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(61, 43, 31, .09);
}
.metric-icon {
  display: none;
}
.metric-icon img {
  width: 100%;
  height: 100%;
  filter: none;
}
.metric-card:nth-child(2) .metric-icon {
  background: #f5f7fa;
}
.metric-card:nth-child(3) .metric-icon {
  background: #f1f5f8;
}
.metric-card:nth-child(4) .metric-icon {
  background: #f4f6f9;
}
.metric-icon::before,
.metric-icon::after,
.metric-icon i { display: none; }
.metric-card p { min-width: 0; }
.metric-card strong {
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: -.15px;
  white-space: nowrap;
}
.metric-card small {
  max-width: 225px;
  margin: 5px auto 0;
  font-size: 15px;
  line-height: 1.2;
}

@media (max-width: 1180px) {
  .nav { grid-template-columns: auto 1fr auto; }
  .nav-links { gap: 20px; }
  .messengers { display: none; }
  .hero-main { grid-template-columns: .9fr 1.1fr; gap: 20px; }
  .hero-visual { transform: scale(.78); transform-origin: right center; }
}
@media (max-width: 980px) {
  .container { width: min(100% - 34px, 1420px); }
  .nav { min-height: 74px; display: flex; }
  .nav-links, .nav-actions { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .header.menu-open .nav { flex-wrap: wrap; padding: 12px 0; }
  .header.menu-open .nav-links { order: 4; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
  .header.menu-open .nav-links a { width: 100%; padding: 13px 0; border-top: 1px solid #eee; }
  .header.menu-open .nav-links a::after { display: none; }
  .hero { padding-top: 44px; }
  .hero-main { grid-template-columns: 1fr; }
  .hero-copy { max-width: 760px; padding-bottom: 0; }
  .hero-visual { width: min(760px, 100%); height: 555px; margin: 0 auto; transform: none; }
  .metrics { grid-template-columns: 1fr 1fr; margin-top: 0; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 24px, 1420px); }
  .brand-logo { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 16px; }
  h1 { font-size: 42px; letter-spacing: -2.4px; }
  .hero-lead { margin-top: 20px; font-size: 15px; }
  .hero-buttons { flex-direction: column; }
  .hero-visual { height: 420px; margin-top: 22px; }
  .monitor { left: 3%; top: 0; width: 92%; padding: 5px; border-radius: 20px; }
  .dashboard { border-radius: 15px; }
  .monitor-video,
  .monitor-poster { display: none; }
  .dash-layout { min-height: 245px; }
  .dash-layout aside { width: 34px; }
  .dash-content { width: calc(100% - 34px); padding: 15px; }
  .chart { height: 88px; margin: 12px 0; }
  .dash-cards div { padding: 7px; }
  .phone { top: 155px; left: 0; width: 108px; height: 220px; border-radius: 22px; }
  .phone-screen { padding: 19px 8px 8px; border-radius: 15px; }
  .founder-image { right: -4%; width: 48%; height: 375px; }
  .metrics { grid-template-columns: 1fr; gap: 9px; }
  .metric-card { min-height: 92px; }
  .next-section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

@media (prefers-reduced-motion: reduce) and (min-width: 621px) {
  .monitor-video { display: none; }
  .monitor-poster { display: block; }
}

/* Full-page continuation */
:root {
  --blue: #132440;
  --blue-2: #1d365c;
  --blue-soft: #e7edf3;
  --mist: #f3f6f9;
  --mist-2: #dfe7ef;
  --gold: #d6a35d;
  --gold-soft: #f5ead9;
}
.section { position: relative; padding: 118px 0; overflow: hidden; }
.section-heading { max-width: 820px; margin-bottom: 52px; }
.section-heading h2,
.demo-copy h2,
.bitrix-intro h2,
.estimate-copy h2,
.about-copy h2 {
  margin: 12px 0 18px;
  font-size: clamp(38px, 3.8vw, 62px);
  line-height: 1.08;
  letter-spacing: -2.1px;
}
.section-heading p,
.demo-copy > p,
.estimate-copy > p,
.about-copy > p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.58;
}
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--sand-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.section-kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }

.change-section { background: #fff; }
.change-thesis-inline {
  display: block;
  color: #8c6449;
}
.change-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.change-card {
  position: relative;
  min-height: 270px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.change-card > * { position: relative; z-index: 1; }
.change-card:nth-child(4n) { border-right: 0; }
.change-card:nth-child(n+5) { border-bottom: 0; }
.change-card:nth-child(2), .change-card:nth-child(7) { background: var(--mist); }
.change-grid .change-card > span {
  position: absolute;
  z-index: 0;
  right: -8px;
  bottom: -32px;
  color: rgba(19, 36, 64, .05);
  font-size: 222px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -10px;
  pointer-events: none;
}
.change-grid .change-card:nth-child(2) > span,
.change-grid .change-card:nth-child(7) > span { color: rgba(255, 255, 255, .32); }
.change-card p {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 64px 0 13px;
  padding-left: 14px;
  color: #788494;
  font-size: 16px;
  line-height: 1.35;
}
.change-card p::before {
  content: "";
  position: absolute;
  left: 0;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8c6449;
  transform: translateY(-50%);
  box-shadow: 0 0 0 4px rgba(140, 100, 73, .08);
}
.change-card p::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 13px;
  right: -6%;
  top: .72em;
  height: 1.5px;
  border-radius: 2px;
  background: rgba(140, 100, 73, .42);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .48s cubic-bezier(.22, .8, .24, 1);
  pointer-events: none;
}
.change-card:hover p::after,
.change-card:focus-within p::after { transform: scaleX(1); }
.change-card i { width: 32px; height: 1px; margin-bottom: 13px; background: var(--gold); }
.change-card strong { font-size: 21px; line-height: 1.25; font-weight: 400; }
.change-card small { margin-top: 13px; color: var(--muted); line-height: 1.45; }

@media (hover: none) {
  .change-card p::after { transform: scaleX(1); }
}

.contours-section { color: #fff; background: var(--blue); }
.contours-section::before { content: ""; position: absolute; width: 700px; height: 700px; right: -300px; top: -320px; border: 1px solid rgba(214,163,93,.16); border-radius: 50%; box-shadow: 0 0 0 80px rgba(214,163,93,.025), 0 0 0 160px rgba(214,163,93,.02); }
.section-heading-light h2 { color: #fff; }
.section-heading-light p { color: #b7c3d2; }
.section-heading-light .section-kicker { color: #edbc79; }
.business-route { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 48px; }
.route-rail { position: absolute; left: 5%; right: 5%; top: 69px; height: 1px; background: rgba(255,255,255,.24); }
.route-rail span { display: block; width: 72%; height: 1px; background: linear-gradient(90deg, var(--gold), #edbc79); }
.route-step { position: relative; min-height: 230px; padding: 0 22px; }
.route-step b { position: relative; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 33px; border: 1px solid var(--gold); border-radius: 50%; color: #fff; background: var(--blue); font-size: 12px; font-weight: 400; }
.route-step h3 { margin: 0 0 10px; font-size: 25px; font-weight: 400; }
.route-step p { margin: 0; color: #aebdce; font-size: 15px; line-height: 1.5; }
.route-control { grid-column: 1 / -1; margin-top: 18px; padding: 30px 35px; display: grid; grid-template-columns: .75fr 1.6fr 1.3fr; align-items: center; gap: 28px; border: 1px solid rgba(214,163,93,.38); border-radius: 18px; background: rgba(255,255,255,.045); }
.route-control small { color: #edbc79; letter-spacing: 1.2px; }
.route-control strong { font-size: 20px; font-weight: 400; }
.route-control div { display: flex; flex-wrap: wrap; gap: 8px; }
.route-control div span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; color: #c8d3df; font-size: 12px; }

.industries-section { background: var(--mist); }
.industry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.industry-card { min-height: 510px; padding: 34px; display: flex; flex-direction: column; border: 1px solid #d4dee7; border-radius: 22px; background: #fff; box-shadow: 0 16px 50px rgba(19,36,64,.06); }
.industry-card:nth-child(2) { transform: translateY(24px); }
.industry-top { display: flex; align-items: center; justify-content: space-between; color: var(--gold); }
.industry-top span { font-size: 42px; font-style: italic; }
.industry-top small { padding: 7px 10px; border: 1px solid var(--line); border-radius: 20px; color: #798595; letter-spacing: .8px; }
.industry-card h3 { margin: 50px 0 28px; font-size: 34px; font-weight: 400; letter-spacing: -.8px; }
.industry-card ul { margin: 0; padding: 0; list-style: none; }
.industry-card li { position: relative; padding: 15px 0 15px 25px; border-top: 1px solid var(--line); color: #4f5e71; line-height: 1.45; }
.industry-card li::before { content: ""; position: absolute; left: 2px; top: 23px; width: 7px; height: 7px; border: 1px solid var(--gold); transform: rotate(45deg); }
.industries-note { margin: 52px 0 0; text-align: center; color: var(--muted); font-size: 16px; }

.cases-section { background: #fff; }
.cases-heading-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 70px; align-items: end; }
.cases-heading-row .section-heading { margin-bottom: 50px; }
.cases-heading-row h2 > span { display: block; }
@media (min-width: 1101px) {
  .cases-heading-row h2 { width: max-content; }
  .cases-heading-row h2 > span { white-space: nowrap; }
}
.cases-layout { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.case-card { --case-position: center; --case-surface: 244,247,250; position: relative; isolation: isolate; min-height: 410px; padding: 28px; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; background: rgb(var(--case-surface)); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.case-card::before, .case-card::after { content: ""; position: absolute; inset: 0; z-index: -2; }
.case-card::before { bottom: 26%; background: var(--case-image) var(--case-position) / cover no-repeat; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.case-card::after { z-index: -1; background: linear-gradient(180deg, rgba(var(--case-surface),.96) 0%, rgba(var(--case-surface),.65) 14%, rgba(var(--case-surface),.08) 25%, rgba(var(--case-surface),.78) 42%, rgba(var(--case-surface),.97) 56%, rgb(var(--case-surface)) 74%); }
.case-featured::after { background: linear-gradient(180deg, rgba(var(--case-surface),.92), rgba(var(--case-surface),0) 18%, rgba(var(--case-surface),0) 30%, rgba(var(--case-surface),.9) 51%, rgb(var(--case-surface)) 68%); }
.case-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.42); box-shadow: 0 24px 54px rgba(19,36,64,.2); }
.case-card:hover::before { transform: scale(1.035); }
.case-card:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.case-featured { grid-column: span 2; grid-row: span 2; min-height: 576px; padding: 38px; }
.case-medium { min-height: 410px; }
.case-small { min-height: 390px; }
.case-liza { --case-image: url("cases/liza-borzaya/assets/high-jewelry-fairy-hero.jpg"); --case-position: center 35%; --case-surface: 248,247,245; }
.case-asher { --case-image: url("cases/asher-ney/assets/asher-hero.png"); --case-position: 74% center; --case-surface: 14,30,48; color: #fff; }
.case-pokrovsky { --case-image: url("cases/pokrovsky/assets/pokrovsky-hero-light-v2.png"); --case-position: 72% center; }
.case-golden { --case-image: url("cases/zolotaya-podkova/assets/client-hero-jewelry-v5.png"); --case-position: 64% center; }
.case-areal { --case-image: url("cases/areal/assets/areal-hero-scene-v3.png"); --case-position: 76% center; }
.case-meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; color: #586b80; font-size: 11px; }
.case-meta span { flex: 0 0 auto; padding: 5px 8px; border: 1px solid rgba(41,70,105,.26); border-radius: 20px; font-size: 10px; background: rgba(255,255,255,.6); backdrop-filter: blur(8px); }
.case-featured .case-meta { justify-content: space-between; }
.case-card-copy { margin-top: auto; }
.case-name { display: block; color: #f1d3af; font-size: 13px; line-height: 1.2; font-weight: 400; letter-spacing: 1.5px; text-transform: uppercase; }
.case-meta .case-name { min-width: 0; color: var(--ink); font-size: 20px; line-height: 1.12; letter-spacing: -.3px; text-transform: none; }
.case-featured .case-meta .case-name { font-size: 32px; }
.case-card h3 { max-width: 520px; margin: 10px 0 24px; font-size: 25px; line-height: 1.2; font-weight: 400; letter-spacing: -.5px; text-wrap: balance; }
.case-featured h3 { max-width: 660px; margin-top: 12px; font-size: 42px; }
.case-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: auto; }
.case-stats p { margin: 0; }
.case-stats strong { display: block; color: var(--sand-dark); font-size: 38px; font-weight: 400; }
.case-stats small { display: block; max-width: 170px; color: #586b80; line-height: 1.35; }
.case-card:not(.case-featured) h3 { margin-bottom: 18px; font-size: 23px; }
.case-card:not(.case-featured) .case-stats { gap: 16px; }
.case-card:not(.case-featured) .case-stats strong { font-size: 29px; line-height: 1; }
.case-card:not(.case-featured) .case-stats small { margin-top: 7px; font-size: 12px; line-height: 1.35; }
.case-detail { max-width: 620px; margin: 28px 0; color: #586b80; }
.case-card-link { width: 100%; margin-top: 24px; padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid rgba(41,70,105,.2); color: var(--ink); font-size: 13px; letter-spacing: 0; }
.case-featured .case-card-link { margin-top: 0; padding-top: 22px; font-size: 14px; }
.case-asher .case-meta .case-name, .case-asher .case-card-link { color: #fff; }
.case-asher .case-meta span { color: #d5e0eb; background: rgba(14,30,48,.6); border-color: rgba(255,255,255,.35); }
.case-asher .case-stats strong { color: #f1d3af; }
.case-asher .case-stats small { color: #c3ceda; }
.case-asher .case-card-link { border-color: rgba(255,255,255,.25); }
.case-card-link i { font-style: normal; transition: transform .25s ease; }
.case-card:hover .case-card-link i { transform: translate(3px,-3px); }
.cases-all-link { position: relative; width: max-content; min-height: 60px; margin: 0 0 50px; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: var(--ink); text-decoration: none; }
.cases-all-link span { position: relative; font-size: 20px; line-height: 1.25; white-space: nowrap; transition: color .3s ease; }
.cases-all-link span::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px; background: var(--sand-dark); opacity: .6; transition: opacity .3s ease; }
.cases-all-link > i { width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(135deg,#294669,#14263f); font-size: 20px; font-style: normal; transition: transform .25s ease; }
.cases-all-link:hover span { color: var(--sand-dark); }
.cases-all-link:hover span::after { opacity: 1; }
.cases-all-link:hover > i { transform: translate(3px,-3px); }
.cases-all-link:focus-visible { outline: 2px solid var(--sand-dark); outline-offset: 8px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { .cases-all-link span, .cases-all-link span::after, .cases-all-link > i { transition: none; } }

.demo-section { background: var(--blue-soft); }
.demo-shell { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.demo-copy { max-width: 700px; }
.demo-copy > strong { display: block; margin-top: 18px; color: var(--sand-dark); font-size: 18px; font-weight: 400; }
.demo-copy ol { margin: 42px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; }
.demo-copy li { padding-right: 20px; color: #536276; line-height: 1.35; }
.demo-copy li span { display: block; margin-bottom: 12px; color: var(--gold); font-size: 12px; }
.lead-form { padding: 38px; border: 1px solid rgba(19,36,64,.1); border-radius: 22px; background: #fff; box-shadow: 0 22px 70px rgba(19,36,64,.12); }
.lead-form > small { color: var(--sand-dark); letter-spacing: 1px; }
.lead-form label { display: block; margin-top: 20px; color: #667386; font-size: 13px; }
.lead-form input, .input-label input { width: 100%; height: 54px; margin-top: 7px; padding: 0 15px; border: 1px solid #d7dfe7; border-radius: 11px; color: var(--blue); outline: 0; background: #fff; }
.lead-form input:focus, .input-label input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(214,163,93,.15); }
.lead-form .btn { width: 100%; margin-top: 24px; }
.btn-accent { color: #fff; background: var(--blue); box-shadow: 0 12px 30px rgba(19,36,64,.16); }
.btn-accent:hover { background: #1d365c; }
.lead-form > p { margin: 13px 0 0; color: #8b95a3; font-size: 11px; line-height: 1.45; }

.approach-section { background: #fff; }
.approach-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.approach-grid article { min-height: 260px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.approach-grid article:nth-child(3n) { border-right: 0; }
.approach-grid article:nth-child(n+4) { border-bottom: 0; }
.approach-grid span { color: var(--gold); font-size: 12px; }
.approach-grid h3 { margin: 52px 0 13px; font-size: 24px; font-weight: 400; }
.approach-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.project-steps { margin-top: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--mist); }
.project-steps summary { padding: 23px 26px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; font-size: 17px; }
.project-steps summary::-webkit-details-marker { display: none; }
.project-steps summary .project-steps-toggle { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #b8c4d1; border-radius: 50%; }
.project-steps[open] summary .project-steps-toggle { transform: rotate(45deg); }
.steps-grid { display: grid; grid-template-columns: repeat(6, 1fr); padding: 0 26px 26px; }
.steps-grid p { margin: 0; padding: 20px 18px; border-left: 1px solid var(--line); }
.steps-grid b, .steps-grid strong, .steps-grid small { display: block; }
.steps-grid b { margin-bottom: 24px; color: var(--gold); font-size: 12px; }
.steps-grid strong { font-weight: 400; }
.steps-grid small { margin-top: 6px; color: var(--muted); line-height: 1.4; }

.bitrix-section { color: #fff; background: var(--blue); }
.bitrix-section::after { content: ""; position: absolute; z-index: 0; width: 700px; height: 700px; right: -300px; top: -320px; border: 1px solid rgba(214,163,93,.16); border-radius: 50%; box-shadow: 0 0 0 80px rgba(214,163,93,.025), 0 0 0 160px rgba(214,163,93,.02); pointer-events: none; }
.bitrix-shell { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.bitrix-intro .section-kicker { color: #edbc79; }
.bitrix-intro h2 { max-width: 650px; }
.bitrix-intro blockquote { margin: 36px 0 0; padding: 24px 0 24px 28px; border-left: 1px solid var(--gold); color: #c4cfdb; font-size: 18px; line-height: 1.55; }
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); border: 1px solid rgba(255,255,255,.18); border-radius: 20px; overflow: hidden; }
.platform-grid article { min-height: 270px; padding: 30px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.platform-grid article:nth-child(2n) { border-right: 0; }
.platform-grid article:nth-child(n+3) { border-bottom: 0; }
.platform-grid span { color: #edbc79; }
.platform-grid h3 { margin: 50px 0 12px; font-size: 24px; font-weight: 400; }
.platform-grid p { margin: 0; color: #aebdce; line-height: 1.55; }

.estimate-section { background: var(--mist); }
.estimate-shell { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.estimate-copy { max-width: 620px; }
.file-promise { margin-top: 38px; padding: 20px; display: flex; gap: 17px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.file-promise > span { width: 50px; height: 58px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: var(--blue); font-size: 12px; }
.file-promise p { margin: 4px 0 0; }
.file-promise strong, .file-promise small { display: block; }
.file-promise strong { font-weight: 400; }
.file-promise small { margin-top: 5px; color: var(--muted); }
.quiz-card { min-height: 510px; padding: 38px; border-radius: 22px; background: #fff; box-shadow: 0 22px 70px rgba(19,36,64,.11); }
.quiz-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 34px; }
.quiz-progress > span { flex: 1; height: 3px; overflow: hidden; border-radius: 3px; background: #e1e6ec; }
.quiz-progress i { display: block; width: 25%; height: 100%; background: var(--gold); transition: width .25s ease; }
.quiz-progress small { color: var(--muted); }
.quiz-step { display: none; padding: 0; border: 0; }
.quiz-step.active { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.quiz-step legend { grid-column: 1 / -1; width: 100%; margin-bottom: 22px; font-size: 28px; line-height: 1.25; }
.quiz-step > label:not(.input-label) { cursor: pointer; }
.quiz-step > label:not(.input-label) input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-step > label:not(.input-label) span { min-height: 54px; padding: 13px 15px; display: flex; align-items: center; border: 1px solid var(--line); border-radius: 11px; color: #536276; }
.quiz-step > label:not(.input-label) input:checked + span { border-color: var(--gold); color: var(--blue); background: var(--gold-soft); }
.quiz-contact.active { display: block; }
.input-label { display: block; margin-bottom: 17px; color: var(--muted); font-size: 13px; }
.quiz-contact > p { color: var(--muted); font-size: 12px; }
.quiz-actions { margin-top: 30px; display: flex; justify-content: flex-end; gap: 12px; }
.quiz-actions .btn { min-width: 170px; }
.quiz-back { padding: 0 18px; border: 0; color: var(--muted); background: transparent; cursor: pointer; }

.about-section { background: #fff; }
.about-shell { display: grid; grid-template-columns: .62fr 1.38fr; gap: 80px; align-items: center; }
.about-mark { min-height: 540px; display: grid; place-items: center; border-radius: 26px; color: #fff; background: linear-gradient(145deg, var(--blue), #294669); font-size: clamp(100px, 14vw, 220px); font-style: italic; letter-spacing: -18px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.about-copy { max-width: 760px; }
.about-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.about-facts p { margin: 0; padding-top: 18px; border-top: 1px solid var(--gold); }
.about-facts strong, .about-facts small { display: block; }
.about-facts strong { font-size: 29px; font-weight: 400; }
.about-facts small { margin-top: 6px; color: var(--muted); }
.cert-placeholder { margin-top: 32px; padding: 20px; border: 1px dashed #b8c4d1; border-radius: 13px; background: var(--mist); }
.cert-placeholder span { color: var(--sand-dark); font-size: 11px; letter-spacing: 1px; }
.cert-placeholder p { margin: 7px 0 0; color: var(--muted); font-size: 13px; }

.faq-section { background: var(--blue-soft); }
.faq-shell { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: start; }
.faq-shell .section-heading { position: sticky; top: 120px; }
.faq-list { border-top: 1px solid #bdc9d5; }
.faq-list details { border-bottom: 1px solid #bdc9d5; }
.faq-list summary { padding: 24px 0; display: flex; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 19px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex: 0 0 auto; width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid #9fadb9; border-radius: 50%; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; margin: -5px 48px 24px 0; color: var(--muted); line-height: 1.6; }

.footer { color: #fff; background: #0c192c; }
.footer-main { padding: 72px 0 58px; display: grid; grid-template-columns: 1.5fr .75fr .75fr 1fr; gap: 55px; }
.footer .brand-logo { filter: brightness(0) invert(1); }
.footer .brand-copy small { color: #9baabc; }
.footer-brand > p { max-width: 330px; margin: 24px 0; color: #94a4b8; }
.footer-socials { display: flex; gap: 10px; }
.footer-socials a { padding: 9px 12px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; color: #c2cdda; font-size: 13px; }
.footer-socials img { width: 19px; height: 19px; }
.footer-column { display: flex; flex-direction: column; gap: 13px; }
.footer-column strong { margin-bottom: 8px; color: #edbc79; font-weight: 400; }
.footer-column a { color: #aab7c7; }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; gap: 13px; }
.footer-contact > small { color: #edbc79; letter-spacing: 1px; }
.footer-phone { font-size: 25px; }
.footer-contact > a:not(.footer-phone) { color: #aab7c7; }
.footer-callback { margin-top: 10px; color: #fff; background: transparent; }
.footer-legal { min-height: 86px; padding: 22px 0; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 27px; border-top: 1px solid rgba(255,255,255,.11); color: #788a9f; font-size: 12px; }
.footer-legal a { text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 4px; }

@media (max-width: 1100px) {
  .section { padding: 94px 0; }
  .change-grid { grid-template-columns: repeat(2, 1fr); }
  .change-card:nth-child(2n) { border-right: 0; }
  .change-card:nth-child(4n) { border-right: 0; }
  .change-card:nth-child(n+5) { border-bottom: 1px solid var(--line); }
  .change-card:nth-child(n+7) { border-bottom: 0; }
  .industry-grid { grid-template-columns: 1fr; }
  .industry-card { min-height: auto; }
  .industry-card:nth-child(2) { transform: none; }
  .cases-layout { grid-template-columns: repeat(2, 1fr); }
  .case-featured { grid-row: auto; }
  .cases-heading-row { gap: 30px; }
  .cases-all-link { width: max-content; }
  .demo-shell, .bitrix-shell, .estimate-shell, .about-shell, .faq-shell { grid-template-columns: 1fr; gap: 50px; }
  .faq-shell .section-heading { position: static; }
  .about-mark { min-height: 280px; }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2, .demo-copy h2, .bitrix-intro h2, .estimate-copy h2, .about-copy h2 { font-size: 37px; letter-spacing: -1.3px; }
  .section-heading p, .demo-copy > p, .estimate-copy > p, .about-copy > p { font-size: 16px; }
  .change-grid { grid-template-columns: 1fr; border-radius: 17px; }
  .change-card, .change-card:nth-child(n) { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .change-card:last-child { border-bottom: 0; }
  .change-card p { margin-top: 30px; }
  .business-route { grid-template-columns: 1fr; padding: 0 0 0 22px; }
  .route-rail { left: 20px; right: auto; top: 22px; bottom: 225px; width: 1px; height: auto; }
  .route-rail span { width: 1px; height: 72%; }
  .route-step { min-height: 145px; padding-left: 65px; }
  .route-step b { position: absolute; left: -23px; top: 0; margin: 0; }
  .route-control { grid-column: auto; margin-left: -22px; grid-template-columns: 1fr; }
  .industry-card { padding: 26px; }
  .industry-card h3 { margin-top: 35px; font-size: 30px; }
  .cases-layout { grid-template-columns: 1fr; }
  .cases-heading-row { grid-template-columns: 1fr; gap: 0; }
  .cases-heading-row .section-heading { margin-bottom: 24px; }
  .cases-heading-row .cases-all-link { width: 100%; min-height: 60px; margin: 0 0 30px; padding: 0; }
  .case-featured { grid-column: auto; min-height: 650px; padding: 28px; }
  .case-featured .case-meta .case-name { font-size: 24px; }
  .case-featured::after { background: linear-gradient(180deg, rgba(var(--case-surface),.92), rgba(var(--case-surface),0) 15%, rgba(var(--case-surface),.94) 33%, rgb(var(--case-surface)) 49%); }
  .case-featured h3 { margin-top: 12px; font-size: 34px; }
  .case-medium, .case-small { min-height: 420px; }
  .case-card h3 { font-size: 28px; }
  .case-stats { gap: 18px; }
  .case-stats strong { font-size: 34px; }
  .demo-copy ol { grid-template-columns: 1fr; gap: 18px; }
  .demo-copy li { display: grid; grid-template-columns: 38px 1fr; }
  .lead-form, .quiz-card { padding: 25px; }
  .approach-grid, .platform-grid { grid-template-columns: 1fr; }
  .approach-grid article, .approach-grid article:nth-child(n), .platform-grid article, .platform-grid article:nth-child(n) { min-height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .approach-grid article:last-child, .platform-grid article:last-child { border-bottom: 0; }
  .steps-grid { grid-template-columns: 1fr; }
  .steps-grid p { border-left: 0; border-top: 1px solid var(--line); }
  .quiz-step.active { grid-template-columns: 1fr; }
  .about-facts { grid-template-columns: 1fr; }
  .about-mark { min-height: 220px; font-size: 120px; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
  .footer-brand, .footer-contact { grid-column: 1 / -1; }
  .footer-legal { display: grid; grid-template-columns: 1fr; padding: 28px 0; }
}

/* Full-page refinement 02 */
.section-kicker { font-size: 14px; letter-spacing: 1.5px; }
.change-section {
  background:
    linear-gradient(90deg, rgba(237,243,249,.96) 0%, rgba(243,246,249,.97) 52%, rgba(251,252,253,.98) 100%),
    url("assets/network-pattern-sparse-varied-transparent-v4.png") right center / auto 100% no-repeat;
}
.change-card > span,
.approach-grid > article > span { font-size: 17px; }

.route-rail { left: 5%; right: 0; }
.route-rail span { width: 100%; }
.route-step b { width: 54px; height: 54px; margin-top: -5px; font-size: 15px; }
.route-control small { color: #fff; font-size: 20px; line-height: 1.3; letter-spacing: 0; text-transform: none; }

.industries-note {
  max-width: 850px;
  margin: 58px auto 0;
  color: #556579;
  font-size: 19px;
  line-height: 1.58;
}

.demo-section::before,
.faq-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background: url("assets/network-pattern-sparse-varied-transparent-v4.png") right center / auto 100% no-repeat;
}
.demo-shell, .faq-shell { position: relative; z-index: 1; }
.demo-shell { grid-template-columns: minmax(0, 1.22fr) minmax(430px, .78fr); }
.demo-copy { max-width: 850px; }
.demo-copy h2 { max-width: 820px; }
.demo-copy > strong {
  margin-top: 28px;
  padding: 15px 18px;
  display: inline-block;
  border-left: 3px solid var(--gold);
  color: var(--blue);
  background: rgba(255,255,255,.58);
  font-size: 22px;
  font-weight: 700;
}
.demo-copy ol { display: none; }
.demo-form { position: relative; }
.demo-form::before {
  content: "ВЫБЕРИТЕ УДОБНОЕ ВРЕМЯ";
  display: block;
  margin-bottom: 6px;
  color: var(--sand-dark);
  font-size: 12px;
  letter-spacing: 1px;
}
.lead-form input[type="datetime-local"] { color-scheme: light; cursor: pointer; }

.approach-section {
  background:
    linear-gradient(135deg, #fff 0%, #fff 55%, #f4f7fa 100%);
}
.approach-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.approach-grid article,
.approach-grid article:nth-child(n) {
  position: relative;
  min-height: 280px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(19,36,64,.045);
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, color .28s ease;
}
.approach-grid article::before {
  content: "";
  position: absolute;
  inset: 100% -30% -80% 55%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(214,163,93,.24), rgba(231,237,243,.7) 54%, transparent 70%);
  transition: inset .5s cubic-bezier(.2,.7,.2,1), opacity .3s ease;
  opacity: .2;
}
.approach-grid article:hover {
  z-index: 2;
  transform: translateY(-6px);
  border-color: rgba(214,163,93,.65);
  box-shadow: 0 24px 55px rgba(19,36,64,.11);
}
.approach-grid article:hover::before { inset: -45% -20% -45% 22%; opacity: 1; }
.approach-grid article > * { position: relative; z-index: 1; }
.approach-grid h3 { margin-top: 60px; font-size: 27px; }
.approach-grid p { font-size: 16px; }

.estimate-copy { max-width: 700px; }
.estimate-copy h2 { max-width: 650px; font-size: clamp(42px, 3.3vw, 58px); }

.about-section { background: linear-gradient(180deg, #fff, #f5f7fa); }
.about-shell { grid-template-columns: .82fr 1.18fr; gap: 66px; }
.about-identity {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  border-radius: 26px;
  background:
    linear-gradient(155deg, rgba(19,36,64,.98), rgba(31,61,96,.9)),
    url("assets/network-pattern-sparse-varied-transparent-v4.png") center / cover;
}
.about-identity > span {
  position: absolute;
  z-index: 1;
  left: 30px;
  top: 30px;
  max-width: 390px;
  color: rgba(255,255,255,.92);
  font-size: clamp(54px, 6vw, 92px);
  line-height: .86;
  letter-spacing: -4px;
}
.about-founder {
  position: absolute;
  z-index: 2;
  right: -8%;
  bottom: -6%;
  width: 78%;
  height: 78%;
  object-fit: contain;
  object-position: right bottom;
  filter: drop-shadow(0 20px 35px rgba(0,0,0,.25));
  -webkit-mask-image: linear-gradient(to bottom, #000 0 76%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0 76%, transparent 100%);
}
.about-logo {
  position: absolute;
  z-index: 3;
  left: 30px;
  bottom: 28px;
  width: 86px;
  filter: brightness(0) invert(1);
}
.about-copy { max-width: 850px; }
.about-copy h2 { max-width: 780px; }
.about-facts { margin-top: 38px; }
.certificates { margin-top: 34px; display: grid; grid-template-columns: 1.12fr .88fr; gap: 14px; }
.certificate-main,
.certificate-stack a {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.certificate-main { min-height: 250px; display: grid; grid-template-columns: 46% 54%; }
.certificate-main img { width: 100%; height: 100%; padding: 8px; object-fit: contain; object-position: center; background: #fff; }
.certificate-main > span { padding: 22px; display: flex; flex-direction: column; justify-content: flex-end; }
.certificate-main small { color: var(--sand-dark); letter-spacing: .8px; }
.certificate-main strong { margin-top: 9px; font-size: 22px; line-height: 1.25; font-weight: 400; }
.certificate-stack { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.certificate-stack a { min-width: 0; display: flex; flex-direction: column; }
.certificate-stack img { width: 100%; height: 190px; object-fit: cover; object-position: top; }
.certificate-stack span { padding: 10px 8px; color: #556579; font-size: 11px; line-height: 1.25; }

.faq-section::before { opacity: .18; }

.footer .brand-logo {
  filter: brightness(0) saturate(100%) invert(58%) sepia(37%) saturate(718%) hue-rotate(357deg) brightness(92%) contrast(85%);
}
.footer .brand-copy strong,
.footer .brand-copy small { color: var(--gold); }
.footer-phone { font-size: 20px; }

@media (min-width: 1500px) {
  .demo-copy h2 { font-size: 62px; }
  .estimate-copy h2 { font-size: 58px; }
}

@media (max-width: 1100px) {
  .demo-shell { grid-template-columns: 1fr; }
  .about-shell { grid-template-columns: 1fr; }
  .about-identity { min-height: 480px; }
  .certificates { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .section-kicker { font-size: 12px; }
  .route-step b { width: 48px; height: 48px; left: -25px; }
  .route-control small { font-size: 18px; }
  .industries-note { font-size: 16px; text-align: left; }
  .demo-copy > strong { font-size: 18px; }
  .approach-grid { grid-template-columns: 1fr; }
  .approach-grid article,
  .approach-grid article:nth-child(n) { min-height: 240px; }
  .about-identity { min-height: 430px; }
  .about-identity > span { font-size: 56px; }
  .about-founder { width: 92%; height: 78%; }
  .certificates { grid-template-columns: 1fr; }
  .certificate-main { min-height: 220px; }
  .certificate-stack { grid-template-columns: repeat(3, 1fr); }
  .certificate-stack img { height: 130px; }
}

/* Full-page refinement 03 */
.change-section {
  isolation: isolate;
  background: #fff;
}
.change-section::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 210px;
  pointer-events: none;
  opacity: .22;
  background: url("assets/network-pattern-sparse-varied-transparent-v4.png") right top / auto 430px no-repeat;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 38%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.55) 38%, transparent 100%);
}

.route-rail span {
  width: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, #edbc79 67%, #fff 82%, rgba(255,255,255,.24) 100%);
}
.route-control small,
.route-control strong {
  font-size: 17px;
  line-height: 1.35;
}
.route-control small { color: var(--gold); }

.industries-note { margin-top: 74px; }

.demo-copy > strong {
  padding: 5px 0 5px 18px;
  background: transparent;
}
.demo-proof-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.demo-proof .demo-proof-text {
  display: inline-block;
  min-height: 1.3em;
}
.demo-proof.is-typing .demo-proof-text::after {
  content: "";
  display: inline-block;
  height: .9em;
  margin-left: 2px;
  border-right: 1px solid currentColor;
  vertical-align: -.05em;
  animation: demo-proof-caret .65s steps(1, end) infinite;
}
@keyframes demo-proof-caret {
  50% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-proof .demo-proof-text::after { display: none; }
}
.demo-form::before { display: none; content: none; }

.approach-grid article,
.approach-grid article:nth-child(n) {
  isolation: isolate;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.approach-grid article::before {
  inset: 0 28px auto;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--gold);
  opacity: 1;
  transition: width .28s ease;
}
.approach-grid article::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(145deg, rgba(237,188,121,.92), rgba(214,163,93,.76));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .34s cubic-bezier(.2,.7,.2,1);
}
.approach-grid article:hover {
  transform: translateY(-3px);
  border-color: var(--sand);
  box-shadow: 0 15px 35px rgba(135,90,39,.16);
}
.approach-grid article:hover::before { inset: 0 28px auto; opacity: 1; }
.approach-grid article:hover::after { transform: scaleY(1); }
.approach-grid article:hover p { color: rgba(19,36,64,.78); }

.about-section { background: linear-gradient(180deg, #fff, #f5f7fa); }
.about-shell { display: block; }
.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, .72fr);
  gap: 54px;
  align-items: stretch;
}
.about-copy {
  max-width: none;
  padding: 8px 0 4px;
  display: flex;
  flex-direction: column;
}
.about-brand {
  margin-left: -14px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.about-brand-mark {
  display: block;
  width: 68px;
  aspect-ratio: 1;
  flex-shrink: 0;
  background-color: var(--sand-dark);
  -webkit-mask: url("assets/as-evolution-logo.png") center / contain no-repeat;
  mask: url("assets/as-evolution-logo.png") center / contain no-repeat;
}
.about-brand strong {
  color: var(--sand-dark);
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 1.5px;
}
.about-copy h2 {
  max-width: none;
  margin: 54px 0 24px;
  font-size: clamp(46px, 3.55vw, 64px);
  line-height: 1.04;
  letter-spacing: -2px;
  font-weight: 400;
}
.about-copy h2 span { white-space: nowrap; }
.about-founder-caption {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 0 0 34px;
  color: var(--sand-dark);
  font-size: 19px;
  line-height: 1.35;
}
.about-founder-caption strong {
  color: var(--sand-dark);
  font-size: 22px;
  font-weight: 400;
}
.about-founder-caption span { font-size: 22px; }
.about-facts {
  margin-top: auto;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about-facts strong { font-size: 31px; }
.about-facts small { font-size: 17px; }
.about-photo {
  justify-self: end;
  width: min(100%, 456px);
  height: 490px;
  aspect-ratio: 916 / 986;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #dfe7ee;
}
.about-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}
.about-certificates {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.about-certificate {
  min-width: 0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}
.about-certificate:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(19,36,64,.11); }
.about-certificate img { max-width: 100%; max-height: 100%; display: block; object-fit: contain; }
.about-certificate-main { height: 420px; padding: 18px; }
.about-certificate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 201px);
  gap: 18px;
}
.about-certificate-grid .about-certificate { padding: 10px 18px; }

.certificate-preview {
  margin: auto;
  padding: 0;
  width: fit-content;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  outline: none;
}
.certificate-preview::backdrop { background: rgba(19,36,64,.76); }
html:has(.certificate-preview[open]) { overflow: hidden; }
.certificate-preview-image { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 48px); object-fit: contain; margin: 0 auto; }

.footer-brand > p { max-width: 390px; white-space: nowrap; }
.footer-contact address { color: #aab7c7; font-style: normal; line-height: 1.45; }

@media (prefers-reduced-motion: reduce) {
  .phone-video { display: none; }
  .phone-poster { display: block; }
}

@media (max-width: 1100px) {
  .about-intro { grid-template-columns: 1fr; gap: 34px; }
  .about-photo { width: min(100%, 456px); height: auto; min-height: 0; justify-self: center; }
  .about-certificates { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .route-control small, .route-control strong { font-size: 16px; }
  .industries-note { margin-top: 64px; }
  .about-brand-mark { width: 52px; }
  .about-brand strong { font-size: 29px; }
  .about-copy h2 { margin: 34px 0; font-size: 38px; letter-spacing: -1px; }
  .about-founder-caption { margin: -14px 0 30px; font-size: 17px; }
  .about-founder-caption strong { font-size: 20px; }
  .about-copy h2 br { display: none; }
  .about-copy h2 span { white-space: normal; }
  .about-facts { grid-template-columns: 1fr; gap: 12px; }
  .about-photo { width: min(100%, 430px); height: auto; min-height: 0; }
  .about-certificates { margin-top: 20px; }
  .about-certificate-main { height: auto; aspect-ratio: 1.414 / 1; }
  .about-certificate-grid { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 225px); gap: 10px; }
  .about-certificate-grid .about-certificate { padding: 8px; }
  .footer-brand > p { white-space: normal; }
}

/* Full-page refinement 04 */
.hero::before {
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 43%, rgba(0,0,0,.72) 52%, rgba(0,0,0,.22) 63%, transparent 75%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 43%, rgba(0,0,0,.72) 52%, rgba(0,0,0,.22) 63%, transparent 75%);
}
.change-section::before { display: none; }

.route-step b {
  width: 60px;
  height: 60px;
  margin-top: -8px;
  font-size: 17px;
}
.industries-note { margin-top: 92px; }

.approach-grid article,
.approach-grid article:nth-child(n) {
  border-top: 3px solid var(--sand);
}
.approach-grid article::before { content: none; display: none; }
.approach-grid article::after {
  background: var(--mist);
  transform: scaleY(0);
  transform-origin: top;
}
.approach-grid article:hover {
  border-color: rgba(135,90,39,.36);
  border-top-color: var(--sand);
  box-shadow: 0 15px 35px rgba(19,36,64,.1);
}
.approach-grid article:hover::after { transform: scaleY(1); }

.approach-grid article,
.approach-grid article:nth-child(n) {
  min-height: 235px;
  padding: 25px 30px;
}
.approach-grid > article > span {
  color: var(--gold);
  font-size: 42px;
  font-style: italic;
  line-height: 1;
}
.approach-grid h3 {
  margin-top: 30px;
}
.approach-section .section-heading {
  max-width: 1220px;
}
.approach-section .section-heading > p {
  max-width: 760px;
}
.approach-grid {
  grid-auto-rows: 1fr;
}
.approach-grid article,
.approach-grid article:nth-child(n) {
  height: 100%;
  min-height: 255px;
  padding-bottom: 45px;
  border-top: 3px solid var(--sand);
}
.approach-grid article::before {
  content: none;
  display: none;
}
.approach-grid > article > span {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .65s ease, transform .65s cubic-bezier(.25,.7,.25,1);
}
.approach-grid.steps-animated > article > span { opacity: 1; transform: translateY(0); }
.approach-grid > article:nth-child(2) > span { transition-delay: .35s; }
.approach-grid > article:nth-child(3) > span { transition-delay: .7s; }
.approach-grid > article:nth-child(4) > span { transition-delay: 1.05s; }
.approach-grid > article:nth-child(5) > span { transition-delay: 1.4s; }
.approach-grid > article:nth-child(6) > span { transition-delay: 1.75s; }
.approach-grid article::after {
  content: none;
  display: none;
}
.approach-grid article:hover {
  transform: translateY(-3px);
}
.approach-grid article:hover::after {
  transform: none;
}
.project-steps summary {
  color: var(--blue);
  font-size: 17px;
}
.project-steps summary .project-steps-toggle {
  flex: 0 0 30px;
  font-size: 20px;
  line-height: 1;
}
.steps-grid b {
  font-size: 14px;
}
.project-steps {
  border-color: var(--line);
  background: var(--mist);
}
.project-steps-accessible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.project-steps-title {
  min-height: 1.35em;
  padding: 5px 0 5px 18px;
  border-left: 3px solid var(--gold);
}
.project-steps.is-typing .project-steps-title::after {
  content: "";
  display: inline-block;
  height: .9em;
  margin-left: 2px;
  border-right: 1px solid currentColor;
  vertical-align: -.05em;
  animation: demo-proof-caret .65s steps(1, end) infinite;
}

.footer-brand > .brand { margin-left: -14px; }
.footer-brand > p { white-space: normal; }

@media (max-width: 760px) {
  .approach-grid article,
  .approach-grid article:nth-child(n) {
    min-height: 230px;
    padding-bottom: 38px;
  }
  .approach-section .section-heading {
    max-width: none;
  }
  .project-steps summary { font-size: 17px; }
  .route-step b {
    width: 54px;
    height: 54px;
    left: -28px;
    font-size: 15px;
  }
  .industries-note { margin-top: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  .approach-grid > article > span {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Business route: progressive data-flow reveal */
.business-route .route-rail { display: none; }
.business-route .route-step::after,
.business-route .route-step::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 82px;
  right: -22px;
  top: 22px;
  height: 1px;
  pointer-events: none;
}
.business-route .route-step::after {
  background: rgba(255,255,255,.24);
}
.business-route .route-step::before {
  background: linear-gradient(90deg, var(--gold), #edbc79);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .796s cubic-bezier(.32, .72, .22, 1);
}
.business-route .route-step:nth-of-type(5)::before,
.business-route .route-step:nth-of-type(5)::after { right: 0; }
.business-route .route-step:nth-of-type(5)::before {
  background: linear-gradient(90deg, #edbc79, rgba(255,255,255,.24));
}
.business-route.route-animated .route-step::before { transform: scaleX(1); }
.business-route .route-step b {
  overflow: visible;
  border-color: rgba(255,255,255,.44);
  color: #fff;
  background: transparent;
}
.business-route .route-step b::after {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid #edbc79;
  border-radius: 50%;
  clip-path: circle(0 at 0 50%);
  transition: clip-path .725s cubic-bezier(.3, .72, .2, 1);
  pointer-events: none;
}
.business-route.route-animated .route-step b::after { clip-path: circle(150% at 0 50%); }

.business-route .route-step:nth-of-type(1) b::after { transition-delay: 0s; }
.business-route .route-step:nth-of-type(1)::before { transition-delay: .679s; }
.business-route .route-step:nth-of-type(2) b::after { transition-delay: 1.381s; }
.business-route .route-step:nth-of-type(2)::before { transition-delay: 2.059s; }
.business-route .route-step:nth-of-type(3) b::after { transition-delay: 2.761s; }
.business-route .route-step:nth-of-type(3)::before { transition-delay: 3.44s; }
.business-route .route-step:nth-of-type(4) b::after { transition-delay: 4.142s; }
.business-route .route-step:nth-of-type(4)::before { transition-delay: 4.82s; }
.business-route .route-step:nth-of-type(5) b::after { transition-delay: 5.522s; }
.business-route .route-step:nth-of-type(5)::before { transition-delay: 6.201s; }

.route-control div span {
  transition:
    color .24s ease,
    border-color .24s ease,
    background-color .24s ease;
}
.route-control div span:hover {
  color: #fff;
  border-color: #8c6449;
  background-color: #8c6449;
  transform: none;
}

.industry-card li:hover::before {
  background: var(--gold);
}
.industry-top small {
  transition:
    color .24s ease,
    border-color .24s ease,
    background-color .24s ease;
}
.industry-card:hover .industry-top small {
  color: var(--blue);
  border-color: #d6e0e9;
  background-color: #edf2f6;
}

.change-card p { margin-top: 38px; }
.change-card strong {
  margin: auto -10px -10px;
  padding: 17px 14px;
  border-radius: 12px;
  background: rgba(223, 231, 239, .48);
  transition: background-color .28s ease;
}
.change-card:hover strong { background: rgba(213, 224, 234, .8); }

.change-schemes .change-card p { margin-top: 70px; }
.change-schemes .change-card strong {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.change-schemes .change-card:hover strong { background: transparent; }
.change-schemes .change-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: 24px;
  top: 24px;
  width: 82px;
  height: 48px;
  opacity: .48;
  background:
    radial-gradient(circle at 8px 24px, transparent 0 4px, #8c6449 4.5px 5.5px, transparent 6px),
    radial-gradient(circle at 41px 10px, transparent 0 4px, #8c6449 4.5px 5.5px, transparent 6px),
    radial-gradient(circle at 74px 24px, transparent 0 4px, #8c6449 4.5px 5.5px, transparent 6px),
    linear-gradient(157deg, transparent 47%, #8c6449 48% 49%, transparent 50%) 10px 7px / 33px 30px no-repeat,
    linear-gradient(23deg, transparent 47%, #8c6449 48% 49%, transparent 50%) 40px 7px / 33px 30px no-repeat;
}
.change-schemes .change-card:nth-child(2n)::before {
  background:
    radial-gradient(circle at 8px 24px, #8c6449 0 2px, transparent 2.5px),
    radial-gradient(circle at 29px 24px, #8c6449 0 2px, transparent 2.5px),
    radial-gradient(circle at 50px 24px, #8c6449 0 2px, transparent 2.5px),
    radial-gradient(circle at 74px 24px, #8c6449 0 5px, transparent 5.5px),
    linear-gradient(#8c6449, #8c6449) center / 66px 1px no-repeat;
}
.change-schemes .change-card:nth-child(3n)::before {
  background:
    linear-gradient(90deg, transparent 0 12%, #8c6449 12% 13%, transparent 13% 44%, #8c6449 44% 45%, transparent 45% 78%, #8c6449 78% 79%, transparent 79%),
    linear-gradient(#8c6449, #8c6449) center / 68px 1px no-repeat,
    radial-gradient(circle at 11px 24px, transparent 0 5px, #8c6449 5.5px 6.5px, transparent 7px),
    radial-gradient(circle at 41px 24px, transparent 0 5px, #8c6449 5.5px 6.5px, transparent 7px),
    radial-gradient(circle at 72px 24px, #8c6449 0 5px, transparent 5.5px);
}
.change-schemes .change-card:nth-child(4)::before {
  background:
    linear-gradient(to top, #8c6449 0 30%, transparent 31%) 7px 22px / 7px 24px no-repeat,
    linear-gradient(to top, #8c6449 0 58%, transparent 59%) 24px 10px / 7px 36px no-repeat,
    linear-gradient(to top, #8c6449 0 42%, transparent 43%) 41px 16px / 7px 30px no-repeat,
    linear-gradient(to top, #8c6449 0 78%, transparent 79%) 58px 4px / 7px 42px no-repeat,
    linear-gradient(#8c6449, #8c6449) center bottom 2px / 72px 1px no-repeat;
}
.change-schemes .change-card:nth-child(5)::before {
  top: 18px;
  width: 94.3px;
  height: 55.2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 82 48'%3E%3Cg stroke='%238c6449' stroke-width='1' stroke-linecap='round'%3E%3Cpath d='M16.3 27.2L24.4 23.3M29.7 23L41 23.7M49.2 21.3L62.4 11.6M49.2 25.3L62.4 34.7M44.7 28.4L41.5 39.1' fill='none'/%3E%3Ccircle cx='14.2' cy='28.2' r='2.3' fill='%238c6449'/%3E%3Ccircle cx='27' cy='22.1' r='2.7' fill='none'/%3E%3Ccircle cx='65.1' cy='9.8' r='2.7' fill='none'/%3E%3Ccircle cx='65.1' cy='36.4' r='2.7' fill='%238c6449'/%3E%3Ccircle cx='41' cy='41.3' r='2.3' fill='none'/%3E%3C/g%3E%3Ccircle cx='45.6' cy='24' r='4.6' fill='%238c6449'/%3E%3C/svg%3E") center / contain no-repeat;
}
.change-schemes .change-card:nth-child(6)::before {
  background:
    radial-gradient(circle at 8px 24px, transparent 0 4px, #8c6449 4.5px 5.5px, transparent 6px),
    radial-gradient(circle at 38px 24px, #8c6449 0 4px, transparent 4.5px),
    radial-gradient(circle at 74px 8px, transparent 0 4px, #8c6449 4.5px 5.5px, transparent 6px),
    radial-gradient(circle at 74px 24px, #8c6449 0 4px, transparent 4.5px),
    radial-gradient(circle at 74px 40px, transparent 0 4px, #8c6449 4.5px 5.5px, transparent 6px),
    linear-gradient(#8c6449, #8c6449) 13px 23.5px / 21px 1px no-repeat,
    linear-gradient(-25deg, transparent 48%, #8c6449 48.7% 49.5%, transparent 50%) 41px 7px / 29px 17px no-repeat,
    linear-gradient(#8c6449, #8c6449) 42px 23.5px / 28px 1px no-repeat,
    linear-gradient(25deg, transparent 48%, #8c6449 48.7% 49.5%, transparent 50%) 41px 24px / 29px 17px no-repeat;
}
.change-schemes .change-card:nth-child(7)::before {
  background:
    radial-gradient(circle at 7px 37px, #8c6449 0 4px, transparent 4.5px),
    radial-gradient(circle at 28px 15px, transparent 0 4px, #8c6449 4.5px 5.5px, transparent 6px),
    radial-gradient(circle at 52px 33px, transparent 0 4px, #8c6449 4.5px 5.5px, transparent 6px),
    radial-gradient(circle at 76px 9px, #8c6449 0 4px, transparent 4.5px),
    linear-gradient(134deg, transparent 47%, #8c6449 48% 49%, transparent 50%) 7px 14px / 22px 24px no-repeat,
    linear-gradient(38deg, transparent 47%, #8c6449 48% 49%, transparent 50%) 28px 14px / 25px 20px no-repeat,
    linear-gradient(133deg, transparent 47%, #8c6449 48% 49%, transparent 50%) 51px 8px / 26px 26px no-repeat;
}
.change-schemes .change-card:nth-child(8)::before {
  background:
    radial-gradient(circle at 8px 15px, transparent 0 4px, #8c6449 4.5px 5.5px, transparent 6px),
    radial-gradient(circle at 74px 15px, #8c6449 0 4px, transparent 4.5px),
    radial-gradient(circle at 8px 36px, #8c6449 0 4px, transparent 4.5px),
    radial-gradient(circle at 74px 36px, transparent 0 4px, #8c6449 4.5px 5.5px, transparent 6px),
    linear-gradient(#8c6449, #8c6449) center 15px / 58px 1px no-repeat,
    linear-gradient(#8c6449, #8c6449) center 36px / 58px 1px no-repeat,
    linear-gradient(40deg, transparent 43%, #8c6449 44% 51%, transparent 52%) 63px 9px / 10px 12px no-repeat,
    linear-gradient(220deg, transparent 43%, #8c6449 44% 51%, transparent 52%) 9px 30px / 10px 12px no-repeat;
}

.industries-note {
  position: relative;
  max-width: 940px;
  margin: 124px auto 0;
  padding: 38px 36px 0;
  overflow: visible;
  color: #43546a;
  background: transparent;
  box-shadow: none;
  font-size: 20px;
  line-height: 1.55;
}
.industries-note strong {
  color: var(--sand-dark);
  font-weight: 400;
}
.industries-note::before,
.industries-note::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.industries-note::before {
  left: 50%;
  top: 0;
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  background: var(--gold);
  transform: translateX(-50%) rotate(45deg) scale(0);
  transition: transform .43s cubic-bezier(.25, .72, .2, 1);
}
.industries-note::after {
  left: 14%;
  right: 14%;
  top: 4px;
  height: 3px;
  background:
    linear-gradient(to right, transparent 0%, rgba(214,163,93,.42) 14%, var(--gold) 100%) left center / calc(50% - 14px) 100% no-repeat,
    linear-gradient(to left, transparent 0%, rgba(214,163,93,.42) 14%, var(--gold) 100%) right center / calc(50% - 14px) 100% no-repeat;
  clip-path: polygon(0 43%, 50% 0, 100% 43%, 100% 57%, 50% 100%, 0 57%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.03s .31s cubic-bezier(.25, .72, .2, 1);
}
.industries-note.note-animated::before { transform: translateX(-50%) rotate(45deg) scale(1); }
.industries-note.note-animated::after { transform: scaleX(1); }

@media (max-width: 760px) {
  .business-route .route-step::after,
  .business-route .route-step::before {
    left: -1px;
    right: auto;
    top: 54px;
    bottom: -1px;
    width: 1px;
    height: auto;
  }
  .business-route .route-step::before {
    transform: scaleY(0);
    transform-origin: center top;
  }
  .business-route.route-animated .route-step::before { transform: scaleY(1); }
  .industries-note {
    margin-top: 88px;
    padding: 38px 10px 0;
    text-align: center;
    font-size: 17px;
  }
  .industries-note::after { left: 4%; right: 4%; }
}

@media (prefers-reduced-motion: reduce) {
  .business-route .route-step::before,
  .business-route .route-step b::after,
  .route-control div span {
    transition: none;
  }
  .industries-note::before,
  .industries-note::after { transition: none; }
}

/* Estimate section refinement */
.bitrix-intro h2 .gold-text { color: #edbc79; }

.estimate-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .18;
  background: url("assets/network-pattern-sparse-varied-transparent-v4.png") right center / auto 100% no-repeat;
}
.estimate-shell {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1.02fr) minmax(500px, .98fr);
  gap: 64px;
}
.estimate-copy { max-width: 720px; }
.estimate-copy h2 { max-width: 720px; }
.file-promise > span {
  border: 0;
  background: var(--blue);
  box-shadow: none;
}
.quiz-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.quiz-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  right: -5%;
  bottom: -5%;
  width: 72%;
  height: 72%;
  pointer-events: none;
  opacity: .2;
  background: url("assets/network-pattern-sparse-varied-transparent-v4.png") center / cover no-repeat;
  mask-image: linear-gradient(135deg, transparent 4%, #000 48%, #000 100%);
}
.quiz-card > * { position: relative; z-index: 1; }
.quiz-consent {
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}
.quiz-consent[hidden] { display: none; }
.quiz-consent:not([hidden]) + .quiz-actions { margin-top: 0; }
.quiz-consent input {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--gold);
}
.quiz-consent a { color: var(--sand-dark); }
.quiz-actions { margin-top: auto; padding-top: 30px; }
.quiz-next.btn-primary:hover {
  background: linear-gradient(135deg, #1d365c, var(--orange));
}
.hero-buttons .btn,
.btn.home-capture-rounded,
.modal-card .btn-primary {
  border-radius: 14px;
}
.modal-card h2 { margin-top: 0; }
.btn-primary,
.hero-buttons .btn-primary,
.modal-card .btn-primary {
  background: #1d365c;
}
.btn-primary:hover,
.hero-buttons .btn-primary:hover,
.modal-card .btn-primary:hover,
.quiz-next.btn-primary:hover {
  background: #183052;
}
.header .callback-btn,
.footer .callback-btn {
  border-color: rgba(135,90,39,.82);
  border-radius: 14px;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}
.footer .callback-btn { color: #fff; }
.header .callback-btn:hover,
.footer .callback-btn:hover {
  border-color: #1d365c;
  color: #fff;
  background: #1d365c;
  box-shadow: 0 14px 30px rgba(19,36,64,.26);
  transform: translateY(-2px);
}
.footer .callback-btn:hover {
  border-color: var(--sand);
  color: var(--ink);
  background: var(--sand);
  box-shadow: 0 14px 30px rgba(135,90,39,.24);
}
.file-promise > span { background: #1d365c; }
.demo-section .btn-accent,
.demo-section .btn-accent:hover { background: #1d365c; }
.case-dark { background: #1d365c; }
.footer-socials { margin-top: 67px; }
.footer-to-top {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: rgba(237,188,121,.58);
  transition: color .2s ease, transform .2s ease;
}
.footer-to-top span {
  width: 18px;
  height: 18px;
  border-top: 1.5px solid currentColor;
  border-left: 1.5px solid currentColor;
  transform: translateY(4px) rotate(45deg);
}
.footer-to-top:hover {
  color: var(--gold);
  transform: translateY(-2px);
}

.attention-shine {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.attention-shine::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: -55%;
  bottom: -55%;
  left: -38%;
  width: 22%;
  pointer-events: none;
  opacity: .72;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  transform: translateX(-180%) skewX(-18deg);
  animation: button-shine 4.1s ease-in-out 1.2s infinite;
}
@keyframes button-shine {
  0% { transform: translateX(-180%) skewX(-18deg); }
  27%, 100% { transform: translateX(720%) skewX(-18deg); }
}
.quiz-next.attention-shine::after {
  animation-duration: 4.4s;
}
.demo-section .attention-shine::after {
  animation-duration: 4.4s;
}

@media (max-width: 1100px) {
  .estimate-shell { grid-template-columns: 1fr; gap: 50px; }
  .estimate-copy,
  .estimate-copy h2 { max-width: 780px; }
}
@media (prefers-reduced-motion: reduce) {
  .attention-shine::after { animation: none; display: none; }
}

/* Legal pages, consent controls and cookie preferences — 01.08.2026 */
.legal-consent { display: grid !important; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; color: var(--ink) !important; font-size: 12px !important; font-weight: 400 !important; line-height: 1.4; }
.legal-consent input { width: 17px !important; height: 17px !important; min-height: 0 !important; margin: 1px 0 0 !important; accent-color: var(--sand-dark); cursor: pointer; }
.legal-consent a, .form-policy-link { color: var(--sand-dark); text-decoration: underline; text-underline-offset: 2px; }
.form-policy-link { display: block; width: fit-content; margin: -8px 0 0 27px; font-size: 11px; }
.quiz-policy-link { margin: 5px 0 8px 27px; }
.legal-consent[hidden], .form-policy-link[hidden] { display: none !important; }
@keyframes legal-consent-shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-5px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(3px); } }
.consent-shake { animation: legal-consent-shake .42s ease; }
.footer-documents .cookie-settings-link { padding: 0; color: #aab7c7; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; text-decoration: underline; text-decoration-color: rgba(255,255,255,.2); text-underline-offset: 3px; }
.cookie-panel { position: fixed; z-index: 120; right: 20px; bottom: 20px; width: min(640px, calc(100% - 40px)); padding: 18px 20px; display: flex; align-items: center; gap: 22px; border: 1px solid rgba(19,36,64,.16); border-radius: 15px; background: rgba(255,255,255,.97); box-shadow: 0 18px 55px rgba(15,28,50,.2); backdrop-filter: blur(15px); }
.cookie-panel[hidden] { display: none; }
.cookie-panel p { flex: 1; margin: 0; font-size: 12px; line-height: 1.45; }
.cookie-panel p a { color: var(--sand-dark); text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; white-space: nowrap; }
.cookie-actions button { min-height: 38px; padding: 0 13px; border: 1px solid #294669; border-radius: 9px; cursor: pointer; font: inherit; font-size: 12px; }
.cookie-accept { color: #fff; background: #294669; }
.cookie-essential { color: #294669; background: #fff; }

@media (max-width: 620px) {
  .cookie-panel { right: 12px; bottom: 12px; width: calc(100% - 24px); align-items: stretch; flex-direction: column; gap: 13px; }
  .cookie-actions { display: grid; grid-template-columns: 1fr 1fr; }
}

/* Approved lighter blue controls and footer document layout — 01.08.2026 */
.hero-buttons .btn-primary,
.demo-section .btn-accent,
.quiz-card .btn-primary,
.file-promise > span,
.case-dark { background: #294669; }
.hero-buttons .btn-primary:hover,
.demo-section .btn-accent:hover,
.quiz-card .btn-primary:hover { background: #34567d; }

.demo-form .form-policy-link { margin: 8px 0 0 27px; }

.messenger.whatsapp { color: #168c4e; font-size: 9px; font-weight: 700; }
.footer-socials .whatsapp-mark {
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  border: 1px solid #168c4e;
  border-radius: 50%;
  color: #34b66e;
  font-size: 7px;
  font-weight: 700;
  line-height: 1;
}
.footer-documents { min-width: 0; }
.footer-documents a,
.footer-documents .cookie-settings-link { font-size: 12px; line-height: 1.35; }
.footer-legal { flex-wrap: nowrap; }

@media (min-width: 1101px) {
  .footer-main { grid-template-columns: 1.25fr .62fr .62fr 1.12fr .92fr; gap: 36px; }
  .footer-main > .footer-column { transform: translateX(-36px); }
  .footer-documents { width: calc(100% + 48px); }
  .footer-main > .footer-documents { transform: translateX(-54px); }
  .footer-documents a,
  .footer-documents .cookie-settings-link { white-space: nowrap; }
}

@media (max-width: 760px) {
  .footer-legal { display: flex; padding: 22px 0; }
}

/* Form typography and footer alignment approved on 01.08.2026 */
.modal-card label {
  color: #788699;
  font-size: 12px;
  font-weight: 400;
}
.modal-card input,
.lead-form input,
.input-label input {
  color: rgba(19,36,64,.64);
  font-family: inherit;
  font-weight: 400;
}
.modal-card input::placeholder,
.lead-form input::placeholder,
.input-label input::placeholder {
  color: rgba(100,114,134,.68);
  font-weight: 400;
  opacity: 1;
}
.lead-form input[type="datetime-local"]::-webkit-datetime-edit {
  color: rgba(100,114,134,.68);
  font-weight: 400;
}

.footer-brand > .brand {
  margin-left: -5px;
  gap: 7px;
  transform: translateY(-8px);
}
.footer-brand > .brand .brand-logo { transform: translate(0, 4px); }
.footer-socials a {
  width: 39px;
  height: 39px;
  padding: 0;
  justify-content: center;
  gap: 0;
  font-size: 0;
}
.footer-documents { gap: 10px; }
.footer-documents a,
.footer-documents .cookie-settings-link {
  font-size: 16px;
  line-height: 1.4;
}
.footer-signature {
  margin-top: 178px;
  transform: translateY(30px);
  display: flex;
  align-items: center;
  gap: 27px;
  color: #788a9f;
  font-size: 16px;
}
.footer-contact-actions { width: max-content; }
.footer-contact-actions .footer-callback { width: 100%; }
.footer-contact-socials {
  width: auto;
  margin-top: 12px;
  justify-content: flex-start;
  gap: 10px;
}
