    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --dark-bg:          #040211;
      --dark-card:        rgba(255,255,255,0.06);
      --dark-card-border: rgba(255,255,255,0.10);
      --accent-gradient:  linear-gradient(135deg, #a855f7, #d946ef);
      --text-white:       #ffffff;
      --text-muted:       rgba(255,255,255,0.55);
      --font-main:        'Inter', sans-serif;
      --font-body:        'Inter', sans-serif;
      --header-h:         100px!important;
    }

    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-body);
      background: var(--dark-bg);
      color: var(--text-white);
      overflow-x: hidden;
    }
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px!important;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  background: transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

header.scrolled {
  background: rgba(27, 27, 27, 0.4); 
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(8px);
}

header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
    .menu-btn {
      display: flex; align-items: center; gap: 10px;
      background: rgb(255 255 255 / 0%);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 8px; padding: 10px 18px;
      cursor: pointer; color: var(--text-white);
      font-family: var(--font-main); font-weight: 600;
      font-size: 13px; letter-spacing: .05em;
      transition: background .2s;
    }
    .menu-btn:hover { background: rgba(255,255,255,0.13); }
    .menu-btn .lines { display: flex; flex-direction: column; gap: 4px; width: 18px; }
    .menu-btn .lines span { display: block; height: 2px; background: #fff; border-radius: 2px; }

    .logo {
      display: flex; align-items: center; gap: 20px;
      text-decoration: none;
      position: absolute; left: 50%; transform: translateX(-50%);
    }
    .logo-icon { width: 38px; height: 38px; }
    .logo-text { font-family: var(--font-main); font-weight: 700; font-size: 20px; color: #fff; }

    .header-right { display: flex; align-items: center; gap: 14px; }
    .phone-btn {
      border: 1px solid rgba(255,255,255,0.14);
      border-radius: 8px; padding: 10px 20px;
      color: #fff; font-family: var(--font-main);
      font-weight: 600; font-size: 14px;
      cursor: pointer; transition: background .2s;
      text-decoration: none; white-space: nowrap;
    }
    .phone-btn:hover { background: rgba(255,255,255,0.13); }
    .consult-btn {
      background: #fff; border: none; border-radius: 8px;
      padding: 10px 22px; color: var(--dark-bg);
      font-family: var(--font-main); font-weight: 700;
      font-size: 13px; letter-spacing: .04em;
      cursor: pointer; transition: opacity .2s;
      white-space: nowrap; text-transform: uppercase;
    }
    .consult-btn:hover { opacity: .88; }

@media (max-width: 768px) {
    .phone-btn { display: none; }
    .consult-btn { display: none; }

    .logo {
        position: static;
        transform: none;
        order: 1;
    }
    .menu-btn {
        order: 2;
    }
    .header-right {
        display: none;
    }
    header .container {
        justify-content: space-between;
    }
}
    .hero-video-outer {
      position: relative;
      background: var(--dark-bg);
    }
    .bg-video {
      position: absolute;
      inset: 0; width: 100%; height: 100%;
      object-fit: cover;
      opacity: .50;
      z-index: 0;
      pointer-events: none;
    }
    /* Fade снизу — плавный переход к clients */
    .hero-video-outer::after {
      content: '';
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 280px;
      background: linear-gradient(to bottom, transparent 0%, var(--dark-bg) 100%);
      z-index: 1;
      pointer-events: none;
    }
    /* Grid-текстура */
    .hero-grid {
      position: absolute; inset: 0; z-index: 1;
      background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
      background-size: 60px 60px;
      pointer-events: none;
    }

    /* ========== HERO ========== */
    #hero {
      position: relative; z-index: 2;
      min-height: 100vh;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      text-align: center;
      padding: calc(var(--header-h) + 60px) 0px 60px;
    }
    .hero-content {  width: 100%; }

    .hero-title {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: clamp(2rem, -0.0955882353rem + 9.3137254902vw, 4.375rem);
    text-align: center;
    line-height: 110%;
    color: #fff;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(90deg, white 0%, rgba(255,255,255,0.5) 100%);
   -webkit-background-clip: text;
   -webkit-text-fill-color: transparent;
    background-clip: text;
    }
    .hero-subtitle {
      font-size: clamp(13px, 1.5vw, 15px);
      color: var(--text-muted); margin-bottom: 48px;
      letter-spacing: .02em;
    }
    .hero-subtitle span { margin: 0 6px; opacity: .4; }

    .stats-grid {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      gap: 12px; margin-bottom: 40px;
    }
    .stat-card {
    border: 1px solid #ffffff4d;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    transition: border-color .2s, background .2s;
    }
    .stat-card:hover {
      border-color: rgba(168,85,247,.4);
      background: rgba(168,85,247,.08);
    }
    .stat-number {
      font-family: var(--font-main); font-weight: 500;
      font-weight: 500;
      font-size: 40px;
      color: #fff;
      line-height: 140%;
    }
    .stat-label { 
    font-size: 16px;
    color: white;
    line-height: 140%;
    font-weight: 400; 
    }
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .stat-card:nth-child(1) { grid-column: 1; grid-row: 1; }
    .stat-card:nth-child(2) { grid-column: 2; grid-row: 1; }
    .stat-card:nth-child(4) { grid-column: 3; grid-row: 1; }
    .stat-card:nth-child(3) { grid-column: 1 / 3; grid-row: 2; }
    .stat-card:nth-child(5) { grid-column: 3; grid-row: 2; }

    .stat-card {
        padding: 12px;
    }

    .stat-number {
        font-size: 18px;
        line-height: 1.3;
    }

    .stat-label {
        font-size: 11px;
        line-height: 1.3;
    }
    .cta-btn {
        font-size:12px!important;
        
    }
}
    .cta-btn {
      display: inline-block;
      background: var(--accent-gradient);
      border: none; border-radius: 10px;
      padding: 18px 52px; color: #fff;
      font-family: var(--font-main); font-weight: 700;
      font-size: 14px; letter-spacing: .08em;
      text-transform: uppercase; cursor: pointer;
      text-decoration: none;
      transition: opacity .2s, transform .2s, box-shadow .2s;
      box-shadow: 0 0 32px rgba(168,85,247,.35);
    }
    .cta-btn:hover {
      opacity: .92; transform: translateY(-2px);
      box-shadow: 0 8px 40px rgba(168,85,247,.5);
    }

    /* ========== VIDEO-SECTION (нижняя часть видео) ========== */
    #video-section {
      position: relative; z-index: 2;
      min-height: 640px;
      /* transparent — видео из hero-video-outer просвечивает сюда */
      background: transparent;
    }

    /* ========== CLIENTS TICKER ========== */
    #clients {
      position: relative; z-index: 3;
      background: linear-gradient(to bottom, transparent 0%, var(--dark-bg) 35%);
      opacity: 0.3;
      overflow: hidden;
    }
    .clients-fade {
      position: absolute; top: 0; bottom: 0; width: 200px;
      z-index: 2; pointer-events: none;
    }
    .clients-fade--left  { left:  0; background: linear-gradient(to right, var(--dark-bg), transparent); }
    .clients-fade--right { right: 0; background: linear-gradient(to left,  var(--dark-bg), transparent); }

    .ticker-wrap { overflow: hidden; width: 100%; }
    .ticker-track {
      display: flex; align-items: center;
      width: max-content;
      animation: ticker-scroll 30s linear infinite;
    }
    .ticker-track:hover { animation-play-state: paused; }
    @keyframes ticker-scroll {
      0%   { transform: translateX(0); }
      100% { transform: translateX(-50%); }
    }
    .ticker-item {
      flex-shrink: 0; padding: 0 52px;
      display: flex; align-items: center;
    }
    .ticker-item img {
        width:200px;
        height:100%;
    }
    .ticker-item + .ticker-item { border-left: 1px solid rgba(255,255,255,.10); }
    .client-logo {
      height: 36px; width: auto; max-width: 220px;
      display: block; opacity: .65; filter: brightness(.9);
      transition: opacity .2s, filter .2s;
    }
    .ticker-item:hover .client-logo { opacity: 1; filter: brightness(1.3); }

    /* ========== RESPONSIVE ========== */
    @media (max-width: 900px) {
      .stats-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 620px) {
      header { padding: 0 16px; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .phone-btn { display: none; }
      #video-section { min-height: 50px; }
    }
    
    
    
    
    
    
    
/* ===== SECTION: КЕЙСЫ ===== */

#cases {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
}

