/*! LegalHelp main.css — стилі теми (FSE block theme + custom blocks) */
/* ============ ЗМІННІ ТА БАЗА ============ */
:root {
  /* === КОРПОРАТИВНІ КОЛЬОРИ === */
  --brand-navy: #0E2A47;        /* основний — глибокий навігаційний синій */
  --brand-navy-dark: #081B30;   /* темніший відтінок для футера */
  --brand-navy-light: #1E416D;  /* світліший для hover */
  --brand-gold: #C9A14A;        /* акцент — золотистий, юридично-преміум */
  --brand-gold-dark: #A8842F;   /* hover для акценту */

  /* Резерв під зелений (Роман налаштує для фону окремих секцій) */
  --brand-green-bg: #0F5132;
  --brand-green-bg-dark: #0A3D26;

  /* Нейтралі */
  --bg: #FFFFFF;
  --bg-soft: #F6F8FB;
  --bg-card: #FFFFFF;
  --text: #1A2433;
  --text-muted: #5C6878;
  --border: #E3E8EF;

  /* Стани */
  --success: #16A34A;

  /* Типографіка */
  --font-display: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Радіуси, тіні */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(14, 42, 71, 0.08);
  --shadow-md: 0 6px 24px rgba(14, 42, 71, 0.10);
  --shadow-lg: 0 20px 60px rgba(14, 42, 71, 0.18);

  /* Контейнер */
  --container: 1240px;
  --gutter: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-gold); }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--brand-navy); }

/* ============ КНОПКИ ============ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-md);
  font-family: var(--font-display); font-weight: 600; font-size: 15px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--brand-gold); color: var(--brand-navy); box-shadow: 0 6px 18px rgba(201,161,74,.35); }
.btn-primary:hover { background: var(--brand-gold-dark); color: white; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: white; border: 1px solid rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.08); color: white; }
.btn-dark { background: var(--brand-navy); color: white; }
.btn-dark:hover { background: var(--brand-navy-light); color: white; }

/* ============ TOP BAR ============ */
.topbar {
  background: var(--brand-navy-dark);
  color: rgba(255,255,255,.75);
  font-size: 13px;
  padding: 10px 0;
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.topbar-info { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar-info span { display: flex; align-items: center; gap: 8px; }
.topbar-info svg { width: 14px; height: 14px; opacity: .7; }
.lang-switch { display: flex; gap: 6px; }
.lang-switch a {
  display: inline-block; padding: 4px 10px; border-radius: 6px;
  font-weight: 600; font-size: 12px;
  color: rgba(255,255,255,.6);
}
.lang-switch a.active { background: var(--brand-gold); color: var(--brand-navy); }
.lang-switch a:hover { color: white; }
.lang-switch a.active:hover { color: var(--brand-navy); }

/* ============ HEADER ============ */
.header {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 18px 0; }
.logo { display: flex; align-items: center; gap: 14px; }
.logo img { height: 48px; width: auto; display: block; }
.logo-text { display: flex; flex-direction: column; }
.logo-text strong { font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--brand-navy); letter-spacing: -.3px; line-height: 1.1; }
.logo-text small { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 2px; }
.footer .logo img { filter: brightness(0) invert(1); opacity: .9; }

.nav { display: flex; gap: 28px; }
.nav a { font-weight: 500; font-size: 15px; color: var(--text); position: relative; padding: 6px 0; }
.nav a:hover { color: var(--brand-navy); }
.nav a.has-sub::after { content: '▾'; margin-left: 6px; font-size: 10px; opacity: .5; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header-phone strong { font-family: var(--font-display); font-weight: 700; color: var(--brand-navy); font-size: 16px; }
.header-phone small { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

.burger {
  display: none; width: 44px; height: 44px; border-radius: 10px;
  background: var(--bg-soft);
  align-items: center; justify-content: center;
  position: relative; z-index: 1002; cursor: pointer;
  transition: background .2s ease;
}
.burger:hover { background: var(--border); }
.burger span { display: block; width: 22px; height: 2px; background: var(--brand-navy); position: relative; transition: background .2s ease; border-radius: 2px; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 22px; height: 2px; background: var(--brand-navy); border-radius: 2px; transition: transform .35s cubic-bezier(.68,-0.55,.265,1.55), top .25s ease; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }
/* Стан "відкрито" — лінії складаються в хрестик */
.burger.active span { background: transparent; }
.burger.active span::before { top: 0; transform: rotate(45deg); }
.burger.active span::after { top: 0; transform: rotate(-45deg); }

/* ============ MOBILE MENU (DRAWER) ============ */
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(8, 27, 48, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
  z-index: 1000;
}
.menu-overlay.active { opacity: 1; pointer-events: auto; }

.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100%; max-width: 380px; height: 100vh; height: 100dvh;
  background: linear-gradient(160deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: white;
  z-index: 1001;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.65,.05,.36,1);
  display: flex; flex-direction: column;
  padding: 26px 28px 30px;
  overflow-y: auto;
  box-shadow: -20px 0 60px rgba(0,0,0,0.3);
}
.mobile-menu.active { transform: translateX(0); }

/* Декоративні елементи фону */
.mobile-menu::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(201,161,74,.18), transparent 70%);
  pointer-events: none;
}
.mobile-menu::after {
  content: ''; position: absolute; bottom: -100px; left: -60px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(201,161,74,.08), transparent 70%);
  pointer-events: none;
}

