/* ============================================================
   AKSENTA — Modern Fintech Aesthetic
   Единая дизайн-система для всех страниц сайта
   ============================================================ */

/* === Design tokens === */
:root {
  /* Surfaces */
  --bg: #FAFAF8;
  --bg-card: #FFFFFF;
  --bg-soft: #F4F2EE;
  --bg-dark: #0A1628;
  --bg-dark-2: #06101F;

  /* Ink */
  --ink: #0A0A0A;
  --ink-soft: #4A4A4A;
  --ink-mute: #6E6E6E;
  --ink-dim: #9A9A9A;
  --ink-on-dark: #FFFFFF;
  --ink-on-dark-soft: rgba(255,255,255,0.72);
  --ink-on-dark-mute: rgba(255,255,255,0.52);

  /* Brand */
  --navy-900: #042C53;
  --navy-800: #0C447C;
  --navy-700: #105396;
  --navy-500: #185FA5;
  --navy-300: #85B7EB;
  --navy-100: #E6F1FB;
  --brand: var(--navy-900);
  --brand-deep: var(--navy-900);
  --success: #16A34A;

  /* Borders */
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.14);
  --border-dark: rgba(255,255,255,0.12);
  --border-dark-strong: rgba(255,255,255,0.22);

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 20px;
  --r-pill: 999px;

  /* Spacing */
  --gap-section: 112px;
  --gap-section-sm: 80px;

  /* Type */
  --font-sans: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv11';
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--navy-900); color: #fff; }

/* === Layout === */
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 32px; }
section { padding: var(--gap-section) 0; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 { font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); }
h1 { font-size: clamp(44px, 6.2vw, 80px); line-height: 0.98; letter-spacing: -0.04em; }
h2 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.02; letter-spacing: -0.03em; }
h3 { font-size: clamp(20px, 1.8vw, 24px); letter-spacing: -0.015em; }
h4 { font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }
p { color: var(--ink-soft); }

/* Italic serif emphasis (replaces old color gradient .grad) */
.grad {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: inherit;
  -webkit-text-fill-color: currentColor;
  background: none;
}
.stack { display: block; }

/* === Eyebrow === */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 18px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(22,163,74,0.12);
  animation: dot-pulse 2.4s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(22,163,74,0.12); }
  50%      { box-shadow: 0 0 0 7px rgba(22,163,74,0.04); }
}
.cta .eyebrow,
.adv .eyebrow,
.guide-hero .eyebrow { color: var(--navy-300); }

/* === Section head === */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 64px;
}
.section-head h2 { max-width: 780px; }
.section-head .lede {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 480px;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-sm);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.005em;
  cursor: pointer;
  text-decoration: none;
  border: 0.5px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: var(--navy-900); border-color: var(--navy-900); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(0,0,0,0.02); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--navy-100); border-color: var(--navy-100); }
.btn-ghost-light { background: transparent; color: #fff; border-color: var(--border-dark-strong); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.04); }
.btn-accent { background: var(--navy-700); color: #fff; border-color: var(--navy-700); }
.btn-accent:hover { background: var(--navy-900); border-color: var(--navy-900); }

/* === Header === */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 248, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  gap: 32px;
}
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo img { height: 44px; width: auto; object-fit: contain; }

.nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-mute);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.phone-link { font-size: 14px; font-weight: 500; color: var(--ink); }
.phone-link:hover { color: var(--navy-900); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  border: 0.5px solid var(--border-strong);
  border-radius: var(--r-pill);
  padding: 3px;
}
.lang-switch button {
  padding: 5px 11px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-mute);
  border-radius: var(--r-pill);
  transition: all 0.15s ease;
  letter-spacing: 0.02em;
}
.lang-switch button.is-active { background: var(--ink); color: #fff; }

.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 290;
}
.nav-backdrop.is-open { display: block; }

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(76%, 320px);
  height: 100%;
  background: #fff;
  z-index: 300;
  flex-direction: column;
  transition: right 0.28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
  box-shadow: -8px 0 40px rgba(0,0,0,0.14);
}
.mobile-nav.is-open { right: 0; }
.mobile-nav a {
  padding: 20px 28px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
  display: block;
}
.mobile-nav a:hover { background: var(--bg-soft); color: var(--navy-700); }
.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px 24px;
  height: 64px;
  cursor: pointer;
  background: none;
  border: none;
  border-bottom: 0.5px solid rgba(0,0,0,0.08);
  color: var(--ink);
  width: 100%;
  flex-shrink: 0;
}
.mobile-nav a.mobile-nav-cta {
  margin: auto 24px 28px;
  padding: 15px 24px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  border-bottom: none;
  display: block;
}
.mobile-nav a.mobile-nav-cta:hover { background: #222; color: #fff; }

.burger { display: none; width: 36px; height: 36px; border-radius: var(--r-sm); position: relative; }
.burger span, .burger span::before, .burger span::after {
  display: block; width: 18px; height: 1.5px; background: var(--ink);
  position: absolute; left: 50%; margin-left: -9px; transition: transform 0.2s ease;
}
.burger span { top: 50%; margin-top: -0.75px; }
.burger span::before { content: ''; top: -6px; }
.burger span::after { content: ''; top: 6px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(6px) rotate(45deg); }
.burger.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

/* === FAB === */
.fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4), 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.fab:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }
.fab svg { width: 28px; height: 28px; }

