/* ============================================================
   ezlingua — дополнительные блоки (сентябрь 2026)
   Только новые элементы: тренажёр @ezspeakbot, «Для компаний»,
   формы заявок и онлайн-запись. Основной дизайн сайта не меняется.
   ============================================================ */
:root {
  --ink: #1d1a2b; --ink-soft: #55526a; --line: #ebe8f5;
  --lav: #f6f3ff; --lav-2: #efeaff;
  --purple: #7d5fff; --purple-hover: #5b3fe0; --purple-deep: #2b1c55;
  --r-lg: 28px; --r: 20px; --r-sm: 14px;
  --shadow-card: 0 1px 2px rgba(29, 26, 43, .05), 0 10px 30px rgba(43, 28, 85, .08);
  --shadow-lift: 0 2px 4px rgba(29, 26, 43, .06), 0 18px 44px rgba(43, 28, 85, .14);
  --h2: clamp(30px, 4.2vw, 46px);
}
.club__title, .biz__title { font-size: var(--h2); line-height: 1.12; font-weight: 700; letter-spacing: -0.02em; }
.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; margin: 0 0 16px;
  border-radius: 999px; background: var(--lav-2); color: var(--purple);
  font-size: 14px; font-weight: 700; letter-spacing: .01em;
}
.eyebrow-chip--light { background: rgba(255, 255, 255, .14); color: #fff; }
.lead__status:not(:empty), .xform__status:not(:empty) {
  margin-top: 12px; padding: 10px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 14px; font-weight: 600;
}
.lead__status.is-ok, .xform__status.is-ok { background: #e7f9ef; color: #146c3c; }
.lead__status.is-err, .xform__status.is-err { background: #fdecec; color: #a42323; }
.xform__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
/* ---------- Универсальная форма (клуб, B2B) ---------- */
.xform {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-lift);
}
.xform__title { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.xform__lead { font-size: 15px; color: var(--ink-soft); margin-bottom: 18px; }
.xform .field { margin-bottom: 14px; }
.xform .field__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.xform .field__input {
  width: 100%; height: 48px; padding: 0 14px;
  border: 1px solid #dcd8ea; border-radius: 12px; background: #fff;
  font-size: 16px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.xform select.field__input { cursor: pointer; }
.xform .field__input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(125, 95, 255, .15); }
.xform .field__input[aria-invalid="true"] { border-color: #e04848; }
.xform .field__input--area { height: auto; min-height: 92px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.xform .field__error { display: block; margin-top: 5px; font-size: 13px; color: #d23c3c; }
.xform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.xform .consent { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 10px; margin: 6px 0 16px; font-size: 14px; color: var(--ink-soft); cursor: pointer; }
.xform .consent__box { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--purple); flex: none; }
.xform .consent__text { flex: 1; }
.xform .consent__text a { color: var(--purple); text-decoration: underline; }
.xform .consent .field__error { flex-basis: 100%; margin: 0; }
.xform__submit {
  width: 100%; height: 54px; border: 0; border-radius: 14px; cursor: pointer;
  background: var(--purple); color: #fff; font-size: 17px; font-weight: 800;
  box-shadow: 0 10px 24px rgba(125, 95, 255, .3); transition: background .2s, transform .2s;
}
.xform__submit:hover { background: var(--purple-hover); transform: translateY(-1px); }
.xform__submit:disabled { opacity: .6; cursor: default; transform: none; }
.xform__status.is-ok, .xform__status.is-err { border: 1px solid transparent; }

@media (max-width: 560px) {
  .xform { padding: 22px 18px; }
  .xform__row { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Speaking Club ---------- */
.club { padding: 40px 0; }
.club__card {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center;
  padding: 48px; border-radius: 36px; color: #fff; overflow: hidden; position: relative;
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(138, 243, 210, .28), transparent 60%),
    radial-gradient(500px 300px at 0% 100%, rgba(255, 167, 146, .25), transparent 60%),
    linear-gradient(135deg, #2b1c55 0%, #4a2fb3 100%);
}
.club__title { color: #fff; margin-bottom: 16px; }
.club__lead { font-size: 18px; line-height: 1.55; color: rgba(255, 255, 255, .86); margin-bottom: 22px; max-width: 560px; }
.club__points { display: grid; gap: 10px; margin-bottom: 28px; }
.club__points li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.45; color: rgba(255, 255, 255, .92); }
.club__points li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232b1c55' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.club__bot {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 26px; border-radius: 16px;
  background: #fff; color: var(--purple-deep); font-size: 17px; font-weight: 800;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2); transition: transform .2s, box-shadow .2s;
}
.club__bot svg { width: 24px; height: 24px; fill: #2aa3e0; }
.club__bot:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .28); }
.xform--dark { color: var(--ink); }

@media (max-width: 960px) {
  .club__card { grid-template-columns: 1fr; padding: 32px 22px; border-radius: 28px; gap: 28px; }
  .club__bot { width: 100%; justify-content: center; }
}

/* ---------- Для компаний ---------- */
.biz { padding: 80px 0 40px; }
.biz__head { max-width: 760px; margin-bottom: 36px; }
.biz__lead { font-size: 18px; line-height: 1.55; color: var(--ink-soft); margin-top: 14px; }
.biz__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 32px; align-items: start; }
.biz__formats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.bizf {
  padding: 22px; border-radius: var(--r); background: var(--lav);
  border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, background .2s;
}
.bizf:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-card); }
.bizf__title { font-size: 18px; font-weight: 800; margin-bottom: 8px; }
.bizf__text { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.biz__steps {
  grid-column: 1 / -1; counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin: 8px 0 0; padding: 0; list-style: none;
}
.biz__steps li {
  counter-increment: s; position: relative; padding: 52px 18px 18px; border-radius: var(--r);
  border: 1px dashed #cfc6f5; font-size: 15px; line-height: 1.45; color: var(--ink-soft);
}
.biz__steps li::before {
  content: counter(s); position: absolute; left: 18px; top: 14px;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--purple); color: #fff; font-weight: 800; font-size: 14px;
}
.biz__steps b { color: var(--ink); }

@media (max-width: 960px) {
  .biz { padding: 56px 0 24px; }
  .biz__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .biz__formats, .biz__steps { grid-template-columns: 1fr; }
}

/* ============================================================
   Онлайн-запись — booking.html
   ============================================================ */
.bk { padding: 32px 0 80px; }
.bk__wrap { max-width: 880px; margin-inline: auto; }
.bk__head { text-align: center; margin-bottom: 28px; }
.bk__title { font-size: clamp(30px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.bk__lead { margin-top: 10px; color: var(--ink-soft); font-size: 17px; }

.bk__steps { display: flex; justify-content: center; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; flex-wrap: wrap; }
.bk__steps li {
  display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: #9a97a8;
}
.bk__steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-2); color: var(--purple); font-size: 13px; font-weight: 800; }
.bk__steps li.is-on { color: var(--ink); border-color: rgba(125, 95, 255, .4); }
.bk__steps li.is-on span, .bk__steps li.is-done span { background: var(--purple); color: #fff; }

.bk__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-card); padding: 28px; }
.bk__panel h2 { font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.bk__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; padding: 4px 0; border: 0; background: none; color: var(--purple); font-weight: 700; font-size: 15px; cursor: pointer; }

.bk-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.bk-lang {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 14px;
  border: 1px solid var(--line); border-radius: var(--r); background: var(--lav);
  font-size: 18px; font-weight: 800; color: var(--ink); cursor: pointer; transition: all .2s;
}
.bk-lang img { width: 56px; height: 56px; border-radius: 50%; }
.bk-lang small { font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.bk-lang:hover, .bk-lang.is-active { background: #fff; border-color: var(--purple); box-shadow: var(--shadow-card); transform: translateY(-2px); }

.bk-teachers { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.bk-teacher {
  display: flex; align-items: center; gap: 12px; padding: 12px; text-align: left;
  border: 1px solid var(--line); border-radius: var(--r); background: #fff; cursor: pointer; transition: all .2s;
}
.bk-teacher img { width: 56px; height: 56px; border-radius: 16px; object-fit: cover; object-position: center 20%; flex: none; background: var(--lav); }
.bk-teacher__any { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--lav-2); color: var(--purple); font-size: 24px; font-weight: 800; flex: none; }
.bk-teacher b { display: block; font-size: 16px; }
.bk-teacher small { font-size: 13px; color: var(--ink-soft); }
.bk-teacher:hover, .bk-teacher.is-active { border-color: var(--purple); box-shadow: var(--shadow-card); }
.bk-teacher.is-empty { opacity: .55; }

.bk-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; scroll-snap-type: x mandatory; }
.bk-day {
  flex: none; scroll-snap-align: start; width: 74px; padding: 10px 0; border-radius: 16px;
  border: 1px solid var(--line); background: #fff; cursor: pointer; text-align: center; transition: all .15s;
}
.bk-day b { display: block; font-size: 22px; font-weight: 800; }
.bk-day span, .bk-day small { display: block; font-size: 12px; color: var(--ink-soft); }
.bk-day small { color: var(--purple); font-weight: 700; margin-top: 2px; }
.bk-day:hover { border-color: var(--purple); }
.bk-day.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }
.bk-day.is-active span, .bk-day.is-active small { color: rgba(255, 255, 255, .9); }
.bk-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; margin-top: 18px; }
.bk-slot {
  height: 46px; border-radius: 12px; border: 1px solid #d9d4ee; background: #fff;
  font-size: 16px; font-weight: 700; color: var(--ink); cursor: pointer; transition: all .15s;
}
.bk-slot small { display: block; font-size: 11px; font-weight: 500; color: var(--ink-soft); margin-top: -2px; }
.bk-slot:hover { border-color: var(--purple); color: var(--purple); }
.bk-slot.is-active { background: var(--purple); border-color: var(--purple); color: #fff; }
.bk-slot.is-active small { color: rgba(255,255,255,.85); }
.bk__tz { margin-top: 14px; font-size: 13px; color: var(--ink-soft); }

.bk-summary { display: flex; gap: 14px; align-items: center; padding: 14px; margin-bottom: 20px; border-radius: var(--r); background: var(--lav); }
.bk-summary img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; object-position: center 20%; }
.bk-summary b { display: block; font-size: 17px; }
.bk-summary span { font-size: 14px; color: var(--ink-soft); }
.bk .xform { box-shadow: none; border: 0; padding: 0; }

