/*
Theme Name: BQ Advise
Theme URI: https://bqadvise.com
Author: BQ Advise
Author URI: https://bqadvise.com
Description: Custom WordPress theme for BQ Advise — a managed growth-system agency site (audit, design, development, SEO, ads, sales). Built from the "index-checkpoint" design handoff.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bqadvise
*/

/* ==========================================================================
   BQ Advise — original identity, built from scratch (no bundled design system)
   ========================================================================== */
:root {
  --ink: #16181d;
  --ink-soft: #454850;
  --paper: #f5f2ec;
  --paper-dim: #ece7dc;
  --line: rgba(22,24,29,0.12);
  --navy: #1c2540;
  --accent: #cc5b2c;
  --accent-dark: #a8461f;
  --accent-tint: #f3ddd0;
  --radius: 14px;
  --measure: 62ch;
  --edge: clamp(20px, 5vw, 80px);
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "IBM Plex Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 24px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body);
  text-wrap: pretty; -webkit-font-smoothing: antialiased; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--edge); }
::selection { background: var(--accent); color: #fff; }

/* masthead (dark hero) */
.masthead { background: radial-gradient(1100px 600px at 82% -10%, rgba(204,91,44,0.22), transparent 60%), var(--navy); color: var(--paper); }
.masthead .nav { position: relative; background: transparent; backdrop-filter: none; border-bottom: 1px solid rgba(245,242,236,0.12); }
.masthead .brand { color: #fff; }
.masthead .nav-links a { color: rgba(245,242,236,0.72); }
.masthead .nav-links a:hover, .masthead .nav-links a.tel { color: #fff; }
.masthead .display { color: #fff; }
.masthead .hero .sub { color: rgba(245,242,236,0.72); }
.masthead .btn-ghost { color: #fff; border-color: rgba(245,242,236,0.35); }
.masthead .btn-ghost:hover { border-color: #fff; }
.masthead .hero .trust { border-top-color: rgba(245,242,236,0.15); }
.masthead .hero .trust div { color: rgba(245,242,236,0.75); }
.masthead .hero .trust strong { color: #fff; }

/* ticker */
.ticker { background: var(--accent); color: #fff; overflow: hidden; padding: 13px 0; }
.ticker-track { display: flex; gap: 56px; width: max-content; animation: ticker 30s linear infinite;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; }
.ticker-track span { white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px max(var(--edge), calc((100% - 1180px)/2 + var(--edge))); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-soft); white-space: nowrap; }
.nav-links a.tel { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 600; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .2s ease; }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
@media (max-width: 900px) { .nav-links a.tel { display: none; } }

/* mobile nav: hamburger toggle + dropdown panel (replaces hiding links outright) */
.nav-toggle { display: none; align-items: center; justify-content: center; flex-direction: column; gap: 4px;
  width: 40px; height: 40px; flex: none; border: 1px solid var(--line); border-radius: 10px;
  background: transparent; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: currentColor;
  transition: transform .2s ease, opacity .2s ease; }
.masthead .nav-toggle { color: #fff; border-color: rgba(245,242,236,0.35); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 620px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 30;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(22,24,29,0.14);
    padding: 8px var(--edge) 18px;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a:not(.btn) { color: var(--ink); padding: 12px 0; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links a.tel { display: block; }
  .nav-links a.btn { margin-top: 8px; width: 100%; }
}

.brand { display: inline-flex; align-items: baseline; gap: 3px; font-family: var(--font-head); font-weight: 700;
  font-size: 22px; letter-spacing: -0.01em; color: var(--ink); }
.brand .dot { color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-body);
  font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: transform .15s ease, background .15s ease, border-color .15s ease, color .15s ease; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* kicker + section head — editorial scale with ghost numbers */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); margin: 0 0 14px; white-space: nowrap; }
.kicker::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-head { position: relative; }
.section-head .ghost { position: absolute; top: -0.24em; right: 0; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(90px, 13vw, 190px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(22,24,29,0.15);
  pointer-events: none; user-select: none; }
.section-head h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 4.4vw, 58px);
  line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; margin: 0; max-width: 18ch; }
.section-head p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); max-width: var(--measure); margin: 18px 0 0; }

/* index list (етапи) */
.index-list { margin-top: 48px; border-top: 2px solid var(--ink); }
.index-row { display: grid; grid-template-columns: 90px 1.1fr 1.6fr auto; gap: 16px clamp(16px,3vw,48px); align-items: center;
  padding: 26px clamp(8px,1.5vw,20px); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: background .18s ease, color .18s ease, padding-left .18s ease; }
.index-row .no { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px,3vw,40px); color: transparent;
  -webkit-text-stroke: 1.5px var(--accent); line-height: 1; }
.index-row .ttl { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px,2.2vw,28px); text-transform: uppercase; letter-spacing: -0.01em; }
.index-row .dsc { font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.index-row .arr { font-family: var(--font-head); font-size: 26px; color: var(--accent); transition: transform .18s ease; }
.index-row:hover { background: var(--accent); color: #fff; padding-left: clamp(16px,2.5vw,36px); }
.index-row:hover .no { -webkit-text-stroke-color: #fff; }
.index-row:hover .dsc { color: rgba(255,255,255,0.85); }
.index-row:hover .arr { color: #fff; transform: translateX(6px); }
@media (max-width: 780px) { .index-row { grid-template-columns: 56px 1fr auto; } .index-row .dsc { grid-column: 2 / -1; } }

/* products band (color blocking) */
.band { background: var(--accent); color: #fff; }
.band .kicker { color: #fff; }
.band .kicker::before { background: #fff; }
.band .section-head h2 { color: #fff; }
.band .section-head p { color: rgba(255,255,255,0.85); }
.band .section-head .ghost { -webkit-text-stroke-color: rgba(255,255,255,0.3); }
.band .product { background: var(--navy); border: none; color: var(--paper); }
.band .product h3 { color: #fff; }
.band .product p { color: rgba(245,242,236,0.75); }
.band .product .tag { background: rgba(255,255,255,0.14); color: #fff; }
.band .btn-secondary { border-color: rgba(255,255,255,0.6); color: #fff; }
.band .btn-secondary:hover { background: #fff; color: var(--navy); }

/* giant footer wordmark */
.footer-mark { font-family: var(--font-head); font-weight: 700; font-size: clamp(60px, 12vw, 185px); line-height: 0.95;
  letter-spacing: -0.03em; text-transform: uppercase; text-align: center; margin: clamp(40px,6vw,80px) 0 0;
  color: transparent; -webkit-text-stroke: 2px rgba(22,24,29,0.22); user-select: none; }
.footer-mark span { color: var(--accent); -webkit-text-stroke: 0; }

/* hero */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 88px); }
.hero .display { font-family: var(--font-head); font-weight: 700; font-size: clamp(46px, 8.8vw, 118px);
  line-height: 0.98; letter-spacing: -0.03em; margin: 0; text-transform: uppercase; max-width: none; }
.hero .display .outline { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.hero .display em { font-style: normal; color: var(--accent); }
.hero-under { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px clamp(28px,5vw,80px); margin-top: clamp(32px,4vw,56px); align-items: start; }
@media (max-width: 780px) { .hero-under { grid-template-columns: 1fr; } }
.hero .sub { font-size: clamp(16px,1.4vw,19px); line-height: 1.6; color: var(--ink-soft); max-width: var(--measure); margin: 0; }
.hero .row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 0; align-content: start; }
.case-card .figure::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(28,37,64,0) 40%, rgba(28,37,64,0.22)); }
.hero .trust { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px clamp(20px,3vw,48px); margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.hero .trust div { font-size: 14.5px; line-height: 1.4; color: var(--ink-soft); padding-left: 14px; border-left: 3px solid var(--accent); }
.hero .trust strong { display: block; font-family: var(--font-head); font-size: clamp(24px,2.6vw,32px); line-height: 1.1; color: var(--ink); font-weight: 600; margin-bottom: 6px; white-space: nowrap; }
@media (max-width: 620px) { .hero .trust { grid-template-columns: 1fr; } }

/* cards */
.cells { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 44px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: 0 12px 32px rgba(22,24,29,0.08); transform: translateY(-2px); }
.card.card-accent { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.card .num { font-family: var(--font-head); font-size: 34px; font-weight: 600; color: var(--accent-tint);
  -webkit-text-stroke: 1.5px var(--accent); display: block; margin-bottom: 14px; }
.card h3 { font-family: var(--font-head); font-weight: 600; font-size: 19px; margin: 0 0 8px; letter-spacing: -0.005em; }
.card p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
.card a.more { display: inline-block; margin-top: auto; padding-top: 14px; font-size: 14px; font-weight: 600; white-space: nowrap; align-self: flex-start; }
@media (max-width: 980px) { .cells { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cells { grid-template-columns: 1fr; } }

/* process timeline */
.timeline { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.tl-step { position: relative; padding: 24px 24px 0 0; border-top: 3px solid var(--ink); }
.tl-step::before { content: ""; position: absolute; top: -7px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--accent); }
.tl-step .n { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--accent-dark); }
.tl-step .dur { float: right; font-size: 12.5px; font-weight: 600; color: var(--ink-soft); background: var(--paper-dim); border-radius: 999px; padding: 2px 10px; white-space: nowrap; }
.tl-step h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; margin: 10px 0 8px; }
.tl-step p { font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); margin: 0; }
@media (max-width: 880px) { .timeline { grid-template-columns: 1fr 1fr; gap: 32px 24px; } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }

/* case studies */
.cases-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 44px; align-items: start; }
.case-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case-card .figure { position: relative; width: 100%; padding-top: 62.5%; overflow: hidden; }
.case-card .figure img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(0.88); transition: transform .5s ease; }
.case-card:hover .figure img { transform: scale(1.05); }
.case-card .body { padding: 24px; }
.case-card .result { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-tint); border-radius: 8px; padding: 4px 12px; margin-bottom: 12px; white-space: nowrap; }
.case-card h3 { font-family: var(--font-head); font-weight: 600; font-size: 21px; margin: 0 0 8px; }
.case-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
@media (max-width: 780px) { .cases-grid { grid-template-columns: 1fr; } }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.testi p { font-size: 15px; line-height: 1.6; margin: 0; }
.testi footer { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.testi footer .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-dark);
  display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 13px; letter-spacing: 0.02em; flex: none; }
@media (max-width: 880px) { .testi-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .testi-grid { grid-template-columns: 1fr; } }

/* products */
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.product { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.product .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-dark); background: var(--accent-tint); border-radius: 999px; padding: 4px 12px; margin-bottom: 16px; }
.product h3 { font-family: var(--font-head); font-weight: 600; font-size: 24px; margin: 0 0 10px; letter-spacing: -0.01em; }
.product p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 18px; }
@media (max-width: 780px) { .products-grid { grid-template-columns: 1fr; } }

/* position / donation */
.position-block { display: flex; gap: 20px; align-items: flex-start; background: var(--accent-tint);
  border-radius: var(--radius); padding: 28px clamp(24px,4vw,40px); margin-top: 44px; }
.position-block svg { flex: none; width: 24px; height: 24px; margin-top: 2px; color: var(--accent-dark); }
.position-block .text h3 { font-family: var(--font-head); font-weight: 600; font-size: 18px; margin: 0 0 8px; }
.position-block p { font-size: 15.5px; line-height: 1.6; margin: 0; color: var(--ink); max-width: 62ch; }

/* FAQ */
.faq { margin-top: 40px; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; font-family: var(--font-head); font-weight: 600; font-size: 18px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; color: var(--accent); font-size: 22px; font-weight: 400; transition: transform .15s ease; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 14px 0 0; max-width: 66ch; }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* split (image + copy) */
.split { display: grid; grid-template-columns: minmax(0,6fr) minmax(0,6fr); gap: 20px clamp(28px,5vw,80px); align-items: center; }
.split-title { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px,3vw,34px); margin: 0; letter-spacing: -0.01em; }
.split-copy p.note { font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); margin: 14px 0 0; max-width: 48ch; }
.split-figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/12; }
.split-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 780px) { .split { grid-template-columns: 1fr; } .split-figure { order: -1; } }

