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

/* Палитра и блоки в духе https://leadburn.ru/chefflidgen/ */
:root {
  --lb-bg: #ffffff;
  --lb-bg-soft: #f8f9fa;
  --lb-bg-alt: #f5f5f7;
  --lb-text: #1d1d1f;
  --lb-muted: #6c757d;
  --lb-muted2: #86868b;
  --lb-border: #e5e5e7;
  --lb-border-strong: #d1d1d6;
  --lb-purple-a: #667eea;
  --lb-purple-b: #764ba2;
  --lb-blue: #007aff;
  --lb-blue-deep: #1a56db;
  --lb-green: #28a745;
  --lb-green-hover: #218838;
  --lb-yellow: #ffd400;
  --lb-yellow-hover: #ffcc00;
  --lb-telegram: linear-gradient(135deg, #0088cc, #0066aa);
  --lb-shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.08);
  --lb-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
  --lb-nav-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  /* Основная колонка контента ≈ 70% ширины экрана */
  --content-width: min(70vw, calc(100% - 48px));
  /* Зелень методики (как кнопка запуска) */
  --method-green: #7f9b87;
  --method-green-deep: #628772;
  --method-green-soft: #98b3a0;
}

body {
  margin: 0;
  padding-top: 96px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  background: var(--lb-bg);
  color: var(--lb-text);
}

.container {
  width: var(--content-width);
  max-width: 100%;
  margin: 0 auto;
}

/* Шапка — «таблетка» как на LeadBurn */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0 0;
  background: transparent;
  border: none;
}

.header-inner {
  padding-bottom: 8px;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  background: var(--lb-bg);
  border-radius: 24px;
  box-shadow: var(--lb-nav-shadow);
}

.brand {
  color: var(--lb-text);
  font-style: italic;
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.022em;
  text-decoration: underline;
  text-decoration-color: #ff0000;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.brand:hover {
  color: var(--lb-text);
  text-decoration-color: #ff0000;
}

.nav-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lb-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: color 0.2s ease;
}