/* === Reveal === */
[data-anim] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
[data-anim].is-in { opacity: 1; transform: translateY(0); }
/* If JS hasn't loaded after 1.5s, show content anyway (fallback for no-JS / slow networks) */
@media (prefers-reduced-motion: reduce) {
  [data-anim] { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
}
/* No-JS fallback */
.no-js [data-anim] { opacity: 1; transform: none; }

/* ============================================================
   HERO (home page)
   ============================================================ */
.hero {
  padding: 80px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero .wrap { position: relative; }
.hero-figure {
  position: absolute;
  top: 16px;
  right: -40px;
  width: 60%;
  max-width: 740px;
  height: auto;
  z-index: 0;
  pointer-events: none;
}
.hero-lead { position: relative; z-index: 1; max-width: 600px; }
.hero-cta { margin-bottom: 0; }
.hero-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-band .seal { flex: 0 1 360px; }
.hero-metrics {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  flex: 1 1 auto;
}
.hero-metric { padding: 0 32px; border-left: 1px solid var(--border); }
.hero-metric:first-child { border-left: none; }
.hero-metric:last-child { padding-right: 0; }
.hero-metric .num {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.hero-metric .num small {
  font-size: 18px;
  color: var(--navy-700);
  font-weight: 400;
  margin-left: 2px;
}
.hero-metric .label {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.4;
  max-width: 170px;
}
.hero-stat--wide {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 16px;
}
.hero-stat--wide .num {
  font-size: 20px;
  margin-bottom: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.hero-stat--wide .label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.hero-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 28px;
}
.hero h1 { margin-bottom: 28px; }
.hero-lede {
  font-size: 18px;
  color: var(--ink-mute);
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.hero-stat {
  background: var(--bg-card);
  padding: 28px 24px;
}
.hero-stat .num {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.hero-stat .num small {
  font-size: 18px;
  color: var(--ink-mute);
  font-weight: 400;
  margin-left: 2px;
}
.hero-stat-label,
.hero-stat p {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.4;
}

.hero-trust {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 0.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  padding: 32px 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.trust-bar-text {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-dim);
  font-weight: 500;
}
.trust-marquee-wrap {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.trust-marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: trust-scroll 20s linear infinite;
}
.trust-marquee-wrap:hover .trust-marquee-track {
  animation-play-state: paused;
}
@keyframes trust-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.trust-logo {
  font-size: 14px;
  color: var(--ink-mute);
  font-weight: 500;
  white-space: nowrap;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.svc {
  background: var(--bg-card);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background 0.2s ease;
  cursor: default;
}
.svc:hover { background: #FBFBF9; }

.svc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-sm);
  background: var(--navy-100);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}
.svc-icon svg {
  width: 20px;
  height: 20px;
}
.svc:hover .svc-icon {
  background: var(--navy-700);
  color: #fff;
}

.svc h3 { margin-bottom: 4px; }
.svc p { color: var(--ink-mute); font-size: 15px; line-height: 1.6; }
.svc ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.svc ul li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-mute);
  padding-left: 14px;
  position: relative;
}
.svc ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 1px;
  background: var(--ink-dim);
}

/* ============================================================
   SERVICES LAYOUT + ACCORDION
   ============================================================ */
.svc-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 120px;
  align-items: start;
}
.svc-intro h2 { margin-bottom: 20px; }
.svc-intro-lede {
  font-size: 16px;
  color: var(--ink-mute);
  line-height: 1.65;
}

.svc-accordion { width: 100%; }
.svc-acc-item {
  border-top: 1px solid var(--border);
}
.svc-acc-item:last-child { border-bottom: 1px solid var(--border); }
.svc-acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.svc-acc-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color 0.15s ease;
}
.svc-acc-head:hover .svc-acc-title { color: var(--navy-700); }
.svc-acc-plus {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  color: var(--ink-dim);
}
.svc-acc-plus::before,
.svc-acc-plus::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.svc-acc-plus::before { width: 12px; height: 1.5px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.svc-acc-plus::after  { width: 1.5px; height: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.svc-acc-item.is-open .svc-acc-plus { color: var(--navy-700); }
.svc-acc-item.is-open .svc-acc-plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.svc-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.svc-acc-body-inner {
  padding: 4px 0 20px 0;
}
.svc-acc-body-inner ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.svc-acc-body-inner li {
  font-size: 16px;
  color: var(--ink-mute);
  line-height: 1.65;
  padding-left: 16px;
  position: relative;
}
.svc-acc-body-inner li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--navy-500);
  border-radius: 50%;
}

