@import url("/assets/site-unified-ui-20260814.css");

/* Согласованные технические и адаптивные правки по аудиту от 08.08.2026. */

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

/* Финальная компоновка согласованных блоков главной. Храним в основном
   файле правок, чтобы хостинг не зависел от загрузки дополнительного CSS. */
.solutions .centered-heading,
.system .system-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  grid-template-rows: auto auto;
  align-items: end;
  gap: 14px 56px;
  max-width: none;
}

.solutions .centered-heading .eyebrow,
.solutions .centered-heading h2,
.system .system-heading .eyebrow,
.system .system-heading h2 { grid-column: 1; }
.solutions .centered-heading h2 {
  min-width: 0;
  max-width: 760px;
}
.solutions .centered-heading h2 span {
  display: block;
  white-space: normal;
}
.solutions .centered-heading .eyebrow,
.system .system-heading .eyebrow { margin-bottom: 0; }
.solutions .centered-heading > p:last-child,
.system .system-heading > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  max-width: 520px;
  margin: 0;
  min-width: 0;
}

.control-heading { margin-bottom: 30px; }
.control-heading h2 { max-width: 780px; }
.tools-heading h2 {
  font-family: "Golos Text Variable", "Golos Text", "Segoe UI", Arial, sans-serif;
  margin: 0;
  font-size: clamp(36px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.028em;
}
.control-standard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.control-standard-grid > article {
  --control-accent: var(--cyan);
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 238px;
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--control-accent);
  border-radius: 24px;
  background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--control-accent) 12%, transparent), transparent 48%), #ffffff07;
}
.control-standard-grid > article:nth-child(2) { --control-accent: var(--violet); }
.control-standard-grid > article:nth-child(3) { --control-accent: var(--orange); }
.control-standard-grid > article:nth-child(4) { --control-accent: var(--green); }
.control-standard-grid > article > span {
  color: var(--control-accent);
  letter-spacing: .12em;
  font-size: 11px;
  font-weight: 800;
}
.control-standard-grid > article > h3 {
  margin: 38px 0 14px;
  font-size: 23px;
  line-height: 1.15;
}
.control-standard-grid > article > p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.58;
}
.control-standard-cta { margin-top: 18px; }

.real-case-grid .real-case-card,
.case-index-grid .real-case-card { order: 20; }
.real-case-grid .real-case-card:has(a[href="/cases/refusal-diagnostics/"]),
.case-index-grid .real-case-card:has(a[href="/cases/refusal-diagnostics/"]) { order: 1; }
.real-case-grid .real-case-card:has(a[href="/cases/advertising-funnel-audit/"]),
.case-index-grid .real-case-card:has(a[href="/cases/advertising-funnel-audit/"]) { order: 2; }
.real-case-grid .real-case-card:has(a[href="/cases/diagnostic-sales-conversion/"]),
.case-index-grid .real-case-card:has(a[href="/cases/diagnostic-sales-conversion/"]) { order: 3; }
.real-case-grid .real-case-card:has(a[href="/cases/sales-training-admission/"]),
.case-index-grid .real-case-card:has(a[href="/cases/sales-training-admission/"]) { order: 4; }
.real-case-grid .real-case-card:has(a[href="/cases/construction-sales-funnel/"]),
.case-index-grid .real-case-card:has(a[href="/cases/construction-sales-funnel/"]) { order: 5; }
.real-case-grid .real-case-card:has(a[href="/cases/external-quality-control/"]),
.case-index-grid .real-case-card:has(a[href="/cases/external-quality-control/"]) { order: 6; }
.real-case-grid .real-case-card:has(a[href="/cases/lead-processing-pilot/"]),
.case-index-grid .real-case-card:has(a[href="/cases/lead-processing-pilot/"]) { order: 7; }
.real-case-grid .real-case-card:has(a[href="/cases/automated-crm-control/"]),
.case-index-grid .real-case-card:has(a[href="/cases/automated-crm-control/"]) { order: 8; }
.real-case-grid .real-case-card:has(a[href="/cases/ai-call-assistant/"]),
.case-index-grid .real-case-card:has(a[href="/cases/ai-call-assistant/"]) { order: 9; }
.real-case-grid .real-case-card:has(a[href="/cases/ai-sales-knowledge-base/"]),
.case-index-grid .real-case-card:has(a[href="/cases/ai-sales-knowledge-base/"]) { order: 10; }

@media (max-width: 1050px) {
  .solutions .centered-heading,
  .system .system-heading {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 18px;
  }
  .solutions .centered-heading .eyebrow,
  .solutions .centered-heading h2,
  .solutions .centered-heading > p:last-child,
  .system .system-heading .eyebrow,
  .system .system-heading h2,
  .system .system-heading > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }
  .control-standard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .control-standard-grid { grid-template-columns: 1fr; }
  .control-standard-grid > article {
    min-height: 0;
    padding: 22px;
  }
  .control-standard-grid > article > h3 { margin-top: 26px; }
  .control-standard-cta { width: 100%; }
}