.nav-icon {
  flex-shrink: 0;
  opacity: 0.82;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.nav-links a:hover .nav-icon {
  opacity: 1;
  transform: translateY(-1px);
}

/* Hero — светлый блок */
.hero {
  padding: 48px 0 72px;
  background: var(--lb-bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}

.hero-copy {
  text-align: left;
}

h1 {
  margin: 0;
  font-size: clamp(2.17rem, 4.06vw, 3.29rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--lb-text);
}

.accent {
  color: #ff0000;
}

.h1-price-line {
  font-size: 0.88em;
  font-weight: inherit;
  letter-spacing: -0.02em;
}

.lead {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.55;
  color: #495057;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
  margin-top: 22px;
  max-width: 520px;
  width: 100%;
}

.hero-actions .btn {
  min-height: 48px;
  height: 48px;
  padding-top: 0;
  padding-bottom: 0;
  white-space: nowrap;
}

.hero-actions .btn-launch {
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  white-space: normal;
  text-align: center;
  height: auto;
  min-height: 48px;
  padding-top: 11px;
  padding-bottom: 11px;
  padding-left: 16px;
  padding-right: 16px;
}

.hero-actions .btn-youtube-compact {
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hero-actions .btn-youtube-compact .yt-icon {
  width: 22px;
  height: 22px;
  font-size: 11px;
}

.voice-message {
  position: relative;
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  max-width: 520px;
  padding: 12px;
  border-radius: 14px;
  background: linear-gradient(135deg, #dbe6de 0%, #f0f5f1 100%);
  border: 1px solid #b9cbbf;
}

.voice-message-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.voice-play-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #7f9b87;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(127, 155, 135, 0.35);
}

.voice-play-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.voice-content {
  flex: 1;
  min-width: 0;
}

.voice-author {
  margin: 0 0 8px;
  color: #3f5747;
  font-size: 14px;
  font-weight: 600;
}

.voice-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 6px;
  background: #cad8cf;
  overflow: hidden;
}

.voice-progress-value {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #7f9b87 0%, #98b3a0 100%);
  transition: width 0.15s linear;
}

.voice-meta {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  color: #587061;
}

.voice-meta-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.voice-speed-btn {
  min-width: 36px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #a9beaf;
  background: #fff;
  color: #4f6757;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 0 8px;
}

.voice-speed-btn:hover {
  background: #edf4ef;
}

.voice-speed-btn.is-active {
  background: #7f9b87;
  border-color: #7f9b87;
  color: #fff;
}

.voice-speed-floating {
  position: absolute;
  top: 10px;
  right: 10px;
}

.voice-transcript {
  width: 100%;
  margin: 10px 0 0;
  padding: 12px 0 2px;
  border-top: 1px solid rgba(181, 203, 189, 0.95);
  background: transparent;
  border-radius: 0;
  border-left: none;
  border-right: none;
  border-bottom: none;
  color: #3f5747;
  text-align: left;
}

.voice-transcript p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 400;
}

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

.voice-mark {
  margin: 0;
  padding: 0 3px;
  background: rgba(255, 243, 138, 0.72);
  color: inherit;
  font-weight: inherit;
  border-radius: 3px;
  box-decoration-break: clone;
}

/* Кнопки как btn-yd у LeadBurn */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 14px;
  border: none;
  font-size: 17px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: -0.022em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:active {
  transform: translateY(0);
}

.btn-yd--primary {
  background: #7f9b87;
  color: #fff;
  box-shadow: 0 6px 16px rgba(127, 155, 135, 0.32);
}

.btn-yd--primary:hover {
  background: #708a78;
  transform: translateY(-2px);
}

.btn-launch {
  min-width: 0;
  flex: 1.65;
}

.btn-yd--outline {
  background: var(--lb-bg);
  color: var(--lb-blue-deep);
  border: 2px solid #e6eefc;
}

.btn-yd--outline:hover {
  background: #f5f8ff;
  transform: translateY(-2px);
}

.btn-youtube {
  background: #ff0000;
  color: #fff;
  border: 2px solid #ff0000;
  box-shadow: 0 8px 22px rgba(255, 0, 0, 0.28);
}

.btn-youtube:hover {
  background: #db0000;
  border-color: #db0000;
  transform: translateY(-2px);
}

.yt-icon {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
}

.btn-youtube-compact {
  min-width: 0;
  flex: 1;
  padding-left: 16px;
  padding-right: 16px;
}

.btn-green {
  background: var(--lb-green);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.btn-green:hover {
  background: var(--lb-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(40, 167, 69, 0.35);
}

.btn-sm {
  min-height: 40px;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 980px;
  font-weight: 600;
}

.btn-nav-outline {
  background: var(--lb-bg);
  color: #495057;
  border: 2px solid #e9ecef;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border-radius: 980px;
}

.btn-nav-outline:hover {
  background: #f8f9fa;
  transform: translateY(-1px);
}

/* Правая панель hero — белая карточка */
.hero-media-card {
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  background: #0f121a;
  min-height: 0;
  align-self: start;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
}

.hero-media-card img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: left center;
}

/* Секции — чередование как section:nth-child(even) на LeadBurn */
.section {
  padding: 60px 0;
  text-align: center;
  background: var(--lb-bg);
}

.section-alt {
  background: var(--lb-bg-alt);
}

.section-soft {
  background: var(--lb-bg-soft);
}

.section-head {
  max-width: min(720px, 100%);
  margin: 0;
  text-align: left;
}

.section-head h2,
.section-head .section-text {
  text-align: left;
}

#technologies .section-head {
  max-width: none;
  width: 100%;
}

h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--lb-text);
}

.section-text {
  margin: 14px 0 0;
  font-size: 17px;
  color: var(--lb-text);
  font-weight: 400;
  line-height: 1.45;
}

/* Калькулятор стоимости продающей встречи — одна карточка */
#cost-calculator .calc-grid {
  margin-top: 32px;
  max-width: min(960px, 100%);
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.calc-card-unified {
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, #f4f8f5 0%, #eef3ef 48%, #e8efe9 100%);
  box-shadow: 0 16px 40px rgba(62, 94, 74, 0.12), 0 0 0 1px rgba(127, 155, 135, 0.18);
}

