@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Source+Serif+4:wght@400;600&display=swap");

:root {
  --bg: #f6f1ea;
  --ink: #1b1b1d;
  --ink-soft: #4a4a52;
  --accent: #d1603d;
  --accent-dark: #b24f32;
  --panel: #fff7ee;
  --panel-2: #ffffff;
  --border: #e3d7cb;
  --shadow: rgba(27, 27, 29, 0.08);
  --success: #2e7d5a;
  --warning: #b36b00;
  --locked: #8c8c95;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Serif 4", "Times New Roman", serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, #fefaf6 0%, var(--bg) 55%, #efe6dc 100%);
}

html,
body {
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  margin: 0 0 0.6rem 0;
}

p {
  margin: 0 0 0.9rem 0;
  color: var(--ink-soft);
}

p,
li {
  overflow-wrap: anywhere;
}

/* ========================= */
/* HERO SECTIONS - NEW DESIGN */
/* ========================= */

.hero {
  padding: 0;
  background: linear-gradient(135deg, #fff3e2 0%, #f7e9d8 40%, #f2e0d0 100%);
  border-bottom: 1px solid var(--border);
}

.hero-inner {
  width: 100%;
}

.hero-slide {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4.5rem 1.5rem;
}

.hero-slide-content {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

/* Экран 1: Проблема */
.hero-slide-problem {
  padding: 5rem 1.5rem 4rem;
}

.hero-h1-main {
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem 0;
  color: var(--ink);
}

.hero-intro {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

/* Вопрос "Знакомо?" со стрелками */
.hero-question {
  margin: 3rem 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-question-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--accent-dark);
}

.hero-arrows-down {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.arrow-icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
  animation: bounceDown 2s ease-in-out infinite;
}

.arrow-icon:nth-child(2) {
  animation-delay: 0.2s;
}

.arrow-icon:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

/* Карточки со сценариями - 3 в ряд */
.scenario-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}

.scenario-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 4px 12px var(--shadow);
}

.scenario-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(27, 27, 29, 0.14);
  border-color: var(--accent);
}

.scenario-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.scenario-card h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  margin: 0 0 0.8rem 0;
  color: var(--ink);
  font-weight: 600;
}

.scenario-card p {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
  color: var(--ink-soft);
}

/* Заключение после сценариев */
.hero-conclusion {
  margin: 3rem auto 0;
  max-width: 960px;
  padding: 2rem 2.5rem;
  background: rgba(209, 96, 61, 0.08);
  border: 2px solid rgba(209, 96, 61, 0.2);
  border-radius: 20px;
}

.hero-conclusion p {
  font-size: clamp(1.05rem, 1.9vw, 1.35rem);
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.hero-conclusion p:last-child {
  margin-bottom: 0;
}

.hero-conclusion strong {
  color: var(--accent-dark);
  font-weight: 700;
}

.hero-conclusion-cta {
  font-weight: 600;
  color: var(--accent-dark);
}

/* Экран 2: Решение */
.hero-slide-solution {
  padding: 4rem 1.5rem 5rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, #faf4ec 0%, #f4ebe0 50%, #efe4d6 100%);
}

.hero-reveal .hero-slide-content {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-reveal.is-visible .hero-slide-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-h2-main {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 3rem 0;
  color: var(--ink);
}

/* Контейнер с двумя путями */
.paths-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: stretch;
  margin: 0 0 3rem 0;
}

.path-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  text-align: left;
  box-shadow: 0 8px 24px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.path-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(27, 27, 29, 0.12);
}

.path-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
  flex-shrink: 0;
}

.path-number {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  background: var(--accent);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.8rem;
}

.path-header h3 {
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0;
  color: var(--ink);
}

.path-intro {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: var(--ink-soft);
}

.path-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.path-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.7rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.path-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.path-note {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 1rem 1.2rem;
  background: rgba(209, 96, 61, 0.05);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  margin: 0;
}

.path-highlight {
  font-size: 1rem;
  line-height: 1.6;
  padding: 1.2rem 1.5rem;
  background: rgba(209, 96, 61, 0.08);
  border: 1px solid rgba(209, 96, 61, 0.2);
  border-radius: 12px;
  margin: 1.5rem 0;
}

/* Кнопка связи */
.contact-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 1rem 1.8rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(209, 96, 61, 0.3);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-button:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(209, 96, 61, 0.4);
}

.button-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.contact-button:hover .button-arrow {
  transform: translateX(4px);
}