@media (max-width: 768px) {
  .svc-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   CASES
   ============================================================ */
.case {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 0;
  margin-bottom: 24px;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.case > div:first-child { padding: 40px 44px; }

.case-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
  background: var(--navy-100);
  padding: 5px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 20px;
}
.case-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--ink);
}
.case-block { margin-bottom: 20px; }
.case-block:last-of-type { margin-bottom: 0; }
.case-block-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 8px;
}
.case-block p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.case-quote {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-soft);
  border-radius: var(--r-md);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.case-quote-author {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

.case-visual {
  background: var(--bg-dark);
  color: #fff;
  padding: 40px 36px;
  display: flex;
  align-items: center;
}
.case-visual-content { width: 100%; }
.case-visual .case-block-label { color: var(--navy-300); margin-bottom: 16px; }
.case-metric {
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  margin-bottom: 10px;
}
.case-metric-label {
  font-size: 14px;
  color: var(--ink-on-dark-soft);
  margin-bottom: 32px;
  line-height: 1.45;
}
.case-logo {
  padding-top: 20px;
  border-top: 0.5px solid var(--border-dark);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-on-dark-mute);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
/* Carousel wrapper */
.test-carousel { position: relative; }
.test-track-wrap {
  overflow: hidden;
}
.test-track {
  display: flex;
  gap: 20px;
  transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
}
.test-track .testimonial {
  width: calc((100% - 40px) / 3);
  min-width: calc((100% - 40px) / 3);
  flex-shrink: 0;
}
.test-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.test-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-card);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: background 0.15s, border-color 0.15s;
  flex-shrink: 0;
}
.test-arrow:hover:not(:disabled) { background: var(--bg-soft); border-color: var(--navy-700); }
.test-arrow:disabled { opacity: 0.35; cursor: default; }
.test-dots { display: flex; gap: 8px; align-items: center; }
.test-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--border-strong);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.test-dot.active { background: var(--navy-700); transform: scale(1.35); }

.testimonial {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color 0.2s ease;
}
.testimonial-stars {
  color: var(--navy-700);
  font-size: 14px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 0.5px solid var(--border);
}
.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.3;
}
.testimonial-role {
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.3;
  margin-top: 2px;
}


/* ============================================================
   ADVANTAGES (dark section)
   ============================================================ */
.adv {
  background: var(--bg-dark);
  color: #fff;
  padding: var(--gap-section) 0;
}
.adv h2 { color: #fff; }
.adv .section-head .lede { color: var(--ink-on-dark-soft); }
.adv h3 { color: #fff; }

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 32px;
}
.adv-item {
  padding: 32px 0 0;
  border-top: 0.5px solid var(--border-dark);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.adv-item .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 16px;
  color: var(--navy-300);
  letter-spacing: 0.02em;
}
.adv-item h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: #fff;
}
.adv-item p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-on-dark-soft);
}

/* ============================================================
   INSIGHTS (free materials)
   ============================================================ */
.insights-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.insights-lead {}
.insights-lead h2 {
  margin-top: 4px;
  margin-bottom: 20px;
}
.insights-hook {
  display: block;
  margin-bottom: 20px;
}
.insights-offer {
  display: block;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.insights-lead p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-mute);
}
.insights-list {
  list-style: none;
  border-top: 1px solid var(--border);
}
.insights-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.insights-item article {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.insights-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  background: var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.insights-icon svg {
  width: 20px;
  height: 20px;
  color: var(--navy-800);
}
.insights-title {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 6px;
  text-transform: none;
}
.insights-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.insights-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-800);
  text-decoration: none;
  padding-bottom: 1px;
  border-bottom: 1px solid transparent;
  transition: gap 0.18s ease, border-color 0.18s ease;
}
.insights-cta:hover {
  border-bottom-color: var(--navy-800);
  gap: 9px;
}
.insights-cta svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.18s ease;
}
.insights-cta:hover svg { transform: translateX(2px); }

/* ============================================================
   BLOG (section on homepage + listing page)
   ============================================================ */