.calc-unified-body {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 1fr);
  align-items: stretch;
}

.calc-card-form {
  padding: 24px 26px 26px;
  margin: 0;
  background: rgba(255, 255, 255, 0.58);
  border-right: 1px solid rgba(127, 155, 135, 0.22);
}

.calc-unified-results {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: rgba(255, 255, 255, 0.14);
}

.calc-card-form--compact .calc-legend {
  font-size: 14px;
  margin-bottom: 8px;
}

.calc-card-form--compact .calc-text-input {
  padding: 10px 12px;
  font-size: 14px;
}

.calc-card-form--compact .calc-select {
  padding: 10px 38px 10px 12px;
  font-size: 14px;
}

.calc-card-form--compact > .calc-fieldset {
  margin-bottom: 16px;
}

.calc-results-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 24px 22px 22px;
}

.calc-fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

.calc-card-form > .calc-fieldset {
  margin-bottom: 22px;
}

.calc-card-form > :last-child {
  margin-bottom: 0;
}

.calc-fieldset label.calc-legend {
  display: block;
  margin-bottom: 8px;
}

.calc-legend {
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--lb-text);
  line-height: 1.35;
  margin-bottom: 10px;
  text-align: left;
}

.calc-text-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--lb-border);
  font: inherit;
  font-size: 15px;
  color: var(--lb-text);
  background: var(--lb-bg-soft);
}

.calc-text-input:focus {
  outline: none;
  border-color: var(--method-green);
  box-shadow: 0 0 0 3px rgba(127, 155, 135, 0.22);
}

.calc-select {
  display: block;
  width: 100%;
  padding: 12px 40px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--lb-border);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--lb-text);
  background-color: var(--lb-bg-soft);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
}

.calc-select:focus {
  outline: none;
  border-color: var(--method-green);
  box-shadow: 0 0 0 3px rgba(127, 155, 135, 0.22);
}

.calc-select:hover {
  border-color: var(--lb-border-strong);
}

.calc-results-kicker {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--method-green-deep);
}

.calc-results-hero {
  text-align: center;
  padding: 22px 18px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(127, 155, 135, 0.28);
  box-shadow: 0 8px 24px rgba(98, 135, 114, 0.08);
}

.calc-results-hero-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--lb-muted);
  letter-spacing: -0.015em;
}

.calc-results-hero-value {
  display: block;
  margin-top: 10px;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--lb-text);
  font-variant-numeric: tabular-nums;
}

.calc-results-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.calc-results-detail {
  padding: 14px 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(127, 155, 135, 0.2);
}

.calc-results-detail-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--method-green-deep);
  opacity: 0.95;
}

.calc-results-detail-note {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--lb-muted2);
}

.calc-results-detail-value {
  display: block;
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--lb-text);
  font-variant-numeric: tabular-nums;
}

.calc-cta {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(127, 155, 135, 0.22);
  text-align: center;
}

.calc-cta-btn {
  width: 100%;
  min-height: 48px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.022em;
  box-shadow: 0 8px 22px rgba(127, 155, 135, 0.35);
}

.calc-cta-caption {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: var(--lb-muted);
}

@media (max-width: 400px) {
  .calc-results-details {
    grid-template-columns: 1fr;
  }
}

.tech-products-heading {
  margin: 28px 0 0;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--lb-text);
  letter-spacing: -0.02em;
  text-align: left;
}

.tech-internal-grid.tech-external-grid {
  margin-top: 14px;
}

.tech-external-heading {
  margin-top: 36px;
}

.tech-external-lead {
  margin: 10px 0 0;
  max-width: min(720px, 100%);
  font-size: 15px;
  line-height: 1.45;
  color: var(--lb-muted);
  text-align: left;
}

.tech-external-grid {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(252px, 1fr));
  gap: 12px;
  text-align: left;
}

.tech-external-grid > li {
  margin: 0;
}

.tech-external-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  height: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--lb-border);
  background: var(--lb-bg);
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tech-external-card:hover {
  border-color: rgba(127, 155, 135, 0.55);
  box-shadow: var(--lb-shadow-sm);
  transform: translateY(-1px);
}

