/*
 * IVA Courses — основной стиль страницы курса (single-course.php).
 *
 * Основа — Вариант 3 из dev-прототипа landing/landing.html, очищенный от:
 * - .settings-bar / .var-btn / .img-btn / .toggle-btn / .no-wireframe / .vhead,
 * - класса .block с пунктирными рамками (заменён на обычные контейнеры),
 * - .bt подписей-заглушек (в разметке их больше нет вообще).
 * Сохранены реальные элементы дизайна: mentor-card, review-card, comp-table,
 * faq-item/acc-item, слайдеры, аккордеоны, брейкпоинты 1024/768/480.
 */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

:root {
	--iva-white: #FFFFFF;
	--iva-black: #000000;
	--iva-blue:  #002C5C;
	--iva-red:   #A81B00;
	/* Разница между dark/darker раньше была ~7 из 255 по каждому каналу —
	   на плохо откалиброванных/дешёвых экранах (слабая чёрная точка, гамма)
	   такая разница не читается, и bg-dark/bg-darkest секции сливаются в
	   одно чёрное пятно. Разнесены заметнее (светлота ~30 из 255 у dark
	   против ~7 у darker), при этом оба остаются достаточно тёмными, чтобы
	   не спорить с --iva-black (чистый #000, кнопки/акценты). */
	--iva-dark:  #171b24;
	--iva-darker:#060810;
	--iva-gray-bg: #f2f2f0;
	--iva-gray-line: rgba(0,0,0,0.10);
}

body {
	font-family: 'IBM Plex Mono', monospace;
	font-size: 16px;
	color: rgba(0,0,0,0.85);
	background: #fff;
}

a { color: inherit; text-decoration: none; }

