/* =========================================================
   AI Update — Design System
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500;600;700;800&family=Geist:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root{
  --bg:            #08090b;
  --bg-soft:       #0c0d10;
  --bg-elevated:   #111318;
  --bg-card:       rgba(255,255,255,0.035);
  --bg-card-hover: rgba(255,255,255,0.06);

  --border:        rgba(255,255,255,0.09);
  --border-strong: rgba(255,255,255,0.16);
  --border-hover:  rgba(255,255,255,0.32);
  --border-accent: rgba(79,220,183,0.35);

  --text-1: #f4f5f7;
  --text-2: #a9abb6;
  --text-3: #6c6f7c;

  --accent-mint: #33e6b8;
  --accent-blue: #4c7dff;
  --accent-violet: #8b7bff;

  --gradient-accent: linear-gradient(120deg, var(--accent-mint) 0%, var(--accent-blue) 100%);
  --gradient-accent-soft: linear-gradient(120deg, rgba(51,230,184,0.16) 0%, rgba(76,125,255,0.16) 100%);
  --gradient-text: linear-gradient(100deg, #eafff8 0%, #b9f3de 22%, #8fd6ff 55%, #9db4ff 100%);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --shadow-card: 0 1px 0 rgba(255,255,255,0.04) inset, 0 20px 60px -20px rgba(0,0,0,0.6);
  --shadow-glow: 0 0 0 1px rgba(51,230,184,0.15), 0 8px 40px -8px rgba(51,230,184,0.25);

  --ease: cubic-bezier(.16,.8,.24,1);
  --font-head: 'Unbounded', 'Manrope', sans-serif;
  --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --container: 1240px;
}

/* ---------- Светлая тема (B2B-страницы) ---------- */
body.theme-light{
  --bg:            #f6f7f9;
  --bg-soft:       #ffffff;
  --bg-elevated:   #ffffff;
  --bg-card:       #ffffff;
  --bg-card-hover: #eef0f3;

  --border:        rgba(10,11,13,0.09);
  --border-strong: rgba(10,11,13,0.16);
  --border-hover:  rgba(10,11,13,0.28);
  --border-accent: rgba(13,148,136,0.3);

  --text-1: #0a0b0d;
  --text-2: #5b5e68;
  --text-3: #8b8e98;

  --gradient-text: linear-gradient(100deg, #0d9488 0%, #059669 25%, #0284c7 60%, #2563eb 100%);

  --shadow-card: 0 1px 0 rgba(255,255,255,0.7) inset, 0 20px 50px -22px rgba(15,23,42,0.16);
  --shadow-glow: 0 0 0 1px rgba(13,148,136,0.15), 0 8px 34px -10px rgba(13,148,136,0.2);
}
body.theme-light .card{ box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 12px 30px -18px rgba(15,23,42,0.12); }
body.theme-light .card:hover{ box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 18px 40px -18px rgba(15,23,42,0.18); }
body.theme-light .bg-atmosphere::before{
  background-image:
    linear-gradient(rgba(10,11,13,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,11,13,0.045) 1px, transparent 1px);
}
body.theme-light .blob{ opacity: 0.28; }
body.theme-light .site-header.is-scrolled{
  background: rgba(246,247,249,0.78);
}
body.theme-light .mobile-nav{ background: rgba(255,255,255,0.98); }
body.theme-light .field input,
body.theme-light .field select,
body.theme-light .field textarea{ background: rgba(10,11,13,0.025); }
body.theme-light .field input:focus,
body.theme-light .field textarea:focus{ background: rgba(13,148,136,0.05); }
body.theme-light .nav-toggle span{ background: var(--text-1); }

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
html, body{ height: 100%; }
body{
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
ul, ol{ list-style: none; }
button{ font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select{ font: inherit; color: inherit; }
h1, h2, h3, h4{
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

/* ---------- Layout helpers ---------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 900px){ .container{ padding-inline: 40px; } }

.section{ position: relative; padding-block: clamp(48px, 6vw, 96px); }
.section-tight{ padding-block: clamp(32px, 4vw, 56px); }

.section-head{ max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.center{ margin-inline: auto; text-align: center; }

.grid{ display: grid; gap: 24px; }
.grid > *{ min-width: 0; }
.g-2{ grid-template-columns: repeat(2, 1fr); }
.g-3{ grid-template-columns: repeat(3, 1fr); }
.g-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px){ .g-3, .g-4{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px){ .g-2, .g-3, .g-4{ grid-template-columns: 1fr; } }
.faq-grid{ grid-template-columns: 0.8fr 1.2fr; align-items: start; }
@media (max-width: 640px){ .faq-grid{ grid-template-columns: 1fr; } }
.hero-first{ padding-top: clamp(110px, 12vw, 150px); }
@media (max-width: 640px){ .hero-first{ padding-top: calc(clamp(110px, 12vw, 150px) + 25px); } }

/* ---------- Background atmosphere ---------- */
.bg-atmosphere{
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.bg-atmosphere::before{
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 0%, transparent 75%);
  opacity: 0.5;
}
.blob{
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
}
.blob-1{
  width: 520px; height: 520px;
  top: -160px; left: 8%;
  background: radial-gradient(circle, var(--accent-mint), transparent 70%);
  animation: drift1 22s ease-in-out infinite;
}
.blob-2{
  width: 620px; height: 620px;
  top: 10%; right: -10%;
  background: radial-gradient(circle, var(--accent-blue), transparent 70%);
  animation: drift2 26s ease-in-out infinite;
}
.blob-3{
  width: 420px; height: 420px;
  bottom: -120px; left: 30%;
  background: radial-gradient(circle, var(--accent-violet), transparent 70%);
  opacity: 0.22;
  animation: drift1 30s ease-in-out infinite reverse;
}
@keyframes drift1{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(40px,60px) scale(1.08); }
}
@keyframes drift2{
  0%,100%{ transform: translate(0,0) scale(1); }
  50%{ transform: translate(-50px,40px) scale(0.95); }
}

/* ---------- Type utilities ---------- */
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-2);
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
}
.eyebrow::before{
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gradient-accent);
  box-shadow: 0 0 12px var(--accent-mint);
}