/* Фоновое свечение */
#cases::before {
content: '';
    position: absolute;
    top: 0;
    left: 63%;
    transform: translateX(-50%);
    width: 1100px;
    height: 700px;
    background: radial-gradient( ellipse at center, rgba(217, 78, 187, 0.45) 0%,
    rgba(120, 56, 245, 0.35) 40%, rgb(120 56 245 / 0%) 60%, #040211 75% );
    filter: blur(60px);
    pointer-events: none;
    z-index: 0;

}

#cases .container { position: relative; z-index: 1; }

/* --- Шапка --- */
.cases-header {
    display: flex;
    align-items: flex-start;
    gap: 350px;
    margin-bottom: 48px;
}

.cases-label {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  padding-top: 8px;
  white-space: nowrap;
}

.cases-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(2rem, 1.0073529412rem + 4.4117647059vw, 2.7rem);
  line-height: 110%;
  letter-spacing:-0.02em;
  color: #fff;
}

/* --- Табы --- */
.cases-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.cases-tab {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 12px 24px;
  color: rgba(255,255,255,0.65);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}
.cases-tab:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.cases-tab.active {
  background: #fff;
  border-color: #fff;
  color: #040211;
}

/* --- Панели --- */
.cases-panel {
  display: none;
}
.cases-panel.active {
  display: block;
  animation: fadeInPanel 0.35s ease;
}
@keyframes fadeInPanel {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Горизонтальный скролл для грида */
.cases-grid {
  display: flex;              /* меняем grid на flex */
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding-bottom: 12px;      /* место для скроллбара */

  /* скрываем скроллбар визуально */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cases-grid::-webkit-scrollbar { display: none; }
.cases-grid.is-dragging { cursor: grabbing; }

/* Карточки фиксированной ширины */
.case-card {
  flex: 0 0 380px;           
  scroll-snap-align: start;
}

/* --- Карточка --- */
.case-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.case-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168,85,247,0.35);
}

/* Картинка */
.case-img {
  width: 100%;
  aspect-ratio: 3/2.2;
  background-size: cover;
  background-position: center;
  background-color: #1e1040;
  position: relative;
  border-radius:10px;
}

/* Тело карточки */
.case-body {
  padding: 20px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.case-title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: clamp(15px, 1.4vw, 18px);
  color: #fff;
  line-height: 1.4;
}

/* Футер карточки */
.case-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  justify-content:space-between;
}

.case-btn {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 11px 20px;
  color: #fff;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.case-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

.case-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  flex-shrink: 0;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.case-arrow:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .cases-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-header { flex-direction: column; gap: 16px; }
  #cases::before {display:none;}
  .cases-title {font-size:clamp(2rem, 1.0073529412rem + 4.4117647059vw, 1.7rem);}
  .case-card {    flex: 0 0 356px;}
}
@media (max-width: 600px) {
  .cases-grid { grid-template-columns: 1fr; }
  .cases-tabs { gap: 8px; }
  .cases-tab { font-size: 11px; padding: 10px 16px; }
}    









