:root {
  --bg: #eef2f8;
  --bg-soft: #f6f9fc;
  --card: rgba(255, 255, 255, 0.78);
  --card-solid: #ffffff;
  --text: #161b26;
  --muted: #566076;
  --muted-2: #7f8da3;
  --line: rgba(22, 30, 46, 0.10);
  --border: var(--line);
  --accent: #1a56db;
  --accent-dark: #1e40af;
  --accent-soft: #dbeafe;
  --green: #0d9488;
  --green-soft: #ccfbf1;
  --shadow: 0 20px 60px rgba(16, 24, 48, 0.10);
  --shadow-soft: 0 10px 30px rgba(16, 24, 48, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1120px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 10% 5%, rgba(26, 86, 219, 0.10), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(13, 148, 136, 0.08), transparent 30%),
    linear-gradient(180deg, var(--bg-soft), var(--bg) 42%, #ebf0f6);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

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

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

.section.compact { padding: 64px 0; }

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(26, 86, 219, 0.15);
}

h1, h2, h3 {
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(42px, 6vw, 76px);
  max-width: 900px;
}

h2 {
  font-size: clamp(31px, 4vw, 48px);
  max-width: 820px;
}

h3 {
  font-size: 20px;
  letter-spacing: -0.025em;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 720px;
}

.text-muted { color: var(--muted); }

.soft-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

/* ========= NAV ========= */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 14px 0;
  background: rgba(238, 242, 248, 0.78);
  border-bottom: 1px solid rgba(22, 30, 46, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--text);
  color: #fff;
  font-size: 13px;
  box-shadow: 0 12px 28px rgba(22, 27, 38, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover { color: var(--text); }

/* ========= HERO ========= */
.hero {
  padding: 70px 0 64px;
  overflow: hidden;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 46px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-sub {
  margin-top: 24px;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--muted);
  max-width: 790px;
}

.hero-amp {
  margin-top: 18px;
  max-width: 690px;
  color: var(--muted);
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.pill::before {
  content: "✓";
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-size: 11px;
  font-weight: 900;
}

.hero-card {
  position: relative;
  padding: 28px;
  min-height: 440px;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -80px -90px auto auto;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.14);
}

.hero-card h3 {
  position: relative;
  margin-bottom: 20px;
  font-size: 23px;
}

.audit-flow {
  position: relative;
  display: grid;
  gap: 14px;
}

.flow-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: start;
  padding: 15px;
  border: 1px solid rgba(22, 30, 46, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.68);
}

.flow-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.flow-item strong {
  display: block;
  margin-bottom: 3px;
  font-size: 15px;
}

.flow-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.hero-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: var(--accent-soft);
  color: #1e3a8a;
  font-size: 14px;
  line-height: 1.45;
}

/* ========= BUTTONS ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 750;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 16px 34px rgba(26, 86, 219, 0.30);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
}

.btn-standout {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.35);
  position: relative;
  overflow: hidden;
}

.btn-standout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}

.btn-standout:hover {
  background: linear-gradient(135deg, #d97706, #dc2626);
  box-shadow: 0 18px 40px rgba(239, 68, 68, 0.45);
  transform: translateY(-3px);
}

/* ========= CARDS ========= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.09);
}

.card h3 {
  position: relative;
  margin-bottom: 10px;
  font-size: 19px;
}

.card p {
  position: relative;
  color: var(--muted);
  font-size: 15px;
}

.card p + p { margin-top: 10px; }

.card.wide { grid-column: span 2; }

/* ========= SITUATIONS ========= */
.situations-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.situation-item {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.situation-item h3 {
  margin-bottom: 14px;
  font-size: 21px;
}

.situation-item p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 8px;
}

.situation-item strong {
  color: var(--text);
  font-weight: 800;
}