.tech-external-card:focus-visible {
  outline: 2px solid var(--lb-blue-deep);
  outline-offset: 2px;
}

.tech-external-card--static {
  cursor: default;
}

.tech-external-card--static:hover {
  border-color: var(--lb-border);
  box-shadow: none;
  transform: none;
}

.tech-external-domain--muted {
  color: var(--lb-muted);
}

.tech-external-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lb-text);
  line-height: 1.25;
}

.tech-external-domain {
  font-size: 12px;
  font-weight: 600;
  color: var(--lb-blue-deep);
}

.tech-external-desc {
  font-size: 13px;
  line-height: 1.45;
  color: var(--lb-muted);
}

/* Методика — вертикальный трек шагов */
.methodology-track {
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  max-width: 720px;
  text-align: left;
}

.methodology-step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  position: relative;
}

.methodology-step:not(:last-child) .methodology-step-axis::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 62px;
  bottom: -12px;
  width: 3px;
  transform: translateX(-50%);
  border-radius: 3px;
  background: linear-gradient(
    180deg,
    var(--method-green) 0%,
    rgba(127, 155, 135, 0.35) 100%
  );
}

.methodology-step-axis {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 2px;
}

.methodology-dot {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 6px;
  border-radius: 50%;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-align: center;
  color: #fff;
  background: linear-gradient(
    145deg,
    var(--method-green-soft) 0%,
    var(--method-green) 45%,
    var(--method-green-deep) 100%
  );
  box-shadow: 0 6px 18px rgba(127, 155, 135, 0.42);
}

.methodology-step-panel {
  margin-bottom: 28px;
  padding: 18px 20px;
  border-radius: 14px;
  border: 1px solid var(--lb-border);
  background: var(--lb-bg-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.methodology-step:last-child .methodology-step-panel {
  margin-bottom: 0;
}

.methodology-step-panel:hover {
  border-color: var(--lb-border-strong);
  box-shadow: var(--lb-shadow-sm);
}

.methodology-panel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(168px, 232px);
  gap: 20px;
  align-items: start;
}

.methodology-panel-text h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--lb-text);
  line-height: 1.3;
}

.methodology-panel-phase {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lb-muted);
  line-height: 1.3;
}

.methodology-panel-lead {
  margin: 0;
  font-size: 15px;
  color: var(--lb-muted);
  line-height: 1.55;
}

.method-expand-btn {
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--lb-border);
  background: var(--lb-bg);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--lb-text);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.method-expand-btn:hover {
  border-color: var(--method-green);
  background: rgba(127, 155, 135, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.method-expand-chevron {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.22s ease;
  margin-bottom: 4px;
}

.method-expand-btn.is-open .method-expand-chevron {
  transform: rotate(-135deg);
  margin-bottom: -2px;
}

.method-preview-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-color: #111;
  background-image: var(--preview-thumb);
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.method-preview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.52) 100%);
  pointer-events: none;
}

.method-preview-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.method-preview-play {
  position: relative;
  z-index: 1;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  font-size: 18px;
  font-weight: 700;
  color: #111;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.method-preview-caption {
  position: absolute;
  z-index: 1;
  left: 10px;
  right: 10px;
  bottom: 8px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.25;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.methodology-panel-extra {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--lb-border);
}

.methodology-panel-extra p {
  margin: 0 0 12px;
  font-size: 15px;
  color: var(--lb-muted);
  line-height: 1.55;
}

.methodology-panel-extra p:last-child {
  margin-bottom: 0;
}

.case-card h3,
.tool-item h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--lb-text);
  line-height: 1.3;
}

.tool-item p {
  margin: 0;
  font-size: 15px;
  color: var(--lb-muted);
  line-height: 1.55;
}

/* Примеры лидов — карточка в стиле showcase */
.cases-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-card {
  text-align: left;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--lb-bg);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
}

