/* ============================================
   COMPONENTS — AI Education
   ============================================ */

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(246, 244, 234, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(39, 32, 68, 0.06);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(39, 32, 68, 0.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar__logo img {
  height: 36px;
  width: auto;
}

.navbar__logo--text {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: none;
}

.navbar__lang-wrap {
  position: relative;
  flex-shrink: 0;
}

.navbar__lang-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #7C3B0D;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  cursor: pointer;
  border: none;
  outline: none;
  user-select: none;
}

.navbar__lang-badge:hover {
  background: #9a4e14;
}

.navbar__lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .10);
  overflow: hidden;
  z-index: 1000;
  min-width: 120px;
}

.navbar__lang-wrap.open .navbar__lang-dropdown {
  display: block;
}

.navbar__lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  white-space: nowrap;
  transition: background .12s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}

.navbar__lang-option:hover {
  background: #f5f5f4;
}

.navbar__lang-option.active {
  color: #E86F34;
  font-weight: 600;
}

.navbar__lang-option .lang-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E86F34;
  flex-shrink: 0;
}

.navbar__lang-option:not(.active) .lang-dot {
  visibility: hidden;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.2s;
  position: relative;
}

.navbar__link:hover {
  color: var(--color-brand);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-brand);
  transition: width 0.3s ease;
}

.navbar__link:hover::after {
  width: 100%;
}

.navbar__social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.navbar__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: all 0.2s;
}

.navbar__social a.social--tg {
  background: #29A9EB;
}

.navbar__social a.social--yt {
  background: #FF0000;
}

.navbar__social a:hover {
  opacity: 0.8;
  transform: scale(1.08);
}

.navbar__social img {
  width: 18px;
  height: 18px;
  filter: brightness(10);
}

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.navbar__burger span {
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  transition: all 0.3s;
  border-radius: 2px;
}

.navbar__burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__burger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 768px) {
  .navbar__links {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .navbar__links.open {
    transform: translateY(0);
  }

  .navbar__burger {
    display: flex;
  }
}

/* ===================== HERO ===================== */
.hero {
  padding: 60px 0 40px;
  text-align: center;
  position: relative;
}

@media (max-width: 768px) {
  .navbar {
    display: none !important;
  }
  .hero {
    padding: 20px 0 24px;
  }
}

.hero__badge {
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(32px, 7vw, 68px);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero__title span {
  color: var(--color-brand);
}

.hero__subtitle {
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 4px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero__cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.hero__start-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #c95a22;
  background: transparent;
  border: none;
  letter-spacing: 0.02em;
  text-align: center;
  opacity: 0.8;
}

.hero__card {
  max-width: 720px;
  margin: 24px auto;
  background: var(--color-white);
  border-radius: 12px;
  padding: 40px 32px;
  box-shadow: 0 10px 40px rgba(39, 32, 68, 0.05);
  text-align: center;
  border: 1px solid rgba(39, 32, 68, 0.03);
}

@media (max-width: 768px) {
  .hero__card {
    padding: 24px 16px;
    margin: 20px 10px;
  }
}

.hero__card-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-dark);
  margin-bottom: 28px;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero__card-list {
  text-align: left;
  display: inline-block;
  max-width: 100%;
}

.hero__card-item {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  font-size: clamp(15px, 2vw, 17px);
  color: var(--color-text);
  line-height: 1.45;
  list-style: none;
}

.hero__card-item::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--color-dark);
  font-weight: bold;
}

.hero__card-item:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .hero__card {
    padding: 32px 20px;
    margin: 32px 10px;
  }
}

/* ===================== AI SHOWCASE ===================== */
.ai-showcase-title {
  text-align: center;
  font-size: clamp(18px, 3vw, 25px);
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.55;
}

.ai-container {
  display: flex;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  height: 340px;
  overflow: hidden;
}

.ai-menu {
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px;
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  gap: 6px;
}

.ai-menu-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-secondary);
  cursor: pointer;
  border-radius: 14px;
  transition: all 0.3s ease;
  z-index: 2;
}