.menu-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px;
  position: relative; z-index: 1;
}
.menu-header .logo img { filter: brightness(0) invert(1); }
.menu-header .logo-text strong { color: white !important; font-size: 17px; }
.menu-header .logo-text small { color: rgba(255,255,255,.5); }
.menu-close {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.menu-close:hover { background: rgba(255,255,255,.15); transform: rotate(90deg); }

.menu-nav {
  list-style: none;
  flex: 1;
  position: relative; z-index: 1;
}
.menu-nav li {
  border-bottom: 1px solid rgba(255,255,255,.08);
  /* Анімація появи при відкритті */
  opacity: 0;
  transform: translateX(20px);
  transition: opacity .4s ease, transform .4s ease;
}
.mobile-menu.active .menu-nav li {
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu.active .menu-nav li:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .menu-nav li:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu.active .menu-nav li:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu.active .menu-nav li:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu.active .menu-nav li:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu.active .menu-nav li:nth-child(6) { transition-delay: 0.35s; }
.menu-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  color: white;
  font-family: var(--font-display);
  font-weight: 600; font-size: 17px;
  transition: color .2s ease, padding-left .2s ease;
}
.menu-nav a::after {
  content: '→';
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .2s ease, transform .2s ease;
  color: var(--brand-gold);
}
.menu-nav a:hover, .menu-nav a:focus {
  color: var(--brand-gold);
  padding-left: 8px;
}
.menu-nav a:hover::after, .menu-nav a:focus::after {
  opacity: 1; transform: translateX(0);
}

.menu-footer {
  padding-top: 24px;
  margin-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
  position: relative; z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease .4s, transform .5s ease .4s;
}
.mobile-menu.active .menu-footer { opacity: 1; transform: translateY(0); }
.menu-phone {
  display: flex; align-items: center; gap: 10px;
  color: white; font-family: var(--font-display); font-weight: 700; font-size: 18px;
  margin-bottom: 14px;
}
.menu-phone svg { width: 18px; height: 18px; color: var(--brand-gold); }
.menu-hours {
  color: rgba(255,255,255,.55); font-size: 13px; margin-bottom: 20px;
}
.menu-cta { width: 100%; justify-content: center; }
.menu-lang {
  display: flex; gap: 6px;
  margin-top: 20px;
}
.menu-lang a {
  flex: 1;
  padding: 10px;
  background: rgba(255,255,255,.06);
  text-align: center;
  border-radius: 8px;
  color: rgba(255,255,255,.7);
  font-weight: 600; font-size: 13px;
}
.menu-lang a.active { background: #016c6c; color: var(--brand-navy); }
.menu-lang a:hover { color: white; background: rgba(255,255,255,.12); }
.menu-lang a.active:hover { color: var(--brand-navy); background: var(--brand-gold-dark); }

body.menu-open { overflow: hidden; }

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: white;
  padding: 110px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(ellipse at top right, rgba(201,161,74,.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  /* Декоративний візерунок — масштаби правосуддя/гербова рамка */
  content: ''; position: absolute; right: -100px; bottom: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,161,74,.06) 0%, transparent 70%);
  border-radius: 50%;
}

/* Плаваючі декоративні елементи hero */
.hero-deco { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.hero-deco svg { position: absolute; color: var(--brand-gold); opacity: .12; }
.deco-1 { top: 12%; left: 4%; width: 60px; animation: float-y 6s ease-in-out infinite; }
.deco-2 { top: 22%; right: 38%; width: 44px; animation: float-y 8s ease-in-out infinite 1s; }
.deco-3 { bottom: 18%; left: 8%; width: 52px; animation: float-rotate 12s linear infinite; }
.deco-4 { top: 65%; left: 38%; width: 38px; animation: float-y 5s ease-in-out infinite .5s; opacity: .08; }
.deco-5 { top: 8%; right: 4%; width: 56px; animation: float-rotate 18s linear infinite reverse; opacity: .1; }

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-26px); }
}
@keyframes float-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ============ АНІМОВАНА СЦЕНА ============ */
.scene-section { background: linear-gradient(180deg, var(--bg-soft) 0%, white 100%); padding: 100px 0 80px; }
.scene-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.scene-text h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 20px; }
.scene-text .section-eyebrow { margin-bottom: 16px; }
.scene-text p { color: var(--text-muted); font-size: 16px; line-height: 1.7; margin-bottom: 24px; }
.scene-features { list-style: none; }
.scene-features li {
  display: flex; align-items: flex-start; gap: 14px; padding: 12px 0;
  font-size: 15px;
}
.scene-features li svg {
  flex-shrink: 0; width: 24px; height: 24px;
  background: rgba(201,161,74,.15); color: var(--brand-gold);
  padding: 4px; border-radius: 8px;
  margin-top: 2px;
}
.scene-features li strong { font-family: var(--font-display); color: var(--brand-navy); font-weight: 700; display: block; margin-bottom: 2px; }
.scene-features li span { color: var(--text-muted); font-size: 14px; }

.scene-svg {
  width: 100%; height: auto; max-width: 640px; margin: 0 auto;
  display: block;
  overflow: visible;
}

/* === АНІМАЦІЇ SVG-СЦЕНИ === */

/* Галочки в чеклисті — малюються по черзі */
.scene-doc-checks .check-mark {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw-check 1.0s ease-out forwards;
}
.scene-doc-checks .check-mark.c1 { animation-delay: 0.6s; }
.scene-doc-checks .check-mark.c2 { animation-delay: 1.8s; }
.scene-doc-checks .check-mark.c3 { animation-delay: 3.0s; }
.scene-doc-checks .check-mark.c4 { animation-delay: 4.2s; }
@keyframes draw-check { to { stroke-dashoffset: 0; } }

.scene-doc-checks .check-line {
  opacity: 0;
  animation: fade-in 0.5s ease-out forwards;
}
.scene-doc-checks .check-line.l1 { animation-delay: 0.4s; }
.scene-doc-checks .check-line.l2 { animation-delay: 1.6s; }
.scene-doc-checks .check-line.l3 { animation-delay: 2.8s; }
.scene-doc-checks .check-line.l4 { animation-delay: 4.0s; }
@keyframes fade-in { to { opacity: 1; } }

/* Терези — натуральне зважування:
   нахил ліворуч (ліва піднялась) → плавне вирівнювання → пауза → повтор.
   Тільки в одну сторону, щоб імітувати реальне зважування з вирівнюванням до центру. */
.scene-scales-arm {
  transform-origin: center;
  animation: scales-balance 5s ease-in-out infinite;
}
@keyframes scales-balance {
  0%   { transform: rotate(0deg); }
  20%  { transform: rotate(-4deg); }   /* ліва піднялась трішки вгору */
  35%  { transform: rotate(-3deg); }   /* притишене коливання */
  55%  { transform: rotate(0deg); }    /* плавне вирівнювання до центру */
  100% { transform: rotate(0deg); }    /* пауза в балансі */
}

/* Печатка — спокійніша анімація press, без сильного злету */
.scene-stamp {
  transform-origin: center;
  transform-box: fill-box;
  animation: stamp-press 4s ease-in-out infinite;
}
@keyframes stamp-press {
  0%, 55%, 100% { transform: translateY(-18px); }
  68%, 72% { transform: translateY(0); }
  80% { transform: translateY(-6px); }
}
.scene-stamp-mark {
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
  animation: stamp-mark-show 4s ease-in-out infinite;
}
@keyframes stamp-mark-show {
  0%, 65% { opacity: 0; transform: scale(.7); }
  72% { opacity: 1; transform: scale(1); }
  100% { opacity: .85; transform: scale(1); }
}

/* Монети що злітають */
.scene-coin {
  animation: coin-rise 3s ease-out infinite;
  opacity: 0;
}
.scene-coin.c1 { animation-delay: 0s; }
.scene-coin.c2 { animation-delay: 1s; }
.scene-coin.c3 { animation-delay: 2s; }
@keyframes coin-rise {
  0% { transform: translateY(15px); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateY(-110px); opacity: 0; }
}

/* Лінійний графік росту — лінії плавно "плавуть" */
.scene-chart-line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: chart-draw 4s ease-out infinite;
}
.scene-chart-line.l1 { animation-delay: 0s; }
.scene-chart-line.l2 { animation-delay: .8s; }
@keyframes chart-draw {
  0% { stroke-dashoffset: 600; opacity: .15; }
  40% { opacity: .35; }
  60%, 90% { stroke-dashoffset: 0; opacity: .35; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

/* Точки на графіку — пульсують */
.scene-chart-point {
  animation: chart-point-pulse 2.5s ease-in-out infinite;
}
.scene-chart-point.p1 { animation-delay: 0s; }
.scene-chart-point.p2 { animation-delay: .4s; }
.scene-chart-point.p3 { animation-delay: .8s; }
.scene-chart-point.p4 { animation-delay: 1.2s; }
@keyframes chart-point-pulse {
  0%, 100% { transform: scale(1); opacity: .55; }
  50% { transform: scale(1.4); opacity: 1; }
}

/* Зелений індикатор */
.scene-pulse {
  transform-origin: center;
  transform-box: fill-box;
  animation: pulse-circle 2s ease-in-out infinite;
}
@keyframes pulse-circle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(2); }
}

