:root {
  --ink: #10241f;
  --mut: #4b625b;
  --deep: #12403a;
  --deep2: #0c302b;
  --mint: #cfe3d8;
  --mint-soft: #e3efe8;
  --pale: #f1f5f1;
  --surface: #ffffff;
  --line: #cbd8d0;
  --red: #c53b24;
  --red2: #a92f1b;
  --terra-soft: #faeae7;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --container: 1240px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Geologica', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--pale);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
}

button,
input {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 32px);
}

.accent-terra {
  color: var(--red);
}

strong.accent-terra {
  font-weight: 700;
}

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

/* Скрытое поле-ловушка для ботов */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ---------------- Шапка ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(241, 245, 241, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1.12;
}

.brand-name {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-sub {
  font-size: 12px;
  font-weight: 500;
  color: var(--mut);
  margin-top: 2px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.desktop-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
  transition: color 0.16s ease;
}

.desktop-nav a:hover {
  color: var(--red);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.header-phone svg {
  color: var(--red);
  flex-shrink: 0;
}

.header-phone:hover {
  color: var(--red);
}

.mobile-actions {
  display: none;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--deep);
  text-decoration: none;
  cursor: pointer;
}

.icon-btn.is-call {
  color: var(--red);
}

/* Мобильное меню */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 48, 43, 0.56);
}

.mobile-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 86vw);
  height: 100%;
  background: var(--surface);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  overflow-y: auto;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.16);
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  display: block;
  padding: 11px 12px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

.mobile-nav a:hover {
  background: var(--pale);
}

.mobile-drawer-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.header-schedule {
  font-size: 12px;
  color: var(--mut);
}

/* ---------------- Кнопки ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.16s ease, transform 0.14s ease, border-color 0.16s ease, color 0.16s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--red);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--red2);
}

.btn-deep {
  background: var(--deep);
  color: #ffffff;
}

.btn-deep:hover {
  background: var(--deep2);
}

.btn-outline {
  background: transparent;
  border-color: var(--deep);
  color: var(--deep);
}

.btn-outline:hover {
  background: var(--mint-soft);
}

.btn-white {
  background: #ffffff;
  color: var(--deep);
}

.btn-white:hover {
  background: var(--mint);
}

.btn-sm {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 12px;
}

.btn-lg {
  min-height: 58px;
  padding: 15px 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

/* ---------------- Секции ---------------- */
.sec {
  padding: clamp(50px, 6.5vw, 90px) 0;
  scroll-margin-top: 82px;
}

.sec--pale {
  background: var(--pale);
}

.sec--surface {
  background: var(--surface);
}

.sec--mint {
  background: var(--mint);
}

.sec--deep {
  background: var(--deep);
  color: #ffffff;
}

.sec--deep2 {
  background: var(--deep2);
  color: #ffffff;
}

.sec-head {
  max-width: 780px;
  margin-bottom: clamp(26px, 3.2vw, 40px);
  text-align: left;
}

.sec-title {
  margin: 0;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.025em;
}

.sec-lead {
  margin: 14px 0 0;
  font-size: clamp(15px, 1.3vw, 17px);
  color: var(--mut);
  line-height: 1.55;
}

.sec--deep .sec-lead,
.sec--deep2 .sec-lead {
  color: rgba(255, 255, 255, 0.78);
}

/* ---------------- Первый экран ---------------- */
.hero {
  background: var(--pale);
  padding: clamp(24px, 3.2vw, 44px) 0 clamp(34px, 4.5vw, 56px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: stretch;
}

.hero-txt {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.hero h1 {
  margin: 0;
  font-size: clamp(32px, 4.3vw, 60px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero h1 span {
  display: block;
}

.hero-sub {
  margin: 16px 0 0;
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 500;
  color: var(--ink);
}

.hero-sub small {
  font-size: 0.86em;
  color: var(--mut);
  font-weight: 400;
}

/* Полоса 3 преимуществ через тонкие линии */
.hero-pillars {
  display: flex;
  width: 100%;
  margin: 22px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-pillars li {
  flex: 1;
  padding: 13px 16px 13px 0;
}

.hero-pillars li + li {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.hero-pillars strong {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

.hero-pillars span {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--mut);
}

.hero-cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}

.hero-gift {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--deep);
}

.hero-gift svg {
  color: var(--red);
  flex-shrink: 0;
}

/* 3 крупные цифры прямо на 1-м экране */
.hero-stats {
  display: flex;
  gap: clamp(22px, 3vw, 44px);
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  width: 100%;
}

.hero-stat strong {
  display: block;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero-stat span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--mut);
}

/* Компактная 1-строчная форма быстрого звонка */
.hero-callback {
  margin-top: 18px;
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 13px 15px;
}

.hero-callback-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mut);
}

.hero-callback-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 8px;
}