/* Разделитель между путями */
.path-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.divider-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink-soft);
  background: white;
  border: 2px solid var(--border);
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  box-shadow: 0 4px 12px var(--shadow);
}

.path-content {
  flex-grow: 1;
}

/* Footer карточек с критериями */
.path-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  min-height: 180px;
}

.path-footer-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 0.8rem;
}

.path-criteria {
  list-style: none;
  padding: 0;
  margin: 0;
}

.path-criteria li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.path-criteria li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
  font-size: 0.95rem;
}

/* Финальное сообщение */
.hero-final-message {
  max-width: 920px;
  margin: 3rem auto 0;
  padding: 2rem 2.5rem;
  background: rgba(46, 125, 90, 0.08);
  border: 2px solid rgba(46, 125, 90, 0.2);
  border-radius: 20px;
  text-align: center;
}

.hero-final-message p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.hero-final-message p:last-child {
  margin-bottom: 0;
}

.hero-final-cta {
  font-weight: 600;
}

/* Hero bottom CTA — scroll to modules */
.hero-start-cta {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

.hero-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(209, 96, 61, 0.3);
}

.hero-start-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(209, 96, 61, 0.35);
}

.hero-start-btn svg {
  animation: bounce-down 1.5s infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

.inline-contact-link {
  display: inline;
  background: none;
  border: none;
  color: var(--accent-dark);
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}

.inline-contact-link:hover {
  color: var(--accent);
}

/* ========================= */
/* MODAL - Contact Popup */
/* ========================= */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(27, 27, 29, 0.7);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.25s ease;
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(27, 27, 29, 0.3);
  animation: slideUp 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}

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

.modal-close svg {
  width: 24px;
  height: 24px;
  color: var(--ink-soft);
}

.modal-content h3 {
  font-size: 1.8rem;
  margin: 0 0 0.8rem 0;
  color: var(--ink);
}

.modal-content > p {
  font-size: 1rem;
  margin: 0 0 1.5rem 0;
  color: var(--ink-soft);
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 1.5rem;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow);
  border-color: var(--accent);
}

.contact-icon {
  width: 36px;
  height: 36px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 0.2rem;
}

.contact-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================= */
/* FIXED TOP NAVIGATION BAR */
/* ========================= */

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 247, 238, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.top-nav.scrolled {
  box-shadow: 0 4px 20px var(--shadow);
}

.top-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 62px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

/* Brand */
.top-nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.brand-sub {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.2;
  border-left: 1px solid var(--border);
  padding-left: 0.5rem;
  max-width: 80px;
}

/* Module pills row */
.top-nav-modules {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.top-nav-modules::-webkit-scrollbar {
  display: none;
}

/* Single nav pill */
.nav-day-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.nav-day-pill:hover:not(.nav-pill-locked) {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(209, 96, 61, 0.05);
  transform: translateY(-1px);
}

.nav-day-pill.nav-pill-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(209, 96, 61, 0.3);
}

.nav-day-pill.nav-pill-passed {
  border-color: var(--success);
  color: var(--success);
  background: rgba(46, 125, 90, 0.07);
}

.nav-day-pill.nav-pill-passed:hover {
  background: rgba(46, 125, 90, 0.14);
  transform: translateY(-1px);
}

.nav-day-pill.nav-pill-locked {
  opacity: 0.45;
  cursor: not-allowed;
  border-style: dashed;
}

.nav-pill-icon {
  font-size: 0.85rem;
  line-height: 1;
}

/* Action buttons in top-nav */
.top-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: transparent;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-contact-btn {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(209, 96, 61, 0.05);
}

.nav-contact-btn:hover {
  background: var(--accent);
  color: #fff;
}

.nav-reset-btn {
  color: var(--ink-soft);
  border-color: var(--border);
}

.nav-reset-btn:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}

/* Hamburger button (mobile only) */
.top-nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
  margin-left: auto;
}

.top-nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.top-nav-hamburger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.top-nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.top-nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile dropdown menu */
.top-nav-mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--panel);
  border-top: 1px solid var(--border);
  padding: 1rem 1.5rem 1.2rem;
  animation: slideDown 0.2s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.top-nav-mobile-menu.open {
  display: flex;
}