.ai-menu-item.active {
  color: #ea580b;
  background: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.ai-menu-item:hover:not(.active) {
  background: rgba(255, 255, 255, 0.5);
}

.ai-menu-item-num {
  font-size: 11px;
  font-weight: 700;
  opacity: 0.5;
  letter-spacing: 1px;
  padding-top: 2px;
}

.ai-menu-item.active .ai-menu-item-num {
  opacity: 1;
  color: #ea580b;
}

.ai-content-area {
  width: 70%;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.1) 100%);
}

.ai-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-panel.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ai-panel-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ai-panel-title {
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.15;
}

.ai-panel-title span {
  color: #ea580b;
}

.ai-panel-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 95%;
}

.ai-panel-viz {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

/* Chat Animation */
.chat-window {
  width: 100%;
  max-width: 280px;
  background: #1e1b2e;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(30, 27, 46, 0.35);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: #28243d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.chat-header-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
}

.chat-header-title {
  font-size: 13px;
  font-weight: 600;
  color: #e5e5e5;
}

.chat-header-time {
  margin-left: auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-body {
  padding: 14px;
  min-height: 200px;
  max-height: 200px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-msg {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.45;
  animation: fadeInUp 0.3s ease;
}

.chat-msg--user {
  align-self: flex-end;
  background: #ea580b;
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-msg--bot {
  align-self: flex-start;
  background: #2d2952;
  color: #e0dfe6;
  border-bottom-left-radius: 4px;
}

.chat-msg--thinking {
  align-self: flex-start;
  background: #2d2952;
  color: #9ca3af;
  font-style: italic;
}

.chat-msg--thinking .dots span {
  animation: blink 1.2s infinite;
  display: inline-block;
}

.chat-msg--thinking .dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.chat-msg--thinking .dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {

  0%,
  80%,
  100% {
    opacity: 0.2
  }

  40% {
    opacity: 1
  }
}

/* ---- ai-panel-visual (визуальная зона панели) ---- */
.ai-panel-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}

/* ---- Panel 1: Chat ---- */
.anim-chat-bg {
  width: 240px;
  height: 230px;
  background: #1e1b2e;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(30, 27, 46, 0.35);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.anim-chat-header {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: #28243d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}

.anim-chat-moon {
  color: #fbbf24;
  flex-shrink: 0;
}

.anim-chat-time {
  margin-left: auto;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.anim-chat-messages {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: none;
}

.anim-chat-messages::-webkit-scrollbar {
  display: none;
}

.anim-msg {
  max-width: 88%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.45;
  animation: animMsgIn 0.25s ease forwards;
}

.anim-msg-user {
  align-self: flex-end;
  background: #2d2952;
  color: #cac9d6;
  border-bottom-right-radius: 3px;
}

.anim-msg-bot {
  align-self: flex-start;
  background: #ea580b;
  color: #fff;
  border-bottom-left-radius: 3px;
}

.anim-msg-thinking {
  align-self: flex-start;
  background: #28243d;
  color: #9ca3af;
  padding: 8px 14px;
  border-radius: 12px;
  border-bottom-left-radius: 3px;
}

.anim-msg-thinking .dots span {
  animation: animBlink 1.2s infinite;
  display: inline-block;
  font-size: 16px;
  line-height: 1;
}

.anim-msg-thinking .dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.anim-msg-thinking .dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes animBlink {

  0%,
  80%,
  100% {
    opacity: 0.2
  }

  40% {
    opacity: 1
  }
}

@keyframes animMsgIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- Panel 2: Automation SVG ---- */
.anim-auto-bg {
  width: 100%;
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anim-auto-bg svg {
  width: 100%;
  height: auto;
}

/* ---- Panel 3: Platforms scatter ---- */
.anim-ch-bg {
  position: relative;
  width: 210px;
  height: 190px;
}

.anim-ch-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: #ea580b;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(234, 88, 11, 0.3);
}

.anim-ch-orb {
  position: absolute;
  width: 46px;
  height: 46px;
  background: #fff;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.anim-ch-orb-1 {
  top: 4px;
  right: 8px;
  animation: chFloat 3.2s ease-in-out infinite;
}

.anim-ch-orb-2 {
  bottom: 10px;
  left: 6px;
  animation: chFloat 3.8s ease-in-out infinite 0.6s;
}

.anim-ch-orb-3 {
  bottom: 20px;
  right: 4px;
  animation: chFloat 2.9s ease-in-out infinite 1.1s;
}

@keyframes chFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-7px);
  }
}

/* ---- Panel 4: Clock ---- */
.anim-time-bg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.anim-clock {
  position: relative;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2.5px solid #ea580b;
  background: transparent;
}

.anim-clock::after {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  background: #ea580b;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.anim-hand-m,
.anim-hand-h {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom center;
  border-radius: 3px;
  background: #272044;
}

.anim-hand-m {
  width: 2px;
  height: 34px;
  margin-left: -1px;
  animation: clockSpin 6s linear infinite;
}

.anim-hand-h {
  width: 2.5px;
  height: 24px;
  margin-left: -1.25px;
  animation: clockSpin 72s linear infinite;
  animation-delay: -18s;
}

@keyframes clockSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.anim-time-text {
  font-size: 22px;
  font-weight: 800;
  color: #ea580b;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .ai-container {
    flex-direction: column;
    height: auto;
    overflow: hidden;
  }

  .ai-menu {
    width: 100%;
    flex-direction: row;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ai-menu::-webkit-scrollbar {
    display: none;
  }

  .ai-menu-item {
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .ai-content-area {
    width: 100%;
    min-height: 520px;
  }

  .ai-panel {
    flex-direction: column;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .ai-showcase-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .ai-container {
    border-radius: 14px;
  }

  .ai-menu {
    padding: 8px;
    gap: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .ai-menu::-webkit-scrollbar {
    display: none;
  }

  .ai-menu-item {
    padding: 8px 10px;
    font-size: 12px;
    gap: 6px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .ai-menu-item-num {
    font-size: 10px;
  }

  .ai-content-area {
    min-height: 480px;
  }

  .ai-panel {
    padding: 16px;
  }

  .ai-panel-visual {
    max-width: 240px;
    margin: 0 auto;
  }

  .ai-panel__title {
    font-size: 18px;
  }

  .ai-panel__text {
    font-size: 13px;
  }
}

/* ===================== METRICS ===================== */
.section--metrics {
  background: var(--color-bg); /* Match site floor */
  padding: 40px 0 80px;
}

.metrics__box {
  background: #2D3340; /* Dark blue/grey as in screenshot */
  border-radius: 4px;
  padding: 80px 40px;
  text-align: center;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: flex-start;
}

.metrics__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metrics__num {
  font-size: 72px;
  font-weight: 700;
  color: #EB6B2F; /* Orange as in screenshot */
  margin-bottom: 20px;
  line-height: 0.8;
  letter-spacing: -2px;
}

.metrics__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  font-weight: 400;
  max-width: 280px;
}

@media (max-width: 768px) {
  .metrics__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .metrics__box {
    padding: 60px 20px;
  }
  .metrics__num {
    font-size: 56px;
  }
}

@media (max-width: 1100px) {
  .metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .metric-value {
    font-size: 32px;
  }
}

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

/* ===================== USE CASES ===================== */
.uc-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--color-brand);
  font-weight: 500;
  margin-top: -32px;
  margin-bottom: 40px;
}

.uc-stepper {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid rgba(39, 32, 68, 0.07);
  box-shadow: var(--shadow);
  overflow: hidden;
  min-height: 340px;
}

.uc-tabs {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(39, 32, 68, 0.06);
  background: var(--color-bg-alt);
}

.uc-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  border: none;
  background: none;
  text-align: left;
  transition: all 0.25s ease;
  position: relative;
  font-family: inherit;
}

.uc-tab::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 60%;
  background: var(--color-brand);
  border-radius: 3px 0 0 3px;
  transition: transform 0.25s ease;
}

.uc-tab:hover {
  color: var(--color-text);
  background: rgba(235, 107, 47, 0.04);
}

.uc-tab.active {
  color: var(--color-brand);
  background: var(--color-white);
}

.uc-tab.active::after {
  transform: translateY(-50%) scaleY(1);
}

.uc-tab__num {
  font-size: 11px;
  font-weight: 700;
  color: var(--color-brand);
  opacity: 0.5;
  min-width: 20px;
}

.uc-tab.active .uc-tab__num {
  opacity: 1;
}

.uc-panels {
  position: relative;
  padding: 40px 36px;
}

.uc-panels>.uc-panel {
  display: none !important;
  animation: ucFadeIn 0.35s ease;
}

.uc-panels>.uc-panel.active {
  display: flex !important;
  flex-direction: column;
  animation: ucFadeIn 0.35s ease;
}

@keyframes ucFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.uc-panel__icon {
  color: var(--color-brand);
  margin-bottom: 20px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(235, 107, 47, 0.08);
  border-radius: 14px;
}

.uc-panel__title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-dark);
}

