/* ИЛИТВЭД — standalone landing page */
:root {
  --bg: #08090b;
  --bg-soft: #0d0f12;
  --panel: #111317;
  --panel-2: #15181d;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f7f7f5;
  --muted: #a4a7ad;
  --muted-2: #747982;
  --red: #e11b22;
  --red-bright: #ff3038;
  --red-dark: #8c070d;
  --success: #49ca7a;
  --container: 1220px;
  --radius: 18px;
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.42);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 112px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.menu-open {
  overflow: hidden;
}

/* Branded opening sequence */
.site-intro {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 45%, rgba(225, 27, 34, 0.16), transparent 31%),
    #060709;
  animation: introExit 0.65s var(--ease) 1.28s forwards;
  place-items: center;
}

.site-intro__grid {
  position: absolute;
  inset: -80px;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 72px 72px;
  animation: introGrid 3s linear infinite;
  mask-image: radial-gradient(circle, #000 0%, transparent 68%);
}

.site-intro__content {
  position: relative;
  display: grid;
  width: min(360px, calc(100vw - 54px));
  justify-items: center;
  text-align: center;
}

.site-intro__mark {
  width: 76px;
  height: 76px;
  filter: drop-shadow(0 18px 38px rgba(225, 27, 34, 0.42));
  animation: introMark 0.95s var(--ease) both;
}

.site-intro__brand {
  display: grid;
  gap: 5px;
  margin-top: 22px;
  animation: introText 0.75s var(--ease) 0.22s both;
}

.site-intro__brand strong {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.045em;
}

.site-intro__brand em {
  color: var(--red-bright);
  font-style: normal;
}

.site-intro__brand span,
.site-intro__content > small {
  color: #777c85;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.2em;
}

.site-intro__line {
  width: 100%;
  height: 2px;
  margin: 28px 0 15px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
}

.site-intro__line i {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--red-dark), var(--red-bright), #ff8d91);
  box-shadow: 0 0 18px var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: introProgress 1.15s var(--ease) 0.12s forwards;
}

.site-intro__content > small {
  animation: introText 0.7s var(--ease) 0.48s both;
}

@keyframes introMark {
  0% { opacity: 0; transform: translateY(25px) scale(0.48) rotate(-18deg); }
  65% { opacity: 1; transform: translateY(-4px) scale(1.08) rotate(3deg); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

@keyframes introText {
  from { opacity: 0; letter-spacing: 0.12em; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes introProgress {
  to { transform: scaleX(1); }
}

@keyframes introGrid {
  to { transform: translate3d(72px, 72px, 0); }
}

@keyframes introExit {
  to { opacity: 0; visibility: hidden; transform: scale(1.035); }
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

::selection {
  color: #fff;
  background: rgba(225, 27, 34, 0.78);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--red);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 4px;
}

.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 25px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 0.03em;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.button::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(110deg, transparent 15%, rgba(255, 255, 255, 0.22) 48%, transparent 80%);
  transform: translateX(-140%);
  transition: transform 0.7s var(--ease);
}

.button:hover::before {
  transform: translateX(140%);
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: #fff;
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 14px 38px rgba(225, 27, 34, 0.22);
}

.button--primary:hover {
  background: var(--red-bright);
  border-color: var(--red-bright);
  box-shadow: 0 18px 46px rgba(225, 27, 34, 0.34);
}

.button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line-strong);
  backdrop-filter: blur(12px);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.38);
}

.button--small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 13px;
  border-radius: 8px;
}

.button--full {
  width: 100%;
}

.button__arrow,
.button span {
  position: relative;
  z-index: 1;
  margin-left: 16px;
  font-size: 21px;
  line-height: 1;
  transition: transform 0.25s var(--ease);
}

.button:hover .button__arrow,
.button:hover > span {
  transform: translateX(4px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #d4d5d8;
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 16px rgba(225, 27, 34, 0.55);
}

.section {
  position: relative;
  padding: 118px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading h2,
.expertise-copy h2,
.finance-copy h2,
.audit-copy h2,
.faq-intro h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.section-heading h2 em,
.expertise-copy h2 em,
.finance-copy h2 em,
.audit-copy h2 em,
.faq-intro h2 em,
.final-cta h2 em {
  color: var(--red-bright);
  font-style: normal;
}

.section-heading > p {
  max-width: 440px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
}

/* Header */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 10, 0.91);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(20px) saturate(135%);
}

.utility-bar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.065);
  background: rgba(6, 7, 9, 0.62);
}

.utility-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 30px;
  color: #9ea2a9;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.utility-locations,
.utility-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.utility-locations span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.status-dot {
  width: 5px;
  height: 5px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(73, 202, 122, 0.08), 0 0 10px rgba(73, 202, 122, 0.55);
}

.utility-contact a {
  color: #fff;
  font-size: 12px;
}

.nav-shell {
  display: flex;
  align-items: center;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 11px;
}

.brand__mark {
  width: 41px;
  height: 41px;
  filter: drop-shadow(0 8px 18px rgba(225, 27, 34, 0.22));
}

.brand__wording {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand__wording strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
}

.brand__wording em {
  color: var(--red-bright);
  font-style: normal;
}

.brand__wording small {
  color: #92969d;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: clamp(20px, 2.4vw, 39px);
  margin-inline: 36px;
}

.desktop-nav a {
  position: relative;
  color: #c2c5ca;
  font-size: 13px;
  font-weight: 650;
  transition: color 0.2s ease;
}

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

.desktop-nav a:hover {
  color: #fff;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: 10px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
}

.nav-cta {
  background: rgba(225, 27, 34, 0.08);
  border-color: rgba(225, 27, 34, 0.36);
}

.nav-cta:hover {
  background: var(--red);
  border-color: var(--red);
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 5px 0;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] > span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] > span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 890px;
  padding-top: 104px;
  overflow: hidden;
  background: #07080a;
}

.hero__media,
.hero__veil,
.hero__grid {
  position: absolute;
  inset: 0;
}

.hero__media {
  inset: -2%;
  background-image: url("assets/ilit-ved-hero.webp");
  background-position: center center;
  background-size: cover;
  transform: scale(1.035);
  will-change: transform;
}

.hero__veil {
  background:
    linear-gradient(90deg, rgba(3, 4, 6, 0.97) 0%, rgba(3, 4, 6, 0.88) 34%, rgba(3, 4, 6, 0.36) 58%, rgba(3, 4, 6, 0.22) 100%),
    linear-gradient(0deg, #08090b 0%, transparent 29%, rgba(0, 0, 0, 0.08) 66%, rgba(0, 0, 0, 0.45) 100%);
}

.hero__grid {
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.hero-route {
  position: absolute;
  z-index: 1;
  right: -5%;
  bottom: 150px;
  left: 30%;
  width: 78%;
  height: 340px;
  opacity: 0.75;
  pointer-events: none;
}

.hero-route path {
  fill: none;
  stroke-linecap: round;
}

.hero-route__track {
  stroke: rgba(225, 27, 34, 0.24);
  stroke-width: 1.5;
  stroke-dasharray: 3 10;
}

.hero-route__pulse {
  stroke: var(--red-bright);
  stroke-width: 2;
  stroke-dasharray: 12 460;
  filter: drop-shadow(0 0 8px var(--red));
  animation: routePulse 7s linear infinite;
}

@keyframes routePulse {
  to { stroke-dashoffset: -944; }
}

.hero-scan {
  position: absolute;
  z-index: 1;
  top: -15%;
  bottom: -15%;
  left: -42%;
  width: 26%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 62, 70, 0.13), rgba(255, 255, 255, 0.11), transparent);
  filter: blur(3px);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: skewX(-13deg);
  animation: heroScan 7.5s ease-in-out 2.2s infinite;
}

@keyframes heroScan {
  0%, 12% { left: -42%; opacity: 0; }
  20% { opacity: 0.8; }
  52% { left: 118%; opacity: 0.18; }
  53%, 100% { left: 118%; opacity: 0; }
}

.hero-route__node {
  fill: var(--red-bright);
  filter: drop-shadow(0 0 9px var(--red-bright));
  transform-box: fill-box;
  transform-origin: center;
  animation: routeNode 2.4s ease-in-out infinite;
}

.hero-route__node--2 { animation-delay: 0.7s; }
.hero-route__node--3 { animation-delay: 1.4s; }

@keyframes routeNode {
  0%, 100% { opacity: 0.25; transform: scale(0.65); }
  50% { opacity: 1; transform: scale(1.65); }
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 80px;
  align-items: center;
  min-height: 650px;
  padding-top: 54px;
  padding-bottom: 44px;
}

.hero__content {
  max-width: 820px;
}

.hero__content .eyebrow {
  color: #fff;
}

.hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(50px, 6.1vw, 90px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.057em;
}

.hero h1 span {
  color: var(--red-bright);
}

.hero__lead {
  max-width: 650px;
  margin: 28px 0 0;
  color: #c0c4ca;
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.52;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  padding: 0;
  margin-top: 28px;
  color: #b9bdc3;
  font-size: 13px;
  font-weight: 650;
  list-style: none;
}

.hero__proof li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.proof-check {
  display: inline-grid;
  width: 18px;
  height: 18px;
  color: #fff;
  font-size: 12px;
  background: rgba(225, 27, 34, 0.18);
  border: 1px solid rgba(255, 48, 56, 0.36);
  border-radius: 50%;
  place-items: center;
}

.hero-card {
  position: relative;
  align-self: end;
  margin-bottom: 27px;
  padding: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(15, 17, 21, 0.88), rgba(9, 10, 12, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-card::before {
  position: absolute;
  top: 0;
  right: 20px;
  left: 20px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
}

.hero-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #e9eaec;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.hero-card__head i {
  width: 7px;
  height: 7px;
  background: var(--red-bright);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red-bright);
  animation: softBlink 2s ease-in-out infinite;
}

@keyframes softBlink {
  50% { opacity: 0.38; }
}

.hero-card > p {
  margin: 13px 0 17px;
  color: var(--muted);
  font-size: 13px;
}

.control-points {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.control-points li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
}

.control-points li > span {
  color: #72767e;
  font-family: Consolas, monospace;
  font-size: 12px;
}

.control-points li.is-active {
  background: rgba(225, 27, 34, 0.07);
  border-color: rgba(225, 27, 34, 0.24);
}

.control-points li.is-active > span {
  color: var(--red-bright);
}

.control-points div {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
}

.control-points strong {
  font-size: 13px;
}

.control-points small {
  color: #777b82;
  font-size: 10px;
}

.hero-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 17px;
  padding-top: 15px;
  color: #777b83;
  font-size: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-card__footer strong {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #dde9e1;
  font-size: 10px;
  text-transform: uppercase;
}

.hero-card__footer strong i {
  width: 5px;
  height: 5px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--success);
}