.mobile-menu-modules {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.mobile-menu-modules .nav-day-pill {
  width: 100%;
  justify-content: flex-start;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

.mobile-menu-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 0.9rem;
}

.nav-action-btn.mobile-full {
  flex: 1;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
}

/* ========================= */
/* NAV PILL TOOLTIP          */
/* ========================= */

.nav-pill-tooltip {
  position: fixed;
  z-index: 2000;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  min-width: 220px;
  max-width: 280px;
  box-shadow: 0 8px 28px rgba(27,27,29,0.22);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-pill-tooltip.visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-pill-tooltip-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.nav-pill-tooltip-goal {
  font-family: "Source Serif 4", serif;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
  margin-bottom: 0.5rem;
}

.nav-pill-tooltip-status {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.tooltip-status-passed {
  background: rgba(46,125,90,0.3);
  color: #7de0ab;
}

.tooltip-status-active {
  background: rgba(209,96,61,0.3);
  color: #ffb49a;
}

.tooltip-status-locked {
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.5);
}

.tooltip-status-open {
  background: rgba(209,96,61,0.2);
  color: #ffcfb9;
}

/* ========================= */
/* MAIN CONTENT AREA         */
/* ========================= */

.main-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  /* Offset for fixed top-nav */
  padding-top: calc(62px + 2rem);
}

/* Keep hero below nav */
.hero {
  margin-top: 62px;
}

.content-panel {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 16px 28px var(--shadow);
  min-width: 0;
}

/* Legacy day-list (hidden, kept for JS compatibility) */
.day-list { display: none; }
.days-panel { display: none; }
.panel-title { display: none; }
.panel-note { display: none; }
.ghost-button { display: none; }

/* Badge styles (still used inside nav pills) */
.badge {
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge.open {
  background: #f5d8cf;
  color: var(--accent-dark);
}

.badge.passed {
  background: #d7efe4;
  color: var(--success);
}

.badge.locked {
  background: #ebe7e1;
  color: var(--locked);
}

/* Reset modal extras */
.modal-content-sm {
  max-width: 400px;
}

.reset-modal-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.button-danger {
  background: #c0392b;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.72rem 1.4rem;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.button-danger:hover {
  background: #a93226;
}

.button-ghost-modal {
  background: transparent;
  color: var(--ink-soft);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.72rem 1.4rem;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.button-ghost-modal:hover {
  border-color: var(--ink-soft);
  color: var(--ink);
}

.section {
  margin-bottom: 2.4rem;
}

.section h2,
.section h3 {
  margin-bottom: 0.65rem;
}

.list {
  padding-left: 1.2rem;
  margin: 0.4rem 0 0.6rem;
}

.list li {
  margin-bottom: 0.45rem;
}

.compact-list {
  margin-top: 0.2rem;
  margin-bottom: 0.7rem;
}

.button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.72rem 1.2rem;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.button:hover {
  background: var(--accent-dark);
}

.inline {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  align-items: center;
}

.notice {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #fff6e2;
  border: 1px solid #f1d6a8;
  color: #8a5b10;
  font-size: 0.9rem;
}

.notice.success {
  background: #e7f6ef;
  border-color: #bde5cf;
  color: #1f6b49;
}

.context-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  overflow: hidden;
  padding-bottom: 0;
}

.context-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: none;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(209, 96, 61, 0.08) 0%, rgba(209, 96, 61, 0) 52%),
    var(--panel);
  box-shadow: 0 10px 24px rgba(27, 27, 29, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.context-card:hover {
  transform: translateY(-3px);
  border-color: #d4b7a2;
  box-shadow: 0 14px 26px rgba(27, 27, 29, 0.11);
}

.context-card h3 {
  font-size: 1rem;
  margin-bottom: 0.7rem;
}

.context-card p,
.context-card li {
  line-height: 1.5;
}

.context-grid-horizontal {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  overflow: hidden;
}

.context-grid-horizontal .context-card-horizontal {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: none;
}

.quiz-progress {
  margin: 1rem 0 1.2rem;
}

.quiz-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 0.86rem;
}

.quiz-progress-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quiz-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.25rem;
  background: #fffdfa;
}

.quiz-pill {
  display: inline-flex;
  align-items: center;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: #fbe2d8;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  margin-bottom: 0.8rem;
}

.quiz-case-list {
  background: #fff7ee;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem 0.35rem 2rem;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.quiz-option {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: center;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.quiz-option:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 18px rgba(209, 96, 61, 0.16);
  transform: translateX(4px);
}

.quiz-option input[type="radio"] {
  margin: 0;
  accent-color: var(--accent);
}

.quiz-option-text {
  color: #28282d;
}

.quiz-option-score {
  font-size: 0.8rem;
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  color: var(--ink-soft);
  display: none !important;
}