@media (prefers-reduced-motion: reduce) {
  .scene-svg *, .hero-deco svg { animation: none !important; }
  .scene-doc-checks .check-mark, .scene-doc-checks .check-line { opacity: 1; stroke-dashoffset: 0; }
  .scene-chart-line { stroke-dashoffset: 0; opacity: .35; }
}
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(201,161,74,.15); color: var(--brand-gold);
  border: 1px solid rgba(201,161,74,.3);
  border-radius: 30px;
  font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  color: white;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--brand-gold); position: relative; }
.hero h1 span::after {
  content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 3px;
  background: var(--brand-gold); opacity: .5;
}
.hero-desc { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 520px; }
.hero-trust-item { border-left: 2px solid var(--brand-gold); padding-left: 16px; }
.hero-trust-item strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 28px; color: white; line-height: 1; }
.hero-trust-item span { font-size: 13px; color: rgba(255,255,255,.65); margin-top: 6px; display: block; }

/* HERO FORM CARD */
.hero-form {
  background: white;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-form-badge {
  position: absolute; top: -14px; left: 32px;
  background: var(--brand-gold); color: var(--brand-navy);
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  padding: 6px 14px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.hero-form h3 { font-size: 22px; margin-bottom: 8px; }
.hero-form p { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; }
.form-row { margin-bottom: 14px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; color: var(--text);
  transition: border-color .2s ease, box-shadow .2s ease;
  background: var(--bg-soft);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--brand-navy); background: white;
  box-shadow: 0 0 0 3px rgba(14,42,71,.08);
}
.form-row textarea { min-height: 90px; resize: vertical; }
.form-submit { width: 100%; justify-content: center; }
.form-meta { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 14px; }

/* ============ WHY US ============ */
.why-us { background: var(--bg-soft); padding: 80px 0; border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 40px; }
.why-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  position: relative; overflow: hidden;
  transition: all .25s ease;
}
.why-card::after {
  content: ''; position: absolute; top: 0; right: 0;
  width: 90px; height: 90px;
  background: radial-gradient(circle, rgba(201,161,74,.15) 0%, transparent 70%);
  pointer-events: none;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-gold); }
.why-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-light));
  color: var(--brand-gold);
  border-radius: 14px;
  margin-bottom: 20px;
  box-shadow: 0 6px 14px rgba(14,42,71,.25);
}
.why-icon svg { width: 28px; height: 28px; }
.why-card h4 { font-size: 18px; margin-bottom: 10px; color: var(--brand-navy); }
.why-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.why-stat { display: block; font-family: var(--font-display); font-weight: 800; font-size: 32px; color: var(--brand-gold); line-height: 1; margin-bottom: 12px; }

/* ============ SECTION BASE ============ */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-eyebrow {
  display: inline-block; padding: 6px 14px;
  background: rgba(14,42,71,.06); color: var(--brand-navy);
  border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-head h2 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.section-head p { color: var(--text-muted); font-size: 17px; }

/* ============ SERVICES GRID ============ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: var(--brand-gold); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured {
  background: linear-gradient(135deg, #016c6c, var(--brand-navy-dark));
  color: white;
  border: 0;
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(14,42,71,.30);
}
.service-card.featured:hover { transform: translateY(-18px); }
.service-card.featured h3 { color: white; }
.service-card.featured p { color: rgba(255,255,255,.85); }
.service-card.featured .service-list li { color: rgba(255,255,255,.85); }
.service-card.featured .service-list li::before { color: var(--brand-gold); }
.service-card.featured .service-link { color: var(--brand-gold); }
.featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand-gold); color: var(--brand-navy);
  font-family: var(--font-display); font-weight: 800; font-size: 11px;
  padding: 7px 16px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1.2px;
  box-shadow: 0 6px 16px rgba(201,161,74,.45);
  white-space: nowrap;
}

.service-icon {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(201,161,74,.12); color: var(--brand-gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.service-icon svg { width: 32px; height: 32px; }
.service-card.featured .service-icon { background: rgba(201,161,74,.2); }
.service-card h3 { font-size: 22px; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 22px; line-height: 1.6; }
.service-card.featured p { color: rgba(255,255,255,.8); }
.service-list { list-style: none; margin-bottom: 26px; }
.service-list li { padding: 6px 0 6px 22px; position: relative; font-size: 14px; color: var(--text); }
.service-list li::before { content: '→'; position: absolute; left: 0; color: var(--brand-gold); font-weight: 700; }
.service-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; color: var(--brand-navy); font-size: 15px; }
.service-link:hover { gap: 12px; }

/* ============ SPECIALIZATIONS ============ */
.specs { background: var(--bg-soft); }
.specs-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.spec-tile {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  transition: all .25s ease;
  cursor: pointer;
}
.spec-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-gold); }
.spec-icon { width: 48px; height: 48px; margin: 0 auto 14px; color: var(--brand-navy); }
.spec-tile:hover .spec-icon { color: var(--brand-gold); }
.spec-tile strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--brand-navy); font-size: 14px; line-height: 1.3; }

/* ============ PROCESS / HOW WE WORK ============ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.process-step {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border);
  position: relative;
}
.process-num {
  position: absolute; top: -16px; right: 24px;
  width: 44px; height: 44px;
  background: var(--brand-gold); color: var(--brand-navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 17px;
  box-shadow: 0 4px 12px rgba(201,161,74,.4);
}
.process-step h4 { font-size: 19px; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--text-muted); }

/* ============ CASES / TRUST ============ */
.cases { background: linear-gradient(
319deg, #016c6c, var(--brand-navy-dark)); color: white; }
.cases h2 { color: white; }
.cases .section-head p { color: rgba(255,255,255,.7); }
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.case-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .25s ease;
}
.case-card:hover { background: rgba(255,255,255,.08); border-color: var(--brand-gold); }
.case-tag {
  display: inline-block; padding: 4px 10px;
  background: rgba(201,161,74,.18); color: var(--brand-gold);
  border-radius: 6px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}
.case-card h4 { color: white; font-size: 19px; margin-bottom: 12px; line-height: 1.3; }
.case-card p { color: rgba(255,255,255,.75); font-size: 14px; margin-bottom: 20px; }
.case-result { padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; gap: 14px; }
.case-result-value { font-family: var(--font-display); font-weight: 800; color: var(--brand-gold); font-size: 24px; }
.case-result-label { font-size: 12px; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: 1px; }

/* ============ TESTIMONIALS SLIDER ============ */
.testimonials-section { position: relative; }
.testimonials-section .container { position: relative; }

/* Загальна "лапка" — велика декоративна */
.testimonials-section::before {
  content: '"';
  position: absolute;
  left: 50%; top: 100px;
  transform: translateX(-50%);
  font-family: Georgia, serif;
  font-size: 280px; line-height: 1;
  color: var(--brand-gold);
  opacity: .06;
  pointer-events: none;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding: 10px 4px 60px;
}
.testimonials-track {
  display: flex;
  gap: 28px;
  transition: transform .55s cubic-bezier(.65,.05,.36,1);
  will-change: transform;
}
.testimonial {
  flex: 0 0 calc(50% - 14px);
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 34px 32px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s ease, transform .3s ease;
}
.testimonial:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.testimonial::before {
  content: '"';
  position: absolute; top: 18px; right: 32px;
  font-family: Georgia, serif; font-size: 90px; line-height: 1;
  color: var(--brand-gold); opacity: .25;
}

.testimonial-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
  position: relative; z-index: 1;
}
.testimonial-tag {
  display: inline-block;
  padding: 4px 11px;
  background: rgba(14,42,71,.06);
  color: var(--brand-navy);
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
}
.testimonial-rating { display: flex; gap: 2px; color: var(--brand-gold); }
.testimonial-rating svg { width: 16px; height: 16px; }