.hero-facts {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 1.32fr;
  min-height: 104px;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
  overflow: hidden;
  background: rgba(8, 9, 11, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.hero-fact {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 23px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-fact strong {
  flex: 0 0 auto;
  color: #fff;
  font-size: 21px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.hero-fact span {
  color: #858991;
  font-size: 11px;
  line-height: 1.45;
}

.hero-fact--action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(100deg, rgba(225, 27, 34, 0.09), transparent);
  border-right: 0;
}

.hero-fact--action > span {
  color: #90949b;
  font-size: 10px;
  text-transform: uppercase;
}

.hero-fact--action button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
}

.hero-fact--action b {
  display: grid;
  width: 28px;
  height: 28px;
  font-size: 16px;
  background: var(--red);
  border-radius: 50%;
  transition: transform 0.25s var(--ease);
  place-items: center;
}

.hero-fact--action button:hover b {
  transform: translateX(4px);
}

/* Documents strip */
.document-strip {
  overflow: hidden;
  background: #0b0c0f;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.document-strip__inner {
  display: flex;
  align-items: center;
  min-height: 76px;
}

.document-strip__label {
  flex: 0 0 auto;
  margin-right: 38px;
  color: #6f747c;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.document-ticker {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.document-ticker span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bdc0c5;
  font-size: 12px;
  white-space: nowrap;
}

.document-ticker i {
  display: grid;
  width: 17px;
  height: 17px;
  color: var(--red-bright);
  font-size: 11px;
  font-style: normal;
  border: 1px solid rgba(225, 27, 34, 0.34);
  border-radius: 50%;
  place-items: center;
}

/* Risk */
.section--risk {
  background:
    radial-gradient(circle at 12% 34%, rgba(225, 27, 34, 0.08), transparent 26%),
    var(--bg);
}

.risk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.risk-card {
  position: relative;
  min-height: 420px;
  padding: 30px;
  overflow: hidden;
  background: linear-gradient(150deg, #14161a 0%, #0c0e11 76%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.risk-card::before {
  position: absolute;
  top: -120px;
  left: -120px;
  width: 270px;
  height: 270px;
  content: "";
  background: radial-gradient(circle, rgba(225, 27, 34, 0.16), transparent 68%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.risk-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease);
}

.risk-card:hover {
  border-color: rgba(225, 27, 34, 0.32);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.34);
  transform: translateY(-7px);
}

.risk-card:hover::before {
  opacity: 1;
}

.risk-card:hover::after {
  transform: scaleX(1);
}

.risk-card__icon {
  display: grid;
  width: 74px;
  height: 74px;
  margin-bottom: 58px;
  color: #fff;
  background: linear-gradient(145deg, rgba(225, 27, 34, 0.22), rgba(225, 27, 34, 0.03));
  border: 1px solid rgba(225, 27, 34, 0.27);
  clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  place-items: center;
}

.risk-card__icon svg {
  width: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.risk-card__number {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #3a3d43;
  font-family: Consolas, monospace;
  font-size: 14px;
}

.risk-card h3 {
  margin: 0 0 12px;
  font-size: 27px;
  letter-spacing: -0.03em;
}

.risk-card > p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.risk-card__solution {
  position: absolute;
  right: 30px;
  bottom: 28px;
  left: 30px;
  padding-top: 18px;
  color: #8d9198;
  font-size: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.risk-card__solution b {
  color: var(--red-bright);
}

/* Expertise */
.section--expertise {
  overflow: hidden;
  background: #0c0e11;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.section--expertise::after {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 130%;
  content: "";
  background: radial-gradient(ellipse, rgba(225, 27, 34, 0.08), transparent 65%);
  pointer-events: none;
}

.expertise-layout {
  display: grid;
  grid-template-columns: minmax(380px, 0.88fr) minmax(470px, 1.12fr);
  gap: 88px;
  align-items: center;
}

.expertise-photo {
  position: relative;
  min-height: 700px;
  overflow: hidden;
  background: #111;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.expertise-photo::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(5, 6, 8, 0.74), transparent 45%);
  pointer-events: none;
}

.expertise-photo img {
  width: 100%;
  height: 100%;
  min-height: 700px;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.expertise-photo:hover img {
  transform: scale(1.025);
}

.expertise-photo__label {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 16px;
  background: rgba(8, 9, 11, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.expertise-photo__label > span {
  display: grid;
  width: 44px;
  height: 44px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: var(--red);
  border-radius: 9px;
  place-items: center;
}

.expertise-photo__label p {
  margin: 0;
  color: #8e9299;
  font-size: 11px;
}

.expertise-photo__label strong {
  display: block;
  margin-bottom: 2px;
  color: #fff;
  font-size: 13px;
}

.expertise-copy__lead {
  max-width: 670px;
  margin: 25px 0 35px;
  color: #b0b3b9;
  font-size: 19px;
}

.expertise-list {
  display: grid;
  gap: 0;
  margin-top: 10px;
  border-top: 1px solid var(--line);
}

.expertise-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.expertise-list article > span {
  color: var(--red-bright);
  font-family: Consolas, monospace;
  font-size: 12px;
}

.expertise-list h3 {
  margin: 0 0 5px;
  font-size: 17px;
}

.expertise-list p {
  margin: 0;
  color: #888c93;
  font-size: 13px;
}

.founder-note {
  margin: 32px 0 0;
  padding: 24px 25px;
  background: linear-gradient(110deg, rgba(225, 27, 34, 0.1), rgba(225, 27, 34, 0.015));
  border: 1px solid rgba(225, 27, 34, 0.2);
  border-radius: 14px;
}

.founder-note p {
  margin: 0 0 18px;
  color: #e2e3e5;
  font-size: 16px;
  font-weight: 600;
}

.founder-note footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.founder-note footer span {
  color: #747880;
}

/* Services */
.section--services {
  background:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    #08090b;
  background-size: 100px 100px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 345px;
  padding: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(20, 23, 27, 0.98), rgba(12, 14, 17, 0.98));
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.35s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at var(--mx, 20%) var(--my, 10%), rgba(225, 27, 34, 0.13), transparent 38%);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.27);
  transform: translateY(-5px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card--wide {
  grid-column: span 1;
}

.service-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 36px;
  color: #fff;
  background: rgba(225, 27, 34, 0.1);
  border: 1px solid rgba(225, 27, 34, 0.22);
  border-radius: 11px;
  place-items: center;
}

.service-card__icon svg {
  width: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__index {
  position: absolute;
  top: 28px;
  right: 28px;
  color: #3b3f46;
  font-family: Consolas, monospace;
  font-size: 12px;
}

.service-card h3 {
  margin: 0 0 12px;
  font-size: 23px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.service-card > p {
  margin: 0;
  color: #94989f;
  font-size: 14px;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: auto 0 0;
  list-style: none;
}

.service-card li {
  padding: 7px 9px;
  color: #a6a9af;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  border-radius: 6px;
}

.service-card > a,
.service-card > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 19px 0 0;
  margin-top: auto;
  color: #d6d8dc;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  background: none;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.service-card > a span,
.service-card > button span {
  color: var(--red-bright);
  font-size: 17px;
  transition: transform 0.25s var(--ease);
}

.service-card > a:hover span,
.service-card > button:hover span {
  transform: translateX(4px);
}

.service-card--accent {
  background:
    linear-gradient(145deg, rgba(225, 27, 34, 0.9), rgba(117, 5, 10, 0.92)),
    #bd1017;
  border-color: rgba(255, 82, 88, 0.45);
}

.service-card--accent::before {
  background: radial-gradient(circle at var(--mx, 20%) var(--my, 10%), rgba(255, 255, 255, 0.18), transparent 38%);
}

.service-card--accent .service-card__icon {
  background: rgba(0, 0, 0, 0.14);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-card--accent .service-card__index {
  color: rgba(255, 255, 255, 0.38);
}

.service-card--accent > p {
  color: rgba(255, 255, 255, 0.78);
}

.service-card--accent > button {
  color: #fff;
  border-top-color: rgba(255, 255, 255, 0.19);
}

.service-card--accent > button span {
  color: #fff;
}

/* Finance */
.section--finance {
  min-height: 760px;
  overflow: hidden;
  background: #0d0f12;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.finance-bg {
  position: absolute;
  inset: 0;
  opacity: 0.78;
  background:
    radial-gradient(circle at 18% 25%, rgba(225, 27, 34, 0.17), transparent 24%),
    linear-gradient(115deg, rgba(225, 27, 34, 0.09), transparent 42%),
    repeating-linear-gradient(125deg, transparent 0 80px, rgba(255, 255, 255, 0.018) 80px 81px);
}

.finance-bg::before {
  position: absolute;
  top: 5%;
  left: -7%;
  width: 530px;
  height: 530px;
  content: "";
  border: 1px solid rgba(225, 27, 34, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 70px rgba(225, 27, 34, 0.04), 0 0 0 75px rgba(225, 27, 34, 0.018), 0 0 0 150px rgba(225, 27, 34, 0.012);
}

.finance-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 0.72fr);
  gap: 100px;
  align-items: center;
}

.finance-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 26px 0 0;
  color: #a9adb4;
  font-size: 18px;
}

.finance-note {
  display: flex;
  gap: 14px;
  max-width: 560px;
  padding: 18px;
  margin-top: 34px;
  background: rgba(0, 0, 0, 0.21);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
}

.finance-note > span {
  display: grid;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: var(--red);
  border-radius: 50%;
  place-items: center;
}

.finance-note p {
  margin: 0;
  color: #858991;
  font-size: 12px;
}

.estimate-card {
  position: relative;
  padding: 27px;
  overflow: hidden;
  background: rgba(8, 9, 11, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 19px;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(18px);
}

.estimate-card::before {
  position: absolute;
  top: 0;
  right: 30px;
  left: 30px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
}

.estimate-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.estimate-card__head div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.estimate-card__head span {
  color: var(--red-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.estimate-card__head strong {
  font-size: 19px;
}

.estimate-card__head svg {
  width: 36px;
  fill: none;
  stroke: #646971;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.estimate-lines {
  padding: 10px 0;
  margin: 0;
  list-style: none;
}

.estimate-lines li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.estimate-lines span {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d6d8dc;
  font-size: 13px;
}

.estimate-lines i {
  color: #636871;
  font-family: Consolas, monospace;
  font-size: 11px;
  font-style: normal;
}

.estimate-lines b {
  color: var(--success);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.estimate-card__total {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 18px;
  margin-top: 7px;
  background: linear-gradient(100deg, rgba(225, 27, 34, 0.16), rgba(225, 27, 34, 0.025));
  border: 1px solid rgba(225, 27, 34, 0.21);
  border-radius: 10px;
}

.estimate-card__total span {
  color: #91959c;
  font-size: 10px;
  text-transform: uppercase;
}

.estimate-card__total strong {
  color: #fff;
  font-size: 16px;
}

.estimate-card__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 53px;
  padding: 0 18px;
  margin-top: 15px;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  background: var(--red);
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.estimate-card__button:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
}

.estimate-card__button span {
  font-size: 19px;
}

.estimate-card > small {
  display: block;
  margin-top: 10px;
  color: #595e66;
  font-size: 9px;
}

/* Process */
.section--process {
  background: #08090b;
}

.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.process-line {
  position: absolute;
  z-index: 0;
  top: 33px;
  right: 8%;
  left: 8%;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.09);
}

.process-line span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--red-dark), var(--red-bright));
  box-shadow: 0 0 10px var(--red);
  transition: width 1.5s var(--ease);
}

.process-track.is-visible .process-line span {
  width: 100%;
}

.process-step {
  position: relative;
  z-index: 1;
}

.process-step__number {
  display: grid;
  width: 66px;
  height: 66px;
  margin: 0 auto 22px;
  color: #fff;
  font-family: Consolas, monospace;
  font-size: 14px;
  background: #101216;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 7px #08090b;
  transition: border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  place-items: center;
}

.process-step:hover .process-step__number {
  background: var(--red);
  border-color: var(--red-bright);
  box-shadow: 0 0 0 7px #08090b, 0 0 30px rgba(225, 27, 34, 0.32);
}

.process-step__body {
  min-height: 300px;
  padding: 24px 20px;
  background: linear-gradient(150deg, rgba(19, 21, 25, 0.96), rgba(11, 13, 16, 0.96));
  border: 1px solid var(--line);
  border-radius: 14px;
}

.process-step__body > span {
  color: var(--red-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-step h3 {
  margin: 10px 0 12px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.process-step p {
  margin: 0;
  color: #8d9198;
  font-size: 12px;
}

.process-step small {
  display: block;
  padding-top: 15px;
  margin-top: 18px;
  color: #666b73;
  font-size: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

/* Industries */
.section--industries {
  overflow: hidden;
  background: #0d0f12;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.industry-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 345px;
  padding: 27px;
  overflow: hidden;
  isolation: isolate;
  background: #13161a;
  border: 1px solid var(--line);
  border-radius: 16px;
  transition: transform 0.35s var(--ease), border-color 0.35s ease;
}

.industry-card::before,
.industry-card::after {
  position: absolute;
  z-index: -1;
  content: "";
}

.industry-card::before {
  top: -28%;
  right: -20%;
  width: 310px;
  height: 310px;
  opacity: 0.32;
  background:
    repeating-radial-gradient(circle, transparent 0 15px, rgba(255, 255, 255, 0.16) 16px 17px),
    radial-gradient(circle, var(--card-glow, rgba(225, 27, 34, 0.28)), transparent 67%);
  border-radius: 50%;
  transition: transform 0.7s var(--ease), opacity 0.35s ease;
}

.industry-card::after {
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 8, 10, 0.94) 4%, rgba(7, 8, 10, 0.15) 78%);
}

.industry-card:hover {
  border-color: rgba(225, 27, 34, 0.35);
  transform: translateY(-6px);
}

.industry-card:hover::before {
  opacity: 0.55;
  transform: scale(1.08) rotate(8deg);
}

.industry-card__tag {
  position: absolute;
  z-index: 1;
  top: 20px;
  left: 20px;
  padding: 7px 9px;
  color: #c5c8cd;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  background: rgba(7, 8, 10, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 5px;
  backdrop-filter: blur(10px);
}

.industry-card > div {
  position: relative;
  z-index: 1;
}

.industry-card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--red-bright);
  font-family: Consolas, monospace;
  font-size: 11px;
}

.industry-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.18;
}

.industry-card p {
  margin: 0;
  color: #898e96;
  font-size: 12px;
}

.industry-card--electronics { --card-glow: rgba(45, 113, 255, 0.34); }
.industry-card--equipment { --card-glow: rgba(225, 27, 34, 0.34); }
.industry-card--oem { --card-glow: rgba(128, 70, 255, 0.31); }
.industry-card--furniture { --card-glow: rgba(169, 104, 45, 0.32); }
.industry-card--building { --card-glow: rgba(213, 160, 58, 0.28); }
.industry-card--auto { --card-glow: rgba(45, 170, 189, 0.28); }

/* Audit */
.section--audit {
  overflow: clip;
  background:
    radial-gradient(circle at 80% 20%, rgba(225, 27, 34, 0.095), transparent 27%),
    #08090b;
}

.section--audit::before {
  position: absolute;
  top: 10%;
  right: -8%;
  width: 42vw;
  height: 42vw;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle, #000, transparent 69%);
  transform: rotate(12deg);
}

.audit-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 85px;
  align-items: center;
}

.audit-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 24px 0 0;
  color: #999da4;
  font-size: 16px;
}

.audit-copy ul {
  display: grid;
  gap: 13px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.audit-copy li {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #d1d3d7;
  font-size: 13px;
}

.audit-copy li span {
  display: grid;
  width: 30px;
  height: 30px;
  color: var(--red-bright);
  font-family: Consolas, monospace;
  font-size: 10px;
  background: rgba(225, 27, 34, 0.08);
  border: 1px solid rgba(225, 27, 34, 0.2);
  border-radius: 7px;
  place-items: center;
}

.audit-copy__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 36px;
  color: #686d75;
  font-size: 10px;
}

.audit-copy__note i {
  width: 7px;
  height: 7px;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 9px var(--success);
}

.audit-card {
  min-height: 580px;
  padding: 30px;
  background: rgba(14, 16, 19, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 19px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.audit-card__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--line);
}

.audit-card__top > div:first-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.audit-card__top span {
  color: var(--red-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.audit-card__top strong {
  font-size: 15px;
}

.audit-card__top strong b {
  color: var(--red-bright);
}

.audit-progress {
  width: 170px;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
}

.audit-progress span {
  display: block;
  width: 25%;
  height: 100%;
  background: linear-gradient(90deg, var(--red-dark), var(--red-bright));
  box-shadow: 0 0 11px rgba(225, 27, 34, 0.7);
  transition: width 0.5s var(--ease);
}

.audit-step {
  display: none;
  min-height: 378px;
  padding: 0;
  margin: 0;
  border: 0;
  animation: stepIn 0.42s var(--ease);
}

.audit-step.is-active {
  display: block;
}

@keyframes stepIn {
  from { opacity: 0; transform: translateX(14px); }
  to { opacity: 1; transform: translateX(0); }
}

.audit-step legend {
  display: block;
  width: 100%;
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.audit-step legend small {
  display: block;
  margin-bottom: 5px;
  color: var(--red-bright);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.choice-grid {
  display: grid;
  gap: 9px;
}

.choice-grid--two {
  grid-template-columns: repeat(2, 1fr);
}

.choice {
  display: block;
  cursor: pointer;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice > span {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 13px 14px;
  color: #b8bbc1;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.choice:hover > span {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.choice i {
  position: relative;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-right: 10px;
  border: 1px solid #555a63;
  border-radius: 50%;
}

.choice i::after {
  position: absolute;
  inset: 4px;
  content: "";
  background: var(--red-bright);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.2s ease, transform 0.2s var(--ease);
}

.choice input:checked + span {
  color: #fff;
  background: rgba(225, 27, 34, 0.09);
  border-color: rgba(225, 27, 34, 0.42);
}

.choice input:checked + span i {
  border-color: var(--red-bright);
}

.choice input:checked + span i::after {
  opacity: 1;
  transform: scale(1);
}

.choice input:focus-visible + span {
  outline: 2px solid var(--red-bright);
  outline-offset: 2px;
}

.choice--line > span {
  align-items: flex-start;
  min-height: 72px;
}

.choice--line span span {
  display: block;
}

.choice--line b,
.choice--line em {
  display: block;
  font-style: normal;
}

.choice--line b {
  margin-bottom: 3px;
  font-size: 12px;
}

.choice--line em {
  color: #70757d;
  font-size: 10px;
}

.audit-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 12px;
}

.audit-fields label,
.modal form > label:not(.privacy-check) {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.audit-fields label > span,
.modal form > label > span {
  color: #a9adb4;
  font-size: 11px;
  font-weight: 650;
}

.audit-fields label > span em {
  color: #5f646d;
  font-style: normal;
}

.audit-fields__full {
  grid-column: 1 / -1;
}

.audit-fields input,
.audit-fields select,
.audit-fields textarea,
.modal input,
.modal textarea {
  width: 100%;
  color: #fff;
  background: #0a0c0e;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.audit-fields input,
.audit-fields select,
.modal input {
  height: 50px;
  padding: 0 13px;
}

.audit-fields textarea,
.modal textarea {
  min-height: 82px;
  padding: 12px 13px;
  resize: vertical;
}

.audit-fields select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #737780 50%), linear-gradient(135deg, #737780 50%, transparent 50%);
  background-position: calc(100% - 17px) 21px, calc(100% - 12px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.audit-fields input:focus,
.audit-fields select:focus,
.audit-fields textarea:focus,
.modal input:focus,
.modal textarea:focus {
  border-color: rgba(225, 27, 34, 0.72);
  box-shadow: 0 0 0 3px rgba(225, 27, 34, 0.1);
}

input::placeholder,
textarea::placeholder {
  color: #565b63;
}

.privacy-check {
  display: flex !important;
  flex-direction: row !important;
  gap: 9px !important;
  align-items: flex-start;
  cursor: pointer;
}

.privacy-check input {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  padding: 0;
  margin: 2px 0 0;
  accent-color: var(--red);
}

.privacy-check span {
  color: #70757d !important;
  font-size: 10px !important;
  font-weight: 400 !important;
  line-height: 1.45;
}

.privacy-check a {
  color: #b7bbc2;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.audit-summary {
  display: none;
  grid-column: 1 / -1;
  padding: 12px 14px;
  color: #a3a7ae;
  font-size: 10px;
  background: rgba(225, 27, 34, 0.06);
  border: 1px solid rgba(225, 27, 34, 0.17);
  border-radius: 8px;
}

.audit-summary.is-visible {
  display: block;
}

.form-error {
  min-height: 18px;
  margin: 4px 0 0;
  color: #ff6b70;
  font-size: 11px;
}

.audit-card__controls {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.audit-card__controls .button {
  min-width: 118px;
  min-height: 48px;
}

.audit-back:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  transform: none;
}

/* FAQ */
.section--faq {
  background: #0d0f12;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 90px;
  align-items: start;
}

.faq-intro {
  position: sticky;
  top: 150px;
}

.faq-intro > p:not(.eyebrow) {
  max-width: 420px;
  margin: 24px 0 30px;
  color: #8d9198;
  font-size: 15px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 86px;
  padding: 0;
  color: #d8dade;
  font-size: 16px;
  font-weight: 650;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-item > button:hover,
.faq-item.is-open > button {
  color: #fff;
}

.faq-item > button i {
  position: relative;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  margin-left: 20px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.faq-item > button i::before,
.faq-item > button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  content: "";
  background: var(--red-bright);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}

.faq-item > button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open > button i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  transition: grid-template-rows 0.45s var(--ease);
}

.faq-answer p {
  min-height: 0;
  margin: 0;
  color: #8f939a;
  font-size: 14px;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.is-open .faq-answer p {
  padding: 0 50px 27px 0;
}

/* Final CTA */
.final-cta {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(93, 2, 7, 0.86), rgba(225, 27, 34, 0.44) 46%, rgba(68, 2, 5, 0.78)),
    #971016;
}

.final-cta::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 75% 50%, rgba(255, 255, 255, 0.15), transparent 27%);
}

.final-cta__grid {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 150%;
  opacity: 0.12;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px);
  background-size: 58px 58px;
  transform: perspective(700px) rotateY(-30deg) rotateZ(-4deg);
}

.final-cta__inner {
  position: relative;
  z-index: 1;
}

.final-cta .eyebrow > span {
  background: #fff;
  box-shadow: none;
}

.final-cta h2 {
  max-width: 930px;
}

.final-cta h2 em {
  color: #fff;
  opacity: 0.73;
}

.final-cta__inner > p:not(.eyebrow) {
  max-width: 620px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.final-cta__actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 36px;
}

.final-cta .button--primary {
  color: #1b1c1f;
  background: #fff;
  border-color: #fff;
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.18);
}

.final-cta .button--primary:hover {
  background: #f1f1f1;
  border-color: #f1f1f1;
}

.final-cta__phone {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.final-cta__phone small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  text-transform: uppercase;
}

.final-cta__phone strong {
  font-size: 19px;
}

/* Footer */
.site-footer {
  padding: 64px 0 0;
  background: #07080a;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.55fr repeat(3, 0.7fr);
  gap: 65px;
  padding-bottom: 56px;
}

.footer-brand p {
  max-width: 300px;
  margin: 20px 0 0;
  color: #6e737b;
  font-size: 12px;
}

.footer-nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-nav strong,
.footer-contact > strong {
  margin-bottom: 7px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-contact span {
  color: #737780;
  font-size: 11px;
  transition: color 0.2s ease;
}

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

.footer-contact > a {
  margin-bottom: 2px;
  font-size: 16px;
  font-weight: 700;
}

.footer-contact button {
  width: max-content;
  padding: 0;
  margin-top: 8px;
  color: var(--red-bright);
  font-size: 11px;
  font-weight: 700;
  background: none;
  border: 0;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 63px;
  color: #4d5158;
  font-size: 9px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom a {
  transition: color 0.2s ease;
}

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

/* Floating contact and modal */
.floating-contact {
  position: fixed;
  z-index: 80;
  right: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px 0 12px;
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  background: var(--red);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 46px rgba(225, 27, 34, 0.35);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease;
}

.floating-contact:hover {
  background: var(--red-bright);
  transform: translateY(-3px);
}

.floating-contact svg {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mobile-cta {
  display: none;
}

.modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  place-items: center;
}

.modal.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
}

.modal__dialog {
  position: relative;
  width: min(100%, 490px);
  max-height: calc(100vh - 40px);
  padding: 34px;
  overflow-y: auto;
  background: #111317;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.62);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.36s var(--ease);
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__dialog::before {
  position: absolute;
  top: 0;
  right: 35px;
  left: 35px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
}

.modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 35px;
  height: 35px;
  padding: 0 0 2px;
  color: #9b9fa6;
  font-size: 26px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
}

.modal h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.modal__dialog > p:not(.eyebrow) {
  margin: 16px 0 23px;
  color: #8f939a;
  font-size: 13px;
}

.modal form {
  display: grid;
  gap: 14px;
}

.modal__direct {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.modal__direct span {
  color: #6f747c;
  font-size: 10px;
}

.modal__direct a {
  font-size: 15px;
  font-weight: 700;
}

.noscript {
  position: fixed;
  z-index: 9999;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 12px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  background: var(--red-dark);
}

/* Reveal animation */
.js .reveal {
  opacity: 0;
  filter: blur(9px);
  transform: translateY(56px) scale(0.975);
  transition: opacity 0.95s var(--ease), transform 1s var(--ease), filter 0.85s ease;
}

.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }
.js .reveal[data-delay="4"] { transition-delay: 0.32s; }

.js .reveal.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

/* Enhanced motion system */
.motion-progress {
  position: fixed;
  z-index: 1200;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, var(--red-dark), var(--red-bright) 72%, #ff8b8f);
  box-shadow: 0 0 18px rgba(255, 48, 56, 0.72);
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left center;
  will-change: transform;
}

body.motion-ready .site-header {
  animation: headerArrival 0.9s var(--ease) 1.08s both;
}

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

.hero__media {
  --hero-pointer-x: 0px;
  --hero-pointer-y: 0px;
  --hero-scroll-y: 0px;
  --hero-scale: 1.035;
  opacity: 1;
  transform: translate3d(
    var(--hero-pointer-x),
    calc(var(--hero-pointer-y) + var(--hero-scroll-y)),
    0
  ) scale(var(--hero-scale));
  transition: opacity 1.45s ease, transform 0.65s var(--ease);
}

body.motion-ready:not(.is-loaded) .hero__media {
  --hero-scale: 1.13;
  opacity: 0.24;
}

.hero__grid {
  animation: gridDrift 24s linear infinite;
  will-change: background-position;
}

@keyframes gridDrift {
  to { background-position: 80px 80px, 80px 80px; }
}

.hero-route {
  animation: routeBreathe 5.6s ease-in-out infinite;
}

@keyframes routeBreathe {
  50% { opacity: 0.95; filter: drop-shadow(0 0 10px rgba(225, 27, 34, 0.22)); }
}

.hero h1 span {
  color: transparent;
  background: linear-gradient(105deg, #ff252d 0%, #ff5a60 37%, #d90e16 70%, #ff252d 100%);
  background-size: 220% 100%;
  background-clip: text;
  animation: redTitleSweep 6s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@keyframes redTitleSweep {
  to { background-position: -220% 0; }
}

.brand__mark {
  animation: brandHover 5s ease-in-out infinite;
  filter: drop-shadow(0 8px 14px rgba(225, 27, 34, 0.18));
}

@keyframes brandHover {
  50% { transform: translateY(-2px); filter: drop-shadow(0 10px 18px rgba(225, 27, 34, 0.3)); }
}

body.motion-ready .hero-fact {
  opacity: 0;
  animation: factArrival 0.75s var(--ease) forwards;
}

body.motion-ready .hero-fact:nth-child(1) { animation-delay: 1.45s; }
body.motion-ready .hero-fact:nth-child(2) { animation-delay: 1.58s; }
body.motion-ready .hero-fact:nth-child(3) { animation-delay: 1.71s; }
body.motion-ready .hero-fact:nth-child(4) { animation-delay: 1.84s; }

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

.control-points li {
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.control-points li.is-active {
  box-shadow: 0 10px 30px rgba(225, 27, 34, 0.08);
  transform: translateX(4px);
}

.document-ticker {
  min-width: 0;
  overflow: hidden;
  justify-content: flex-start;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.document-ticker__track,
.document-ticker__group {
  display: flex;
  align-items: center;
  width: max-content;
}

.document-ticker__track {
  flex: 0 0 auto;
  gap: 40px;
  padding-inline: 10px;
  animation: documentMarquee 18s linear infinite;
  will-change: transform;
}

.document-ticker__group {
  flex: 0 0 auto;
  gap: 32px;
}

.document-ticker:hover .document-ticker__track {
  animation-play-state: paused;
}

@keyframes documentMarquee {
  to { transform: translate3d(calc(-50% - 20px), 0, 0); }
}

.finance-bg {
  transform: translate3d(0, var(--finance-shift, 0px), 0) scale(1.06);
  will-change: transform;
}

.expertise-photo img {
  --photo-scale: 1.06;
  --photo-shift: 0px;
  transform: translate3d(0, var(--photo-shift), 0) scale(var(--photo-scale));
  will-change: transform;
}

.expertise-photo:hover img {
  --photo-scale: 1.095;
  transform: translate3d(0, var(--photo-shift), 0) scale(var(--photo-scale));
}

.js .reveal {
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, clip-path;
}

.js .reveal[data-delay="1"] { --reveal-delay: 80ms; }
.js .reveal[data-delay="2"] { --reveal-delay: 160ms; }
.js .reveal[data-delay="3"] { --reveal-delay: 240ms; }
.js .reveal[data-delay="4"] { --reveal-delay: 320ms; }

.js .reveal--wide {
  transform: translateY(62px) scale(0.94);
}

.js .reveal--clip {
  opacity: 0;
  clip-path: inset(18% 5% 18% 5% round 28px);
  transform: translateY(58px) scale(0.92);
  transition: opacity 1s var(--ease), transform 1.15s var(--ease), clip-path 1.25s var(--ease), filter 0.9s ease;
}

.js .reveal--wide.is-visible,
.js .reveal--clip.is-visible {
  opacity: 1;
  clip-path: inset(0 0 0 0 round 20px);
  transform: translateY(0) scale(1);
}

.js body.intro-running .hero .reveal.is-visible {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(78px) scale(0.94);
}

.js body.intro-running .hero .hero-card.reveal.is-visible {
  transform: translateX(105px) perspective(900px) rotateY(-11deg);
}

.section-heading h2 em,
.expertise-copy h2 em,
.finance-copy h2 em,
.audit-copy h2 em,
.faq-intro h2 em,
.final-cta h2 em {
  color: transparent;
  background: linear-gradient(105deg, #ff252d, #ff6d72 38%, #d60c14 70%, #ff252d);
  background-size: 220% 100%;
  background-clip: text;
  animation: redTitleSweep 7s linear infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.risk-card.is-visible::before,
.service-card.is-visible::before {
  animation: cardGlowVisit 1.75s ease-out calc(var(--reveal-delay, 0ms) + 350ms);
}

@keyframes cardGlowVisit {
  0%, 100% { opacity: 0; }
  45% { opacity: 0.95; }
}

.process-track.is-visible .process-step__number {
  animation: processSignal 0.9s var(--ease) both;
}

.process-track.is-visible .process-step:nth-of-type(2) .process-step__number { animation-delay: 0.18s; }
.process-track.is-visible .process-step:nth-of-type(3) .process-step__number { animation-delay: 0.36s; }
.process-track.is-visible .process-step:nth-of-type(4) .process-step__number { animation-delay: 0.54s; }
.process-track.is-visible .process-step:nth-of-type(5) .process-step__number { animation-delay: 0.72s; }
.process-track.is-visible .process-step:nth-of-type(6) .process-step__number { animation-delay: 0.9s; }

@keyframes processSignal {
  0% { color: #fff; background: #101216; box-shadow: 0 0 0 7px #08090b; transform: scale(0.65); }
  55% { color: #fff; background: var(--red); box-shadow: 0 0 0 7px #08090b, 0 0 38px rgba(225, 27, 34, 0.62); transform: scale(1.14); }
  100% { color: #fff; background: #101216; box-shadow: 0 0 0 7px #08090b; transform: scale(1); }
}

.js .estimate-card .estimate-lines li {
  opacity: 0;
  transform: translateX(28px);
}

.js .estimate-card.is-visible .estimate-lines li {
  animation: estimateLineIn 0.65s var(--ease) both;
}

.js .estimate-card.is-visible .estimate-lines li:nth-child(1) { animation-delay: 0.28s; }
.js .estimate-card.is-visible .estimate-lines li:nth-child(2) { animation-delay: 0.4s; }
.js .estimate-card.is-visible .estimate-lines li:nth-child(3) { animation-delay: 0.52s; }
.js .estimate-card.is-visible .estimate-lines li:nth-child(4) { animation-delay: 0.64s; }
.js .estimate-card.is-visible .estimate-lines li:nth-child(5) { animation-delay: 0.76s; }

@keyframes estimateLineIn {
  to { opacity: 1; transform: translateX(0); }
}

.js .reveal .eyebrow > span,
.js .eyebrow.reveal > span {
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.75s var(--ease) 0.16s;
}

.js .reveal.is-visible .eyebrow > span,
.js .eyebrow.reveal.is-visible > span {
  transform: scaleX(1);
}

.risk-card.is-visible .risk-card__icon,
.service-card.is-visible .service-card__icon {
  animation: iconArrival 0.75s var(--ease) calc(var(--reveal-delay, 0ms) + 180ms) both;
}

@keyframes iconArrival {
  from { opacity: 0; transform: translateY(16px) scale(0.72) rotate(-7deg); }
  to { opacity: 1; transform: translateY(0) scale(1) rotate(0); }
}

.is-tilting {
  transform: perspective(950px) translateY(var(--tilt-lift, 0px)) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) !important;
  transform-style: preserve-3d;
  transition: transform 0.14s ease-out, border-color 0.35s ease, box-shadow 0.35s ease !important;
  will-change: transform;
}

.is-tilting > :not(.motion-ripple) {
  transform: translateZ(12px);
}

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

.desktop-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.motion-ripple {
  position: absolute !important;
  z-index: 0 !important;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px !important;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  animation: motionRipple 0.7s ease-out forwards;
}

@keyframes motionRipple {
  from { opacity: 0.7; transform: scale(0); }
  to { opacity: 0; transform: scale(18); }
}

.floating-contact::before {
  position: absolute;
  inset: -1px;
  content: "";
  border: 1px solid rgba(255, 74, 81, 0.65);
  border-radius: inherit;
  animation: contactPulse 2.8s ease-out infinite;
}

@keyframes contactPulse {
  70%, 100% { opacity: 0; transform: scale(1.18, 1.45); }
}

/* Responsive */
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 18px;
    margin-inline: 22px;
  }

  .hero__inner {
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 40px;
  }

  .hero h1 {
    font-size: clamp(53px, 7vw, 76px);
  }

  .hero-fact {
    padding-inline: 17px;
  }

  .hero-fact strong {
    font-size: 18px;
  }

  .expertise-layout,
  .finance-layout,
  .audit-layout,
  .faq-layout {
    gap: 55px;
  }

  .process-track {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-line {
    display: none;
  }

  .footer-main {
    gap: 38px;
  }
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .nav-shell {
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .mobile-menu {
    position: fixed;
    z-index: -1;
    top: 104px;
    right: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    height: calc(100vh - 104px);
    padding: 25px 18px 40px;
    visibility: hidden;
    background: rgba(8, 9, 11, 0.98);
    opacity: 0;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.3s var(--ease), visibility 0s linear 0.3s;
    backdrop-filter: blur(20px);
  }

  .mobile-menu.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .mobile-menu > a:not(.mobile-menu__phone) {
    padding: 17px 3px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid var(--line);
  }

  .mobile-menu__phone {
    margin: auto 0 15px;
    font-size: 22px;
    font-weight: 800;
  }

  .section {
    padding: 90px 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading > p {
    max-width: 650px;
  }

  .hero {
    min-height: 980px;
  }

  .hero__media {
    background-position: 60% center;
  }

  .hero__veil {
    background: linear-gradient(90deg, rgba(3, 4, 6, 0.96), rgba(3, 4, 6, 0.73) 62%, rgba(3, 4, 6, 0.32)), linear-gradient(0deg, #08090b 0%, transparent 35%, rgba(0, 0, 0, 0.25) 100%);
  }

  .hero__inner {
    grid-template-columns: 1fr;
    align-content: center;
    min-height: 720px;
    padding-top: 80px;
  }

  .hero__content {
    max-width: 680px;
  }

  .hero-card {
    display: none;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-fact:nth-child(2) {
    border-right: 0;
  }

  .hero-fact:nth-child(-n/**/+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .document-strip__label {
    display: none;
  }

  .document-ticker {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .document-ticker::-webkit-scrollbar {
    display: none;
  }

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

  .expertise-layout {
    grid-template-columns: 1fr;
  }

  .expertise-photo {
    min-height: 540px;
  }

  .expertise-photo img {
    min-height: 540px;
    object-position: center 62%;
  }

  .finance-layout,
  .audit-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .finance-copy,
  .audit-copy {
    max-width: 720px;
  }

  .estimate-card {
    width: min(100%, 630px);
  }

  .audit-card {
    min-height: 0;
  }

  .faq-intro {
    position: static;
  }

  .footer-main {
    grid-template-columns: 1.3fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 90px;
  }

  body {
    padding-bottom: 64px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .desktop-only,
  .utility-locations span:nth-child(n/**/+2) {
    display: none;
  }

  .utility-bar__inner {
    min-height: 25px;
  }

  .nav-shell {
    min-height: 65px;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .brand__wording strong {
    font-size: 17px;
  }

  .mobile-menu {
    top: 90px;
    height: calc(100vh - 90px);
  }

  .section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .section-heading h2,
  .expertise-copy h2,
  .finance-copy h2,
  .audit-copy h2,
  .faq-intro h2,
  .final-cta h2 {
    font-size: clamp(34px, 10.7vw, 46px);
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }

  .hero {
    min-height: auto;
    padding-top: 90px;
  }

  .hero__media {
    inset: 0;
    background-position: 64% 50%;
    transform: none !important;
  }

  .hero__veil {
    background: linear-gradient(90deg, rgba(3, 4, 6, 0.97), rgba(3, 4, 6, 0.68) 85%, rgba(3, 4, 6, 0.5)), linear-gradient(0deg, #08090b 0%, transparent 40%, rgba(0, 0, 0, 0.36) 100%);
  }

  .hero__grid,
  .hero-route {
    display: none;
  }

  .hero__inner {
    display: block;
    min-height: 645px;
    padding-top: 84px;
    padding-bottom: 70px;
  }

  .hero h1 {
    font-size: clamp(46px, 14.2vw, 64px);
    line-height: 0.96;
  }

  .hero__lead {
    margin-top: 22px;
    font-size: 17px;
  }

  .hero__actions {
    display: grid;
    margin-top: 28px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__proof {
    gap: 10px 14px;
    margin-top: 23px;
    font-size: 11px;
  }

  .hero-facts {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
  }

  .hero-fact {
    min-height: 92px;
    padding: 16px 14px;
  }

  .hero-fact strong {
    font-size: 16px;
  }

  .hero-fact span {
    font-size: 9px;
  }

  .hero-fact--action {
    align-items: stretch;
  }

  .document-strip__inner {
    min-height: 62px;
  }

  .risk-grid,
  .services-grid,
  .industries-grid,
  .process-track {
    grid-template-columns: 1fr;
  }

  .risk-card {
    min-height: 380px;
    padding: 24px;
  }

  .risk-card__icon {
    margin-bottom: 45px;
  }

  .risk-card__solution {
    right: 24px;
    bottom: 24px;
    left: 24px;
  }

  .expertise-layout {
    gap: 50px;
  }

  .expertise-photo,
  .expertise-photo img {
    min-height: 470px;
  }

  .expertise-photo__label {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .expertise-copy__lead {
    font-size: 16px;
  }

  .founder-note footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .service-card {
    min-height: 320px;
    padding: 24px;
  }

  .finance-layout {
    gap: 55px;
  }

  .estimate-card {
    padding: 21px;
  }

  .estimate-lines span {
    font-size: 11px;
  }

  .process-step {
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 12px;
  }

  .process-step__number {
    width: 54px;
    height: 54px;
    margin: 0;
    box-shadow: none;
  }

  .process-step__body {
    min-height: 0;
  }

  .industry-card {
    min-height: 310px;
  }

  .audit-layout {
    gap: 50px;
  }

  .audit-card {
    padding: 21px;
    border-radius: 14px;
  }

  .audit-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .audit-progress {
    width: 100%;
  }

  .audit-step {
    min-height: 0;
  }

  .audit-step legend {
    font-size: 20px;
  }

  .choice-grid--two,
  .audit-fields {
    grid-template-columns: 1fr;
  }

  .audit-fields__full {
    grid-column: 1;
  }

  .audit-card__controls {
    margin-top: 18px;
  }

  .audit-card__controls .button {
    min-width: 0;
    flex: 1;
    padding-inline: 15px;
  }

  .faq-layout {
    gap: 45px;
  }

  .faq-item > button {
    min-height: 74px;
    font-size: 14px;
  }

  .final-cta {
    padding: 82px 0;
  }

  .final-cta__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .final-cta__phone {
    align-items: center;
  }

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 38px 25px;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    min-height: 90px;
  }

  .floating-contact {
    display: none;
  }

  .mobile-cta {
    position: fixed;
    z-index: 90;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 64px;
    padding: 8px 10px;
    background: rgba(8, 9, 11, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -12px 35px rgba(0, 0, 0, 0.33);
    backdrop-filter: blur(17px);
  }

  .mobile-cta a,
  .mobile-cta button {
    display: grid;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    background: transparent;
    border: 0;
    border-radius: 8px;
    place-items: center;
  }

  .mobile-cta a {
    border: 1px solid var(--line-strong);
  }

  .mobile-cta button {
    margin-left: 7px;
    background: var(--red);
  }

  .modal {
    align-items: end;
    padding: 0;
  }

  .modal__dialog {
    width: 100%;
    max-height: 92vh;
    padding: 28px 20px;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
  }

  .modal h2 {
    font-size: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-intro,
  .hero-scan,
  .motion-progress {
    display: none !important;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero__media {
    transform: none !important;
  }

  .js .reveal {
    opacity: 1;
    filter: none;
    clip-path: none;
    transform: none;
  }
}

/* Privacy page */
.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 18%, rgba(225, 27, 34, 0.09), transparent 24%),
    #090a0c;
}

.legal-header {
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 11, 0.86);
  backdrop-filter: blur(16px);
}

.legal-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
}

.legal-back {
  color: #a3a7ae;
  font-size: 13px;
  transition: color 0.2s ease;
}

.legal-back:hover {
  color: #fff;
}

.legal-content {
  padding: 90px 0 110px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: 90px;
  align-items: start;
}

.legal-layout > aside {
  position: sticky;
  top: 40px;
}

.legal-layout h1 {
  margin: 0;
  font-size: clamp(36px, 4.2vw, 60px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.legal-layout > aside > p:last-child {
  margin: 22px 0 0;
  color: #686d75;
  font-size: 11px;
}

.legal-layout article {
  padding: 12px 0;
}

.legal-layout article section {
  padding: 0 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.legal-layout article section:last-child {
  margin-bottom: 0;
}

.legal-layout article h2 {
  margin: 0 0 13px;
  font-size: 18px;
}

.legal-layout article p {
  margin: 0 0 11px;
  color: #9da1a8;
  font-size: 14px;
}

.legal-layout article a {
  color: var(--red-bright);
}

.legal-footer {
  border-top: 1px solid var(--line);
}

.legal-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  color: #5f646c;
  font-size: 10px;
}

@media (max-width: 760px) {
  .legal-content {
    padding: 65px 0 80px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .legal-layout > aside {
    position: static;
  }

  .legal-back {
    font-size: 0;
  }

  .legal-back::after {
    content: "← Назад";
    font-size: 12px;
  }
}

/* Readability update — enlarged brand, navigation and small interface text */
.site-intro__brand span,
.site-intro__content > small {
  font-size: 12px;
}

.button {
  font-size: 16px;
}

.button--small {
  font-size: 15px;
}

.eyebrow {
  font-size: 14.5px;
}

.utility-bar__inner {
  min-height: 30px;
  font-size: 12.5px;
}

.utility-contact a {
  font-size: 14px;
}

.nav-shell {
  min-height: 80px;
}

.brand {
  gap: 14px;
}

.brand__mark {
  width: 50px;
  height: 50px;
}

.brand__wording {
  gap: 3px;
}

.brand__wording strong {
  font-size: 22px;
}

.brand__wording small {
  font-size: 10.5px;
  letter-spacing: 0.09em;
}

.desktop-nav {
  gap: clamp(18px, 2vw, 32px);
  margin-inline: 30px;
}

.desktop-nav a {
  font-size: 15px;
}

.hero {
  padding-top: 110px;
}

.hero__proof {
  font-size: 15px;
}

.hero-card__head {
  font-size: 13px;
}

.control-points li > span {
  font-size: 14px;
}

.control-points strong {
  font-size: 15px;
}

.control-points small {
  font-size: 12px;
}

.hero-card__footer,
.hero-card__footer strong {
  font-size: 12px;
}

.hero-fact span {
  font-size: 13px;
}

.hero-fact--action > span {
  font-size: 12px;
}

.hero-fact--action button {
  font-size: 15px;
}

.document-strip__label {
  font-size: 13px;
}

.document-ticker span {
  font-size: 14px;
}

.document-ticker i {
  font-size: 13px;
}

.risk-card__solution {
  font-size: 14px;
}

.expertise-photo__label > span {
  font-size: 14px;
}

.expertise-photo__label p {
  font-size: 13px;
}

.expertise-photo__label strong {
  font-size: 15px;
}

.expertise-list article > span {
  font-size: 14px;
}

.founder-note footer {
  font-size: 13px;
}

.service-card__index {
  font-size: 14px;
}

.service-card li {
  font-size: 12.5px;
}

.service-card > a,
.service-card > button {
  font-size: 14px;
}

.finance-note > span {
  font-size: 15px;
}

.estimate-card__head span {
  font-size: 12px;
}

.estimate-lines span {
  font-size: 15px;
}

.estimate-lines i {
  font-size: 13px;
}

.estimate-lines b {
  font-size: 12px;
}

.estimate-card__total span {
  font-size: 12px;
}

.estimate-card__button {
  font-size: 14px;
}

.estimate-card > small {
  font-size: 11px;
}

.process-step__number {
  font-size: 16px;
}

.process-step__body > span,
.process-step small {
  font-size: 12px;
}

.industry-card__tag {
  font-size: 11px;
}

.industry-card strong {
  font-size: 13px;
}

.audit-copy li {
  font-size: 15px;
}

.audit-copy li span,
.audit-copy__note,
.audit-card__top span,
.audit-step legend small,
.choice--line em,
.audit-summary {
  font-size: 12px;
}

.choice > span,
.choice--line b {
  font-size: 14px;
}

.audit-fields label > span,
.modal form > label > span,
.form-error {
  font-size: 13px;
}

.privacy-check span {
  font-size: 12px !important;
}

.final-cta__phone small {
  font-size: 12px;
}

.footer-nav strong,
.footer-contact > strong,
.footer-nav a,
.footer-contact span,
.footer-contact button {
  font-size: 13px;
}

.footer-bottom {
  font-size: 11px;
}

.floating-contact {
  font-size: 14px;
}

.modal__direct span {
  font-size: 12px;
}

.legal-back {
  font-size: 15px;
}

.legal-layout > aside > p:last-child {
  font-size: 13px;
}

.legal-footer .container {
  font-size: 12px;
}

@media (max-width: 900px) {
  .mobile-menu {
    top: 110px;
    height: calc(100vh - 110px);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 101px;
  }

  .nav-shell {
    min-height: 70px;
  }

  .brand {
    gap: 10px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .brand__wording {
    gap: 2px;
  }

  .brand__wording strong {
    font-size: 20px;
  }

  .brand__wording small {
    font-size: 9.5px;
  }

  .mobile-menu {
    top: 95px;
    height: calc(100vh - 95px);
  }

  .hero {
    padding-top: 95px;
  }

  .eyebrow {
    font-size: 13.5px;
  }

  .hero__proof {
    font-size: 13.5px;
  }

  .hero-fact span {
    font-size: 11.5px;
  }

  .estimate-lines span {
    font-size: 13px;
  }

  .mobile-cta a,
  .mobile-cta button {
    font-size: 14px;
  }

  .legal-back::after {
    font-size: 14px;
  }
}

/* Readability update v2 — noticeably larger body text and quiz text */
.hero__proof,
.hero-card__head,
.document-strip__label {
  font-size: 16px;
}

.control-points li > span,
.control-points strong,
.document-ticker span,
.estimate-lines span,
.expertise-list article > span,
.audit-copy li,
.footer-nav strong,
.footer-contact > strong {
  font-size: 16px;
}

.control-points small,
.hero-card__footer,
.hero-card__footer strong,
.document-ticker i,
.hero-fact--action > span,
.audit-copy__note,
.audit-step legend small,
.audit-card__top span,
.audit-summary,
.final-cta__phone small,
.footer-bottom,
.modal__direct span,
.legal-layout > aside > p:last-child,
.legal-footer .container {
  font-size: 14px;
}

.hero-fact span,
.risk-card__solution,
.expertise-photo__label > span,
.expertise-photo__label p,
.founder-note footer,
.service-card__index,
.service-card > p,
.service-card > a,
.service-card > button,
.estimate-card__button,
.industry-card strong,
.choice--line em,
.audit-fields label > span,
.modal form > label > span,
.form-error,
.floating-contact {
  font-size: 15px;
}

.expertise-photo__label strong,
.estimate-card__total strong,
.hero-fact--action button {
  font-size: 17px;
}

.service-card li,
.process-step__body > span,
.process-step small,
.industry-card__tag,
.audit-copy li span,
.audit-card__top strong,
.choice > span,
.choice--line b,
.choice--line em,
.final-cta__phone strong,
.footer-nav a,
.footer-contact span,
.footer-contact button,
.hero-fact span {
  font-size: 16px;
}

.process-step__number,
.service-card__index,
.finance-note > span,
.estimate-lines i,
.estimate-card__head span,
.estimate-card__total span {
  font-size: 15px;
}

.process-step p,
.industry-card p,
.expertise-list p,
.estimate-lines b {
  font-size: 16px;
}

.audit-step {
  min-height: 410px;
}

.audit-step legend {
  margin-bottom: 28px;
}

.choice-grid {
  gap: 12px;
}

.choice > span {
  min-height: 76px;
  padding: 17px 18px;
  line-height: 1.4;
}

.choice--line > span {
  min-height: 90px;
}

.choice i {
  width: 20px;
  height: 20px;
  margin-right: 12px;
}

.choice i::after {
  inset: 4px;
}

.audit-fields input,
.audit-fields select,
.modal input {
  height: 54px;
  padding: 0 15px;
  font-size: 17px;
}

.audit-fields textarea,
.modal textarea {
  min-height: 96px;
  padding: 14px 15px;
  font-size: 17px;
}

.privacy-check {
  gap: 11px !important;
}

.privacy-check input {
  width: 17px;
  height: 17px;
}

.privacy-check span {
  font-size: 15px !important;
}

.audit-summary {
  padding: 14px 16px;
  line-height: 1.5;
}

.audit-card__controls .button,
.audit-next,
.audit-submit,
.audit-back {
  font-size: 17px;
}

@media (max-width: 900px) {
  .choice-grid--two {
    grid-template-columns: 1fr;
  }

  .audit-step {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .hero__proof,
  .hero-card__head,
  .document-strip__label,
  .control-points li > span,
  .control-points strong,
  .document-ticker span,
  .estimate-lines span,
  .audit-copy li,
  .choice > span,
  .choice--line b,
  .footer-nav a,
  .footer-contact span,
  .footer-contact button,
  .hero-fact span,
  .process-step p,
  .industry-card p,
  .service-card > p {
    font-size: 15px;
  }

  .control-points small,
  .hero-card__footer,
  .hero-card__footer strong,
  .document-ticker i,
  .audit-copy__note,
  .audit-step legend small,
  .audit-card__top span,
  .privacy-check span,
  .audit-summary,
  .footer-bottom {
    font-size: 13px !important;
  }

  .choice > span {
    min-height: 70px;
    padding: 15px 16px;
  }

  .choice--line > span {
    min-height: 84px;
  }

  .audit-fields input,
  .audit-fields select,
  .modal input {
    height: 52px;
    font-size: 16px;
  }

  .audit-fields textarea,
  .modal textarea {
    font-size: 16px;
  }
}

/* Layout compensation for the global +2px typography increase */
.desktop-nav {
  gap: clamp(14px, 1.75vw, 28px);
  margin-inline: 24px;
}

.risk-card {
  min-height: 440px;
}

.service-card {
  min-height: 365px;
}

.process-step__body {
  min-height: 330px;
}

.industry-card {
  min-height: 365px;
}

.footer-main {
  align-items: start;
}

.footer-nav,
.footer-contact {
  min-width: 0;
}

.footer-nav a,
.footer-contact span,
.footer-contact button {
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 14px;
    margin-inline: 16px;
  }

  .nav-cta.button {
    padding-inline: 18px;
  }
}

@media (max-width: 900px) {
  .risk-card,
  .service-card,
  .industry-card {
    min-height: 0;
  }

  .process-step__body {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .risk-card {
    min-height: 420px;
  }

  .service-card {
    min-height: 350px;
  }

  .process-step__body {
    min-height: 0;
  }

  .industry-card {
    min-height: 330px;
  }

  .audit-card__controls {
    flex-wrap: wrap;
  }

  .audit-card__controls .button {
    flex: 1 1 145px;
    min-height: 54px;
    white-space: normal;
  }

  .footer-main {
    gap: 34px 22px;
  }
}

@media (max-width: 420px) {
  .footer-main {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }

  .audit-card__controls .button {
    flex-basis: 100%;
  }
}

/* Logo refresh v4 */
.site-intro__logo {
  display: block;
  width: min(340px, calc(100vw - 56px));
  filter: drop-shadow(0 18px 38px rgba(225, 27, 34, 0.28));
  animation: introMark 0.95s var(--ease) both;
}

.site-intro__brand {
  margin-top: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand__logo {
  display: block;
  width: clamp(220px, 16vw, 310px);
  height: auto;
}

.brand__logo--footer {
  width: clamp(220px, 16vw, 290px);
}

.hero__floating-logo {
  position: absolute;
  z-index: 2;
  top: 235px;
  right: clamp(240px, 15vw, 320px);
  width: clamp(72px, 7vw, 122px);
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(225, 27, 34, 0.24));
  opacity: 0.98;
  pointer-events: none;
}

.footer-brand .brand {
  margin-bottom: 18px;
}

@media (max-width: 1180px) {
  .brand__logo {
    width: clamp(200px, 19vw, 280px);
  }

  .hero__floating-logo {
    right: clamp(180px, 10vw, 240px);
    width: clamp(62px, 6vw, 98px);
  }
}

@media (max-width: 900px) {
  .brand__logo {
    width: 210px;
  }

  .hero__floating-logo {
    top: 205px;
    right: 26px;
    width: 74px;
  }
}

@media (max-width: 640px) {
  .site-intro__logo {
    width: min(270px, calc(100vw - 46px));
  }

  .brand__logo {
    width: 175px;
  }

  .brand__logo--footer {
    width: 185px;
  }

  .hero__floating-logo {
    top: 165px;
    right: 14px;
    width: 56px;
  }
}


/* Process step thematic images v6 */
.process-step__body {
  display: flex;
  flex-direction: column;
  min-height: 470px;
}

.process-step small {
  margin-bottom: 14px;
}

.process-step__image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-top: auto;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 28px rgba(0,0,0,0.24);
}

@media (max-width: 1100px) {
  .process-step__body {
    min-height: 440px;
  }
}

@media (max-width: 900px) {
  .process-step__body {
    min-height: auto;
  }

  .process-step__image {
    margin-top: 16px;
  }
}


/* Industry images and image optimization update v7 */
.industry-card {
  min-height: 430px;
}

.industry-card__image {
  position: absolute;
  z-index: 0;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  width: 72%;
  max-width: 360px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 14px 34px rgba(0,0,0,0.34);
  opacity: 0.95;
}

.industry-card::after {
  background: linear-gradient(0deg, rgba(7, 8, 10, 0.96) 6%, rgba(7, 8, 10, 0.64) 34%, rgba(7, 8, 10, 0.14) 78%);
}

.industry-card > div {
  position: relative;
  z-index: 1;
}

.industry-card:hover .industry-card__image {
  transform: translate(-50%, -50%) scale(1.02);
}

@media (max-width: 1200px) {
  .industry-card__image {
    width: 76%;
  }
}

@media (max-width: 900px) {
  .industry-card {
    min-height: 410px;
  }

  .industry-card__image {
    width: 68%;
    top: 44%;
  }
}

@media (max-width: 640px) {
  .industry-card {
    min-height: 380px;
  }

  .industry-card__image {
    width: 62%;
    max-width: 260px;
    top: 42%;
  }
}


/* Compact vertical rhythm and spacing fixes v8 */
.section {
  padding-block: 78px;
}

.section-heading {
  margin-bottom: 42px;
}

.final-cta {
  padding-block: 80px;
}

/* Keep clear separation between the title and description in quiz step 2. */
.choice--line > span {
  align-items: center;
}

.choice--line .choice__copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 7px;
}

.choice--line .choice__copy b,
.choice--line .choice__copy em {
  margin: 0;
  line-height: 1.35;
}

/* Add visible spacing between the stage title and its explanation in ILIT CONTROL. */
.control-points div {
  column-gap: 20px;
}

.control-points small {
  margin-left: auto;
  text-align: right;
}

@media (max-width: 1100px) {
  .section {
    padding-block: 66px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .final-cta {
    padding-block: 68px;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 52px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .final-cta {
    padding-block: 56px;
  }

  .control-points div {
    align-items: flex-start;
    column-gap: 12px;
  }

  .control-points small {
    max-width: 48%;
  }

  .choice--line .choice__copy {
    gap: 5px;
  }
}

/* Card photo layout correction v9 */
/* Industries: keep each photo in normal document flow between the tag and text. */
.industry-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  min-height: 470px;
  padding: 20px 20px 24px;
}

.industry-card__image {
  position: relative;
  z-index: 1;
  top: auto;
  left: auto;
  width: 100%;
  max-width: none;
  height: 170px;
  margin: 62px 0 18px;
  object-fit: cover;
  aspect-ratio: auto;
  opacity: 1;
  transform: none;
  transition: transform 0.35s var(--ease), filter 0.35s ease;
}

.industry-card > div {
  position: relative;
  z-index: 1;
  margin-top: 0;
}

.industry-card::after {
  background: linear-gradient(0deg, rgba(7, 8, 10, 0.92) 0%, rgba(7, 8, 10, 0.25) 58%, rgba(7, 8, 10, 0.08) 100%);
  pointer-events: none;
}

.industry-card:hover .industry-card__image {
  transform: scale(1.015);
  filter: brightness(1.06);
}

/* Process: restore compact text-first cards and use a shorter image strip. */
.process-step__body {
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: 22px 18px;
}

.process-step small {
  margin-bottom: 10px;
}

.process-step__image {
  width: 100%;
  height: clamp(76px, 5.2vw, 94px);
  margin-top: auto;
  object-fit: cover;
  aspect-ratio: auto;
  border-radius: 10px;
}

@media (max-width: 1180px) {
  .industry-card {
    min-height: 455px;
  }

  .industry-card__image {
    width: 100%;
    height: 158px;
  }

  .process-step__body {
    min-height: 350px;
  }

  .process-step__image {
    height: 96px;
  }
}

@media (max-width: 900px) {
  .industry-card {
    min-height: 0;
    padding: 20px 20px 24px;
  }

  .industry-card__image {
    width: 100%;
    max-width: none;
    height: 200px;
    margin: 60px 0 18px;
  }

  .process-step__body {
    min-height: 0;
  }

  .process-step__image {
    height: 116px;
    margin-top: 16px;
  }
}

@media (max-width: 640px) {
  .industry-card {
    min-height: 0;
  }

  .industry-card__image {
    width: 100%;
    max-width: none;
    height: 170px;
    margin-top: 56px;
  }

  .process-step__image {
    height: 100px;
  }
}


/* Process image and footer legal details update v10 */
.process-step__image {
  height: clamp(114px, 7.8vw, 141px);
}

.footer-bottom__legal,
.legal-footer__details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.footer-bottom__legal small,
.legal-footer__details small {
  color: #5b6068;
  font-size: inherit;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .process-step__image {
    height: 144px;
  }
}

@media (max-width: 900px) {
  .process-step__image {
    height: 174px;
  }
}

@media (max-width: 640px) {
  .process-step__image {
    height: 150px;
  }

  .footer-bottom__legal,
  .legal-footer__details {
    align-items: center;
    text-align: center;
  }
}


/* Social links and stable hero logo positioning v11 */
.social-links {
  display: flex;
  align-items: center;
  gap: 7px;
}

.social-links a {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  color: #aeb2b9;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
  place-items: center;
}

.social-links a:hover {
  color: #fff;
  background: rgba(225, 27, 34, 0.13);
  border-color: rgba(255, 48, 56, 0.5);
  transform: translateY(-2px);
}

.social-links svg {
  width: 17px;
  height: 17px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a:first-child svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.social-icon-dot {
  fill: currentColor;
  stroke: none;
}

.social-links--header {
  gap: 5px;
}

.social-links--header a {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
  border-radius: 7px;
}

.social-links--header svg {
  width: 14px;
  height: 14px;
}

.social-links--mobile {
  display: none;
}

.social-links--footer {
  margin-top: 14px;
}

.social-links--footer a {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
}

.social-links--footer svg {
  width: 18px;
  height: 18px;
}

.utility-contact {
  gap: 14px;
}

.utility-contact__phone {
  white-space: nowrap;
}

.hero-card-wrap {
  position: relative;
  align-self: end;
  margin-bottom: 27px;
}

.hero-card-wrap .hero-card {
  align-self: stretch;
  margin-bottom: 0;
}

.hero__floating-logo {
  top: -132px;
  right: auto;
  left: 50%;
  width: clamp(82px, 6vw, 108px);
  transform: translateX(-50%);
}

@media (max-width: 1180px) {
  .hero__floating-logo {
    top: -112px;
    right: auto;
    left: 50%;
    width: 92px;
  }
}

@media (max-width: 900px) {
  .social-links--header {
    display: none;
  }

  .social-links--mobile {
    display: flex;
    justify-content: center;
    margin: 2px 0 16px;
  }

  .social-links--mobile a {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    border-radius: 10px;
  }

  .social-links--mobile svg {
    width: 20px;
    height: 20px;
  }

  .hero-card-wrap {
    margin-top: 92px;
  }

  .hero__floating-logo {
    top: -90px;
    right: auto;
    left: 50%;
    width: 72px;
  }
}

@media (max-width: 640px) {
  .utility-contact {
    gap: 8px;
  }

  .hero-card-wrap {
    margin-top: 74px;
  }

  .hero__floating-logo {
    top: -72px;
    right: auto;
    left: 50%;
    width: 58px;
  }

  .social-links--footer {
    justify-content: flex-start;
  }
}


/* Social icon images update v12 */
.social-links img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.social-links svg {
  display: none;
}

.social-links a {
  overflow: hidden;
  background: rgba(255,255,255,0.06);
}

.social-links--header a,
.social-links--footer a {
  border-radius: 999px;
}

.social-links--mobile a {
  border-radius: 999px;
}


/* Mobile icon, hero logo and modal corrections v13 */
.social-links img {
  display: none !important;
}

.social-links svg {
  display: block;
}

.social-links a {
  overflow: visible;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.social-links--header a {
  border-radius: 7px;
}

.social-links--footer a,
.social-links--mobile a {
  border-radius: 10px;
}

@media (max-width: 900px) {
  .social-links--mobile {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 6px 0 18px;
  }

  .social-links--mobile a {
    display: inline-grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
  }

  .social-links--mobile svg {
    width: 21px;
    height: 21px;
  }

  .hero__floating-logo {
    display: none !important;
  }

  .hero-card-wrap {
    margin-top: 20px;
  }
}

@media (max-width: 640px) {
  .hero-card-wrap {
    margin-top: 12px;
  }

  .modal {
    align-items: stretch;
    padding: max(6px, env(safe-area-inset-top)) 0 0;
  }

  .modal__dialog {
    width: 100%;
    height: calc(100dvh - max(6px, env(safe-area-inset-top)));
    max-height: none;
    padding: 60px 20px calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 18px 18px 0 0;
    -webkit-overflow-scrolling: touch;
  }

  .modal__close {
    position: fixed;
    z-index: 520;
    top: calc(max(6px, env(safe-area-inset-top)) + 10px);
    right: 12px;
    width: 40px;
    height: 40px;
    color: #fff;
    background: rgba(17, 19, 23, 0.94);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  }

  .modal__dialog > p:not(.eyebrow) {
    margin-top: 12px;
  }
}


/* Official MAX symbol and top mobile social links v14 */
.social-link--max img {
  display: block !important;
  width: 17px;
  height: 17px;
  object-fit: contain;
  border-radius: 0;
}

@media (max-width: 900px) {
  .utility-bar__inner {
    display: grid;
    grid-template-columns: auto minmax(112px, 1fr) auto;
    gap: 10px;
    min-height: 42px;
  }

  .utility-locations {
    min-width: 0;
    gap: 0;
  }

  .utility-contact {
    min-width: 0;
    justify-content: flex-end;
    gap: 0;
  }

  .social-links--header {
    display: flex !important;
    justify-self: center;
    gap: 6px;
    margin: 0;
  }

  .social-links--header a {
    display: inline-grid;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    border-radius: 8px;
    place-items: center;
  }

  .social-links--header svg,
  .social-links--header .social-link--max img {
    width: 15px;
    height: 15px;
  }

  .social-links--mobile {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .utility-bar__inner {
    grid-template-columns: auto minmax(104px, 1fr) auto;
    gap: 7px;
  }

  .utility-locations span,
  .utility-contact__phone {
    font-size: 11px;
    letter-spacing: 0.055em;
  }

  .social-links--header {
    gap: 4px;
  }

  .social-links--header a {
    width: 25px;
    height: 25px;
    flex-basis: 25px;
  }

  .social-links--header svg,
  .social-links--header .social-link--max img {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 420px) {
  .utility-bar__inner {
    grid-template-columns: auto 1fr auto;
    gap: 5px;
  }

  .social-links--header a {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }

  .social-links--header svg,
  .social-links--header .social-link--max img {
    width: 13px;
    height: 13px;
  }

  .utility-locations span,
  .utility-contact__phone {
    font-size: 10px;
    letter-spacing: 0.025em;
  }
}

/* Unified messenger icon styling v15 */
.social-links {
  gap: 8px;
}

.social-links a {
  display: inline-grid;
  place-items: center;
  color: #eef2f6;
  background: rgba(18, 22, 29, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.social-links a:hover {
  color: #ffffff;
  background: rgba(28, 33, 42, 0.96);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

.social-links svg,
.social-link--max img {
  width: 17px !important;
  height: 17px !important;
}

.social-links svg {
  display: block !important;
  stroke: currentColor;
  stroke-width: 1.8;
  opacity: 0.96;
}

.social-link--max img {
  object-fit: contain;
  border-radius: 0;
  filter: brightness(0) saturate(100%) invert(96%) opacity(0.96);
}

.social-links a:hover .social-link--max img,
.social-links a:hover img {
  filter: brightness(0) saturate(100%) invert(100%) opacity(1);
}

.social-links--header a {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 9px;
}

.social-links--footer a,
.social-links--mobile a {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 10px;
}

@media (max-width: 900px) {
  .social-links--header {
    gap: 6px;
  }

  .social-links--header a {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    border-radius: 8px;
  }

  .social-links svg,
  .social-link--max img {
    width: 15px !important;
    height: 15px !important;
  }
}

@media (max-width: 640px) {
  .social-links--header a {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    border-radius: 8px;
  }

  .social-links svg,
  .social-link--max img {
    width: 14px !important;
    height: 14px !important;
  }
}

@media (max-width: 420px) {
  .social-links--header {
    gap: 4px;
  }

  .social-links--header a {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    border-radius: 7px;
  }

  .social-links svg,
  .social-link--max img {
    width: 13px !important;
    height: 13px !important;
  }
}

/* Mobile messenger spacing refinement v16 */
@media (max-width: 900px) {
  .utility-bar {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .utility-bar__inner {
    min-height: 46px;
    align-items: center;
  }

  .social-links--header {
    margin-top: 3px;
    margin-bottom: 3px;
    align-self: center;
  }
}

@media (max-width: 640px) {
  .utility-bar {
    padding-top: 5px;
    padding-bottom: 5px;
  }

  .utility-bar__inner {
    min-height: 48px;
  }

  .social-links--header {
    margin-top: 4px;
    margin-bottom: 4px;
  }
}

/* Increased outer spacing for mobile messenger icons v18 */
@media (max-width: 900px) {
  .utility-bar {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .utility-bar__inner {
    min-height: 54px;
  }

  .social-links--header {
    margin-top: 6px;
    margin-bottom: 6px;
  }
}

@media (max-width: 640px) {
  .utility-bar {
    padding-top: 9px;
    padding-bottom: 9px;
  }

  .utility-bar__inner {
    min-height: 56px;
  }

  .social-links--header {
    margin-top: 7px;
    margin-bottom: 7px;
  }
}


/* Definitive mobile outer spacing for messenger row v19 */
@media (max-width: 900px) {
  .utility-bar {
    padding-top: 12px !important;
    padding-bottom: 14px !important;
  }

  .utility-bar__inner {
    min-height: 0 !important;
    height: auto !important;
    align-items: center !important;
  }

  .social-links--header {
    margin: 0 !important;
    padding: 0 !important;
    align-self: center !important;
  }
}

@media (max-width: 640px) {
  .utility-bar {
    padding-top: 14px !important;
    padding-bottom: 16px !important;
  }
}

/* Desktop and mobile messenger row outer spacing v20 */
.utility-bar {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.utility-bar__inner {
  min-height: 34px !important;
  height: auto !important;
  align-items: center !important;
}

.social-links--header {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  align-self: center !important;
}

@media (max-width: 900px) {
  .utility-bar {
    padding-top: 12px !important;
    padding-bottom: 14px !important;
  }

  .utility-bar__inner {
    min-height: 34px !important;
  }
}

@media (max-width: 640px) {
  .utility-bar {
    padding-top: 14px !important;
    padding-bottom: 16px !important;
  }
}


/* Hidden anti-spam field for email forms v21 */
.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* Messenger choice after form submission v22 */
body.messenger-open {
  overflow: hidden;
}

.messenger-modal {
  position: fixed;
  z-index: 560;
  inset: 0;
  display: grid;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  place-items: center;
}

.messenger-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.messenger-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(10px);
}

.messenger-modal__dialog {
  position: relative;
  width: min(100%, 520px);
  max-height: calc(100dvh - 40px);
  padding: 34px;
  overflow-y: auto;
  background: #111317;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.64);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.3s var(--ease);
}

.messenger-modal.is-open .messenger-modal__dialog {
  transform: translateY(0) scale(1);
}

.messenger-modal__dialog::before {
  position: absolute;
  top: 0;
  right: 35px;
  left: 35px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
}

.messenger-modal__close {
  position: absolute;
  top: 15px;
  right: 15px;
  display: grid;
  width: 36px;
  height: 36px;
  padding: 0 0 2px;
  color: #b1b5bc;
  font-size: 26px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  cursor: pointer;
  place-items: center;
}

.messenger-modal h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.messenger-modal__status {
  margin: 16px 0 22px;
  color: #92969e;
  font-size: 14px;
  line-height: 1.55;
}

.messenger-modal__status.is-warning {
  color: #d9a0a3;
}

.messenger-options {
  display: grid;
  gap: 10px;
}

.messenger-option {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 14px;
  color: #f2f3f5;
  text-align: left;
  background: #171a1f;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.messenger-option:hover {
  background: #1b1f25;
  border-color: rgba(255, 48, 56, 0.45);
  transform: translateY(-2px);
}

.messenger-option__icon {
  display: grid;
  width: 48px;
  height: 48px;
  color: #f4f5f7;
  background: #101216;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  place-items: center;
}

.messenger-option__icon svg,
.messenger-option__icon img {
  width: 24px;
  height: 24px;
}

.messenger-option__icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.messenger-option:first-child .messenger-option__icon svg path:first-child {
  fill: currentColor;
  stroke: none;
}

.messenger-option__icon img {
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(98%);
}

.messenger-option > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.messenger-option strong {
  font-size: 16px;
}

.messenger-option small {
  color: #858a92;
  font-size: 12px;
  line-height: 1.35;
}

.messenger-option > i {
  color: var(--red-bright);
  font-size: 20px;
  font-style: normal;
}

.messenger-modal__note {
  min-height: 20px;
  margin: 16px 0 0;
  color: #737881;
  font-size: 12px;
  line-height: 1.5;
}

.button:disabled {
  opacity: 0.65;
  cursor: wait;
}

@media (max-width: 640px) {
  .messenger-modal {
    align-items: end;
    padding: max(8px, env(safe-area-inset-top)) 0 0;
  }

  .messenger-modal__dialog {
    width: 100%;
    max-height: calc(100dvh - max(8px, env(safe-area-inset-top)));
    padding: 54px 18px calc(24px + env(safe-area-inset-bottom));
    border-radius: 18px 18px 0 0;
  }

  .messenger-modal__close {
    position: fixed;
    z-index: 570;
    top: calc(max(8px, env(safe-area-inset-top)) + 10px);
    right: 12px;
    width: 40px;
    height: 40px;
    color: #fff;
    background: rgba(17, 19, 23, 0.96);
  }

  .messenger-modal h2 {
    font-size: 29px;
  }

  .messenger-option {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px;
  }

  .messenger-option__icon {
    width: 44px;
    height: 44px;
  }
}


/* Form phone mask and quiz auto-navigation v25 */
.audit-step legend {
  scroll-margin-top: 150px;
}

input[data-phone-mask] {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

@media (max-width: 900px) {
  .audit-step legend {
    scroll-margin-top: 172px;
  }
}

@media (max-width: 640px) {
  .audit-step legend {
    scroll-margin-top: 155px;
  }
}


/* Messenger new-tab behavior support and compact final quiz steps v26 */
.audit-card[data-current-step="3"] .audit-step,
.audit-card[data-current-step="4"] .audit-step {
  min-height: 0;
}

.audit-card[data-current-step="3"] .audit-card__controls,
.audit-card[data-current-step="4"] .audit-card__controls {
  margin-top: 18px;
}

.audit-card[data-current-step="3"] .form-error,
.audit-card[data-current-step="4"] .form-error {
  min-height: 0;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .audit-card[data-current-step="3"] .audit-card__controls,
  .audit-card[data-current-step="4"] .audit-card__controls {
    margin-top: 14px;
  }
}


/* Stable intro logo and header-safe hero positioning v27 */
@keyframes introLogoFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-intro__logo {
  aspect-ratio: 680 / 312;
  transform: none !important;
  animation: introLogoFade 0.7s ease 0.06s both !important;
}

.brand__logo {
  aspect-ratio: 680 / 312;
  object-fit: contain;
}

/* The fixed header has grown with the messenger row. Its real measured height
   is written to --site-header-height by script.js so the hero never slips below it. */
.hero {
  padding-top: var(--site-header-height, 134px) !important;
}

@media (max-width: 900px) {
  .mobile-menu {
    top: var(--site-header-height, 134px) !important;
    height: calc(100dvh - var(--site-header-height, 134px)) !important;
  }

  .hero__content .eyebrow {
    position: relative;
    z-index: 3;
  }
}


/* Intro original logo asset v28 */
.site-intro__logo {
  aspect-ratio: 1358 / 624 !important;
  width: min(420px, calc(100vw - 56px)) !important;
  height: auto;
  object-fit: contain;
  image-rendering: auto;
}

@media (max-width: 640px) {
  .site-intro__logo {
    width: min(320px, calc(100vw - 42px)) !important;
  }
}


/* Fast intro logo loading v29 */
.site-intro__logo {
  aspect-ratio: 720 / 331 !important;
  opacity: 1 !important;
  animation: none !important;
  transform: none !important;
}
