/* ==========================================================================
   KAI Start — нова головна 2026
   Підключається лише на шаблоні template-landing-2026.php (без tailwind.css).
   Макет: Figma «KAI Start - Редизайн»: Laptop 1280, Desktop 1920.

   Плавне масштабування: --p = 0 на ширині 1280 і 1px на 1920 (нижче 1280 — до -0.4px на 1024).
   Розмір, що в макетах різний, записано як calc(<Laptop>px + (<Desktop> − <Laptop>) * var(--p)):
   напр. calc(48px + 24 * var(--p)) = 48px на 1280, 72px на 1920.
   ========================================================================== */

/* ---------- Токени (стилі Figma) ---------- */
:root {
  /* Radiance — синій */
  --kai26-blue-50: #EFF8FF;
  --kai26-blue-100: #DBEEFE;
  --kai26-blue-200: #BFE3FE;
  --kai26-blue-300: #93D2FD;
  --kai26-blue-400: #60B8FA;
  --kai26-blue: #267CEB;
  --kai26-blue-700: #1D65D8;
  --kai26-blue-800: #1E52AF;
  --kai26-blue-950: #172D54;

  /* Strawberry — рожевий */
  --kai26-pink-50: #FDF2F8;
  --kai26-pink-200: #FBCFE8;
  --kai26-pink-300: #F8A9D4;
  --kai26-pink: #EA4798;
  --kai26-pink-600: #D92978;

  /* Gray */
  --kai26-gray-200: #E5E7EB;
  --kai26-gray-300: #D1D5DB;
  --kai26-gray-400: #9CA3AF;
  --kai26-gray-500: #6B7280;
  --kai26-gray-600: #4B5563;
  --kai26-gray-700: #374151;
  --kai26-gray-900: #111827;
  --kai26-text: #030712;

  --kai26-shadow-blue: 0 12px 30px rgba(38, 124, 235, .18);
  --kai26-shadow-pink: 0 12px 26px rgba(234, 71, 152, .25);

  --kai26-radius-sm: 8px;
  --kai26-radius: 16px;
  --kai26-radius-lg: 24px;
  --kai26-radius-xl: 32px;

  /* частка шляху від Laptop (0) до Desktop (1px); ширина без смуги прокрутки — cqw від body */
  --p: 0px;

  --kai26-container: calc(1152px + 528 * var(--p));
  --kai26-gutter: calc(64px + 56 * var(--p));
  --kai26-header-h: calc(72px + 16 * var(--p));

  --kai26-font: 'Geologica', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

@media (min-width: 1024px) {
  :root {
    --p: clamp(-0.4px, (100vw - 1280px) / 640, 1px);
  }

  @supports (width: 1cqw) {
    :root {
      --p: clamp(-0.4px, (100cqw - 1280px) / 640, 1px);
    }
  }
}

/* ---------- Базові стилі (власний мінімальний reset) ---------- */
.kai26,
.kai26 *,
.kai26 *::before,
.kai26 *::after {
  box-sizing: border-box;
}

body.kai26 {
  container-type: inline-size; /* для cqw у --p */
  margin: 0;
  background: #fff;
  color: var(--kai26-text);
  font-family: var(--kai26-font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.kai26 :where(h1, h2, h3, h4, p, ul, ol, figure, hr) {
  margin: 0;
}

.kai26 :where(ul, ol) {
  padding: 0;
  list-style: none;
}

.kai26 :where(img, svg) {
  display: block;
  max-width: 100%;
}

.kai26 :where(a) {
  color: inherit;
  text-decoration: none;
}

.kai26 :focus-visible {
  outline: 3px solid var(--kai26-blue-300);
  outline-offset: 2px;
}

.kai26-accent {
  color: var(--kai26-pink);
}

.kai26-icon {
  width: 24px;
  height: 24px;
  flex: none;
}

.kai26-container {
  width: 100%;
  max-width: calc(var(--kai26-container) + 2 * var(--kai26-gutter));
  margin: 0 auto;
  padding: 0 var(--kai26-gutter);
}

/* ---------- Кнопки ---------- */
.kai26-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 12px 20px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}

.kai26-btn:active {
  transform: translateY(1px);
}

.kai26-btn--pink {
  background: var(--kai26-pink);
  color: #fff;
  box-shadow: var(--kai26-shadow-pink);
}

.kai26-btn--pink:hover {
  background: var(--kai26-pink-600);
}

.kai26-btn--blue {
  background: var(--kai26-blue);
  color: #fff;
  box-shadow: var(--kai26-shadow-blue);
}

.kai26-btn--blue:hover {
  background: var(--kai26-blue-700);
}

/* рамка всередині, як у Figma (stroke inside) — не змінює розмір кнопки */
.kai26-btn--outline {
  box-shadow: inset 0 0 0 1px var(--kai26-blue-400);
  color: var(--kai26-blue);
}

.kai26-btn--outline:hover {
  background: var(--kai26-blue-50);
}

.kai26-btn--white {
  background: #fff;
  color: var(--kai26-blue);
}

.kai26-btn--white:hover {
  background: var(--kai26-blue-50);
}

.kai26-btn--sm {
  min-height: 36px;
  padding: 10px 14px;
  gap: 4px;
  font-weight: 500;
  font-size: 12px;
  line-height: 16px;
}

/* ---------- Шапка ---------- */
.kai26-header {
  position: fixed;
  z-index: 50;
  top: 8px;
  left: 24px;
  right: 24px;
}

.admin-bar .kai26-header {
  top: 40px;
}

.kai26-header__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: calc(56px + 16 * var(--p));
  padding: 0 calc(24px + 8 * var(--p));
  background: rgba(255, 255, 255, .9);
  border-radius: calc(16px + 4 * var(--p));
  transition: background-color .3s, box-shadow .3s;
  box-shadow: inset 0 0 0 1px #fff, var(--kai26-shadow-blue);
  -webkit-backdrop-filter: blur(17px);
  backdrop-filter: blur(17px);
}

.kai26-header__logo {
  position: relative;
  flex: none;
}

.kai26-header__logo img {
  width: calc(163px + 98 * var(--p));
  height: auto;
  transition: opacity .3s;
}

/* білий логотип для синьої шапки — поверх звичайного */
.kai26-header__logo .kai26-header__logo-white {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.kai26-header__nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: calc(40px + 16 * var(--p));
}

.kai26-header__nav a {
  padding: 12px 0;
  color: var(--kai26-blue);
  opacity: .9;
  font-weight: 500;
  font-size: calc(14px + 6 * var(--p));
  line-height: calc(20px + 8 * var(--p));
  transition: opacity .2s, color .2s;
}

.kai26-header__nav a:hover {
  opacity: 1;
  color: var(--kai26-pink);
}

.kai26-header__cta {
  flex: none;
  min-height: calc(36px + 8 * var(--p));
  padding: 10px calc(14px + 4 * var(--p));
  font-size: calc(12px + 4 * var(--p));
  line-height: calc(16px + 8 * var(--p));
}

@media (min-width: 1650px) {
  .kai26-header__cta {
    font-weight: 600;
  }
}

/* синя шапка після прокрутки (варіант «Default / Blue Header» у макеті) */
.kai26-header.is-scrolled .kai26-header__bar {
  background: var(--kai26-blue);
  box-shadow: var(--kai26-shadow-blue);
}

.kai26-header.is-scrolled .kai26-header__nav a {
  color: #fff;
}

.kai26-header.is-scrolled .kai26-header__nav a:hover {
  color: var(--kai26-pink-200);
}

.kai26-header.is-scrolled .kai26-header__cta {
  background: #fff;
  color: var(--kai26-blue);
}

.kai26-header.is-scrolled .kai26-header__logo-white {
  opacity: 1;
}

.kai26-header.is-scrolled .kai26-header__logo-blue {
  opacity: 0;
}

/* Бургер: на десктопі — сторінки сайту (пункти сторінки лишаються в шапці), на телефоні — і те, і те */
.kai26-header__burger {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: calc(36px + 8 * var(--p));
  height: calc(36px + 8 * var(--p));
  margin-right: calc(-6px + -2 * var(--p));
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: none;
  color: var(--kai26-blue);
  cursor: pointer;
  transition: background-color .2s;
}

.kai26-header__burger:hover {
  background: var(--kai26-blue-50);
}

.kai26-header__burger .kai26-icon {
  width: calc(24px + 4 * var(--p));
  height: calc(24px + 4 * var(--p));
}

.kai26-header__burger .kai26-header__icon-close,
.kai26-header.is-open .kai26-header__burger .kai26-header__icon-open {
  display: none;
}

.kai26-header.is-open .kai26-header__burger .kai26-header__icon-close {
  display: block;
}

/* немає меню сторінок — на десктопі бургер не потрібен */
.kai26-header--no-pages .kai26-header__burger {
  display: none;
}

.kai26-header__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: calc(300px + 60 * var(--p));
  max-height: calc(100vh - var(--kai26-header-h) - 32px);
  overflow-y: auto;
  padding: 8px;
  background: rgba(255, 255, 255, .95);
  border-radius: calc(16px + 4 * var(--p));
  box-shadow: inset 0 0 0 1px #fff, var(--kai26-shadow-blue);
  -webkit-backdrop-filter: blur(17px);
  backdrop-filter: blur(17px);
}

.kai26-header__menu[hidden],
.kai26-header__menu-anchors {
  display: none;
}

.kai26-header__menu a,
.kai26-header__menu-heading {
  display: block;
  padding: calc(10px + 2 * var(--p)) 16px;
  border-radius: 10px;
  color: var(--kai26-blue);
  font-weight: 500;
  font-size: calc(14px + 2 * var(--p));
  line-height: calc(20px + 4 * var(--p));
  transition: background-color .2s;
}