.testimonial-quote {
  font-size: 16px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative; z-index: 1;
}
.testimonial-author {
  display: flex; align-items: center; gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-light));
  color: var(--brand-gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(14,42,71,.2);
}
.testimonial-author strong { font-family: var(--font-display); font-weight: 700; color: var(--brand-navy); font-size: 15px; display: block; }
.testimonial-author span { font-size: 13px; color: var(--text-muted); }

/* Кнопки prev/next */
.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.slider-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border);
  color: var(--brand-navy);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: var(--shadow-sm);
}
.slider-arrow svg { width: 20px; height: 20px; }
.slider-arrow:hover {
  background: var(--brand-navy);
  border-color: var(--brand-navy);
  color: var(--brand-gold);
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}
.slider-arrow:disabled { opacity: .35; cursor: not-allowed; transform: none; }

/* Точки-індикатори */
.slider-dots {
  display: flex; justify-content: center; gap: 10px;
  margin-top: 24px;
}
.slider-dots button {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all .3s ease;
  border: 0;
  padding: 0;
}
.slider-dots button.active {
  background: var(--brand-gold);
  width: 32px;
  border-radius: 5px;
}
.slider-dots button:hover { background: var(--brand-navy-light); }
.slider-dots button.active:hover { background: var(--brand-gold-dark); }

/* ============ BLOG ============ */
.blog { background: var(--bg-soft); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { background: white; border-radius: var(--radius-lg); overflow: hidden; transition: all .25s ease; border: 1px solid var(--border); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.blog-image { height: 180px; background: linear-gradient(319deg, #016c6c, var(--brand-navy-dark)); position: relative; }
.blog-image::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(201,161,74,.2), transparent 60%); }
.blog-content { padding: 26px; }
.blog-tag { display: inline-block; padding: 4px 10px; background: rgba(14,42,71,.06); color: var(--brand-navy); border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.blog-card h4 { font-size: 18px; margin-bottom: 12px; line-height: 1.35; }
.blog-card h4 a { color: var(--brand-navy); }
.blog-card h4 a:hover { color: var(--brand-gold); }
.blog-meta { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--text-muted); margin-top: 16px; }

/* ============ FINAL CTA ============ */
.final-cta {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-dark));
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.final-cta::before { content: ''; position: absolute; top: -200px; left: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,161,74,.08), transparent 60%); border-radius: 50%; }
.final-cta::after { content: ''; position: absolute; bottom: -200px; right: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,161,74,.06), transparent 60%); border-radius: 50%; }
.final-cta .container { position: relative; z-index: 2; }
.final-cta h2 { color: white; font-size: clamp(28px, 3vw, 42px); margin-bottom: 18px; max-width: 800px; margin-left: auto; margin-right: auto; }
.final-cta p { font-size: 18px; color: rgba(255,255,255,.8); max-width: 620px; margin: 0 auto 36px; }
.final-cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============ FOOTER ============ */
.footer { background: var(--brand-navy-dark); color: rgba(255,255,255,.7); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-col h5 { color: white; font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 6px 0; }
.footer-col li a { color: rgba(255,255,255,.7); font-size: 14px; }
.footer-col li a:hover { color: var(--brand-gold); }
.footer-about { font-size: 14px; line-height: 1.7; margin-bottom: 24px; max-width: 380px; }
.footer-contacts { font-size: 14px; line-height: 1.8; }
.footer-contacts strong { color: white; font-family: var(--font-display); display: block; font-size: 17px; margin-bottom: 4px; }
.footer-bottom { padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,.5); flex-wrap: wrap; gap: 14px; }

/* ============ АДАПТИВ ============ */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: flex; }
  .specs-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .cases-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .testimonial { flex: 0 0 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; }
  .scene-wrap { grid-template-columns: 1fr; gap: 40px; }
  .scene-illustration { order: -1; }
  .scene-svg { max-width: 540px; }
  .hero-deco svg { display: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  section { padding: 60px 0; }
  .hero { padding: 80px 0 60px; }
  .topbar-info { gap: 12px; }
  .topbar-info span:nth-child(3) { display: none; }
  .header-phone { display: none; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-trust { grid-template-columns: 1fr; gap: 12px; }
  .hero-trust-item { padding-left: 14px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   CATEGORY PAGE STYLES — для шаблону category-services.html
   ============================================================ */
/* ===== BREADCRUMBS ===== */
.breadcrumbs {
  background: var(--bg-soft);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 0; margin: 0; }
.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.breadcrumbs li:not(:last-child)::after { content: '/'; color: var(--border); }
.breadcrumbs a { color: var(--text-muted); }
.breadcrumbs a:hover { color: var(--brand-navy); }
.breadcrumbs li:last-child { color: var(--brand-navy); font-weight: 600; }

/* ===== CATEGORY HERO (менший, з ілюстрацією) ===== */
.cat-hero {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: white;
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}
.cat-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,161,74,.15), transparent 70%);
}
.cat-hero-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.cat-hero h1 {
  color: white;
  font-size: clamp(32px, 3.6vw, 46px);
  font-weight: 800; letter-spacing: -.5px;
  margin-bottom: 18px;
}
.cat-hero-lead { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 28px; max-width: 580px; }
.cat-hero-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 32px; max-width: 560px; }
.cat-hero-bullets li {
  list-style: none;
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.92); font-size: 15px;
}
.cat-hero-bullets li svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--brand-gold); background: rgba(201,161,74,.15); padding: 3px; border-radius: 6px; }
.cat-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero-ілюстрація: композиція з картки */
.cat-hero-card {
  background: white; color: var(--text);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.cat-hero-card-badge {
  position: absolute; top: -14px; left: 32px;
  background: var(--brand-gold); color: var(--brand-navy);
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  padding: 6px 14px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.cat-hero-card h3 { font-size: 20px; margin-bottom: 14px; }
.cat-hero-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.cat-hero-card-stat strong { font-family: var(--font-display); font-size: 28px; color: var(--brand-navy); display: block; }
.cat-hero-card-stat span { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.cat-hero-card .btn { width: 100%; justify-content: center; }
.cat-hero-card .form-meta { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* ===== SUB-CATEGORIES GRID ===== */
.subcats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.subcat-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all .25s ease;
  position: relative;
  display: flex; flex-direction: column;
}
.subcat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-gold); }
.subcat-icon {
  width: 52px; height: 52px;
  background: rgba(14,42,71,.06);
  color: var(--brand-navy);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: all .25s ease;
}
.subcat-card:hover .subcat-icon { background: var(--brand-navy); color: var(--brand-gold); }
.subcat-icon svg { width: 26px; height: 26px; }
.subcat-card h3 { font-size: 17px; margin-bottom: 8px; line-height: 1.35; }
.subcat-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.subcat-link { color: var(--brand-navy); font-family: var(--font-display); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; transition: gap .2s ease; }
.subcat-link:hover { color: var(--brand-gold); gap: 10px; }

/* ===== ICP / AUDIENCE ===== */
.icp { background: var(--bg-soft); }
.icp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.icp-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}
.icp-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%;
  background: var(--brand-gold);
}
.icp-stage {
  display: inline-block;
  background: rgba(201,161,74,.15); color: var(--brand-gold-dark);
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  padding: 4px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1.2px;
  margin-bottom: 16px;
}
.icp-card h4 { font-size: 19px; margin-bottom: 12px; }
.icp-card p { color: var(--text-muted); font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.icp-card ul { list-style: none; padding: 0; }
.icp-card li { padding: 4px 0 4px 22px; font-size: 14px; position: relative; color: var(--text); }
.icp-card li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 800; }

