/* Edu.Qaldy — дизайн-система по мотивам Atlassian style reference */
:root {
  --blue: #1868db;
  --navy: #101214;
  --carbon: #292a2e;
  --slate: #1c2b42;
  --indigo: #42526e;
  --white: #ffffff;
  --fog: #f0f1f2;
  --ash: #b7b9be;
  --yellow: #fca700;
  --lavender: #eed7fc;
  --violet: #bf63f3;
  --green: #37b24d;
  --tinted: #e9f2fe;
  --font-display: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-text: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --shadow-subtle: rgba(9, 30, 66, 0.31) 0px 0px 1px 0px, rgba(9, 30, 66, 0.25) 0px 1px 1px 0px;
  --shadow-card: rgba(9, 30, 66, 0.15) 0px 4px 16px -4px, rgba(9, 30, 66, 0.1) 0px 1px 2px 0px;
  --radius-card: 20px;
  --radius-btn: 28px;
  --radius-input: 8px;
  --page-max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--page-max); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.14; letter-spacing: 0.012em; }

/* ─── Навигация ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--fog);
  height: 60px;
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--navy); text-decoration: none; white-space: nowrap; }
.nav-logo:hover { text-decoration: none; }
.nav-logo .tri { width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 16px solid var(--blue); display: inline-block; }
.nav-logo .dot { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--navy); }
.nav-links a:hover { color: var(--blue); text-decoration: none; }
.nav-ext { color: var(--indigo) !important; }
.nav-ext:hover { color: var(--blue) !important; }
.nav-cta { background: var(--blue); color: var(--white) !important; padding: 9px 20px; border-radius: var(--radius-btn); font-weight: 500; }
.nav-cta:hover { background: #1257bb; }
.nav-burger { display: none; background: none; border: none; font-size: 26px; cursor: pointer; color: var(--navy); line-height: 1; }

/* ─── Кнопки ─── */
.btn { display: inline-block; font-family: var(--font-text); font-size: 16px; font-weight: 500; padding: 12px 26px; border-radius: var(--radius-btn); border: none; cursor: pointer; text-align: center; transition: background .15s, transform .1s; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: #1257bb; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #e69700; }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-ghost-dark { background: transparent; color: var(--navy); border: 1px solid var(--navy); }
.btn-ghost-dark:hover { background: var(--fog); }
.btn-sm { font-size: 14px; padding: 8px 18px; }

/* ─── Hero ─── */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero .wrap { position: relative; z-index: 2; padding-top: 80px; padding-bottom: 72px; }
.hero h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 700; line-height: 1.05; color: var(--white); max-width: 850px; }
.hero h1 .accent { color: var(--yellow); }
.hero p.sub { font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.82); max-width: 640px; margin-top: 24px; }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 48px; margin-top: 56px; flex-wrap: wrap; }
.hero-stats .stat b { display: block; font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--white); line-height: 1.1; }
.hero-stats .stat span { font-size: 14px; color: rgba(255,255,255,.65); }
/* Конфетти-фрагменты */
.confetti { position: absolute; z-index: 1; }
.c1 { width: 120px; height: 34px; background: var(--violet); transform: rotate(-14deg); top: 40px; right: -30px; }
.c2 { width: 80px; height: 80px; background: var(--yellow); transform: rotate(22deg); bottom: 60px; right: 90px; }
.c3 { width: 150px; height: 26px; background: var(--blue); transform: rotate(8deg); bottom: -8px; right: 240px; }
.c4 { width: 56px; height: 56px; background: var(--green); transform: rotate(-18deg); top: 130px; right: 170px; }
.c5 { width: 90px; height: 22px; background: var(--violet); transform: rotate(30deg); top: 30px; left: -34px; }
.c6 { width: 46px; height: 46px; background: var(--yellow); transform: rotate(-24deg); bottom: 30px; left: -12px; }

/* ─── Секции ─── */
.section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; }
.section-head h2 .underline { position: relative; white-space: nowrap; }
.section-head h2 .underline::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'%3E%3Cpath d='M2 7 Q30 2 55 6 T98 4' fill='none' stroke='%23fca700' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%; }
.section-head p { color: var(--indigo); margin-top: 16px; }
.band-lavender { background: var(--lavender); }
.band-fog { background: var(--fog); }
.band-dark { background: var(--navy); color: var(--white); }
.band-dark h2, .band-dark h3 { color: var(--white); }

/* ─── Фильтры каталога ─── */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip { font-size: 14px; font-weight: 500; padding: 8px 18px; border-radius: 10000px; border: 1px solid var(--ash); background: var(--white); color: var(--navy); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.search-row { max-width: 480px; margin: 0 auto 28px; }
.search-row input { width: 100%; padding: 12px 18px; font-size: 16px; font-family: var(--font-text); border: 1px solid var(--ash); border-radius: var(--radius-input); outline: none; }
.search-row input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px var(--tinted); }

