:root {
  --ink: #111210;
  --muted: #6d6d6d;
  --border: #ececec;
  --red: #e44a45;
  --red-hover: #c0322d;
  --blue: #2552a0;
  --green: #386348;
  --warm: #f9f7f3;
  --cream: #fff6ec;
  --topbar-bg: #d9dceb;
  --input-border: #e2e2e2;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Onest', sans-serif;
  color: var(--ink);
  letter-spacing: -0.5px;
  background: #fff;
}
a {
  text-decoration: none;
}
button {
  cursor: pointer;
  font-family: 'Onest', sans-serif;
}
.wrap {
  max-width: 1208px;
  margin: 0 auto;
  padding: 0 24px;
}
details[open] > summary .faq-ic {
  transform: rotate(45deg);
}

/* ===== КНОПКИ (шапка) ===== */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.5px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-red:hover {
  background: var(--red-hover);
}
.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--input-border);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.5px;
  white-space: nowrap;
  transition: background 0.2s;
}
.btn-white:hover {
  background: #f6f6f6;
}
.header-cta .btn-white,
.header-cta .btn-red {
  height: 40px;
  padding: 0 20px;
  font-size: 14px;
}

/* ===== ХЕДЕР ===== */
.topbar {
  background: var(--topbar-bg);
  border-bottom: 1px solid var(--border);
}
.topbar .wrap {
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar a {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  transition: color 0.18s;
}
.topbar a:hover {
  color: var(--ink);
}
.topbar nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.topbar .lang-btn {
  font-family: 'Onest', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid #b7b7b7;
  border-radius: 4px;
  padding: 4px 7px;
  cursor: pointer;
  transition:
    color 0.18s,
    border-color 0.18s;
}
.topbar .lang-btn:hover {
  color: var(--ink);
  border-color: var(--ink);
}
.mainbar {
  background: var(--warm);
  position: relative;
}
.mainbar .wrap {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.mainbar .logo img {
  height: 24px;
  width: auto;
  display: block;
}
.mainnav {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 70px;
}
.mainnav .nav-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 300;
  color: #000;
  background: var(--warm);
  border-radius: 10px;
  padding: 10px 15px;
  transition: background 0.2s;
}
.mainnav .nav-item:hover {
  background: rgba(17, 18, 16, 0.1);
}
.mainnav .chev {
  transition: transform 0.25s;
}
.mega-wrap {
  position: static;
  display: flex;
  align-items: center;
  align-self: stretch;
}
.mega-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 60;
  background: var(--warm);
  border-top: 1px solid var(--border);
  box-shadow: 0 26px 40px rgba(17, 18, 16, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition:
    opacity 0.24s,
    transform 0.24s,
    visibility 0.24s;
  pointer-events: none;
}
.mega-wrap:hover .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.mega-wrap:hover .chev {
  transform: rotate(180deg);
}
.mega-wrap:hover .nav-item {
  background: rgba(17, 18, 16, 0.1);
}
.biz-panel-inner {
  display: grid;
  grid-template-columns: 262px 1fr;
  gap: 56px;
  padding: 36px 24px 40px;
  max-width: 1208px;
  margin: 0 auto;
  align-items: start;
}
.task-links {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid #e4e1db;
}
.task-link {
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  transition:
    color 0.18s,
    padding-left 0.18s;
}
.task-link:hover {
  color: var(--red);
  padding-left: 4px;
}
.biz-cta {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--red);
}
.biz-cards {
  border-left: 1px solid #e4e1db;
  padding-left: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.biz-card {
  position: relative;
  display: block;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
  background: #e9e6e0;
  transition:
    transform 0.28s,
    box-shadow 0.28s;
}
.biz-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(17, 18, 16, 0.16);
}
.biz-card-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 18, 16, 0.8) 0%,
    rgba(17, 18, 16, 0.3) 40%,
    rgba(17, 18, 16, 0) 62%
  );
}
.biz-card-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.biz-card:hover .biz-card-arrow {
  background: var(--red);
  border-color: var(--red);
}
.biz-card-body {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
}
.biz-card-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 10px;
}
.biz-card-title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 6px;
}
.biz-card-desc {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
}
.tools-panel-inner {
  display: grid;
  grid-template-columns: 1fr 336px;
  gap: 56px;
  padding: 36px 24px 40px;
  max-width: 1208px;
  margin: 0 auto;
  align-items: stretch;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.tool-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.tool-item:hover {
  background: #fff;
  border-color: var(--input-border);
}
.tool-item:hover .tool-arrow {
  color: var(--red);
  transform: translateX(3px);
}
.tool-badge {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  text-align: center;
  letter-spacing: 0.2px;
}
.tool-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.tool-sub {
  font-size: 12px;
  color: var(--muted);
}
.tool-arrow {
  margin-left: auto;
  flex: none;
  font-size: 15px;
  color: #b7b7b7;
  transition:
    color 0.18s,
    transform 0.18s;
}
.header-cta {
  display: flex;
}
.burger {
  display: none;
  flex: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px 4px;
  cursor: pointer;
  margin-left: 12px;
}
.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.25s,
    opacity 0.25s;
}
.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--warm);
  border-top: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(17, 18, 16, 0.14);
  flex-direction: column;
  padding: 8px 24px 20px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.18s;
}
.mobile-menu a:hover {
  color: var(--red);
}
.mobile-menu-cta {
  margin-top: 16px;
}
.mob-btn-red {
  width: 100%;
  height: 52px;
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: 'Onest', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.5px;
  cursor: pointer;
  transition: background 0.2s;
}
.mob-btn-red:hover {
  background: var(--red-hover);
}