/* contact / close */
.close { padding: clamp(56px,8vw,108px) 0; }
.close-panel { background: var(--navy); color: var(--paper); border-radius: 24px; padding: clamp(32px,5vw,64px); }
.close-panel .kicker { color: var(--accent); }
.close-panel .kicker::before { background: var(--accent); }
.close-panel h2 { font-family: var(--font-head); font-weight: 600; font-size: clamp(28px,3.4vw,42px); margin: 0; letter-spacing: -0.01em; max-width: 18ch; }
.close-panel .sub { font-size: 16px; line-height: 1.6; color: rgba(245,242,236,0.72); margin: 16px 0 0; max-width: var(--measure); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 36px; align-items: start; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: rgba(245,242,236,0.75); }
.input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(245,242,236,0.25);
  background: rgba(245,242,236,0.06); color: var(--paper); font-size: 15px; font-family: var(--font-body); }
.input::placeholder { color: rgba(245,242,236,0.4); }
.input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.contact-methods { display: flex; gap: 10px; flex-wrap: wrap; margin: 12px 0 22px; }
.radio { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid rgba(245,242,236,0.25); cursor: pointer; }
.radio input { accent-color: var(--accent); }
.close-panel .contact-info p { font-size: 15px; line-height: 1.7; margin: 0 0 6px; color: rgba(245,242,236,0.85); }
.close-panel .contact-info .kicker { color: var(--accent); }
.form-status { font-size: 14px; margin: 14px 0 0; }
.form-status.is-success { color: #7dd6a0; }
.form-status.is-error { color: #ff9d8a; }
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; } }

