/*
Theme Name: WinWin Marketing
Theme URI: https://win-win.marketing
Author: WinWin
Description: Кастомна тема для сайту маркетингової агенції WinWin. Верстка за макетом Figma. Контент головної, кейси, відгуки та форма заявок редагуються з адмінки.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: winwin
*/

/* ============================================================
   Токени — усі значення взяті з макета
   ============================================================ */
:root {
  --purple: #773DBE;
  --purple-soft: #8f5ccb;      /* декоративні дужки на фіолетовому */
  --yellow: #F9F871;
  --teal: #48FCE2;
  --dark: #242128;
  --dark-card: #302D34;
  --dark-decor: #3A373E;
  --grey: #F2F2F2;
  --white: #FFFFFF;
  --text: #242128;
  --text-muted: #6b6873;
  --line: #e3e3e6;

  --font-hero: "Roboto Mono", ui-monospace, monospace;
  --font-head: "PT Mono", ui-monospace, monospace;
  --font-body: "Open Sans", system-ui, -apple-system, sans-serif;

  --maxw: 1490px;
  --radius: 8px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* У макеті поля 120px при ширині 1728 → контент займає ~86%.
   min() зберігає ці пропорції на будь-якій ширині й обмежує максимум. */
.container { width: min(var(--maxw), 88%); margin: 0 auto; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.skip-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--yellow); color: var(--dark); padding: 12px 20px; font-weight: 700; }
.skip-link:focus { left: 0; }

/* ============================================================
   Типографіка
   ============================================================ */