.hero {
  min-height: auto;
  gap: clamp(22px, 2.2vw, 32px);
  padding-top: clamp(22px, 2vw, 30px);
  padding-bottom: clamp(28px, 2.5vw, 38px);
}

.audit-hero-actions,
.audit-hero-formats {
  display: none;
}

.hero-funnel-step > span {
  width: 22px;
  height: 22px;
  color: var(--funnel-accent);
  display: grid;
  place-items: center;
}

.hero-funnel-step > span svg {
  width: 21px;
  height: 21px;
  display: block;
}

.hero-funnel-swipe,
.audit-swipe-hint {
  display: none;
}

.audit-proof-band {
  border: 1px solid var(--line);
  background: linear-gradient(110deg, #2de1f210, #9b6cff0d);
  border-radius: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 2px;
  padding: 15px 20px;
  display: flex;
  text-decoration: none;
}

.audit-proof-band span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .05em;
}

.audit-proof-band strong {
  color: var(--text);
  font-size: 15px;
  line-height: 1.4;
}

.audit-proof-band i {
  color: var(--cyan);
  font-size: 22px;
  font-style: normal;
}

.team-trust {
  padding-top: 64px;
}

.team-trust-heading {
  grid-template-columns: 1fr .85fr;
  align-items: end;
  gap: 54px;
  margin-bottom: 30px;
  display: grid;
}

.team-trust-heading h2 {
  letter-spacing: -.03em;
  margin: 0;
  font-size: clamp(34px, 3.3vw, 47px);
  line-height: 1.08;
}

.team-trust-heading > p {
  color: var(--muted);
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
}

.team-trust-grid {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.team-trust-card {
  --trust-accent: var(--cyan);
  border: 1px solid var(--line);
  border-top: 2px solid color-mix(in srgb, var(--trust-accent) 60%, transparent);
  background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--trust-accent) 9%, transparent), transparent 44%), #ffffff07;
  border-radius: 22px;
  padding: 24px;
}

.team-trust-card:nth-child(2) { --trust-accent: var(--violet); }
.team-trust-card:nth-child(3) { --trust-accent: var(--orange); }
.team-trust-card:nth-child(4) { --trust-accent: var(--green); }

.team-trust-card h3 {
  color: var(--trust-accent);
  margin: 0 0 12px;
  font-size: 18px;
  line-height: 1.35;
}

.team-trust-card p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
}

.team-trust-note {
  border: 1px solid var(--line);
  background: #ffffff07;
  border-radius: 18px;
  margin: 12px 0 0;
  padding: 17px 20px;
  color: #cbd2de;
  font-size: 14px;
  line-height: 1.55;
}

.contact-direct-actions {
  gap: 10px;
  display: grid;
}

.button-email {
  border-color: var(--line);
  color: var(--text);
  background: #ffffff08;
  width: 100%;
}

.button-email:hover {
  border-color: #2de1f266;
  background: #ffffff10;
}

.footer-links {
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  display: flex;
}

.footer-links a {
  color: var(--cyan);
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
}

.footer-links a:last-child {
  color: #cbd3df;
}

a[href^="https://t.me/"] .external-service-mark,
.nav-channel::after {
  content: "↗";
  margin-left: 4px;
  font-size: .9em;
}

.site-header .nav .nav-product {
  color: var(--cyan);
}

.site-header .nav .nav-product.is-current {
  color: var(--cyan);
  background: transparent;
}