.bk-empty { text-align: center; padding: 10px 0; }
.bk-empty p { color: var(--ink-soft); margin-bottom: 18px; }
.bk-done { text-align: center; padding: 18px 0; }
.bk-done__icon { width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #e7f9ef; color: #1b8a4b; font-size: 36px; }
.bk-done h2 { font-size: 26px; }
.bk-done p { color: var(--ink-soft); margin-top: 8px; }
.bk-done .btn { margin-top: 22px; height: 50px; padding-inline: 28px; }
.bk-loading { padding: 30px 0; text-align: center; color: var(--ink-soft); }

@media (max-width: 640px) {
  .bk__panel { padding: 20px 16px; border-radius: 22px; }
  .bk-langs { grid-template-columns: 1fr; }
  .bk-lang { flex-direction: row; padding: 14px 16px; font-size: 17px; }
  .bk-lang img { width: 40px; height: 40px; }
  .bk-lang small { margin-left: auto; }
  .bk__steps li { font-size: 0; padding: 4px; gap: 0; }
  .bk__steps li span { font-size: 13px; }
}

/* ---------- Тренажёр @ezspeakbot: карточка с QR ---------- */
.botcard { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lift); text-align: center; max-width: 380px; justify-self: center; width: 100%; }
.botcard__qr { width: 200px; height: 200px; margin: 0 auto; padding: 10px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.botcard__qr svg { width: 100%; height: 100%; display: block; }
.botcard__hint { margin: 12px 0 18px; font-size: 14px; color: var(--ink-soft); }
.botcard__steps { counter-reset: b; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; text-align: left; }
.botcard__steps li { counter-increment: b; position: relative; padding: 10px 12px 10px 46px; border-radius: 14px; background: var(--lav); font-size: 15px; line-height: 1.35; }
.botcard__steps li::before { content: counter(b); position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--purple); color: #fff; font-weight: 700; font-size: 13px; }
@media (max-width: 960px) { .botcard__qr { display: none; } .botcard__hint { display: none; } .botcard { padding: 20px; } }

/* ---------- Партнёрская программа ---------- */
.biz__lead b { color: var(--ink); }
.biz__sub { font-size: 22px; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.biz__note { font-size: 15px; color: var(--ink-soft); margin: 0 0 18px; }
.bizformula { display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap; margin: 0 0 40px; }
.bizformula__item { flex: 1 1 180px; display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); }
.bizformula__item b { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.bizformula__item span { font-size: 15px; color: var(--ink-soft); }
.bizformula__item--accent { background: var(--purple); border-color: var(--purple); }
.bizformula__item--accent b, .bizformula__item--accent span { color: #fff; }
.bizformula__op { align-self: center; font-size: 30px; font-weight: 700; color: var(--purple); }
.btars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.btar { position: relative; padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card); display: flex; flex-direction: column; gap: 6px; }
.btar--best { border: 2px solid var(--purple); }
.btar--solo { background: var(--lav); box-shadow: none; }
.btar__badge { position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--purple); color: #fff; font-size: 12px; font-weight: 700; }
.btar__who { font-size: 16px; font-weight: 700; color: var(--ink); margin: 0; }
.btar__disc { font-size: 30px; font-weight: 800; color: var(--purple); letter-spacing: -0.02em; margin: 0; }
.btar__price { font-size: 14px; color: var(--ink-soft); margin: 0; }
.btar__price s { opacity: .7; margin-right: 4px; }
.btar__emp { font-size: 15px; color: var(--ink); margin: 6px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); }
.btar__emp b { font-size: 24px; font-weight: 800; }
.btar__pack { font-size: 13px; color: var(--ink-soft); line-height: 1.45; margin: 0; }
.biz .bizf__title { font-size: 17px; }
@media (max-width: 1100px) { .btars { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  .btars { grid-template-columns: 1fr; }
  .bizformula { flex-direction: column; gap: 8px; }
  .bizformula__item { flex: none; padding: 14px 18px; }
  .bizformula__op { font-size: 22px; line-height: 1; }
  .bizformula__item b { font-size: 28px; }
}

/* подписи полей в новых формах видны всегда */
.xform .field__label { display: block !important; position: static !important; width: auto !important; height: auto !important; clip: auto !important; margin: 0 0 6px !important; }

/* порядок блоков на телефоне (в style.css секции переставляются через order) */
@media (max-width: 760px) {
  .section.club, .section.biz { order: 8; }
}

/* v32 */
.biz__steps li { padding-top: 54px; }
.biz__steps b { display: block; margin-bottom: 4px; font-size: 16px; }

/* Пробный урок бесплатный */
.bk-lang small { line-height: 1.4; white-space: nowrap; }
.bk-lang small b, .bk-summary .bk-free { display: inline-block; padding: 2px 9px; margin-top: 3px; border-radius: 999px; background: #a3f0d3; color: #0e3a2b; font-weight: 700; font-size: 12.5px; line-height: 1.4; }
.bk-summary .bk-free { margin: 0; }
@media (max-width: 760px) { .bk-lang small { text-align: right; } }
@media (max-width: 380px) { .bk-lang { flex-wrap: wrap; row-gap: 6px; } .bk-lang small { flex: 1 0 100%; text-align: left; } .bk-lang small br { display: none; } .bk-lang small b { margin: 0 0 0 6px; } }