/* ===== PRICING ===== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.price-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: all .25s ease;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-dark));
  color: white;
  border: 0;
  transform: translateY(-12px);
  box-shadow: 0 20px 50px rgba(14,42,71,.30);
}
.price-card.featured:hover { transform: translateY(-18px); }
.price-card.featured h3 { color: white; }
.price-card.featured .price-features li { color: rgba(255,255,255,.85); }
.price-tier {
  display: inline-block;
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  background: rgba(14,42,71,.06); color: var(--brand-navy);
  padding: 5px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1.2px;
  margin-bottom: 14px;
}
.price-card.featured .price-tier { background: var(--brand-gold); color: var(--brand-navy); }
.price-popular-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--brand-gold); color: var(--brand-navy);
  font-family: var(--font-display); font-weight: 800; font-size: 11px;
  padding: 7px 16px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1.2px;
  box-shadow: 0 6px 16px rgba(201,161,74,.45);
  white-space: nowrap;
}
.price-card h3 { font-size: 22px; margin-bottom: 8px; }
.price-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
.price-card.featured .price-desc { color: rgba(255,255,255,.7); }
.price-amount { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-amount strong { font-family: var(--font-display); font-weight: 800; font-size: 38px; color: var(--brand-navy); }
.price-card.featured .price-amount strong { color: var(--brand-gold); }
.price-amount em { font-style: normal; font-size: 18px; color: var(--text-muted); font-weight: 500; }
.price-card.featured .price-amount em { color: rgba(255,255,255,.6); }
.price-period { font-size: 13px; color: var(--text-muted); margin-bottom: 26px; }
.price-card.featured .price-period { color: rgba(255,255,255,.6); }
.price-features { list-style: none; padding: 0; margin-bottom: 26px; }
.price-features li { padding: 8px 0 8px 28px; font-size: 14px; position: relative; line-height: 1.5; }
.price-features li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  width: 18px; height: 18px;
  background: var(--success); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.price-features li.no::before { content: '✕'; background: var(--text-muted); opacity: .5; }
.price-features li.no { color: var(--text-muted); opacity: .6; text-decoration: line-through; }
.price-card .btn { width: 100%; justify-content: center; }
.price-card.featured .btn-dark { background: var(--brand-gold); color: var(--brand-navy); }
.price-card.featured .btn-dark:hover { background: var(--brand-gold-dark); color: white; }

/* ===== FAQ ACCORDION ===== */
.faq-section { background: var(--bg-soft); }
.faq-wrap { max-width: 820px; margin: 40px auto 0; }
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); border-color: var(--brand-gold); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: var(--brand-navy);
  transition: color .2s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand-gold); }
.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: rgba(14,42,71,.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-left: 16px;
  transition: all .3s ease;
}
.faq-icon svg { width: 14px; height: 14px; color: var(--brand-navy); }
.faq-item[open] .faq-icon { background: var(--brand-gold); transform: rotate(180deg); }
.faq-item[open] .faq-icon svg { color: white; }
.faq-body {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.faq-body p { margin-bottom: 12px; }
.faq-body p:last-child { margin-bottom: 0; }
.faq-body a { color: var(--brand-navy); font-weight: 600; text-decoration: underline; }

/* ===== ВЕЛИКИЙ CTA ПЕРЕД ФУТЕРОМ ===== */
.cat-final {
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-dark));
  color: white;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}
.cat-final::before {
  content: ''; position: absolute; top: -120px; left: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(201,161,74,.15), transparent 70%);
}
.cat-final::after {
  content: ''; position: absolute; bottom: -150px; right: -120px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(201,161,74,.10), transparent 70%);
}
.cat-final > * { position: relative; z-index: 1; }
.cat-final h2 { color: white; font-size: clamp(26px, 3vw, 36px); margin-bottom: 12px; }
.cat-final p { font-size: 17px; color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto 30px; }
.cat-final-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== АДАПТИВ ===== */
@media (max-width: 1100px) {
  .cat-hero-inner { grid-template-columns: 1fr; }
  .subcats-grid { grid-template-columns: repeat(2, 1fr); }
  .icp-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; gap: 30px; }
  .price-card.featured { transform: translateY(0); }
}
@media (max-width: 680px) {
  .cat-hero { padding: 50px 0 60px; }
  .cat-hero-bullets { grid-template-columns: 1fr; }
  .subcats-grid { grid-template-columns: 1fr; }
  .cat-final { padding: 40px 24px; }
}

/* ============================================================
   SERVICE SINGLE PAGE STYLES
   ============================================================ */
/* ===== SERVICE HERO ===== */
.svc-hero {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-dark) 100%);
  color: white;
  padding: 70px 0 80px;
  position: relative;
  overflow: hidden;
}
.svc-hero::before {
  content: ''; position: absolute; top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(201,161,74,.15), transparent 70%);
  pointer-events: none;
}
.svc-hero-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.svc-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px;
  background: rgba(201,161,74,.15); color: var(--brand-gold);
  border: 1px solid rgba(201,161,74,.3);
  border-radius: 30px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
  margin-bottom: 18px;
}
.svc-hero h1 {
  color: white;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800; letter-spacing: -.5px;
  margin-bottom: 18px;
  line-height: 1.15;
}
.svc-hero-lead { font-size: 18px; color: rgba(255,255,255,.85); margin-bottom: 28px; max-width: 580px; }