footer.site-footer { padding: 36px 0; font-size: 13.5px; color: var(--ink-soft); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer.site-footer .cols { display: flex; gap: 28px; flex-wrap: wrap; }
footer.site-footer a { color: var(--ink-soft); }
footer.site-footer a:hover { color: var(--ink); }

/* telegram quick button — the site's single accent action */
.btn-tg { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-tg:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn-tg svg { width: 17px; height: 17px; }
.btn-tg.btn-lg svg { width: 19px; height: 19px; }

/* contrast: 1 партнер замість 5 підрядників */
.contrast { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(18px,3vw,40px); align-items: stretch; margin-top: 48px; }
.contrast .col { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px,3vw,38px); background: #fff; }
.contrast .col.bad { background: var(--paper-dim); border-color: transparent; }
.contrast .col.good { background: var(--navy); color: #fff; border-color: transparent; }
.contrast .col .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); }
.contrast .col.good .lbl { color: var(--accent); }
.contrast .col h3 { font-family: var(--font-head); font-weight: 600; font-size: clamp(20px,2.2vw,25px); margin: 8px 0 0; letter-spacing: -0.01em; }
.contrast ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.contrast li { font-size: 14.5px; line-height: 1.45; padding-left: 26px; position: relative; color: var(--ink-soft); }
.contrast .col.good li { color: rgba(255,255,255,0.9); }
.contrast li::before { content: "✕"; position: absolute; left: 0; color: var(--ink-soft); font-size: 12px; top: 1px; }
.contrast .col.good li::before { content: "→"; color: var(--accent); font-size: 15px; top: 0; }
.contrast .vs { align-self: center; font-family: var(--font-head); font-weight: 700; color: var(--accent); font-size: 22px; }
@media (max-width: 780px) { .contrast { grid-template-columns: 1fr; } .contrast .vs { display: none; } }

/* pricing orientation */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; align-items: stretch; }
.price-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; background: #fff; display: flex; flex-direction: column; }
.price-card.feature { background: var(--navy); color: #fff; border-color: transparent; }
.price-card .step { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-dark); }
.price-card.feature .step { color: var(--accent); }
.price-card .amt { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px,3.2vw,40px); letter-spacing: -0.02em; margin: 12px 0 2px; line-height: 1; }
.price-card .term { font-size: 13.5px; color: var(--ink-soft); }
.price-card.feature .term { color: rgba(255,255,255,0.7); }
.price-card p { font-size: 14px; line-height: 1.55; color: var(--ink-soft); margin: 16px 0 0; }
.price-card.feature p { color: rgba(255,255,255,0.8); }
.pricing-note { font-size: 13.5px; color: var(--ink-soft); margin: 20px 0 0; }
@media (max-width: 780px) { .pricing { grid-template-columns: 1fr; } }