.blog-section { background: var(--bg); }

.blog-grid,
.blog-grid-full {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-card {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
  color: inherit;
}
.blog-card:hover { border-color: var(--ink); transform: translateY(-4px); }

.blog-card-cover {
  background: var(--bg-dark) !important;
  color: #fff;
  aspect-ratio: 16 / 9;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}
.blog-card-cover::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, var(--navy-700) 0%, transparent 70%);
  opacity: 0.5;
}
.blog-card-cover-text {
  position: relative;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: #fff;
}

.blog-card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.blog-card-tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-700);
  background: var(--navy-100);
  padding: 3px 8px;
  border-radius: var(--r-sm);
  font-weight: 500;
}
.blog-card h3 {
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.blog-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mute);
  flex: 1;
}
.blog-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 8px;
  transition: gap 0.2s ease;
}
.blog-card:hover .blog-card-more { gap: 10px; }
.blog-card-more::after { content: '→'; }

.blog-section-footer {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

/* Blog listing filters */
.blog-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.blog-filter {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 0.5px solid var(--border-strong);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s ease;
}
.blog-filter:hover { border-color: var(--ink); color: var(--ink); }
.blog-filter.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}


/* ============================================================
   PRICING
   ============================================================ */
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tier {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease;
  position: relative;
}
.tier:hover { border-color: var(--ink); transform: translateY(-4px); }

.tier-name {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 14px;
}
.tier-price {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1;
}
.tier-price small {
  font-size: 14px;
  color: var(--ink-mute);
  font-weight: 400;
  margin-left: 2px;
}
.tier-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 0;
  border-top: 0.5px solid var(--border);
  border-bottom: 0.5px solid var(--border);
  margin: 24px 0;
  flex: 1;
}
.tier-feat {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.tier-feat svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--navy-700);
  margin-top: 4px;
}
.tier-for {
  font-size: 13px;
  color: var(--ink-mute);
  margin-bottom: 20px;
  line-height: 1.5;
}
.tier .btn {
  width: 100%;
  justify-content: center;
}

.tier.is-featured {
  background: var(--bg-dark);
  border-color: var(--bg-dark);
  color: #fff;
}
.tier.is-featured .tier-name { color: var(--navy-300); }
.tier.is-featured .tier-price { color: #fff; }
.tier.is-featured .tier-price small { color: var(--ink-on-dark-soft); }
.tier.is-featured .tier-feats {
  border-color: var(--border-dark);
}
.tier.is-featured .tier-feat { color: var(--ink-on-dark-soft); }
.tier.is-featured .tier-feat svg { color: var(--navy-300); }
.tier.is-featured .tier-for { color: var(--ink-on-dark-mute); }
.tier.is-featured .btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.tier.is-featured .btn-ghost:hover { background: var(--navy-100); border-color: var(--navy-100); }
.tier-badge {
  position: absolute;
  top: -10px;
  left: 24px;
  background: var(--navy-300);
  color: var(--navy-900);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}

.extras {
  margin-top: 48px;
  padding: 32px;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
}
.extras h3 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 24px;
}
.extras-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}
.extra {
  background: var(--bg-card);
  padding: 16px 4px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}
.extra .name { color: var(--ink-mute); }
.extra .price { color: var(--ink); font-weight: 500; white-space: nowrap; }

/* ============================================================
   ADDITIONAL SERVICES
   ============================================================ */