/* ===== SECTION: 99% компаний ===== */

#intro-99 {
  position: relative;
  padding: 100px 0 120px;
  background: #040211;
  overflow: hidden;
}

/* Фиолетовое свечение справа */
#intro-99::before {
  content: '';
  position: absolute;
  top: 50%; right: 5%;
  transform: translateY(-50%);
  width: 650px; height: 650px;
  background: radial-gradient(ellipse,
    rgba(160, 50, 230, 0.45) 0%,
    rgba(140, 40, 200, 0.20) 45%,
    transparent 70%
  );
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

#intro-99 .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* ===== ЛЕВО ===== */
.intro99-left {
  flex: 0 0 400px;
  max-width: 400px;
}

.intro99-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(2rem, 1.0073529412rem + 4.4117647059vw, 2.7rem);
  line-height: 110%;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.intro99-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 40px;
}

.intro99-btn {
  display: inline-block;
  background: linear-gradient(135deg, #a855f7, #d946ef);
  border: none;
  border-radius: 10px;
  padding: 17px 36px;
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 0 28px rgba(168,85,247,0.4);
}
.intro99-btn:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(168,85,247,0.55);
}

/* ===== ПРАВО — SVG схема ===== */
.intro99-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.i99-svg {
  width: 100%;
  max-width: 90%;
  height: auto;
}

/* ===== ПУНКТИРНЫЕ ЛИНИИ ===== */
.dash-line {
  stroke: rgba(255,255,255,0.20);
  stroke-width: 2;
  stroke-dasharray: 12;
}

/* Бегущий блик */
.dash-glow {
  stroke: rgba(255,255,255,0);
  stroke-width: 2.5;
  stroke-dasharray: 14 300;
  stroke-linecap: round;
  animation: dash-travel 2s linear infinite;
}

@keyframes dash-travel {
  0% {
    stroke-dashoffset: 0;
    stroke: rgba(255,255,255,0);
  }
  8% {
    stroke: rgba(255,255,255,0.95);
  }
  85% {
    stroke: rgba(255,255,255,0.95);
  }
  100% {
    stroke-dashoffset: -300;
    stroke: rgba(255,255,255,0);
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  #intro-99 .container {
    flex-direction: column;
    gap: 60px;
  }
  .intro99-left {
    flex: unset;
    max-width: 100%;
  }
  .i99-svg {
    max-width: 420px;
  }
}
@media (max-width: 600px) {
  .i99-svg { max-width: 320px; }
  .intro99-title { font-size: 36px; }
  #intro-99::before {display:none;}
}









/* ===== SECTION: УСЛУГИ ===== */

#services {
  position: relative;
  padding: 100px 0 100px;
  background: #040211;
  overflow: hidden;
}

/* Шапка */
.services-header {
  display: flex;
  align-items: flex-start;
  gap: 350px;
  margin-bottom: 48px;
}
.services-header-left {
  flex: 0 0 auto;
  padding-top: 10px;
}
.services-label {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.services-header-right {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.services-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(2rem, 1.0073529412rem + 4.4117647059vw, 2.7rem);
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}

/* Стрелки */
.services-arrows {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-self: flex-end;
  padding-bottom: 4px;
}
.srv-arrow {
  width: 48px; height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.srv-arrow:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.45);
}
.srv-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

/* Слайдер */
.services-slider-wrap {
  overflow: hidden;
}
.services-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

/* Карточка */
.srv-card {
  flex: 0 0 calc((100% - 48px) / 3); 
  min-width: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #1e1c29;
  border: 1px solid #b7b7b7;
  display: flex;
  flex-direction: column;
  transition: border-color .25s;
}
.srv-card:hover {
  border-color: rgba(168,85,247,0.3);
}

/* Картинка */
.srv-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: #1a1030;
}

/* Тело */
.srv-card-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.srv-card-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(1.125rem, 0.7941176471rem + 1.4705882353vw, 1.5rem);
  color: #fff;
  line-height: 1.3;
}
.srv-card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  flex: 1;
}

/* Футер карточки */
.srv-card-footer {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.srv-btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 12px 18px;
  border-radius: 8px;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.srv-btn--outline {
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  background: transparent;
}
.srv-btn--outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.45);
}
.btn-white {
    background:#fff;
    color:#000;
}
.btn-white:hover {
    background:#dbdbdb;
}
/* Responsive */
@media (max-width: 1024px) {
  .srv-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .srv-card { flex: 0 0 100%; }
  .services-header { flex-direction: column; gap: 16px; }
  .services-header-right { flex-direction: column; align-items: flex-start; }
}












/* ===== SECTION: ПРОЦЕСС + РЕЗУЛЬТАТЫ ===== */

#process {
  position: relative;
  padding: 100px 0 0;
  overflow: hidden;
  background: #040211;
}

.process-bg {
position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 75%;
    background: linear-gradient( 90deg, #d84ebd91 0%, #d84ebd85 40%, #d84ebd1f 75%, transparent 100% );
    -webkit-mask: linear-gradient( 180deg, transparent 0%, #06060624 20%, #000000bf 80%, transparent 100% );
    mask: linear-gradient( 180deg, transparent 0%, black 20%, black 80%, transparent 100% );
    pointer-events: none;
    z-index: 0;
}

#process .container {
  position: relative;
  z-index: 1;
}

/* ===== ЗАГОЛОВОК ===== */
.process-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(2rem, 1.0073529412rem + 4.4117647059vw, 2.7rem);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 56px;
  letter-spacing: -0.01em;
}