.svc-quickstats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  border-bottom: 1px solid rgba(255,255,255,.12);
  margin-bottom: 28px;
  max-width: 580px;
}
.svc-quickstats-item { border-left: 2px solid var(--brand-gold); padding-left: 14px; }
.svc-quickstats-item strong { display: block; font-family: var(--font-display); font-weight: 800; color: white; font-size: 22px; line-height: 1; }
.svc-quickstats-item span { font-size: 12px; color: rgba(255,255,255,.65); display: block; margin-top: 6px; }
.svc-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.svc-hero-card {
  background: white; color: var(--text);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.svc-hero-card-badge {
  position: absolute; top: -14px; left: 32px;
  background: var(--brand-gold); color: var(--brand-navy);
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  padding: 6px 14px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.svc-hero-card h3 { font-size: 19px; margin-bottom: 14px; }
.svc-hero-card-list { list-style: none; padding: 0; margin: 0 0 20px; }
.svc-hero-card-list li { padding: 8px 0 8px 28px; position: relative; font-size: 14px; }
.svc-hero-card-list li::before {
  content: '✓'; position: absolute; left: 0; top: 9px;
  width: 18px; height: 18px;
  background: var(--success); color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800;
}
.svc-hero-card .btn { width: 100%; justify-content: center; }
.svc-hero-card .form-meta { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* ===== ЩО ВХОДИТЬ (Deliverables) ===== */
.svc-deliverables-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.svc-deliv-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; gap: 20px;
  transition: all .25s ease;
}
.svc-deliv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-gold); }
.svc-deliv-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-light));
  color: var(--brand-gold);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
}
.svc-deliv-icon svg { width: 26px; height: 26px; }
.svc-deliv-card h4 { font-size: 17px; margin-bottom: 8px; }
.svc-deliv-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ===== КОМУ ПОТРІБНО (Who needs) ===== */
.svc-who { background: var(--bg-soft); }
.svc-who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 40px; max-width: 920px; margin-left: auto; margin-right: auto; }
.svc-who-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 26px;
  display: flex; align-items: flex-start; gap: 16px;
  transition: border-color .25s ease;
}
.svc-who-item:hover { border-color: var(--brand-gold); }
.svc-who-item .svg-wrap {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(201,161,74,.15);
  color: var(--brand-gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.svc-who-item .svg-wrap svg { width: 20px; height: 20px; }
.svc-who-item strong { display: block; font-family: var(--font-display); color: var(--brand-navy); font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.svc-who-item span { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ===== РЕЗУЛЬТАТИ (Outcomes) ===== */
.svc-outcomes-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  margin-top: 40px;
}
.svc-outcome {
  text-align: center;
  padding: 28px 18px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.svc-outcome strong {
  display: block;
  font-family: var(--font-display); font-weight: 800;
  font-size: 36px; color: var(--brand-gold);
  margin-bottom: 8px; line-height: 1;
}
.svc-outcome h4 { font-size: 15px; margin-bottom: 6px; }
.svc-outcome p { font-size: 13px; color: var(--text-muted); margin: 0; line-height: 1.5; }

/* ===== РЕЛЕВАНТНІ КЕЙСИ / РОЗШИРЕННЯ ===== */
.svc-related { background: var(--brand-navy); color: white; }
.svc-related h2 { color: white; }
.svc-related .section-head p { color: rgba(255,255,255,.7); }
.svc-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.svc-related-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all .25s ease;
  display: block;
}
.svc-related-card:hover { background: rgba(255,255,255,.10); border-color: var(--brand-gold); transform: translateY(-4px); color: white; }
.svc-related-card h4 { color: white; font-size: 16px; margin-bottom: 8px; }
.svc-related-card p { font-size: 13px; color: rgba(255,255,255,.7); margin: 0 0 14px; line-height: 1.5; }
.svc-related-card .link { color: var(--brand-gold); font-family: var(--font-display); font-weight: 600; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.svc-related-card:hover .link { gap: 10px; }

/* ===== АДАПТИВ ===== */
@media (max-width: 1100px) {
  .svc-hero-inner { grid-template-columns: 1fr; }
  .svc-deliverables-grid { grid-template-columns: 1fr; }
  .svc-who-grid { grid-template-columns: 1fr; }
  .svc-outcomes-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .svc-hero { padding: 50px 0 60px; }
  .svc-quickstats { grid-template-columns: 1fr; gap: 14px; }
  .svc-outcomes-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MODAL — універсальна модалка з формою CF7
   Відкривається з будь-якої кнопки [data-modal="form"]
   або з якорів #hero-form, #cta-form, #form
   ============================================================ */
.modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(8, 27, 48, .65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
}
.modal-backdrop.active { opacity: 1; pointer-events: auto; }

.modal {
  position: fixed; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.92);
  width: calc(100% - 40px); max-width: 460px;
  background: white;
  color: var(--text);
  border-radius: var(--radius-lg);
  padding: 36px 32px 30px;
  z-index: 2001;
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease, transform .35s cubic-bezier(.68,-0.55,.265,1.55);
  box-shadow: var(--shadow-lg);
  max-height: 92vh;
  overflow-y: auto;
}
.modal.active { opacity: 1; pointer-events: auto; transform: translate(-50%, -50%) scale(1); }

.modal-badge {
  position: absolute; top: -14px; left: 32px;
  background: var(--brand-gold); color: var(--brand-navy);
  font-family: var(--font-display); font-weight: 700; font-size: 11px;
  padding: 6px 14px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s ease, color .2s ease, transform .25s ease;
  border: 0;
  font-size: 18px; line-height: 1;
  color: var(--brand-navy);
}
.modal-close:hover { background: var(--brand-navy); color: white; transform: rotate(90deg); }

.modal h3 { font-size: 22px; margin: 0 0 8px; }
.modal-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; }
.modal .form-meta { font-size: 12px; color: var(--text-muted); text-align: center; margin-top: 14px; }

/* Демо-форма для прототипів (у WP заміниться на CF7) */
.modal-form .form-row { margin-bottom: 12px; }
.modal-form input, .modal-form select, .modal-form textarea {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font: inherit; color: var(--text);
  background: var(--bg-soft);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.modal-form input:focus, .modal-form select:focus, .modal-form textarea:focus {
  outline: none; border-color: var(--brand-navy); background: white;
  box-shadow: 0 0 0 3px rgba(14,42,71,.08);
}
.modal-form button[type="submit"] { width: 100%; justify-content: center; }

body.modal-open { overflow: hidden; }

/* ============================================================
   PAGE: contacts
   ============================================================ */
.contacts-hero { background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-dark)); color: white; padding: 70px 0 50px; position: relative; overflow: hidden; }
.contacts-hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(201,161,74,.15), transparent 70%); pointer-events: none; }
.contacts-hero .container { position: relative; z-index: 1; max-width: 820px; }
.contacts-hero h1 { color: white; font-size: clamp(32px, 3.5vw, 44px); margin-bottom: 18px; font-weight: 800; }
.contacts-hero p { font-size: 18px; color: rgba(255,255,255,.85); max-width: 640px; }