.case-card-head {
  padding: 14px 18px;
  background: var(--lb-telegram);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.case-card-body {
  padding: 18px;
  background: linear-gradient(180deg, #fff9f6 0%, var(--lb-bg) 42%);
}

.case-tag {
  display: inline-block;
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255, 107, 53, 0.12);
  color: #c2410c;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.case-card-body > p:last-of-type {
  margin: 0;
  font-size: 15px;
  color: var(--lb-muted);
  line-height: 1.5;
}

.case-card-body button {
  margin-top: 14px;
  width: 100%;
  min-height: 42px;
  border-radius: 12px;
  border: none;
  background: #ff6b35;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.case-card-body button:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* Инструменты — белые плитки как benefit-card */
.tools-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tool-item {
  text-align: center;
  background: var(--lb-bg);
  border-radius: 16px;
  padding: 28px 22px;
  border: 1px solid var(--lb-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.tool-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--lb-shadow-md);
  border-color: var(--lb-border-strong);
}

.tool-item span {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--lb-purple-a);
  background: rgba(102, 126, 234, 0.1);
  padding: 6px 12px;
  border-radius: 8px;
}

/* FAQ */
.faq-list {
  margin-top: 32px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 12px;
  text-align: left;
}

details {
  border: 1px solid var(--lb-border);
  border-radius: 14px;
  background: var(--lb-bg);
  padding: 14px 18px;
  transition: box-shadow 0.2s ease;
}

details[open] {
  box-shadow: var(--lb-shadow-sm);
}

summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  color: var(--lb-text);
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

details p {
  margin: 12px 0 4px;
  font-size: 15px;
  color: var(--lb-muted);
  line-height: 1.55;
}

/* Финальный CTA — кремовый градиент + колонка «что получаете» */
.final-cta {
  padding: 72px 0;
  background: linear-gradient(135deg, #fff8e7 0%, var(--lb-bg-alt) 100%);
}

.final-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
  text-align: left;
}

.final-grid h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-bottom: 14px;
}

.final-grid .lead {
  max-width: none;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.final-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--lb-muted2);
}

.copy-status {
  min-height: 22px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--lb-green);
}

.value-stack {
  background: var(--lb-bg);
  border-radius: 16px;
  padding: 22px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--lb-shadow-sm);
}

.value-stack h3 {
  margin: 0 0 16px;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  color: var(--lb-text);
}

.stack-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stack-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #495057;
  line-height: 1.45;
}

.stack-list li::before {
  content: "✅";
  flex-shrink: 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer {
  padding: 28px 0;
  background: #1a1d29;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  text-align: center;
}

.footer p {
  margin: 0;
}

@media (max-width: 768px) {
  :root {
    --content-width: min(90vw, calc(100% - 32px));
  }
}

@media (max-width: 960px) {
  body {
    padding-top: 84px;
  }

  .nav-links {
    display: none;
  }

  .hero-grid,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .voice-message {
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .hero-media-card {
    min-height: 260px;
    max-height: min(420px, 55vh);
  }

  .cases-grid,
  .tools-grid {
    grid-template-columns: 1fr;
  }

  .methodology-track {
    max-width: 100%;
  }

  .methodology-step {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 12px;
  }

  .methodology-panel-row {
    grid-template-columns: 1fr;
  }

  .method-preview-card {
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
  }

  .methodology-dot {
    width: 52px;
    height: 52px;
    padding: 5px;
    font-size: 9px;
  }

  .methodology-step:not(:last-child) .methodology-step-axis::after {
    top: 56px;
  }

  .final-grid {
    text-align: center;
  }

  .cta-actions {
    justify-content: center;
  }

  #cost-calculator .calc-unified-body {
    grid-template-columns: 1fr;
  }

  .calc-card-form {
    border-right: none;
    border-bottom: 1px solid rgba(127, 155, 135, 0.22);
  }

  .final-note,
  .copy-status {
    text-align: center;
  }

  .quiz-modal-dialog {
    margin: 12px;
    padding: 22px 18px 18px;
    max-height: calc(100vh - 24px);
  }
}

/* Модальное окно — квиз «Экскурсия в отдел» */
body.quiz-modal-open {
  overflow: hidden;
}

.quiz-modal[hidden] {
  display: none !important;
}

.quiz-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.quiz-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 26, 0.52);
  backdrop-filter: blur(4px);
}