/* ===== ШАГИ ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-bottom: 80px;
}

.process-step {
  padding-right: 24px;
  position: relative;
}
.process-step--last { padding-right: 0; }

/* Точки */
.step-dots {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}
.dot--active {
  background: rgba(255,255,255,0.85);
}

.step-line {
    position: absolute;
    top: 2px;
    left: calc(var(--dots-w, 0px) + 8px);
    right: 0;
    height: 2px;
    background: rgba(255,255,255,0.15);
}
.process-step--last .step-line { display: none; }

/* Названия шагов */
.step-name {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(15px, 1.3vw, 18px);
  color: #fff;
  line-height: 1.35;
  margin-bottom: 12px;
}

.step-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* ===== РЕЗУЛЬТАТЫ ===== */
.results-row {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 0;
}

.results-label {
  flex: 0 0 auto;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(22px, 2vw, 30px);
  color: #fff;
  padding-top: 36px;
  white-space: nowrap;
}

.results-cards {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.result-card {
  background: rgba(255,255,255,0);
  border: 1px solid #b7b7b7;
  border-radius: 10px;
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-number {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(48px, 6vw, 80px);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.result-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .step-line { display: none; }
}
@media (max-width: 768px) {
  .results-row { flex-direction: column; gap: 24px; }
  .results-label { padding-top: 0; font-size:clamp(1rem, 0.8382352941rem + 2.9411764706vw, 1.5rem); }
  .results-cards { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-bg {display:none;}
  .results-row {    display: grid; grid-template-columns: 1fr;padding: 30px;}
  .result-number {font-size:clamp(3.75rem, 1.5441176471rem + 9.8039215686vw, 6.25rem);}
}




@media (max-width: 600px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 0;
        padding-left: 24px;
        border-left: 2px solid rgba(255,255,255,0.15);
    }

    .process-step {
        padding-right: 0;
        padding-bottom: 32px;
        position: relative;
    }

    .process-step:last-child {
        padding-bottom: 0;
    }

    /* Скрываем горизонтальную линию и старые точки */
    .step-line { display: none; }
    .step-dots { display: none; }

    /* Точки на вертикальной линии слева */
    .process-step::before {
        position: absolute;
        left: -32px;
        top: 2px;
        font-size: 20px;
        color: #fff;
        letter-spacing: 2px;
        line-height: 1;
        display: flex;
        flex-direction: column;
        gap: 3px;
    }

    .process-step:nth-child(1)::before { content: '•'; }
    .process-step:nth-child(2)::before { content: '•\A•'; white-space: pre; }
    .process-step:nth-child(3)::before { content: '•\A•\A•'; white-space: pre; }
    .process-step:nth-child(4)::before { content: '•\A•\A•\A•'; white-space: pre; }
    .process-step:nth-child(5)::before { content: '•\A•\A•\A•\A•'; white-space: pre; }

    .step-name {
        display: block;
        margin-bottom: 8px;
        font-size: clamp(1.125rem, 0.7941176471rem + 1.4705882353vw, 1.5rem);
    }

    .step-desc {
        font-size: clamp(0.8125rem, 0.6470588235rem + 0.7352941176vw, 1rem);
    }
}







/* ===== SECTION: КОНСАЛТИНГ-СЕССИЯ ===== */

#consult {
  position: relative;
  padding: 100px 0 0;
  overflow: hidden;
  background: #040211;
}

/* Фиолетовый фон — как на скрине */
.consult-bg {
  position: absolute;
  inset: 0;
 /* background:
    radial-gradient(ellipse 80% 90% at 60% 60%, rgba(100,30,180,0.55) 0%, transparent 70%),
    radial-gradient(ellipse 60% 70% at 30% 40%, rgba(80,20,150,0.35) 0%, transparent 65%),
    linear-gradient(180deg, #040211 0%, rgba(60,15,110,0.6) 50%, rgba(50,10,90,0.7) 100%);*/
  pointer-events: none;
  z-index: 0;
}

#consult .container {
  position: relative;
  z-index: 1;
}

/* Внутренний layout */
.consult-inner {
  display: flex;
  align-items: flex-start;
  gap: 60px;
}

/* ===== ЛЕВО ===== */
.consult-left {
  flex: 0 0 500px;
  max-width: 500px;
}

.consult-title {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 48px;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.consult-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 40px;
}

/* Форма */
.consult-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.cf-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.cf-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  outline: none;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
  transition: border-color .2s;
  width: 100%;
}
.cf-input:focus {
  border-bottom-color: rgba(168,85,247,0.8);
}
.cf-input::placeholder {
  color: rgba(255,255,255,0.2);
}

/* Кнопка отправки */
.cf-submit {
  margin-top: 8px;
  background: linear-gradient(135deg, #a855f7, #d946ef);
  border: none;
  border-radius: 10px;
  padding: 18px 32px;
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 0 28px rgba(168,85,247,0.4);
  align-self: flex-start;
}
.cf-submit:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168,85,247,0.55);
}

.cf-privacy {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}
.cf-privacy a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cf-privacy a:hover { color: rgba(255,255,255,0.8); }

/* ===== ПРАВО — картинка ===== */
.consult-right {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  align-self: stretch;
}

.consult-img-wrap {
  width: 100%;
  max-width: 500px;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-bottom: none;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
}