/* ─── CONTAINER ─── */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* ─── КНОПКИ (сквозные для курса/блога/главной) ─── */
.btn-fill, .btn-outline {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: 'IBM Plex Mono', monospace; font-size: 13px; font-weight: 700;
	padding: 13px 26px; border-radius: 10px; cursor: pointer; text-decoration: none;
	transition: all 0.18s ease; border: none; white-space: nowrap;
}
.btn-fill { background: var(--iva-black); color: var(--iva-white); }
.btn-fill:hover { background: #2a2a2a; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.btn-outline { background: transparent; border: 1.5px solid rgba(0,0,0,0.28); color: var(--iva-black); }
.btn-outline:hover { background: rgba(0,0,0,0.05); border-color: var(--iva-black); transform: translateY(-2px); }

/* ─── BACKGROUNDS ─── */
.bg-dark    { background: var(--iva-dark); }
.bg-darkest { background: var(--iva-darker); }
.bg-white   { background: var(--iva-white); }

/* ─── TYPOGRAPHY HELPERS ─── */
.h1-text { font-family: 'Bebas Neue',sans-serif; font-size: 42px; line-height: 1.05; letter-spacing: 1px; color: var(--iva-white); }
.h2-text { font-family: 'Bebas Neue',sans-serif; font-size: 26px; line-height: 1.15; letter-spacing: 0.5px; color: var(--iva-white); }
.section-title {
	font-family: 'Bebas Neue',sans-serif; font-size: 42px; letter-spacing: 1px;
	color: var(--iva-black); margin-bottom: 48px;
}
.section-title.on-dark { color: var(--iva-white); }
.eyebrow { font-family:'IBM Plex Mono',monospace; font-size:11px; font-weight:700; letter-spacing:1px; text-transform:uppercase; color: rgba(0,0,0,0.3); margin-bottom:8px; }
.eyebrow.on-dark { color: rgba(255,255,255,0.3); }

/* ─── ПЛЕЙСХОЛДЕР ДЛЯ ПУСТЫХ ACF-КАРТИНОК ───
   Сайтвайд (не в blog.css/home.css) — iva_courses_image_or_placeholder()
   используется и в блоге, и на главной. */
.block.img-placeholder {
	width: 100%; height: 100%; min-height: 90px;
	border: 1.5px dashed rgba(0,0,0,0.2); border-radius: inherit;
	display: flex; align-items: center; justify-content: center; text-align: center;
	background: rgba(0,0,0,0.03); padding: 12px;
}
.block.img-placeholder .bt { font-family: 'IBM Plex Mono', monospace; font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(0,0,0,0.35); }
.on-dark .block.img-placeholder,
.bg-dark .block.img-placeholder,
.bg-darkest .block.img-placeholder,
.bg-black .block.img-placeholder { border-color: rgba(255,255,255,0.22); background: rgba(255,255,255,0.04); }
.on-dark .block.img-placeholder .bt,
.bg-dark .block.img-placeholder .bt,
.bg-darkest .block.img-placeholder .bt,
.bg-black .block.img-placeholder .bt { color: rgba(255,255,255,0.4); }

/* ─── HR ─── */
.hr { height: 1px; width: 100%; }
.hr-w { background: rgba(255,255,255,0.08); }
.hr-d { background: rgba(0,0,0,0.09); }

/* ─── BUTTONS ─── */
.btn {
	display: inline-flex; align-items: center; justify-content: center;
	height: 50px; padding: 0 28px; border-radius: 10px;
	font-family: 'IBM Plex Mono',monospace; font-size: 15px; font-weight: 700;
	cursor: pointer; transition: background 0.18s, transform 0.15s, box-shadow 0.18s, border-color .18s;
	white-space: nowrap;
}
.btn--fill {
	background: var(--iva-white); color: var(--iva-black); border: none;
}
.btn--fill:hover { background: rgba(220,220,220,0.95); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
.btn--fill:active { transform: translateY(0); box-shadow: none; }
/* На тёмном фоне достаточно; на белом фоне (тарифы) кнопка-fill должна быть чёрной */
.bg-white .btn--fill,
.pricing-plan .btn--fill { background: var(--iva-black); color: var(--iva-white); }
.bg-white .btn--fill:hover,
.pricing-plan .btn--fill:hover { background: #222; }

.btn--outline {
	background: transparent; border: 1.5px solid rgba(255,255,255,0.28); color: rgba(255,255,255,0.9);
}
.btn--outline:hover { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.65); transform: translateY(-2px); }
.btn--outline:active { transform: translateY(0); }
.bg-white .btn--outline { border-color: rgba(0,0,0,0.28); color: rgba(0,0,0,0.75); }
.bg-white .btn--outline:hover { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.55); }

/* ─── SITE HEADER ─── */
.site-header { background: var(--iva-darker); position: sticky; top: 0; z-index: 100; }
.site-header__inner { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__logo { font-family:'Bebas Neue',sans-serif; font-size: 22px; color: var(--iva-white); letter-spacing: 1px; display:flex; align-items:center; }
.site-header__logo-img { max-height: 40px; width: auto; display: block; }
.site-header__nav { display: flex; align-items: center; }
.nav-links { display: flex; gap: 24px; align-items: center; list-style: none; }
.nav-links a { font-family:'IBM Plex Mono',monospace; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.72); transition: color .15s; }
.nav-links a:hover { color: #fff; }
.site-header__cta .btn { height: 42px; padding: 0 20px; font-size: 13px; }
.nav-mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-mobile-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 1px; }

/* ─── HERO (Вариант 3) ─── */
.hero-bg { background-size: cover; background-position: center; }
.ov-bottom { background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.50) 55%, rgba(0,0,0,0.88) 100%); }

.hero-tags { display:flex; gap:8px; flex-wrap:wrap; }
.hero-tag {
	display:inline-flex; align-items:center; gap:6px; padding: 6px 14px; border-radius: 8px;
	background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14);
	font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:600; color: rgba(255,255,255,0.85); white-space: nowrap;
}
.hero-tag__label { color: rgba(255,255,255,0.45); }