.kai26-header__menu a:hover {
  background: var(--kai26-blue-50);
}

/* заголовок групи («Курси») — не посилання */
.kai26-header__menu-heading {
  padding-bottom: 4px;
  color: var(--kai26-gray-400);
  font-size: calc(12px + 2 * var(--p));
  line-height: calc(16px + 4 * var(--p));
}

.kai26-header__menu-group {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--kai26-blue-100);
}

.kai26-header__menu-anchors + .kai26-header__menu-group {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* пункти після групи — не частина групи */
.kai26-header__menu-group:not(:last-child) {
  margin-bottom: 4px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--kai26-blue-100);
}

.kai26-header.is-scrolled .kai26-header__burger {
  color: #fff;
}

.kai26-header.is-scrolled .kai26-header__burger:hover {
  background: rgba(255, 255, 255, .12);
}

.kai26-header.is-scrolled .kai26-header__menu {
  background: var(--kai26-blue);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25), var(--kai26-shadow-blue);
}

.kai26-header.is-scrolled .kai26-header__menu a {
  color: #fff;
}

.kai26-header.is-scrolled .kai26-header__menu a:hover {
  background: rgba(255, 255, 255, .12);
}

.kai26-header.is-scrolled .kai26-header__menu-heading {
  color: rgba(255, 255, 255, .6);
}

.kai26-header.is-scrolled .kai26-header__menu-group {
  border-color: rgba(255, 255, 255, .2);
}

/* ---------- Hero ---------- */
.kai26-hero {
  position: relative;
  overflow: hidden;
  min-height: calc(624px + 256 * var(--p));
  padding: var(--kai26-header-h) var(--kai26-gutter) 0;
  display: flex;
  align-items: center;
  background: #fff;
}

.kai26-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.kai26-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--kai26-container);
  margin: 0 auto;
  display: flex;
}

.kai26-hero__text {
  width: calc(564px + 122 * var(--p));
  max-width: 100%;
  padding: 16px 0 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(28px + 12 * var(--p));
}

.kai26-hero__head {
  display: flex;
  flex-direction: column;
  gap: calc(8px + 24 * var(--p));
}

.kai26-hero__subtitle {
  color: var(--kai26-pink);
  font-weight: 600;
  font-size: calc(16px + 4 * var(--p));
  line-height: calc(24px + 4 * var(--p));
}

.kai26-hero__title {
  color: var(--kai26-blue);
  font-weight: 800;
  font-size: calc(48px + 24 * var(--p));
  line-height: calc(60px + 12 * var(--p));
  text-transform: uppercase;
}

.kai26-hero__desc {
  color: var(--kai26-gray-600);
  font-size: calc(18px + 6 * var(--p));
  line-height: calc(28px + 4 * var(--p));
}

.kai26-hero__actions {
  display: flex;
  gap: 12px;
  padding-top: 16px;
}

.kai26-hero__actions .kai26-btn {
  flex: 1;
  min-height: calc(48px + 16 * var(--p));
  padding: 12px calc(20px + 4 * var(--p));
  gap: calc(6px + 2 * var(--p));
  font-size: calc(16px + 4 * var(--p));
  line-height: calc(24px + 4 * var(--p));
}

.kai26-hero__divider {
  height: 0;
  margin-bottom: -1px; /* у Figma лінія не займає місця */
  border: 0;
  border-top: 1px solid var(--kai26-blue-200);
}

.kai26-hero__stats {
  display: flex;
  gap: calc(40px + 2 * var(--p));
  min-height: calc(80px + 20 * var(--p));
}

.kai26-stat {
  display: flex;
  flex-direction: column;
  gap: calc(4px + 4 * var(--p));
  min-width: calc(140 * var(--p)); /* на Desktop колонки по 140px */
}

.kai26-stat__value {
  color: var(--kai26-blue);
  font-weight: 700;
  font-size: calc(30px + 6 * var(--p));
  line-height: calc(36px + 4 * var(--p));
  white-space: nowrap;
}

.kai26-stat__label {
  max-width: calc(100px + 40 * var(--p));
  color: var(--kai26-gray-500);
  font-size: calc(14px + 6 * var(--p));
  line-height: calc(20px + 8 * var(--p));
}

/* блок цифр під hero — лише на мобайлі */
.kai26-proof {
  display: none;
}

.kai26-why__bg-m {
  display: none;
}

/* ---------- Заголовок секції ---------- */
.kai26-section-title {
  color: var(--kai26-blue-700);
  font-weight: 700;
  font-size: calc(36px + 12 * var(--p));
  line-height: calc(40px + 8 * var(--p));
  text-align: center;
}

.kai26-section-title--white {
  color: #fff;
}

/* ---------- Бейдж (іконка + підпис) ---------- */
.kai26-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 13px; /* 4/12 + рамка 1px, як у Figma */
  background: #fff;
  border-radius: var(--kai26-radius-sm);
  box-shadow: inset 0 0 0 1px var(--kai26-blue-100);
  color: var(--kai26-blue);
  font-size: 14px;
  line-height: 20px;
}

.kai26-badge .kai26-icon {
  width: 12px;
  height: 12px;
}

.kai26-badge--wide {
  display: flex;
  width: 100%;
}

.kai26-badge--wide span {
  flex: 1;
  text-align: center;
}

.kai26-formats .kai26-badge {
  gap: calc(8px + 4 * var(--p));
  padding: calc(5px + 4 * var(--p)) calc(13px + 4 * var(--p));
  border-radius: calc(8px + 4 * var(--p));
  font-size: calc(14px + 10 * var(--p));
  line-height: calc(20px + 12 * var(--p));
}

.kai26-formats .kai26-badge .kai26-icon {
  width: calc(12px + 16 * var(--p));
  height: calc(12px + 16 * var(--p));
}

/* ---------- Чому обирають нас ---------- */
.kai26-why {
  padding-top: calc(44px + 12 * var(--p));
  background: #fff;
}

.kai26-why .kai26-section-title {
  margin-bottom: calc(36px + 28 * var(--p));
}

/* сцена 1152×480 (Desktop 1680×656); координати карток — з макетів, у why-us.php */
.kai26-why__stage {
  position: relative;
  height: calc(480px + 176 * var(--p));
}

.kai26-why__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kai26-why__item {
  position: absolute;
  left: var(--x);
  top: var(--y);
}

.kai26-why__card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(344px + 220 * var(--p));
  min-height: calc(72px + 24 * var(--p));
  padding: 12px 32px;
  background: var(--kai26-blue);
  border-radius: calc(16px + 4 * var(--p));
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  color: #fff;
  font-size: calc(16px + 8 * var(--p));
  line-height: calc(24px + 8 * var(--p));
  text-align: center;
}

.kai26-why__card > span {
  max-width: calc(280px + 136 * var(--p));
}

.kai26-why__card strong {
  font-weight: 700;
}

.kai26-why__cloud {
  position: absolute;
  left: var(--cx);
  top: var(--cy);
  pointer-events: none;
}

.kai26-why__cloud {
  width: var(--cw);
}

.kai26-why__cloud img {
  width: 100%;
  height: auto;
  max-width: none;
}

.kai26-why__badge {
  position: absolute;
  left: 18.9%;
  top: 21.3%;
  width: 57.5%;
  color: #fff;
  font-size: calc(16px + 4 * var(--p));
  line-height: calc(18px + 5 * var(--p));
  text-align: center;
}

.kai26-why__badge strong {
  font-size: calc(20px + 5 * var(--p));
  font-weight: 700;
}

.kai26-why__btn {
  position: absolute;
  left: 50%;
  top: calc(372px + 131 * var(--p));
  min-width: calc(198px + 110 * var(--p));
  min-height: calc(48px + 16 * var(--p));
  gap: calc(6px + 2 * var(--p));
  font-size: calc(16px + 4 * var(--p));
  line-height: calc(24px + 4 * var(--p));
  transform: translateX(-50%);
}

.kai26-why__btn:active {
  transform: translate(-50%, 1px);
}

/* ---------- Предмети підготовки ---------- */
.kai26-subjects {
  position: relative;
  padding: calc(64px + 36 * var(--p)) 0 calc(44px + 56 * var(--p));
  background: #fff;
  overflow-x: clip; /* широкі хмари не дають горизонтальний скрол, рожева хмаринка зверху не обрізається */
}

.kai26-subjects__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.kai26-subjects__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(10px + 6 * var(--p));
  max-width: calc(952px + 444 * var(--p));
  margin: calc(56px + 20 * var(--p)) 0 calc(32px + 24 * var(--p));
}

.kai26-subject {
  padding: calc(12px + 8 * var(--p)) calc(24px + 8 * var(--p));
  background: rgba(239, 248, 255, .5);
  border: 1px solid var(--kai26-blue-200);
  border-radius: calc(16px + 8 * var(--p));
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  color: var(--kai26-blue);
  font-weight: 600;
  font-size: calc(16px + 8 * var(--p));
  line-height: calc(24px + 8 * var(--p));
  white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s;
}

.kai26-subject:hover {
  background: var(--kai26-blue);
  border-color: var(--kai26-blue);
  color: #fff;
}