.addl-accordion {
  border-top: 0.5px solid var(--border);
}
.addl-acc-item {
  border-bottom: 0.5px solid var(--border);
}
.addl-acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.addl-acc-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}
.addl-acc-num {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-dim);
  flex-shrink: 0;
  width: 18px;
}
.addl-acc-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.addl-acc-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.addl-acc-price-wrap { text-align: right; }
.addl-acc-price {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.addl-acc-price-note {
  display: block;
  font-size: 11px;
  color: var(--ink-dim);
  margin-top: 2px;
  white-space: nowrap;
}

/* Plus icon — same technique as FAQ */
.addl-acc-icon {
  position: relative;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  font-size: 0;
}
.addl-acc-icon::before,
.addl-acc-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.addl-acc-icon::before {
  width: 12px;
  height: 1px;
  margin: -0.5px 0 0 -6px;
}
.addl-acc-icon::after {
  width: 1px;
  height: 12px;
  margin: -6px 0 0 -0.5px;
}
.addl-acc-item.open .addl-acc-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* Body */
.addl-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.addl-acc-item.open .addl-acc-body { max-height: 600px; }
.addl-acc-body-inner {
  padding: 0 0 28px calc(18px + 18px);
}
.addl-acc-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-dim);
  margin-bottom: 14px;
}
.addl-acc-body ul {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 24px;
}
.addl-acc-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--navy-700);
}
.addl-acc-body ul li::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3 8l3.5 3.5L13 5' stroke='%2316A34A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}
.addl-acc-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.addl-acc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-900);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: opacity 0.15s;
}
.addl-acc-cta:hover { opacity: 0.85; }
.addl-acc-cta svg { width: 14px; height: 14px; flex-shrink: 0; }
.addl-acc-deadline {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-mute);
}
.addl-acc-deadline svg { width: 14px; height: 14px; color: var(--ink-dim); flex-shrink: 0; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
  max-width: 880px;
  border-top: 0.5px solid var(--border);
}
.faq-item { border-bottom: 0.5px solid var(--border); }
.faq-q {
  width: 100%;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
}
.faq-q .plus {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  font-size: 0;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-q .plus::before {
  width: 12px;
  height: 1px;
  margin: -0.5px 0 0 -6px;
}
.faq-q .plus::after {
  width: 1px;
  height: 12px;
  margin: -6px 0 0 -0.5px;
}
.faq-item.is-open .faq-q .plus::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.is-open .faq-a { max-height: 800px; }
.faq-a-inner {
  padding: 0 40px 28px 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-mute);
}
.faq-a-inner p + p,
.faq-a-inner p + ul,
.faq-a-inner ul + p { margin-top: 12px; }
.faq-a-inner ul { padding-left: 20px; list-style: disc; }
.faq-a-inner li { color: var(--ink-mute); }

/* ============================================================
   CONTACTS
   ============================================================ */
.contacts {
  background: var(--bg-soft);
}
.contacts-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 64px;
  align-items: start;
}
.contacts-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
a.contact-item:hover {
  border-color: var(--border-strong);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background: var(--navy-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item-icon svg {
  width: 18px;
  height: 18px;
  color: var(--navy-800);
}
.contact-item-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 3px;
}
.contact-item-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.contacts-map {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contacts-map iframe {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: var(--r-xl);
  display: block;
}
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy-800);
  padding: 9px 14px;
  background: var(--navy-100);
  border-radius: var(--r-sm);
  align-self: flex-start;
  transition: background 0.15s ease, color 0.15s ease;
}
.map-link:hover {
  background: var(--navy-300);
  color: var(--bg-dark);
}
.map-link svg { flex-shrink: 0; }

/* ============================================================
   CTA (final)
   ============================================================ */
.cta {
  background: var(--bg-dark);
  color: #fff;
  padding: var(--gap-section) 0;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--navy-700) 0%, transparent 65%);
  opacity: 0.35;
  pointer-events: none;
}
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  position: relative;
}
.pcta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  position: relative;
}
.pcta-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ── Calculator embed ── */
.calc-frame-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 0.5px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.calc-frame-wrap iframe {
  width: 100%;
  display: block;
  border: none;
  min-height: 780px;
  transition: height 0.15s ease;
}

.cta h2 { color: #fff; }
.cta p {
  color: var(--ink-on-dark-soft);
  font-size: 17px;
  max-width: 480px;
  line-height: 1.55;
  margin-top: 24px;
}

.cta-channels {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 36px;
}
.channel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: #fff;
  font-weight: 500;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 0.5px solid var(--border-dark);
  border-radius: var(--r-sm);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  width: fit-content;
  min-width: 240px;
}
.channel:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-dark-strong);
  transform: translateY(-1px);
}
.channel svg { width: 18px; height: 18px; color: var(--navy-300); }