.quiz-option.selected {
  border-color: var(--accent);
  box-shadow: 0 10px 22px rgba(209, 96, 61, 0.18);
  background: #fff4ef;
}

.quiz-option.dimmed {
  opacity: 0.5;
}

.quiz-feedback {
  margin-top: 0.95rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  font-size: 0.94rem;
  animation: fadeIn 0.3s ease;
}

.feedback-good {
  background: #e7f6ef;
  border: 1px solid #bde5cf;
  color: #1f6b49;
}

.feedback-mid {
  background: #fff6e2;
  border: 1px solid #f1d6a8;
  color: #8a5b10;
}

.feedback-bad {
  background: #ffe5e5;
  border: 1px solid #ffcccc;
  color: #b71c1c;
}

.quiz-controls {
  margin-top: 1rem;
}

.score-card {
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 1.1rem 1.15rem;
  background: #fffdfa;
}

.score-title {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.score-value {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-size: 2rem;
  line-height: 1.1;
  margin: 0.25rem 0 0.35rem;
}

.score-label {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.score-body p {
  margin-bottom: 0.6rem;
}

.score-good {
  background: #edf8f1;
  border-color: #c8e6d4;
}

.score-mid {
  background: #fff8ea;
  border-color: #f3ddb1;
}

.score-bad {
  background: #ffeeee;
  border-color: #ffd0d0;
}

.score-critical {
  background: #ffe4e4;
  border-color: #ffb8b8;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.action-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.95rem 1rem;
  background: #fff;
}

.action-card h4 {
  margin-bottom: 0.45rem;
  font-size: 0.97rem;
}

.action-card p {
  margin-bottom: 0.45rem;
}

.action-footer {
  margin-top: 0.9rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border);
}

.cta-section {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff8ef;
  padding: 1.1rem;
}

/* ========================= */
/* DAY 1 INTRO SECTION */
/* ========================= */

.day1-intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem 2rem;
  text-align: center;
}

.day1-intro-header {
  margin-bottom: 3rem;
}

.day1-badge {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: white;
  background: var(--accent);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}

.day1-title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem 0;
  color: var(--ink);
}

.day1-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

.day1-topics {
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(209, 96, 61, 0.05);
  border: 2px solid rgba(209, 96, 61, 0.15);
  border-radius: 20px;
}

.day1-topics-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.day1-topics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}

.day1-topic-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.day1-topic-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--shadow);
}

.topic-icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
}

.day1-topic-item div:last-child {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
  font-weight: 500;
}

.day1-outcome {
  margin: 3rem auto;
  max-width: 720px;
  padding: 1.8rem 2rem;
  background: rgba(46, 125, 90, 0.08);
  border: 2px solid rgba(46, 125, 90, 0.2);
  border-radius: 20px;
}

.outcome-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--success);
  margin-bottom: 0.8rem;
}

.day1-outcome p {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}

.day1-start-button {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 1.1rem 2.2rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 16px rgba(209, 96, 61, 0.35);
  margin-top: 2rem;
}

.day1-start-button:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(209, 96, 61, 0.45);
}