.quiz-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(88vh, 720px);
  overflow-y: auto;
  padding: 28px 26px 22px;
  border-radius: 20px;
  background: var(--lb-bg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.quiz-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 12px;
  background: var(--lb-bg-soft);
  color: var(--lb-text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.quiz-modal-close:hover {
  background: var(--lb-bg-alt);
}

.quiz-modal-title {
  margin: 0 36px 8px 0;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--lb-text);
}

.quiz-modal-sub {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.45;
  color: var(--lb-muted);
}

.quiz-progress {
  height: 6px;
  border-radius: 6px;
  background: var(--lb-border);
  overflow: hidden;
  margin-bottom: 8px;
}

.quiz-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--method-green-soft), var(--method-green));
  transition: width 0.28s ease;
}

.quiz-progress-label {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lb-muted);
}

.quiz-panel {
  margin-bottom: 20px;
  min-height: 120px;
}

.quiz-panel--hidden {
  display: none !important;
}

.quiz-label {
  display: block;
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--lb-text);
}

.quiz-hint {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--lb-muted);
}

.quiz-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--lb-border);
  font: inherit;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.quiz-input:focus {
  outline: none;
  border-color: var(--method-green);
}

.quiz-slots {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: stretch;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.quiz-slot-day {
  flex: 1 1 0;
  min-width: 76px;
  border: 1px solid var(--lb-border);
  border-radius: 12px;
  padding: 8px 8px 10px;
  background: var(--lb-bg-soft);
  box-sizing: border-box;
}

.quiz-slot-day-title {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--lb-text);
  text-align: center;
  hyphens: auto;
  white-space: pre-line;
}

.quiz-slot-grid {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 5px;
  align-items: stretch;
}

.quiz-slot-btn {
  width: 100%;
  min-width: 0;
  padding: 6px 6px;
  border-radius: 8px;
  border: 1px solid var(--lb-border);
  background: var(--lb-bg);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--lb-text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.quiz-slot-btn:hover:not(:disabled) {
  border-color: var(--method-green);
}

.quiz-slot-btn.is-selected {
  border-color: var(--method-green);
  background: rgba(127, 155, 135, 0.14);
}

.quiz-slot-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  text-decoration: line-through;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--lb-border);
  cursor: pointer;
  font-size: 15px;
  line-height: 1.35;
  color: var(--lb-text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.quiz-option:has(input:checked) {
  border-color: var(--method-green);
  background: rgba(127, 155, 135, 0.08);
}

.quiz-option input {
  margin-top: 3px;
  accent-color: var(--method-green);
}

.quiz-error {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: #c2410c;
}

.quiz-error--hidden {
  display: none !important;
}

.quiz-final-reply {
  margin: 0 0 24px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.018em;
  font-weight: 500;
  color: var(--lb-text);
}

.quiz-final-reply p {
  margin: 0 0 14px;
}

.quiz-final-reply p:last-child {
  margin-bottom: 0;
}

.quiz-final-reply a {
  color: var(--lb-blue-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quiz-final-reply a:hover {
  color: var(--lb-blue);
}

.quiz-final-gift {
  text-align: center;
  padding: 4px 0 2px;
}

.quiz-final-gift-caption {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lb-muted);
}

.quiz-gift-claim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: none;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.022em;
  font-family: inherit;
  text-decoration: none;
  box-sizing: border-box;
}

.quiz-gift-claim-btn__icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.quiz-gift-claim-btn__icon svg {
  display: block;
}

.quiz-gift-claim-btn__label {
  flex: 0 1 auto;
}

.quiz-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--lb-border);
}

.quiz-actions[hidden] {
  display: none !important;
}

.quiz-btn-back {
  padding: 12px 18px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid var(--lb-border);
  background: var(--lb-bg);
  color: var(--lb-text);
  font-size: 15px;
  font-weight: 600;
}

.quiz-btn-back:hover {
  border-color: var(--lb-border-strong);
}

.quiz-btn-back:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quiz-actions .btn-yd--primary {
  flex: 1 1 auto;
  min-height: 44px;
}