/* products — featured hub */
.prod-featured { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; background: var(--navy); border-radius: 20px; overflow: hidden; margin-top: 44px; align-items: stretch; }
.prod-featured .pf-copy { padding: clamp(28px,3.6vw,52px); align-self: center; }
.prod-featured .pf-shot { position: relative; min-height: 340px; background: rgba(255,255,255,0.05); border-left: 1px solid rgba(255,255,255,0.1); }
.prod-featured .pf-shot img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.prod-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 999px; padding: 5px 13px; }
.prod-badge .dot-live { width: 7px; height: 7px; border-radius: 50%; background: #fff; }
.prod-featured h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(28px,3vw,40px); color: #fff; margin: 16px 0 12px; letter-spacing: -0.01em; }
.prod-featured p { font-size: 15px; line-height: 1.6; color: rgba(245,242,236,0.8); margin: 0 0 20px; max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; }
.chip { font-size: 12.5px; font-weight: 600; color: #fff; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; padding: 6px 13px; }
@media (max-width: 780px) { .prod-featured { grid-template-columns: 1fr; } .prod-featured .pf-shot { min-height: 240px; order: -1; border-left: none; border-bottom: 1px solid rgba(255,255,255,0.1); } }

/* products — ecosystem cluster */
.eco-head { margin-top: clamp(52px,6vw,80px); }
.eco-head .lbl { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.eco-head h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px,2.8vw,34px); color: #fff; text-transform: uppercase; letter-spacing: -0.01em; margin: 8px 0 0; max-width: 24ch; line-height: 1.05; }
.eco-head p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.88); max-width: 62ch; margin: 14px 0 0; }
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 34px; }
.eco-card { background: var(--navy); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.eco-card .ec-tag { font-size: 11.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.eco-card h4 { font-family: var(--font-head); font-weight: 600; font-size: 19px; color: #fff; margin: 0 0 8px; letter-spacing: -0.005em; }
.eco-card p { font-size: 14px; line-height: 1.55; color: rgba(245,242,236,0.72); margin: 0; }
.eco-card .live { margin-top: 16px; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; display: inline-flex; align-items: center; gap: 7px; }
.eco-card .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@media (max-width: 880px) { .eco-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .eco-grid { grid-template-columns: 1fr; } }

/* products — transparent client journey */
.journey { margin-top: clamp(52px,6vw,80px); }
.journey .lbl { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.journey h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px,2.8vw,34px); color: #fff; text-transform: uppercase; letter-spacing: -0.01em; margin: 8px 0 0; max-width: 26ch; line-height: 1.05; }
.journey > p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.88); max-width: 64ch; margin: 14px 0 0; }
.journey-track { display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px; margin-top: 34px; }
.jstep { flex: 1 1 150px; background: var(--navy); border-radius: var(--radius); padding: 22px 20px; display: flex; flex-direction: column; position: relative; }
.jstep .jn { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--accent); }
.jstep b { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: #fff; margin: 10px 0 6px; letter-spacing: -0.005em; }
.jstep span.d { font-size: 13px; line-height: 1.45; color: rgba(245,242,236,0.72); }
.jstep::after { content: "→"; position: absolute; right: -15px; top: 50%; transform: translateY(-50%); color: #fff; font-size: 18px; font-weight: 700; z-index: 2; }
.jstep:last-child::after { display: none; }
@media (max-width: 820px) { .jstep::after { display: none; } .jstep { flex: 1 1 44%; } }
@media (max-width: 460px) { .jstep { flex: 1 1 100%; } }

/* products — corpus wildcard */
.corpus { margin-top: 34px; border: 2px solid rgba(255,255,255,0.55); border-radius: var(--radius); padding: clamp(28px,4vw,48px); display: grid; grid-template-columns: auto 1fr; gap: clamp(24px,4vw,52px); align-items: center; }
.corpus .big { font-family: var(--font-head); font-weight: 700; font-size: clamp(56px,9vw,120px); color: transparent; -webkit-text-stroke: 2px #fff; line-height: 0.85; }
.corpus .lbl { font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #fff; }
.corpus h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px,2.4vw,30px); color: #fff; margin: 8px 0 12px; text-transform: uppercase; letter-spacing: -0.01em; }
.corpus p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.88); margin: 0; max-width: 66ch; }
@media (max-width: 640px) { .corpus { grid-template-columns: 1fr; } }

/* team faces */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.member .photo { position: relative; width: 100%; padding-top: 110%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper-dim); }
.member .photo img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.member .name { font-family: var(--font-head); font-weight: 600; font-size: 18px; margin: 16px 0 2px; }
.member .role { font-size: 14px; color: var(--ink-soft); margin: 0; }
@media (max-width: 640px) { .team-grid { grid-template-columns: 1fr 1fr; } }