.contacts-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; margin-top: -60px; position: relative; z-index: 2; padding-bottom: 80px; }
.contacts-info { background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }
.contacts-form-wrap { background: white; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); }

.contacts-block { padding: 20px 0; border-bottom: 1px solid var(--border); }
.contacts-block:last-of-type { border-bottom: 0; }
.contacts-block h4 { font-size: 13px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.2px; font-weight: 700; margin-bottom: 10px; }
.contacts-block strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--brand-navy); margin-bottom: 4px; }
.contacts-block p, .contacts-block a { color: var(--text); font-size: 15px; line-height: 1.6; }
.contacts-block a { color: var(--brand-navy); font-weight: 600; }
.contacts-block a:hover { color: var(--brand-gold); }

.contacts-channels { display: flex; gap: 12px; margin-top: 14px; flex-wrap: wrap; }
.channel-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; background: var(--bg-soft); border-radius: 10px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--brand-navy); transition: all .2s ease; }
.channel-btn:hover { background: var(--brand-navy); color: var(--brand-gold); }
.channel-btn svg { width: 18px; height: 18px; }

.contacts-form-wrap h3 { font-size: 24px; margin-bottom: 8px; }
.contacts-form-wrap > p { color: var(--text-muted); margin-bottom: 22px; }

.map-wrap { padding: 0 0 100px; }
.map-card { background: white; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--border); }
.map-card iframe { width: 100%; height: 420px; border: 0; display: block; }

@media (max-width: 900px) {
  .contacts-grid { grid-template-columns: 1fr; margin-top: 0; padding-top: 30px; }
  .contacts-info, .contacts-form-wrap { padding: 28px; }
}

/* ============================================================
   PAGE: about
   ============================================================ */
.about-hero { background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-dark)); color: white; padding: 80px 0; position: relative; overflow: hidden; }
.about-hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(201,161,74,.15), transparent 70%); }
.about-hero .container { position: relative; z-index: 1; max-width: 920px; }
.about-hero h1 { color: white; font-size: clamp(34px, 4vw, 52px); font-weight: 800; line-height: 1.1; margin-bottom: 22px; letter-spacing: -.5px; }
.about-hero p.lead { font-size: 20px; color: rgba(255,255,255,.88); line-height: 1.55; max-width: 720px; }

.about-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 50px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.about-stat strong,
.about-stat h3 { display: block; font-family: var(--font-display); font-weight: 800; color: var(--brand-gold); font-size: 38px; line-height: 1; margin: 0; }
.about-stat span,
.about-stat p { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 8px; display: block; }

.about-story { padding: 80px 0; }
.about-story-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }
.about-story h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 22px; }
.about-story p { font-size: 16px; line-height: 1.75; color: var(--text); margin-bottom: 18px; }
.about-story p strong { color: var(--brand-navy); }
.about-photo { background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-light)); border-radius: var(--radius-lg); aspect-ratio: 3/4; display: flex; align-items: flex-end; padding: 32px; color: white; position: relative; overflow: hidden; }
.about-photo::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at top right, rgba(201,161,74,.25), transparent 60%); }
.about-photo-content { position: relative; z-index: 1; }
.about-photo h4 { color: white; font-size: 22px; margin-bottom: 4px; }
.about-photo p { color: rgba(255,255,255,.8); font-size: 14px; margin: 0; }
.about-photo p.title { color: var(--brand-gold); font-family: var(--font-display); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 12px; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.value-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }
.value-card .num { font-family: var(--font-display); font-weight: 800; font-size: 48px; line-height: 1; color: var(--brand-gold); margin-bottom: 14px; }
.value-card h4 { font-size: 18px; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 0; }

.expertise { background: var(--bg-soft); padding: 80px 0; }
.expertise-list { max-width: 820px; margin: 40px auto 0; display: grid; gap: 14px; }
.expertise-item { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 22px 26px; display: flex; gap: 18px; align-items: center; transition: border-color .25s ease; }
.expertise-item:hover { border-color: var(--brand-gold); }
.expertise-item .num { flex-shrink: 0; width: 36px; height: 36px; background: var(--brand-navy); color: var(--brand-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; }
.expertise-item strong { display: block; font-family: var(--font-display); color: var(--brand-navy); font-weight: 700; margin-bottom: 4px; }
.expertise-item span { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

@media (max-width: 900px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .about-story-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PAGE: blog-single
   ============================================================ */
.post-hero { background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-dark)); color: white; padding: 60px 0 80px; position: relative; overflow: hidden; }
.post-hero::before { content: ''; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(201,161,74,.12), transparent 70%); }
.post-hero .container { max-width: 820px; position: relative; z-index: 1; }
.post-tag-row { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; flex-wrap: wrap; }
.post-tag { display: inline-block; padding: 5px 12px; background: rgba(201,161,74,.15); color: var(--brand-gold); border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; }
.post-date { font-size: 13px; color: rgba(255,255,255,.6); }
.post-hero h1 { color: white; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; font-weight: 800; margin-bottom: 22px; letter-spacing: -.3px; }
.post-meta-row { display: flex; gap: 24px; align-items: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.post-author { display: flex; align-items: center; gap: 12px; }
.post-author-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-gold); color: var(--brand-navy); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 16px; }
.post-author-info strong { color: white; font-family: var(--font-display); display: block; font-size: 14px; }
.post-author-info span { color: rgba(255,255,255,.6); font-size: 12px; }
.post-readtime { color: rgba(255,255,255,.7); font-size: 13px; display: flex; align-items: center; gap: 6px; }

.post-body { max-width: 760px; margin: -40px auto 0; background: white; border-radius: var(--radius-lg); padding: 60px 56px; box-shadow: var(--shadow-md); position: relative; z-index: 2; }
.post-body h2 { font-size: 26px; margin: 40px 0 16px; }
.post-body h3 { font-size: 20px; margin: 30px 0 14px; }
.post-body p { font-size: 17px; line-height: 1.75; color: var(--text); margin-bottom: 18px; }
.post-body p strong { color: var(--brand-navy); }
.post-body ul, .post-body ol { margin: 0 0 22px 22px; }
.post-body li { font-size: 17px; line-height: 1.75; margin-bottom: 8px; }
.post-body blockquote { background: var(--bg-soft); border-left: 4px solid var(--brand-gold); padding: 18px 26px; margin: 24px 0; font-style: italic; color: var(--text); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.post-body a { color: var(--brand-navy); font-weight: 600; text-decoration: underline; }
.post-body a:hover { color: var(--brand-gold); }
.post-body img { border-radius: var(--radius-md); margin: 24px 0; }

.post-toc { background: var(--bg-soft); border-radius: var(--radius-md); padding: 22px 26px; margin: 30px 0 36px; }
.post-toc-title { font-family: var(--font-display); font-weight: 700; color: var(--brand-navy); font-size: 14px; text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 12px; }
.post-toc ol { margin-left: 18px; }
.post-toc li { font-size: 15px; margin-bottom: 6px; }
.post-toc a { color: var(--brand-navy); font-weight: 500; text-decoration: none; }
.post-toc a:hover { color: var(--brand-gold); }

.post-inline-cta { background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-dark)); color: white; border-radius: var(--radius-lg); padding: 32px 36px; margin: 36px 0; text-align: center; }
.post-inline-cta h4 { color: white; font-size: 21px; margin-bottom: 8px; }
.post-inline-cta p { color: rgba(255,255,255,.8); font-size: 15px; margin-bottom: 18px; }