/* ===== ФУТЕР ===== */
.footer {
  background: #f4f2ee;
}
.footer .wrap {
  padding-top: 64px;
  padding-bottom: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-about p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  max-width: 300px;
  margin: 0 0 20px;
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-bottom: 22px;
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-legal-text {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--muted);
}
.footer-col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.footer-link {
  font-size: 14px;
  font-weight: 300;
  color: var(--ink);
  transition: color 0.18s;
}
.footer-link:hover {
  color: var(--red);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #e2ddd4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 12px;
  color: var(--muted);
}
.footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-legal-link {
  font-size: 12px;
  color: var(--muted);
  transition: color 0.18s;
}
.footer-legal-link:hover {
  color: var(--ink);
}

/* Audience pages reuse the site's Onest typography, colours and shared chrome. */
:root {
  --fs-sm: 16px;
  --fs-md: 20px;
  --fs-lg: 44px;
}
.au-page {
  font-size: 16px;
  line-height: 1.6;
}
.au-page h1,
.au-page h2,
.au-page h3,
.au-page p {
  margin-top: 0;
}
.au-page h1 {
  font-size: clamp(38px, 4.5vw, 60px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 26px;
  max-width: 820px;
}
.au-page h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  line-height: 1.16;
  letter-spacing: -1px;
  margin-bottom: 18px;
  max-width: 800px;
}
.au-page h3 {
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.au-page section[id] {
  scroll-margin-top: 132px;
}
.au-page a:focus-visible,
.au-page button:focus-visible,
.au-page summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 5px;
}
.au-hero {
  background: var(--green);
  color: white;
  padding: 76px 0 80px;
}
.au-hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 72px;
  align-items: center;
}
.au-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #c0322d;
  margin-bottom: 20px;
}
.au-hero .au-eyebrow,
.au-hero .au-lead {
  color: #f1f4f0;
}
.au-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 750px;
  margin-bottom: 32px;
}
.au-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}
.au-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 54px;
  padding: 15px 24px;
  border: 1px solid var(--input-border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  background: white;
  text-align: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.au-button-primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.au-button-primary:hover {
  background: #30352e;
}
.au-button-secondary:hover {
  background: var(--warm);
}
.au-hero .au-button-secondary {
  color: white;
  background: transparent;
  border-color: #b8c9bc;
}
.au-hero .au-button-secondary:hover {
  background: #2d533c;
}
.au-page .au-note {
  font-size: 14px;
  margin: 20px 0 0;
  color: var(--muted);
}
.au-hero .au-note {
  color: #e0e9df;
}
.au-outcome {
  padding: 32px;
  border: 1px solid #809d88;
  border-radius: 20px;
}
.au-outcome h2 {
  font-size: 24px;
  letter-spacing: -0.5px;
}
.au-outcome ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.au-outcome li {
  padding: 16px 0;
  border-top: 1px solid #809d88;
}
.au-outcome li:last-child {
  padding-bottom: 0;
}
.au-personal .au-hero {
  background: var(--cream);
  color: var(--ink);
}
.au-personal .au-hero .au-eyebrow {
  color: #c0322d;
}
.au-personal .au-hero .au-lead,
.au-personal .au-hero .au-note {
  color: var(--muted);
}
.au-personal .au-outcome {
  background: white;
  border-color: var(--input-border);
}
.au-personal .au-outcome li {
  border-color: var(--border);
}
.au-personal .au-hero .au-button-secondary {
  background: white;
  color: var(--ink);
  border-color: var(--input-border);
}
.au-section {
  padding: 80px 0;
}
.au-section-warm {
  background: var(--warm);
}
.au-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.au-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  background: white;
}
.au-card p {
  color: var(--muted);
  margin-bottom: 20px;
}
.au-card .au-result {
  color: var(--ink);
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.au-result strong {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}
.au-card-number {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  margin-bottom: 20px;
}
.au-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: auto;
}
.au-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 500;
}
.au-link:hover {
  color: #152f5b;
}
.au-card-price {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin: 16px 0 0;
}
.au-help-card {
  background: var(--green);
  border-color: var(--green);
  color: white;
}
.au-help-card p {
  color: #e0e9df;
}
.au-help-card .au-actions {
  margin-top: auto;
}
.au-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 40px;
}
.au-step {
  border-top: 1px solid #c9cfc6;
  padding-top: 24px;
}
.au-step-number {
  color: var(--green);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}