.day1-start-button .button-arrow {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.day1-start-button:hover .button-arrow {
  transform: translateX(5px);
}

/* Day 1 Quiz Header */
.day1-quiz-header {
  margin-bottom: 1.5rem;
}

.day1-quiz-header h2 {
  margin-bottom: 0.5rem;
}

.day1-quiz-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

/* ========================= */
/* FOOTER */
/* ========================= */

.footer {
  padding: 1.2rem 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-muted {
  font-family: "Space Grotesk", "Helvetica Neue", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================= */
/* RESPONSIVE - TABLET       */
/* ========================= */

@media (max-width: 980px) {
  .main-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .content-panel {
    padding: 1.5rem 1.2rem;
  }

  .paths-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .path-divider {
    padding: 0;
  }

  .divider-text {
    padding: 0.6rem 1.2rem;
    font-size: 1rem;
  }

  /* Show hamburger, hide desktop modules & actions */
  .top-nav-modules,
  .top-nav-actions {
    display: none;
  }

  .top-nav-hamburger {
    display: flex;
  }
}

/* ========================= */
/* RESPONSIVE - MOBILE */
/* ========================= */

@media (max-width: 600px) {
  .hero-slide {
    padding: 3rem 1rem;
  }

  .hero-slide-problem {
    padding: 3.5rem 1rem 3rem;
  }

  .hero-slide-solution {
    padding: 3rem 1rem 3.5rem;
  }

  .hero-h1-main {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
    line-height: 1.2;
    margin-bottom: 1.2rem;
  }

  .hero-intro {
    font-size: 1.05rem;
    margin-bottom: 2rem;
  }

  .hero-question {
    margin: 2rem 0 1.5rem;
  }

  .hero-question-text {
    font-size: 1.3rem;
  }

  .hero-arrows-down {
    gap: 1rem;
  }

  .arrow-icon {
    width: 24px;
    height: 24px;
  }

  /* Сценарии в колонку на мобиле */
  .scenario-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1.5rem 0;
  }

  .scenario-card {
    padding: 1.5rem 1.2rem;
  }

  .scenario-icon {
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
  }

  .scenario-card h3 {
    font-size: 1.05rem;
  }

  .scenario-card p {
    font-size: 0.92rem;
  }

  .hero-conclusion {
    margin-top: 2rem;
    padding: 1.5rem 1.3rem;
  }

  .hero-conclusion p {
    font-size: 0.98rem;
  }

  .hero-h2-main {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
    margin-bottom: 2rem;
  }

  .path-card {
    padding: 1.5rem;
  }

  .path-header {
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .path-number {
    font-size: 0.8rem;
    padding: 0.35rem 0.8rem;
  }

  .path-header h3 {
    font-size: 1.3rem;
  }

  .path-intro {
    font-size: 0.95rem;
  }

  .path-list li {
    font-size: 0.92rem;
  }

  .path-note {
    font-size: 0.88rem;
    padding: 0.9rem 1rem;
  }

  .path-highlight {
    font-size: 0.95rem;
    padding: 1rem 1.2rem;
  }

  .contact-button {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
  }

  .path-criteria li {
    font-size: 0.85rem;
  }

  .hero-final-message {
    margin-top: 2rem;
    padding: 1.5rem 1.3rem;
  }

  .hero-final-message p {
    font-size: 0.98rem;
  }

  .modal-content {
    padding: 2rem 1.5rem;
  }

  .modal-content h3 {
    font-size: 1.5rem;
  }

  .contact-method {
    padding: 1rem 1.2rem;
  }

  .contact-icon {
    width: 32px;
    height: 32px;
  }

  .contact-value {
    font-size: 1rem;
  }

  .content-panel {
    padding: 1.25rem 1rem 1.8rem;
  }

  .quiz-option {
    grid-template-columns: auto 1fr;
  }

  .footer {
    flex-direction: column;
    gap: 0.3rem;
  }

  /* Day 1 Intro - Mobile */
  .day1-intro {
    padding: 2rem 1rem;
  }

  .day1-badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.8rem;
    margin-bottom: 1rem;
  }

  .day1-title {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
    margin-bottom: 0.8rem;
  }

  .day1-subtitle {
    font-size: 0.95rem;
  }

  .day1-topics {
    margin: 2rem 0;
    padding: 1.5rem 1rem;
  }

  .day1-topics-title {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .day1-topics-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .day1-topic-item {
    padding: 0.9rem;
    gap: 0.8rem;
  }

  .topic-icon {
    font-size: 1.8rem;
  }

  .day1-topic-item div:last-child {
    font-size: 0.9rem;
  }

  .day1-outcome {
    margin: 2rem 0;
    padding: 1.5rem 1.2rem;
  }

  .outcome-label {
    font-size: 0.85rem;
  }

  .day1-outcome p {
    font-size: 0.95rem;
  }

  .day1-start-button {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* ============================================================
   НОВЫЕ СТИЛИ ДЛЯ РЕЗУЛЬТАТОВ КВИЗА
   Timeline, CTA блоки, персонализация
   ============================================================ */

/* Timeline на 30 дней */
.timeline-container {
  margin: 2rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #fff7ee 0%, #fef5ed 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.timeline-header {
  text-align: center;
  margin-bottom: 2rem;
}

.timeline-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.timeline-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.timeline-week {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.timeline-week:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.timeline-week-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--accent-dark);
  background: #fbe2d8;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.timeline-week h4 {
  font-size: 1.1rem;
  margin: 0.5rem 0 0.75rem 0;
  color: var(--text);
  font-weight: 600;
}

.timeline-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-list li {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-muted);
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
}

.timeline-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Двойной CTA блок */
.cta-dual-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid var(--border);
}

.cta-dual-section h3 {
  font-size: 1.75rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.cta-intro {
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.cta-dual-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.cta-block {
  background: white;
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #ff8c61 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cta-block:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(209, 96, 61, 0.15);
  transform: translateY(-4px);
}

.cta-block:hover::before {
  opacity: 1;
}

.cta-icon {
  font-size: 2.5rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.cta-block h4 {
  font-size: 1.3rem;
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.cta-description {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
}

.cta-features {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0;
}

.cta-features li {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  padding: 0.35rem 0;
}

.cta-button {
  width: 100%;
  padding: 0.85rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Space Grotesk", sans-serif;
  margin-top: auto;
}

.cta-button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #e85a2a 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(209, 96, 61, 0.25);
}

.cta-button-primary:hover {
  background: linear-gradient(135deg, #e85a2a 0%, var(--accent) 100%);
  box-shadow: 0 6px 20px rgba(209, 96, 61, 0.35);
  transform: translateY(-2px);
}

.cta-button-secondary {
  background: white;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.cta-button-secondary:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(209, 96, 61, 0.25);
}

.cta-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin: 0.5rem 0 0 0;
  font-style: italic;
}

/* Urgency notice для критичных случаев */
.urgency-notice {
  background: #fff3e0;
  border-left: 3px solid #ff9800;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0.5rem 0;
}

.urgency-notice strong {
  color: #e65100;
}

/* Дополнительная стилизация для разных уровней срочности */
.cta-help[data-urgency="critical"] {
  border-color: #f44336;
  background: linear-gradient(135deg, #fff5f5 0%, white 100%);
}

.cta-help[data-urgency="high"] {
  border-color: #ff9800;
  background: linear-gradient(135deg, #fff8f0 0%, white 100%);
}

.cta-help[data-urgency="critical"]:hover,
.cta-help[data-urgency="high"]:hover {
  box-shadow: 0 12px 32px rgba(244, 67, 54, 0.2);
}

/* План действий - улучшенная стилизация */
.plan-intro {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Адаптивность результатов для планшетов */
@media (max-width: 980px) {
  .timeline-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-dual-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Адаптивность результатов для мобильных */
@media (max-width: 768px) {
  .timeline-grid {
    grid-template-columns: 1fr;
  }

  .timeline-container {
    padding: 1.5rem 1rem;
  }

  .cta-block {
    padding: 1.5rem;
  }

  .timeline-header h3,
  .cta-dual-section h3 {
    font-size: 1.4rem;
  }

  .cta-block h4 {
    font-size: 1.15rem;
  }

  .cta-icon {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .timeline-header h3 {
    font-size: 1.25rem;
  }

  .timeline-subtitle {
    font-size: 0.9rem;
  }

  .cta-dual-section h3 {
    font-size: 1.25rem;
  }

  .cta-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* ============================================================
   DAY 2 — ОПЕРАЦИОННАЯ СИСТЕМА
   Слайды, прогресс, карточки, светофор, чеклист
   ============================================================ */

/* --- Обёртка слайда --- */
.slide-container {
  position: relative;
  min-height: 400px;
  animation: fadeIn 0.3s ease;
}

/* --- Прогресс-бар слайда --- */
.slide-progress {
  margin: 0 0 1.5rem 0;
}

.slide-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.slide-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden;
}

.slide-progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Нижняя навигация --- */
.slide-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}

.slide-nav-right {
  margin-left: auto;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.4rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 12px rgba(209, 96, 61, 0.28);
}

.slide-btn:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(209, 96, 61, 0.38);
}

.slide-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.slide-btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border: 1px solid var(--border);
  box-shadow: none;
}

.slide-btn-ghost:hover {
  background: var(--bg);
  color: var(--ink);
  box-shadow: none;
  transform: none;
}

/* --- Слайд 0: Hero --- */
.slide-hero {
  background: linear-gradient(135deg, #eef4fb 0%, #e8f0f9 50%, #dde8f4 100%);
  border: 1.5px solid #c5d8ee;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  color: var(--ink);
  text-align: left;
  position: relative;
  overflow: hidden;
}

.slide-hero::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 160, 220, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.slide-hero-eyebrow {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2a6496;
  background: rgba(42, 100, 150, 0.1);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  margin-bottom: 1.2rem;
}

.slide-hero h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
}

.slide-hero-sub {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0 0 1.8rem 0;
}

.slide-hero p {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 0.7rem 0;
  max-width: 680px;
}

.slide-hero p:last-of-type {
  margin-bottom: 2rem;
}

/* --- Двухколоночная карточка (слайд 1) --- */
.slide-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.slide-col-analogy {
  background: rgba(209, 96, 61, 0.05);
  border: 1px solid rgba(209, 96, 61, 0.18);
  border-radius: 16px;
  padding: 1.5rem;
}

.slide-col-analogy .col-icon {
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
  display: block;
  line-height: 1;
}

.slide-col-analogy p {
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.slide-col-definition {
  background: var(--panel);
  border-left: 4px solid var(--accent);
  border-radius: 0 16px 16px 0;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slide-col-definition blockquote {
  font-size: clamp(1rem, 1.7vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 1.2rem 0;
}

.slide-col-definition em {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* --- Три карточки слоёв (слайд 2) --- */
.layer-cards {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.layer-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.2rem 1.4rem;
  background: var(--panel);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  overflow: hidden;
}

.layer-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(209, 96, 61, 0.12);
}

.layer-card.expanded {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(209, 96, 61, 0.15);
  background: #fff;
}

.layer-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.layer-card-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.layer-card-meta {
  flex: 1;
}

.layer-card-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  margin: 0 0 0.2rem 0;
}

.layer-card-short {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.layer-card-chevron {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
  color: var(--ink-soft);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  line-height: 1;
}

.layer-card.expanded .layer-card-chevron {
  transform: rotate(180deg);
}

.layer-card-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.25s ease;
}

.layer-card.expanded .layer-card-body {
  max-height: 600px;
  padding-top: 1rem;
}

.layer-card-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.slide-caption {
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
  line-height: 1.6;
  padding: 1rem 1.2rem;
  background: rgba(209, 96, 61, 0.05);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  margin: 0.5rem 0;
}

/* --- Тайм-лайн роста (слайд 3) --- */
.growth-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.growth-stage {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.2rem;
  align-items: start;
}

.growth-stage-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.growth-stage-badge {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  background: var(--panel);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  color: var(--ink);
}

.growth-stage-line {
  width: 2px;
  flex: 1;
  min-height: 30px;
  background: var(--border);
  margin: 0 auto;
}

.growth-stage:last-child .growth-stage-line {
  display: none;
}

.growth-stage-content {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 1.3rem;
  margin-bottom: 0.4rem;
}

.growth-stage-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
}

.growth-stage-content p {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

/* --- Карточки кейсов (слайд 4) --- */
.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.case-card {
  border: 1.5px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  background: var(--panel);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(27, 27, 29, 0.1);
  border-color: var(--accent);
}

.case-card-logo {
  line-height: 1;
  display: flex;
  align-items: center;
}

.case-card-logo svg {
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(27, 27, 29, 0.15);
  flex-shrink: 0;
}

.case-card-tag {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
  background: rgba(209, 96, 61, 0.1);
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
}

.case-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.3;
}

.case-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

.case-card-fact {
  font-size: 0.82rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink-soft);
  background: rgba(27, 27, 29, 0.04);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  padding: 0.65rem 0.9rem;
  line-height: 1.5;
  margin-top: auto;
}

/* --- Контраст-карточка (слайд 5) --- */
.contrast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.contrast-col-bad {
  background: rgba(183, 28, 28, 0.04);
  border: 1.5px solid rgba(183, 28, 28, 0.2);
  border-radius: 16px;
  padding: 1.4rem;
}

.contrast-col-good {
  background: rgba(46, 125, 90, 0.05);
  border: 1.5px solid rgba(46, 125, 90, 0.22);
  border-radius: 16px;
  padding: 1.4rem;
}

.contrast-col-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contrast-col-bad .contrast-col-title {
  color: #b71c1c;
}

.contrast-col-good .contrast-col-title {
  color: var(--success);
}

.contrast-col-bad ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contrast-col-bad ul li {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ink-soft);
  padding: 0.35rem 0 0.35rem 1.3rem;
  position: relative;
}

.contrast-col-bad ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #c62828;
}

.contrast-col-good p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0;
}

.slide-key-thesis {
  margin: 1rem 0 0;
  padding: 1.2rem 1.4rem;
  background: rgba(209, 96, 61, 0.07);
  border: 1.5px solid rgba(209, 96, 61, 0.22);
  border-radius: 14px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--accent-dark);
  line-height: 1.6;
  text-align: center;
}

/* --- Светофор (слайд 6) --- */
.traffic-zones {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.traffic-light-zone {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
  background: var(--panel);
  transition: border-color 0.2s ease;
}

.traffic-light-zone.answered {
  border-color: var(--accent);
}

.traffic-zone-question {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 1.1rem 0;
}

.traffic-btns {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.traffic-btn {
  flex: 1;
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 0.9rem 0.6rem;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.traffic-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--shadow);
}

.traffic-btn-emoji {
  font-size: 1.8rem;
  line-height: 1;
}

.traffic-btn-label {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--ink-soft);
  text-align: center;
}

.traffic-btn.selected {
  border-color: var(--accent);
  box-shadow: 0 4px 14px rgba(209, 96, 61, 0.22);
  background: rgba(209, 96, 61, 0.06);
}

.traffic-btn.selected[data-value="green"] {
  border-color: var(--success);
  background: rgba(46, 125, 90, 0.07);
  box-shadow: 0 4px 14px rgba(46, 125, 90, 0.2);
}

.traffic-btn.selected[data-value="yellow"] {
  border-color: #b36b00;
  background: rgba(179, 107, 0, 0.07);
  box-shadow: 0 4px 14px rgba(179, 107, 0, 0.2);
}

.traffic-btn.selected[data-value="red"] {
  border-color: #b71c1c;
  background: rgba(183, 28, 28, 0.06);
  box-shadow: 0 4px 14px rgba(183, 28, 28, 0.15);
}

.traffic-btn.dimmed {
  opacity: 0.35;
  transform: none;
}

.traffic-result-block {
  margin-top: 1.5rem;
  padding: 1.2rem 1.4rem;
  background: rgba(209, 96, 61, 0.06);
  border: 1.5px solid rgba(209, 96, 61, 0.2);
  border-radius: 14px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-soft);
  animation: fadeIn 0.3s ease;
}

/* --- Тезисы (слайд 7) --- */
.key-takeaways {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin: 1.5rem 0;
}

.key-takeaway {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--panel);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 1.4rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.key-takeaway:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(209, 96, 61, 0.1);
}

.key-takeaway-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
}