/* case NDA plate */
.case-more { margin-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border: 1px dashed var(--line); border-radius: var(--radius); padding: 26px clamp(24px,3vw,40px); background: var(--paper-dim); }
.case-more .cm-text h3 { font-family: var(--font-head); font-weight: 600; font-size: 20px; margin: 0 0 4px; }
.case-more .cm-text p { font-size: 14.5px; color: var(--ink-soft); margin: 0; }

/* testimonial photo avatar */
.testi footer .avatar.photo { overflow: hidden; padding: 0; background: var(--paper-dim); }
.testi footer .avatar.photo img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* services page */
.svc { border-top: 1px solid var(--line); padding: 48px 0; display: grid;
  grid-template-columns: 1fr 1.6fr; gap: 20px 60px; align-items: start; }
.svc:last-of-type { border-bottom: 1px solid var(--line); }
.svc-head .n { display: block; font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--accent-dark); margin-bottom: 10px; }
.svc-head h2 { font-family: var(--font-head); font-weight: 600; font-size: 27px; margin: 0; letter-spacing: -0.01em; }
.svc-body p { font-size: 16px; line-height: 1.6; color: var(--ink); margin: 0 0 14px; max-width: 62ch; }
.svc-body ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.svc-body ul li { font-size: 15px; line-height: 1.5; padding-left: 22px; position: relative; color: var(--ink-soft); }
.svc-body ul li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
@media (max-width: 780px) { .svc { grid-template-columns: 1fr; } }