/* Портрет Натальи справа */
.hero-photo-box {
  position: relative;
  border-radius: var(--radius-lg);
  background: var(--deep);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 20px 0;
  min-height: 460px;
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-photo-box picture {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  max-width: 350px;
  height: auto;
  object-fit: contain;
  margin-bottom: 24px;
}

.expert-plate {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  background: #ffffff;
  border-radius: 14px;
  padding: 13px 16px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  text-align: left;
}

.expert-plate strong {
  display: block;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}

.expert-plate span {
  display: block;
  font-size: 12.5px;
  line-height: 1.38;
  color: var(--mut);
}

/* ---------------- Поля и формы ---------------- */
.input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.input:focus {
  outline: none;
  border-color: var(--deep);
  box-shadow: 0 0 0 3px rgba(18, 64, 58, 0.14);
}

.consent-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.38;
  color: var(--mut);
  cursor: pointer;
  text-align: left;
}

.consent-label input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin: 1px 0 0;
  accent-color: var(--deep);
  flex-shrink: 0;
  cursor: pointer;
}

.consent-label a {
  color: var(--deep);
  text-decoration: underline;
}

.form-status {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  display: none;
  padding: 10px 12px;
  border-radius: 10px;
  text-align: left;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  background: #e3f3eb;
  color: #134a35;
  border: 1px solid #afd7c4;
}

.form-status.is-error {
  background: #fdeceb;
  color: #9e2a1c;
  border: 1px solid #f5c2bc;
}

/* ---------------- Квиз 2-колоночный (фон --mint) ---------------- */
.quiz-split {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.quiz-intro {
  text-align: left;
}

.quiz-intro-checks {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 11px;
}

.quiz-intro-checks li {
  position: relative;
  padding-left: 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}

.quiz-intro-checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--red);
}

.quiz-box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: 0 14px 36px rgba(16, 36, 31, 0.08);
  text-align: left;
}

.quiz-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mut);
}

.quiz-progress-track {
  width: 100%;
  height: 5px;
  background: var(--pale);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 20px;
}

.quiz-progress-bar {
  height: 100%;
  width: 20%;
  background: var(--red);
  border-radius: 999px;
  transition: width 0.25s ease;
}

.quiz-question-title {
  margin: 0 0 8px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.28;
}

.quiz-hint {
  margin: 0 0 16px;
  font-size: 13.5px;
  color: var(--mut);
}

.quiz-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 13px 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease;
}

.quiz-option:hover {
  border-color: var(--deep);
  background: var(--pale);
}

.quiz-option.is-selected {
  border-color: var(--deep);
  background: var(--mint-soft);
  font-weight: 600;
}

.quiz-option-mark {
  width: 19px;
  height: 19px;
  border-radius: 6px;
  border: 1.5px solid #9ab0a5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
}

.quiz-option.is-selected .quiz-option-mark {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

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

.quiz-summary-card {
  background: var(--mint-soft);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 16px;
}

.quiz-summary-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--deep);
}

.quiz-summary-card p {
  margin: 0 0 10px;
  font-size: 14px;
}

.quiz-summary-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13.5px;
  list-style: disc;
}