/* CTA title override for inline gradient — italic serif emphasis */
.cta h2 span[style*="background"] {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* Generic inline gradient override (light sections — use ink color) */
h2 span[style*="background"][style*="gradient"],
h1 span[style*="background"][style*="gradient"] {
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
  color: currentColor !important;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

/* On dark sections — force white text and remove transparency completely */
.adv h2 span[style*="background"][style*="gradient"],
.cta h2 span[style*="background"][style*="gradient"],
.guide-hero h1 span[style*="background"][style*="gradient"],
.guide-hero h2 span[style*="background"][style*="gradient"] {
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
}

/* ============================================================
   FORM
   ============================================================ */
.form-card {
  background: rgba(255,255,255,0.04);
  padding: 36px;
  border: 0.5px solid var(--border-dark);
  border-radius: var(--r-lg);
}
.form-card h3 { color: #fff; margin-bottom: 8px; }
.form-card .sub {
  font-size: 14px;
  color: var(--ink-on-dark-soft);
  margin-bottom: 28px;
  line-height: 1.5;
}
.form-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-on-dark-soft);
}
.field input,
.field select,
.field textarea {
  background: rgba(255,255,255,0.06);
  border: 0.5px solid var(--border-dark-strong);
  color: #fff;
  padding: 12px 14px;
  font-size: 14px;
  border-radius: var(--r-sm);
  transition: border-color 0.15s ease, background 0.15s ease;
  width: 100%;
}
.field input::placeholder { color: var(--ink-on-dark-mute); }
.field textarea { min-height: 90px; resize: vertical; font-family: inherit; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy-300);
  background: rgba(255,255,255,0.09);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.form-body .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  width: 100%;
  justify-content: center;
  padding: 14px;
}
.form-body .btn-primary:hover {
  background: var(--navy-300);
  border-color: var(--navy-300);
}
.legal {
  font-size: 12px;
  color: var(--ink-on-dark-mute);
  text-align: center;
  line-height: 1.45;
  margin-top: 4px;
}
.form-success {
  display: none;
  padding: 24px;
  background: rgba(22,163,74,0.08);
  border: 0.5px solid rgba(22,163,74,0.3);
  border-radius: var(--r-md);
  text-align: center;
}
.form-card.is-success .form-body { display: none; }
.form-card.is-success .form-success { display: block; }


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark-2);
  color: var(--ink-on-dark-soft);
  padding: 80px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) repeat(4, minmax(0, 1fr));
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 0.5px solid var(--border-dark);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo img { height: 72px; width: auto; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-on-dark-soft);
  max-width: 320px;
  margin-bottom: 20px;
}
.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font-size: 14px;
}
.contact-line svg { width: 16px; height: 16px; color: var(--navy-300); flex-shrink: 0; }
.contact-line a { color: #fff; }
.contact-line a:hover { color: var(--navy-300); }

.footer-top h4 {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.footer-top ul { display: flex; flex-direction: column; gap: 10px; }
.footer-top li a,
.footer-top li span {
  font-size: 14px;
  color: var(--ink-on-dark-soft);
  transition: color 0.15s ease;
}
.footer-top li a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 13px;
  color: var(--ink-on-dark-mute);
}

/* ============================================================
   PAGE HERO (blog, calendar, guide)
   ============================================================ */
.page-hero {
  padding: 80px 0 64px;
  border-bottom: 0.5px solid var(--border);
  background: var(--bg);
}
.page-hero h1 {
  font-size: clamp(40px, 5.5vw, 64px);
  line-height: 1;
  margin-bottom: 20px;
}
.page-hero p {
  font-size: 18px;
  color: var(--ink-mute);
  max-width: 640px;
  line-height: 1.55;
}

/* ============================================================
   ARTICLE (blog post)
   ============================================================ */
.article { padding: 80px 0 var(--gap-section); }

.article-header {
  margin-bottom: 48px;
  padding-bottom: 36px;
  border-bottom: 0.5px solid var(--border);
}
.article-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 13px;
  color: var(--ink-mute);
}
.article-meta .blog-card-tag { margin: 0; }
.article-header h1 {
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.article-lede {
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-mute);
}

.article-cover {
  background: var(--bg-dark) !important;
  color: #fff;
  aspect-ratio: 21 / 9;
  border-radius: var(--r-lg);
  margin-bottom: 48px;
  padding: 48px;
  display: flex;
  align-items: flex-end;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}
.article-cover::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, var(--navy-700) 0%, transparent 70%);
  opacity: 0.4;
}

.article-content {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.article-content > * + * { margin-top: 20px; }
.article-content h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-top: 56px !important;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.article-content h3 {
  font-size: 22px;
  margin-top: 40px !important;
  margin-bottom: 4px;
}
.article-content p { color: var(--ink-soft); }
.article-content ul, .article-content ol {
  padding-left: 24px;
}
.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }
.article-content li { color: var(--ink-soft); margin-top: 8px; }
.article-content li::marker { color: var(--ink-dim); }
.article-content strong { color: var(--ink); font-weight: 600; }
.article-content a {
  color: var(--navy-700);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-content a:hover { color: var(--navy-900); }
.article-content blockquote {
  margin: 36px 0;
  padding: 24px 28px;
  background: var(--bg-soft);
  border-left: 3px solid var(--navy-700);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.5;
  color: var(--ink);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 24px 0;
}
.article-content th, .article-content td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 0.5px solid var(--border);
}
.article-content th {
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  background: var(--bg-soft);
}
.article-content code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.92em;
  background: var(--bg-soft);
  padding: 2px 6px;
  border-radius: 4px;
}