.post-share { display: flex; gap: 10px; align-items: center; padding-top: 30px; margin-top: 40px; border-top: 1px solid var(--border); }
.post-share-label { font-size: 13px; color: var(--text-muted); margin-right: 6px; }
.post-share a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--bg-soft); color: var(--brand-navy); transition: all .2s ease; }
.post-share a:hover { background: var(--brand-navy); color: var(--brand-gold); transform: translateY(-2px); }
.post-share svg { width: 16px; height: 16px; }

.related-posts { padding: 80px 0; background: var(--bg-soft); margin-top: 60px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }

@media (max-width: 900px) {
  .post-body { padding: 36px 24px; margin: -20px 16px 0; }
  .related-grid { grid-template-columns: 1fr; }
  .post-body p, .post-body li { font-size: 16px; }
}

/* ============================================================
   PAGE: cases
   ============================================================ */
.cases-hero { background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-dark)); color: white; padding: 70px 0 60px; }
.cases-hero .container { max-width: 820px; }
.cases-hero h1 { color: white; font-size: clamp(32px, 3.6vw, 46px); margin-bottom: 18px; font-weight: 800; }
.cases-hero p { font-size: 18px; color: rgba(255,255,255,.85); }

.cases-filter { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin: 0 auto 40px; max-width: 900px; padding-top: 40px; }
.cases-filter button,
.cases-filter .wp-block-button__link { padding: 9px 18px; background: white; border: 1px solid var(--border); color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 13px; border-radius: 20px; cursor: pointer; transition: all .2s ease; }
.cases-filter button.active,
.cases-filter button:hover,
.cases-filter .active .wp-block-button__link,
.cases-filter .wp-block-button__link:hover { background: var(--brand-navy); color: var(--brand-gold); border-color: var(--brand-navy); }

.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.case-item { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; transition: all .25s ease; display: flex; flex-direction: column; gap: 16px; }
.case-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-gold); }
.case-item-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.case-item-tag { display: inline-block; padding: 5px 12px; background: rgba(14,42,71,.08); color: var(--brand-navy); border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; }
.case-item-tag.win { background: rgba(22,163,74,.15); color: var(--success); }
.case-item h3 { font-size: 19px; line-height: 1.3; }
.case-item p.desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.case-item-result { display: flex; align-items: center; gap: 16px; padding-top: 16px; border-top: 1px solid var(--border); margin-top: auto; }
.case-item-result strong { font-family: var(--font-display); font-weight: 800; color: var(--brand-gold); font-size: 22px; }
.case-item-result span,
.case-item-result br { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.case-item-link { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-navy); font-family: var(--font-display); font-weight: 600; font-size: 14px; transition: gap .2s ease; margin-top: 4px; }
.case-item-link:hover { color: var(--brand-gold); gap: 10px; }

@media (max-width: 900px) {
  .cases-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Gutenberg visual starter content compatibility
   ============================================================ */
.wp-block-button.btn,
.wp-block-button.btn .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  border: 0;
}
.wp-block-button.btn {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.wp-block-button.btn .wp-block-button__link {
  padding: 14px 26px;
  transition: all .2s ease;
}
.wp-block-button.btn-primary .wp-block-button__link { background: var(--brand-gold); color: var(--brand-navy); box-shadow: 0 6px 18px rgba(201,161,74,.35); }
.wp-block-button.btn-primary .wp-block-button__link:hover { background: var(--brand-gold-dark); color: white; transform: translateY(-2px); }
.wp-block-button.btn-dark .wp-block-button__link { background: var(--brand-navy); color: white; }
.wp-block-button.btn-dark .wp-block-button__link:hover { background: var(--brand-navy-light); color: white; }
.wp-block-button.btn-ghost .wp-block-button__link { background: transparent; color: white; border: 1px solid rgba(255,255,255,.3); }
.wp-block-button.btn-ghost .wp-block-button__link:hover { background: rgba(255,255,255,.08); color: white; }

.wp-block-columns.hero-inner,
.wp-block-group.hero-inner,
.wp-block-columns.cat-hero-inner,
.wp-block-group.cat-hero-inner,
.wp-block-columns.svc-hero-inner,
.wp-block-group.svc-hero-inner { width: 100%; }

.scene-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.scene-illustration { min-height: 360px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--brand-navy), var(--brand-navy-light)); color: white; display: flex; align-items: center; justify-content: center; padding: 40px; box-shadow: var(--shadow-lg); }
.scene-illustration p { color: rgba(255,255,255,.86); font-family: var(--font-display); font-weight: 800; font-size: 24px; text-align: center; }
.scene-features { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.scene-features li { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 16px 18px; color: var(--text-muted); }
.scene-features strong { color: var(--brand-navy); }

.spec-grid,
.icp-grid,
.svc-who-grid,
.svc-outcomes-grid,
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.spec-tile,
.icp-card,
.svc-who-card,
.svc-outcome,
.deliverable-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.spec-tile h4,
.icp-card h3,
.svc-who-card h3,
.svc-outcome h3,
.deliverable-card h3 { margin-bottom: 10px; }

.deliverables-grid,
.svc-deliverables-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.pricing,
.faq-section,
.svc-who,
.svc-outcomes,
.svc-related,
.specializations { padding: 80px 0; }
.icp-section { padding: 80px 0; background: var(--bg-soft); }
.faq-item { background: white; border: 1px solid var(--border); border-radius: var(--radius-md); padding: 18px 22px; margin-bottom: 12px; }
.faq-item summary { cursor: pointer; font-family: var(--font-display); font-weight: 700; color: var(--brand-navy); }
.faq-item p { color: var(--text-muted); margin-top: 10px; }

.testimonials-track { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; transform: none !important; }
.blog-card { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.blog-tag { display: inline-block; padding: 5px 12px; background: rgba(201,161,74,.14); color: var(--brand-gold-dark); border-radius: 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; }

.wp-block-column.service-card,
.wp-block-column.why-card,
.wp-block-column.price-card,
.wp-block-column.case-card,
.wp-block-column.case-item,
.wp-block-column.subcat-card,
.wp-block-column.process-step,
.wp-block-column.testimonial { margin: 0; }

@media (max-width: 900px) {
  .scene-wrap,
  .spec-grid,
  .icp-grid,
  .svc-who-grid,
  .svc-outcomes-grid,
  .related-grid,
  .deliverables-grid,
  .svc-deliverables-grid,
  .testimonials-track { grid-template-columns: 1fr; }
}