.kai26-subjects__programs {
  display: inline-flex;
  align-items: center;
  gap: calc(6px + 2 * var(--p));
  margin: calc(-8px + -8 * var(--p)) 0 calc(24px + 8 * var(--p));
  color: var(--kai26-blue);
  font-weight: 500;
  font-size: calc(14px + 4 * var(--p));
  line-height: calc(20px + 8 * var(--p));
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.kai26-subjects__programs:hover {
  color: var(--kai26-pink);
}

.kai26-subjects__programs .kai26-icon {
  flex: none;
  width: calc(18px + 6 * var(--p));
  height: calc(18px + 6 * var(--p));
}

/* file-text.svg намальована білим (для футера) */
.kai26-subjects__programs .kai26-icon path {
  stroke: currentColor;
}

.kai26-subjects__btn {
  min-width: calc(172px + 372 * var(--p));
  min-height: calc(48px + 16 * var(--p));
  gap: calc(6px + 2 * var(--p));
  font-size: calc(16px + 4 * var(--p));
  line-height: calc(24px + 4 * var(--p));
}

.kai26-subjects__cloud {
  position: absolute;
  z-index: 2;
  top: calc(-63px + -19 * var(--p));
  left: calc(50% + calc(153px + 59 * var(--p)));
  width: calc(149px + 50 * var(--p));
  height: auto;
}

/* сині хмари: ліва прив'язана до лівого краю екрана, права — до правого */
.kai26-subjects__blue-cloud {
  position: absolute;
  z-index: 0;
  max-width: none;
  pointer-events: none;
}

.kai26-subjects__blue-cloud--left {
  left: calc(-566px + -8 * var(--p));
  bottom: calc(-2px + -32 * var(--p));
  width: calc(943px + 238 * var(--p));
  height: calc(242px + 61 * var(--p));
}

.kai26-subjects__blue-cloud--right {
  right: calc(-472px + -24 * var(--p));
  bottom: calc(-3px + -32 * var(--p));
  width: calc(896px + 226 * var(--p));
  height: calc(242px + 61 * var(--p));
}

/* ---------- Формати занять ---------- */
.kai26-formats {
  padding: calc(64px + 24 * var(--p)) 0 calc(24px + 32 * var(--p));
  background: var(--kai26-blue);
}

.kai26-formats__row {
  display: flex;
  justify-content: center;
  gap: calc(29px + -5 * var(--p));
  margin-top: calc(56px + 20 * var(--p));
}

.kai26-formats__col {
  width: calc(308px + 214 * var(--p));
  padding-top: calc(40px + 40 * var(--p));
}

.kai26-formats__box {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(16px + 8 * var(--p));
  padding-top: 28px;
}

.kai26-formats__col--online .kai26-formats__box {
  width: calc(278px + 194 * var(--p));
  margin: 0 auto;
  padding-top: 19px;
}

.kai26-formats__logo {
  width: calc(200px + 180 * var(--p));
  height: auto;
}

.kai26-formats__online {
  color: #fff;
  font-weight: 800;
  font-size: calc(60px + 60 * var(--p));
  line-height: calc(60px + 40 * var(--p));
}

.kai26-formats__cloud {
  position: absolute;
  top: calc(0px + -42 * var(--p));
  left: calc(160px + 114 * var(--p));
  width: calc(69px + 69 * var(--p));
  height: auto;
}

.kai26-formats__col--online .kai26-formats__cloud {
  left: calc(65px + 25 * var(--p));
  top: calc(0px + -17 * var(--p));
  width: calc(63px + 64 * var(--p));
}

.kai26-formats__rocket {
  flex: none;
  width: calc(358px + 186 * var(--p));
  height: calc(413px + 214 * var(--p));
}

/* ---------- Вартість навчання ---------- */
.kai26-pricing {
  padding: calc(44px + 12 * var(--p)) 0;
  background: linear-gradient(180deg, var(--kai26-blue) 0, #fff calc(262px + 68 * var(--p)));
}

.kai26-pricing__head {
  display: flex;
  gap: 24px;
}

.kai26-pricing__title {
  width: calc(368px + 176 * var(--p));
  flex: none;
  text-align: left;
}

.kai26-pricing__cards {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 8px;
  min-height: calc(172px + 42 * var(--p));
  padding-left: calc(74px + 44 * var(--p));
}

.kai26-price {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  width: calc(166px + 76 * var(--p));
  height: calc(162px + 38 * var(--p));
  padding: calc(25px + 8 * var(--p)) calc(17px + 8 * var(--p));
  background: #fff;
  border-radius: var(--kai26-radius);
  box-shadow: inset 0 0 0 1px var(--kai26-blue-200), 0 0 10px rgba(38, 124, 235, .2);
}

.kai26-price__title {
  color: var(--kai26-text);
  font-weight: 600;
  font-size: calc(16px + 2 * var(--p));
  line-height: calc(24px + 4 * var(--p));
}

.kai26-price__value {
  display: flex;
  flex-direction: column;
  gap: calc(2px + 6 * var(--p));
}

.kai26-price__sum {
  color: var(--kai26-blue);
  font-weight: 700;
  font-size: calc(24px + 6 * var(--p));
  line-height: calc(32px + 4 * var(--p));
  white-space: nowrap;
}

.kai26-price__sum span {
  margin-left: 4px;
}

.kai26-price__period {
  color: var(--kai26-gray-500);
  font-size: calc(14px + 2 * var(--p));
  line-height: calc(20px + 4 * var(--p));
}

.kai26-price--best {
  justify-content: center;
  background: var(--kai26-pink-50);
  box-shadow: inset 0 0 0 1px var(--kai26-pink), var(--kai26-shadow-pink);
}

.kai26-price--best .kai26-price__sum {
  color: var(--kai26-pink-600);
}

.kai26-price__saving {
  margin-top: 4px;
  color: var(--kai26-pink);
  font-weight: 500;
  font-size: calc(12px + 2 * var(--p));
  line-height: calc(16px + 4 * var(--p));
}

.kai26-price__badge {
  position: absolute;
  top: calc(-10px + -4 * var(--p));
  left: 50%;
  transform: translateX(-50%);
  padding: calc(2px + 2 * var(--p)) calc(8px + 2 * var(--p));
  background: var(--kai26-pink);
  border-radius: 999px;
  color: #fff;
  font-size: calc(12px + 2 * var(--p));
  line-height: calc(16px + 4 * var(--p));
  white-space: nowrap;
}

/* ---------- Ви отримуєте не просто заняття ---------- */
.kai26-get {
  display: flex;
  align-items: stretch;
  gap: 24px;
  margin-top: calc(64px + 16 * var(--p));
}

.kai26-get__text {
  width: calc(563px + 264 * var(--p));
  flex: none;
  display: flex;
  flex-direction: column;
  gap: calc(32px + 16 * var(--p));
}

.kai26-get__title {
  text-align: left;
  max-width: calc(563px + 123 * var(--p));
}

.kai26-get__list {
  display: flex;
  flex-direction: column;
  gap: calc(20px + 12 * var(--p));
}

.kai26-feature {
  display: flex;
  align-items: center;
  gap: calc(24px + 8 * var(--p));
}

.kai26-feature__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(56px + 12 * var(--p));
  height: calc(56px + 12 * var(--p));
  align-self: flex-start;
  background: #fff;
  border-radius: calc(16px + 4 * var(--p));
  box-shadow: inset 0 0 0 1px var(--kai26-blue-100), var(--kai26-shadow-blue);
}

.kai26-feature__icon img {
  width: calc(38px + 12 * var(--p));
  height: calc(38px + 12 * var(--p));
}

.kai26-feature__text {
  display: flex;
  flex-direction: column;
  color: var(--kai26-gray-700);
  font-size: calc(16px + 4 * var(--p));
  line-height: calc(24px + 4 * var(--p));
}

.kai26-feature__text strong {
  color: var(--kai26-text);
  font-weight: 700;
  font-size: calc(18px + 6 * var(--p));
  line-height: calc(28px + 4 * var(--p));
}

.kai26-get__btn {
  width: calc(367px + 177 * var(--p));
  min-height: calc(48px + 16 * var(--p));
  gap: calc(6px + 2 * var(--p));
  font-size: calc(16px + 4 * var(--p));
  line-height: calc(24px + 4 * var(--p));
}

.kai26-get__image {
  width: calc(566px + 339 * var(--p));
  height: auto;
  margin-left: -1px;
}

/* кадр прив'язаний до низу і може виступати вгору та в праве поле (як у макеті), висоту блоку задає текст */
.kai26-get picture {
  position: relative;
  flex: none;
  align-self: stretch;
  width: calc(566px + 339 * var(--p));
}

.kai26-get picture .kai26-get__image {
  position: absolute;
  left: 0;
  bottom: 0;
}

/* ---------- Як організоване навчання ---------- */
.kai26-org {
  padding: calc(44px + 12 * var(--p)) 0;
  background: linear-gradient(180deg, #fff 0, var(--kai26-blue-50) 100%);
}

.kai26-org__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: calc(16px + 8 * var(--p));
  margin: calc(32px + 16 * var(--p)) 0 calc(24px + 12 * var(--p));
}

.kai26-org-card {
  --tone: var(--kai26-blue);
  --tone-bg: rgba(239, 248, 255, .5);
  --tone-border: var(--kai26-blue-200);
  --tone-icon-border: var(--kai26-blue-100);
  --tone-shadow: var(--kai26-shadow-blue);
  min-height: calc(226px + 80 * var(--p));
  padding: calc(21px + 8 * var(--p)) calc(25px + 8 * var(--p));
  background: var(--tone-bg);
  border-radius: calc(32px + 8 * var(--p));
  box-shadow: inset 0 0 0 1px var(--tone-border);
}

.kai26-org-card--pink {
  --tone: var(--kai26-pink);
  --tone-bg: rgba(253, 242, 248, .5);
  --tone-border: var(--kai26-pink-200);
  --tone-icon-border: #FCE7F3;
  --tone-shadow: var(--kai26-shadow-pink);
}

.kai26-org-card__title {
  display: flex;
  align-items: center;
  gap: calc(20px + 8 * var(--p));
  margin-bottom: calc(28px + 4 * var(--p));
  color: var(--kai26-text);
  font-weight: 700;
  font-size: calc(24px + 12 * var(--p));
  line-height: calc(32px + 8 * var(--p));
}

.kai26-org-card__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(48px + 16 * var(--p));
  height: calc(48px + 16 * var(--p));
  background: #fff;
  border-radius: calc(12px + 8 * var(--p));
  box-shadow: inset 0 0 0 1px var(--tone-icon-border), var(--tone-shadow);
  color: var(--tone);
}