.au-step p {
  color: var(--muted);
  margin-bottom: 0;
}
.au-expert {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  align-items: center;
}
.au-expert img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
  border-radius: 15px;
}
.au-expert .au-lead {
  margin-bottom: 16px;
}
.au-faq {
  max-width: 840px;
}
.au-faq details {
  border-bottom: 1px solid var(--input-border);
}
.au-faq summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 18px;
  font-weight: 600;
}
.au-faq details p {
  color: var(--muted);
  padding: 0 0 22px;
  margin: 0;
}
.au-cta {
  background: var(--cream);
}
.au-cta-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: center;
}
.au-cta .au-lead {
  margin-bottom: 0;
}
.au-cta .au-actions {
  justify-content: flex-end;
}
.au-crosslink {
  margin-top: 20px;
}
body:has(.consult-overlay.open) .cw-launcher,
body:has(.consult-overlay.open) .cw-teaser {
  visibility: hidden;
}
@media (max-width: 1100px) {
  .topbar nav:first-child a:nth-child(n + 3) {
    display: none;
  }
  .topbar nav:first-child {
    gap: 20px;
  }
  .au-hero-grid {
    gap: 36px;
  }
}
@media (max-width: 980px) {
  .mainnav,
  .header-cta {
    display: none;
  }
  .burger {
    display: flex;
  }
  .au-hero-grid,
  .au-cta-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .au-cta .au-actions {
    justify-content: flex-start;
  }
  .au-outcome {
    max-width: 640px;
  }
}
@media (max-width: 768px) {
  .au-hero {
    padding: 48px 0 56px;
  }
  .au-section {
    padding: 56px 0;
  }
  .au-grid,
  .au-steps {
    grid-template-columns: 1fr;
  }
  .au-expert {
    grid-template-columns: 180px 1fr;
    gap: 28px;
  }
  .au-expert img {
    height: 250px;
  }
  .au-card {
    padding: 26px;
  }
  .au-lead {
    font-size: 18px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-legal-links {
    gap: 12px;
  }
}
@media (max-width: 620px) {
  .topbar {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-legal-links {
    flex-direction: column;
  }
  .au-expert {
    grid-template-columns: 1fr;
  }
  .au-expert img {
    width: 180px;
    height: 220px;
  }
  .au-page section[id] {
    scroll-margin-top: 90px;
  }
  .au-actions {
    align-items: stretch;
  }
  .au-button {
    width: 100%;
  }
  .au-outcome {
    padding: 26px;
  }
  .au-page h1 {
    letter-spacing: -1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .au-page * {
    transition: none;
  }
}