.uc-panel__desc {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: 16px;
}

.uc-panel__tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-brand);
  background: rgba(235, 107, 47, 0.07);
  padding: 6px 14px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  align-self: flex-start;
}

.uc-panel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  align-self: flex-start;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  background: var(--color-brand);
  border-radius: 100px;
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(235, 107, 47, 0.15);
  text-transform: none; /* Убираем пугающий капслок */
}

.uc-panel__btn:hover {
  background: var(--color-brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(235, 107, 47, 0.25);
}

@media (max-width: 768px) {
  .uc-panel__btn {
    align-self: stretch;
    margin-top: 24px;
    padding: 14px 24px;
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .uc-stepper {
    grid-template-columns: 1fr;
    min-height: auto;
    overflow: visible;
  }

  .uc-tabs {
    flex-direction: row;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid rgba(39, 32, 68, 0.06);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 4px;
  }

  .uc-tabs::-webkit-scrollbar {
    display: none;
  }

  .uc-tab {
    white-space: nowrap;
    padding: 12px 14px;
    font-size: 12px;
    flex-shrink: 0;
  }

  .uc-tab__num {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .uc-tab::after {
    right: auto;
    bottom: 0;
    left: 50%;
    top: auto;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 3px;
    border-radius: 3px 3px 0 0;
  }

  .uc-tab.active::after {
    transform: translateX(-50%) scaleX(1);
  }

  .uc-panels {
    padding: 24px 16px;
  }

  .uc-panel__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .uc-panel__icon svg {
    width: 28px;
    height: 28px;
  }

  .uc-panel__title {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .uc-panel__desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 14px;
  }

  .uc-panel__tag {
    font-size: 11px;
    padding: 5px 12px;
  }
}

/* ===================== BUY BANNER ===================== */
.buy-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  background: var(--color-brand);
  text-align: center;
  padding: 28px 24px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}

.buy-banner__glass {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.15) 45%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0.15) 55%, transparent 80%);
  animation: glassShimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glassShimmer {
  0% {
    left: -100%;
  }

  40% {
    left: 150%;
  }

  100% {
    left: 150%;
  }
}