.kai26-org-card__icon .kai26-icon {
  width: calc(26px + 12 * var(--p));
  height: calc(26px + 12 * var(--p));
}

.kai26-org-card__list {
  display: flex;
  flex-direction: column;
  gap: calc(12px + 4 * var(--p));
  counter-reset: kai26-org;
}

.kai26-org-card__list li {
  display: flex;
  align-items: center;
  gap: calc(16px + 4 * var(--p));
  min-height: calc(28px + 12 * var(--p));
  color: var(--kai26-text);
  font-size: calc(16px + 4 * var(--p));
  line-height: calc(24px + 4 * var(--p));
  counter-increment: kai26-org;
}

.kai26-org-card__list li::before {
  content: counter(kai26-org);
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(28px + 12 * var(--p));
  height: calc(28px + 12 * var(--p));
  background: var(--tone);
  border-radius: 50%;
  color: #fff;
  font-weight: 600;
  font-size: calc(14px + 4 * var(--p));
  line-height: calc(20px + 8 * var(--p));
}

/* банер розкладу */
.kai26-banner {
  position: relative;
  overflow: hidden;
  height: calc(180px + 60 * var(--p));
  padding: 0 calc(101px + 158 * var(--p));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: var(--kai26-blue);
  border-radius: calc(32px + 8 * var(--p));
  box-shadow: inset 0 0 0 1px var(--kai26-blue-400), var(--kai26-shadow-blue);
}

.kai26-banner__calendar {
  position: absolute;
  left: 0;
  top: calc(-9px + 20 * var(--p));
  width: calc(339px + 72 * var(--p));
  height: calc(189px + 40 * var(--p));
}

.kai26-banner__clouds {
  position: absolute;
  left: calc(770px + 399 * var(--p));
  top: -2px;
  opacity: .7;
  width: calc(391px + 120 * var(--p));
  height: calc(185px + 58 * var(--p));
}

.kai26-banner__content {
  position: relative;
  display: flex;
  align-items: center;
  gap: calc(80px + 20 * var(--p));
}

.kai26-banner__title {
  width: calc(348px + 173 * var(--p));
  color: #fff;
  font-weight: 700;
  font-size: calc(24px + 12 * var(--p));
  line-height: calc(32px + 8 * var(--p));
}

.kai26-banner .kai26-btn {
  min-height: calc(48px + 16 * var(--p));
  gap: calc(6px + 2 * var(--p));
  font-size: calc(16px + 4 * var(--p));
  line-height: calc(24px + 4 * var(--p));
}

/* ---------- Викладачі ---------- */
.kai26-teachers {
  padding: calc(44px + 12 * var(--p)) 0;
  background: linear-gradient(180deg, var(--kai26-blue-50) 0, var(--kai26-blue) 100%);
}

.kai26-teachers__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: calc(12px + 8 * var(--p));
  margin-top: calc(32px + 16 * var(--p));
}

.kai26-teacher {
  position: relative;
  overflow: hidden;
  height: calc(468px + 176 * var(--p));
  background: #fff;
  border-radius: calc(32px + 8 * var(--p));
  box-shadow: 0 0 10px rgba(38, 124, 235, .2);
  isolation: isolate;
}

/* рамка поверх фото */
.kai26-teacher::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--kai26-blue-200);
  pointer-events: none;
}

.kai26-teacher__photo {
  position: absolute;
  inset: 1px;
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  transition: opacity .3s;
}

/* затемнення знизу (Overlay у Figma: 280px, #172754 0 → 79%) */
.kai26-teacher::before {
  content: '';
  position: absolute;
  left: 1px;
  right: 1px;
  bottom: 1px;
  height: calc(280px + 135 * var(--p));
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 39, 84, 0) 0, #172754 79%);
  transition: opacity .3s;
}

.kai26-teacher__exp {
  font-weight: 500;
  position: absolute;
  z-index: 2;
  top: calc(21px + 12 * var(--p));
  right: calc(21px + 12 * var(--p));
  width: calc(122px + 33 * var(--p));
  height: calc(52px + 10 * var(--p));
  padding-top: calc(18px + 1 * var(--p));
  background: url('../img/clouds/bubble-strawberry.svg') no-repeat center / 100% 100%;
  color: #fff;
  font-size: calc(12px + 4 * var(--p));
  line-height: calc(16px + 8 * var(--p));
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 1650px) {
  .kai26-teacher__exp {
    font-weight: 400;
  }

  .kai26-teacher__more {
    font-weight: 600;
  }
}

.kai26-teacher__body {
  position: relative;
  height: 100%;
  padding: calc(21px + 12 * var(--p)) calc(21px + 12 * var(--p)) calc(17px + 12 * var(--p));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: calc(16px + 4 * var(--p));
}

.kai26-teacher__info {
  display: flex;
  flex-direction: column;
}

.kai26-teacher__badges {
  display: flex;
  flex-wrap: wrap;
  gap: calc(8px + 4 * var(--p));
  margin-bottom: calc(8px + 8 * var(--p));
}

.kai26-teacher__badges li {
  padding: calc(3px + 2 * var(--p)) calc(9px + 2 * var(--p));
  background: rgba(255, 255, 255, .1);
  border-radius: calc(6px + 2 * var(--p));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
  -webkit-backdrop-filter: blur(22px);
  backdrop-filter: blur(22px);
  color: #fff;
  font-size: calc(12px + 2 * var(--p));
  line-height: calc(16px + 4 * var(--p));
  transition: background-color .3s, box-shadow .3s;
}

.kai26-teacher__name {
  color: #fff;
  font-weight: 600;
  font-size: calc(18px + 6 * var(--p));
  line-height: calc(28px + 4 * var(--p));
}

.kai26-teacher__position {
  margin-top: calc(2px + 6 * var(--p));
  color: var(--kai26-gray-200);
  font-size: calc(14px + 4 * var(--p));
  line-height: calc(20px + 8 * var(--p));
}

.kai26-teacher__quote {
  margin: 0;
  padding-left: 12px;
  border-left: 2px solid var(--kai26-blue);
  color: var(--kai26-text);
  font-size: calc(14px + 4 * var(--p));
  line-height: calc(20px + 6 * var(--p));
  overflow: hidden;
  display: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
}

.kai26-teacher__more {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: calc(36px + 8 * var(--p));
  padding: 10px calc(14px + 4 * var(--p));
  background: #fff;
  border-radius: 999px;
  color: var(--kai26-blue);
  font-weight: 500;
  font-size: calc(12px + 4 * var(--p));
  line-height: calc(16px + 8 * var(--p));
  transition: background-color .3s;
}

.kai26-teacher__more .kai26-icon {
  width: 16px;
  height: 16px;
  margin: 0 2px 0 4px;
}

/* вся картка клікабельна */
.kai26-teacher__more::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
}

.kai26-teacher__flip {
  display: none;
}

/* біла картка з цитатою: кнопка «і» (.is-flipped) — на всіх пристроях */
.kai26-teacher.is-flipped .kai26-teacher__photo,
.kai26-teacher.is-flipped::before {
  opacity: 0;
}

.kai26-teacher.is-flipped .kai26-teacher__body {
  justify-content: flex-start;
  padding-top: calc(102px + 38 * var(--p));
}

.kai26-teacher.is-flipped .kai26-teacher__badges li {
  background: var(--kai26-blue);
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.kai26-teacher.is-flipped .kai26-teacher__name {
  color: var(--kai26-text);
}

.kai26-teacher.is-flipped .kai26-teacher__position {
  color: var(--kai26-gray-600);
}

.kai26-teacher.is-flipped .kai26-teacher__quote {
  display: -webkit-box;
  flex-shrink: 0;
}

.kai26-teacher.is-flipped .kai26-teacher__more {
  margin-top: auto;
  background: transparent;
}

/* і наведення — лише там, де є миша (на сенсорних екранах :hover «залипає» після дотику) */
@media (hover: hover) {
  .kai26-teacher:hover .kai26-teacher__photo,
  .kai26-teacher:hover::before {
    opacity: 0;
  }

  .kai26-teacher:hover .kai26-teacher__body {
    justify-content: flex-start;
    padding-top: calc(102px + 38 * var(--p));
  }

  .kai26-teacher:hover .kai26-teacher__badges li {
    background: var(--kai26-blue);
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .kai26-teacher:hover .kai26-teacher__name {
    color: var(--kai26-text);
  }

  .kai26-teacher:hover .kai26-teacher__position {
    color: var(--kai26-gray-600);
  }

  .kai26-teacher:hover .kai26-teacher__quote {
    display: -webkit-box;
    flex-shrink: 0;
  }

  .kai26-teacher:hover .kai26-teacher__more {
    margin-top: auto;
    background: transparent;
  }
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* ---------- Відгуки ---------- */
.kai26-reviews {
  padding: calc(44px + 20 * var(--p)) 0;
  background: var(--kai26-blue);
  overflow: hidden;
}

.kai26-reviews__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  margin-bottom: calc(32px + 16 * var(--p));
}

.kai26-reviews__head .kai26-section-title {
  text-align: left;
}

.kai26-reviews__nav {
  display: flex;
  gap: calc(8px + 4 * var(--p));
}

.kai26-round-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(48px + 16 * var(--p));
  height: calc(48px + 16 * var(--p));
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s, opacity .2s;
}

.kai26-round-btn:hover {
  background: rgba(255, 255, 255, .45);
}

.kai26-round-btn:disabled {
  opacity: .4;
  cursor: default;
}

.kai26-round-btn .kai26-icon {
  width: calc(24px + 8 * var(--p));
  height: calc(24px + 8 * var(--p));
}

.kai26-reviews__track {
  display: flex;
  gap: 24px;
  transition: transform .45s ease;
}

.kai26-review {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(470px + 216 * var(--p));
  height: calc(420px + 140 * var(--p));
  opacity: .2;
  transition: opacity .45s;
}

/* JS ставить стани; без JS — як у макеті: 1-ша, 2-га (.85), решта .2 */
.kai26-review:first-child,
.kai26-review.is-current {
  opacity: 1;
}

.kai26-review:nth-child(2),
.kai26-review.is-next {
  opacity: .85;
}

.kai26-reviews__track.is-ready .kai26-review {
  opacity: .2;
}

.kai26-reviews__track.is-ready .kai26-review.is-current {
  opacity: 1;
}

.kai26-reviews__track.is-ready .kai26-review.is-next {
  opacity: .85;
}

.kai26-reviews__track.is-ready .kai26-review.is-past {
  opacity: 0;
}

/* повернута напівпрозора підкладка */
.kai26-review::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: calc(426px + 197 * var(--p));
  height: calc(365px + 169 * var(--p));
  background: rgba(255, 255, 255, .33);
  border-radius: calc(32px + 8 * var(--p));
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
  transform: translate(-50%, -50%) rotate(7deg);
}

