:root {
  color-scheme: dark;
  --asg-bg: #202020;
  --asg-bg-deep: #171717;
  --asg-panel: #222;
  --asg-panel-soft: #252525;
  --asg-line: #454545;
  --asg-line-strong: #656565;
  --asg-text: #f1f1ef;
  --asg-muted: #a7a7a7;
  --asg-gold: #c5ad61;
  --asg-max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--asg-bg); }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--asg-bg);
  color: var(--asg-text);
  font-family: "Inter Tight", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
}
body, input, select, button { font-family: "Inter Tight", Arial, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--asg-gold); outline-offset: 3px; }
.skip-link { position: fixed; top: -80px; left: 12px; z-index: 1200; padding: 10px 16px; border-radius: 10px; background: #fff; color: #111; }
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--asg-max)); margin-inline: auto; }

.button {
  min-height: 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border: 1px solid #f1f1ef;
  border-radius: 100px;
  background: #f1f1ef;
  color: #1c1c1c;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease;
}
.button:hover { border-color: var(--asg-gold); background: var(--asg-gold); }
.button--ghost { border-color: #5d5d5d; background: transparent; color: var(--asg-text); }
.button--ghost:hover { border-color: var(--asg-gold); background: rgba(197, 173, 97, .08); color: var(--asg-gold); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 990;
  padding-top: 9px;
  pointer-events: none;
}
.site-header__inner {
  min-height: 60px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 7px 14px 7px 24px;
  border: 1px solid rgba(129, 129, 129, .5);
  border-radius: 100px;
  background: rgba(34, 34, 34, .48);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
  backdrop-filter: blur(10px);
  pointer-events: auto;
}
.logo { flex: 0 0 auto; width: 136px; text-decoration: none; }
.logo img { width: 136px; height: auto; }
.site-nav { min-width: 0; display: flex; align-items: center; gap: 25px; margin-left: 12px; }
.site-nav a { color: var(--asg-muted); font-size: 14px; font-weight: 400; line-height: 1.3; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: var(--asg-gold); }
.site-header__phone { margin-left: auto; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.site-header .button { min-height: 44px; padding-inline: 20px; white-space: nowrap; }

.hero {
  position: relative;
  min-height: 697px;
  overflow: hidden;
  background: var(--asg-bg-deep);
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: .9;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(23,23,23,1) 0%, rgba(23,23,23,.98) 26%, rgba(23,23,23,.9) 49%, rgba(23,23,23,.26) 82%, rgba(23,23,23,.16) 100%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  min-height: 697px;
  display: block;
  padding-top: 118px;
  padding-bottom: 44px;
}
.hero__inner > div:first-child { max-width: 760px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; color: #8f8f8f; font-size: 12px; }
.breadcrumbs a { text-underline-offset: 3px; }
.eyebrow { margin: 0 0 10px; color: var(--asg-gold); font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: none; }
.hero h1 {
  max-width: 790px;
  margin: 0 0 24px;
  color: #fff;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
}
.hero h1 span { color: var(--asg-gold); }
.hero__lead { max-width: 720px; margin: 0 0 22px; color: #d3d3d3; font-size: 16px; line-height: 1.35; }
.hero__facts { display: none; }
.direction-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; }
.direction-links a { padding: 0 0 3px; border-bottom: 1px solid #555; color: #b9b9b9; font-size: 12px; font-weight: 400; text-decoration: none; }
.direction-links a:hover, .direction-links a[aria-current="page"] { border-color: var(--asg-gold); color: var(--asg-gold); }
.hero__visual-note { position: absolute; z-index: 3; right: 18px; bottom: 14px; margin: 0; color: rgba(241,241,239,.6); font-size: 10px; }

.lead-card {
  max-width: 900px;
  margin-top: 30px;
  padding: 18px 20px 14px;
  border: 1px solid rgba(101, 101, 101, .78);
  border-radius: 24px;
  background: rgba(34, 34, 34, .48);
  backdrop-filter: blur(10px);
}
.lead-card h2 { margin: 0 0 4px; color: #fff; font-size: 16px; font-weight: 600; line-height: 1.25; }
.lead-card > p { margin: 0 0 13px; color: var(--asg-muted); font-size: 12px; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr 1.15fr .9fr; gap: 10px; align-items: start; }
.lead-form > input[type="hidden"], .lead-form > div[hidden] { display: none; }
.lead-form > .t-input-group:has(.consent) { grid-column: 1 / -1; grid-row: 2; }
.lead-form > .tn-form__submit { grid-column: 4; grid-row: 1; }
.t-input-group { min-width: 0; }
.lead-form label:not(.consent) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lead-form input[type="text"], .lead-form input[type="tel"], .lead-form select {
  width: 100%;
  height: 42px;
  padding: 0 16px;
  border: 1px solid #434140;
  border-radius: 13px;
  outline: none;
  background: rgba(32, 32, 32, .62);
  color: var(--asg-text);
  font-size: 14px;
  font-weight: 400;
}
.lead-form select { padding-right: 34px; color: var(--asg-text); }
.lead-form input::placeholder { color: #858585; opacity: 1; }
.tn-form__submit .button { width: 100%; min-height: 42px; border-radius: 13px; white-space: nowrap; }
.consent { grid-column: 1 / -1; display: grid; grid-template-columns: 18px 1fr; gap: 8px; align-items: start; color: #8f8f8f; font-size: 10px; line-height: 1.25; }
.consent input { width: 17px; height: 17px; margin: 0; accent-color: var(--asg-gold); }
.consent a { color: var(--asg-gold); }
.js-error-control-box input, .js-error-control-box select, .js-error-control-box .consent { outline: 2px solid #e36b67; outline-offset: 2px; }

.proof-strip { position: relative; z-index: 3; background: var(--asg-bg); border-bottom: 1px solid #343434; }
.proof-strip__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof { position: relative; min-height: 94px; padding: 25px 18px 22px 64px; border-right: 1px solid #343434; }
.proof:last-child { border-right: 0; }
.proof::before { content: ""; position: absolute; top: 25px; left: 18px; width: 32px; height: 32px; border-radius: 10px; background: rgba(197,173,97,.16); box-shadow: inset 0 0 0 1px rgba(197,173,97,.12); }
.proof::after { content: "•"; position: absolute; top: 27px; left: 29px; color: var(--asg-gold); font-size: 18px; }
.proof strong { display: block; margin-bottom: 2px; color: #fff; font-size: 18px; font-weight: 600; line-height: 1.25; }
.proof span { display: block; color: #8f8f8f; font-size: 12px; line-height: 1.25; }

.section { padding: 78px 0; background: var(--asg-bg); }
.section--soft { background: #1b1b1b; }
.section-title { max-width: 780px; margin: 0 0 18px; color: #fff; font-size: clamp(32px, 3.1vw, 36px); font-weight: 600; line-height: 1.06; letter-spacing: -.02em; }
.section-lead { max-width: 760px; margin: 0 0 38px; color: var(--asg-muted); font-size: 16px; line-height: 1.45; }

.cards, .benchmark-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card, .benchmark, .technology, .answer, .process__item {
  border: 1px solid var(--asg-line);
  border-radius: 24px;
  background: rgba(34, 34, 34, .45);
}
.card { padding: 25px; }
.card h3, .benchmark h3 { margin: 0 0 10px; color: #fff; font-size: 20px; font-weight: 600; line-height: 1.25; }
.card p { margin: 0 0 16px; color: var(--asg-muted); }
.card a { color: var(--asg-gold); font-size: 14px; font-weight: 500; text-underline-offset: 4px; }
.card__list { padding-left: 18px; margin: 0; color: #c6c6c6; }
.card__list li + li { margin-top: 7px; }

.benchmark { min-height: 280px; display: flex; flex-direction: column; padding: 25px; }
.benchmark__label { margin: 0 0 13px; color: var(--asg-gold); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.benchmark__price { margin: 0 0 5px; color: #fff; font-size: 26px; font-weight: 600; line-height: 1.08; }
.benchmark__time { margin: 0 0 15px; color: #d3d3d3; font-size: 14px; font-weight: 500; }
.benchmark > p:last-child { margin: auto 0 0; color: var(--asg-muted); font-size: 14px; }
.source-note { margin: 22px 0 0; padding: 17px 20px; border: 1px solid #3f3f3f; border-radius: 16px; background: rgba(34,34,34,.45); color: #929292; font-size: 12px; line-height: 1.45; }
.source-note strong { color: #d7d7d7; font-weight: 600; }
.source-note a { color: var(--asg-gold); text-underline-offset: 3px; }

.model-card, .estimate {
  display: grid;
  gap: 34px;
  padding: 34px;
  border: 1px solid var(--asg-line-strong);
  border-radius: 24px;
  background: rgba(34,34,34,.55);
}
.model-card { grid-template-columns: .85fr 1.15fr; }
.estimate { grid-template-columns: 1fr .9fr; }
.model-card h2, .estimate h2 { margin: 0 0 13px; color: #fff; font-size: clamp(30px, 3vw, 36px); font-weight: 600; line-height: 1.08; }
.model-card p, .estimate p { color: var(--asg-muted); }
.model-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.model-stat { padding: 16px; border: 1px solid #424242; border-radius: 15px; background: rgba(23,23,23,.55); }
.model-stat strong { display: block; margin-bottom: 4px; color: var(--asg-gold); font-size: 20px; font-weight: 600; }
.model-stat span { color: #b7b7b7; font-size: 12px; }
.model-disclaimer { grid-column: 1 / -1; margin: 4px 0 0 !important; color: #858585 !important; font-size: 11px; }

.technology-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.technology { padding: 22px; }
.technology h3, .answer h3 { margin: 0 0 7px; color: #fff; font-size: 18px; font-weight: 600; }
.technology p, .answer p { margin: 0; color: var(--asg-muted); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 58px; align-items: start; }
.answer-list { display: grid; gap: 12px; }
.answer { padding: 20px 22px; }

.process { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.process__item { position: relative; min-height: 205px; padding: 62px 20px 20px; }
.process__item::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 20px; left: 20px; color: var(--asg-gold); font-size: 13px; font-weight: 600; }
.process__item h3 { margin: 0 0 7px; color: #fff; font-size: 19px; font-weight: 600; }
.process__item p { margin: 0; color: var(--asg-muted); font-size: 13px; }

.case-card { overflow: hidden; padding: 0; }
.case-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.case-card__body { padding: 22px; }
.case-card__meta { margin: 0 0 6px; color: var(--asg-gold); font-size: 11px; font-weight: 600; }
.case-card h3 { margin-bottom: 8px; }
.case-card__price { margin: 14px 0 0; color: #fff; font-weight: 600; }
.case-note { margin: 20px 0 0; color: var(--asg-muted); font-size: 12px; }
.estimate__list { display: grid; gap: 9px; padding: 0; margin: 0; list-style: none; }
.estimate__list li { padding: 13px 15px; border: 1px solid #424242; border-radius: 14px; background: rgba(23,23,23,.5); }
.estimate__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

.faq { max-width: 900px; }
.faq details { border-top: 1px solid var(--asg-line); }
.faq details:last-child { border-bottom: 1px solid var(--asg-line); }
.faq summary { cursor: pointer; padding: 21px 40px 21px 0; color: #fff; font-size: 18px; font-weight: 500; }
.faq details p { max-width: 760px; margin: -5px 0 23px; color: var(--asg-muted); }

#rec2238926571 { min-height: 1px; }
.mobile-actions { display: none; }

@media (max-width: 1100px) {
  .site-nav { gap: 16px; }
  .site-nav a:nth-last-child(-n+2) { display: none; }
  .hero__inner > div:first-child { max-width: 700px; }
}

@media (max-width: 900px) {
  .site-nav { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(23,23,23,.94) 0%, rgba(23,23,23,.97) 78%, rgba(23,23,23,1) 100%); }
  .hero__inner { min-height: 0; padding-top: 112px; padding-bottom: 54px; }
  .lead-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tn-form__submit .button { min-height: 42px; }
  .proof-strip__grid, .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof:nth-child(2) { border-right: 0; }
  .proof:nth-child(-n+2) { border-bottom: 1px solid #343434; }
  .cards, .benchmark-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split, .estimate, .model-card { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 20px), var(--asg-max)); }
  .site-header { padding-top: 7px; }
  .site-header__inner { width: 300px; min-height: 46px; gap: 12px; padding: 5px 14px; }
  .logo, .logo img { width: 101px; }
  .site-header__phone { margin-left: auto; font-size: 0; }
  .site-header__phone::after { content: "Позвонить"; font-size: 13px; font-weight: 600; }
  .site-header .button { display: none; }
  .hero { min-height: 0; }
  .hero__image { object-position: 64% center; opacity: .3; }
  .hero__inner { padding-top: 90px; padding-bottom: 48px; }
  .breadcrumbs { margin-bottom: 20px; }
  .eyebrow { font-size: 12px; }
  .hero h1 { margin-bottom: 20px; font-size: 30px; line-height: 1.08; }
  .hero__lead { font-size: 15px; line-height: 1.4; }
  .direction-links { gap: 7px 15px; }
  .lead-card { margin-top: 26px; padding: 20px 16px 15px; border-radius: 18px; }
  .lead-card h2 { font-size: 18px; }
  .lead-card > p { margin-bottom: 16px; font-size: 12px; }
  .lead-form { grid-template-columns: 1fr; }
  .lead-form > .t-input-group:has(.consent), .lead-form > .tn-form__submit { grid-column: auto; grid-row: auto; }
  .consent { grid-column: auto; }
  .proof-strip__grid, .cards, .benchmark-grid, .process, .technology-list, .model-stats { grid-template-columns: 1fr; }
  .proof { min-height: 84px; border-right: 0; border-bottom: 1px solid #343434; }
  .proof:nth-child(2) { border-right: 0; }
  .proof:last-child { border-bottom: 0; }
  .section { padding: 60px 0; }
  .section-title { font-size: 29px; line-height: 1.08; }
  .section-lead { margin-bottom: 30px; font-size: 15px; }
  .benchmark { min-height: 0; }
  .model-card, .estimate { padding: 24px 18px; }
  .model-card h2, .estimate h2 { font-size: 29px; }
  .estimate__actions .button { width: 100%; }
  .hero__visual-note { right: 10px; bottom: 7px; font-size: 9px; }
  .mobile-actions {
    position: fixed;
    z-index: 980;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: none;
    grid-template-columns: .8fr 1.2fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(101,101,101,.7);
    border-radius: 18px;
    background: rgba(34,34,34,.88);
    box-shadow: 0 14px 40px rgba(0,0,0,.4);
    backdrop-filter: blur(12px);
  }
  .mobile-actions .button { min-height: 44px; padding: 8px 12px; font-size: 13px; }
}

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