.hero-content { display:flex; flex-direction:column; gap:28px; max-width:640px; }
.hero-description { font-family:'IBM Plex Mono',monospace; font-size:14px; color: rgba(255,255,255,0.72); line-height:1.7; max-width:520px; }
.hero-buttons { display:flex; gap:12px; flex-wrap:wrap; }

.hero-promo {
	min-height:112px; padding: 20px 22px; border-radius: 12px;
	background: rgba(10,10,18,0.50); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255,255,255,0.14);
	font-family:'IBM Plex Mono',monospace; font-size:13px; color: rgba(255,255,255,0.85); line-height:1.6;
}

.v3-content-grid { display:grid; grid-template-columns: 1fr 220px; gap:32px; align-items:end; }

/* ─── METRICS BAR ─── */
.metrics-bar { border-top:1px solid rgba(0,0,0,0.06); }
.metrics-bar-grid { display:grid; grid-template-columns:repeat(4,1fr); }
.metric-cell { padding:22px 24px; border-right:1px solid rgba(0,0,0,0.06); display:flex; flex-direction:column; gap:6px; }
.metric-cell:last-child { border-right:none; }
.metric-value { font-size:17px; font-weight:800; color:rgba(0,0,0,0.85); font-family:'IBM Plex Mono',monospace; }
.metric-note { font-size:10px; color:rgba(0,0,0,0.4); line-height:1.45; }

/* ─── О ПРОГРАММЕ ─── */
.about-video-wrap {
	width:100%; padding-bottom:56.25%; position:relative; height:0; border-radius:12px;
	background: rgba(0,0,0,0.04); overflow: hidden; margin-bottom:48px;
}
.about-video-wrap iframe,
.about-video-wrap .about-video-embed { position:absolute; inset:0; width:100%; height:100%; border:0; }
.about-video-poster { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }

.about-results-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.about-result-card {
	min-height:160px; padding:20px; border-radius: 10px; border: 1px solid rgba(0,0,0,0.08);
}
.about-result-title { font-family:'Bebas Neue',sans-serif; font-size:22px; color:var(--iva-black); line-height:1.1; margin-bottom:8px; }
.about-result-desc { font-family:'IBM Plex Mono',monospace; font-size:11px; color: rgba(0,0,0,0.65); line-height:1.6; }

/* ─── CTA STRIP ─── */
.cta-strip { background: var(--iva-black); padding: 44px 0; }
.cta-strip .inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.cta-strip-title { font-family: 'Bebas Neue', sans-serif; font-size: 32px; color: var(--iva-white); letter-spacing: 0.5px; line-height: 1.1; }
.cta-strip-sub { font-family: 'IBM Plex Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.40); margin-top: 4px; }
.cta-strip-buttons { display:flex; gap:12px; flex-wrap:wrap; flex-shrink:0; }

/* ─── ДЛЯ КОГО ─── */
.audience-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.audience-card {
	display:grid; grid-template-columns:1fr 140px; gap:16px; min-height:160px; align-items:stretch;
	padding: 20px; border-radius: 10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
}
.audience-card__text { display:flex; flex-direction:column; gap:8px; justify-content:center; }
.audience-card__title { font-family:'Bebas Neue',sans-serif; font-size:22px; color:var(--iva-white); }
.audience-card__desc { font-family:'IBM Plex Mono',monospace; font-size:11px; color: rgba(255,255,255,0.55); line-height:1.6; }
.audience-card__image { border-radius:8px; overflow:hidden; background: rgba(255,255,255,0.08); }
.audience-card__image img { width:100%; height:100%; object-fit:cover; display:block; }

/* ─── НАШ ПОДХОД ─── */
.approach-grid { display:grid; grid-template-columns:1fr 1fr; gap:32px; margin-bottom:32px; }
.approach-main {
	min-height:280px; padding:28px; border-radius: 12px;
	background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
}
.approach-main-title { font-family:'Bebas Neue',sans-serif; font-size:32px; color:var(--iva-white); line-height:1.1; margin-top:4px; margin-bottom:16px; }
.approach-main-text { font-family:'IBM Plex Mono',monospace; font-size:13px; color: rgba(255,255,255,0.6); line-height:1.7; }

.approach-facts { display:flex; flex-direction:column; gap:16px; }
.approach-fact { flex:1; padding:20px; border-radius:10px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08); }
.approach-fact-title { font-family:'Bebas Neue',sans-serif; font-size:26px; color:var(--iva-white); margin-top:4px; }
.approach-fact-desc { font-family:'IBM Plex Mono',monospace; font-size:11px; color: rgba(255,255,255,0.55); margin-top:4px; line-height:1.6; }