.kai26-review__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(446px + 216 * var(--p));
  height: calc(380px + 140 * var(--p));
  padding: calc(32px + 8 * var(--p));
  background: #fff;
  border-radius: calc(32px + 8 * var(--p));
  box-shadow: 0 0 20px rgba(0, 0, 0, .1);
}

.kai26-review__role {
  display: inline-block;
  min-height: calc(43px + 27 * var(--p));
  margin-bottom: calc(16px + 4 * var(--p));
  padding: calc(13px + 10 * var(--p)) calc(22px + 10 * var(--p)) calc(14px + 9 * var(--p));
  background: url('../img/clouds/bubble-sky.svg') no-repeat center / 100% 100%;
  color: var(--kai26-blue-800);
  font-size: calc(12px + 4 * var(--p));
  line-height: calc(16px + 8 * var(--p));
}

.kai26-review__role::first-letter {
  text-transform: uppercase;
}

.kai26-review__name {
  margin-bottom: calc(8px + 8 * var(--p));
  color: var(--kai26-text);
  font-weight: 500;
  font-size: calc(20px + 10 * var(--p));
  line-height: calc(28px + 8 * var(--p));
  text-align: center;
}

.kai26-review__text {
  align-self: stretch;
  color: var(--kai26-gray-900);
  font-size: calc(16px + 4 * var(--p));
  line-height: calc(24px + 4 * var(--p));
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 9;
  overflow: hidden;
}

/* ---------- Не зволікай + форма ---------- */
.kai26-contact {
  padding: calc(44px + 12 * var(--p)) 0;
  background: var(--kai26-blue);
}

.kai26-contact__inner {
  display: flex;
  justify-content: center;
  gap: 84px;
}

.kai26-contact__text {
  width: calc(466px + 220 * var(--p));
  flex: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: calc(36px + 12 * var(--p));
  color: #fff;
}

.kai26-contact__title {
  font-weight: 700;
  font-size: calc(48px + 24 * var(--p));
  line-height: calc(48px + 24 * var(--p));
}

.kai26-contact__subtitle {
  margin-top: calc(20px + 8 * var(--p));
  font-size: calc(20px + 10 * var(--p));
  line-height: calc(28px + 8 * var(--p));
}

.kai26-contact__list {
  display: flex;
  flex-direction: column;
  gap: calc(24px + 8 * var(--p));
}

.kai26-contact__list li {
  display: flex;
  align-items: center;
  gap: calc(16px + 4 * var(--p));
  min-height: calc(48px + 20 * var(--p));
  font-size: calc(16px + 8 * var(--p));
  line-height: calc(24px + 8 * var(--p));
}

.kai26-contact__list a:hover {
  text-decoration: underline;
}

.kai26-contact__icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(44px + 12 * var(--p));
  height: calc(44px + 12 * var(--p));
  background: #fff;
  border-radius: calc(10px + 2 * var(--p));
  color: var(--kai26-blue);
}

.kai26-contact__icon .kai26-icon {
  width: calc(28px + 8 * var(--p));
  height: calc(28px + 8 * var(--p));
}

.kai26-contact__phones {
  display: grid;
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  column-gap: calc(20px + 8 * var(--p));
  row-gap: calc(0px + 4 * var(--p));
}

.kai26-contact__emails {
  display: flex;
  flex-direction: column;
  gap: calc(0px + 4 * var(--p));
}

.kai26-contact__form-wrap {
  position: relative;
  width: calc(602px + 308 * var(--p));
  flex: none;
  padding: calc(40px + 24 * var(--p)) calc(52px + 53 * var(--p)) 0;
}

.kai26-contact__logo {
  position: absolute;
  top: 0;
  left: calc(138px + 56 * var(--p));
  width: calc(326px + 196 * var(--p));
  height: auto;
}

.kai26-contact__cloud {
  position: absolute;
  pointer-events: none;
}

.kai26-contact__cloud--back {
  left: calc(474px + 227 * var(--p));
  top: calc(319px + 108 * var(--p));
  width: calc(128px + 83 * var(--p));
  height: auto;
}

.kai26-contact__cloud--front {
  z-index: 2;
  left: 0;
  top: calc(37px + 9 * var(--p));
  width: calc(87px + 68 * var(--p));
  height: auto;
}

.kai26-form {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: calc(32px + 4 * var(--p));
  min-height: calc(462px + 148 * var(--p));
  padding: calc(25px + 12 * var(--p));
  background: var(--kai26-blue-50);
  border-radius: var(--kai26-radius-xl);
  box-shadow: inset 0 0 0 1px var(--kai26-blue-200), 0 0 10px rgba(38, 124, 235, .5);
}

.kai26-form__title {
  margin-bottom: calc(-8px + 4 * var(--p));
  color: var(--kai26-text);
  font-weight: 600;
  font-size: calc(20px + 10 * var(--p));
  line-height: calc(28px + 8 * var(--p));
  text-align: center;
}

.kai26-form__fields {
  display: flex;
  flex-direction: column;
  gap: calc(16px + 4 * var(--p));
}

.kai26-form__fields input,
.kai26-form__fields textarea {
  display: block;
  width: 100%;
  height: calc(48px + 16 * var(--p));
  padding: 12px calc(21px + 4 * var(--p));
  border: 0;
  border-radius: calc(16px + 4 * var(--p));
  background: #fff;
  box-shadow: inset 0 0 0 1px #fff, 0 0 30px rgba(0, 0, 0, .05);
  color: var(--kai26-text);
  font: inherit;
  font-size: calc(16px + 8 * var(--p));
  line-height: calc(24px + 8 * var(--p));
  transition: box-shadow .2s;
}

/* 3 рядки тексту */
.kai26-form__fields textarea {
  height: calc(96px + 24 * var(--p));
  min-height: calc(48px + 16 * var(--p));
  resize: vertical;
}

.kai26-form__fields ::placeholder {
  color: var(--kai26-gray-400);
  opacity: 1;
}

.kai26-form__fields :is(input, textarea):focus {
  outline: none;
  box-shadow: inset 0 0 0 2px var(--kai26-blue-300), 0 0 30px rgba(0, 0, 0, .05);
}

/* Contact Form 7: підказки помилок, спінер, повідомлення про результат */
.kai26-form .wpcf7-form-control-wrap {
  display: block;
}

.kai26-form__fields .wpcf7-not-valid {
  box-shadow: inset 0 0 0 2px #e5484d, 0 0 30px rgba(0, 0, 0, .05);
}

.kai26-form .wpcf7-not-valid-tip {
  margin: 4px calc(21px + 4 * var(--p)) 0;
  color: #d92d33;
  font-size: calc(14px + 2 * var(--p));
  line-height: calc(20px + 4 * var(--p));
}

.kai26-form__submit {
  position: relative;
}

.kai26-form .wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: calc(16px + 4 * var(--p));
  margin: -12px 0 0;
  background-color: rgba(255, 255, 255, .5);
}

.wpcf7 form.kai26-form .wpcf7-response-output {
  margin: calc(-16px + 4 * var(--p)) 0 0;
  padding: 12px 16px;
  border: 0;
  border-radius: calc(16px + 4 * var(--p));
  background: #fff;
  color: var(--kai26-text);
  font-size: calc(14px + 4 * var(--p));
  line-height: calc(20px + 8 * var(--p));
  text-align: center;
}

.wpcf7 form.kai26-form.sent .wpcf7-response-output {
  background: #e6f6ec;
  color: #1a7f45;
}

.wpcf7 form.kai26-form:is(.failed, .aborted, .spam, .invalid, .unaccepted) .wpcf7-response-output {
  background: #fdecec;
  color: #b42318;
}

.kai26-form__consent {
  margin-bottom: calc(-8px + -4 * var(--p));
  color: var(--kai26-gray-700);
  font-size: calc(14px + 4 * var(--p));
  line-height: calc(20px + 8 * var(--p));
  text-align: center;
}