/* ─── Карточки программ ─── */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.card {
  background: var(--white); border: 1px solid var(--fog); border-radius: var(--radius-card);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow-subtle); transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.card:hover { border-color: #e3e4e6; }
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.badge { font-size: 13px; font-weight: 500; padding: 4px 12px; border-radius: 10000px; background: var(--fog); color: var(--indigo); }
.badge-blue { background: var(--tinted); color: var(--blue); }
.card h3 { font-size: 20px; font-weight: 700; line-height: 1.25; }
.card h3 a { color: var(--navy); }
.card h3 a:hover { color: var(--blue); text-decoration: none; }
.card p { font-size: 14px; color: var(--indigo); flex-grow: 1; }
.card-actions { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.card .num { font-family: var(--font-display); font-weight: 800; font-size: 13px; color: var(--ash); }

/* ─── Общая анимация «фреймов»: приподнимаются и отбрасывают тень ─── */
.method-step, .format-card, .side-card, .module, .step-item, .card, .stat-frame {
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
}
.method-step:hover, .format-card:hover, .side-card:hover, .module:hover,
.step-item:hover, .card:hover, .stat-frame:hover {
  transform: translateY(-4px);
  box-shadow: rgba(9, 30, 66, 0.18) 0px 14px 32px -10px, rgba(9, 30, 66, 0.12) 0px 3px 8px -2px;
}
.partner-list li { transition: transform .22s ease, background .22s ease, border-color .22s ease; }
.partner-list li:hover { transform: translateY(-3px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
@media (prefers-reduced-motion: reduce) {
  .method-step, .format-card, .side-card, .module, .step-item, .card,
  .partner-list li, .trainer-photo a.ph { transition: none; }
  .method-step:hover, .format-card:hover, .side-card:hover, .module:hover,
  .step-item:hover, .card:hover, .partner-list li:hover, .trainer-photo a.ph:hover { transform: none; }
}

/* ─── Методология ─── */
.method-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 20px; }
.method-step { background: var(--white); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-subtle); }
.method-step .step-num { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--blue); }
.method-step h3 { font-size: 18px; margin: 10px 0 8px; font-weight: 700; }
.method-step p { font-size: 14px; color: var(--indigo); }

/* ─── Тренер ─── */
.trainer-flex { display: flex; gap: 48px; align-items: flex-start; }
.trainer-photo { flex: 0 0 210px; }
.trainer-photo .ph {
  width: 210px; height: 280px; border-radius: var(--radius-card);
  background: var(--white); border: 1px solid var(--fog);
  box-shadow: rgba(9, 30, 66, 0.16) 0px 10px 28px -8px, rgba(9, 30, 66, 0.1) 0px 2px 6px -2px;
  display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
  text-decoration: none;
}
.trainer-photo a.ph:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: rgba(24, 104, 219, 0.24) 0px 16px 36px -10px, rgba(9, 30, 66, 0.14) 0px 3px 8px -2px;
  text-decoration: none;
}
.trainer-photo a.ph:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.trainer-photo .ph img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.trainer-photo .ph-hint {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(16,18,20,.86), rgba(16,18,20,0));
  color: var(--white); font-size: 13px; font-weight: 600; text-align: center;
  padding: 22px 10px 10px; opacity: 0; transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}
.trainer-photo a.ph:hover .ph-hint, .trainer-photo a.ph:focus-visible .ph-hint { opacity: 1; transform: translateY(0); }
.trainer-photo .initials { font-family: var(--font-display); font-size: 96px; font-weight: 800; color: rgba(255,255,255,.9); }
.trainer-info h2 { font-size: 34px; font-weight: 700; }
.trainer-info .role { color: var(--blue); font-weight: 600; margin: 8px 0 20px; font-size: 18px; }
.trainer-info p { color: var(--carbon); margin-bottom: 14px; max-width: 720px; }
.trainer-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.trainer-stats { display: flex; gap: 40px; margin-top: 28px; flex-wrap: wrap; }
.trainer-stats b { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--blue); }
.trainer-stats span { font-size: 13px; color: var(--indigo); }

/* ─── Форматы ─── */
.formats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.format-card { display: block; background: var(--white); border-radius: var(--radius-card); border: 1px solid var(--fog); padding: 24px; box-shadow: var(--shadow-subtle); color: var(--navy); transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease; }
.format-card:hover { text-decoration: none; border-color: var(--blue); }
.format-card .icon { font-size: 30px; }
.format-card h3 { font-size: 18px; font-weight: 700; margin: 10px 0 6px; }
.format-card p { font-size: 14px; color: var(--indigo); }
.format-card .format-more { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--blue); }
.format-hero-icon { font-size: .8em; margin-right: 6px; }