.consult-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .consult-inner { flex-direction: column; }
  .consult-left { flex: unset; max-width: 100%; }
  .consult-right { width: 100%; }
  .consult-img-wrap { max-width: 100%; min-height: 300px; border-radius: 16px; border-bottom: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 600px) {
  .cf-submit { width: 100%; text-align: center; }
  .consult-title { font-size:clamp(1.75rem, 0.5367647059rem + 5.3921568627vw, 3.125rem);}
}

.cf-select {
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  user-select: none;
}
.cf-select-val {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
}
.cf-select-val svg {
  transition: transform .25s;
  flex-shrink: 0;
}
.cf-select.open .cf-select-val svg {
  transform: rotate(180deg);
}
.cf-select-drop {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #1a1a2e;
  border-radius: 12px;
  overflow: hidden;
  z-index: 10;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.cf-select.open .cf-select-drop { display: block; }

.cf-option {
  padding: 18px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .15s;
  cursor: pointer;
}
.cf-option:hover { background: rgba(255,255,255,0.06); }
.cf-option.active { color: #fff; }
.cf-check { color: #fff; font-size: 16px; }
.cf-option:not(.active) .cf-check { display: none; }








/* ===== SECTION: КОМАНДА ===== */
#team {
  padding: 100px 0 0;
  background: #040211;
  overflow: hidden;
}

/* Шапка */
.team-header {
  display: flex;
  align-items: flex-start;
  gap: 350px;
  margin-bottom: 48px;
}
.team-label {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  padding-top: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.team-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(2rem, 1.0073529412rem + 4.4117647059vw, 2.7rem);
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}

/* ===== ГЛАВНЫЙ БЛОК — один ряд ===== */
.team-main {
    display: flex;
    align-items: start;
    gap: 16px;
    justify-content: space-between;
}

/* Левые 3 карточки */
.team-smalls--left {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}

/* Правый блок: текст + 2 карточки в ряд */
.team-right {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-shrink: 0;
}

/* Текст описание */
.team-featured-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 150px;
  align-self: flex-end;
  margin: 0;
}

/* ===== ЦЕНТРАЛЬНОЕ БОЛЬШОЕ ФОТО ===== */
.team-featured-img {
  flex:1;    
  flex-shrink: 0;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0f0b18;
  display: flex;
  flex-direction: column;
  max-width: 340px;
  z-index:1;
}

.team-featured-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  display: block;
  /* НЕТ border-radius здесь — он на родителе */
}

/* Чёрная полоса снизу с текстом */
.team-featured-caption {
  background: #0f0b18;  /* тёмный фон — отдельная полоса */
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  /* position: static — НЕ absolute, просто под фото */
}

.team-featured-name {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  letter-spacing: 0.05em;
}

.team-featured-role {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ===== МАЛЕНЬКИЕ КАРТОЧКИ ===== */
.tm-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.tm-card img {
  width: 107px;
  height: 107px;
  object-fit: cover;
  object-position: top center;
  border-radius: 8px;
  background: #1a1030;
  display: block;
}
.tm-name {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.tm-role {
  font-family: var(--font-body);
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

/* ===== БЕГУЩАЯ ЛЕНТА ===== */
.team-ticker {
  overflow: hidden;
  width: 100%;
  margin-top: -175px;
}
.team-ticker-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ticker-left 30s linear infinite;
}
@keyframes ticker-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tm-card--ticker {
  flex-shrink: 0;
  width: 140px;
}
.tm-card--ticker img {
  width: 107px;
  height: 107px;
}

/* ===== СТАТИСТИКА ===== */
.team-stats {
  margin-top: 60px;
  padding: 60px 0 80px;

}
.team-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.ts-item { display: flex; flex-direction: column; gap: 20px; }
.ts-number {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(3.75rem, 1.5441176471rem + 9.8039215686vw, 6.25rem);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.ts-unit {
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}
.ts-line {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.2);
}
.ts-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .tm-card img,
  .tm-card--ticker img { width: 120px; height: 150px; }
  .tm-card--ticker { width: 120px; }
}
@media (max-width: 900px) {
  .team-main { flex-wrap: wrap; justify-content: center; }
  .team-smalls--left,
  .team-right { flex-wrap: nowrap; }
  .team-featured-desc { max-width: 200px; }
}
@media (max-width: 600px) {
  .team-header { flex-direction: column; gap: 16px; }
  .team-stats-grid { grid-template-columns: 1fr; }
  .team-main { flex-direction: column; align-items: center; }
  .team-title { font-size:clamp(1.75rem, 0.5367647059rem + 5.3921568627vw, 3.125rem);}
    .tm-card img,
  .tm-card--ticker img { width: 107px; height: 107px; }
  .tm-card--ticker { width: 120px; }
  .team-featured-img {display:none;}
  .team-featured-img {display:none;}
  .team-right{display:none;}
  .team-ticker {margin-top:50px;}
}








/* ===== SECTION: ОТЗЫВЫ ===== */

#reviews {
  position: relative;
  padding: 100px 0 100px;
  background: #040211;
  overflow: hidden;
}

/* Фиолетовый фон */
.reviews-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 87% at 92% 63%, rgb(90 20 160 / 0%) 0%, transparent 91%),
    radial-gradient(ellipse 44% 70% at 92% 51%, #5f35aa 0%, transparent 64%);
  pointer-events: none;
  z-index: 0;
}

#reviews .container { position: relative; z-index: 1; }

/* --- Шапка --- */
.reviews-header {
  display: flex;
  align-items: flex-start;
  gap: 350px;
  margin-bottom: 48px;
}
.reviews-header-left {
  flex-shrink: 0;
  padding-top: 10px;
}
.reviews-label {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.reviews-header-right {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.reviews-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(2rem, 1.0073529412rem + 4.4117647059vw, 2.7rem);
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}

/* Стрелки */
.reviews-arrows {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-self: flex-end;
  padding-bottom: 4px;
}
.rev-arrow {
  width: 48px; height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.rev-arrow:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.45);
}
.rev-arrow:disabled { opacity: 0.35; cursor: default; }