.quiz-summary-list li {
  margin-bottom: 5px;
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

/* ---------------- С какими ситуациями помогаем ---------------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card-clean {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--mint-soft);
  color: var(--deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.card-icon.is-terra {
  background: var(--terra-soft);
  color: var(--red);
}

.card-clean h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.28;
}

.card-clean p {
  margin: 0;
  font-size: 14.5px;
  color: var(--mut);
}

/* ---------------- Этапы-инфографика (5 3D-иллюстраций) ---------------- */
.steps-infographic {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.step-card {
  grid-column: span 2;
  background: var(--pale);
  border-radius: var(--radius-md);
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.step-card:nth-child(4),
.step-card:nth-child(5) {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.step-visual {
  position: relative;
  background: #f5f0e8;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.step-card:nth-child(4) .step-visual,
.step-card:nth-child(5) .step-visual {
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  height: 100%;
}

.step-visual picture {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.step-visual img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  object-position: center;
}

.step-card:nth-child(4) .step-visual img,
.step-card:nth-child(5) .step-visual img {
  height: 100%;
  min-height: 205px;
}

.step-badge-num {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--deep);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.step-badge-time {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--deep);
  font-size: 12px;
  font-weight: 600;
}

.step-badge-time.is-terra {
  color: var(--red);
}

.step-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-card:nth-child(4) .step-body,
.step-card:nth-child(5) .step-body {
  justify-content: center;
  padding: 22px 24px;
}

.step-body h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.28;
}

.step-body p {
  margin: 0;
  font-size: 14px;
  color: var(--mut);
}

.step-card:nth-child(1)::after,
.step-card:nth-child(2)::after,
.step-card:nth-child(4)::after {
  content: '→';
  position: absolute;
  right: -21px;
  top: 92px;
  z-index: 4;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--surface);
  border: 1.5px solid var(--deep);
  color: var(--deep);
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------------- Почему отказались от офисов ---------------- */
.online-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3.5vw, 48px);
  align-items: start;
  margin-bottom: clamp(26px, 3vw, 38px);
}

.online-head .sec-lead {
  margin-top: 4px;
}

.online-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.online-card {
  grid-column: span 2;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.online-card:nth-child(4),
.online-card:nth-child(5) {
  grid-column: span 3;
}

.online-anchor {
  display: block;
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--deep);
  margin-bottom: 12px;
}

.online-anchor.is-terra {
  color: var(--red);
}

.online-card h3 {
  margin: 0 0 7px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.online-card p {
  margin: 0;
  font-size: 14px;
  color: var(--mut);
}

/* ---------------- Темный блок кейсов и отзывов ---------------- */
.cases-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-bottom: 24px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: transparent;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.16s ease;
}

.filter-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
}

.filter-btn.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
  font-weight: 600;
}

.cases-accordion {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.case-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.case-row-btn {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: 0;
  color: #ffffff;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) auto auto auto;
  align-items: center;
  gap: 16px 24px;
  text-align: left;
  cursor: pointer;
}

.case-city {
  font-size: clamp(19px, 1.9vw, 24px);
  font-weight: 600;
  line-height: 1.2;
}

.case-no {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

.case-sum {
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.case-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  color: #ffffff;
  font-size: 19px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.16s ease, background-color 0.16s ease;
}

.case-row.is-open .case-toggle {
  background: #ffffff;
  color: var(--deep2);
}

.case-panel {
  display: none;
  padding: 0 0 26px;
}

.case-row.is-open .case-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px 36px;
  align-items: start;
}

.case-story h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.case-story p {
  margin: 0 0 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.8);
}

.case-term-pill {
  display: inline-block;
  margin-top: 4px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 500;
  color: var(--mint);
}

.case-quote-card {
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  text-align: left;
}

.case-quote-text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.5;
}

.case-quote-text mark {
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.case-quote-meta {
  font-size: 12.5px;
  color: var(--mut);
  margin-bottom: 14px;
}

.case-quote-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.case-link {
  background: none;
  border: 0;
  padding: 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
  cursor: pointer;
}

.case-link:hover {
  text-decoration: underline;
}

.case-link.is-muted {
  color: var(--deep);
}

.cases-foot-link {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 18px;
}

.cases-foot-link span {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.84);
}

/* ---------------- Команда + Мобильное приложение ---------------- */
.team-app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.team-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.team-list li {
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.team-list h3 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.team-list p {
  margin: 0;
  font-size: 14.5px;
  color: var(--mut);
}

.app-card {
  background: var(--mint);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 32px);
  text-align: left;
  overflow: hidden;
}

.app-card h3 {
  margin: 0 0 10px;
  font-size: clamp(21px, 2.2vw, 27px);
  font-weight: 600;
  line-height: 1.18;
}

.app-card > p {
  margin: 0 0 14px;
  font-size: 14.5px;
  color: var(--ink);
}