/* Страница формата: шаги */
.steps { display: flex; flex-direction: column; gap: 14px; margin: 8px 0; }
.step-item { display: flex; gap: 16px; align-items: flex-start; background: var(--white); border: 1px solid var(--fog); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow-subtle); }
.step-item .step-n { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.step-item h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.step-item p { font-size: 14px; color: var(--indigo); margin: 0; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.side-format-link { display: block; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--fog); color: var(--navy); }
.side-format-link:last-child { border-bottom: none; }
.side-format-link:hover { color: var(--blue); text-decoration: none; }

/* ─── Партнёрство ─── */
.partner-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; max-width: 900px; margin: 0 auto; }
.partner-list li { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 16px 20px; font-size: 15px; display: flex; gap: 12px; align-items: flex-start; }
.partner-list li::before { content: '✓'; color: var(--yellow); font-weight: 700; }

/* ─── CTA band ─── */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; max-width: 720px; margin: 0 auto; }
.cta-band p { color: var(--indigo); margin: 16px auto 28px; max-width: 560px; }
.band-dark .cta-band p, .cta-band.dark p { color: rgba(255,255,255,.75); }

/* ─── Футер ─── */
.footer { background: var(--navy); color: rgba(255,255,255,.72); padding: 48px 0 32px; font-size: 14px; }
.footer-flex { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer h4 { color: var(--white); font-size: 15px; margin-bottom: 12px; }
.footer a { color: rgba(255,255,255,.72); display: block; margin-bottom: 8px; }
.footer a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,.45); }
.footer-inline-link { display: inline !important; margin: 0 !important; color: rgba(255,255,255,.75) !important; text-decoration: underline; }
.footer-inline-link:hover { color: #fff !important; }

/* ─── Страница программы ─── */
.prog-hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.prog-hero .wrap { position: relative; z-index: 2; padding-top: 56px; padding-bottom: 48px; }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--white); }
.prog-hero h1 { font-size: clamp(30px, 4.5vw, 52px); font-weight: 700; color: var(--white); max-width: 860px; line-height: 1.1; }
.prog-hero .tagline { font-size: 18px; color: rgba(255,255,255,.8); margin-top: 16px; max-width: 680px; }
.prog-meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.prog-meta .badge { background: rgba(255,255,255,.12); color: var(--white); }
.prog-hero .hero-actions { margin-top: 32px; }

.prog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding: 56px 0; }
.prog-main h2 { font-size: 26px; font-weight: 700; margin: 40px 0 16px; }
.prog-main h2:first-child { margin-top: 0; }
.prog-main p { color: var(--carbon); margin-bottom: 14px; }
.check-list { list-style: none; margin: 0 0 8px; }
.check-list li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--carbon); }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 700; }
.result-list li::before { content: '📄'; font-size: 14px; }
.tools-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }

/* Модули */
.day-title { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: var(--blue); text-transform: uppercase; letter-spacing: .06em; margin: 28px 0 12px; }
.module { background: var(--white); border: 1px solid var(--fog); border-radius: 16px; padding: 20px 24px; margin-bottom: 14px; box-shadow: var(--shadow-subtle); }
.module-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.module-head h3 { font-size: 17px; font-weight: 700; }
.module-head .dur { font-size: 13px; font-weight: 600; color: var(--blue); white-space: nowrap; background: var(--tinted); padding: 3px 12px; border-radius: 10000px; }
.module ul { list-style: none; margin: 12px 0 0; }
.module ul li { padding-left: 20px; position: relative; font-size: 14px; color: var(--carbon); margin-bottom: 6px; }
.module ul li::before { content: ''; position: absolute; left: 4px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--ash); }
.module .practice { margin-top: 12px; font-size: 14px; background: var(--lavender); border-radius: 10px; padding: 10px 14px; color: var(--navy); }
.module .practice b { color: var(--violet); }
.module .mod-result { margin-top: 10px; font-size: 13px; color: var(--indigo); }
.module .mod-result b { color: var(--navy); }

/* Сайдбар */
.prog-side { position: sticky; top: 84px; align-self: start; display: flex; flex-direction: column; gap: 20px; }
.side-card { background: var(--white); border: 1px solid var(--fog); border-radius: var(--radius-card); padding: 24px; box-shadow: var(--shadow-subtle); }
.side-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.side-card .fact { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--fog); }
.side-card .fact:last-of-type { border-bottom: none; }
.side-card .fact span { color: var(--indigo); }
.side-card .fact b { color: var(--navy); font-weight: 600; text-align: right; }
.side-card .btn { width: 100%; margin-top: 14px; }
.side-note { font-size: 12px; color: var(--indigo); margin-top: 10px; text-align: center; }