/* --- Слайдер --- */
.reviews-slider-wrap { overflow: hidden; }

.reviews-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  align-items: stretch;
}

/* --- Карточка отзыва --- */
.rev-card {
  flex: 0 0 calc((100% - 24px) / 2); /* 2 карточки видно */
  min-width: 0;
  background: #ffffff1a;
  border: 1px solid #b7b7b7;
  border-radius: 10px;
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Верх карточки: лого + мета */
.rev-card-top {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.rev-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  padding: 6px;
  flex-shrink: 0;
}
.rev-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
}
.rev-position {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.rev-divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.15);
}
.rev-company {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
}

/* Текст отзыва */
.rev-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rev-text p {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .rev-card { flex: 0 0 100%; }
  .reviews-header { flex-direction: column; gap: 16px; }
  .reviews-header-right { flex-direction: column; align-items: flex-start; }
  .reviews-bg { display:none;}
}









/* ===== SECTION: ФОРМА ===== */

#form-plan {
  position: relative;
  padding: 100px 0 100px;
  background: #040211;
  overflow: hidden;
}

.fp-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 90% at 109% 51%, rgb(100 25 180 / 48%) 0%, transparent 60%),
    radial-gradient(ellipse 64% 66% at 61% 78%, rgb(80 15 140 / 0%) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

#form-plan .container { position: relative; z-index: 1; }

.fp-inner {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  align-items: start;
}

/* ===== ЛЕВО ===== */
.fp-left {
  display: flex;
  flex-direction: column;
  gap: 60px;
  padding-top: 8px;
}

.fp-label {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.fp-contacts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fp-contacts-title {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.fp-phone {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 24px);
  color: #fff;
  text-decoration: none;
  line-height: 1.2;
}
.fp-phone:hover { opacity: .8; }
.fp-email {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(14px, 1.3vw, 18px);
  color: #fff;
  text-decoration: none;
}
.fp-email:hover { opacity: .8; }

.fp-socials {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.fp-social-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.fp-social-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.4);
}

/* ===== ПРАВО — форма ===== */
.fp-right { display: flex; flex-direction: column; gap: 0; }

.fp-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(2rem, 1.0073529412rem + 4.4117647059vw, 2.7rem);
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.fp-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 40px;
}

.fp-form { display: flex; flex-direction: column; gap: 0; }

.fp-field { margin-bottom: 28px; }

.fp-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  outline: none;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
  transition: border-color .2s;
}
.fp-input:focus { border-bottom-color: rgba(168,85,247,0.8); }
.fp-input::placeholder { color: rgba(255,255,255,0.4); }

/* Дропдаун */
.fp-select-label {
  display: block;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.fp-select {
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  cursor: pointer;
  user-select: none;
}
.fp-select-val {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.4);
}
.fp-select-val svg { transition: transform .25s; flex-shrink: 0; }
.fp-select.open .fp-select-val svg { transform: rotate(180deg); }

.fp-select-drop {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #12111f;
  border-radius: 12px;
  overflow: hidden;
  z-index: 20;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}
.fp-select.open .fp-select-drop { display: block; }

.fp-option {
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .15s;
  cursor: pointer;
}
.fp-option:hover { background: rgba(255,255,255,0.05); }
.fp-option.active { color: #fff; }
.fp-check { color: #fff; font-size: 15px; }
.fp-option:not(.active) .fp-check { display: none; }

/* Чекбокс */
.fp-checkbox-wrap { margin-bottom: 32px; }
.fp-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.fp-checkbox-input { display: none; }
.fp-checkbox-box {
  width: 20px; height: 20px;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .2s, background .2s;
}
.fp-checkbox-input:checked + .fp-checkbox-box {
  background: linear-gradient(135deg, #a855f7, #d946ef);
  border-color: transparent;
}
.fp-checkbox-input:checked + .fp-checkbox-box::after {
  content: '✓';
  color: #fff;
  font-size: 12px;
  line-height: 1;
}
.fp-checkbox-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}

/* Кнопка */
.fp-submit {
  background: linear-gradient(135deg, #a855f7, #d946ef);
  border: none;
  border-radius: 10px;
  padding: 18px 40px;
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity .2s, transform .2s, box-shadow .2s;
  box-shadow: 0 0 28px rgba(168,85,247,0.4);
}
.fp-submit:hover {
  opacity: .9;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168,85,247,0.55);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .fp-inner { grid-template-columns: 1fr; gap: 40px; }
  .fp-left { flex-direction: row; flex-wrap: wrap; gap: 32px; }
  .fp-submit { width: 100%; text-align: center; }
  .fp-bg {display:none;}
}










/* ===== SECTION: FAQ ===== */

#faq {
  padding: 100px 0 100px;
  background: #040211;
}

/* Шапка */
.faq-header {
  display: flex;
  align-items: baseline;
  gap: 350px;
  margin-bottom: 0;
}
.faq-label {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  flex-shrink: 0;
}
.faq-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 52px);
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

/* Список */
.faq-list { border-top: 1px solid rgba(255,255,255,0.12); }

/* Скрытые вопросы */
.faq-extra {
  display: none;
}
.faq-extra.visible {
  display: block;
}

/* Один вопрос */
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.faq-row {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  align-items: center;
  padding: 28px 0;
  cursor: pointer;
  gap: 16px;
}
.faq-row:hover .faq-question { opacity: 0.8; }