.buy-banner:hover {
  background: #d45e25;
}

.buy-banner__text {
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.buy-banner__rating {
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  z-index: 1;
}

.buy-banner__rating strong {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.buy-banner-stars {
  color: #fbbf24;
  font-size: 16px;
}

@media (max-width: 480px) {
  .buy-banner {
    flex-direction: column;
    gap: 8px;
    padding: 22px 16px;
  }
}

/* ===================== SKILLS ===================== */
.skills-section {
  background: var(--color-bg);
  color: var(--color-text);
  padding: 80px 0;
}

.skills-section__title {
  color: var(--color-text) !important;
  text-transform: uppercase;
}

.skills-section__title span {
  color: var(--color-brand) !important;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto 32px;
}

.skill-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid rgba(39, 32, 68, 0.06);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
}

.skill-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.skill-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(235, 107, 47, 0.1);
  border-color: rgba(235, 107, 47, 0.2);
}

.skill-card__num {
  font-size: 11px;
  font-weight: 800;
  color: var(--color-brand);
  opacity: 0.35;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.skill-card__icon {
  color: var(--color-brand);
  margin-bottom: 14px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(235, 107, 47, 0.07);
  border-radius: 12px;
}

.skill-card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-text);
}

.skill-card__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.skills-cta {
  text-align: center;
  margin-top: 32px;
}

.skills-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

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

/* ===================== METHODOLOGY ===================== */
.methodology-header {
  text-align: center;
  margin-bottom: 48px;
}

.methodology-header .section-title {
  margin-bottom: 12px;
}