.kai26-form__btn {
  width: 100%;
  min-height: calc(48px + 16 * var(--p));
  gap: calc(6px + 2 * var(--p));
  font-size: calc(16px + 4 * var(--p));
  line-height: calc(24px + 4 * var(--p));
}

/* ---------- Як нас знайти ---------- */
.kai26-location {
  padding: calc(44px + 20 * var(--p)) 0 calc(140px + 60 * var(--p));
  background: #fff url('../img/location-bg-1280.webp') no-repeat center bottom / 100% 100%;
}

@media (min-resolution: 1.5dppx), (min-width: 1650px) {
  .kai26-location {
    background-image: url('../img/location-bg-2560.webp');
  }
}

.kai26-location__content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 82px;
  margin-top: calc(56px + 8 * var(--p));
}

.kai26-location__text {
  width: calc(468px + 218 * var(--p));
  flex: none;
  display: flex;
  flex-direction: column;
  gap: calc(36px + 8 * var(--p));
}

.kai26-location__address {
  display: flex;
  align-items: center;
  gap: calc(16px + 8 * var(--p));
  padding: calc(16px + 12 * var(--p));
  background: #fff;
  border-radius: calc(24px + 4 * var(--p));
  box-shadow: var(--kai26-shadow-blue);
}

.kai26-location__ways {
  display: flex;
  flex-direction: column;
  gap: calc(20px + 8 * var(--p));
}

.kai26-location .kai26-feature__text {
  gap: calc(0px + 8 * var(--p));
}

.kai26-location__btn {
  width: calc(370px + 174 * var(--p));
  min-height: calc(48px + 16 * var(--p));
  gap: calc(6px + 2 * var(--p));
  font-size: calc(16px + 4 * var(--p));
  line-height: calc(24px + 4 * var(--p));
}

.kai26-location__map {
  position: relative;
  width: calc(602px + 310 * var(--p));
  height: calc(340px + 100 * var(--p));
  flex: none;
  overflow: hidden;
  background: var(--kai26-blue-50);
  border-radius: calc(32px + 8 * var(--p));
  box-shadow: var(--kai26-shadow-blue);
}

/* рамка поверх карти */
.kai26-location__map::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px var(--kai26-blue-200);
  pointer-events: none;
}

.kai26-location__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Футер ---------- */
.kai26-footer {
  position: relative;
  overflow: hidden;
  padding: calc(64px + 56 * var(--p)) 0 calc(32px + 32 * var(--p));
  background: var(--kai26-blue-950);
  color: #fff;
}

.kai26-footer__art {
  position: absolute;
  top: calc(calc(37px + 21 * var(--p)) - calc(64px + 56 * var(--p)));
  right: 0;
  width: calc(617px + 247 * var(--p));
  height: calc(241px + 97 * var(--p));
  max-width: none;
  opacity: .9;
  pointer-events: none;
}

.kai26-footer__inner {
  position: relative;
  max-width: calc(1180px + 540 * var(--p));
  margin: 0 auto;
}

.kai26-footer__top {
  display: flex;
  gap: calc(32px + 48 * var(--p));
  padding-bottom: 92px;
  border-bottom: 1px solid #1E478A;
  position: relative;
}

.kai26-footer__info {
  width: calc(300px + 157 * var(--p));
  flex: none;
  display: flex;
  flex-direction: column;
  gap: calc(40px + 24 * var(--p));
}

.kai26-footer__info img {
  width: calc(266px + 191 * var(--p));
  height: auto;
}

.kai26-footer__socials {
  display: flex;
  gap: calc(16px + 8 * var(--p));
}

.kai26-footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(48px + 16 * var(--p));
  height: calc(48px + 16 * var(--p));
  background: rgba(29, 101, 216, .3);
  border-radius: calc(10px + 2 * var(--p));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  transition: background-color .2s;
}

.kai26-footer__socials a:hover {
  background: rgba(29, 101, 216, .6);
}

.kai26-footer__socials .kai26-icon {
  width: calc(24px + 12 * var(--p));
  height: calc(24px + 12 * var(--p));
}

.kai26-footer__links {
  display: flex;
  flex-direction: column;
  gap: calc(24px + 12 * var(--p));
}

.kai26-footer__actions {
  display: flex;
  gap: 24px;
}

.kai26-footer__pill {
  display: inline-flex;
  align-items: center;
  gap: calc(6px + 2 * var(--p));
  height: calc(36px + 12 * var(--p));
  padding: calc(10px + 2 * var(--p)) calc(14px + 4 * var(--p));
  background: #fff;
  border-radius: 999px;
  color: var(--kai26-blue);
  font-weight: 500;
  font-size: calc(12px + 4 * var(--p));
  line-height: calc(16px + 8 * var(--p));
  transition: background-color .2s;
}

.kai26-footer__pill:hover {
  background: var(--kai26-blue-50);
}

.kai26-footer__pill img,
.kai26-footer__pill .kai26-icon {
  width: calc(16px + 8 * var(--p));
  height: calc(16px + 8 * var(--p));
  margin-left: 2px;
}

/* ширина — як перший рядок адреси в макеті: довша адреса переноситься, а не заходить на картинку */
.kai26-footer__address {
  display: flex;
  align-items: center;
  max-width: calc(364px + 122 * var(--p));
  gap: calc(12px + 8 * var(--p));
  font-size: calc(14px + 4 * var(--p));
  line-height: calc(20px + 8 * var(--p));
}

.kai26-footer__address-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(32px + 24 * var(--p));
  height: calc(32px + 24 * var(--p));
  background: rgba(29, 101, 216, .3);
  border-radius: calc(8px + 2 * var(--p));
  color: #fff;
}

.kai26-footer__address-icon .kai26-icon {
  width: calc(20px + 16 * var(--p));
  height: calc(20px + 16 * var(--p));
}

/* крапка всередині мітки — колір плашки, як у макеті */
.kai26-footer__address-icon .kai26-icon path:last-child {
  fill: #193D7C;
  stroke: #193D7C;
}

.kai26-footer__muted {
  color: var(--kai26-gray-300);
}

.kai26-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: calc(52px + 24 * var(--p));
  padding-top: calc(16px + 16 * var(--p));
}

.kai26-footer__copy {
  color: var(--kai26-blue-100);
  font-size: calc(12px + 4 * var(--p));
  line-height: calc(16px + 8 * var(--p));
}

.kai26-footer__doc {
  display: inline-flex;
  align-items: center;
  gap: calc(6px + 2 * var(--p));
  height: calc(36px + 8 * var(--p));
  padding: 10px calc(14px + 2 * var(--p));
  border-radius: calc(12px + 4 * var(--p));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .4);
  color: #fff;
  font-weight: 500;
  font-size: calc(12px + 4 * var(--p));
  line-height: calc(16px + 8 * var(--p));
  transition: background-color .2s;
}

.kai26-footer__doc:hover {
  background: rgba(255, 255, 255, .08);
}

.kai26-footer__doc .kai26-icon {
  width: calc(16px + 8 * var(--p));
  height: calc(16px + 8 * var(--p));
  margin-left: 2px;
}

@media (min-width: 1650px) {
  .kai26-footer__pill,
  .kai26-footer__doc {
    font-weight: 600;
  }
}

/* ==========================================================================
   MOBILE (до 1023px). Макет: Mobile 390. На 768–1023 — та сама розкладка, ширша.
   Нижче 1024 --p = 0, тож базові значення — Laptop; тут — перевизначення під мобайл.
   ========================================================================== */