/* Примечание об адаптации программы */
.note-adapt { display: flex; gap: 16px; align-items: flex-start; background: var(--tinted); border-left: 4px solid var(--blue); border-radius: 14px; padding: 18px 20px; margin: 20px 0 8px; }
.note-adapt .note-icon { font-size: 24px; line-height: 1.2; }
.note-adapt h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
.note-adapt p { font-size: 14px; color: var(--carbon); margin: 0; }

/* Методология на странице программы */
.method-inline { background: var(--tinted); border-radius: var(--radius-card); padding: 24px; margin-top: 16px; }
.method-inline h3 { font-size: 17px; font-weight: 700; margin-bottom: 12px; }
.method-inline ul { list-style: none; }
.method-inline li { padding-left: 26px; position: relative; font-size: 14px; margin-bottom: 8px; color: var(--carbon); }
.method-inline li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-weight: 700; }

/* ─── Модальное окно регистрации ─── */
.modal-overlay { position: fixed; inset: 0; background: rgba(16,18,20,.55); z-index: 200; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal { background: var(--white); border-radius: var(--radius-card); max-width: 440px; width: 100%; padding: 32px; position: relative; box-shadow: rgba(9,30,66,.35) 0 12px 40px -8px; }
.modal-close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--indigo); line-height: 1; }
.modal h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; padding-right: 24px; }
.modal p.modal-sub { font-size: 14px; color: var(--indigo); margin-bottom: 20px; }
.modal label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--carbon); }
.modal input[type=text], .modal input[type=email] { width: 100%; padding: 11px 14px; font-size: 15px; font-family: var(--font-text); border: 1px solid var(--ash); border-radius: var(--radius-input); outline: none; margin-bottom: 14px; }
.modal input:focus { border-color: var(--blue); box-shadow: 0 0 0 2px var(--tinted); }
.modal .consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; color: var(--indigo); margin: 4px 0 18px; }
.modal .consent input { margin-top: 3px; }
.modal .btn { width: 100%; }
.modal .form-error { color: #d63031; font-size: 13px; margin-bottom: 10px; display: none; }
.modal .success-box { display: none; text-align: center; padding: 12px 0; }
.modal .success-box .big { font-size: 44px; }
.modal .success-box h4 { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin: 10px 0 6px; }
.modal .success-box p { font-size: 14px; color: var(--indigo); }

/* Google-вход и шаг с кодом */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; background: var(--white); color: var(--navy); border: 1px solid var(--ash); font-weight: 500; }
.btn-google:hover { background: var(--fog); text-decoration: none; }
.modal-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--indigo); font-size: 13px; }
.modal-divider::before, .modal-divider::after { content: ''; flex: 1; height: 1px; background: var(--fog); }
.code-input { text-align: center; font-size: 24px !important; letter-spacing: 10px; font-weight: 700; }
.code-links { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; }

/* Форма заявки */
.modal textarea, .modal select { width: 100%; padding: 11px 14px; font-size: 15px; font-family: var(--font-text); border: 1px solid var(--ash); border-radius: var(--radius-input); outline: none; margin-bottom: 14px; background: var(--white); color: var(--navy); }
.modal textarea:focus, .modal select:focus { border-color: var(--blue); box-shadow: 0 0 0 2px var(--tinted); }
.modal textarea { resize: vertical; min-height: 70px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-row input { width: 100%; }
.req { color: #d63031; margin-left: 2px; }
.lead-topic { display: inline-block; font-size: 13px; font-weight: 600; color: var(--blue); background: var(--tinted); border-radius: 10000px; padding: 5px 14px; margin-bottom: 14px; }
#lead-modal .modal { max-width: 520px; max-height: 92vh; overflow-y: auto; }

/* ─── Adaptive ─── */
@media (max-width: 900px) {
  .prog-layout { grid-template-columns: 1fr; }
  .prog-side { position: static; }
  .trainer-flex { flex-direction: column; }
  .trainer-photo { flex: none; }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 16px 24px; gap: 16px; border-bottom: 1px solid var(--fog); box-shadow: var(--shadow-card); }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; }
  .hero .wrap { padding-top: 56px; padding-bottom: 56px; }
  .hero-stats { gap: 28px; }
  .section { padding: 56px 0; }
  .c2, .c3, .c4 { display: none; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .trainer-photo .ph { width: 210px; height: 280px; }
}