.h-hero {
  font-family: var(--font-hero);
  font-weight: 700;
  font-size: clamp(38px, 5.6vw, 96px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.h-section {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 78px);
  line-height: 1.12;
}
.h-block {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(24px, 2.6vw, 42px);
  line-height: 1.2;
}

.t-purple { color: var(--purple); }
.t-yellow { color: var(--yellow); }
.t-teal   { color: var(--teal); }

/* Google фірмовими кольорами */
.google-word span:nth-child(1) { color: #4285F4; }
.google-word span:nth-child(2) { color: #EA4335; }
.google-word span:nth-child(3) { color: #FBBC05; }
.google-word span:nth-child(4) { color: #4285F4; }
.google-word span:nth-child(5) { color: #34A853; }
.google-word span:nth-child(6) { color: #EA4335; }

/* ============================================================
   Кнопки — без тіней, UPPERCASE, трекінг
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase;
  padding: 16px 28px; border-radius: var(--radius); border: 0; cursor: pointer;
  transition: filter .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:hover { filter: brightness(.94); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn--yellow { background: var(--yellow); color: var(--dark); }
.btn--teal   { background: var(--teal);   color: var(--dark); }
.btn--dark   { background: var(--dark);   color: var(--yellow); }
/* дрібніша вбудована кнопка (Sentence case) */
.btn--inline { text-transform: none; letter-spacing: 0; font-size: 14px; padding: 12px 22px; }

.link-arrow { color: var(--purple); font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow:hover { text-decoration: underline; }

/* ============================================================
   Шапка
   ============================================================ */
.header { background: var(--dark); position: sticky; top: 0; z-index: 60; }
.header__inner { display: flex; align-items: center; gap: 32px; min-height: 104px; }

.logo { flex: 0 0 auto; display: block; }
.logo img { height: 68px; width: auto; }
/* SVG-логотип бере колір із CSS, тому один файл працює в обох варіантах */
.logo__svg { display: block; }
.logo__svg svg { height: 68px; width: auto; display: block; }
.logo__svg--purple { color: var(--purple); }
.logo__svg--yellow { color: var(--yellow); }
.footer .logo__svg svg { height: 84px; }

.nav { display: flex; gap: 34px; margin-left: auto; list-style: none; flex-wrap: wrap; }
.nav a {
  color: var(--white); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; transition: color .15s;
}
.nav a:hover { color: var(--teal); }
.nav .current-menu-item > a, .nav .is-active > a { color: var(--teal); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; margin-left: auto; }
.burger span { width: 26px; height: 2px; background: var(--white); }

/* Бічна панель соцмереж */
.social-rail {
  position: fixed; right: 0; top: 38%; z-index: 55;
  display: flex; flex-direction: column;
}
.social-rail a {
  width: 46px; height: 46px; display: grid; place-items: center;
  color: var(--dark); transition: filter .15s;
}
.social-rail a:hover { filter: brightness(.9); }
.social-rail .s-in { background: var(--teal); }
.social-rail .s-tg { background: var(--purple); color: var(--white); }
.social-rail .s-wa { background: var(--yellow); }
.social-rail svg { width: 22px; height: 22px; fill: currentColor; }

/* ============================================================
   Hero
   ============================================================ */
/* Декоративні фігури (дужки, знак оклику) — SVG, а не гліфи шрифту */
.shape { display: inline-block; line-height: 0; }
.shape svg { width: 100%; height: 100%; display: block; }

.hero { position: relative; background: var(--dark); color: var(--white); padding: 96px 0 120px; overflow: hidden; }
.hero__decor { position: absolute; color: var(--dark-decor); pointer-events: none; user-select: none; z-index: 1; }
.hero__decor--excl  { left: 3%;  top: 140px; width: 90px;  height: 460px; }
/* Дужка починається на одному рівні зі знаком оклику (top збігається),
   але вища за секцію — тому низом «заїжджає» під наступний блок
   (overflow:hidden на .hero обрізає її). Праворуч — звичайний відступ. */
.hero__decor--brace { right: 5%; top: 150px; width: 281px; height: 900px; }
.hero__inner { position: relative; z-index: 2; }
.hero__title { max-width: 15ch; margin-bottom: 34px; }
.hero__subtitle {
  font-size: clamp(20px, 2.1vw, 34px); font-weight: 400; line-height: 1.35;
  margin-bottom: 26px; max-width: 34ch;
}
.hero__text { font-size: 16px; color: #cfcdd4; max-width: 62ch; margin-bottom: 38px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   Клієнти
   ============================================================ */
.clients { padding: 96px 0; }
.clients__title { margin-bottom: 64px; max-width: 24ch; }
.clients__logos {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 32px 64px; margin-bottom: 64px;
}
.clients__logo { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--text); }
.clients__logo img { max-height: 46px; width: auto; }
.clients__text { font-size: 17px; max-width: 96ch; margin-bottom: 16px; }
.clients__text + .clients__text { margin-bottom: 38px; }

/* ============================================================
   Смуги
   ============================================================ */
.band { padding: 72px 0; position: relative; overflow: hidden; }
.band--purple { background: var(--purple); color: var(--white); }
.band--grey { background: var(--grey); }

.band-cta { text-align: center; }
.band-cta__inner { position: relative; z-index: 2; }
.band-cta__title { margin-bottom: 36px; }
.band-cta__brace {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 78px; height: 250px; color: var(--purple-soft); z-index: 1; pointer-events: none;
}
.band-cta__brace--l { left: 4%; }
.band-cta__brace--r { right: 4%; }

/* смуга «топ Google» */
.band-google { padding: 96px 0; }
.band-google__title { margin-bottom: 40px; max-width: 22ch; }
.band-google__text { font-size: 17px; max-width: 105ch; }
.band-google__text strong { font-weight: 700; }

/* ============================================================
   Послуги
   ============================================================ */
.services { padding: 110px 0; }
.services__title { text-align: center; margin-bottom: 80px; }
.service { padding: 48px 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service__head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.service__icon { width: 40px; height: 40px; flex: 0 0 auto; color: var(--purple); }
.service__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; }
.service__title { color: var(--purple); }
.service__text { font-size: 17px; max-width: 105ch; margin-bottom: 32px; }
.service__result { color: var(--purple); font-weight: 600; }

/* ============================================================
   Системний підхід — masonry
   ============================================================ */
.approach { background: var(--dark); color: var(--white); padding: 96px 0 110px; }
/* Пояснення стоїть ОДРАЗУ праворуч від заголовка, а «!» відсунуто до краю */
.approach__head { display: flex; align-items: flex-start; gap: 24px; margin-bottom: 70px; }
.approach__brace { width: 48px; height: 155px; color: var(--yellow); flex: 0 0 auto; }
.approach__excl  { width: 27px; height: 140px; color: var(--yellow); flex: 0 0 auto; margin-left: auto; }
.approach__titles { flex: 0 1 auto; }
.approach__t1 { color: var(--white); }
.approach__t2 { color: var(--purple); font-size: clamp(28px, 3.4vw, 54px); font-family: var(--font-head); font-weight: 700; line-height: 1.1; }
/* Ширини має вистачати на «до SEO з маркетинг-опрацюванням» одним рядком,
   а слово на дефісі не розривається. */
.approach__note {
  font-size: 14px; color: #cfcdd4; padding-top: 14px;
  flex: 0 0 auto; white-space: nowrap;
}

/* Явні 4 колонки: CSS columns балансує висоти по-своєму й ламає порядок із макета.
   Колонки тягнуться на однакову висоту, а остання картка кожної добирає
   залишок — тому нижній ряд стоїть рівно по одній лінії. */
.approach__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.approach__col { display: flex; flex-direction: column; gap: 22px; height: 100%; }
.approach__card {
  background: var(--dark-card); border-radius: 10px;
  padding: 20px 22px; font-size: 15px; line-height: 1.5; color: #eceaf0;
}
.approach__card:last-child { flex: 1 1 auto; }
.approach__card em { font-style: normal; color: var(--teal); }

/* ============================================================
   Цитата
   ============================================================ */
.quote { background: var(--purple); color: var(--white); padding: 90px 0; overflow: hidden; }
.quote__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.quote__text { position: relative; font-family: var(--font-head); font-size: clamp(15px, 1.15vw, 19px); line-height: 1.9; }
.quote__text p + p { margin-top: 26px; }
.quote__text em { font-style: normal; color: var(--yellow); }
.quote__marks {
  position: absolute; left: -10px; top: -70px; font-family: var(--font-hero); font-weight: 700;
  font-size: 190px; line-height: 1; color: rgba(255,255,255,.18); pointer-events: none;
}
.quote__media { position: relative; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; }
/* Фірмовий знак за фото — цілий логотип (дужки + WIN WIN), не окремі фігури */
.quote__badge {
  position: absolute; left: 0; right: 0; top: 0; bottom: 60px;
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow); z-index: 1; pointer-events: none;
}
.quote__badge svg { width: 92%; height: auto; max-height: 100%; }

.quote__photo { position: relative; z-index: 2; display: flex; justify-content: center; align-items: flex-end; }
.quote__photo img { width: auto; max-height: 420px; }
.quote__photo--empty {
  min-height: 340px; border: 2px dashed rgba(255,255,255,.45); border-radius: 10px;
  align-items: center; text-align: center;
}
.quote__photo-hint { font-size: 14px; color: rgba(255,255,255,.8); padding: 20px; }
.quote__caption { background: var(--teal); color: var(--dark); padding: 16px 24px; position: relative; z-index: 3; }
.quote__caption strong { display: block; font-family: var(--font-head); font-size: 17px; }
.quote__caption span { font-size: 15px; }

/* ============================================================
   «Почнімо роботу»
   ============================================================ */
.start { background: var(--grey); padding: 90px 0; position: relative; overflow: hidden; }
.start__decor {
  position: absolute; right: 4%; top: -60px; font-family: var(--font-hero); font-weight: 700;
  font-size: 420px; line-height: .8; color: var(--white); pointer-events: none; user-select: none;
}
.start__inner { position: relative; z-index: 2; }
.start__title { margin-bottom: 28px; }
.start__text { font-size: 17px; max-width: 100ch; margin-bottom: 34px; }

/* ============================================================
   Два блоки
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__col { padding: 90px 6%; }
.split__col--dark { background: var(--dark); color: var(--white); }
.split__col--dark .split__title { color: var(--yellow); }
.split__col--yellow { background: var(--yellow); color: var(--dark); }
.split__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 30px; }
.split__icon { width: 34px; height: 34px; flex: 0 0 auto; }
.split__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; }
.split__col--dark .split__icon { color: var(--yellow); }
.split__text { font-size: 16px; margin-bottom: 20px; max-width: 52ch; }
.split__text:last-of-type { margin-bottom: 34px; }

/* ============================================================
   Етапи — таймлайн
   ============================================================ */
.steps { padding: 100px 0; }
.steps__title { text-align: center; margin-bottom: 14px; }
.steps__subtitle { text-align: center; font-size: 17px; margin-bottom: 80px; }

.timeline { position: relative; max-width: 1180px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
  background: var(--line); transform: translateX(-50%);
}
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.tl-item__num {
  font-family: var(--font-body); font-weight: 800; font-size: 150px; line-height: .9;
  color: var(--purple); opacity: .18;
}
.tl-item.is-active .tl-item__num { opacity: 1; }
.tl-item__body { padding-top: 18px; }
.tl-item__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; color: var(--purple); }
.tl-item__icon { width: 26px; height: 26px; flex: 0 0 auto; }
.tl-item__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; }
.tl-item__title { font-family: var(--font-head); font-weight: 700; font-size: 20px; }
.tl-item__text { font-size: 16px; }
.tl-item__dot {
  position: absolute; left: 50%; top: 30px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--line); transform: translateX(-50%); z-index: 2;
}
.tl-item.is-active .tl-item__dot { background: var(--purple); }
/* непарні: цифра ліворуч, текст праворуч */
.tl-item:nth-child(odd) .tl-item__num { text-align: right; }
/* парні: текст ліворуч (з вирівнюванням праворуч), цифра праворуч */
.tl-item:nth-child(even) .tl-item__num { order: 2; text-align: left; }
.tl-item:nth-child(even) .tl-item__body { order: 1; text-align: right; }
.tl-item:nth-child(even) .tl-item__head { flex-direction: row-reverse; }
.steps__cta { text-align: center; margin-top: 60px; }

/* ============================================================
   Кейси
   ============================================================ */
.cases { padding: 40px 0 0; position: relative; overflow: hidden; }
.cases__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 50px; }
.cases__title { color: var(--purple); }
.cases__nav { display: flex; gap: 12px; flex: 0 0 auto; }
.cases__decor {
  position: absolute; right: -2%; top: 180px; font-family: var(--font-hero); font-weight: 700;
  font-size: 420px; line-height: .8; color: #f6f6f7; pointer-events: none; user-select: none;
}

/* слайдер кейсів */
.cases__track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; position: relative; z-index: 2;
}
.cases__track::-webkit-scrollbar { display: none; }
.case { flex: 0 0 100%; scroll-snap-align: start; }
.case__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }

/* місце під скріншот сайту клієнта */
.case__shot img { border-radius: 6px; }
.case__shot-empty {
  aspect-ratio: 4 / 3; border: 2px dashed var(--line); border-radius: 6px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  background: var(--grey); color: var(--text-muted); text-align: center; padding: 20px;
}
.case__shot-bar { display: flex; gap: 7px; }
.case__shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfcfd4; }
.case__shot-hint { font-size: 14px; line-height: 1.5; }
.case__title { margin-bottom: 26px; }
.case__body p { font-size: 16px; margin-bottom: 18px; }
.case__body strong { font-weight: 700; }