@media (max-width: 1023px) {
  :root {
    --kai26-gutter: 16px;
    --kai26-header-h: 72px;
  }

  /* ---------- Шапка ---------- */
  .kai26-header {
    top: 0;
    left: 0;
    right: 0;
    padding: 8px 8px 0;
    transition: background-color .3s;
  }

  .admin-bar .kai26-header {
    top: 46px;
  }

  .kai26-header__bar {
    justify-content: space-between;
    gap: 16px;
    height: 52px;
    padding: 0 12px;
    border-radius: 16px;
  }

  .kai26-header__logo img {
    width: 130px;
  }

  .kai26-header__nav {
    display: none;
  }

  .kai26-header__cta {
    min-height: 36px;
    margin-left: auto;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-header__burger,
  .kai26-header--no-pages .kai26-header__burger {
    display: flex;
    width: 28px;
    height: 28px;
    margin: 0;
    border-radius: 0;
  }

  .kai26-header__burger:hover,
  .kai26-header.is-scrolled .kai26-header__burger:hover {
    background: none;
  }

  .kai26-header__burger .kai26-icon {
    width: 24px;
    height: 24px;
  }

  .kai26-header__burger .kai26-header__icon-close {
    display: none;
    width: 28px;
    height: 28px;
  }

  /* відкрите меню: шапка стає панеллю на всю ширину */
  .kai26-header.is-open {
    background: rgba(255, 255, 255, .9);
    -webkit-backdrop-filter: blur(17px);
    backdrop-filter: blur(17px);
  }

  .kai26-header.is-open .kai26-header__icon-open {
    display: none;
  }

  .kai26-header.is-open .kai26-header__icon-close {
    display: block;
  }

  .kai26-header__menu,
  .kai26-header.is-scrolled .kai26-header__menu {
    position: static;
    width: auto;
    max-height: calc(100vh - 72px);
    margin: 12px -8px 0;
    padding: 0 0 16px;
    background: none;
    border-radius: 0;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .kai26-header__menu,
  .kai26-header__menu-anchors {
    display: flex;
    flex-direction: column;
  }

  .kai26-header__menu[hidden] {
    display: none;
  }

  .kai26-header__menu a,
  .kai26-header__menu-heading {
    padding: 16px 16px;
    border-bottom: 1px solid var(--kai26-blue-100);
    border-radius: 0;
    color: var(--kai26-blue);
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }

  .kai26-header__menu a:hover {
    background: none;
  }

  /* сторінка з тією ж назвою, що й пункт сторінки вище («Контакти») */
  .kai26-header__menu a.kai26-header__menu-dup {
    display: none;
  }

  .kai26-header__menu-heading {
    padding: 20px 16px 8px;
    border-bottom: 0;
    color: var(--kai26-gray-400);
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-header__menu-group,
  .kai26-header__menu-anchors + .kai26-header__menu-group,
  .kai26-header__menu-group:not(:last-child) {
    margin: 0;
    padding: 0;
    border: 0;
  }

  /* синій варіант (після прокрутки) */
  .kai26-header.is-scrolled .kai26-header__burger {
    color: #fff;
  }

  .kai26-header.is-scrolled.is-open {
    background: var(--kai26-blue);
  }

  .kai26-header.is-scrolled .kai26-header__menu a {
    border-bottom-color: rgba(255, 255, 255, .2);
  }

  .kai26-header.is-scrolled .kai26-header__menu a:hover {
    background: none;
  }

  /* ---------- Hero ---------- */
  .kai26-hero {
    /* кадр 390×726: текст зверху на білому, дівчина внизу */
    min-height: min(calc(100vw * 726 / 390), 1100px);
    padding: 72px var(--kai26-gutter) 0;
    align-items: flex-start;
  }

  .kai26-hero__bg {
    object-position: center bottom;
  }

  .kai26-hero__inner {
    max-width: 560px;
    margin: 0;
  }

  .kai26-hero__text {
    width: 100%;
    padding: 0;
    gap: 0;
  }

  .kai26-hero__head {
    gap: 8px;
  }

  .kai26-hero__subtitle {
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-hero__title {
    font-size: 30px;
    line-height: 36px;
  }

  .kai26-hero__desc {
    font-size: 14px;
    line-height: 20px;
  }

  .kai26-hero__actions {
    flex-direction: column;
    gap: 16px;
    padding-top: 8px;
  }

  .kai26-hero__actions .kai26-btn {
    flex: none;
    min-height: 40px;
    padding: 10px 16px;
    gap: 4px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
  }

  .kai26-hero__actions .kai26-icon {
    width: 16px;
    height: 16px;
    margin-left: 2px;
  }

  .kai26-hero__divider,
  .kai26-hero__stats {
    display: none;
  }

  /* ---------- Цифри (Social Proof) ---------- */
  .kai26-proof {
    display: block;
    padding: 24px var(--kai26-gutter);
    background: #fff;
  }

  .kai26-proof .kai26-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: 560px;
    margin: 0 auto;
  }

  .kai26-proof .kai26-stat {
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    min-height: 80px;
    padding: 16px 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px var(--kai26-blue-100), 0 4px 8px rgba(38, 124, 235, .18);
    text-align: center;
  }

  .kai26-proof .kai26-stat__value {
    font-size: 20px;
    line-height: 28px;
  }

  .kai26-proof .kai26-stat__label {
    max-width: none;
    font-size: 12px;
    line-height: 16px;
  }

  /* ---------- Заголовки секцій ---------- */
  .kai26-section-title {
    font-size: 24px;
    line-height: 32px;
  }

  /* ---------- Чому обирають нас ---------- */
  .kai26-why {
    position: relative;
    overflow: hidden;
    min-height: 729px;
    padding: 24px 0;
  }

  .kai26-why .kai26-section-title {
    margin-bottom: 12px;
  }

  .kai26-why__bg {
    display: none;
  }

  .kai26-why__bg-m {
    display: block;
    position: absolute;
    top: 261px;
    left: 50%;
    width: 1152px;
    max-width: none;
    height: 468px;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .kai26-why__stage {
    position: relative;
    height: auto;
    max-width: 358px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 244px;
  }

  .kai26-why__items {
    position: relative;
    height: 328px;
  }

  /* пункт на всю ширину блоку 358: відсотки нижче — від нього */
  .kai26-why__item {
    left: 0;
    top: var(--my);
    width: 100%;
  }

  .kai26-why__card {
    width: var(--mw);
    margin-left: var(--mx);
    min-height: 42px;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(38, 124, 235, .18);
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-why__card > span {
    max-width: none;
  }

  /* переноси з Кастомайзера — для десктопу; тут текст переноситься сам */
  .kai26-why__card br {
    display: none;
  }

  .kai26-why__cloud {
    left: calc(var(--mx) + var(--mcx));
    top: var(--mcy);
    width: var(--mcw);
    z-index: 1;
  }

  .kai26-why__badge {
    font-size: 10px;
    line-height: 11px;
  }

  .kai26-why__badge strong {
    font-size: 12px;
  }

  .kai26-why__btn {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 10px 16px;
    gap: 4px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    transform: none;
  }

  .kai26-why__btn:active {
    transform: translateY(1px);
  }

  /* ---------- Предмети ---------- */
  .kai26-subjects {
    padding: 24px 0;
  }

  .kai26-subjects__cloud {
    display: none;
  }

  .kai26-subjects__list {
    max-width: 358px;
    gap: 12px 8px;
    margin: 32px auto 20px;
  }

  .kai26-subject {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .kai26-subjects__programs {
    margin: -4px 0 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
  }

  .kai26-subjects__btn {
    width: 100%;
    max-width: 358px;
    min-width: 0;
    min-height: 40px;
    padding: 10px 16px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
  }

  /* ---------- Формати занять ---------- */
  .kai26-formats {
    padding: 32px 0;
  }

  .kai26-formats__row {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    max-width: 358px;
    margin: 32px auto 0;
  }

  .kai26-formats__col {
    width: 258px;
    padding-top: 0;
  }

  .kai26-formats__col--online {
    align-self: flex-end;
    width: 233px;
    order: 3;
  }

  .kai26-formats__box {
    gap: 12px;
    padding-top: 28px;
  }

  .kai26-formats__col--online .kai26-formats__box {
    width: 100%;
    padding-top: 19px;
  }

  .kai26-formats__logo {
    width: 140px;
  }

  .kai26-formats__online {
    font-size: 36px;
    line-height: 40px;
  }

  .kai26-formats .kai26-badge {
    gap: 8px;
    padding: 3px 9px;
    border-radius: 6px;
    box-shadow: inset 0 0 0 1px var(--kai26-blue-200);
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-formats .kai26-badge .kai26-icon {
    width: 12px;
    height: 12px;
  }

  .kai26-formats .kai26-badge span {
    flex: none;
    white-space: nowrap;
    text-align: left;
  }

  .kai26-formats__cloud {
    top: 0;
    left: 160px;
    width: 69px;
  }

  .kai26-formats__col--online .kai26-formats__cloud {
    top: 0;
    left: 62px;
    width: 50px;
  }

  .kai26-formats__rocket {
    align-self: center;
    width: 167px;
    height: 193px;
    margin-left: 18px; /* у макеті ракета трохи правіше центру */
  }

  /* ---------- Вартість навчання ---------- */
  .kai26-pricing {
    padding: 24px 0;
    background: linear-gradient(180deg, var(--kai26-blue) 0, #fff 376px);
  }

  .kai26-pricing__head {
    flex-direction: column;
    gap: 24px;
    max-width: 358px;
    margin: 0 auto;
  }

  .kai26-pricing__title {
    width: auto;
    text-align: center;
  }

  .kai26-pricing__cards {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-height: 0;
    padding-left: 0;
  }

  .kai26-price {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    width: auto;
    height: 88px;
    padding: 21px 17px;
    border-radius: 16px;
  }

  .kai26-price__title {
    font-size: 14px;
    line-height: 20px;
  }

  .kai26-price__value {
    flex: none;
    gap: 2px;
  }

  .kai26-price__sum {
    font-size: 20px;
    line-height: 28px;
  }

  .kai26-price__period {
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-price--best {
    align-items: center;
    margin-top: 10px;
    border-radius: 12px;
  }

  .kai26-price__saving {
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-price__badge {
    top: -10px;
    padding: 2px 8px;
    font-size: 12px;
    line-height: 16px;
  }

  /* ---------- Ви отримуєте ---------- */
  .kai26-get {
    flex-direction: column;
    align-items: stretch;
    gap: 30px; /* картинка починається одразу під тінню кнопки */
    max-width: 358px;
    margin: 44px auto 0;
  }

  .kai26-get__text {
    width: auto;
    gap: 24px;
  }

  .kai26-get__title {
    max-width: none;
    text-align: center;
  }

  .kai26-get__list {
    gap: 16px;
  }

  .kai26-feature {
    align-items: flex-start;
    gap: 16px;
  }

  .kai26-feature__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .kai26-feature__icon img {
    width: 30px;
    height: 30px;
  }

  .kai26-feature__text {
    gap: 2px;
    font-size: 14px;
    line-height: 20px;
  }

  .kai26-feature__text strong {
    font-size: 16px;
    line-height: 24px;
  }

  .kai26-get__btn {
    width: 100%;
    min-height: 40px;
    padding: 10px 16px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
  }

  .kai26-get picture {
    position: static;
    width: 100%;
  }

  .kai26-get picture .kai26-get__image {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
  }

  /* ---------- Як організоване навчання ---------- */
  .kai26-org {
    padding: 24px 0;
    background: linear-gradient(180deg, #fff 59%, var(--kai26-blue-50) 100%);
  }

  .kai26-org .kai26-container {
    max-width: calc(358px + 2 * var(--kai26-gutter));
  }

  .kai26-org__cards {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 24px 0;
  }

  .kai26-org-card {
    min-height: 0;
    padding: 21px 17px;
    border-radius: 20px;
  }

  .kai26-org-card__title {
    gap: 12px;
    margin-bottom: 24px;
    font-size: 18px;
    line-height: 28px;
  }

  .kai26-org-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .kai26-org-card__icon .kai26-icon {
    width: 22px;
    height: 22px;
  }

  .kai26-org-card__list {
    gap: 8px;
  }

  .kai26-org-card__list li {
    align-items: flex-start; /* номер — навпроти першого рядка */
    gap: 12px;
    min-height: 24px;
    padding-top: 2px;
    font-size: 14px;
    line-height: 20px;
  }

  .kai26-org-card__list li::before {
    width: 24px;
    height: 24px;
    margin-top: -2px;
    font-size: 12px;
    line-height: 16px;
  }

  /* банер розкладу: текст і кнопка зверху, календар знизу */
  .kai26-banner {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    height: auto;
    min-height: 340px;
    padding: 25px 25px 65px;
    border-radius: 24px;
  }

  .kai26-banner__clouds {
    display: none;
  }

  .kai26-banner__calendar {
    top: auto;
    bottom: 0;
    left: 23px;
    width: 311px;
    height: 173px;
  }

  .kai26-banner__content {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .kai26-banner__title {
    width: 261px;
    max-width: 100%;
    font-size: 18px;
    line-height: 28px;
  }

  .kai26-banner .kai26-btn {
    min-height: 40px;
    padding: 10px 16px;
    gap: 4px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
  }

  .kai26-banner .kai26-btn .kai26-icon {
    width: 16px;
    height: 16px;
    margin-left: 2px;
  }

  /* ---------- Викладачі ---------- */
  .kai26-teachers {
    padding: 24px 0;
  }

  .kai26-teachers__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 358px;
    margin: 24px auto 0;
  }

  .kai26-teacher {
    height: 440px;
    border-radius: 20px;
  }

  .kai26-teacher::before {
    height: 252px;
  }

  .kai26-teacher__exp {
    top: 17px;
    left: 17px;
    right: auto;
    width: 122px;
    height: 46px;
    padding-top: 15px;
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-teacher__flip {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    z-index: 5; /* над посиланням «Детальніше» на всю картку */
    top: 22px;
    right: 17px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: var(--kai26-blue);
    cursor: pointer;
  }

  .kai26-teacher__flip .kai26-icon {
    width: 20px;
    height: 20px;
  }

  .kai26-teacher.is-flipped .kai26-teacher__flip {
    background: var(--kai26-blue-50);
  }

  .kai26-teacher__body {
    padding: 17px;
    gap: 16px;
  }

  .kai26-teacher__badges {
    gap: 8px;
    margin-bottom: 8px;
  }

  .kai26-teacher__badges li {
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-teacher__name {
    font-size: 16px;
    line-height: 24px;
  }

  .kai26-teacher__position {
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-teacher__quote {
    font-size: 14px;
    line-height: 20px;
  }

  .kai26-teacher__more {
    height: 36px;
    padding: 10px 14px;
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-teacher.is-flipped .kai26-teacher__body {
    padding-top: 80px;
  }

  @media (hover: hover) {
    .kai26-teacher:hover .kai26-teacher__body {
      padding-top: 80px;
    }
  }

  /* ---------- Відгуки ---------- */
  .kai26-reviews {
    padding: 24px 0;
  }

  .kai26-reviews .kai26-container {
    max-width: calc(358px + 2 * var(--kai26-gutter));
  }

  .kai26-reviews__head {
    gap: 16px;
    margin-bottom: 24px;
  }

  .kai26-reviews__head .kai26-section-title {
    max-width: 214px;
  }

  .kai26-reviews__nav {
    gap: 8px;
  }

  .kai26-round-btn {
    flex: none;
    width: 40px;
    height: 40px;
  }

  .kai26-round-btn .kai26-icon {
    width: 20px;
    height: 20px;
  }

  .kai26-reviews__track {
    gap: 0;
  }

  .kai26-review {
    width: 332px;
    height: 319px;
  }

  .kai26-review::before {
    width: 300px;
    height: 262px;
  }

  .kai26-review__card {
    width: 308px;
    height: 279px;
    padding: 20px;
  }

  .kai26-review__role {
    margin-bottom: 12px;
  }

  .kai26-review__name {
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 20px;
  }

  .kai26-review__text {
    font-size: 12px;
    line-height: 16px;
    -webkit-line-clamp: 9;
  }

  /* ---------- Не зволікай + форма ---------- */
  .kai26-contact {
    padding: 24px 0;
    overflow-x: clip; /* хмаринка за формою виходить за правий край, як у макеті */
  }

  .kai26-contact__inner {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .kai26-contact__text {
    width: 100%;
    max-width: 358px;
    gap: 24px;
  }

  .kai26-contact__title {
    font-size: 30px;
    line-height: 36px;
  }

  .kai26-contact__subtitle {
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
  }

  .kai26-contact__list {
    gap: 24px;
  }

  .kai26-contact__list li {
    gap: 12px;
    min-height: 40px;
    font-size: 14px;
    line-height: 20px;
  }

  /* адреса на телефоні — суцільним текстом */
  .kai26-contact__list br {
    display: none;
  }

  .kai26-contact__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .kai26-contact__icon .kai26-icon {
    width: 24px;
    height: 24px;
  }

  .kai26-contact__phones {
    column-gap: 20px;
    row-gap: 2px;
  }

  .kai26-contact__emails {
    gap: 2px;
  }

  .kai26-contact__form-wrap {
    width: 100%;
    max-width: 358px;
    padding: 32px 0 0;
  }

  .kai26-contact__logo {
    left: 48px;
    width: 261px;
  }

  .kai26-contact__cloud--front {
    left: -18px;
    top: 16px;
    width: 61px;
  }

  .kai26-contact__cloud--back {
    left: 336px;
    top: 281px;
    width: 78px;
  }

  .kai26-form {
    gap: 32px;
    min-height: 0;
    padding: 17px 13px;
    border-radius: 24px;
  }

  .kai26-form__title {
    margin-bottom: -12px;
    font-size: 18px;
    line-height: 28px;
  }

  .kai26-form__fields {
    gap: 12px;
  }

  .kai26-form__fields input,
  .kai26-form__fields textarea {
    height: 40px;
    padding: 8px 13px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 20px;
  }

  /* 4 рядки: довга підказка на телефоні переноситься */
  .kai26-form__fields textarea {
    height: 96px;
    min-height: 40px;
  }

  .kai26-form .wpcf7-not-valid-tip {
    margin: 2px 13px 0;
    font-size: 12px;
    line-height: 16px;
  }

  .wpcf7 form.kai26-form .wpcf7-response-output {
    margin-top: -16px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-form__consent {
    margin-bottom: -12px;
    font-size: 12px;
    line-height: 16px;
  }

  .kai26-form__btn {
    min-height: 40px;
    padding: 10px 16px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
  }

  /* ---------- Як нас знайти ---------- */
  .kai26-location {
    padding: 24px 0 144px;
    background: #fff url('../img/location-bg-m-951.webp') no-repeat calc(50% - 41px) bottom / 951px 317px;
  }

  @media (min-resolution: 1.5dppx) {
    .kai26-location {
      background-image: url('../img/location-bg-m-1902.webp');
    }
  }

  .kai26-location__content {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    max-width: 358px;
    margin: 24px auto 0;
  }

  .kai26-location__text {
    width: auto;
    gap: 24px;
  }

  .kai26-location__address {
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    border-radius: 16px;
  }

  .kai26-location__ways {
    gap: 16px;
  }

  .kai26-location .kai26-feature__text {
    gap: 2px;
  }

  .kai26-location__address .kai26-feature__text {
    gap: 0;
  }

  .kai26-location__btn {
    width: 100%;
    min-height: 40px;
    padding: 10px 16px;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
  }

  .kai26-location__map {
    width: 100%;
    height: 216px;
    border-radius: 20px;
  }

  /* ---------- Футер ---------- */
  .kai26-footer {
    padding: 40px 0;
  }

  .kai26-footer__top {
    flex-direction: column;
    gap: 32px;
    padding: 0 16px;
    border-bottom: 0;
  }

  .kai26-footer__info {
    width: auto;
    gap: 24px;
  }

  .kai26-footer__info img {
    width: 196px;
  }

  .kai26-footer__links {
    gap: 32px;
  }

  .kai26-footer__address {
    order: 1;
    max-width: none;
    align-items: flex-start;
    gap: 12px;
  }

  .kai26-footer__address br {
    display: none;
  }

  .kai26-footer__muted {
    color: inherit;
  }

  .kai26-footer__actions {
    order: 2;
    gap: 16px;
  }

  .kai26-footer__pill {
    flex: 1;
    justify-content: center;
    gap: 6px;
  }

  .kai26-footer__art {
    position: static;
    align-self: flex-end;
    width: 321px;
    height: 125px;
    margin: -8px -16px 0 0;
  }

  .kai26-footer__bottom {
    flex-direction: column;
    gap: 16px;
    margin: 0 16px;
    padding-top: 16px;
    border-top: 1px solid #1E478A;
  }

  .kai26-footer__doc {
    order: 1;
    justify-content: center;
    width: 100%;
  }

  .kai26-footer__copy {
    order: 2;
    text-align: center;
  }

  /* хмари внизу: ліва і права, як у макеті 390 (від центру екрана) */
  .kai26-subjects__blue-cloud {
    bottom: -1px;
    height: 114px;
  }

  .kai26-subjects__blue-cloud--left {
    left: calc(50% - 389px);
    width: 394px;
  }

  .kai26-subjects__blue-cloud--right {
    left: calc(50% - 20px);
    right: auto;
    width: 409px;
  }
}