.methodology-header__subtitle {
  font-size: 17px;
  color: var(--color-brand);
  font-weight: 500;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ===================== METHOD ROWS ===================== */
.method-rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.method-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid rgba(39, 32, 68, 0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.method-row.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.method-row:hover {
  box-shadow: 0 8px 32px rgba(39, 32, 68, 0.08);
  border-color: rgba(235, 107, 47, 0.12);
}

.method-row--reverse {
  direction: rtl;
}

.method-row--reverse>* {
  direction: ltr;
}

.method-row__media {
  position: relative;
  overflow: hidden;
  min-height: 260px;
}

.method-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.method-row:hover .method-row__media img {
  transform: scale(1.04);
}

.method-row__text {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.method-row__num {
  font-size: 12px;
  font-weight: 800;
  color: var(--color-brand);
  opacity: 0.4;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.method-row__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
  line-height: 1.3;
}

.method-row__desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

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

  .method-row--reverse {
    direction: ltr;
  }

  .method-row__media {
    min-height: 200px;
  }

  .method-row__text {
    padding: 24px 20px;
  }

  .method-row__title {
    font-size: 17px;
  }
}

/* ===================== PRACTICE BLOCK ===================== */
.practice-block {
  margin-top: 64px;
  max-width: 780px;
}

.practice-block__title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--color-text);
  margin-bottom: 24px;
}

.practice-block__text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.practice-block__highlight {
  background: var(--color-brand);
  color: #fff;
  padding: 0 4px;
  border-radius: 3px;
  font-style: normal;
}

/* ===================== RESERVE / ЗАЙМИ МЕСТО ===================== */
/* ===================== OFFER BLOCK ===================== */
.offer-section {
  background: var(--color-brand);
  background-image:
    radial-gradient(ellipse 80% 60% at 10% 100%, rgba(255, 255, 255, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(0, 0, 0, 0.15) 0%, transparent 60%);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}

.offer-block {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.offer-block__left {
  flex: 1;
}

.offer-block__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.offer-block__badge svg {
  color: #fff;
}

.offer-block__title {
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.15;
}

.offer-block__right {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-end;
}

.offer-gift {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 22px 24px;
  backdrop-filter: blur(8px);
}

.offer-gift__icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.offer-gift__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.offer-gift__name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.offer-gift__value {
  display: flex;
  align-items: center;
  gap: 10px;
}

.offer-gift__old {
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: line-through;
}

.offer-gift__free {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  padding: 3px 12px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.offer-block__cta {
  text-align: center;
  background: #fff !important;
  color: var(--color-brand) !important;
  font-weight: 700;
}

.offer-block__cta:hover {
  background: var(--color-dark) !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .offer-block {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }

  .offer-block__right {
    width: 100%;
    min-width: auto;
    align-items: center;
  }
}

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

/* ===================== PROGRAM ACCORDION ===================== */
/* ===================== PROGRAM TABLE ===================== */
.prog-table {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.prog-row {
  display: flex;
  gap: 0;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid rgba(39, 32, 68, 0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.prog-row.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.prog-row:hover {
  border-color: rgba(235, 107, 47, 0.12);
  box-shadow: 0 6px 24px rgba(235, 107, 47, 0.06);
}

.prog-row--accent {
  border-color: rgba(235, 107, 47, 0.15);
  background: linear-gradient(135deg, #fffaf7 0%, var(--color-white) 100%);
}

.prog-row__side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 28px 20px;
  gap: 8px;
  min-width: 80px;
  background: rgba(39, 32, 68, 0.015);
  border-right: 1px solid rgba(39, 32, 68, 0.04);
}

.prog-row__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(235, 107, 47, 0.08);
  border-radius: 14px;
  color: var(--color-brand);
}

.prog-row__num {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-brand);
  opacity: 0.5;
  letter-spacing: 1px;
}

.prog-row__main {
  flex: 1;
  padding: 24px 28px;
}

.prog-row__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.prog-row__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.prog-row__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-brand);
  background: rgba(235, 107, 47, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.prog-row__badge--lg {
  background: var(--color-brand);
  color: #fff;
}

.prog-row__intro {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.prog-row__lessons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prog-lesson {
  display: flex;
  gap: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-secondary);
}

.prog-lesson__num {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--color-brand);
  background: rgba(235, 107, 47, 0.06);
  padding: 3px 8px;
  border-radius: 6px;
  height: fit-content;
  margin-top: 2px;
  white-space: nowrap;
}

.prog-lesson strong {
  color: var(--color-text);
  font-weight: 600;
}

@media (max-width: 768px) {
  .prog-row {
    flex-direction: column;
  }

  .prog-row__side {
    flex-direction: row;
    min-width: auto;
    padding: 16px 20px;
    border-right: none;
    border-bottom: 1px solid rgba(39, 32, 68, 0.04);
  }

  .prog-row__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .prog-row__icon svg {
    width: 22px;
    height: 22px;
  }

  .prog-row__main {
    padding: 20px;
  }

  .prog-row__title {
    font-size: 15px;
  }

  .prog-lesson {
    font-size: 13px;
  }
}

/* ===================== TARIFFS ===================== */
.tariffs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.tariff-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 2px solid rgba(39, 32, 68, 0.06);
  transition: all 0.3s;
  position: relative;
}

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

.tariff-card--featured {
  border-color: var(--color-brand);
  box-shadow: 0 8px 40px rgba(235, 107, 47, 0.12);
}

.tariff-card__popular {
  display: none;
}

.tariff-card--featured .tariff-card__popular {
  display: block;
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-brand);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tariff-card__name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.tariff-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.tariff-card__price-current {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-brand);
}

.tariff-card__price-old {
  font-size: 18px;
  color: var(--color-text-secondary);
  text-decoration: line-through;
}

.tariff-card__installment {
  font-size: 12px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: -12px; /* Pull it closer to the price */
  margin-bottom: 16px;
  opacity: 0.8;
}

.tariff-card__installment::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%236e678e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Crect width='20' height='14' x='2' y='5' rx='2'/%3E%3Cline x1='2' x2='22' y1='10' y2='10'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

.tariff-card__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.tariff-card__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-secondary);
}