.situation-label {
  display: inline-flex;
  margin-right: 6px;
  color: var(--accent-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ========= QUICK DIAGNOSTIC ========= */
.diagnostic {
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 10%, rgba(13, 148, 136, 0.14), transparent 34%),
    radial-gradient(circle at 4% 4%, rgba(26, 86, 219, 0.14), transparent 32%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.diagnostic-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.74fr) minmax(340px, 0.46fr);
  gap: 28px;
  align-items: start;
}

.diagnostic-intro h2 { margin-bottom: 16px; }

.diagnostic-intro p {
  color: var(--muted);
  font-size: 17px;
  max-width: 660px;
}

.diagnostic-form {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.diag-question {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(22, 30, 46, 0.10);
  background: rgba(255, 255, 255, 0.68);
}

.diag-question strong {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.diag-options {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.diag-options label {
  position: relative;
  cursor: pointer;
}

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

.diag-options span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid rgba(22, 30, 46, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.diag-options input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: #1e3a8a;
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.12);
}

.diagnostic-result {
  position: sticky;
  top: 92px;
  padding: 26px;
  border-radius: 26px;
  background: var(--text);
  color: #fff;
  box-shadow: 0 24px 70px rgba(22, 27, 38, 0.24);
}

.diagnostic-result .result-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.diagnostic-result h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 26px;
}

.diagnostic-result p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.diagnostic-result .result-next {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.diagnostic-result .btn {
  width: 100%;
  margin-top: 18px;
  border-radius: 16px;
}

.diagnostic-note {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .diagnostic-layout { grid-template-columns: 1fr; }
  .diagnostic-result { position: static; }
}

/* ========= FEATURE STRIP ========= */
.feature-strip {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  align-items: stretch;
}

.feature-copy,
.feature-inset {
  padding: 34px;
  border-radius: var(--radius);
}

.feature-copy {
  background: var(--text);
  color: #fff;
  box-shadow: var(--shadow);
}

.feature-copy h2 { color: #fff; }

.feature-copy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 17px;
}

.feature-inset {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(26, 86, 219, 0.12), rgba(255,255,255,0.7)),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  font-size: 18px;
  color: var(--text);
}

/* ========= PERSON ========= */
.person {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  gap: 20px;
  align-items: stretch;
}

.person-info,
.person-facts {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.person-info p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 16px;
}

.person-name {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--text), #2d3748);
  color: #fff;
  font-size: 21px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(22, 27, 38, 0.18);
}

.person-name strong {
  display: block;
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.person-name span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}

.fact-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  list-style: none;
}

.fact-list li,
.clean-list li,
.whom-col li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  list-style: none;
  font-size: 15px;
}

.fact-list li::before,
.clean-list li::before,
.whom-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* ========= LISTS ========= */
.list-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin-top: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
}

.clean-list { list-style: none; }

.ba-wrap,
.compare-wrap {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-soft);
}

.compare,
.ba-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare th,
.compare td,
.ba-table th,
.ba-table td {
  text-align: left;
  padding: 18px 20px;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.compare tr:last-child td,
.ba-table tr:last-child td { border-bottom: none; }

.compare th,
.ba-table th {
  background: rgba(22, 27, 38, 0.04);
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.compare td,
.ba-table td { color: var(--muted); }
.compare td:nth-child(2),
.ba-table td:nth-child(2) { color: var(--text); }

/* ========= WHOM ========= */
.whom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.whom-col {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-soft);
}

.whom-col h3 { margin-bottom: 18px; }

.whom-col ul {
  display: grid;
  gap: 10px;
}

/* ========= SCATTER (ГДЕ ДЕНЬГИ) ========= */
.scatter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.scatter-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  font-size: 15px;
  font-weight: 650;
  color: var(--text);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.scatter-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.scatter-num {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.scatter-coda {
  margin-top: 22px;
  padding: 22px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 94% 12%, rgba(13, 148, 136, 0.12), transparent 36%),
    radial-gradient(circle at 6% 6%, rgba(26, 86, 219, 0.10), transparent 30%),
    rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow-soft);
  text-align: center;
  font-size: 17px;
  color: var(--muted);
  line-height: 1.5;
}

.scatter-coda strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .scatter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .scatter-grid {
    grid-template-columns: 1fr;
  }
}

/* ========= FORM ========= */
.final-cta {
  padding: 86px 0 96px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  gap: 32px;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 12% 12%, rgba(26, 86, 219, 0.22), transparent 36%),
    linear-gradient(135deg, #1e293b, #0f172a);
  color: #fff;
  box-shadow: 0 30px 90px rgba(22, 27, 38, 0.30);
}