.metrics { background: var(--yellow); padding: 34px 0; }
.metrics__inner { display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; }
.metrics__label { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.metrics__val { font-size: clamp(32px, 3.4vw, 54px); font-weight: 800; line-height: 1; }
.metrics__arrow { font-size: 40px; }

/* ============================================================
   Відгуки
   ============================================================ */
.reviews { background: var(--grey); padding: 90px 0; }
.reviews__title { color: var(--purple); text-align: center; margin-bottom: 60px; }
.reviews__viewport { position: relative; }
.reviews__track {
  display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 8px;
}
.reviews__track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 calc((100% - 52px) / 3); scroll-snap-align: start;
  background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 26px;
}
.review__head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.review__avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: var(--grey); flex: 0 0 auto; display: grid; place-items: center; font-size: 28px; }
.review__avatar img { width: 100%; height: 100%; object-fit: cover; }
.review__name { font-family: var(--font-head); font-weight: 700; font-size: 17px; }
.review__role { font-size: 15px; color: var(--text-muted); }
.review__stars { color: #FFC252; letter-spacing: 2px; margin-bottom: 14px; font-size: 18px; }
.review__text { font-size: 14.5px; color: #4a4854; margin-bottom: 16px; }
.review__date { font-size: 14px; color: var(--text-muted); }

/* спільні елементи слайдерів (кейси + відгуки) */
.slider-nav {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--purple);
  background: transparent; color: var(--purple); cursor: pointer;
  display: grid; place-items: center; font-size: 15px; line-height: 1;
  transition: background .15s, color .15s;
}
.slider-nav:hover { background: var(--purple); color: var(--white); }
.slider-nav--filled { background: var(--purple); color: var(--white); }
.slider-nav[hidden] { display: none; }
.slider-nav:disabled { opacity: .35; cursor: default; }

.slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 34px; }
.slider-dots button { width: 11px; height: 11px; border-radius: 50%; border: 0; background: #d5d5da; cursor: pointer; padding: 0; }
.slider-dots button.active { background: var(--purple); }
.slider-dots:empty { display: none; }

.reviews__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; }
.reviews__nav--prev { left: -52px; }
.reviews__nav--next { right: -52px; }