.app-checks {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.app-checks li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 500;
}

.app-checks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--deep);
  font-weight: 700;
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.app-mockup {
  display: flex;
  justify-content: center;
  margin-bottom: -24px;
}

.app-mockup img {
  max-width: 280px;
  width: 100%;
}

/* ---------------- Калькулятор ---------------- */
.calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 24px;
  align-items: stretch;
}

.calc-controls {
  background: var(--pale);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  text-align: left;
}

.calc-result {
  background: var(--mint-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

.range-block {
  margin-bottom: 20px;
}

.range-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 8px;
}

.range-head label {
  font-size: 14px;
  font-weight: 600;
}

.range-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--deep);
  white-space: nowrap;
}

input[type='range'] {
  width: 100%;
  accent-color: var(--red);
  cursor: pointer;
}

.range-scale {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--mut);
  margin-top: 2px;
}

.seg-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 18px;
}

.seg-btn {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.seg-btn.is-active {
  background: var(--deep);
  border-color: var(--deep);
  color: #fff;
}

.calc-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.calc-check input {
  width: 17px;
  height: 17px;
  accent-color: var(--deep);
}

.calc-scenario-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--deep);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.calc-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.calc-metric {
  background: #ffffff;
  border-radius: 12px;
  padding: 13px 14px;
}

.calc-metric span {
  display: block;
  font-size: 12px;
  color: var(--mut);
  margin-bottom: 4px;
}

.calc-metric strong {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.calc-metric strong.is-terra {
  color: var(--red);
}

.calc-explain {
  margin: 0;
  font-size: 14px;
}

.calc-disclaimer {
  margin: 0;
  font-size: 12px;
  color: var(--mut);
}

/* ---------------- Чек-лист документов (фон --deep) ---------------- */
.checklist-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  text-align: left;
}

.checklist-preview {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.checklist-preview-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 15px 16px;
}

.checklist-preview-box strong {
  display: block;
  font-size: 13px;
  color: var(--mint);
  margin-bottom: 6px;
}

.checklist-preview-box span {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.45;
}

.checklist-form-box {
  background: #ffffff;
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
}

/* ---------------- Основатель ---------------- */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  text-align: left;
}

.founder-photo-card {
  background: var(--mint);
  border-radius: var(--radius-lg);
  padding: 24px 18px 0;
  overflow: hidden;
}

.founder-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.founder-fact {
  background: var(--surface);
  border-radius: 14px;
  padding: 15px 16px;
}

.founder-fact strong {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--deep);
  margin-bottom: 4px;
}

.founder-fact span {
  font-size: 13.5px;
  color: var(--mut);
}

.video-strip {
  margin-top: 24px;
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

/* ---------------- FAQ (тонкие 1px линии) ---------------- */
.faq-list {
  border-top: 1px solid var(--line);
}

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

.faq-trigger {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}

.faq-plus {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--pale);
  color: var(--deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 600;
  flex-shrink: 0;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.faq-item.is-open .faq-plus {
  transform: rotate(45deg);
  background: var(--red);
  color: #ffffff;
}

.faq-body {
  display: none;
  padding: 0 0 20px;
  font-size: 15px;
  color: var(--mut);
  max-width: 78ch;
  line-height: 1.6;
}

.faq-item.is-open .faq-body {
  display: block;
}

/* ---------------- Статьи ---------------- */
.article-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.article-cover {
  aspect-ratio: 16 / 10;
  background: var(--mint-soft);
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-cover-typo {
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--deep);
  color: #ffffff;
}

.article-cover-typo.is-warm {
  background: #234f48;
}

.article-cover-typo span {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mint);
}

.article-cover-typo strong {
  font-size: 16px;
  line-height: 1.3;
}

.article-content {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.article-content h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.32;
}

.article-content p {
  margin: 0;
  font-size: 14px;
  color: var(--mut);
}

.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  cursor: pointer;
  text-decoration: none;
}

.link-btn:hover {
  text-decoration: underline;
}

/* ---------------- Финальный блок и Дисклеймер ---------------- */
.final-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  text-align: left;
}

.benefit-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 13px;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}

.benefit-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--deep);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.final-form-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: 0 14px 36px rgba(16, 36, 31, 0.08);
}

.method-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 6px 0 12px;
}