.key-takeaway-text {
  font-size: clamp(0.97rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--ink);
  margin: 0;
  font-weight: 500;
}

/* --- Чеклист (финальный экран) --- */
.checklist-screen {
  animation: fadeIn 0.3s ease;
}

.checklist-intro {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.2rem;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

.checklist-item:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(209, 96, 61, 0.1);
}

.checklist-item.checked {
  border-color: var(--success);
  background: rgba(46, 125, 90, 0.05);
}

.checklist-checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-radius: 6px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  transition: border-color 0.2s ease, background 0.2s ease;
  font-size: 0.85rem;
}

.checklist-item.checked .checklist-checkbox {
  border-color: var(--success);
  background: var(--success);
  color: #fff;
}

.checklist-item-text {
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.checklist-item.checked .checklist-item-text {
  color: var(--ink);
}

.checklist-unlock {
  padding: 1.4rem 1.5rem;
  background: rgba(46, 125, 90, 0.08);
  border: 2px solid rgba(46, 125, 90, 0.25);
  border-radius: 16px;
  animation: fadeIn 0.4s ease;
}

.checklist-unlock p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--success);
  font-weight: 600;
  margin: 0 0 1.2rem 0;
}

/* --- Slide intro text --- */
.slide-intro-text {
  font-size: 0.97rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 1.2rem;
  padding: 1rem 1.2rem;
  background: rgba(209, 96, 61, 0.04);
  border-radius: 12px;
}

