/* ============================================================
   Хедер (кнопки, бургер), форма «Хочу консультацию», окно записи
   ============================================================ */

/* ---------- хедер ---------- */
header [data-hdr-cta] > * { white-space: nowrap; }
@media (min-width: 1121px) { header nav { flex-wrap: nowrap !important; } }
@media (min-width: 1121px) and (max-width: 1200px) {
  header > div { gap: 20px !important; }
  header nav { gap: 18px !important; }
  header [data-hdr-cta] [data-consult] { padding: 11px 14px !important; }
  header [data-hdr-cta] a { padding: 12px 18px !important; }
}
@media (max-width: 1120px) {
  header nav { display: none !important; }
  header [data-hdr-cta] { margin-left: auto; }
  header [data-burger] { display: flex !important; }
}
@media (max-width: 600px) {
  header [data-hdr-cta] [data-consult] { display: none; }
  header [data-hdr-cta] a { font-size: 13px !important; padding: 10px 16px !important; }
  header [data-burger] { width: 36px !important; height: 36px !important; }
}
@media (max-width: 360px) {
  header [data-hdr-cta] a { font-size: 12px !important; padding: 9px 12px !important; }
  header [data-burger] { width: 34px !important; height: 34px !important; }
}
header [data-burger][aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
header [data-burger][aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- мобильное меню ---------- */
.ld-menu {
  position: fixed; left: 0; right: 0; top: var(--ld-top, 56px); z-index: 39;
  max-height: calc(100dvh - var(--ld-top, 56px)); overflow: auto; box-sizing: border-box;
  padding: 4px 18px 22px; background: rgba(11,11,15,0.97);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(199,205,211,0.10);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .3s cubic-bezier(0.19,1,0.22,1), transform .4s cubic-bezier(0.19,1,0.22,1), visibility 0s .3s;
  font-family: var(--font-body);
}
.ld-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s cubic-bezier(0.19,1,0.22,1), transform .4s cubic-bezier(0.19,1,0.22,1); }
.ld-menu-in { max-width: 1240px; margin: 0 auto; }
.ld-link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: 500 18px/1.2 var(--font-body); color: #fff; text-decoration: none;
  padding: 16px 0; border-bottom: 1px solid rgba(199,205,211,0.10);
}
.ld-link::after { content: ""; width: 7px; height: 7px; border-top: 1px solid #c5ff72; border-right: 1px solid #c5ff72; transform: rotate(45deg); margin-right: 4px; }
.ld-menu-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }

/* ---------- кнопки внутри меню и окон ---------- */
.ld-btn-primary {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%;
  font: 500 16px/1 var(--font-body); color: #000; background: #c5ff72; border: none; cursor: pointer;
  padding: 18px 24px; text-decoration: none;
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
  transition: background .2s ease-in-out;
}
.ld-btn-primary:hover { background: #a8e05a; }
.ld-btn-primary[disabled] { opacity: .6; cursor: default; }
.ld-btn-outline {
  display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%;
  font: 500 15px/1 var(--font-body); color: #c5ff72; background: transparent; cursor: pointer;
  border: 1px solid rgba(197,255,114,0.5); border-radius: 999px; padding: 15px 24px;
  transition: color .2s ease-in-out, border-color .2s ease-in-out;
}
.ld-btn-outline:hover { color: #9ccd52; border-color: #9ccd52; }

/* ---------- модальные окна ---------- */
.ld-modal {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  padding: 24px; box-sizing: border-box; font-family: var(--font-body); color: #fff;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .35s cubic-bezier(0.19,1,0.22,1), visibility 0s .35s;
}
.ld-modal.is-open { opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .35s cubic-bezier(0.19,1,0.22,1); }
.ld-backdrop { position: absolute; inset: 0; background: rgba(5,5,8,0.8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ld-panel {
  position: relative; width: 100%; max-width: 520px; max-height: calc(100dvh - 48px); overflow: auto; box-sizing: border-box;
  background: #0d0d0d; border: 1px solid rgba(199,205,211,0.16); border-radius: 15px; padding: 40px 36px 32px;
  transform: translateY(14px); transition: transform .5s cubic-bezier(0.19,1,0.22,1);
}
.ld-modal.is-open .ld-panel { transform: none; }
.ld-panel--wide { max-width: 640px; }
.ld-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid rgba(199,205,211,0.16); transition: border-color .2s ease-in-out;
}
.ld-close:hover { border-color: rgba(199,205,211,0.4); }
.ld-close::before, .ld-close::after { content: ""; position: absolute; left: 12px; top: 19px; width: 15px; height: 1.5px; background: #fff; }
.ld-close::before { transform: rotate(45deg); }
.ld-close::after { transform: rotate(-45deg); }
.ld-kicker { font: 500 11px/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.16em; color: #c5ff72; margin: 0 0 14px; }
.ld-title { font: 700 30px/1.08 var(--font-body); text-transform: uppercase; letter-spacing: -0.02em; margin: 0 0 12px; padding-right: 40px; }
.ld-lead { font: 400 15px/1.55 var(--font-body); color: #b4bac0; margin: 0 0 26px; text-wrap: pretty; }

.ld-form { display: flex; flex-direction: column; gap: 16px; }
.ld-field { display: flex; flex-direction: column; gap: 8px; }
.ld-label { font: 500 11px/1 var(--font-body); text-transform: uppercase; letter-spacing: 0.14em; color: #9a9a9a; }
.ld-input {
  font: 400 16px/1.4 var(--font-body); color: #fff; background: #131313; width: 100%; box-sizing: border-box;
  border: 1px solid rgba(199,205,211,0.16); border-radius: 10px; padding: 15px 16px; outline: none;
  transition: border-color .2s ease-in-out;
}
.ld-input::placeholder { color: #6f747a; }
.ld-input:focus { border-color: #c5ff72; }
.ld-input[aria-invalid="true"] { border-color: #ff5a3d; }
textarea.ld-input { resize: vertical; min-height: 96px; }
.ld-err { font: 500 13px/1.3 var(--font-body); color: #ff5a3d; }
.ld-consent { font: 400 12px/1.45 var(--font-body); color: #9a9a9a; margin: 2px 0 0; }
.ld-consent a { color: #cfcfcf; }
.ld-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ld-done { display: none; flex-direction: column; gap: 14px; border-top: 1px solid rgba(199,205,211,0.16); padding-top: 22px; }
.ld-done b { font: 700 22px/1.1 var(--font-body); text-transform: uppercase; letter-spacing: -0.02em; color: #c5ff72; }
.ld-done span { font: 400 15px/1.5 var(--font-body); color: #cfcfcf; }



/* ---------- форма в лаймовом блоке ---------- */
#form [data-lead-form] input:focus, #form [data-lead-form] textarea:focus { border-color: #0b0b0f !important; background-color: rgba(255,255,255,0.45) !important; }
#form [data-lead-form] [aria-invalid="true"] { border-color: #a8301a !important; }
#form [data-lead-form] ::placeholder { color: rgba(11,11,15,0.45); }
[data-lead-form] [data-err]:empty, .ld-err:empty { display: none; }



@media (max-width: 600px) {
  .ld-modal { padding: 0; align-items: flex-end; }
  .ld-panel { max-width: none; max-height: 92dvh; border-radius: 15px 15px 0 0; border-bottom: 0; padding: 30px 18px 26px; transform: translateY(40px); }
  .ld-title { font-size: 24px; }
  .ld-lead { font-size: 14px; margin-bottom: 20px; }
  .ld-form { gap: 12px; }

  [data-hero] [data-m-scope] > [data-reveal="240"] > [data-consult] { width: 100% !important; box-sizing: border-box; font-size: 15px !important; padding: 15px 20px !important; border-color: rgba(197,255,114,0.4) !important; }
  #price [data-consult] { width: 100%; box-sizing: border-box; font-size: 15px !important; padding: 15px 20px !important; border-color: rgba(197,255,114,0.4) !important; }
  #form [data-lead-contacts] { margin-top: 22px !important; }
  #form [data-lead-contacts] > div { padding: 12px 0 !important; gap: 12px !important; }
  #form [data-lead-contacts] a { font-size: 18px !important; }
  #form [data-lead-contacts] span { font-size: 10px !important; }
  #form [data-lead-contacts] button { font-size: 14px !important; padding: 0 16px !important; }
  #form [data-lead-form] { gap: 12px !important; }
  #form [data-lead-form] [data-lead-submit] { width: 100%; padding: 18px 20px !important; font-size: 16px !important; }
}


/* ---------- состояние полей: галочка и распознанный формат контакта (только атрибуты + CSS) ---------- */
.ld-ctl { position: relative; display: block; }
.ld-input--s { padding-right: 44px; }
.ld-input--l { padding-right: 124px; }
/* пустое поле: значка нет — плейсхолдеру вся ширина */
.ld-input--l:placeholder-shown, #form [data-lead-form] input[name="contact"]:placeholder-shown { padding-right: 16px !important; text-overflow: ellipsis; }
.ld-state {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  display: none; align-items: center; gap: 6px; pointer-events: none;
  font: 500 12px/1 var(--font-body); letter-spacing: 0.02em; white-space: nowrap;
  color: #ff5a3d; transition: opacity .2s ease-in-out, color .2s ease-in-out;
}
.ld-state--area { top: 17px; transform: none; }
.ld-state[data-st="ok"], .ld-state[data-st="dim"], .ld-state[data-st="warn"] { display: flex; }
.ld-state::before {
  content: ""; display: none; width: 16px; height: 16px; flex-shrink: 0; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 L6.5 12 L13 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5 L6.5 12 L13 4.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
.ld-state[data-st="ok"]::before, .ld-state[data-st="dim"]::before { display: block; }
.ld-state::after { content: attr(data-text); }
.ld-state[data-st="ok"], .ld-state[data-st="dim"] { color: #c5ff72; }
.ld-state[data-st="dim"] { opacity: 0.32; }
.ld-form .ld-ctl:has(.ld-state[data-st="ok"]) .ld-input:not(:focus) { border-color: rgba(197,255,114,0.45); }
#form .ld-state { color: #a8301a; }
#form .ld-state[data-st="ok"], #form .ld-state[data-st="dim"] { color: #0b0b0f; }
#form .ld-state[data-st="dim"] { opacity: 0.3; }

/* ошибка — одна строка над кнопкой, текст из data-msg */
[data-lead-err] { display: none; margin: 0; }
[data-lead-err][data-on] { display: block; }
[data-lead-err]::after { content: attr(data-msg); }
[data-lead-submit][aria-busy="true"] { opacity: 0.6; cursor: progress; }

/* отправлено: форма скрыта, видны данные заявки и спасибо */
[data-lead-form][data-sent] > :not([data-lead-done]) { display: none !important; }
[data-lead-form][data-sent] > [data-lead-done] { display: flex !important; }
.ld-sent { display: flex; flex-direction: column; gap: 10px; }
.ld-sent-row { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; align-items: baseline; }
.ld-sent-row[data-v=""] { display: none; }
.ld-sent-row::before { content: attr(data-k); font: 500 11px/1.3 var(--font-body); text-transform: uppercase; letter-spacing: 0.14em; color: #9a9a9a; }
.ld-sent-row::after { content: attr(data-v); font: 400 15px/1.45 var(--font-body); color: #fff; overflow-wrap: anywhere; white-space: pre-line; }
#form .ld-sent-row::before { color: rgba(11,11,15,0.6); }
#form .ld-sent-row::after { color: #0b0b0f; }
.ld-done .ld-btn-outline { margin-top: 6px; }

/* ---------- окно записи: собственный фрейм GetCourse ---------- */
.ld-gc { position: relative; min-height: 420px; }
.ld-gc iframe { display: block; width: 100%; height: 640px; border: 0; background: transparent; }
.ld-gc-state { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; font: 400 15px/1.5 var(--font-body); color: #b4bac0; pointer-events: none; }
.ld-gc-state button { pointer-events: auto; font: 500 15px/1 var(--font-body); color: #c5ff72; background: none; border: none; border-bottom: 1px solid rgba(197,255,114,0.4); padding: 0 0 3px; cursor: pointer; }
.ld-gc.is-ready .ld-gc-state { display: none; }
.ld-dot { width: 8px; height: 8px; border-radius: 50%; background: #c5ff72; box-shadow: 0 0 14px rgba(197,255,114,0.6); animation: ld-pulse 1.2s ease-in-out infinite; }
@keyframes ld-pulse { 0%,100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1); } }

/* телефоны: окно записи в потоке страницы, остальная страница скрыта */
html.ld-pay-flow body > *:not(#ld-enroll):not(#mli-dbg) { display: none !important; }
html.ld-pay-flow #ld-enroll { position: relative; inset: auto; display: block; min-height: 100dvh; padding: 0; }
html.ld-pay-flow #ld-enroll .ld-backdrop { display: none; }
html.ld-pay-flow #ld-enroll .ld-panel { max-width: none; max-height: none; overflow: visible; min-height: 100dvh; border: 0; border-radius: 0; transform: none; padding: 26px 16px 32px; }
html.ld-pay-flow #ld-enroll .ld-title { font-size: 24px; }

/* блоки, скрываемые пустым значением в config.js (data-course-if) */
[data-course-if][data-off] { display: none !important; }

/* песочные часы у «Цена действует до…»: пауза — переворот на 180° — пауза */
@keyframes ld-hourglass { 0%, 70% { transform: rotate(0deg); } 85%, 100% { transform: rotate(180deg); } }
[data-hourglass] { transform-origin: 50% 50%; animation: ld-hourglass 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
@media (prefers-reduced-motion: reduce) { [data-hourglass] { animation: none; } }

/* ---------- плавающая кнопка «Задать вопрос» ---------- */
.ld-fab {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 150;
  opacity: 0; transform: translateY(12px) scale(.92); pointer-events: none;
  transition: opacity .5s cubic-bezier(0.19,1,0.22,1), transform .6s cubic-bezier(0.19,1,0.22,1);
}
.ld-fab.is-shown { opacity: 1; transform: none; pointer-events: auto; }
html:has(.ld-modal.is-open) .ld-fab, html:has(.ld-menu.is-open) .ld-fab { opacity: 0; pointer-events: none; }
.ld-fab-btn {
  display: flex; align-items: center; height: 56px; min-width: 56px; padding: 0 16px; gap: 0; box-sizing: border-box;
  border: 0; border-radius: 999px; cursor: pointer; color: #fff; background: #2aabee;
  box-shadow: 0 10px 28px rgba(42,171,238,0.35), 0 2px 8px rgba(0,0,0,0.35);
  font: 500 15px/1 var(--font-body); white-space: nowrap;
  transition: background .2s ease-in-out, gap .4s cubic-bezier(0.19,1,0.22,1), padding .4s cubic-bezier(0.19,1,0.22,1);
}
.ld-fab-btn:hover { background: #229ed9; }
.ld-fab-btn svg { width: 24px; height: 24px; flex-shrink: 0; margin-left: -1px; }
.ld-fab-label { display: block; max-width: 0; overflow: hidden; opacity: 0; transition: max-width .45s cubic-bezier(0.19,1,0.22,1), opacity .3s ease-in-out; }
.ld-fab[data-open] .ld-fab-btn { gap: 10px; padding: 0 22px 0 17px; }
.ld-fab[data-open] .ld-fab-label { max-width: 180px; opacity: 1; }
@media (max-width: 600px) {
  .ld-fab { right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); }
  .ld-fab-btn { height: 52px; min-width: 52px; padding: 0 14px; }
  .ld-fab-btn svg { width: 22px; height: 22px; }
}

/* ---------- кнопки копирования: [data-copy="текст"] > [data-copy-label] ---------- */
[data-copy][data-copied] [data-copy-label] { display: none; }
[data-copy][data-copied]::after { content: "Скопировано"; }

/* ---------- плашка вебинара (js/webinar.js) ---------- */
.wbn { position: fixed; left: max(18px, env(safe-area-inset-left)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 140; font-family: var(--font-body, Inter, system-ui, sans-serif); color: #fff;
  opacity: 0; transform: translateY(14px); transition: opacity .6s cubic-bezier(0.19,1,0.22,1), transform .7s cubic-bezier(0.19,1,0.22,1); pointer-events: none; }
.wbn.is-shown { opacity: 1; transform: none; pointer-events: auto; }
html:has(.ld-modal.is-open) .wbn, html:has(.ld-menu.is-open) .wbn { opacity: 0; pointer-events: none; }
.wbn-card { display: flex; align-items: center; gap: 14px; width: 440px; max-width: calc(100vw - 120px); box-sizing: border-box; padding: 12px 14px 12px 12px;
  background: rgba(11,11,15,0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(197,255,114,0.3); border-radius: 15px;
  color: inherit; text-decoration: none; box-shadow: 0 16px 40px rgba(0,0,0,0.5); transition: border-color .2s ease-in-out; }
.wbn-card:hover { border-color: rgba(197,255,114,0.6); }
.wbn-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid rgba(197,255,114,0.5); }
.wbn-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.wbn-kicker { font: 500 11px/1.35 var(--font-body, Inter, sans-serif); letter-spacing: 0.1em; text-transform: uppercase; color: #c5ff72; }
.wbn-local { color: #9a9a9a; text-transform: none; letter-spacing: 0; }
.wbn-title { font: 600 14px/1.3 var(--font-body, Inter, sans-serif); text-wrap: pretty; }
.wbn-speaker { font: 400 12px/1.3 var(--font-body, Inter, sans-serif); color: #9a9a9a; }
.wbn-timer { font: 500 12px/1.3 var(--font-body, Inter, sans-serif); font-variant-numeric: tabular-nums; color: #cfcfcf; }
.wbn-timer:empty { display: none; }
.wbn-timer.is-live { color: #ff5a3d; }
.wbn-cta { flex-shrink: 0; font: 500 13px/1.15 var(--font-body, Inter, sans-serif); color: #000; background: #c5ff72; border-radius: 999px; padding: 10px 16px; white-space: pre-line; text-align: center; }
.wbn-short { display: none; }
.wbn-close { position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; background: #16161b; border: 1px solid rgba(199,205,211,0.28); padding: 0; }
.wbn-close::before, .wbn-close::after { content: ""; position: absolute; left: 7px; top: 12px; width: 11px; height: 1.5px; background: #fff; }
.wbn-close::before { transform: rotate(45deg); }
.wbn-close::after { transform: rotate(-45deg); }
.wbn-mini { display: none; align-items: center; gap: 8px; height: 48px; padding: 0 16px 0 6px; cursor: pointer; border-radius: 999px; color: #fff;
  background: rgba(11,11,15,0.92); border: 1px solid rgba(197,255,114,0.4); font: 500 13px/1 var(--font-body, Inter, sans-serif); box-shadow: 0 10px 28px rgba(0,0,0,0.45); }
.wbn-mini img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.wbn-mini b { color: #c5ff72; font-weight: 600; }
.wbn.is-mini .wbn-card, .wbn.is-mini .wbn-close { display: none; }
.wbn.is-mini .wbn-mini { display: flex; }
@media (max-width: 600px) {
  .wbn { left: 10px; right: 76px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .wbn-card { width: auto; max-width: none; gap: 10px; padding: 9px 10px 9px 9px; }
  .wbn-photo { width: 42px; height: 42px; }
  .wbn-full { display: none; }
  .wbn-short { display: inline; }
  .wbn-speaker, .wbn-local { display: none; }
  .wbn-title { font-size: 13px; }
  .wbn-cta { font-size: 12px; padding: 8px 11px; }
  .wbn.is-mini { right: auto; }
}

/* ============================================================
   Эталонные блоки для новых лендингов (классы ml-*): хедер, футер, кнопки, «Остались вопросы?», дедлайн цены.
   Разметка — в скилле mlinside-landing (assets/html). На NLP-лендинге не используются.
   ============================================================ */
.ml-hdr { position: sticky; top: 0; z-index: 40; padding: 12px clamp(16px, 2.4vw, 24px); background: rgba(11,11,15,0.72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(199,205,211,0.10); font-family: var(--font-body, Inter, system-ui, -apple-system, sans-serif); }
.ml-hdr-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 28px; }
.ml-hdr-logo { display: flex; flex-shrink: 0; }
.ml-hdr-logo img { height: 20px; width: auto; display: block; }
.ml-hdr-badge { font: 500 11px/1 var(--font-body, Inter, system-ui, -apple-system, sans-serif); text-transform: uppercase; letter-spacing: 0.14em; color: #c5ff72; border: 1px solid rgba(199,205,211,0.18); border-radius: 999px; padding: 7px 12px; flex-shrink: 0; }
.ml-hdr nav { display: flex; gap: 24px; margin-left: auto; flex-wrap: wrap; }
.ml-hdr nav a { font: 500 14px/1 var(--font-body, Inter, system-ui, -apple-system, sans-serif); color: #9a9a9a; text-decoration: none; transition: color .2s ease-in-out; }
.ml-hdr nav a:hover { color: #fff; }
.ml-hdr [data-hdr-cta] { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.ml-hdr [data-burger] { display: none; width: 40px; height: 40px; flex-shrink: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: transparent; border: 1px solid rgba(199,205,211,0.16); border-radius: 10px; padding: 0; cursor: pointer; }
.ml-hdr [data-burger] span { display: block; width: 16px; height: 1.5px; background: #fff; transition: transform .3s cubic-bezier(0.19,1,0.22,1); }
@media (max-width: 600px) {
  .ml-hdr { padding: 10px 14px; }
  .ml-hdr-in { gap: 10px; }
  .ml-hdr-logo img { height: 16px; }
  .ml-hdr-badge { font-size: 10px; padding: 6px 9px; }
}

.ml-btn { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; border-radius: 999px; font: 500 17px/1 var(--font-body, Inter, system-ui, -apple-system, sans-serif); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out; }
.ml-btn--solid { color: #000; background: #c5ff72; border: 0; padding: 19px 38px; }
.ml-btn--solid:hover { background: #a8e05a; color: #000; }
.ml-btn--outline { color: #c5ff72; background: transparent; border: 1px solid rgba(197,255,114,0.5); padding: 18px 32px; }
.ml-btn--outline:hover { color: #9ccd52; border-color: #9ccd52; }
.ml-btn--sm { font-size: 14px; }
.ml-btn--solid.ml-btn--sm { padding: 12px 22px; }
.ml-btn--outline.ml-btn--sm { padding: 11px 18px; }
.ml-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
@media (max-width: 600px) {
  .ml-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .ml-cta .ml-btn { width: 100%; font-size: 16px; padding: 18px 20px; }
  .ml-cta .ml-btn--outline { font-size: 15px; padding: 15px 20px; border-color: rgba(197,255,114,0.4); }
}

.ml-deadline { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 13px; border: 1px solid rgba(197,255,114,0.35); border-radius: 999px; background: rgba(197,255,114,0.06); font: 500 15px/1.2 var(--font-body, Inter, system-ui, -apple-system, sans-serif); color: #c5ff72; }
.ml-deadline svg { width: 18px; height: 18px; flex-shrink: 0; }

.ml-ftr { background: #0b0b0f; font-family: var(--font-body, Inter, system-ui, -apple-system, sans-serif); }
.ml-ftr-in { max-width: 1240px; margin: 0 auto; padding: 48px clamp(18px, 2.4vw, 24px) 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px 60px; }
.ml-ftr-col { display: flex; flex-direction: column; gap: 18px; }
.ml-ftr-col--soc { gap: 16px; }
.ml-ftr-logo { display: flex; align-self: flex-start; }
.ml-ftr-logo img { height: 26px; width: auto; display: block; }
.ml-ftr-legal { font: 400 14px/1.4 var(--font-body, Inter, system-ui, -apple-system, sans-serif); color: #9a9a9a; }
.ml-ftr-h { font: 600 12px/1 var(--font-body, Inter, system-ui, -apple-system, sans-serif); text-transform: uppercase; letter-spacing: 0.12em; color: #fff; }
.ml-ftr-links { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.ml-ftr-links a { font: 400 14px/1.4 var(--font-body, Inter, system-ui, -apple-system, sans-serif); color: #cfcfcf; text-decoration: none; transition: color .2s ease-in-out; }
.ml-ftr-links a:hover { color: #fff; }
.ml-ftr-links a.ml-ftr-soc { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.ml-ftr-links a.ml-ftr-soc:hover { color: #c5ff72; }
.ml-ftr-soc svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (max-width: 600px) { .ml-ftr-in { padding: 30px 18px 28px; gap: 22px; } }

.ml-ask { background: #c5ff72; color: #0b0b0f; font-family: var(--font-body, Inter, system-ui, -apple-system, sans-serif); scroll-margin-top: 80px; }
.ml-ask-in { max-width: 1240px; margin: 0 auto; padding: clamp(60px, 7vw, 100px) clamp(18px, 2.4vw, 24px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: clamp(36px, 6vw, 80px); align-items: start; }
.ml-ask h2 { font: 700 clamp(30px, 3vw, 42px)/1.08 var(--font-body, Inter, system-ui, -apple-system, sans-serif); text-transform: uppercase; letter-spacing: -0.02em; margin: 0 0 24px; color: #0b0b0f; }
.ml-ask-side > p { font: 400 17px/1.55 var(--font-body, Inter, system-ui, -apple-system, sans-serif); margin: 0; max-width: 440px; text-wrap: pretty; }
.ml-ask-contacts { display: flex; flex-direction: column; margin-top: 36px; border-top: 1px solid rgba(11,11,15,0.22); max-width: 480px; }
.ml-ask-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(11,11,15,0.22); }
.ml-ask-row > div { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ml-ask-row > div > span { font: 600 11px/1 var(--font-body, Inter, system-ui, -apple-system, sans-serif); text-transform: uppercase; letter-spacing: 0.12em; }
.ml-ask-row a { font: 400 20px/1.2 var(--font-body, Inter, system-ui, -apple-system, sans-serif); color: #0b0b0f; text-decoration: none; overflow-wrap: anywhere; }
.ml-ask-row button { font: 500 14px/1 var(--font-body, Inter, system-ui, -apple-system, sans-serif); color: #c5ff72; background: #0b0b0f; border: 0; border-radius: 999px; padding: 13px 20px; min-height: 44px; cursor: pointer; flex-shrink: 0; transition: background .2s ease-in-out; }
.ml-ask-row button:hover { background: #26262b; }
.ml-ask-form { display: flex; flex-direction: column; gap: 16px; }
.ml-ask-kicker { font: 500 12px/1 var(--font-body, Inter, system-ui, -apple-system, sans-serif); text-transform: uppercase; letter-spacing: 0.16em; }
.ml-ask-form label { display: flex; flex-direction: column; gap: 8px; }
.ml-ask-form label > span:first-child { font: 600 12px/1 var(--font-body, Inter, system-ui, -apple-system, sans-serif); text-transform: uppercase; letter-spacing: 0.12em; }
.ml-ask-form input:not(.ld-hp), .ml-ask-form textarea { font: 400 16px/1.4 var(--font-body, Inter, system-ui, -apple-system, sans-serif); color: #0b0b0f; background: rgba(255,255,255,0.28); border: 1px solid rgba(11,11,15,0.32); border-radius: 10px; padding: 15px 16px; width: 100%; box-sizing: border-box; outline: none; transition: border-color .2s ease-in-out, background-color .2s ease-in-out; }
.ml-ask-form textarea { resize: vertical; min-height: 96px; }
.ml-ask-form input.ld-input--s, .ml-ask-form textarea.ld-input--s { padding-right: 44px; }
.ml-ask-form input.ld-input--l { padding-right: 124px; }
.ml-ask-form input.ld-input--l:placeholder-shown { padding-right: 16px; }
.ml-ask-form [data-lead-err] { font: 500 13px/1.45 var(--font-body, Inter, system-ui, -apple-system, sans-serif); color: #a8301a; }
.ml-ask-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 6px; }
.ml-ask-submit button { font: 500 17px/1 var(--font-body, Inter, system-ui, -apple-system, sans-serif); color: #c5ff72; background: #0b0b0f; border: 0; border-radius: 999px; padding: 19px 40px; cursor: pointer; transition: background .2s ease-in-out; }
.ml-ask-submit button:hover { background: #26262b; }
.ml-ask-submit span { font: 400 13px/1.45 var(--font-body, Inter, system-ui, -apple-system, sans-serif); max-width: 300px; }
.ml-ask-submit a { color: #0b0b0f; }
.ml-ask [data-lead-done] { display: none; flex-direction: column; gap: 10px; border-top: 1px solid rgba(11,11,15,0.22); padding-top: 18px; }
.ml-ask-done-t { font: 700 22px/1.1 var(--font-body, Inter, system-ui, -apple-system, sans-serif); text-transform: uppercase; letter-spacing: -0.02em; }
.ml-ask [data-lead-again] { font: 500 15px/1 var(--font-body, Inter, system-ui, -apple-system, sans-serif); color: #0b0b0f; background: none; border: 0; border-bottom: 1px solid rgba(11,11,15,0.45); border-radius: 0; padding: 0 0 3px; margin-top: 6px; align-self: flex-start; cursor: pointer; }
@media (max-width: 600px) {
  .ml-ask-contacts { margin-top: 22px; }
  .ml-ask-row { padding: 12px 0; gap: 12px; }
  .ml-ask-row a { font-size: 18px; }
  .ml-ask-row button { font-size: 14px; padding: 0 16px; }
  .ml-ask-form { gap: 12px; }
  .ml-ask-submit button { width: 100%; padding: 18px 20px; font-size: 16px; }
}