.tariff-card__meta-item svg {
  flex-shrink: 0;
  color: var(--color-text-secondary);
}

.tariff-card__divider {
  height: 1px;
  background: rgba(39, 32, 68, 0.08);
  margin: 16px 0;
}

.tariff-card__label {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.tariff-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.tariff-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.tariff-feature::before {
  content: '✓';
  color: var(--color-brand);
  font-weight: 700;
  flex-shrink: 0;
}

.tariff-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.tariff-card__actions .btn {
  width: 100%;
}

.tariff-card__actions .btn {
  width: 100%;
}

.tariff-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 0;
  margin: 4px 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-brand);
  cursor: pointer;
  background: rgba(235, 107, 47, 0.06);
  border: 1px dashed rgba(235, 107, 47, 0.25);
  border-radius: 8px;
  font-family: inherit;
  transition: all 0.2s;
}

.tariff-toggle svg {
  transition: transform 0.3s ease;
}

.tariff-toggle.open svg {
  transform: rotate(180deg);
}

.tariff-toggle:hover {
  background: rgba(235, 107, 47, 0.12);
  border-color: rgba(235, 107, 47, 0.4);
  color: var(--color-brand-dark);
}

.tariff-details {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tariff-details__inner {
  overflow: hidden;
}

.tariff-card__support {
  text-align: center;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

.tariff-card__support a {
  color: var(--color-brand);
}

@media (max-width: 768px) {
  .tariffs-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ===================== TESTIMONIALS (Stagger) ===================== */
#st-root {
  position: relative;
  height: 500px;
  max-width: 100%;
  overflow: visible;
  margin: 0 auto 40px;
}

.st-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.st-card.st-active {
  background: var(--color-dark);
  border: 2px solid rgba(255, 255, 255, .08);
}

.st-card.st-inactive {
  background: var(--color-white);
  border: 2px solid rgba(39, 32, 68, .08);
}

.st-card.st-inactive:hover {
  border-color: rgba(234, 88, 11, .4);
}

.st-corner {
  position: absolute;
  right: -2px;
  top: 48px;
  width: 70.7px;
  height: 2px;
  transform: rotate(45deg);
  transform-origin: right top;
}

.st-active .st-corner {
  background: rgba(255, 255, 255, .18);
}

.st-inactive .st-corner {
  background: rgba(39, 32, 68, .12);
}

.st-avatar {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: block;
  margin-bottom: 8px;
}

.st-active .st-avatar {
  color: var(--color-white);
}

.st-inactive .st-avatar {
  color: var(--color-dark);
}

.st-quote {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.st-active .st-quote {
  color: var(--color-white);
}

.st-inactive .st-quote {
  color: var(--color-dark);
}

@media (max-width: 639px) {
  .st-quote {
    font-size: 14px;
  }
}

.st-author {
  font-size: 12.5px;
  font-style: italic;
  margin: 0;
  padding-top: 8px;
  border-top: 1px solid;
  margin-top: auto;
}

.st-active .st-author {
  color: rgba(255, 255, 255, .5);
  border-color: rgba(255, 255, 255, .12);
}

.st-inactive .st-author {
  color: #8a85a0;
  border-color: rgba(39, 32, 68, .08);
}

#st-nav {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.st-btn {
  width: 52px;
  height: 52px;
  border: 2px solid rgba(39, 32, 68, .15);
  background: var(--color-white);
  cursor: pointer;
  font-size: 20px;
  color: var(--color-dark);
  transition: all .25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(8px 0%, 100% 0%, 100% 100%, 0 100%, 0 8px);
  outline: none;
}

.st-btn:hover {
  background: var(--color-dark);
  color: var(--color-white);
  border-color: var(--color-dark);
}

.st-btn svg {
  display: block;
}

/* ===================== FAQ ===================== */
.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid rgba(39, 32, 68, 0.06);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.faq-item.open {
  border-color: rgba(235, 107, 47, 0.15);
  box-shadow: 0 4px 20px rgba(235, 107, 47, 0.06);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  text-align: left;
  color: var(--color-text);
  transition: background 0.2s;
  gap: 16px;
}

.faq-item__question:hover {
  background: rgba(235, 107, 47, 0.03);
}

.faq-item__icon {
  width: 22px;
  height: 22px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  color: var(--color-brand);
}

.faq-item.open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__body {
  overflow: hidden;
  padding: 0 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

.faq-item.open .faq-item__body {
  padding-bottom: 28px;
}

.faq-item__body p {
  margin-bottom: 8px;
}

.faq-item__body ul {
  margin: 8px 0 8px 20px;
  list-style: disc;
}

.faq-item__body ul li {
  margin-bottom: 4px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .faq-item__question {
    padding: 18px 20px;
    font-size: 14px;
  }

  .faq-item__body {
    padding: 0 20px;
    font-size: 14px;
  }

  .faq-item.open .faq-item__body {
    padding-bottom: 20px;
  }
}

/* ===================== FAQ CTA CARD ===================== */
.faq-cta-card {
  background: var(--color-brand);
  border-radius: var(--radius);
  padding: 48px 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.faq-cta-card__title {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.faq-cta-card__subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 28px;
  line-height: 1.5;
}

.faq-cta-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border: 2px solid #fff;
  border-radius: 100px;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s;
}

.faq-cta-card__btn:hover {
  background: #fff;
  color: var(--color-brand);
}

/* ===================== FOOTER ===================== */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
}

.footer--dark {
  background: #7C3B0D;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer__logo img {
  height: 28px;
  filter: brightness(10);
}

.footer__logo--text {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.footer__logo-name {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.footer__ru-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #fff;
  color: #7C3B0D;
  font-size: 12px;
  font-weight: 800;
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s;
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__copyright-right {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__copyright {
  font-size: 13px;
  text-align: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer__links {
    gap: 16px;
  }

  .footer__copyright {
    margin-top: 24px;
  }
}

/* ===================== REVIEWS CAROUSEL ===================== */
.reviews-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0 40px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.reviews-carousel::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.review-card {
  flex: 0 0 auto;
  height: 480px;
  scroll-snap-align: center;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-card img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (max-width: 768px) {
  .review-card {
    height: 380px;
  }
  
  .reviews-carousel {
    padding-left: 20px;
    padding-right: 20px;
    margin-left: -20px;
    margin-right: -20px;
  }
}


/* ===================== SALES CLOSED MODAL ===================== */
.sales-modal {
  position: fixed;
  inset: 0;
  z-index: 99998;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
}

.sales-modal.active {
  display: flex;
}

.sales-modal__content {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 40px 32px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.sales-modal__icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.sales-modal__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.sales-modal__close {
  padding: 10px 28px;
  background: var(--color-brand);
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}

/* ===================== QUOTE SECTION ===================== */
.quote-section {
  padding: 56px 24px;
}

.quote-row {
  display: flex;
  align-items: center;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.quote-row__mark {
  flex-shrink: 0;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-brand);
  font-family: Georgia, 'Times New Roman', serif;
  margin-top: -16px;
}

.quote-row__text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-text);
  text-align: center;
  flex: 1;
}

.quote-row__photo {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 20px rgba(39, 32, 68, 0.08);
}

@media (max-width: 640px) {
  .quote-row {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .quote-row__mark {
    font-size: 64px;
    margin-top: 0;
  }

  .quote-row__text {
    font-size: 16px;
  }
}

/* ===================== MOBILE 480px ===================== */
@media (max-width: 480px) {

  /* ── Hero ── */
  .hero {
    padding: 80px 0 32px;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__cta-row {
    margin-top: 20px;
  }

  /* ── Container tighter ── */
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 24px;
  }

  /* ── Buttons ── */
  .btn--pill {
    padding: 14px 40px;
    font-size: 16px;
  }

  .btn--lg {
    padding: 14px 32px;
    font-size: 16px;
  }

  /* ── Offer block ── */
  .offer-section {
    padding: 36px 0;
  }

  .offer-block__title {
    font-size: 22px;
  }

  .offer-gift {
    padding: 16px;
    gap: 12px;
  }

  .offer-gift__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .offer-gift__icon svg {
    width: 28px;
    height: 28px;
  }

  .offer-gift__name {
    font-size: 14px;
  }

  .offer-gift__old {
    font-size: 14px;
  }

  .offer-gift__free {
    font-size: 12px;
    padding: 3px 10px;
  }

  /* ── Tariff cards ── */
  .tariff-card {
    padding: 28px 20px;
  }

  .tariff-card__price-current {
    font-size: 32px;
  }

  .tariff-card__name {
    font-size: 18px;
  }

  /* ── Metrics ── */
  .section--compact {
    padding: 32px 0;
  }

  .metric-card {
    padding: 20px 14px;
  }

  .metric-value {
    font-size: 28px;
  }

  .metric-label {
    font-size: 12px;
  }

  /* ── Use Cases ── */
  .uc-tab {
    font-size: 13px;
    padding: 10px 16px;
  }

  .uc-panel__title {
    font-size: 18px;
  }

  .uc-panel__text {
    font-size: 14px;
  }

  /* ── Skills ── */
  .skill-card {
    padding: 20px 16px;
  }

  .skill-card__title {
    font-size: 15px;
  }

  /* ── Program ── */
  .prog-row__title {
    font-size: 14px;
  }

  .prog-row__main {
    padding: 16px;
  }

  /* ── FAQ ── */
  .faq-item__question {
    padding: 16px;
    font-size: 14px;
  }

  .faq-item__body {
    padding: 0 16px;
    font-size: 13px;
  }

  .faq-item.open .faq-item__body {
    padding-bottom: 16px;
  }

  /* ── Fan carousel ── */
  .fan-preview {
    width: 100%;
    max-width: 300px;
    height: 400px;
  }

  .fan-stack {
    height: 180px;
    padding: 12px 8px;
  }

  .fan-card {
    width: 100px;
    height: 160px;
    margin-left: -20px;
  }

  /* ── Footer ── */
  .footer {
    padding: 28px 0;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .footer__link {
    font-size: 13px;
  }

  .footer__copyright {
    margin-top: 20px;
    padding-top: 16px;
    font-size: 12px;
  }

  .footer__copyright-right {
    font-size: 12px;
  }

  /* ── Quote ── */
  .quote-row__mark {
    font-size: 48px;
  }

  .quote-row__text {
    font-size: 15px;
  }

  .quote-row__photo {
    width: 80px;
    height: 80px;
  }

  /* ── Method rows ── */
  .method-row__media {
    min-height: 180px;
  }

  .method-row__title {
    font-size: 16px;
  }

  .method-row__text p {
    font-size: 14px;
  }
}