.faq-num {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 18px;
  color: rgba(255,255,255,0.4);
}

.faq-question {
  font-family: var(--font-main);
  font-weight: 600;
  font-size: clamp(16px, 1.6vw, 22px);
  color: #fff;
  line-height: 1.3;
  transition: opacity .2s;
}

.faq-btn {
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  justify-self: end;
  transition: background .2s, border-color .2s, transform .3s;
}
.faq-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.35);
}
.faq-item.open .faq-btn {
  transform: rotate(90deg);
}

/* Ответ */
.faq-answer {
  display: none;
  padding: 0 0 28px 113px;
}
.faq-item.open .faq-answer { 
    display: flex;
    justify-content: center;
    
    }
.faq-answer p {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin: 0;
  max-width: 520px;
}

/* Кнопка загрузить больше */
.faq-more-wrap {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}
.faq-more-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 16px 32px;
  color: #fff;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.faq-more-btn:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .faq-header { flex-direction: column; gap: 16px; }
  .faq-row { grid-template-columns: 60px 1fr 44px; }
  .faq-answer { padding-left: 76px; }
  .faq-more-wrap { padding-left: 60px; }
}
@media (max-width: 480px) {
  .faq-row { grid-template-columns: 44px 1fr 40px; gap: 10px; }
  .faq-answer { padding-left: 54px; }
  .faq-more-wrap { padding-left: 0; }
}











/* ===== SECTION: СТАТЬИ ===== */

#articles {
  position: relative;
  padding: 100px 0 100px;
  background: #040211;
  overflow: hidden;
}

.articles-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 20%, rgba(80,20,140,0.5) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

#articles .container { position: relative; z-index: 1; }

/* Шапка */
.articles-header {
  display: flex;
  align-items: flex-start;
  gap: 80px;
  margin-bottom: 48px;
}
.articles-header-left {
  flex-shrink: 0;
  padding-top: 10px;
}
.articles-label {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.articles-header-right {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.articles-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 52px);
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
}

/* Стрелки */
.articles-arrows {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  align-self: flex-end;
  padding-bottom: 4px;
}
.art-arrow {
  width: 48px; height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.art-arrow:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.45);
}
.art-arrow:disabled { opacity: 0.35; cursor: default; }

/* Слайдер */
.articles-slider-wrap { overflow: hidden; }
.articles-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  align-items: stretch;
}

/* Карточка */
.art-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Картинка */
.art-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.art-img {
  width: 100%;
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  background-color: #1a1030;
}
.art-img-link {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background .2s;
}
.art-img-link:hover { background: rgba(255,255,255,0.25); }

/* Теги */
.art-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.art-tag {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  padding: 4px 12px;
  white-space: nowrap;
}

/* Заголовок */
.art-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.35;
  flex: 1;
}
.art-title a {
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}
.art-title a:hover { opacity: .75; }

/* Описание */
.art-desc {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin: 0;
}

/* Футер */
.art-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
}
.art-date {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}
.art-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}

/* Responsive */
@media (max-width: 1024px) {
  .art-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .art-card { flex: 0 0 100%; }
  .articles-header { flex-direction: column; gap: 16px; }
  .articles-header-right { flex-direction: column; align-items: flex-start; }
}









/* ===== FOOTER ===== */

#footer {
  background: #040211;
  padding-top: 60px;
}

.footer-top-line {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin-bottom: 60px;
}

/* Основная сетка */
.footer-grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

/* Лого */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-logo-text {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
}

/* Навигация */
.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-nav-title {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color .2s;
  width: fit-content;
}
.footer-nav a:hover { color: #fff; }

/* Контакты */
.footer-contacts-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 40px;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-contact-label {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
}
.footer-contact-val {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(18px, 2vw, 26px);
  color: #fff;
  text-decoration: none;
  transition: opacity .2s;
}
.footer-contact-val:hover { opacity: .75; }

/* Подписка */
.footer-subscribe {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-subscribe-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
}
.footer-subscribe-input {
  background: rgba(255,255,255,0);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: border-color .2s;
}
.footer-subscribe-input:focus { border-color: rgba(168,85,247,0.6); }
.footer-subscribe-input::placeholder { color: rgba(255,255,255,0.3); }

.footer-subscribe-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  padding: 13px 20px;
  color: #fff;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  text-align: center;
  align-self: flex-start;
}
.footer-subscribe-btn:hover {
  border-color: #fff;
}

/* Карта сайта */
.footer-sitemap {
  margin-bottom: 40px;
}
.footer-sitemap-link {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}
.footer-sitemap-link:hover { color: rgba(255,255,255,0.6); }

/* Нижняя строка */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-big-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.footer-big-logo-text {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 36px);
  color: #fff;
  letter-spacing: 0.05em;
}
.footer-copy {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin-left: 20px;
}
.footer-privacy {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  margin-left: auto;
  transition: color .2s;
}
.footer-privacy:hover { color: rgba(255,255,255,0.7); }
.footer-maker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-logo-col { grid-column: 1 / -1; }
  .footer-contacts-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-contacts-row { grid-template-columns: 1fr; }
  .footer-bottom-inner { gap: 16px; }
  .footer-privacy { margin-left: 0; }
  .footer-subscribe-form {max-width:100%;}
  .footer-subscribe-btn {width:100%;}
}









/* ===== OVERLAY ===== */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.menu-overlay.active { opacity: 1; pointer-events: all; }