.method-tab {
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--pale);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}

.method-tab.is-active {
  background: var(--deep);
  border-color: var(--deep);
  color: #ffffff;
}

.legal-disclaimer {
  margin-top: 28px;
  padding: 16px 20px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  text-align: left;
}

/* ---------------- Футер ---------------- */
.site-footer {
  background: var(--deep2);
  color: rgba(255, 255, 255, 0.88);
  padding: 42px 0 32px;
  text-align: left;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-brand {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.footer-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 6px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 18px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------------- Модальное окно ---------------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 48, 43, 0.68);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  text-align: left;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--pale);
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

.modal-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint-soft);
  color: var(--deep);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 10px;
}

.modal-dialog h3 {
  margin: 0 36px 14px 0;
  font-size: 21px;
  line-height: 1.25;
}

.modal-section {
  margin-bottom: 14px;
  font-size: 14.5px;
  color: var(--ink);
}

.modal-section strong {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--deep);
  margin-bottom: 4px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* ---------------- Липкая панель на мобильном и Cookies ---------------- */
.mobile-sticky-bar {
  display: none;
}

.cookie-bar {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 90;
  max-width: 440px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 14px 34px rgba(16, 36, 31, 0.16);
  font-size: 12.5px;
}

.cookie-bar.is-hidden {
  display: none;
}

.cookie-bar a {
  color: var(--deep);
  text-decoration: underline;
}

/* ---------------- Адаптив ---------------- */
@media (max-width: 1080px) {
  .desktop-nav,
  .header-right {
    display: none;
  }
  .mobile-actions {
    display: flex;
  }
  .cards-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 76px;
  }
  .hero-grid,
  .quiz-split,
  .online-head,
  .team-app-grid,
  .calc-grid,
  .checklist-split,
  .founder-grid,
  .final-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-photo-box {
    min-height: 360px;
  }
  .hero-photo {
    max-width: 280px;
    margin-bottom: 34px;
  }
  .case-row-btn {
    grid-template-columns: 1fr auto;
    gap: 6px 12px;
  }
  .case-no {
    grid-column: 1;
    font-size: 13px;
  }
  .case-sum {
    grid-column: 1;
  }
  .case-toggle {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
  .case-row.is-open .case-panel {
    grid-template-columns: 1fr;
  }
  .steps-infographic,
  .online-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step-card,
  .step-card:nth-child(4),
  .step-card:nth-child(5),
  .online-card,
  .online-card:nth-child(4),
  .online-card:nth-child(5) {
    grid-column: span 1;
  }
  .step-card:nth-child(4),
  .step-card:nth-child(5) {
    display: flex;
    flex-direction: column;
  }
  .step-card:nth-child(4) .step-visual,
  .step-card:nth-child(5) .step-visual {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
  }
  .step-card:nth-child(4) .step-visual img,
  .step-card:nth-child(5) .step-visual img {
    height: 215px;
    min-height: 0;
  }
  .step-card:not(:last-child)::after {
    content: '↓';
    position: absolute;
    left: 50%;
    right: auto;
    top: auto;
    bottom: -22px;
    transform: translateX(-50%);
    z-index: 4;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface);
    border: 1.5px solid var(--deep);
    color: var(--deep);
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    background: var(--deep2);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mobile-sticky-bar .btn-primary {
    flex: 1;
    min-height: 46px;
    padding: 10px 14px;
    font-size: 14.5px;
  }
  .mobile-sticky-call {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #ffffff;
    color: var(--deep2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
  }
  .cookie-bar {
    left: 10px;
    right: 10px;
    bottom: 76px;
    max-width: none;
    padding: 10px 12px;
    font-size: 11.5px;
  }
}

@media (max-width: 600px) {
  .sec {
    padding: 42px 0;
  }
  .hero {
    padding: 20px 0 32px;
  }
  .hero h1 span {
    display: inline;
  }
  .hero-pillars {
    flex-direction: column;
  }
  .hero-pillars li {
    padding: 11px 0;
  }
  .hero-pillars li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .hero-callback-row,
  .quiz-options,
  .cards-3,
  .checklist-preview,
  .founder-facts,
  .calc-metrics {
    grid-template-columns: 1fr;
  }
  .btn-lg {
    width: 100%;
  }
}