/* === RESPONSIVE DAY 2 === */

@media (max-width: 768px) {
  .slide-two-col {
    grid-template-columns: 1fr;
  }

  .slide-col-definition {
    border-left: 4px solid var(--accent);
    border-radius: 16px;
  }

  .case-cards {
    grid-template-columns: 1fr;
  }

  .contrast-grid {
    grid-template-columns: 1fr;
  }

  .traffic-btns {
    gap: 0.6rem;
  }

  .traffic-btn {
    padding: 0.75rem 0.4rem;
    min-width: 70px;
  }

  .traffic-btn-emoji {
    font-size: 1.5rem;
  }

  .traffic-btn-label {
    font-size: 0.68rem;
  }

  .slide-hero {
    padding: 2rem 1.3rem;
  }

  .slide-hero h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .slide-nav {
    gap: 0.6rem;
  }

  .slide-btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }

  .key-takeaway {
    flex-direction: column;
    gap: 0.8rem;
  }

  .growth-stage {
    gap: 0.8rem;
  }

  .growth-stage-badge {
    font-size: 0.72rem;
    padding: 0.28rem 0.6rem;
  }

  /* Small mobile nav */
  .top-nav-inner {
    padding: 0 1rem;
  }

  .brand-sub {
    display: none;
  }

  .main-content {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .content-panel {
    padding: 1.2rem 1rem;
    border-radius: 14px;
  }
}