/* ===== DRAWER — правая половина экрана ===== */
.menu-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 55vw;          /* ~правая половина экрана как на скрине */
  min-width: 480px;
  max-width: 680px;
  background: #0d0d18;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
}
.menu-drawer.active { transform: translateX(0); }
body.menu-open { overflow: hidden; }

/* ===== ШАПКА ===== */
.md-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  flex-shrink: 0;
}
.md-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.md-close {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.md-close:hover { background: rgba(255,255,255,0.12); }

/* ===== НАВИГАЦИЯ ===== */
.md-nav {
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Пункт меню */
.md-item {
  display: block;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.md-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 28px;
  transition: background .15s;
}
.md-item:hover .md-row,
.md-item--sub:hover > .md-row {
  background: #fff;
  color:#000;
    transition:1s;
}
.md-row:hover .md-item-title,
.md-item--sub:hover > .md-row .md-item-title {
  color: #000;
}

.md-row:hover .md-item-num,
.md-item--sub:hover > .md-row .md-item-num {
  color: rgba(0,0,0,0.4);
}
.md-item-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(1.75rem, 0.5367647059rem + 5.3921568627vw, 3.125rem);
  color: #fff;
  line-height: 1.05;
}
.md-item-title:hover{
    color:#000;
}
.md-item-num {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

/* ===== ПОДМЕНЮ — раскрывается поверх внутри дровера ===== */
.md-item--sub { position: relative; }

.md-submenu {
  display: block; /* убираем display: none */
  position: absolute;
  top: 0; left: 0; right: 0;
  background: #fff;
  z-index: 5;
  
  /* Анимация сверху вниз */
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.md-item--sub:hover .md-submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.md-submenu-inner {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 14px 28px 24px;
}

.md-submenu-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-shrink: 0;
  margin-right: 40px;
}
.md-submenu-left .md-item-title {
  color: #0d0d18;  /* тёмный на белом */
}
.md-submenu-left .md-item-num {
  color: rgba(0,0,0,0.35);
}

.md-submenu-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 12px;
}
.md-submenu-links a {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(0,0,0,0.65);
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.md-submenu-links a:hover { color: #7c3aed; }

/* ===== FOOTER ===== */
.md-footer {
  padding: 20px 28px 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}
.md-footer-label {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  margin: 0 0 4px;
}
.md-footer-phone {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}
.md-footer-phone:hover { opacity: .8; }
.md-footer-email {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-bottom: 6px;
}
.md-footer-email:hover { color: #fff; }
.md-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}
.md-socials { display: flex; gap: 8px; }
.md-social {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: background .2s;
}
.md-social:hover { background: rgba(255,255,255,0.1); }
.md-consult-btn {
  background: #fff;
  border: none;
  border-radius: 8px;
  padding: 11px 16px;
  color: #040211;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s;
}
.md-consult-btn:hover { opacity: .85; }

/* Responsive */
@media (max-width: 600px) {
  .menu-drawer { width: 100vw; min-width: unset; }
  .md-item-title { font-size: 36px; }
  .md-submenu-inner {flex-direction: column;}
}










/* ===== МОДАЛЬНАЯ ФОРМА ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal-drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 55vw;
  min-width: 480px;
  max-width: 660px;
  background: #0d0d18;
  z-index: 310;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 36px 40px 48px;
}
.modal-drawer.active { transform: translateX(0); }

body.modal-open { overflow: hidden; }

/* Кнопка закрытия */
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .2s;
}
.modal-close:hover { background: rgba(255,255,255,0.12); }

/* Контент */
.modal-inner { padding-top: 8px; }

.modal-title {
  font-family: var(--font-main);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.modal-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 36px;
}

/* Форма */
.modal-form { display: flex; flex-direction: column; gap: 0; }

.mf-field { margin-bottom: 24px; }

.mf-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  outline: none;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: #fff;
  transition: border-color .2s;
}
.mf-input:focus { border-bottom-color: rgba(168,85,247,0.7); }
.mf-input::placeholder { color: rgba(255,255,255,0.35); }

/* Лейбл */
.mf-label {
  display: block;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* Дропдаун */
.mf-select {
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  user-select: none;
}
.mf-select-val {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.4);
}
.mf-select-val svg { transition: transform .25s; }
.mf-select.open .mf-select-val svg { transform: rotate(180deg); }

.mf-select-drop {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: #12111f;
  border-radius: 12px;
  overflow: hidden;
  z-index: 20;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
}
.mf-select.open .mf-select-drop { display: block; }

.mf-option {
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background .15s;
  cursor: pointer;
}
.mf-option:hover { background: rgba(255,255,255,0.05); }
.mf-option.active { color: #fff; }
.mf-check { color: #fff; }
.mf-option:not(.active) .mf-check { display: none; }

/* Чекбокс */
.mf-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 28px;
}
.mf-checkbox-input { display: none; }
.mf-checkbox-box {
  width: 22px; height: 22px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, border-color .2s;
}
.mf-checkbox-input:checked + .mf-checkbox-box {
  background: linear-gradient(135deg, #a855f7, #d946ef);
  border-color: transparent;
}
.mf-checkbox-input:checked + .mf-checkbox-box::after {
  content: '✓';
  color: #fff;
  font-size: 13px;
}
.mf-checkbox-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* Кнопка */
.mf-submit {
  width: 100%;
  background: linear-gradient(135deg, #a855f7, #d946ef);
  border: none;
  border-radius: 10px;
  padding: 20px;
  color: #fff;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 0 28px rgba(168,85,247,0.4);
}
.mf-submit:hover { opacity: .9; transform: translateY(-1px); }

@media (max-width: 600px) {
  .modal-drawer { width: 100vw; min-width: unset; padding: 28px 20px 40px; }
}