/* ============================================================
   Статті
   ============================================================ */
/* НЕ називати цей клас .blog: WordPress вішає клас "blog" на <body>
   (коли головна = стрічка записів), і правило застосувалося б до всієї
   сторінки — з'являлася порожня смуга 90px згори й знизу. */
.section-blog { padding: 90px 0; }
.blog__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 54px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.post-card__img { aspect-ratio: 16 / 11; overflow: hidden; background: var(--grey); margin-bottom: 20px; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card__img img { transform: scale(1.03); }
.post-card__title { font-size: 17px; font-weight: 400; }
.post-card__title::after { content: " →"; }

/* ============================================================
   Форма заявки
   ============================================================ */
.lead { background: var(--purple); color: var(--white); padding: 80px 0; }
.lead__title { text-align: center; margin-bottom: 50px; }
.lead__form { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 20px; align-items: end; }
.lead__field label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 10px;
}
.lead__field input {
  width: 100%; padding: 16px 18px; border: 0; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 15px; background: var(--white); color: var(--text);
}
.lead__field input::placeholder { color: #9b99a3; }
.lead__field input:focus { outline: 2px solid var(--yellow); }
.lead__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lead__submit { align-self: end; }
.lead__submit .btn { width: 100%; justify-content: center; padding: 17px 34px; }
.lead__status { margin-top: 22px; text-align: center; font-weight: 700; min-height: 22px; grid-column: 1 / -1; }
.lead__status.ok { color: var(--yellow); }
.lead__status.err { color: #ffd7d7; }

.lead__contacts { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 54px; }
.lead__brace { width: 28px; height: 90px; color: var(--yellow); flex: 0 0 auto; }
.lead__contacts p { text-align: center; font-size: 16px; }
.lead__contacts a { color: var(--yellow); font-weight: 700; }

/* ============================================================
   Футер
   ============================================================ */
.footer { background: var(--dark); color: var(--white); padding: 64px 0 0; }
.footer__top { display: grid; grid-template-columns: 1.2fr repeat(6, 1fr); gap: 30px; padding-bottom: 54px; }
.footer__tagline { font-size: 13px; color: #b6b4bd; margin-top: 16px; max-width: 24ch; }
.footer__col h4 { font-size: 15px; font-weight: 700; margin-bottom: 18px; }
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.footer__col a { color: var(--teal); font-size: 15px; }
.footer__col a:hover { text-decoration: underline; }
.footer__col p { font-size: 15px; }

.footer__bottom {
  border-top: 1px solid #3a373e; padding: 26px 0 34px;
  display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 24px; align-items: center;
}
.footer__dev { font-size: 14px; color: #b6b4bd; }
.footer__dev a { color: var(--teal); display: block; margin-top: 6px; }
.footer__policy { text-align: center; font-size: 14px; color: #d6d4dc; }
.footer__policy a { color: var(--teal); }
.footer__social { display: flex; gap: 14px; justify-content: flex-end; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--dark); }
.footer__social svg { width: 19px; height: 19px; fill: currentColor; }
.footer__social .s-in { background: var(--teal); }
.footer__social .s-tg { background: var(--purple); color: var(--white); }
.footer__social .s-wa { background: var(--yellow); }

/* ============================================================
   Внутрішні сторінки
   ============================================================ */
.page-hero { background: var(--dark); color: var(--white); padding: 70px 0; }
.page-hero h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px, 4vw, 52px); }
.page-hero .meta { color: #b6b4bd; font-size: 14px; margin-top: 12px; }

.entry { padding: 64px 0; }
.entry__inner { max-width: 800px; margin: 0 auto; }
.entry__thumb { margin-bottom: 34px; }
.entry__content > * + * { margin-top: 20px; }
.entry__content h2 { font-family: var(--font-head); font-weight: 700; font-size: 30px; margin-top: 38px; }
.entry__content h3 { font-family: var(--font-head); font-weight: 700; font-size: 23px; margin-top: 28px; }
.entry__content ul, .entry__content ol { padding-left: 22px; }
.entry__content li + li { margin-top: 8px; }
.entry__content a { color: var(--purple); text-decoration: underline; }
.entry__content blockquote { border-left: 4px solid var(--yellow); padding-left: 20px; font-size: 19px; }
.entry__content code { background: var(--grey); padding: 2px 6px; font-family: var(--font-head); font-size: .92em; }

.archive-list { padding: 64px 0; }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 10px 16px; border-radius: var(--radius); background: var(--grey); font-weight: 700; }
.pagination .page-numbers.current { background: var(--purple); color: var(--white); }

.notfound { padding: 110px 0; text-align: center; }
.notfound h1 { font-family: var(--font-hero); font-weight: 700; font-size: 110px; color: var(--purple); }

.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { margin: 0 auto; }
.wp-caption-text { font-size: 14px; color: var(--text-muted); text-align: center; margin-top: 8px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

/* ============================================================
   Поява при скролі — вмикається лише за наявності JS
   ============================================================ */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Адаптив
   ============================================================ */
@media (max-width: 1400px) {
  .approach__grid { grid-template-columns: repeat(3, 1fr); }
  .reviews__nav--prev { left: 4px; }
  .reviews__nav--next { right: 4px; }
  .footer__top { grid-template-columns: 1fr repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .header__inner { min-height: 80px; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: var(--dark); padding: 24px; gap: 18px;
    border-top: 1px solid #3a373e;
  }
  .nav.open { display: flex; }
  .burger { display: flex; }
  .approach__grid { grid-template-columns: repeat(2, 1fr); }
  .approach__head { flex-wrap: wrap; gap: 16px; }
  /* на вузьких екранах хай переносить сам, аби не вилазило за межі */
  .approach__note { white-space: normal; flex: 1 1 auto; }
  .quote__inner { grid-template-columns: 1fr; gap: 44px; }
  .case__grid { grid-template-columns: 1fr; gap: 32px; }
  .blog__grid { grid-template-columns: 1fr 1fr; }
  .review { flex: 0 0 calc((100% - 26px) / 2); }
  .lead__form { grid-template-columns: 1fr 1fr; }
  .lead__submit { grid-column: 1 / -1; }
  .social-rail { display: none; }
  .hero__decor--brace { width: 130px; height: 420px; opacity: .7; }
  .hero__decor--excl { display: none; }
}

@media (max-width: 780px) {
  .split { grid-template-columns: 1fr; }
  .split__col { padding: 60px 24px; }
  .approach__grid { grid-template-columns: 1fr; }
  .blog__grid { grid-template-columns: 1fr; }
  .review { flex: 0 0 85%; }
  .lead__form { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__bottom { grid-template-columns: 1fr; text-align: center; }
  .footer__social { justify-content: center; }
  .metrics__inner { gap: 28px; }
  .metrics__arrow { transform: rotate(90deg); }

  /* таймлайн — в одну колонку */
  .timeline::before { left: 22px; }
  .tl-item { grid-template-columns: 1fr; gap: 0; padding-left: 60px; margin-bottom: 46px; }
  .tl-item__dot { left: 22px; }
  .tl-item__num { font-size: 90px; text-align: left !important; opacity: 1; }
  .tl-item:nth-child(even) .tl-item__num { order: 0; }
  .tl-item:nth-child(even) .tl-item__body { order: 0; text-align: left; }
  .tl-item:nth-child(even) .tl-item__head { flex-direction: row; }
  .band-cta__brace { display: none; }
  .start__decor { font-size: 240px; right: -20px; }
  .quote__marks { font-size: 120px; top: -40px; }
}