.cta-copy {
  padding: 18px 0 18px 8px;
  align-self: center;
}

.cta-copy h2 { color: #fff; }

.cta-copy p {
  margin-top: 18px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.form-wrap {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
}

.form-wrap label {
  display: block;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.form-wrap input,
.form-wrap select,
.form-wrap textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 13px 14px;
  border: 1px solid rgba(22, 30, 46, 0.16);
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-wrap input:focus,
.form-wrap select:focus,
.form-wrap textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.12);
}

.form-wrap textarea {
  min-height: 100px;
  resize: vertical;
}

.form-wrap .btn {
  width: 100%;
  border-radius: 16px;
}

/* ========= SLIDER ========= */
.slider-section {
  background: linear-gradient(180deg, var(--bg-soft) 0%, rgba(235, 240, 246, 0.4) 100%);
}

.slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.slider-card {
  flex: 0 0 100%;
  min-width: 0;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slider-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.slider-card h3 {
  margin-bottom: 14px;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.slider-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--card-solid);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  flex: 0 0 auto;
}

.slider-arrow:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent-dark);
  transform: scale(1.05);
}

.slider-arrow:active {
  transform: scale(0.95);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--line);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  padding: 0;
  flex: 0 0 auto;
}

.slider-dot:hover {
  background: var(--muted-2);
  transform: scale(1.2);
}

.slider-dot.active {
  background: var(--accent);
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, 0.15);
}

@media (min-width: 768px) {
  .slider-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

/* ========= RESPONSIVE ========= */
@media (max-width: 980px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 8px;
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    padding: 18px 20px;
    background: rgba(238, 242, 248, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; border-radius: 12px; }
  .nav-links a:hover { background: rgba(255,255,255,0.7); }
  .nav-toggle { display: flex; }
  .hero-layout,
  .section-header,
  .feature-strip,
  .person,
  .cta-panel {
    grid-template-columns: 1fr;
  }
  .hero-card { min-height: auto; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .situations-list { grid-template-columns: 1fr; }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 700px) {
  .container { width: min(100% - 28px, var(--container)); }
  .hero { padding: 44px 0 42px; }
  .section { padding: 58px 0; }
  .card-grid,
  .whom-grid,
  .list-2col { grid-template-columns: 1fr; }
  .card.wide { grid-column: auto; }
  .hero-actions .btn { width: 100%; }
  .cta-panel { padding: 18px; border-radius: 26px; }
  .cta-copy { padding: 16px 6px; }
  .diagnostic,
  .feature-copy,
  .feature-inset,
  .person-info,
  .person-facts,
  .whom-col,
  .list-2col { padding: 22px; }
  .compare-wrap,
  .ba-wrap { overflow-x: auto; }
  .compare,
  .ba-table { min-width: 640px; }
}

/* ========= ACCORDION ========= */
.accordion {
  display: grid;
  gap: 10px;
}

.accordion-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}

.accordion-item:hover {
  box-shadow: var(--shadow);
}

.accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 20px 24px;
  border: none;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.025em;
  text-align: left;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.accordion-trigger:hover {
  background: rgba(255, 255, 255, 0.6);
}

.accordion-trigger[aria-expanded="true"] {
  color: var(--accent-dark);
}

.accordion-trigger-text {
  flex: 1;
  min-width: 0;
}

.accordion-icon {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
  background: var(--accent);
  color: #fff;
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
}

.accordion-body.is-open {
  grid-template-rows: 1fr;
}

.accordion-content {
  overflow: hidden;
  padding: 0 24px 20px;
}

/* ========= CASE INSIDE ACCORDION ========= */
.case-section {
  margin-top: 18px;
}

.case-section:first-child {
  margin-top: 0;
}

.case-section p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.case-section p:first-child {
  margin-top: 0;
}

.case-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.case-result-highlight {
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(13, 148, 136, 0.08);
  border-left: 4px solid var(--green);
  color: var(--text) !important;
  font-weight: 650;
}

@media (max-width: 700px) {
  .accordion-trigger {
    padding: 16px 18px;
    font-size: 15px;
  }
  .accordion-content {
    padding: 0 18px 16px;
  }
  .case-section p {
    font-size: 14px;
  }
  .case-result-highlight {
    padding: 14px 16px;
  }
}


/* ========= STYLE UNIFICATION PASS ========= */
.accent-text { color: var(--accent); }

#hero .container {
  position: relative;
}