.text-gradient{
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.h1{ font-size: clamp(28px, 4vw, 56px); }
.h2{ font-size: clamp(22px, 2.8vw, 34px); }
.h3{ font-size: clamp(22px, 2.6vw, 28px); }

.lede{
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-2);
  line-height: 1.7;
}

.muted{ color: var(--text-2); }
.faint{ color: var(--text-3); }

/* ---------- Buttons ---------- */
.btn{
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-pill);
  font-weight: 600; font-size: 16px;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.btn-primary{
  background: linear-gradient(120deg, #0d9d86 0%, #2f63e0 100%);
  color: #ffffff;
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
  box-shadow: 0 8px 30px -8px rgba(13,148,136,0.45);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 14px 40px -8px rgba(13,148,136,0.55); }

.btn-secondary{
  background: var(--bg-card);
  color: var(--text-1);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(6px);
}
.btn-secondary:hover{ background: var(--bg-card-hover); transform: translateY(-2px); border-color: var(--border-hover); }

.btn-ghost{
  color: var(--text-2);
  padding-inline: 4px;
}
.btn-ghost:hover{ color: var(--text-1); }
.btn-ghost .arrow{ transition: transform .3s var(--ease); }
.btn-ghost:hover .arrow{ transform: translateX(4px); }

.btn-lg{ padding: 18px 34px; font-size: 17px; }
.btn-block{ width: 100%; }
@media (max-width: 640px){ .btn{ white-space: normal; text-align: center; } }

/* ---------- Header ---------- */
.site-header{
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 20px;
  transition: padding .35s var(--ease), background .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled{
  padding-block: 14px;
  background: rgba(8,9,11,0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header .container{ display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo{ display: flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; flex-shrink: 0; white-space: nowrap; }
.logo-mark{
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  color: #04140f; font-weight: 800; font-size: 15px;
  flex-shrink: 0;
}

.nav-desktop{ display: flex; align-items: center; gap: 36px; }
.nav-desktop a{
  font-size: 15px; font-weight: 500; color: var(--text-2);
  transition: color .25s var(--ease);
  position: relative;
}
.nav-desktop a:hover{ color: var(--text-1); }

.nav-dropdown{ position: relative; }
.nav-dropdown-panel{
  /* top:100% + padding-top (вместо top-смещения) — держит зону наведения без разрыва между пунктом меню и панелью */
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 18px;
  opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease);
  z-index: 10;
}
.nav-dropdown:hover .nav-dropdown-panel{ opacity: 1; pointer-events: auto; }
.nav-dropdown-inner{
  width: 460px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 14px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
  transform: translateY(6px);
  transition: transform .25s var(--ease);
}
.nav-dropdown:hover .nav-dropdown-inner{ transform: translateY(0); }
.nav-dropdown-panel a{
  display: block; padding: 12px 14px; border-radius: var(--radius-sm);
  color: var(--text-1); font-size: 14px;
}
.nav-dropdown-panel a:hover{ background: var(--bg-card); }
.nav-dropdown-panel a small{ display: block; margin-top: 3px; font-size: 12.5px; color: var(--text-3); font-weight: 400; }

.header-actions{ display: flex; align-items: center; gap: 14px; }
.header-actions .btn{ padding: 11px 20px; font-size: 14.5px; }
.nav-toggle{ display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span{ width: 22px; height: 2px; background: var(--text-1); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease); }

@media (max-width: 900px){
  .nav-desktop{ display: none; }
  .header-actions .btn-secondary{ display: none; }
  .nav-toggle{ display: flex; padding: 6px; }
  .site-header .container{ gap: 10px; padding-inline: 16px; }
  .header-actions{ gap: 8px; }
  .header-actions .btn-primary{ padding: 9px 10px; font-size: 13.5px; white-space: nowrap; }
  .logo{ font-size: 16px; }
}

/* Очень узкие экраны: тексту логотипа и кнопки уже не хватает места рядом с гамбургером —
   прячем текст логотипа, оставляя только иконку «DQ» */
@media (max-width: 480px){
  .logo-text{ display: none; }
  .logo{ gap: 0; }
  .site-header .container{ gap: 8px; padding-inline: 12px; }
  .header-actions{ gap: 6px; }
}

.mobile-nav{
  position: fixed; inset: 0; z-index: 99;
  background: rgba(8,9,11,0.98);
  backdrop-filter: blur(20px);
  padding: 100px 28px 40px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
}
.mobile-nav.is-open{ transform: translateY(0); opacity: 1; }
.mobile-nav a{ font-family: var(--font-head); font-size: 22px; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--border); }
.mobile-nav .btn{ margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer{ border-top: 1px solid var(--border); padding-block: 64px 40px; }
.footer-top{ display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; margin-bottom: 56px; }
.footer-col h5{ font-family: var(--font-head); font-size: 14px; font-weight: 600; margin-bottom: 18px; color: var(--text-1); }
.footer-col a{ display: block; color: var(--text-2); font-size: 14.5px; padding-block: 7px; transition: color .25s var(--ease); }
.footer-col a:hover{ color: var(--text-1); }
.footer-brand p{ color: var(--text-2); font-size: 14.5px; margin-top: 14px; max-width: 300px; }
.footer-bottom{ display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border); color: var(--text-3); font-size: 13.5px; flex-wrap: wrap; gap: 12px; }
@media (max-width: 860px){ .footer-top{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-top{ grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color .35s var(--ease), background .35s var(--ease), transform .35s var(--ease);
}
.card:hover{ border-color: var(--border-strong); background: var(--bg-card-hover); transform: translateY(-4px); }

.card-soon{ opacity: 0.55; border-style: dashed; }
.card-soon:hover{ transform: none; border-color: var(--border); background: var(--bg-card); }

/* Карточки профессий: заголовок фиксированной высоты, чтобы описания начинались на одном уровне,
   а кнопка/бейдж «Скоро» всегда прижаты к низу карточки */
.profession-card{ display: flex; flex-direction: column; }
.profession-card h3{ min-height: 2.2em; }
.profession-card > *:last-child{ margin-top: auto; padding-top: 24px; }

.icon-tile{
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-accent-soft);
  border: 1px solid var(--border-accent);
  margin-bottom: 20px;
}
.icon-tile svg{ width: 22px; height: 22px; stroke: var(--accent-mint); }

/* ---------- Reveal animation ---------- */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-1{ transition-delay: .05s; }
.reveal-2{ transition-delay: .12s; }
.reveal-3{ transition-delay: .19s; }
.reveal-4{ transition-delay: .26s; }

/* ---------- Marquee ---------- */
.marquee{ overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.marquee-track{ display: flex; gap: 14px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track{ animation-play-state: paused; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.chip{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  font-size: 14.5px; color: var(--text-2); white-space: nowrap;
}
.chip b{ color: var(--text-1); font-weight: 600; }

/* ---------- Tag / pill ---------- */
.pill{ display: inline-flex; align-items: center; padding: 5px 12px; border-radius: var(--radius-pill); font-size: 12.5px; font-weight: 600; border: 1px solid var(--border); color: var(--text-2); }
.pill-soon{ opacity: 0.6; }

/* ---------- Accordion (FAQ) ---------- */
.accordion-item{ border-bottom: 1px solid var(--border); }
.accordion-trigger{
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 26px 4px; text-align: left;
  font-family: var(--font-head); font-size: 17px; font-weight: 600;
}
.accordion-trigger .plus{ position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.accordion-trigger .plus::before, .accordion-trigger .plus::after{
  content: ""; position: absolute; background: var(--text-2); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.accordion-trigger .plus::before{ width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.accordion-trigger .plus::after{ width: 2px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.accordion-item.is-open .accordion-trigger .plus::after{ transform: translateX(-50%) rotate(90deg); opacity: 0; }
.accordion-panel{ max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.accordion-panel-inner{ padding: 0 4px 26px; color: var(--text-2); font-size: 15.5px; max-width: 640px; }

/* ---------- Forms ---------- */
.field{ margin-bottom: 18px; }
.field label{ display: block; font-size: 14px; font-weight: 500; color: var(--text-2); margin-bottom: 8px; }
.field input, .field select, .field textarea{
  width: 100%;
  padding: 15px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-1);
  font-size: 15.5px;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.field input::placeholder, .field textarea::placeholder{ color: var(--text-3); }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--accent-mint); background: rgba(51,230,184,0.04);
}
.field-note{ font-size: 12.5px; color: var(--text-3); margin-top: 16px; text-align: center; }

/* ---------- Экономия на найме (главная) ---------- */
.hiring-scheme{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 48px);
  flex-wrap: wrap;
}
.hiring-col{ display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hiring-people{ display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 220px; }
.hiring-person{
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-3);
  flex-shrink: 0;
}
.hiring-person-active{
  position: relative;
  width: 78px; height: 78px;
  background: var(--gradient-accent);
  color: #04140f;
  border: none;
  box-shadow: 0 16px 40px -12px rgba(51,230,184,0.45);
}
.hiring-ai-dot{
  position: absolute;
  bottom: -6px; right: -6px;
  background: #08090b;
  border: 2px solid var(--bg-card);
  color: var(--accent-mint);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 11px;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
}
.hiring-label{ font-size: 14px; color: var(--text-3); text-align: center; }
.hiring-label-active{ color: var(--text-1); font-weight: 600; }
.hiring-arrow{ color: var(--accent-mint); flex-shrink: 0; }
.hiring-punchline{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 28px);
  text-align: center;
}
@media (max-width: 640px){ .hiring-arrow{ transform: rotate(90deg); } }

/* ---------- Попап заявки на курс ---------- */
.modal-overlay{
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,5,7,0.7);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
}
.modal-overlay.is-open{ opacity: 1; pointer-events: auto; }
.modal-dialog{
  position: relative;
  width: 100%; max-width: 440px;
  transform: translateY(12px) scale(0.98);
  transition: transform .25s var(--ease);
}
.modal-overlay.is-open .modal-dialog{ transform: translateY(0) scale(1); }
.modal-close{
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-2);
  font-size: 22px; line-height: 1;
  background: transparent; border: none; cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.modal-close:hover{ background: var(--bg-card-hover); color: var(--text-1); }

/* ---------- После вебинара (список) ---------- */
.get-list{ display: flex; flex-direction: column; }
.get-item{ display: flex; gap: 16px; padding-block: 22px; border-bottom: 1px solid var(--border); }
.get-item:last-child{ border-bottom: none; }
.get-item-title{ font-family: var(--font-head); font-weight: 600; font-size: 17px; }
.get-item-desc{ color: var(--text-2); font-size: 14.5px; margin-top: 6px; line-height: 1.5; }

/* ---------- Инструменты (логотипы) ---------- */
.tool-logos{ display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.tool-item{ display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tool-logo{
  width: 84px; height: 84px;
  border-radius: 20px;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}
.tool-logo img{ max-width: 100%; max-height: 100%; object-fit: contain; }
.tool-item-label{ font-family: var(--font-head); font-weight: 600; font-size: 14.5px; white-space: nowrap; }
@media (max-width: 480px){
  .tool-logos{ gap: 16px 20px; justify-content: center !important; }
  .tool-logo{ width: 64px; height: 64px; border-radius: 16px; padding: 11px; }
  .tool-item-label{ font-size: 12.5px; }
  .lm-intro-text{ display: none; }
}

/* ---------- Отзывы ---------- */
.review-card{ display: flex; flex-direction: column; }
.review-stars{ color: var(--accent-mint); font-size: 15px; letter-spacing: 2px; }
.review-text{ color: var(--text-2); font-size: 15.5px; margin-top: 14px; line-height: 1.6; flex-grow: 1; }
.review-author{ display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar-badge.review-avatar{ width: 42px; height: 42px; font-size: 14px; border-radius: 50%; }
.review-name{ font-weight: 600; font-size: 14.5px; }
.review-role{ font-size: 13px; margin-top: 2px; }

/* ---------- Команда ---------- */
.team-card{ text-align: center; display: flex; flex-direction: column; align-items: center; }
.team-avatar{
  width: 108px; height: 108px;
  border-radius: 50%;
  padding: 3px;
  background: var(--gradient-accent);
  margin-bottom: 22px;
  flex-shrink: 0;
}
.team-avatar img{
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: var(--bg-elevated);
}
.team-name{ font-family: var(--font-head); font-weight: 700; font-size: 19px; }
.team-role{ color: var(--accent-mint); font-size: 14px; font-weight: 600; margin-top: 6px; }
.team-bio{ color: var(--text-2); font-size: 14.5px; margin-top: 10px; line-height: 1.6; }

/* Honeypot: скрыто от людей и «глаз» скринридеров, но видно ботам-автозаполнителям */
.hp-field{
  position: absolute !important;
  left: -9999px !important;
  top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-card{
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}

.form-success{ display: none; text-align: center; padding: 20px 0; }
.form-success.is-visible{ display: block; }
.form-success .icon-tile{ margin-inline: auto; }

/* ---------- Ближайший вебинар (яркий бейдж-дата) ---------- */
.next-session{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #f5f6f8;
  border-radius: var(--radius-md);
  padding: 12px 24px 12px 12px;
  box-shadow: 0 12px 34px -12px rgba(51,230,184,0.45), 0 1px 0 rgba(255,255,255,0.6) inset;
}
.next-session-icon{
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.next-session-icon svg{ width: 22px; height: 22px; color: #04140f; }
.next-session-copy{ display: flex; flex-direction: column; }
.next-session-label{ font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: #6b6f7a; }
.next-session-date{ font-family: var(--font-head); font-weight: 700; font-size: 19px; line-height: 1.3; color: #08090b; margin-top: 2px; }

/* ---------- Тёмная градиентная плашка (акцент на светлых B2B-страницах) ---------- */
.badge-dark{
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, #0a0b0e 0%, #181c22 100%);
  border: 1px solid rgba(255,255,255,0.08);
  color: #f4f5f7;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 12px 28px -12px rgba(13,148,136,0.4);
}
.badge-dark .dot{
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(120deg, #33e6b8, #4c7dff);
  box-shadow: 0 0 10px rgba(51,230,184,0.7);
}

/* ---------- Лендинг: hero со сплитом контент/форма ---------- */
.hero-split{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 980px){ .hero-split{ grid-template-columns: 1fr; } }

.quick-facts{ display: flex; flex-wrap: wrap; gap: 14px 28px; }
.quick-fact{ display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text-2); }
.quick-fact svg{ width: 18px; height: 18px; color: var(--accent-mint); flex-shrink: 0; }
.quick-fact b{ color: var(--text-1); font-weight: 600; }

.step-row{ display: flex; gap: 20px; padding-block: 22px; border-bottom: 1px solid var(--border); }
.step-row:last-child{ border-bottom: none; }
.step-num{
  font-family: var(--font-head); font-weight: 700; font-size: 15px;
  color: var(--accent-mint);
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-accent); border-radius: 12px;
  background: var(--gradient-accent-soft);
}

.avatar-badge{
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--gradient-accent);
  display: flex; align-items: center; justify-content: center;
  color: #04140f; font-family: var(--font-head); font-weight: 700; font-size: 20px;
  flex-shrink: 0;
}
.avatar-badge-photo{ padding: 0; overflow: hidden; width: 80px; height: 80px; border-radius: 20px; }
.avatar-badge-photo img{ width: 100%; height: 100%; object-fit: cover; display: block; }

.social-icon{
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-2);
  flex-shrink: 0;
  transition: color .2s var(--ease), border-color .2s var(--ease), background .2s var(--ease);
}
.social-icon:hover{ color: var(--accent-mint); border-color: var(--border-accent); background: var(--bg-card-hover); }

.checkbox-row{ display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; }
.checkbox-row input{ margin-top: 4px; accent-color: var(--accent-mint); flex-shrink: 0; width: 16px; height: 16px; }
.checkbox-row label{ font-size: 12.5px; color: var(--text-3); line-height: 1.5; }
.checkbox-row a{ color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Калькулятор экономии на ФОТ ---------- */
.calc-card{ padding: clamp(28px, 4vw, 48px); }
.calc-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.calc-grid > *{ min-width: 0; }
@media (max-width: 860px){ .calc-grid{ grid-template-columns: 1fr; } }

.calc-inputs .field{ margin-bottom: 26px; }
.calc-inputs .field:last-child{ margin-bottom: 0; }
.calc-inputs label{ display: flex; justify-content: space-between; align-items: baseline; font-size: 14.5px; font-weight: 500; color: var(--text-2); margin-bottom: 10px; }
.calc-inputs label b{ font-family: var(--font-head); color: var(--text-1); font-weight: 700; }

input[type="range"]{
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: var(--border-strong);
  outline: none;
}
input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient-accent);
  border: 3px solid var(--bg-elevated);
  box-shadow: 0 4px 14px -2px rgba(51,230,184,0.5);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb{
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gradient-accent);
  border: 3px solid var(--bg-elevated);
  cursor: pointer;
}

.calc-results{
  display: flex; flex-direction: column; gap: 14px;
  background: var(--gradient-accent-soft);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 26px;
}
.calc-result{ display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calc-result-label{ font-size: 14.5px; color: var(--text-2); }
.calc-result-value{ font-family: var(--font-head); font-weight: 700; font-size: 20px; color: var(--text-1); white-space: nowrap; }
.calc-result-accent .calc-result-value{ font-size: clamp(24px, 2.6vw, 32px); }
.calc-divider{ height: 1px; background: var(--border-accent); }

/* ---------- Виджет бронирования звонка (мини-календарь) ---------- */
.call-calendar{ border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px; }
.cal-head{ display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-month{ font-family: var(--font-head); font-weight: 600; font-size: 15px; text-transform: capitalize; }
.cal-nav{
  width: 30px; height: 30px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); color: var(--text-2);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.cal-nav:hover:not(:disabled){ background: var(--bg-card-hover); color: var(--text-1); }
.cal-nav:disabled{ opacity: 0.3; cursor: default; }
.cal-nav svg{ width: 16px; height: 16px; }

.cal-weekdays, .cal-days{ display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-weekdays{ margin-bottom: 6px; }
.cal-weekdays span{ text-align: center; font-size: 11.5px; font-weight: 600; color: var(--text-3); text-transform: uppercase; }

.cal-day{
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--text-1);
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.cal-day:not(:disabled):hover{ background: var(--bg-card-hover); }
.cal-day:disabled{ color: var(--text-3); opacity: 0.35; cursor: default; }
.cal-day.is-empty{ visibility: hidden; }
.cal-day.is-today{ box-shadow: inset 0 0 0 1.5px var(--border-accent); }
.cal-day.is-selected{ background: var(--gradient-accent); color: #04140f; font-weight: 700; }

.cal-slots-label{ font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 10px; }
.cal-slots-grid{ display: flex; flex-wrap: wrap; gap: 8px; }
.cal-slot{
  padding: 9px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--border); font-size: 14px; font-weight: 500; color: var(--text-1);
  transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.cal-slot:hover{ border-color: var(--border-strong); }
.cal-slot.is-selected{ background: var(--gradient-accent); color: #04140f; font-weight: 700; border-color: transparent; }

/* ---------- Тарифы корпоративного обучения ---------- */
.pricing-card{ display: flex; flex-direction: column; position: relative; }
.pricing-card.is-featured{
  border-color: var(--border-accent);
  box-shadow: var(--shadow-glow);
}
/* Карточка тарифа не реагирует на hover целиком — только кнопка внутри */
.pricing-card:hover{ background: var(--bg-card); border-color: var(--border); transform: none; }
.pricing-card.is-featured:hover{ border-color: var(--border-accent); }

/* B2B: карточки без кнопок внутри не должны реагировать на hover целиком — только кнопки */
body.theme-light #departments .card:hover,
body.theme-light #calculator .card:hover,
body.theme-light #benefits .card:hover,
body.theme-light #implemented .card:hover{
  background: var(--bg-card);
  border-color: var(--border);
  transform: none;
}
.pricing-featured-badge{
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gradient-accent);
  color: #04140f;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  white-space: nowrap;
}
.pricing-name{ font-family: var(--font-head); font-weight: 700; font-size: 21px; }
.pricing-scope{ color: var(--text-2); font-size: 14.5px; margin-top: 6px; }
.pricing-price{ font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 3vw, 36px); margin-top: 18px; margin-bottom: 22px; }
.pricing-note{ color: var(--text-2); font-size: 13.5px; margin-top: -14px; margin-bottom: 24px; }
.pricing-block{ margin-bottom: 20px; }
.pricing-block-title{ font-size: 12.5px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.pricing-list{ display: flex; flex-direction: column; gap: 11px; }
.pricing-list li{ display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--text-1); line-height: 1.5; }
.pricing-list li svg{ width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; color: var(--accent-mint); }
.pricing-card .btn{ margin-top: auto; }

/* ---------- iOS-подобные уведомления (декоративный элемент в hero) ---------- */
.ios-notif-stack{
  position: absolute;
  top: 6px;
  right: 24px;
  width: 380px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
  pointer-events: none;
  z-index: 3;
}
@media (min-width: 900px){ .ios-notif-stack{ right: 40px; } }
@media (max-width: 1300px){ .ios-notif-stack{ transform: scale(0.82); transform-origin: top right; } }
@media (max-width: 1100px){ .ios-notif-stack{ transform: scale(0.66); } }
@media (max-width: 900px){ .ios-notif-stack{ transform: scale(0.52); } }
@media (max-width: 640px){ .ios-notif-stack{ display: none; } }

.ios-notif{
  width: 345px;
  background: rgba(58,58,62,0.6);
  backdrop-filter: blur(26px) saturate(1.7);
  -webkit-backdrop-filter: blur(26px) saturate(1.7);
  border-radius: 25px;
  padding: 16px 19px 19px;
  box-shadow: 0 26px 48px -15px rgba(0,0,0,0.55), 0 0 0 0.5px rgba(255,255,255,0.09) inset;
  opacity: 0;
  transform: translateY(-37px) scale(0.9);
  will-change: transform, opacity;
}
.ios-notif:nth-child(2){ margin-right: 52px; }
.ios-notif.is-visible{
  animation: iosNotifIn .68s cubic-bezier(.32,1.4,.55,1) forwards;
}
@keyframes iosNotifIn{
  0%{ opacity: 0; transform: translateY(-37px) scale(0.9); }
  50%{ opacity: 1; transform: translateY(5px) scale(1.02); }
  75%{ transform: translateY(-3px) scale(0.995); }
  100%{ opacity: 1; transform: translateY(0) scale(1); }
}

.ios-notif-head{ display: flex; align-items: center; gap: 10px; margin-bottom: 9px; }
.ios-notif-icon{
  width: 27px; height: 27px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.ios-notif-icon.is-hh{ background: #e6231e; }
.ios-notif-icon.is-hh span{ font-family: var(--font-head); font-weight: 700; font-size: 11.5px; color: #fff; letter-spacing: -0.02em; }
.ios-notif-icon.is-tg{ background: #229ed9; }
.ios-notif-icon.is-tg svg{ width: 15px; height: 15px; }
.ios-notif-app{ flex: 1; font-size: 15.5px; font-weight: 600; color: rgba(255,255,255,0.9); }
.ios-notif-time{ font-size: 14.5px; color: rgba(255,255,255,0.48); }
.ios-notif-title{ font-family: var(--font-body); font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 3px; }
.ios-notif-body{ font-size: 16px; color: rgba(255,255,255,0.8); line-height: 1.4; }

/* ---------- Utility ---------- */
.flex{ display: flex; }
.items-center{ align-items: center; }
.justify-between{ justify-content: space-between; }
.gap-8{ gap: 8px; } .gap-12{ gap: 12px; } .gap-16{ gap: 16px; } .gap-24{ gap: 24px; }
.mt-8{ margin-top: 8px; } .mt-16{ margin-top: 16px; } .mt-24{ margin-top: 24px; } .mt-40{ margin-top: 40px; }
.mb-16{ margin-bottom: 16px; } .mb-24{ margin-bottom: 24px; }
.w-full{ width: 100%; }
.text-center{ text-align: center; }
.hide-mobile{ display: initial; }
@media (max-width: 640px){ .hide-mobile{ display: none; } }

/* ---------- Страница «Политика конфиденциальности» ---------- */
.policy-hero{ padding-top: 120px; }
@media (max-width: 900px){ .policy-hero{ padding-top: 103px; } }
.policy-content h2{
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 20px;
  margin-top: 36px;
  margin-bottom: 12px;
}
.policy-content p{ color: var(--text-2); font-size: 15.5px; line-height: 1.7; margin-top: 10px; }
.policy-content ul{ margin-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.policy-content li{
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 1.6;
  padding-left: 18px;
  position: relative;
}
.policy-content li::before{
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent-mint);
}
.policy-content strong{ color: var(--text-1); }
.policy-content a{ color: var(--accent-mint); }

/* ---------- Плашка согласия на cookie ---------- */
.cookie-banner{
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 150;
  max-width: 620px;
  margin-inline: auto;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.cookie-banner.is-visible{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-banner p{
  flex: 1 1 280px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0;
}
.cookie-banner p a{ color: var(--accent-mint); text-decoration: underline; }
.cookie-banner button{
  flex-shrink: 0;
  background: var(--text-1);
  color: var(--bg);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 10px;
  transition: opacity .2s var(--ease);
}
.cookie-banner button:hover{ opacity: 0.85; }
@media (max-width: 480px){
  .cookie-banner{ padding: 12px 14px; gap: 10px; }
  .cookie-banner p{ font-size: 12.5px; }
}