/* === CTA hierarchy upgrades === */
.btn:active { transform: translateY(1px); }
.btn-lg { padding: 16px 30px; font-size: 16.5px; }
.btn .ar { transition: transform .15s ease; font-weight: 400; }
.btn:hover .ar { transform: translateX(4px); }

/* hero CTA cluster + microcopy */
.hero-cta .row { gap: 12px; }
.cta-note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; line-height: 1.4;
  color: rgba(245,242,236,0.62); margin: 16px 0 0; }
.cta-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #46c26a; flex: none;
  box-shadow: 0 0 0 3px rgba(70,194,106,0.22); }

/* sticky mini-header with persistent CTA */
.stickybar { position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: color-mix(in srgb, var(--navy) 95%, transparent); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.12); transform: translateY(-100%); transition: transform .28s ease; }
.stickybar.show { transform: none; }
.sb-inner { max-width: 1180px; margin: 0 auto; padding: 11px var(--edge);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.stickybar .brand { color: #fff; font-size: 20px; }
.sb-actions { display: flex; align-items: center; gap: 20px; }
.sb-tel { color: rgba(255,255,255,0.85); font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sb-tel:hover { color: #fff; }
.stickybar .btn { padding: 9px 18px; font-size: 14.5px; }
@media (prefers-reduced-motion: reduce) { .stickybar { transition: none; } }
@media (max-width: 520px) { .sb-tel { display: none; } .stickybar .brand { font-size: 18px; } }

/* floating Telegram action on mobile */
.tg-fab { display: none; }
@media (max-width: 620px) {
  .tg-fab { display: inline-flex; align-items: center; justify-content: center; position: fixed;
    right: 16px; bottom: 16px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
    background: var(--accent); color: #fff; box-shadow: 0 10px 26px rgba(204,91,44,0.5); }
  .tg-fab:hover { background: var(--accent-dark); color: #fff; }
  .tg-fab svg { width: 27px; height: 27px; }
}

/* contact close — trust strip + primary submit */
.close-trust { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 22px; }
.close-trust span { font-size: 13.5px; font-weight: 600; color: rgba(245,242,236,0.82); padding-left: 22px; position: relative; }
.close-trust span::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.close-panel form .btn-primary { margin-top: 4px; }
.form-note { font-size: 12.5px; color: rgba(245,242,236,0.55); margin: 12px 0 0; }
@media (max-width: 620px) { .close-panel form .btn { width: 100%; } }

/* offer panel — free express funnel review */
.offer { padding: clamp(48px,6vw,80px) 0 0; }
.offer-panel { background: var(--navy); color: var(--paper); border-radius: 24px; padding: clamp(30px,4.5vw,56px);
  display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(28px,4vw,64px); align-items: center;
  background-image: radial-gradient(700px 420px at 100% 0%, rgba(204,91,44,0.18), transparent 60%); }
.offer-panel .kicker { color: var(--accent); }
.offer-panel .kicker::before { background: var(--accent); }
.offer-panel h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(26px,3.4vw,44px);
  line-height: 1.05; letter-spacing: -0.02em; text-transform: uppercase; margin: 0; max-width: 18ch; color: #fff; }
.offer-sub { font-size: 15.5px; line-height: 1.6; color: rgba(245,242,236,0.75); margin: 16px 0 0; max-width: 56ch; }
.offer-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.offer-list li { font-size: 14.5px; line-height: 1.5; padding-left: 24px; position: relative; color: rgba(245,242,236,0.9); }
.offer-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.offer-cta { display: grid; gap: 12px; align-content: center; }
.offer-price { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid rgba(245,242,236,0.15); }
.offer-price .zero { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px,4.5vw,58px); line-height: 1; color: #fff; letter-spacing: -0.02em; }
.offer-price .pl { font-size: 13px; line-height: 1.45; color: rgba(245,242,236,0.65); }
.offer-cta .btn-ghost { color: #fff; border-color: rgba(245,242,236,0.35); }
.offer-cta .btn-ghost:hover { border-color: #fff; }
.btn-block { width: 100%; }
@media (max-width: 780px) { .offer-panel { grid-template-columns: 1fr; } }

/* timeline — concrete deliverables */
.tl-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; }
.tl-list li { font-size: 13.5px; line-height: 1.45; padding-left: 18px; position: relative; color: var(--ink-soft); }
.tl-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-size: 12px; }
.tl-out { display: inline-block; margin-top: 16px; font-size: 12.5px; font-weight: 700; line-height: 1.4;
  color: var(--accent-dark); background: var(--accent-tint); border-radius: 8px; padding: 6px 12px; }

/* contrast — good column emphasis */
.contrast .col.good { position: relative; border: 2px solid var(--accent);
  box-shadow: 0 18px 44px rgba(28,37,64,0.28); }
.contrast .gd-badge { position: absolute; top: -13px; left: clamp(24px,3vw,38px); font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: #fff; background: var(--accent); border-radius: 999px; padding: 5px 14px; }
.contrast .col.good li b { color: #fff; font-weight: 600; }
.contrast .col.good li { font-size: 15px; }
.contrast .col.good .btn { margin-top: 24px; align-self: flex-start; }
.contrast .col.good { display: flex; flex-direction: column; }
.contrast .col.good ul { flex: 1; }
.contrast .col.bad { opacity: 0.85; }
.contrast .col.bad h3 { color: var(--ink-soft); }

/* WP core alignment helpers used inside the_content() on generic pages */
.alignwide { max-width: 1180px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); overflow: hidden; height: 1px; width: 1px; }

/* Contact Form 7 — restyle its default markup to match .field/.input/.radio/.btn */
.contact-grid .wpcf7 { max-width: none; }
.contact-grid .wpcf7-form-control-wrap { display: block; }
.contact-grid .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 12.5px; color: #ff9d8a; }
.contact-grid .wpcf7-response-output { margin: 14px 0 0; padding: 10px 14px; border-radius: 8px; font-size: 14px; border: 1px solid rgba(245,242,236,0.25); }
.contact-grid form.sent .wpcf7-response-output { color: #7dd6a0; border-color: rgba(125,214,160,0.4); }
.contact-grid form.failed .wpcf7-response-output,
.contact-grid form.aborted .wpcf7-response-output,
.contact-grid form.invalid .wpcf7-response-output { color: #ff9d8a; border-color: rgba(255,157,138,0.4); }
.contact-methods .wpcf7-list-item { margin: 0; }
.contact-methods .wpcf7-list-item label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; padding: 8px 14px;
  border-radius: 999px; border: 1px solid rgba(245,242,236,0.25); cursor: pointer; }
.contact-methods input[type="radio"] { accent-color: var(--accent); }
.contact-grid .wpcf7-spinner { display: none; }