.approach-quote {
	padding:32px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.03);
}
.approach-quote-text { font-family:'Bebas Neue',sans-serif; font-size:28px; color:var(--iva-white); line-height:1.2; }
.approach-quote-author { font-family:'IBM Plex Mono',monospace; font-size:12px; color: rgba(255,255,255,0.45); margin-top:12px; }

/* ─── MENTOR SLIDER ─── */
.mentors-head { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-bottom:40px; }
.mentor-slider-wrap { position:relative; }
.mentor-slider {
	display: flex; gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory;
	scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
	padding-bottom: 8px;
	scrollbar-width: none; -ms-overflow-style: none;
}
.mentor-slider::-webkit-scrollbar { display: none; }
.mentor-slider.is-draggable { cursor: grab; }
.mentor-slider.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.mentor-card {
	display: grid; grid-template-columns: 1fr 1fr; gap: 0;
	border-radius: 14px; overflow: hidden;
	border: 1.5px solid rgba(0,0,0,0.08);
	min-height: 360px;
	flex: 0 0 calc(50% - 24px);
	scroll-snap-align: start;
}
.mentor-card.rev { direction: rtl; }
.mentor-card.rev > * { direction: ltr; }
.mentor-photo { background:rgba(0,0,0,0.06); display:flex; align-items:center; justify-content:center; min-height:300px; overflow:hidden; }
.mentor-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.mentor-info  { padding:36px 28px; display:flex; flex-direction:column; gap:12px; justify-content:center; background:#fff; }
.mentor-role  { font-size:9px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:rgba(0,0,0,0.3); font-family:'IBM Plex Mono',monospace; }
.mentor-name  { font-family:'Bebas Neue',sans-serif; font-size:36px; color:var(--iva-black); line-height:1; }
.mentor-bio   { font-family:'IBM Plex Mono',monospace; font-size:11px; color:rgba(0,0,0,0.60); line-height:1.75; }
.mentor-tags  { display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
.mentor-tag   { background:rgba(0,0,0,0.05); border:1px solid rgba(0,0,0,0.09); border-radius:6px; font-size:10px; padding:3px 9px; color:rgba(0,0,0,0.45); font-family:'IBM Plex Mono',monospace; }
.slider-nav { display:flex; gap:10px; }
.slider-nav-btn {
	width:44px; height:44px; border-radius:50%;
	border:1.5px solid rgba(0,0,0,0.12); background:#fff;
	display:flex; align-items:center; justify-content:center;
	cursor:pointer; transition:all 0.18s ease; font-size:18px; color:rgba(0,0,0,0.55);
}
.slider-nav-btn:hover { border-color:var(--iva-black); color:var(--iva-black); background:#f5f5f5; }
.slider-dots { display:flex; gap:8px; margin-top:20px; }
.slider-dot { width:8px; height:4px; border-radius:2px; background: rgba(0,0,0,0.15); }
.slider-dot.active { width:24px; background: var(--iva-black); }

/* ─── КАК ПРОХОДИТ ОБУЧЕНИЕ ─── */
.learning-step { display:grid; grid-template-columns:1fr 1fr; gap:32px; align-items:stretch; margin-bottom:48px; }
.learning-step:last-child { margin-bottom:0; }
.learning-step.rev { direction: rtl; }
.learning-step.rev > * { direction: ltr; }
.learning-step__text { padding:24px; border-radius:10px; border:1px solid rgba(0,0,0,0.08); }
.learning-step__step-num { font-size:11px; font-weight:700; letter-spacing:1px; color: rgba(0,0,0,0.3); text-transform:uppercase; }
.learning-step__title { font-family:'Bebas Neue',sans-serif; font-size:28px; color:var(--iva-black); margin-top:8px; margin-bottom:12px; }
.learning-step__desc { font-family:'IBM Plex Mono',monospace; font-size:13px; color: rgba(0,0,0,0.62); line-height:1.7; }
.learning-step__image { height:240px; border-radius:12px; overflow:hidden; background: rgba(0,0,0,0.05); }
.learning-step__image img { width:100%; height:100%; object-fit:cover; display:block; }

/* ─── ПРОГРАММА ОБУЧЕНИЯ (аккордеон) ─── */
.prog-layout { display:grid; grid-template-columns:1fr 2fr; gap:48px; align-items:start; }
.prog-sticky { position:sticky; top:72px; }
.prog-badges { display:flex; flex-direction:column; gap:10px; margin-top:20px; }
.prog-badge-row { display:flex; align-items:center; gap:10px; }
.prog-badge {
	font-size:10px; padding:4px 10px; border-radius:5px; font-weight:700; letter-spacing:.5px; text-transform:uppercase;
	background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.55); border:1px solid rgba(255,255,255,0.12);
}
/* Те же цвета, что и у .acc-badge.vid/.pra в аккордеоне программы — единый цветовой код "видео"/"практика" */
.prog-badge.video    { background: rgba(0,44,92,0.4); color: rgba(150,180,255,0.9); border: 1px solid rgba(0,44,92,0.6); }
.prog-badge.practice { background: rgba(168,27,0,0.3); color: rgba(255,150,130,0.9); border: 1px solid rgba(168,27,0,0.5); }
.prog-note { margin-top:20px; color:rgba(255,255,255,0.3); font-size:11px; line-height:1.7; font-family:'IBM Plex Mono',monospace; }

.acc-item { border-bottom: 1px solid rgba(255,255,255,0.07); }
.acc-item:first-child { border-top: 1px solid rgba(255,255,255,0.07); }
.acc-summary {
	display: flex; align-items: center; justify-content: space-between;
	padding: 20px 0; cursor: pointer; list-style: none; gap: 16px;
}
.acc-summary::-webkit-details-marker { display: none; }
.acc-num { font-size: 11px; color: rgba(255,255,255,0.25); font-weight: 700; width: 28px; flex-shrink: 0; }
.acc-title { font-family: 'IBM Plex Mono',monospace; font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.85); flex: 1; }
.acc-meta { display: flex; gap: 12px; flex-shrink: 0; }
.acc-badge { font-size: 9px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; padding: 3px 8px; border-radius: 5px; white-space: nowrap; }
.acc-badge.vid { background: rgba(0,44,92,0.4); color: rgba(150,180,255,0.9); border: 1px solid rgba(0,44,92,0.6); }
.acc-badge.pra { background: rgba(168,27,0,0.3); color: rgba(255,150,130,0.9); border: 1px solid rgba(168,27,0,0.5); }
.acc-arrow { color: rgba(255,255,255,0.3); font-size: 16px; transition: transform 0.2s; flex-shrink: 0; }
details[open] .acc-arrow { transform: rotate(180deg); }
.acc-body { padding: 0 0 24px 44px; }
.acc-bullets { display: flex; flex-direction: column; gap: 8px; }
.acc-bullet { display: flex; gap: 10px; align-items: flex-start; }
.acc-bullet::before { content: '—'; color: rgba(255,255,255,0.25); flex-shrink: 0; margin-top: 1px; }
.acc-bullet span { font-family: 'IBM Plex Mono',monospace; font-size: 11px; color: rgba(255,255,255,0.55); line-height: 1.6; }

/* ─── ТАРИФЫ ─── */
.pricing-head { margin-bottom:56px; text-align:center; }
.pricing-head .section-title { margin-bottom: 8px; }
.pricing-subtitle { font-family:'IBM Plex Mono',monospace; font-size:12px; color: rgba(0,0,0,0.45); margin-top:12px; }

.comp-wrap { overflow-x: auto; }
.comp-table { width: 100%; border-collapse: collapse; }
.comp-table th { padding: 20px 24px; font-family: 'IBM Plex Mono',monospace; font-size: 10px; font-weight: 700; text-align: left; border-left:1px solid rgba(0,0,0,0.07); }
.comp-table th:first-child { border-left:none; }
.comp-table td { padding: 14px 24px; border-top: 1px solid rgba(0,0,0,0.07); border-left:1px solid rgba(0,0,0,0.07); font-family: 'IBM Plex Mono',monospace; font-size: 11px; color: rgba(0,0,0,0.65); }
.comp-table td:first-child { border-left:none; }
.comp-table .col-feature { width: 35%; color: rgba(0,0,0,0.5); font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.comp-table .col-plan { width: 21.6%; }
.comp-yes { color: #1a7340 !important; font-weight: 700; }
.comp-no  { color: rgba(0,0,0,0.28) !important; }
.plan-name { font-family: 'Bebas Neue',sans-serif; font-size: 28px; color: var(--iva-black); letter-spacing: 0.5px; }
.plan-price { font-family: 'Bebas Neue',sans-serif; font-size: 36px; color: var(--iva-black); }
.plan-price-note { font-family:'IBM Plex Mono',monospace; font-size:10px; color:rgba(0,0,0,0.35); margin-top:4px; }
.plan-rec { display:inline-block; background:var(--iva-black); color:#fff; font-size:8px; font-weight:700; letter-spacing:1px; text-transform:uppercase; padding:2px 7px; border-radius:4px; margin-bottom:6px; }
.col-featured { background: rgba(0,0,0,0.025); }
.plan-cta-cell { padding:20px 24px; }
.plan-cta-cell .btn { width:100%; }

/* ─── ОТЗЫВЫ ─── */
.reviews-head { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:16px; margin-bottom:40px; }
.reviews-subtitle { font-family:'IBM Plex Mono',monospace; font-size:12px; color:rgba(255,255,255,0.35); margin-top:8px; }
.reviews-nav { display:flex; gap:10px; }
.reviews-nav-btn {
	width:40px; height:40px; border-radius:50%;
	border:1.5px solid rgba(255,255,255,0.15); background:rgba(255,255,255,0.07);
	display:flex; align-items:center; justify-content:center;
	cursor:pointer; transition:all 0.18s ease; font-size:16px; color:rgba(255,255,255,0.6);
}
.reviews-nav-btn:hover { border-color:rgba(255,255,255,0.5); color:#fff; }
.reviews-slider {
	display: flex; gap: 16px;
	overflow-x: auto; scroll-snap-type: x mandatory;
	scroll-behavior: smooth; -webkit-overflow-scrolling: touch;
	padding-bottom: 4px;
	scrollbar-width: none; -ms-overflow-style: none;
}
.reviews-slider::-webkit-scrollbar { display: none; }
.reviews-slider.is-draggable { cursor: grab; }
.reviews-slider.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.review-card {
	flex: 0 0 220px; scroll-snap-align: start;
	display: flex; flex-direction: column; gap: 12px;
}
.review-video {
	width: 220px; aspect-ratio: 9/16;
	border-radius: 14px; overflow: hidden;
	background: rgba(0,0,0,0.07);
	border: 1.5px solid rgba(0,0,0,0.09);
	display: flex; flex-direction: column;
	align-items: center; justify-content: center; gap: 10px;
	position: relative;
}
.review-video img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.review-video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.review-play { width:52px; height:52px; border-radius:50%; background:rgba(255,255,255,0.85); display:flex; align-items:center; justify-content:center; position:relative; z-index:2; }
.review-meta { display:flex; flex-direction:column; gap:4px; }
.review-name { font-family:'IBM Plex Mono',monospace; font-size:12px; font-weight:700; color:rgba(255,255,255,0.85); }
.review-desc { font-family:'IBM Plex Mono',monospace; font-size:10px; color:rgba(255,255,255,0.4); line-height:1.5; }
.reviews-footer { margin-top:32px; display:flex; align-items:center; gap:16px; flex-wrap:wrap; }
.reviews-footer-line { height:1px; flex:1; background:rgba(255,255,255,0.07); min-width:40px; }
.reviews-footer-text { display:flex; align-items:center; gap:12px; flex-shrink:0; }
.reviews-footer-text p { font-family:'IBM Plex Mono',monospace; font-size:11px; color:rgba(255,255,255,0.35); line-height:1.6; }
.telegram-link-btn {
	background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.12); padding:8px 16px; border-radius:8px;
	font-family:'IBM Plex Mono',monospace; font-size:11px; color:#fff; transition: all .18s ease;
}
.telegram-link-btn:hover { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }

/* ─── ФОРМА ЗАЯВКИ ─── */
.application-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.application-bullets { margin-top:28px; display:flex; flex-direction:column; gap:12px; }
.application-bullet { display:flex; align-items:center; gap:12px; }
.application-bullet-dot { width:6px; height:6px; border-radius:50%; background:var(--iva-red); flex-shrink:0; }
.application-bullet span { font-family:'IBM Plex Mono',monospace; font-size:12px; color:rgba(255,255,255,0.45); }
.application-form-wrap {
	background:rgba(255,255,255,0.04); border:1.5px solid rgba(255,255,255,0.10); border-radius:16px;
	padding:36px; display:flex; flex-direction:column; gap:16px;
}
.application-form-title { font-family:'Bebas Neue',sans-serif; font-size:28px; color:var(--iva-white); margin-top:4px; }
.getcourse-widget-placeholder {
	border:1.5px dashed rgba(255,255,255,0.25); border-radius:10px; padding:28px; text-align:center;
	font-family:'IBM Plex Mono',monospace; font-size:12px; color:rgba(255,255,255,0.45); line-height:1.7;
}

/* ─── FAQ ─── */
.faq-intro-text { font-family:'IBM Plex Mono',monospace; font-size:12px; color: rgba(0,0,0,0.45); margin-top:16px; line-height:1.7; }
.faq-contact-btn {
	margin-top:24px; padding:20px; border-radius:10px; border:1px solid rgba(0,0,0,0.1); background: rgba(0,0,0,0.02);
	display:block; transition: all .18s ease;
}
.faq-contact-btn:hover { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.22); transform: translateY(-2px); }
.faq-contact-btn span { font-family:'IBM Plex Mono',monospace; font-size:13px; color: rgba(0,0,0,0.72); font-weight:600; }

.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-item:first-child { border-top: 1px solid rgba(0,0,0,0.08); }
.faq-summary {
	display: flex; align-items: center; justify-content: space-between;
	padding: 22px 0; cursor: pointer; list-style: none; gap: 24px;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-q { font-family: 'IBM Plex Mono',monospace; font-size: 14px; font-weight: 700; color: var(--iva-black); flex: 1; line-height: 1.5; }
.faq-arrow { color: rgba(0,0,0,0.3); font-size: 20px; transition: transform 0.2s; flex-shrink: 0; }
details[open] .faq-arrow { transform: rotate(180deg); }
.faq-body { padding: 0 48px 22px 0; font-family: 'IBM Plex Mono',monospace; font-size: 12px; color: rgba(0,0,0,0.62); line-height: 1.8; }

/* ─── FOOTER ─── */
.site-footer { background: var(--iva-darker); padding: 32px 0; }
.site-footer__inner { text-align: center; }
.site-footer p { font-family:'IBM Plex Mono',monospace; font-size:11px; color: rgba(255,255,255,0.3); }

/* ─── ADAPTIVE ─── */
@media (max-width: 1024px) {
	.container { padding: 0 24px; }
	.metrics-bar-grid { grid-template-columns: 1fr 1fr !important; }
	.about-results-grid { grid-template-columns: 1fr 1fr !important; }

	/* На 2 колонки бордер справа остаётся только между колонками, снизу — разделитель между рядами */
	.metric-cell:nth-child(2n) { border-right: none; }
	.metric-cell { border-bottom: 1px solid rgba(0,0,0,0.06); }
	.metric-cell:nth-last-child(-n+2) { border-bottom: none; }
}

@media (max-width: 768px) {
	.container { padding: 0 16px; }
	.nav-links, .site-header__cta { display: none !important; }
	.nav-mobile-toggle { display: flex !important; }

	.v3-content-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
	.hero-promo { display: none !important; }

	.metrics-bar-grid { grid-template-columns: 1fr 1fr !important; }
	.about-results-grid { grid-template-columns: 1fr !important; }
	.audience-grid { grid-template-columns: 1fr !important; }
	.approach-grid  { grid-template-columns: 1fr !important; }
	.learning-step  { grid-template-columns: 1fr !important; }
	.prog-layout    { grid-template-columns: 1fr !important; }
	.application-grid { grid-template-columns: 1fr !important; gap: 32px !important; }

	.mentor-card { grid-template-columns: 1fr; direction: ltr; flex: 0 0 calc(85vw - 32px); }
	.mentor-card.rev { direction: ltr; }
	.mentor-photo { min-height: 260px; }
	.mentor-info  { padding: 28px 24px; }

	.comp-table th, .comp-table td { padding: 12px 14px; font-size: 10px; }

	.h1-text { font-size: 30px; white-space: normal; }
	.h2-text { font-size: 20px; white-space: normal; }
	.section-title { font-size: 32px; }

	.learning-step {
		background: #f5f5f5; border-radius: 14px; overflow: hidden;
		gap: 2px; padding: 2px; margin-bottom: 16px;
	}
	.learning-step__text,
	.learning-step__image { border: none; border-radius: 10px; }
	.learning-step__image { height: 200px; }
	.learning-step__text { background: #fff; }

	.prog-sticky { position: static !important; top: auto !important; }
}

@media (max-width: 480px) {
	.metrics-bar-grid { grid-template-columns: 1fr !important; }

	/* Одна колонка — вместо вертикального бордера показываем нижний разделитель у каждой ячейки, кроме последней */
	.metric-cell { border-right: none; border-bottom: 1px solid rgba(0,0,0,0.06); }
	.metric-cell:last-child { border-bottom: none; }

	/* Бейджи "1 видеоурок / 1 задание" остаются видимыми, переносятся под заголовок класса отдельной строкой */
	.acc-summary { flex-wrap: wrap; }
	.acc-meta { order: 3; flex: 1 1 100%; margin-left: 44px; }

	.mentor-card { flex: 0 0 calc(92vw - 32px); }
}

/* ═══════════════════════════════════════════════════════════
   ФУТЕР — сайтвайд (footer.php), перенесён из landing/main.html.
   Живёт в этом файле (не в blog.css/home.css), т.к. это единственный
   стиль, загружаемый безусловно на каждой странице темы.
═══════════════════════════════════════════════════════════ */
.bg-black { background: var(--iva-black); }
.footer { padding: 64px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { display: inline-block; font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: #fff; margin-bottom: 16px; }
.footer-logo-img { max-height: 32px; width: auto; }
.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.45); max-width: 280px; line-height: 1.7; }
.footer-col-title { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 13px; color: rgba(255,255,255,0.75); }
.footer-link:hover { color: #fff; }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-legal { font-size: 11px; line-height: 1.7; color: rgba(255,255,255,0.35); max-width: 640px; }
.footer-legal a { text-decoration: underline; }
.footer-meta { font-size: 11px; line-height: 1.7; color: rgba(255,255,255,0.3); text-align: right; white-space: nowrap; }

@media (max-width: 1024px) {
	.footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.footer-bottom { flex-direction: column; }
	.footer-meta { text-align: left; white-space: normal; }
}