.article-cta-box {
  margin-top: 64px;
  padding: 36px;
  background: var(--bg-dark);
  color: #fff;
  border-radius: var(--r-lg);
  position: relative;
  overflow: hidden;
}
.article-cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 60%;
  height: 200%;
  background: radial-gradient(circle, var(--navy-700) 0%, transparent 65%);
  opacity: 0.35;
}
.article-cta-box h3 {
  position: relative;
  font-size: clamp(22px, 2.6vw, 28px);
  color: #fff;
  margin-bottom: 8px;
}
.article-cta-box p {
  position: relative;
  color: var(--ink-on-dark-soft);
  margin-bottom: 24px;
  font-size: 15px;
}
.article-cta-box .btn { position: relative; }

.related-articles {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 0.5px solid var(--border);
}
.related-articles h2 {
  font-size: 24px;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

/* ============================================================
   CALENDAR
   ============================================================ */
.calendar-tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-soft);
  padding: 4px;
  border-radius: var(--r-pill);
  width: fit-content;
  margin-bottom: 48px;
}
.calendar-tab {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
  transition: all 0.15s ease;
  cursor: pointer;
}
.calendar-tab:hover { color: var(--ink); }
.calendar-tab.is-active {
  background: var(--bg-card);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.calendar-table {
  background: var(--bg-card);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.calendar-row {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 24px;
  padding: 20px 28px;
  border-bottom: 0.5px solid var(--border);
  align-items: center;
}
.calendar-row:last-child { border-bottom: none; }
.calendar-row:hover { background: var(--bg); }
.calendar-date {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.calendar-event {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.4;
}
.calendar-event-sub {
  display: block;
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 4px;
}
.calendar-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.calendar-tag.is-tax { background: var(--navy-100); color: var(--navy-700); }
.calendar-tag.is-report { background: #FFF4E5; color: #B45309; }
.calendar-tag.is-other { background: var(--bg-soft); color: var(--ink-mute); }

/* ============================================================
   GUIDE
   ============================================================ */
.guide-hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.guide-hero::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--navy-700) 0%, transparent 65%);
  opacity: 0.3;
}
.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  position: relative;
}
.guide-hero h1 { color: #fff; }
.guide-hero p {
  color: var(--ink-on-dark-soft);
  font-size: 17px;
  margin: 20px 0 32px;
  line-height: 1.55;
  max-width: 480px;
}
.guide-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 28px 0 36px;
}
.guide-features li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-on-dark-soft);
  line-height: 1.5;
}
.guide-features li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--navy-300);
  margin-top: 3px;
}

.guide-cover {
  background: linear-gradient(135deg, var(--navy-800) 0%, var(--navy-900) 100%);
  border-radius: var(--r-lg);
  padding: 48px;
  aspect-ratio: 3 / 4;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4), 0 8px 24px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}
.guide-cover::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 70%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--navy-300) 0%, transparent 70%);
  opacity: 0.18;
}
.guide-cover-content { position: relative; }
.guide-cover-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy-300);
  margin-bottom: 16px;
}
.guide-cover-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: #fff;
}
.guide-cover-meta {
  position: relative;
  font-size: 13px;
  color: var(--ink-on-dark-soft);
  letter-spacing: 0.04em;
  padding-top: 20px;
  border-top: 0.5px solid var(--border-dark);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  :root { --gap-section: 88px; }
  .section-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 48px; }
  .section-head .lede { max-width: 640px; }
  .hero-grid, .cta-grid, .pcta-grid, .guide-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero .wrap { position: static; display: flex; flex-direction: column; }
  .hero-figure { position: static; width: 100%; max-width: 460px; right: auto; top: auto; margin: 32px 0 0; order: 2; }
  .hero-lead { max-width: none; order: 1; }
  .hero-band { margin-top: 40px; order: 3; }
  .contacts-grid { grid-template-columns: 1fr; gap: 48px; }
  .insights-layout { grid-template-columns: 1fr; gap: 48px; }
  .insights-lead { position: static; }
  .hero-card { margin-top: 32px; }
  .case { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --gap-section: 72px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: repeat(2, 1fr); }
  .addl-acc-price-note { display: none; }
  .test-track-wrap { max-width: 100%; }
  .test-track .testimonial { width: 100%; min-width: 100%; }
  .blog-grid, .blog-grid-full { grid-template-columns: repeat(2, 1fr); }
  .tiers { grid-template-columns: repeat(2, 1fr); }
  .extras-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .mobile-nav { display: flex; }
  .burger { display: flex; align-items: center; justify-content: center; }
  .phone-link { display: none; }
  .calendar-row { grid-template-columns: 1fr; gap: 8px; padding: 18px 20px; }
  .calendar-tag { justify-self: start; }
}