#hero .container::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -22px;
  width: min(420px, 42vw);
  height: min(420px, 42vw);
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(26, 86, 219, 0.10), rgba(13, 148, 136, 0.08)),
    rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-soft);
  transform: rotate(-4deg);
  z-index: -1;
}

.waste-grid {
  margin-top: 8px;
}

.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  position: relative;
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.58)),
    var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.step::after {
  content: "";
  position: absolute;
  right: -38px;
  bottom: -38px;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: rgba(26, 86, 219, 0.09);
}

.step-num {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 16px;
  background: var(--text);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  box-shadow: 0 14px 30px rgba(22, 27, 38, 0.18);
}

.step h3,
.step p {
  position: relative;
  z-index: 1;
}

.step p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 15px;
}

.case-list {
  display: grid;
  gap: 6px;
  margin: 12px 0 14px;
}

.offer-box {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    radial-gradient(circle at 92% 6%, rgba(26, 86, 219, 0.14), transparent 34%),
    radial-gradient(circle at 6% 100%, rgba(13, 148, 136, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.70);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.offer-box h3 {
  margin-bottom: 20px;
  font-size: 24px;
}

.offer-box > .clean-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding: 26px;
  border: 1px solid rgba(22, 30, 46, 0.10);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.58);
}

.offer-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.offer-steps > div {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(22, 30, 46, 0.10);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.66);
}

.offer-steps strong,
.offer-steps span {
  display: block;
}

.offer-steps strong {
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.offer-steps span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.offer-cta {
  margin-top: 24px;
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-grid .card {
  min-height: 100%;
}

.support-grid .clean-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.cta-actions {
  margin-top: 28px;
}

.cta-note {
  margin-top: 16px !important;
  color: rgba(255, 255, 255, 0.48) !important;
  font-size: 13px !important;
}

/* Контакты в секции CTA */
.cta-contacts {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-contacts .eyebrow {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: block;
  margin-bottom: 12px;
}

.contacts-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #fff;
}

.contact-link svg {
  flex-shrink: 0;
  opacity: 0.6;
}

/* Футер */
.site-footer {
  padding: 32px 0;
  font-size: 14px;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-brand {
  font-size: 13px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 12px;
  color: var(--muted-2);
}

@media (max-width: 640px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
  }
  .contacts-row {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 980px) {
  .steps,
  .offer-steps,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .offer-box > .clean-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  #hero .container::after { display: none; }
  .steps,
  .offer-steps,
  .support-grid {
    grid-template-columns: 1fr;
  }
  .step,
  .offer-box { padding: 22px; }
  .offer-box > .clean-list { padding: 22px; }
  .offer-cta { width: 100%; }
}

@media (max-width: 980px) {
  .nav-toggle { display: flex; }
}

/* ================================================================ */
/* ФОРМА ОБРАТНОЙ СВЯЗИ                                               */
/* ================================================================ */
.contact-form-wrap {
  margin-top: 28px;
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.form-field .required {
  color: #e53935;
}

.form-field input {
  font: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-solid);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  font: inherit;
  font-size: 15px;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card-solid);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
  min-height: 100px;
  line-height: 1.5;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted-2);
  opacity: 0.7;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-row-contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-contact-hint {
  font-size: 12px;
  color: var(--muted-2);
  margin: -8px 0 0;}

.form-submit {
  align-self: flex-start;
  margin-top: 4px;
}

.form-note {
  font-size: 12px;
  color: var(--muted-2);
  margin: 0;
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .form-row-contacts {
    grid-template-columns: 1fr;
  }

  .form-submit {
    width: 100%;
    text-align: center;
  }
}