@media (min-width: 901px) and (max-width: 1050px) {
  .site-header {
    gap: 10px;
  }

  .menu-button {
    display: none !important;
  }

  .site-header .nav {
    border: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    flex-direction: row;
    align-items: center;
    gap: 1px;
    padding: 0;
    display: flex !important;
    position: static;
  }

  .site-header .nav a {
    padding: 9px 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .site-header .nav .nav-product,
  .site-header .nav a[href="/#faq"] {
    display: none;
  }

  .site-header .nav .nav-cta {
    margin-left: 3px;
    padding-inline: 12px;
  }
}

@media (max-width: 1050px) {
  .audit-hero-actions {
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
    display: flex;
  }

  .audit-hero-formats {
    color: #aeb8c9;
    margin: 17px 0 0;
    font-size: 13px;
    line-height: 1.55;
    display: block;
  }

  .hero-funnel-swipe {
    color: #8995a8;
    align-items: center;
    gap: 7px;
    margin: 2px 0 0;
    font-size: 12px;
    display: flex;
  }

  .hero-funnel-swipe::before {
    content: "↔";
    color: var(--cyan);
  }

  .hero-funnel {
    position: relative;
  }

  .hero-funnel::after {
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, transparent, #070a16e8);
    width: 42px;
    position: absolute;
    right: 0;
    bottom: 25px;
    height: 88px;
  }

  .team-trust-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 720px) {
  .section-space {
    padding-top: 42px;
  }

  .hero {
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 30px;
  }

  .hero h1 {
    font-size: clamp(37px, 10.6vw, 47px);
    line-height: 1.01;
  }

  .hero-lead {
    margin-top: 17px;
    font-size: 16px;
  }

  .audit-hero-actions {
    margin-top: 18px;
  }

  .audit-hero-actions .button {
    min-height: 49px;
  }

  .brand-copy small,
  .eyebrow,
  .detail-label,
  .method-label,
  .method-result span,
  .route-output-label,
  .contact-promise span,
  .contact-direct-label,
  .faq-item button > span {
    font-size: 12px !important;
  }

  .brand-copy small {
    max-width: 178px;
  }

  .audit-proof-band {
    align-items: flex-start;
    gap: 8px 14px;
    padding: 14px 15px;
    flex-wrap: wrap;
  }

  .audit-proof-band strong {
    width: calc(100% - 34px);
    font-size: 14px;
  }

  .audit-proof-band i {
    margin-left: auto;
  }

  .audit-swipe-hint {
    color: #8490a3;
    align-items: center;
    gap: 7px;
    margin: 9px 2px 0;
    font-size: 12px;
    display: flex;
  }

  .audit-swipe-hint::before {
    content: "↔";
    color: var(--cyan);
  }

  .symptom-grid,
  .method-list,
  .route-grid,
  .competency-grid,
  .outcome-grid,
  .tools-grid,
  .report-grid,
  .real-case-grid {
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #2de1f255 transparent;
    grid-template-columns: none !important;
    gap: 12px;
    padding: 0 16px 10px 0;
    display: flex !important;
    overflow-x: auto !important;
    overflow-y: hidden;
  }

  .symptom-grid {
    border: 0;
    background: transparent;
    border-radius: 0;
  }

  .symptom-grid > article,
  .method-list > article,
  .route-grid > article,
  .competency-grid > article,
  .outcome-grid > article,
  .tools-grid > a,
  .tools-grid > article,
  .report-grid > article,
  .report-grid > a,
  .real-case-grid > article {
    scroll-snap-align: start;
    flex: 0 0 min(84vw, 340px) !important;
    width: min(84vw, 340px);
    margin-top: 0 !important;
  }

  .symptom-grid article {
    border: 1px solid var(--line) !important;
    border-top: 2px solid color-mix(in srgb, var(--symptom-accent) 68%, transparent) !important;
    border-radius: 20px;
    min-height: 250px;
    padding: 20px;
  }

  .method-card,
  .route-card,
  .competency-grid article,
  .outcome-grid article {
    min-height: 360px !important;
    padding: 21px !important;
  }

  .route-card h3 {
    font-size: 25px;
  }

  .loss-tabs {
    scroll-snap-type: x proximity;
    gap: 9px;
    padding: 0 28px 8px 0;
    display: flex;
    overflow-x: auto;
  }

  .loss-tab {
    scroll-snap-align: start;
    flex: 0 0 132px;
  }

  .section-heading h2,
  .tools-heading h2,
  .fit-heading h2,
  .control-copy h2,
  .competencies-heading h2,
  .contact-copy h2 {
    font-size: 33px;
  }

  .split-heading,
  .centered-heading,
  .evidence-heading {
    margin-bottom: 24px;
  }

  .system-thesis,
  .control-card,
  .contact-form {
    padding: 20px;
  }

  .fit-grid {
    gap: 24px;
    padding: 35px 0;
  }

  .fit-list > div {
    padding: 14px 0;
  }

  .team-trust {
    padding-top: 42px;
  }

  .team-trust-heading {
    margin-bottom: 22px;
  }

  .team-trust-heading h2 {
    font-size: 33px;
  }

  .team-trust-heading > p {
    font-size: 15px;
  }

  .team-trust-grid {
    scroll-snap-type: x proximity;
    grid-template-columns: none;
    gap: 12px;
    padding: 0 18px 8px 0;
    display: flex;
    overflow-x: auto;
  }

  .team-trust-card {
    scroll-snap-align: start;
    flex: 0 0 min(86vw, 350px);
    padding: 21px;
  }

  .team-trust-note {
    padding: 15px 17px;
  }

  .contact {
    margin-top: 42px;
    padding: 46px 0;
  }

  .contact-shell {
    gap: 34px;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .symptom-grid,
  .method-list,
  .route-grid,
  .competency-grid,
  .outcome-grid,
  .tools-grid,
  .report-grid,
  .real-case-grid,
  .loss-tabs,
  .team-trust-grid {
    scroll-behavior: auto !important;
  }
}