@media (max-width: 640px) {
  :root { --gap-section: 56px; --gap-section-sm: 48px; }
  .wrap, .wrap-narrow { padding: 0 20px; }
  .header-inner { padding: 12px 20px; gap: 12px; }
  .hero { padding: 56px 0 48px; }
  .hero-band { flex-direction: column; align-items: stretch; gap: 28px; }
  .hero-band .seal { flex: 0 0 auto; }
  .hero-metrics { justify-content: flex-start; flex-wrap: wrap; gap: 20px 0; }
  .hero-metric { flex: 1 1 33%; padding: 0 16px; }
  .hero-metric:first-child { padding-left: 0; }
  .hero-metric .num { font-size: 32px; }
  .hero-trust { flex-direction: column; align-items: flex-start; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .adv-grid { grid-template-columns: 1fr; }
  .addl-acc-price { font-size: 14px; }
  .addl-acc-name { font-size: 14px; }
  .blog-grid, .blog-grid-full { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; }
  .extras-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .case > div:first-child { padding: 28px 24px; }
  .case-visual { padding: 28px 24px; }
  .resource { flex-direction: column; gap: 16px; padding: 24px; }
  .form-card { padding: 24px; }
  .contacts-map iframe { height: 300px; }
  .calc-frame-wrap iframe { min-height: 1150px; }
  .article-cover { padding: 28px; aspect-ratio: 16 / 11; }
  .article-content { font-size: 16px; }
  .fab { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .channel { min-width: 0; width: 100%; }
  h1 { font-size: clamp(36px, 9vw, 52px); }
  h2 { font-size: clamp(28px, 7vw, 40px); }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .header, .footer, .fab, .cta { display: none; }
  body { background: #fff; }
  .article-content { color: #000; }
}

/* === Hero seal & separators === */
.seal {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 24px;
  background: var(--navy-100);
  border-left: 3px solid var(--navy-700);
  border-radius: var(--r-lg);
  margin-top: 0;
  max-width: none;
}
.seal-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--navy-700);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.seal > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--navy-800);
}
.seal strong {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--navy-900);
}
.sep {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--border-strong);
  margin: 0 4px;
  vertical-align: middle;
}

/* ============================================================
   METRIC BAND — narrow dark strip between two light sections
   Acts as a visual divider + trust bridge (cases → metrics → reviews)
   ============================================================ */
.metric-band {
  background: var(--bg-dark);
  color: #fff;
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}
.metric-band::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--navy-700) 0%, transparent 65%);
  opacity: 0.3;
  pointer-events: none;
}
.metric-band-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.metric-band-item {
  text-align: center;
  padding: 8px 16px;
  position: relative;
}
.metric-band-item + .metric-band-item {
  border-left: 0.5px solid var(--border-dark);
}
.metric-band-num {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}
.metric-band-num span {
  font-size: 0.55em;
  color: var(--navy-300);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-left: 1px;
}
.metric-band-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy-300);
  margin-top: 10px;
}

/* Tighten the spacing around the band so it reads as one continuous transition */
.cases { padding-bottom: 64px; }
.testimonials { padding-top: 64px; }

@media (max-width: 700px) {
  .metric-band { padding: 28px 0; }
  .metric-band-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .metric-band-item + .metric-band-item {
    border-left: none;
    border-top: 0.5px solid var(--border-dark);
    padding-top: 20px;
  }
  .cases { padding-bottom: 48px; }
  .testimonials { padding-top: 48px; }
}

/* ============================================================
   VACANCIES (careers page cards)
   ============================================================ */
.vac-grid {
  display: grid;
  gap: 24px;
}
.vac-grid.vac-roles { grid-template-columns: repeat(2, 1fr); }
.vac-grid.vac-why   { grid-template-columns: repeat(3, 1fr); }

.vac-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 1px 2px rgba(4, 44, 83, 0.04);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.vac-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(95deg, var(--navy-700), var(--navy-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.vac-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px -16px rgba(4, 44, 83, 0.22);
  border-color: var(--navy-300);
}
.vac-card:hover::before { transform: scaleX(1); }

.vac-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.vac-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--r-md);
  background: var(--navy-100);
  color: var(--navy-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .22s ease, color .22s ease;
}
.vac-card-icon svg { width: 24px; height: 24px; }
.vac-card:hover .vac-card-icon {
  background: var(--navy-700);
  color: #fff;
}
.vac-card-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--navy-300);
  letter-spacing: 0.02em;
}
.vac-card h3 {
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.vac-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
}

@media (max-width: 820px) {
  .vac-grid.vac-roles,
  .vac-grid.vac-why { grid-template-columns: 1fr; }
}
