:root {
  --bg-main: #f8faf9;
  --bg-soft: #eef5f7;
  --bg-card: #ffffff;
  --navy-950: #071d2f;
  --navy-900: #0d2235;
  --navy-800: #12324d;
  --text-strong: #0d2235;
  --text-main: #203040;
  --text-muted: #5c6b7a;
  --blue-700: #1e6f9f;
  --blue-800: #165a82;
  --blue-500: #3a9bc8;
  --teal-500: #2fa7a0;
  --teal-soft: #e8f7f5;
  --platinum-100: #f3f7f8;
  --platinum-200: #e6eef2;
  --silver-300: #c4d2dc;
  --gradient-heading: linear-gradient(105deg, #0d2235 0%, #1e6f9f 58%, #2fa7a0 100%);
  --gradient-button: linear-gradient(135deg, #0d2235 0%, #1e6f9f 100%);
  --gradient-glass: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 247, 0.68));
  --gradient-footer: radial-gradient(circle at top right, rgba(47, 167, 160, 0.18), transparent 34%), #071d2f;
  --accent-primary: #1e6f9f;
  --accent-primary-hover: #165a82;
  --accent-secondary: #2fa7a0;
  --accent-secondary-soft: #e8f7f5;
  --border-soft: #dde8ee;
  --border-strong: #b8cad6;
  --status-success: #2e8b63;
  --status-warning: #b7791f;
  --shadow-soft: 0 20px 50px rgba(13, 34, 53, 0.08);
  --shadow-card: 0 14px 34px rgba(13, 34, 53, 0.06);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --container: 1240px;
  --header-height: 88px;
  --hero-gap-home: clamp(40px, 4.2vh, 56px);
  --hero-gap-service: clamp(12px, 1.8vh, 22px);
  --hero-gap-inner: clamp(24px, 3.2vh, 36px);
  --hero-title-home-en: clamp(45px, 4.55vw, 67px);
  --hero-title-home-ru: clamp(42px, 4.25vw, 62px);
  --hero-title-service-en: clamp(2.74rem, 4.45vw, 4.85rem);
  --hero-title-service-ru: clamp(2.52rem, 3.95vw, 4.2rem);
  --hero-title-inner-en: clamp(2.35rem, 4.2vw, 4.25rem);
  --hero-title-inner-ru: clamp(2.22rem, 3.8vw, 3.85rem);
  --font-sans: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(30, 111, 159, 0.25);
  outline-offset: 3px;
}

.proto-body {
  min-width: 320px;
}

.proto-page {
  overflow-x: clip;
}

body.proto-page {
  overflow-x: hidden;
}

.proto-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: 100%;
  z-index: -1;
  background:
    radial-gradient(circle at top right, rgba(47, 167, 160, 0.12), transparent 32%),
    radial-gradient(circle at left 15% top 12%, rgba(30, 111, 159, 0.09), transparent 28%),
    linear-gradient(180deg, #fbfcfc 0%, var(--bg-main) 52%, #f3f7f8 100%);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 72px 0;
}

.section--compact {
  padding: 56px 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(238, 245, 247, 0.88) 0%, rgba(248, 250, 249, 0.85) 100%);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: rgba(30, 111, 159, 0.35);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text-strong);
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  letter-spacing: -0.03em;
}

p {
  margin: 0;
}

.service-page {
  --service-accent: #1e6f9f;
  --service-accent-soft: rgba(30, 111, 159, 0.12);
}

.service-page .container {
  width: min(var(--container), calc(100vw - 40px));
}

.service-page--champagne { --service-accent: #b89b62; --service-accent-soft: rgba(184, 155, 98, 0.16); }
.service-page--ice { --service-accent: #3a9bc8; --service-accent-soft: rgba(58, 155, 200, 0.14); }
.service-page--steel { --service-accent: #1e6f9f; --service-accent-soft: rgba(30, 111, 159, 0.14); }
.service-page--deep { --service-accent: #12324d; --service-accent-soft: rgba(18, 50, 77, 0.13); }
.service-page--navy { --service-accent: #0d2235; --service-accent-soft: rgba(13, 34, 53, 0.12); }
.service-page--platinum { --service-accent: #5f82a8; --service-accent-soft: rgba(95, 130, 168, 0.14); }

.service-hero {
  min-height: clamp(600px, calc(100svh - var(--header-height)), 760px);
  display: flex;
  align-items: center;
  padding: clamp(58px, 7vh, 86px) 0 clamp(36px, 5vh, 58px);
}

.service-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 0.78fr);
  gap: clamp(34px, 5vw, 76px);
  align-items: center;
}

.service-hero__copy {
  max-width: 690px;
}

.service-hero__copy h1 {
  max-width: 12.8ch;
  font-size: clamp(3.05rem, 5.4vw, 5.75rem);
  background: linear-gradient(108deg, #071927 0%, #12344a 66%, var(--service-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[lang="ru"] .service-hero__copy h1 {
  max-width: 15.6ch;
  font-size: clamp(2.65rem, 4.8vw, 5rem);
}

.service-hero__copy .lead {
  max-width: 650px;
  margin-top: 22px;
  font-size: clamp(1.04rem, 1.15vw, 1.22rem);
  overflow-wrap: anywhere;
}

.service-hero__copy .btn-group {
  margin-top: 30px;
}

.service-hero__visual {
  display: grid;
  place-items: center;
  min-height: 470px;
}

.service-hero__visual--image {
  position: relative;
  min-height: clamp(430px, 46vw, 620px);
  display: grid;
  place-items: center;
}

.service-hero-image-wrap {
  position: relative;
  width: min(100%, 620px);
  transform-style: preserve-3d;
  isolation: isolate;
  animation: serviceHeroFloat 7s ease-in-out infinite;
}

.service-hero-image-wrap::before {
  content: "";
  position: absolute;
  inset: 4% 8% 8%;
  z-index: -1;
  border-radius: 44% 44% 36% 36%;
  background:
    radial-gradient(circle at 50% 52%, rgba(46, 151, 255, 0.18), transparent 58%),
    radial-gradient(circle at 48% 78%, rgba(0, 194, 255, 0.14), transparent 48%);
  filter: blur(22px);
  opacity: 0.9;
  animation: serviceHeroGlow 8s ease-in-out infinite;
}

.service-hero-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 28px;
  background:
    linear-gradient(
      115deg,
      transparent 0%,
      transparent 38%,
      rgba(255, 255, 255, 0.34) 47%,
      rgba(130, 217, 255, 0.22) 50%,
      transparent 60%,
      transparent 100%
    );
  mix-blend-mode: screen;
  opacity: 0;
  transform: translateX(-34%) skewX(-10deg);
  animation: serviceHeroShimmer 9s ease-in-out infinite;
}

.service-hero-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 45px rgba(13, 51, 92, 0.10))
    drop-shadow(0 8px 18px rgba(0, 115, 255, 0.08));
  transition:
    transform 500ms ease,
    filter 500ms ease;
  will-change: transform;
}

.service-hero-image-wrap:hover .service-hero-image {
  transform: translateY(-4px) scale(1.012);
  filter:
    drop-shadow(0 30px 55px rgba(13, 51, 92, 0.14))
    drop-shadow(0 10px 22px rgba(0, 115, 255, 0.12));
}

.service-page--registration-hero .service-hero__grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 0.98fr);
  gap: clamp(28px, 4.2vw, 58px);
}

.service-page--registration-hero .service-hero__copy {
  max-width: 600px;
}

.service-page--registration-hero .service-hero__copy h1 {
  max-width: 11.6ch;
  font-size: clamp(2.46rem, 4vw, 4.3rem);
  line-height: 0.97;
}

.service-page--registration-hero.service-page--champagne .service-hero__copy h1 {
  background: linear-gradient(108deg, #071927 0%, #12344a 72%, #1e6f9f 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

html[lang="ru"] .service-page--registration-hero .service-hero__copy h1 {
  max-width: 13.8ch;
  font-size: clamp(2.28rem, 3.55vw, 3.7rem);
  line-height: 1;
}

.service-page--registration-hero .service-hero__copy .lead {
  max-width: 560px;
}

.service-page--registration-hero .service-hero__visual--image {
  min-height: clamp(470px, 48vw, 680px);
  justify-self: end;
  overflow: visible;
}

.service-page--registration-hero .service-hero-image-wrap {
  --registration-hero-x: 10px;
  width: min(104%, 850px);
  transform: translateX(10px);
  animation: registrationHeroFloat 7.8s ease-in-out infinite;
  will-change: transform;
}

.service-page--registration-hero .service-hero-image-wrap picture {
  position: relative;
  display: block;
  isolation: isolate;
  overflow: hidden;
  border-radius: 34px;
}

.service-page--registration-hero .service-hero-image-wrap picture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 1) 0 10px, rgba(248, 251, 253, 0.74) 18px, rgba(248, 251, 253, 0.22) 30px, rgba(248, 251, 253, 0) 44px),
    linear-gradient(0deg, rgba(248, 251, 253, 0.9) 0 9px, rgba(248, 251, 253, 0.48) 18px, rgba(248, 251, 253, 0.12) 28px, rgba(248, 251, 253, 0) 42px),
    linear-gradient(90deg, rgba(248, 251, 253, 0.88) 0 10px, rgba(248, 251, 253, 0.42) 18px, rgba(248, 251, 253, 0.08) 29px, rgba(248, 251, 253, 0) 42px, rgba(248, 251, 253, 0) calc(100% - 42px), rgba(248, 251, 253, 0.12) calc(100% - 29px), rgba(248, 251, 253, 0.5) calc(100% - 18px), rgba(248, 251, 253, 0.92) calc(100% - 10px), rgba(248, 251, 253, 1) 100%),
    radial-gradient(ellipse at 98% 3%, rgba(248, 251, 253, 1) 0%, rgba(248, 251, 253, 0.56) 12%, rgba(248, 251, 253, 0.08) 24%, rgba(248, 251, 253, 0) 34%);
}

.service-page--registration-hero .service-hero-image-wrap picture::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  border-radius: 34px;
  mix-blend-mode: screen;
  opacity: 0.34;
  background:
    linear-gradient(118deg, transparent 0 24%, rgba(255, 255, 255, 0.2) 32%, transparent 42%),
    linear-gradient(104deg, transparent 0 54%, rgba(181, 220, 244, 0.16) 60%, transparent 68%),
    radial-gradient(ellipse at 47% 25%, rgba(255, 255, 255, 0.24), transparent 32%);
  background-size: 160% 100%, 150% 100%, 100% 100%;
  animation: registrationHeroLunar 12s cubic-bezier(0.42, 0, 0.24, 1) infinite;
  transition: opacity 360ms ease, filter 360ms ease;
}

.service-page--registration-hero .service-hero-image-wrap::before {
  inset: 6% 7% 8%;
  border-radius: 44% 48% 38% 42%;
  background:
    radial-gradient(circle at 48% 54%, rgba(39, 139, 255, 0.2), transparent 58%),
    radial-gradient(circle at 54% 76%, rgba(0, 190, 255, 0.13), transparent 52%),
    radial-gradient(circle at 78% 18%, rgba(226, 238, 249, 0.52), transparent 42%);
  filter: blur(26px);
  opacity: 0.78;
  animation: registrationHeroGlow 8.8s ease-in-out infinite;
  transition: opacity 360ms ease, filter 360ms ease;
}

.service-page--registration-hero .service-hero-image-wrap::after {
  inset: -1%;
  border-radius: 42px;
  background:
    linear-gradient(115deg, transparent 0%, transparent 41%, rgba(255, 255, 255, 0.22) 48%, rgba(120, 215, 255, 0.12) 52%, transparent 63%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0;
  z-index: 3;
  transform: translateX(-40%) skewX(-10deg);
  animation: registrationHeroShimmer 10.8s ease-in-out infinite;
  transition: opacity 360ms ease, filter 360ms ease;
}

.service-page--registration-hero .service-hero-image {
  width: min(100%, 835px);
  filter:
    drop-shadow(0 24px 46px rgba(13, 51, 92, 0.1))
    drop-shadow(0 8px 20px rgba(0, 115, 255, 0.08));
  -webkit-mask-image: radial-gradient(
    ellipse 103% 101% at 50% 52%,
    #000 0%,
    #000 86%,
    rgba(0, 0, 0, 0.82) 94%,
    rgba(0, 0, 0, 0.42) 99%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 103% 101% at 50% 52%,
    #000 0%,
    #000 86%,
    rgba(0, 0, 0, 0.82) 94%,
    rgba(0, 0, 0, 0.42) 99%,
    transparent 100%
  );
}

.service-page--registration-hero .service-hero-image-wrap:hover::before {
  opacity: 1;
  filter: blur(30px);
}

.service-page--registration-hero .service-hero-image-wrap:hover::after {
  animation: registrationHeroHoverSweep 1350ms cubic-bezier(0.2, 0.72, 0.22, 1) both;
  filter: brightness(1.12);
}

.service-page--registration-hero .service-hero-image-wrap:hover picture::after {
  opacity: 0.62;
  filter: brightness(1.18);
  animation:
    registrationHeroHoverLunar 1400ms cubic-bezier(0.2, 0.72, 0.22, 1) both,
    registrationHeroLunar 7.2s cubic-bezier(0.42, 0, 0.24, 1) infinite 1400ms;
}

.service-page--registration-hero .service-hero-image-wrap:hover .service-hero-image {
  transform: none;
  filter:
    drop-shadow(0 30px 58px rgba(13, 51, 92, 0.14))
    drop-shadow(0 10px 24px rgba(0, 115, 255, 0.12));
}

@keyframes serviceHeroFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -7px, 0);
  }
}

@keyframes serviceHeroGlow {
  0%, 100% {
    opacity: 0.72;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.035);
  }
}

@keyframes serviceHeroShimmer {
  0%, 24% {
    opacity: 0;
    transform: translateX(-38%) skewX(-10deg);
  }
  34% {
    opacity: 0.7;
  }
  48% {
    opacity: 0;
    transform: translateX(38%) skewX(-10deg);
  }
  100% {
    opacity: 0;
    transform: translateX(38%) skewX(-10deg);
  }
}

@keyframes registrationHeroFloat {
  0%, 100% {
    transform: translate3d(var(--registration-hero-x, 10px), 0, 0);
  }
  50% {
    transform: translate3d(var(--registration-hero-x, 10px), -7px, 0);
  }
}

@keyframes registrationHeroGlow {
  0%, 100% {
    opacity: 0.7;
    transform: scale(0.985);
  }
  50% {
    opacity: 0.96;
    transform: scale(1.03);
  }
}

@keyframes registrationHeroShimmer {
  0%, 28% {
    opacity: 0;
    transform: translateX(-42%) skewX(-10deg);
  }
  38% {
    opacity: 0.7;
  }
  54% {
    opacity: 0;
    transform: translateX(42%) skewX(-10deg);
  }
  100% {
    opacity: 0;
    transform: translateX(42%) skewX(-10deg);
  }
}

@keyframes registrationHeroLunar {
  0%, 18% {
    opacity: 0.22;
    background-position: -46% 0, 128% 0, 50% 50%;
  }
  36% {
    opacity: 0.5;
  }
  62%, 100% {
    opacity: 0.24;
    background-position: 72% 0, -34% 0, 50% 50%;
  }
}

@keyframes registrationHeroHoverSweep {
  0% {
    opacity: 0;
    transform: translateX(-44%) skewX(-10deg);
  }
  34% {
    opacity: 0.78;
  }
  100% {
    opacity: 0;
    transform: translateX(44%) skewX(-10deg);
  }
}

@keyframes registrationHeroHoverLunar {
  0% {
    opacity: 0.28;
    background-position: -38% 0, 122% 0, 50% 50%;
  }
  44% {
    opacity: 0.7;
  }
  100% {
    opacity: 0.4;
    background-position: 68% 0, -28% 0, 50% 50%;
  }
}

.service-dossier-visual {
  position: relative;
  width: min(100%, 460px);
  aspect-ratio: 0.92;
  border-radius: 42px;
  border: 1px solid rgba(184, 202, 214, 0.55);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.9), transparent 29%),
    radial-gradient(circle at 78% 82%, var(--service-accent-soft), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(238, 245, 247, 0.3));
  box-shadow:
    0 34px 80px rgba(13, 34, 53, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
  isolation: isolate;
}

.service-visual-glow {
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  background: radial-gradient(circle, var(--service-accent-soft), transparent 68%);
  filter: blur(18px);
  z-index: 0;
}

.service-folder,
.service-doc,
.service-floating-note,
.service-mini-card {
  position: absolute;
  display: block;
  border: 1px solid rgba(184, 202, 214, 0.7);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 34px rgba(13, 34, 53, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.service-folder {
  left: 13%;
  right: 14%;
  bottom: 16%;
  height: 38%;
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(238, 245, 247, 0.62)),
    var(--service-accent-soft);
  transform: rotate(-2deg);
  z-index: 1;
}

.service-folder::before {
  content: "";
  position: absolute;
  left: 28px;
  top: -17px;
  width: 118px;
  height: 34px;
  border-radius: 16px 16px 4px 4px;
  border: 1px solid rgba(184, 202, 214, 0.6);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.75);
}

.service-doc {
  border-radius: 24px;
  z-index: 2;
}

.service-doc--back {
  left: 20%;
  top: 15%;
  width: 54%;
  height: 56%;
  transform: rotate(-8deg);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.74), rgba(232, 241, 246, 0.74));
}

.service-doc--front {
  right: 14%;
  top: 19%;
  width: 56%;
  height: 61%;
  padding: 28px;
  transform: rotate(5deg);
}

.service-doc-label {
  display: inline-flex;
  min-width: 70px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--service-accent-soft);
  color: var(--service-accent);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-doc-line,
.service-doc-check {
  position: absolute;
  display: block;
  border-radius: 999px;
}

.service-doc-line {
  left: 28px;
  right: 28px;
  height: 9px;
  background: rgba(184, 202, 214, 0.58);
}

.service-doc-line--one { top: 92px; }
.service-doc-line--two { top: 124px; right: 54px; }
.service-doc-line--three { top: 156px; right: 82px; }

.service-doc-check {
  left: 28px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--service-accent);
  background: rgba(255, 255, 255, 0.7);
}

.service-doc-check--one { bottom: 62px; }
.service-doc-check--two { bottom: 30px; }

.service-floating-note {
  left: 10%;
  top: 54%;
  width: 132px;
  height: 86px;
  border-radius: 22px;
  transform: rotate(-7deg);
  z-index: 4;
}

.service-floating-note::before,
.service-mini-card::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 24px;
  height: 8px;
  border-radius: 999px;
  background: var(--service-accent-soft);
  box-shadow: 0 20px 0 rgba(184, 202, 214, 0.44), 0 40px 0 rgba(184, 202, 214, 0.28);
}

.service-mini-card {
  right: 9%;
  bottom: 11%;
  width: 146px;
  height: 102px;
  border-radius: 24px;
  z-index: 5;
  transform: rotate(4deg);
}

.service-lens {
  position: absolute;
  right: 18%;
  top: 38%;
  width: 80px;
  height: 80px;
  border: 9px solid rgba(30, 111, 159, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 26px rgba(13, 34, 53, 0.08);
  z-index: 6;
  opacity: 0;
}

.service-lens::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -20px;
  width: 42px;
  height: 10px;
  border-radius: 999px;
  background: rgba(30, 111, 159, 0.22);
  transform: rotate(42deg);
}

.service-visual-tabs {
  position: absolute;
  left: 18%;
  top: 16%;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}

.service-visual-tabs span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 30px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--service-accent);
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(13, 34, 53, 0.07);
}

.service-dossier-visual--consulting .service-lens {
  opacity: 1;
}

.service-dossier-visual--sales .service-floating-note::after {
  content: "Period";
  position: absolute;
  right: 14px;
  bottom: 14px;
  color: var(--service-accent);
  font-size: 0.72rem;
  font-weight: 900;
}

.service-dossier-visual--formation .service-mini-card::after {
  content: "Filed";
  position: absolute;
  right: 16px;
  bottom: 14px;
  color: var(--service-accent);
  font-size: 0.72rem;
  font-weight: 900;
}

.service-context-strip {
  margin-top: -18px;
  padding-bottom: 44px;
}

.service-context-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-context-strip__inner span {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 22px;
  border: 1px solid rgba(184, 202, 214, 0.62);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-strong);
  font-weight: 800;
  text-align: center;
  box-shadow: 0 12px 28px rgba(13, 34, 53, 0.055);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: 22px;
}

.service-panel {
  position: relative;
  padding: clamp(26px, 3.4vw, 40px);
  border-radius: 28px;
  border: 1px solid rgba(184, 202, 214, 0.66);
  background:
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.86), transparent 24%),
    linear-gradient(154deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 247, 0.62));
  box-shadow: 0 18px 42px rgba(13, 34, 53, 0.065), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.service-panel--wide {
  grid-row: span 2;
}

.service-panel h2 {
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
  margin-bottom: 22px;
}

.service-check-grid,
.service-clean-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-check-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-check-grid li,
.service-clean-list li {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 14px 16px 14px 42px;
  border-radius: 18px;
  border: 1px solid rgba(221, 232, 238, 0.86);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-main);
  font-weight: 650;
}

.service-check-grid li::before,
.service-clean-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 13px;
  height: 13px;
  border-radius: 5px;
  border: 2px solid var(--service-accent);
  background: rgba(255, 255, 255, 0.7);
}

.service-process-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-process-list li {
  min-height: 190px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(184, 202, 214, 0.68);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 30px rgba(13, 34, 53, 0.055);
}

.service-process-list span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--service-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.service-process-list strong {
  display: block;
  color: var(--text-strong);
  font-size: 1.08rem;
  line-height: 1.35;
}

.service-related-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.service-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-related-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(184, 202, 214, 0.66);
  background: linear-gradient(154deg, rgba(255, 255, 255, 0.9), rgba(238, 245, 247, 0.62));
  box-shadow: 0 14px 30px rgba(13, 34, 53, 0.055);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-related-card:hover,
.service-related-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(30, 111, 159, 0.38);
  box-shadow: 0 18px 36px rgba(13, 34, 53, 0.075);
}

.service-related-card span {
  color: var(--service-accent);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.service-related-card strong {
  color: var(--text-strong);
  font-size: 1.28rem;
  line-height: 1.25;
}

.service-related-card small {
  color: var(--text-muted);
  font-weight: 800;
}

.service-faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.54fr) minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.service-final-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border-radius: 30px;
  border: 1px solid rgba(184, 202, 214, 0.68);
  background:
    radial-gradient(circle at 86% 20%, var(--service-accent-soft), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 247, 0.66));
  box-shadow: 0 18px 44px rgba(13, 34, 53, 0.075);
}

.service-final-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.75rem);
}

.service-final-cta p {
  max-width: 680px;
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.service-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.article-page {
  --article-accent: #1e6f9f;
  --article-accent-soft: rgba(30, 111, 159, 0.12);
}

.article-page .container {
  width: min(var(--container), calc(100vw - 40px));
}

.article-shell {
  padding: clamp(54px, 7vw, 96px) 0 0;
}

.article-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 34px;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.article-breadcrumbs a {
  color: var(--accent-primary);
}

.article-breadcrumbs span:not(:last-child)::after,
.article-breadcrumbs a::after {
  content: "/";
  margin-left: 8px;
  color: rgba(92, 107, 122, 0.5);
}

.article-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
  padding-bottom: clamp(42px, 6vw, 76px);
}

.article-hero__copy h1 {
  max-width: 16ch;
  font-size: clamp(2.75rem, 5.2vw, 5.25rem);
  background: linear-gradient(108deg, #071927 0%, #12344a 70%, var(--article-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

html[lang="ru"] .article-hero__copy h1 {
  max-width: 18ch;
  font-size: clamp(2.45rem, 4.8vw, 4.8rem);
}

.article-hero__copy .lead {
  max-width: 760px;
  margin-top: 22px;
}

.article-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.article-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(184, 202, 214, 0.72);
  background: rgba(255, 255, 255, 0.76);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.article-visual-card {
  position: relative;
  min-height: 360px;
  border-radius: 34px;
  border: 1px solid rgba(184, 202, 214, 0.62);
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.96), transparent 30%),
    radial-gradient(circle at 78% 82%, var(--article-accent-soft), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(238, 245, 247, 0.38));
  box-shadow: 0 26px 66px rgba(13, 34, 53, 0.09), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.article-visual-doc,
.article-visual-note,
.article-visual-board {
  position: absolute;
  display: block;
  border: 1px solid rgba(184, 202, 214, 0.7);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 30px rgba(13, 34, 53, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.article-visual-doc {
  width: 54%;
  height: 64%;
  right: 18%;
  top: 17%;
  border-radius: 24px;
  transform: rotate(4deg);
}

.article-visual-doc::before {
  content: attr(data-label);
  position: absolute;
  left: 22px;
  top: 26px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--article-accent-soft);
  color: var(--article-accent);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-visual-doc::after {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 92px;
  height: 9px;
  border-radius: 999px;
  background: rgba(184, 202, 214, 0.55);
  box-shadow: 0 30px 0 rgba(184, 202, 214, 0.42), 0 60px 0 rgba(184, 202, 214, 0.3);
}

.article-visual-note {
  left: 10%;
  bottom: 18%;
  width: 128px;
  height: 92px;
  border-radius: 22px;
  transform: rotate(-7deg);
}

.article-visual-board {
  right: 11%;
  bottom: 13%;
  width: 136px;
  height: 104px;
  border-radius: 24px;
  transform: rotate(3deg);
}

.article-visual-note::before,
.article-visual-board::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 24px;
  height: 8px;
  border-radius: 999px;
  background: var(--article-accent-soft);
  box-shadow: 0 20px 0 rgba(184, 202, 214, 0.42), 0 40px 0 rgba(184, 202, 214, 0.26);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 0.34fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.article-content {
  min-width: 0;
}

.article-content h2,
.article-content h3 {
  margin-top: 42px;
  margin-bottom: 14px;
}

.article-content h2 {
  font-size: clamp(1.72rem, 2.5vw, 2.35rem);
}

.article-content h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.55rem);
}

.article-content p,
.article-content li {
  color: var(--text-main);
  font-size: 1.03rem;
  line-height: 1.82;
}

.article-content p + p {
  margin-top: 18px;
}

.article-content ul,
.article-content ol {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.article-content a {
  color: var(--accent-primary);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(30, 111, 159, 0.28);
  text-underline-offset: 4px;
}

.article-note-box,
.article-checklist-box,
.article-related-box {
  padding: clamp(24px, 3vw, 34px);
  border-radius: 28px;
  border: 1px solid rgba(184, 202, 214, 0.66);
  background:
    radial-gradient(circle at 90% 10%, rgba(255, 255, 255, 0.88), transparent 28%),
    linear-gradient(154deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 247, 0.62));
  box-shadow: 0 18px 42px rgba(13, 34, 53, 0.065), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.article-note-box {
  margin-bottom: 28px;
}

.article-note-box h2,
.article-checklist-box h2,
.article-related-box h2 {
  margin: 0 0 18px;
  font-size: clamp(1.32rem, 2vw, 1.75rem);
}

.article-note-box ul,
.article-checklist-box ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.article-note-box li,
.article-checklist-box li {
  position: relative;
  padding-left: 28px;
  color: var(--text-main);
  line-height: 1.55;
  font-weight: 650;
}

.article-note-box li::before,
.article-checklist-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 13px;
  border: 2px solid var(--article-accent);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.74);
}

.article-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 26px);
  display: grid;
  gap: 18px;
}

.article-sidebar .article-checklist-box {
  padding: 24px;
}

.article-related-grid {
  display: grid;
  gap: 14px;
}

.article-related-card {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(184, 202, 214, 0.66);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 24px rgba(13, 34, 53, 0.05);
  transition: transform 180ms ease, border-color 180ms ease;
}

.article-related-card:hover,
.article-related-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(30, 111, 159, 0.38);
}

.article-related-card span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 850;
}

.article-related-card strong {
  color: var(--text-strong);
  line-height: 1.28;
}

.article-contact-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 76px;
  padding: clamp(26px, 4vw, 42px);
  border-radius: 30px;
  border: 1px solid rgba(184, 202, 214, 0.68);
  background:
    radial-gradient(circle at 86% 20%, var(--article-accent-soft), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 247, 0.66));
  box-shadow: 0 18px 44px rgba(13, 34, 53, 0.075);
}

.article-contact-strip h2 {
  font-size: clamp(1.65rem, 2.7vw, 2.45rem);
}

.article-contact-strip p {
  max-width: 640px;
  margin-top: 12px;
  color: var(--text-muted);
  line-height: 1.7;
}

.article-contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

@media (max-width: 1180px) {
  .service-hero__grid,
  .service-related-layout,
  .service-faq-layout,
  .article-hero,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .service-hero__visual {
    min-height: 400px;
  }

  .service-hero__visual--image {
    min-height: auto;
  }

  .service-page--registration-hero .service-hero__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.94fr);
    gap: clamp(22px, 4vw, 42px);
  }

  .service-page--registration-hero .service-hero__copy h1 {
    font-size: clamp(2.34rem, 3.65vw, 3.8rem);
  }

  html[lang="ru"] .service-page--registration-hero .service-hero__copy h1 {
    font-size: clamp(2.18rem, 3.3vw, 3.35rem);
  }

  .service-page--registration-hero .service-hero-image-wrap {
    --registration-hero-x: 8px;
    width: min(100%, 740px);
    transform: translateX(8px);
  }

  .service-page--registration-hero .service-hero-image {
    width: min(100%, 740px);
  }

  .article-sidebar {
    position: static;
  }

  .service-process-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .article-page .container {
    width: min(100%, calc(100vw - 72px));
  }

  .article-page .site-header__inner {
    position: relative;
    justify-content: flex-start;
  }

  .article-page .header-actions {
    position: fixed;
    top: 23px;
    right: 20px;
    z-index: 60;
  }

  .article-page .header-actions .lang-switch {
    position: fixed;
    top: 23px;
    right: 70px;
    z-index: 61;
  }

  .article-page .menu-toggle {
    position: fixed;
    top: 23px;
    right: 20px;
    z-index: 61;
  }

  .article-breadcrumbs span {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .article-hero__copy h1,
  html[lang="ru"] .article-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(2.05rem, 9vw, 3rem);
    overflow-wrap: anywhere;
  }

  .article-hero__copy .lead {
    overflow-wrap: anywhere;
  }

  .article-meta-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-meta-row span {
    justify-content: center;
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: center;
  }

  .article-visual-card {
    min-height: 300px;
  }

  .article-contact-strip {
    grid-template-columns: 1fr;
  }

  .article-contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .article-contact-actions .btn {
    width: 100%;
  }

  .service-page .container {
    width: min(100%, calc(100vw - 72px));
  }

  .service-page .site-header__inner {
    position: relative;
    justify-content: flex-start;
  }

  .service-page .header-actions {
    position: fixed;
    top: 23px;
    right: 20px;
    z-index: 60;
  }

  .service-hero {
    min-height: 0;
    padding-top: 44px;
  }

  .service-hero__grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-hero__copy h1,
  html[lang="ru"] .service-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 12vw, 3.3rem);
  }

  .service-hero__copy .btn-group,
  .service-final-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .service-hero__copy .btn,
  .service-final-actions .btn {
    width: 100%;
  }

  .service-hero__visual {
    min-height: 340px;
  }

  .service-hero__visual--image {
    min-height: auto;
  }

  .service-hero-image-wrap {
    width: min(100%, 560px);
    margin-top: 18px;
  }

  .service-page--registration-hero .service-hero__copy,
  .service-page--registration-hero .service-hero__copy .lead,
  .service-page--registration-hero .service-hero__copy .btn-group {
    max-width: 100%;
  }

  .service-page--registration-hero .service-hero__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-page--registration-hero .service-hero__copy h1,
  html[lang="ru"] .service-page--registration-hero .service-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(2.18rem, 8.4vw, 3rem);
    line-height: 1;
  }

  .service-page--registration-hero .service-hero__visual--image {
    justify-self: center;
  }

  .service-page--registration-hero .service-hero-image-wrap {
    --registration-hero-x: 0px;
    width: min(100%, 640px);
    margin-top: 10px;
    transform: none;
  }

  .service-page--registration-hero .service-hero-image-wrap picture::before {
    inset: 0;
    background:
      linear-gradient(180deg, rgba(248, 251, 253, 1) 0 8px, rgba(248, 251, 253, 0.7) 16px, rgba(248, 251, 253, 0.18) 27px, rgba(248, 251, 253, 0) 38px),
      linear-gradient(0deg, rgba(248, 251, 253, 0.86) 0 8px, rgba(248, 251, 253, 0.42) 16px, rgba(248, 251, 253, 0.1) 26px, rgba(248, 251, 253, 0) 38px),
      linear-gradient(90deg, rgba(248, 251, 253, 0.82) 0 8px, rgba(248, 251, 253, 0.34) 16px, rgba(248, 251, 253, 0.06) 27px, rgba(248, 251, 253, 0) 38px, rgba(248, 251, 253, 0) calc(100% - 38px), rgba(248, 251, 253, 0.1) calc(100% - 27px), rgba(248, 251, 253, 0.4) calc(100% - 16px), rgba(248, 251, 253, 0.86) calc(100% - 8px), rgba(248, 251, 253, 1) 100%),
      radial-gradient(ellipse at 98% 3%, rgba(248, 251, 253, 1) 0%, rgba(248, 251, 253, 0.5) 13%, rgba(248, 251, 253, 0.06) 25%, rgba(248, 251, 253, 0) 34%);
  }

  .service-dossier-visual {
    width: min(100%, 360px);
  }

  .service-context-strip {
    margin-top: 0;
  }

  .service-context-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-panel--wide {
    grid-row: auto;
  }

  .service-check-grid,
  .service-related-grid {
    grid-template-columns: 1fr;
  }

  .service-process-list {
    grid-template-columns: 1fr;
  }

  .service-process-list li {
    min-height: 0;
  }

  .service-final-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .article-page .container {
    width: min(100%, calc(100vw - 72px));
  }

  .article-shell {
    padding-top: 36px;
  }

  .article-page .logo-image {
    height: 42px;
    max-width: 132px;
  }

  .article-page .lang-switch a {
    min-width: 42px;
    height: 42px;
  }

  .article-page .menu-toggle {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .article-breadcrumbs {
    margin-bottom: 24px;
    font-size: 0.82rem;
  }

  .article-breadcrumbs span {
    display: none;
  }

  .article-hero__copy,
  .article-hero__copy .lead,
  .article-meta-row {
    max-width: 300px;
  }

  .article-meta-row {
    grid-template-columns: 1fr;
  }

  .article-meta-row span {
    min-height: 34px;
    font-size: 0.78rem;
  }

  .article-content p,
  .article-content li {
    font-size: 1rem;
    line-height: 1.74;
  }

  .article-visual-card {
    min-height: 260px;
    border-radius: 28px;
  }

  .service-page .container {
    width: min(100%, calc(100vw - 72px));
    margin-left: auto;
    margin-right: auto;
  }

  .service-page .site-header__inner {
    position: relative;
    gap: 10px;
    justify-content: flex-start;
  }

  .service-page .logo-image {
    height: 42px;
    max-width: 132px;
  }

  .service-page .header-actions {
    position: fixed;
    top: 23px;
    right: 20px;
    gap: 8px;
    margin-left: auto;
    z-index: 60;
  }

  .service-page .lang-switch a {
    min-width: 42px;
    height: 42px;
  }

  .service-page .menu-toggle {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .service-page .menu-toggle::before,
  .service-page .menu-toggle::after {
    left: 12px;
  }

  .service-hero-image-wrap {
    width: min(108%, 520px);
  }

  .service-hero-image-wrap::after {
    animation-duration: 12s;
  }

  .service-page--registration-hero .service-hero-image-wrap {
    --registration-hero-x: 0px;
    width: min(100%, 540px);
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }

  .service-page--registration-hero .service-hero-image {
    width: 100%;
  }

  .service-page .menu-toggle::before {
    top: 15px;
  }

  .service-page .menu-toggle::after {
    top: 27px;
  }

  .service-page .site-header.is-open .menu-toggle::before,
  .service-page .site-header.is-open .menu-toggle::after {
    top: 20px;
  }

  .service-page .service-hero__copy,
  .service-page .service-hero__copy .lead,
  .service-page .service-hero__copy .btn-group {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .service-page .btn {
    min-width: 0;
  }

  .service-context-strip__inner {
    grid-template-columns: 1fr;
  }

  .service-hero__visual {
    min-height: 300px;
  }

  .service-dossier-visual {
    width: min(100%, 310px);
    border-radius: 32px;
  }

  .service-doc--front {
    padding: 20px;
  }

  .service-doc-line {
    left: 20px;
    right: 20px;
  }

  .service-doc-line--one { top: 78px; }
  .service-doc-line--two { top: 108px; }
  .service-doc-line--three { top: 138px; }

  .service-floating-note {
    width: 108px;
    height: 74px;
  }

  .service-mini-card {
    width: 116px;
    height: 86px;
  }
}

.lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-accent {
  background: var(--gradient-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtle {
  color: var(--text-muted);
}

.pill-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid rgba(184, 202, 214, 0.8);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(13, 34, 53, 0.04);
}

.chip::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-secondary), rgba(47, 167, 160, 0.62));
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-align: center;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 3px solid rgba(47, 167, 160, 0.34);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--gradient-button);
  color: #fff;
  box-shadow: 0 14px 28px rgba(13, 34, 53, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: linear-gradient(135deg, #12324d 0%, #1e6f9f 100%);
  box-shadow: 0 18px 34px rgba(13, 34, 53, 0.26);
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(110deg, transparent 22%, rgba(255, 255, 255, 0.28) 48%, transparent 78%);
  transform: translateX(-130%);
  transition: transform 360ms ease;
}

.btn-primary:hover::after,
.btn-primary:focus-visible::after {
  transform: translateX(130%);
}

.btn-secondary {
  background: #fff;
  color: var(--text-strong);
  border-color: rgba(184, 202, 214, 0.9);
  box-shadow: 0 10px 24px rgba(13, 34, 53, 0.05);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(30, 111, 159, 0.36);
  box-shadow: 0 13px 28px rgba(13, 34, 53, 0.08);
}

.hero .btn-group .btn-secondary {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(152deg, rgba(255, 255, 255, 0.9) 0%, rgba(238, 245, 247, 0.72) 100%),
    rgba(255, 255, 255, 0.88);
  border-color: rgba(184, 202, 214, 0.78);
  box-shadow:
    0 12px 24px rgba(13, 34, 53, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero .btn-group .btn-secondary::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(108deg, transparent 26%, rgba(255, 255, 255, 0.56) 50%, transparent 74%);
  transform: translateX(-128%);
  opacity: 0;
  transition: transform 420ms ease, opacity 420ms ease;
}

.hero .btn-group .btn-secondary:hover,
.hero .btn-group .btn-secondary:focus-visible {
  border-color: rgba(30, 111, 159, 0.42);
  box-shadow:
    0 15px 30px rgba(13, 34, 53, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.hero .btn-group .btn-secondary:hover::after,
.hero .btn-group .btn-secondary:focus-visible::after {
  transform: translateX(128%);
  opacity: 0.52;
}

.btn-link {
  padding: 0;
  min-height: 0;
  border-radius: 0;
  color: var(--accent-primary);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(248, 250, 249, 0.62);
  border-bottom: 1px solid rgba(221, 232, 238, 0.72);
  transition: background-color 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 280ms ease;
  will-change: transform;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.84);
  border-bottom-color: rgba(196, 210, 220, 0.95);
  box-shadow: 0 10px 26px rgba(7, 29, 47, 0.08);
}

@media (max-width: 1024px), (pointer: coarse) {
  .site-header.is-hidden-mobile:not(.is-open) {
    transform: translateY(-100%);
  }
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
  transition: min-height 220ms ease;
}

.site-header.is-scrolled .site-header__inner {
  min-height: 66px;
}

.logo-wrap {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo-image {
  width: auto;
  height: 52px;
  object-fit: contain;
  transition: height 220ms ease;
}

.site-header.is-scrolled .logo-image {
  height: 44px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-subtitle {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--text-main);
  font-weight: 650;
  font-size: 0.96rem;
  position: relative;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, text-shadow 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: 2px;
  width: calc(100% - 20px);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue-700), var(--teal-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--navy-800);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(230, 238, 242, 0.52));
  box-shadow: inset 0 0 0 1px rgba(196, 210, 220, 0.58);
  text-shadow: none;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-header__inner .header-actions .btn-primary {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.8rem;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(13, 34, 53, 0.18);
}

.site-header__inner .header-actions .btn-primary:hover {
  box-shadow: 0 12px 22px rgba(13, 34, 53, 0.22);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 0;
  border-radius: 999px;
  border: 0;
  background: transparent;
}

.lang-switch a {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 210, 220, 0.75);
  background: rgba(255, 255, 255, 0.62);
  color: rgba(13, 34, 53, 0.78);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.lang-switch a:hover {
  color: var(--text-strong);
  border-color: rgba(184, 202, 214, 0.95);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 14px rgba(7, 29, 47, 0.08);
}

.lang-switch a.is-active {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(230, 238, 242, 0.92));
  color: var(--text-strong);
  box-shadow: inset 0 0 0 1px rgba(184, 202, 214, 0.72);
}

.menu-toggle {
  position: relative;
  display: none;
  flex: 0 0 50px;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(184, 202, 214, 0.9);
  background: #fff;
  color: var(--text-strong);
}

.menu-toggle span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 15px;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-strong);
  transition: transform 180ms ease, top 180ms ease;
}

.menu-toggle::before {
  top: 18px;
  box-shadow: 0 6px 0 var(--text-strong);
}

.menu-toggle::after {
  top: 30px;
}

.site-header.is-open .menu-toggle::before {
  top: 24px;
  transform: rotate(45deg);
  box-shadow: none;
}

.site-header.is-open .menu-toggle::after {
  top: 24px;
  transform: rotate(-45deg);
}

.hero {
  min-height: clamp(620px, calc(100svh - var(--header-height)), 760px);
  max-height: 780px;
  padding: clamp(54px, 6vh, 72px) 0 clamp(28px, 3.8vh, 44px);
  display: flex;
  align-items: center;
}

.hero > .container {
  width: min(1280px, calc(100% - clamp(40px, 8vw, 112px)));
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 44px;
  align-items: center;
  width: 100%;
}

.hero-grid--map {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
}

.hero-grid--premium {
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
  align-items: center;
  gap: clamp(16px, 2.5vw, 36px);
}

.hero-copy {
  position: relative;
  padding-top: 0;
  max-width: 590px;
}

.hero-copy::after {
  content: "FS";
  position: absolute;
  right: clamp(-42px, -4vw, -18px);
  bottom: -34px;
  z-index: -1;
  color: rgba(95, 130, 168, 0.085);
  font-size: clamp(5.8rem, 11vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.hero-title-premium {
  color: #0d2235;
  background: linear-gradient(108deg, #071927 0%, #12344a 66%, #1e6f9f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(41px, 4.1vw, 60px);
  line-height: 1.04;
  text-wrap: balance;
  max-width: 14.6ch;
}

html[lang="ru"] .hero-title-premium {
  font-size: clamp(39px, 3.85vw, 56px);
  line-height: 1.05;
  max-width: 16.4ch;
}

.hero-copy h1 {
  margin-bottom: 14px;
}

.hero-copy .lead {
  max-width: 570px;
  margin-bottom: 18px;
  font-size: clamp(1.06rem, 1.12vw, 1.24rem);
  line-height: 1.58;
}

.hero-copy .btn-group {
  margin-top: 22px !important;
}

.hero-reassurance {
  margin-top: 20px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.hero-support-lines {
  margin-top: 12px;
  display: grid;
  gap: 6px;
}

.hero-support-lines p {
  color: #5c6b7a;
  font-size: clamp(0.875rem, 0.95vw, 0.94rem);
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.proof-strip {
  position: relative;
  margin-top: -4px;
  padding: 8px 0 52px;
}

.proof-strip::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: min(980px, calc(100% - 72px));
  height: 158px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse, rgba(184, 202, 214, 0.28), rgba(184, 202, 214, 0.08) 44%, transparent 74%),
    radial-gradient(ellipse at 50% 26%, rgba(47, 167, 160, 0.12), transparent 62%);
  filter: blur(22px);
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.proof-strip__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.proof-card {
  position: relative;
  min-height: 136px;
  padding: 28px 24px 24px;
  border-radius: 30px;
  border: 1px solid rgba(184, 202, 214, 0.58);
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 255, 255, 0.92), transparent 24%),
    linear-gradient(156deg, rgba(255, 255, 255, 0.94) 0%, rgba(240, 247, 249, 0.72) 48%, rgba(233, 243, 246, 0.5) 100%),
    rgba(255, 255, 255, 0.88);
  box-shadow:
    0 16px 32px rgba(13, 34, 53, 0.075),
    0 6px 14px rgba(13, 34, 53, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 18px 24px rgba(255, 255, 255, 0.42),
    inset 0 -10px 22px rgba(184, 202, 214, 0.14);
  backdrop-filter: blur(10px) saturate(1.03);
  -webkit-backdrop-filter: blur(10px) saturate(1.03);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  overflow: hidden;
}

.proof-card::before {
  content: "";
  position: absolute;
  pointer-events: none;
}

.proof-card::before {
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.58);
}

.proof-card::after {
  content: "01";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(95, 130, 168, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(238, 246, 251, 0.46));
  color: rgba(47, 95, 145, 0.72);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.proof-card:nth-child(1) {
  background:
    radial-gradient(circle at 86% 10%, rgba(218, 242, 255, 0.62), transparent 26%),
    linear-gradient(156deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 248, 252, 0.72) 48%, rgba(228, 243, 249, 0.52) 100%);
}

.proof-card:nth-child(2) {
  background:
    radial-gradient(circle at 86% 10%, rgba(204, 224, 244, 0.64), transparent 26%),
    linear-gradient(156deg, rgba(255, 255, 255, 0.95) 0%, rgba(238, 245, 250, 0.72) 50%, rgba(223, 235, 244, 0.54) 100%);
}

.proof-card:nth-child(2)::after {
  content: "02";
}

.proof-card:nth-child(3) {
  background:
    radial-gradient(circle at 86% 10%, rgba(241, 244, 248, 0.9), transparent 26%),
    linear-gradient(156deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 247, 249, 0.74) 48%, rgba(232, 236, 241, 0.58) 100%);
}

.proof-card:nth-child(3)::after {
  content: "03";
}

.proof-card:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 111, 159, 0.32);
  box-shadow:
    0 18px 34px rgba(13, 34, 53, 0.095),
    0 8px 18px rgba(13, 34, 53, 0.045),
    0 0 0 1px rgba(30, 111, 159, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.proof-value {
  font-size: clamp(1.9rem, 2.45vw, 2.18rem);
  line-height: 1.08;
  letter-spacing: -0.038em;
  color: var(--text-strong);
  font-weight: 800;
}

.proof-value::after {
  content: "";
  display: block;
  width: 58px;
  height: 2px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(30, 111, 159, 0.78), rgba(47, 167, 160, 0.42));
}

.proof-copy {
  margin-top: 10px;
  max-width: 32ch;
  color: var(--text-muted);
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.38;
  font-weight: 540;
}

.proto-ready .proof-strip[data-proof-strip] .proof-card {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 460ms ease, transform 460ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.proto-ready .proof-strip[data-proof-strip].is-visible .proof-card {
  opacity: 1;
  transform: translateY(0);
}

.proto-ready .proof-strip[data-proof-strip].is-visible .proof-card:nth-child(1) {
  transition-delay: 120ms;
}

.proto-ready .proof-strip[data-proof-strip].is-visible .proof-card:nth-child(2) {
  transition-delay: 270ms;
}

.proto-ready .proof-strip[data-proof-strip].is-visible .proof-card:nth-child(3) {
  transition-delay: 420ms;
}

.hero-dashboard {
  position: relative;
  display: grid;
  gap: 16px;
}

.hero-visual-shell {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: clamp(560px, 58svh, 670px);
  max-height: 700px;
  justify-self: end;
  align-self: center;
  margin-left: 0;
  overflow: visible;
  background: transparent;
  isolation: isolate;
  perspective: 1500px;
}

.fs-hero-installation {
  --mx: 50%;
  --my: 38%;
  --shift-x: 0px;
  --shift-y: 0px;
  position: absolute;
  inset: 0;
  overflow: visible;
  isolation: isolate;
  border-radius: 42px;
  transform-style: preserve-3d;
  will-change: transform;
}

.fs-hero-stage {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.fs-stage-aura {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(34px);
  opacity: 0.7;
  animation: fsAuraDrift 18s ease-in-out infinite;
}

.fs-stage-aura--left {
  width: 340px;
  height: 380px;
  left: -120px;
  top: -70px;
  background: radial-gradient(circle, rgba(47, 167, 160, 0.22), rgba(47, 167, 160, 0.05) 52%, transparent 76%);
}

.fs-stage-aura--right {
  width: 360px;
  height: 420px;
  right: -134px;
  top: 48px;
  background: radial-gradient(circle, rgba(30, 111, 159, 0.24), rgba(30, 111, 159, 0.06) 53%, transparent 78%);
  animation-delay: -7s;
}

.fs-stage-aura--base {
  width: 560px;
  height: 300px;
  left: 50%;
  bottom: -140px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(184, 202, 214, 0.42), rgba(184, 202, 214, 0.12) 48%, transparent 76%);
  animation-delay: -4s;
}

.fs-hero-platform {
  position: absolute;
  left: 2%;
  right: 2%;
  bottom: 34px;
  height: 188px;
  z-index: 1;
  pointer-events: none;
}

.fs-platform-layer {
  position: absolute;
  display: block;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 50%;
}

.fs-platform-layer--top {
  bottom: 58px;
  width: min(94%, 620px);
  height: 124px;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.34) 44%, rgba(238, 245, 247, 0.09) 66%, transparent 82%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(221, 232, 238, 0.14));
  border: 1px solid rgba(184, 202, 214, 0.46);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.88),
    inset 0 -18px 30px rgba(184, 202, 214, 0.2),
    0 22px 36px rgba(13, 34, 53, 0.08);
}

.fs-platform-layer--mid {
  bottom: 36px;
  width: min(84%, 560px);
  height: 90px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(184, 202, 214, 0.14));
  border: 1px solid rgba(184, 202, 214, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76), 0 16px 26px rgba(13, 34, 53, 0.08);
}

.fs-platform-layer--shadow {
  bottom: 12px;
  width: min(88%, 580px);
  height: 44px;
  background: radial-gradient(ellipse, rgba(13, 34, 53, 0.19), transparent 72%);
  filter: blur(9px);
}

.fs-central-panel {
  position: absolute;
  left: 50%;
  top: 46%;
  z-index: 4;
  width: min(342px, calc(100vw - 62px));
  min-height: 322px;
  padding: 34px 28px 26px;
  border-radius: 42px;
  transform: translate(-50%, -50%) translate3d(calc(var(--shift-x) * -0.36), calc(var(--shift-y) * -0.36), 0);
  text-align: center;
  color: var(--text-main);
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.97), transparent 34%),
    radial-gradient(circle at 86% 90%, rgba(184, 202, 214, 0.21), transparent 42%),
    linear-gradient(156deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.46) 43%, rgba(238, 245, 247, 0.22) 100%);
  border: 1px solid rgba(184, 202, 214, 0.55);
  box-shadow:
    0 42px 90px rgba(13, 34, 53, 0.19),
    0 16px 34px rgba(13, 34, 53, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset -1px -1px 0 rgba(184, 202, 214, 0.35);
  backdrop-filter: blur(28px) saturate(1.08);
  -webkit-backdrop-filter: blur(28px) saturate(1.08);
  animation: fsCentralBreath 12s ease-in-out infinite;
}

.fs-central-panel::before,
.fs-central-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.fs-central-panel::before {
  inset: -1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.64);
  opacity: 0.78;
}

.fs-central-panel::after {
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(114deg, transparent 24%, rgba(255, 255, 255, 0.58) 42%, rgba(238, 245, 247, 0.16) 54%, transparent 70%);
  transform: translateX(-126%);
  opacity: 0.34;
  animation: fsPanelSweep 16s ease-in-out infinite;
}

.fs-central-mark-wrap {
  width: 90px;
  height: 90px;
  margin: 0 auto 18px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.4) 46%, rgba(221, 232, 238, 0.2) 100%),
    rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(184, 202, 214, 0.55);
  box-shadow: 0 14px 24px rgba(13, 34, 53, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.fs-central-mark {
  width: 62px;
  height: 62px;
  object-fit: contain;
}

.fs-central-title {
  margin: 0;
  font-size: clamp(29px, 3.1vw, 35px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  color: var(--text-strong);
}

.fs-central-value {
  margin: 10px auto 0;
  max-width: 19ch;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.fs-service-panels {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.fs-service-panel {
  position: absolute;
  width: 198px;
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 18px;
  border-radius: 29px;
  text-align: center;
  color: var(--text-main);
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.92), transparent 34%),
    radial-gradient(circle at 86% 92%, rgba(184, 202, 214, 0.2), transparent 36%),
    linear-gradient(156deg, rgba(255, 255, 255, 0.66), rgba(255, 255, 255, 0.34) 46%, rgba(238, 245, 247, 0.18) 100%);
  border: 1px solid rgba(184, 202, 214, 0.54);
  box-shadow:
    0 22px 44px rgba(13, 34, 53, 0.12),
    0 10px 20px rgba(13, 34, 53, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset -1px -1px 0 rgba(184, 202, 214, 0.24);
  backdrop-filter: blur(22px) saturate(1.04);
  -webkit-backdrop-filter: blur(22px) saturate(1.04);
  text-decoration: none;
  transform: translate3d(calc(var(--shift-x) * 0.54), calc(var(--shift-y) * 0.54), 0);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease, color 220ms ease;
}

.fs-service-panel span {
  display: block;
  max-width: 15ch;
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 760;
  color: inherit;
  text-wrap: balance;
}

.fs-service-panel::before,
.fs-service-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.fs-service-panel::before {
  border: 1px solid rgba(255, 255, 255, 0.62);
  opacity: 0.68;
}

.fs-service-panel::after {
  background: linear-gradient(112deg, transparent 28%, rgba(255, 255, 255, 0.6) 48%, rgba(238, 245, 247, 0.17) 58%, transparent 74%);
  transform: translateX(-128%);
  opacity: 0;
}

.fs-service-panel:hover,
.fs-service-panel:focus-visible {
  transform: translate3d(calc(var(--shift-x) * 0.54), calc(var(--shift-y) * 0.54 - 4px), 0);
  border-color: rgba(30, 111, 159, 0.58);
  color: var(--text-strong);
  box-shadow:
    0 28px 52px rgba(13, 34, 53, 0.16),
    0 12px 24px rgba(13, 34, 53, 0.08),
    0 0 0 1px rgba(30, 111, 159, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.fs-service-panel:hover::after,
.fs-service-panel:focus-visible::after {
  transform: translateX(126%);
  opacity: 0.56;
  transition: transform 460ms ease, opacity 460ms ease;
}

.fs-service-panel:focus-visible {
  outline: none;
}

.fs-service-panel--setup { left: 14px; top: 74px; }
.fs-service-panel--books { left: 0; top: 236px; }
.fs-service-panel--sales-tax { left: 34px; bottom: 118px; }
.fs-service-panel--payroll { right: 34px; bottom: 118px; }
.fs-service-panel--tax-return { right: 0; top: 236px; }
.fs-service-panel--consulting { right: 14px; top: 74px; }

@keyframes fsAuraDrift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(20px, 14px, 0) scale(1.04);
  }
}

@keyframes fsCentralBreath {
  0%,
  100% {
    box-shadow:
      0 42px 90px rgba(13, 34, 53, 0.19),
      0 16px 34px rgba(13, 34, 53, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.96),
      inset -1px -1px 0 rgba(184, 202, 214, 0.35);
  }
  50% {
    box-shadow:
      0 48px 98px rgba(13, 34, 53, 0.22),
      0 20px 42px rgba(13, 34, 53, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.98),
      inset -1px -1px 0 rgba(184, 202, 214, 0.4);
  }
}

@keyframes fsPanelSweep {
  0%,
  100% {
    transform: translateX(-126%);
    opacity: 0;
  }
  46% {
    opacity: 0.42;
  }
  62% {
    transform: translateX(126%);
    opacity: 0.2;
  }
}

@media (max-width: 1080px) {
  .hero-visual-shell {
    max-width: 620px;
    height: 620px;
  }

  .fs-service-panel {
    width: 182px;
    min-height: 114px;
    padding: 18px 14px;
  }

  .fs-service-panel span {
    font-size: 15px;
  }

  .fs-central-panel {
    width: min(310px, calc(100vw - 60px));
    min-height: 300px;
    padding: 30px 22px 24px;
  }

  .fs-central-mark-wrap {
    width: 82px;
    height: 82px;
  }

  .fs-central-mark {
    width: 56px;
    height: 56px;
  }

  .fs-service-panel--setup { left: 8px; top: 84px; }
  .fs-service-panel--books { left: 0; top: 240px; }
  .fs-service-panel--sales-tax { left: 22px; bottom: 110px; }
  .fs-service-panel--payroll { right: 22px; bottom: 110px; }
  .fs-service-panel--tax-return { right: 0; top: 240px; }
  .fs-service-panel--consulting { right: 8px; top: 84px; }
}

@media (max-width: 880px) {
  .hero-visual-shell {
    max-width: 100%;
    height: auto;
  }

  .fs-hero-installation {
    position: relative;
    inset: auto;
    min-height: auto;
    padding: 28px 12px 18px;
    border-radius: 32px;
  }

  .fs-hero-stage {
    inset: 0;
  }

  .fs-hero-platform {
    left: 0;
    right: 0;
    top: 258px;
    bottom: auto;
    height: 118px;
  }

  .fs-platform-layer--top {
    width: min(96%, 560px);
    height: 84px;
    bottom: 38px;
  }

  .fs-platform-layer--mid {
    width: min(86%, 520px);
    height: 64px;
    bottom: 24px;
  }

  .fs-platform-layer--shadow {
    width: min(84%, 500px);
    height: 34px;
    bottom: 0;
  }

  .fs-central-panel {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: min(100%, 372px);
    min-height: 284px;
    margin: 0 auto 18px;
  }

  .fs-service-panels {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .fs-service-panel {
    position: relative;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100%;
    min-height: 104px;
    padding: 16px 14px;
    transform: none;
  }

  .fs-service-panel:hover,
  .fs-service-panel:focus-visible {
    transform: translateY(-3px);
  }

  .fs-service-panel span {
    max-width: none;
  }
}

@media (max-width: 560px) {
  .fs-hero-installation {
    padding: 22px 8px 14px;
    border-radius: 24px;
  }

  .fs-central-panel {
    min-height: 258px;
    padding: 24px 18px 20px;
    border-radius: 30px;
  }

  .fs-central-mark-wrap {
    width: 74px;
    height: 74px;
    margin-bottom: 14px;
    border-radius: 20px;
  }

  .fs-central-mark {
    width: 50px;
    height: 50px;
  }

  .fs-central-title {
    font-size: clamp(27px, 8.6vw, 32px);
  }

  .fs-central-value {
    font-size: 13px;
  }

  .fs-hero-platform {
    display: none;
  }

  .fs-service-panels {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .fs-service-panel {
    min-height: 90px;
    border-radius: 21px;
  }

  .fs-service-panel span {
    font-size: 15px;
  }
}

.dashboard-card,
.surface-card,
.metric-card,
.list-card,
.service-card,
.path-card,
.resource-card,
.review-card,
.faq-item,
.cta-shell,
.security-card,
.footer-shell {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(221, 232, 238, 0.95);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.dashboard-card {
  padding: 24px;
}

.dashboard-stack {
  display: grid;
  grid-template-columns: 1.3fr 0.95fr;
  gap: 16px;
}

.dashboard-kicker,
.card-kicker,
.step-index,
.review-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--accent-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dashboard-title {
  margin: 18px 0 6px;
  font-size: 1.45rem;
}

.dashboard-note {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.status-list {
  display: grid;
  gap: 14px;
  margin-top: 20px;
}

.status-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  color: var(--text-main);
}

.status-row strong {
  color: var(--text-strong);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(46, 139, 99, 0.1);
  color: var(--status-success);
  font-size: 0.88rem;
  font-weight: 800;
}

.status-pill--warning {
  background: rgba(183, 121, 31, 0.12);
  color: var(--status-warning);
}

.status-pill--progress {
  background: rgba(30, 111, 159, 0.1);
  color: var(--accent-primary);
}

.status-pill--neutral {
  background: rgba(92, 107, 122, 0.12);
  color: var(--text-muted);
}

.micro-grid {
  display: grid;
  gap: 14px;
}

.micro-card {
  padding: 18px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(238, 245, 247, 0.9), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(221, 232, 238, 0.88);
}

.micro-card h3 {
  font-size: 1.06rem;
  margin-bottom: 12px;
}

.micro-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.micro-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-main);
  font-size: 0.92rem;
}

.microcopy {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.83rem;
}

.trust-strip {
  padding: 24px 0 0;
}

.trust-strip__shell {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.trust-item {
  padding: 18px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(221, 232, 238, 0.96);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 28px rgba(13, 34, 53, 0.04);
}

.trust-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-strong);
  font-size: 0.95rem;
}

.trust-item span {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: start;
}

.bullet-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 14px;
  color: var(--text-main);
}

.bullet-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-primary), rgba(30, 111, 159, 0.5));
}

.surface-card {
  padding: 28px;
}

.about-compact {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(221, 232, 238, 0.95);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

.about-compact__logo {
  width: 240px;
  max-width: min(240px, 100%);
  height: auto;
}

.about-compact__body h2 {
  font-size: clamp(1.6rem, 3vw, 2.45rem);
}

.services-grid,
.paths-grid,
.resources-grid,
.faq-grid,
.footer-grid,
.scope-grid,
.consult-grid {
  display: grid;
  gap: 20px;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.path-card,
.resource-card,
.cta-shell,
.security-card {
  padding: 28px;
}

.service-card ul,
.resource-card ul,
.footer-links,
.path-card ul,
.check-list,
.decision-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.service-card li,
.resource-card li,
.path-card li,
.check-list li,
.decision-list li,
.footer-links li {
  display: flex;
  gap: 12px;
  color: var(--text-main);
}

.service-card li::before,
.resource-card li::before,
.path-card li::before,
.check-list li::before,
.decision-list li::before,
.footer-links li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-top: 9px;
  border-radius: 50%;
  background: rgba(47, 167, 160, 0.95);
}

.service-card p,
.path-card p,
.resource-card p,
.faq-item p,
.footer-note,
.review-card p,
.cta-shell p,
.security-card p {
  color: var(--text-muted);
}

#services {
  --svc-navy: #111c2f;
  --svc-text: #17233a;
  --svc-muted: #65758a;
  --svc-blue: #2f5f91;
  --svc-metal: #5f82a8;
  --svc-ice: #eef6fb;
  --svc-border: rgba(198, 214, 229, 0.82);
  --svc-border-strong: rgba(95, 130, 168, 0.62);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 8%, rgba(95, 130, 168, 0.17), transparent 34%),
    radial-gradient(ellipse at 14% 62%, rgba(238, 246, 251, 0.86), transparent 48%),
    radial-gradient(ellipse at 64% 96%, rgba(198, 214, 229, 0.22), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(238, 246, 251, 0.5) 54%, rgba(255, 255, 255, 0.74));
}

#services::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 130, 168, 0.28), rgba(255, 255, 255, 0.86), transparent);
  pointer-events: none;
}

#services .services-heading {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 780px) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 44px;
}

#services .services-count-pill {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(175, 195, 215, 0.9);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(238, 246, 251, 0.62));
  color: var(--svc-blue);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.94), 0 12px 24px rgba(17, 28, 47, 0.06);
}

#services .services-matrix {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

#services .service-card {
  position: relative;
  min-height: 352px;
  display: flex;
  flex-direction: column;
  padding: 27px;
  border: 1px solid rgba(190, 207, 224, 0.86);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 12%, rgba(95, 130, 168, 0.15), transparent 35%),
    linear-gradient(148deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 251, 0.68)),
    rgba(255, 255, 255, 0.8);
  box-shadow:
    0 20px 42px rgba(17, 28, 47, 0.09),
    0 8px 18px rgba(17, 28, 47, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 16px 0 30px rgba(238, 246, 251, 0.24),
    inset 0 -18px 28px rgba(238, 246, 251, 0.3);
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(1.02);
  -webkit-backdrop-filter: blur(14px) saturate(1.02);
  transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease, background-color 210ms ease;
}

#services .service-card::before,
#services .service-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

#services .service-card::before {
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.62);
}

#services .service-card > * {
  position: relative;
  z-index: 1;
}

#services .service-card::after {
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), rgba(95, 130, 168, 0.28), transparent);
}

#services .service-card:hover,
#services .service-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(95, 130, 168, 0.72);
  background:
    radial-gradient(circle at 86% 12%, rgba(95, 130, 168, 0.18), transparent 35%),
    linear-gradient(148deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 251, 0.74)),
    rgba(255, 255, 255, 0.86);
  box-shadow:
    0 26px 58px rgba(17, 28, 47, 0.14),
    0 0 38px rgba(175, 195, 215, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -18px 28px rgba(238, 246, 251, 0.34);
}

#services .service-card:focus-within {
  outline: 3px solid rgba(95, 130, 168, 0.24);
  outline-offset: 4px;
}

#services .service-card__top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

#services .service-card__meta {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: center;
  justify-self: start;
}

#services .service-card__meta span:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(175, 195, 215, 0.84);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(238, 246, 251, 0.58));
  color: var(--svc-blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

#services .service-card h3,
#services .service-card p,
#services .service-cta {
  position: relative;
  z-index: 1;
}

#services .service-card h3 {
  color: var(--svc-navy);
  font-size: clamp(1.28rem, 1.7vw, 1.72rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

#services .service-card p {
  margin-top: 14px;
  color: var(--svc-muted);
  font-size: 0.98rem;
  line-height: 1.58;
}

#services .service-cta {
  width: fit-content;
  margin-top: auto;
  padding-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #285985;
  font-size: 0.97rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  transition: color 190ms ease;
}

#services .service-cta::after {
  content: "";
  position: absolute;
  left: 0;
  right: 22px;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, rgba(47, 95, 145, 0.74), rgba(95, 130, 168, 0.16), transparent);
  transform: scaleX(0.42);
  transform-origin: left;
  opacity: 0.55;
  transition: transform 200ms ease, opacity 200ms ease;
}

#services .service-cta span {
  transition: transform 200ms ease;
}

#services .service-card:hover .service-cta,
#services .service-cta:focus-visible {
  color: var(--svc-navy);
}

#services .service-card:hover .service-cta span,
#services .service-cta:focus-visible span {
  transform: translateX(4px);
}

#services .service-card:hover .service-cta::after,
#services .service-cta:focus-visible::after {
  transform: scaleX(1);
  opacity: 0.86;
}

#services .service-cta:focus-visible {
  outline: 0;
  outline-offset: 6px;
  border-radius: 999px;
}

#services .service-visual {
  position: relative;
  width: 116px;
  height: 96px;
  justify-self: end;
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.2) 66%, transparent 78%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(198, 214, 229, 0.2));
  transition: transform 210ms ease, filter 210ms ease;
}

#services .service-card:hover .service-visual {
  transform: translate(2px, -2px);
  filter: drop-shadow(0 10px 16px rgba(17, 28, 47, 0.08));
}

#services .service-visual span {
  position: absolute;
  display: block;
  border: 1px solid rgba(166, 187, 210, 0.88);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 14px 24px rgba(17, 28, 47, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -8px 16px rgba(238, 246, 251, 0.34);
}

#services .service-card--setup .service-visual span:nth-child(1),
#services .service-card--tax .service-visual span:nth-child(1) {
  left: 12px;
  bottom: 12px;
  width: 78px;
  height: 52px;
  border-radius: 12px 14px 14px;
  background: linear-gradient(145deg, rgba(238, 246, 251, 0.96), rgba(255, 255, 255, 0.74));
}

#services .service-card--setup .service-visual span:nth-child(1)::before,
#services .service-card--tax .service-visual span:nth-child(1)::before {
  content: "";
  position: absolute;
  left: 8px;
  top: -10px;
  width: 30px;
  height: 16px;
  border-radius: 8px 8px 0 0;
  border: 1px solid rgba(175, 195, 215, 0.78);
  border-bottom: 0;
  background: rgba(238, 246, 251, 0.96);
}

#services .service-card--setup .service-visual span:nth-child(2),
#services .service-card--tax .service-visual span:nth-child(2),
#services .service-card--review .service-visual span:nth-child(1) {
  right: 10px;
  top: 12px;
  width: 58px;
  height: 74px;
  border-radius: 11px;
}

#services .service-card--setup .service-visual span:nth-child(3) {
  right: 14px;
  bottom: 15px;
  width: 52px;
  height: 28px;
  border-radius: 999px;
}

#services .service-card--setup .service-visual span:nth-child(3)::before {
  content: "EIN";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--svc-blue);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

#services .service-card--books .service-visual span:nth-child(1),
#services .service-card--sales .service-visual span:nth-child(1),
#services .service-card--payroll .service-visual span:nth-child(1) {
  left: 12px;
  top: 12px;
  width: 82px;
  height: 70px;
  border-radius: 12px;
}

#services .service-card--books .service-visual span:nth-child(1)::before,
#services .service-card--sales .service-visual span:nth-child(1)::before,
#services .service-card--payroll .service-visual span:nth-child(1)::before,
#services .service-card--tax .service-visual span:nth-child(2)::before,
#services .service-card--review .service-visual span:nth-child(1)::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 18px;
  height: 6px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.16);
  box-shadow: 0 14px 0 rgba(95, 130, 168, 0.18), 0 28px 0 rgba(95, 130, 168, 0.12);
}

#services .service-card--books .service-visual span:nth-child(2) {
  right: 10px;
  top: 26px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

#services .service-card--books .service-visual span:nth-child(2)::before,
#services .service-card--payroll .service-visual span:nth-child(3)::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--svc-blue);
  border-bottom: 2px solid var(--svc-blue);
  transform: rotate(-45deg);
}

#services .service-card--books .service-visual span:nth-child(3),
#services .service-card--sales .service-visual span:nth-child(2) {
  right: 9px;
  bottom: 13px;
  width: 54px;
  height: 26px;
  border-radius: 999px;
}

#services .service-card--sales .service-visual span:nth-child(2)::before {
  content: "STATE";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--svc-blue);
  font-size: 0.56rem;
  font-weight: 900;
}

#services .service-card--sales .service-visual span:nth-child(3),
#services .service-card--payroll .service-visual span:nth-child(2) {
  right: 9px;
  top: 12px;
  width: 54px;
  height: 26px;
  border-radius: 999px;
}

#services .service-card--sales .service-visual span:nth-child(3)::before {
  content: "Period";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--svc-metal);
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

#services .service-card--payroll .service-visual span:nth-child(2)::before {
  content: "Q1 Q2";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--svc-blue);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

#services .service-card--payroll .service-visual span:nth-child(3) {
  right: 12px;
  bottom: 14px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
}

#services .service-card--tax .service-visual span:nth-child(3) {
  right: 14px;
  top: 10px;
  width: 28px;
  height: 40px;
  border-radius: 999px;
  border-width: 3px;
  background: transparent;
  transform: rotate(12deg);
}

#services .service-card--tax .service-visual span:nth-child(3)::before {
  content: "Tax Year";
  position: absolute;
  left: -52px;
  bottom: -38px;
  min-width: 76px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(175, 195, 215, 0.82);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  color: var(--svc-blue);
  font-size: 0.56rem;
  font-weight: 900;
}

#services .service-card--review .service-visual span:nth-child(2) {
  right: 8px;
  top: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

#services .service-card--review .service-visual span:nth-child(2)::after {
  content: "";
  position: absolute;
  right: -14px;
  bottom: -7px;
  width: 25px;
  height: 6px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.36);
  transform: rotate(42deg);
}

#services .service-card--review .service-visual span:nth-child(3) {
  left: 22px;
  right: 16px;
  bottom: 18px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(95, 130, 168, 0.2);
  box-shadow: none;
}

#services .service-card--books .service-visual span:nth-child(3)::before,
#services .service-card--sales .service-visual span:nth-child(1)::after,
#services .service-card--payroll .service-visual span:nth-child(1)::after,
#services .service-card--review .service-visual span:nth-child(3)::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 50%;
  height: 2px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.28);
}

.proto-ready #services .service-card {
  opacity: 0;
  transform: translateY(14px);
}

.proto-ready #services.is-visible .service-card {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 430ms ease,
    transform 430ms ease,
    border-color 210ms ease,
    box-shadow 210ms ease,
    background-color 210ms ease;
}

.proto-ready #services.is-visible .service-card:nth-child(1) { transition-delay: 40ms; }
.proto-ready #services.is-visible .service-card:nth-child(2) { transition-delay: 95ms; }
.proto-ready #services.is-visible .service-card:nth-child(3) { transition-delay: 150ms; }
.proto-ready #services.is-visible .service-card:nth-child(4) { transition-delay: 205ms; }
.proto-ready #services.is-visible .service-card:nth-child(5) { transition-delay: 260ms; }
.proto-ready #services.is-visible .service-card:nth-child(6) { transition-delay: 315ms; }

#services.is-visible .service-card:hover,
#services.is-visible .service-card:focus-within {
  transform: translateY(-3px);
}

/* Premium Ice-Glass Service Matrix polish */
#services {
  --svc-muted: #647287;
  --svc-border: rgba(184, 202, 220, 0.72);
  --svc-border-strong: rgba(95, 130, 168, 0.66);
  background:
    radial-gradient(circle at 82% 6%, rgba(95, 130, 168, 0.16), transparent 33%),
    radial-gradient(ellipse at 18% 70%, rgba(238, 246, 251, 0.78), transparent 48%),
    radial-gradient(ellipse at 54% 92%, rgba(184, 202, 220, 0.25), transparent 45%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(245, 249, 252, 0.76) 48%, rgba(255, 255, 255, 0.82));
}

#services::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 10%;
  bottom: 10%;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(95, 130, 168, 0.14), rgba(238, 246, 251, 0.1) 42%, transparent 72%);
  filter: blur(22px);
  pointer-events: none;
}

#services .container {
  position: relative;
  z-index: 1;
}

#services .services-heading {
  grid-template-columns: minmax(0, 740px) minmax(170px, auto);
  gap: 28px;
  align-items: end;
  margin-bottom: 38px;
}

#services .services-heading .eyebrow {
  color: #345f8a;
  letter-spacing: 0.15em;
}

#services .services-heading h2 {
  max-width: 13.8ch;
  font-size: clamp(2.55rem, 4.2vw, 4.55rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

#services .services-heading .lead {
  max-width: 720px;
  color: #5f6f84;
}

#services .services-count-pill {
  align-self: end;
  margin-bottom: 6px;
  min-height: 36px;
  padding: 8px 13px;
  border-color: rgba(95, 130, 168, 0.38);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(238, 246, 251, 0.52)),
    rgba(255, 255, 255, 0.58);
  color: #345f8a;
  font-size: 0.72rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 20px rgba(17, 28, 47, 0.045);
}

#services .services-matrix {
  gap: 22px;
}

#services .service-card {
  min-height: 338px;
  padding: 25px;
  border-color: rgba(184, 202, 220, 0.78);
  background:
    radial-gradient(circle at 88% 11%, rgba(95, 130, 168, 0.17), transparent 34%),
    linear-gradient(158deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 251, 0.68) 72%),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 22px 48px rgba(17, 28, 47, 0.095),
    0 8px 20px rgba(47, 95, 145, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 18px 0 34px rgba(238, 246, 251, 0.28),
    inset 0 -20px 30px rgba(198, 214, 229, 0.18);
}

#services .service-card::before {
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.52), transparent 20%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), transparent 34%);
}

#services .service-card::after {
  left: 22px;
  right: 22px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.98), rgba(95, 130, 168, 0.34), transparent);
}

#services .service-card:hover,
#services .service-card:focus-within {
  border-color: rgba(95, 130, 168, 0.76);
  background:
    radial-gradient(circle at 88% 11%, rgba(95, 130, 168, 0.2), transparent 34%),
    linear-gradient(158deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 251, 0.76) 72%),
    rgba(255, 255, 255, 0.9);
  box-shadow:
    0 30px 64px rgba(17, 28, 47, 0.14),
    0 10px 26px rgba(47, 95, 145, 0.06),
    0 0 0 1px rgba(255, 255, 255, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 -20px 30px rgba(198, 214, 229, 0.22);
}

#services .service-card:focus-within {
  outline: 2px solid rgba(47, 95, 145, 0.36);
  outline-offset: 5px;
}

#services .service-card__top {
  grid-template-columns: minmax(0, 1fr) 136px;
  gap: 18px;
  margin-bottom: 10px;
}

#services .service-card__meta span:first-child {
  min-height: 30px;
  padding: 7px 12px;
  border-color: rgba(95, 130, 168, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(238, 246, 251, 0.62)),
    rgba(255, 255, 255, 0.48);
  color: #345f8a;
  font-size: 0.7rem;
  letter-spacing: 0.085em;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(17, 28, 47, 0.045);
}

#services .service-card h3 {
  font-size: clamp(1.24rem, 1.58vw, 1.62rem);
  letter-spacing: -0.028em;
  margin-top: 2px;
}

#services .service-card p {
  margin-top: 12px;
  color: #647287;
}

#services .service-cta {
  padding-top: 22px;
  color: #2f5f91;
}

#services .service-cta::after {
  right: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 95, 145, 0.82), rgba(95, 130, 168, 0.28), transparent);
  transform: scaleX(0.52);
  opacity: 0.62;
}

#services .service-card:hover .service-cta,
#services .service-cta:focus-visible {
  color: #17233a;
}

#services .service-card:hover .service-cta span,
#services .service-cta:focus-visible span {
  transform: translateX(5px);
}

#services .service-card:active {
  transform: translateY(-1px);
  box-shadow:
    0 18px 38px rgba(17, 28, 47, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

#services .service-visual {
  width: 134px;
  height: 111px;
  border-radius: 24px;
  background:
    radial-gradient(circle at 48% 30%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.22) 63%, transparent 78%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.56), rgba(198, 214, 229, 0.25));
}

#services .service-card:hover .service-visual {
  transform: translate(2px, -2px);
  filter: drop-shadow(0 13px 20px rgba(17, 28, 47, 0.12));
}

#services .service-visual::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 14px;
  bottom: 11px;
  height: 16px;
  border-radius: 50%;
  background: rgba(47, 95, 145, 0.1);
  filter: blur(8px);
}

#services .service-visual span {
  border-color: rgba(133, 162, 194, 0.94);
  box-shadow:
    0 16px 28px rgba(17, 28, 47, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -8px 16px rgba(238, 246, 251, 0.38);
}

#services .service-card--setup .service-visual span:nth-child(1),
#services .service-card--tax .service-visual span:nth-child(1) {
  left: 10px;
  bottom: 14px;
  width: 86px;
  height: 56px;
}

#services .service-card--setup .service-visual span:nth-child(2),
#services .service-card--tax .service-visual span:nth-child(2),
#services .service-card--review .service-visual span:nth-child(1) {
  right: 10px;
  top: 10px;
  width: 64px;
  height: 80px;
}

#services .service-card--setup .service-visual span:nth-child(2)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  height: 8px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.2);
  box-shadow: 0 -14px 0 rgba(95, 130, 168, 0.14);
}

#services .service-card--setup .service-visual span:nth-child(3) {
  right: 13px;
  bottom: 16px;
  width: 58px;
  height: 30px;
}

#services .service-card--books .service-visual span:nth-child(1),
#services .service-card--sales .service-visual span:nth-child(1),
#services .service-card--payroll .service-visual span:nth-child(1) {
  left: 10px;
  top: 10px;
  width: 90px;
  height: 76px;
}

#services .service-card--books .service-visual span:nth-child(1)::before,
#services .service-card--sales .service-visual span:nth-child(1)::before,
#services .service-card--payroll .service-visual span:nth-child(1)::before,
#services .service-card--tax .service-visual span:nth-child(2)::before,
#services .service-card--review .service-visual span:nth-child(1)::before {
  left: 13px;
  right: 13px;
  top: 17px;
  background: rgba(47, 95, 145, 0.18);
  box-shadow:
    0 13px 0 rgba(95, 130, 168, 0.18),
    0 26px 0 rgba(95, 130, 168, 0.13),
    0 39px 0 rgba(95, 130, 168, 0.09);
}

#services .service-card--books .service-visual span:nth-child(3)::after {
  content: "REC";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #345f8a;
  font-size: 0.52rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

#services .service-card--sales .service-visual span:nth-child(1) {
  border-radius: 10px 10px 14px 14px;
}

#services .service-card--sales .service-visual span:nth-child(1)::after {
  left: 14px;
  right: 14px;
  top: 54px;
  background: rgba(47, 95, 145, 0.24);
}

#services .service-card--sales .service-visual span:nth-child(3) {
  width: 60px;
}

#services .service-card--payroll .service-visual span:nth-child(2) {
  width: 62px;
}

#services .service-card--payroll .service-visual span:nth-child(3)::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 7px;
  height: 1px;
  background: rgba(47, 95, 145, 0.28);
  box-shadow: 0 6px 0 rgba(95, 130, 168, 0.2), 0 12px 0 rgba(95, 130, 168, 0.14);
}

#services .service-card--tax .service-visual span:nth-child(3) {
  right: 13px;
  top: 9px;
  border-color: rgba(47, 95, 145, 0.38);
}

#services .service-card--tax .service-visual span:nth-child(3)::before {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(151, 176, 203, 0.82);
  color: #345f8a;
}

#services .service-card--review .service-visual span:nth-child(2) {
  right: 9px;
  top: 14px;
  width: 48px;
  height: 48px;
  border-color: rgba(47, 95, 145, 0.28);
}

#services .service-card--review .service-visual span:nth-child(3) {
  left: 20px;
  right: 18px;
  bottom: 17px;
  height: 11px;
  background: rgba(47, 95, 145, 0.22);
  box-shadow:
    0 -15px 0 rgba(95, 130, 168, 0.13),
    0 -30px 0 rgba(95, 130, 168, 0.09);
}

.proto-ready #services .services-heading .eyebrow,
.proto-ready #services .services-heading h2,
.proto-ready #services .services-heading .lead,
.proto-ready #services .services-count-pill {
  opacity: 0;
  transform: translateY(12px);
}

.proto-ready #services.is-visible .services-heading .eyebrow,
.proto-ready #services.is-visible .services-heading h2,
.proto-ready #services.is-visible .services-heading .lead,
.proto-ready #services.is-visible .services-count-pill {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 420ms ease, transform 420ms ease;
}

.proto-ready #services.is-visible .services-heading h2 { transition-delay: 55ms; }
.proto-ready #services.is-visible .services-heading .lead { transition-delay: 110ms; }
.proto-ready #services.is-visible .services-count-pill { transition-delay: 160ms; }

.situation-clarity {
  --sc-navy: #111c2f;
  --sc-navy-soft: rgba(17, 28, 47, 0.12);
  --sc-text: #17233a;
  --sc-muted: #617083;
  --sc-blue: #2f5f91;
  --sc-metal: #5f82a8;
  --sc-ice: #eaf4fb;
  --sc-ice-2: #f3f8fc;
  --sc-border: rgba(175, 195, 215, 0.72);
  --sc-border-strong: rgba(95, 130, 168, 0.72);
  --sc-glass: rgba(255, 255, 255, 0.78);
  --sc-shadow: rgba(17, 28, 47, 0.14);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(95, 130, 168, 0.16), transparent 34%),
    radial-gradient(ellipse at 16% 82%, rgba(175, 195, 215, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(243, 248, 252, 0.78), rgba(255, 255, 255, 0.58) 54%, rgba(234, 244, 251, 0.52));
}

.situation-clarity::before {
  content: "";
  position: absolute;
  inset: 6% -10% auto auto;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(95, 130, 168, 0.18), rgba(234, 244, 251, 0.12) 42%, transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.situation-clarity::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 8%;
  top: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 130, 168, 0.32), rgba(255, 255, 255, 0.78), transparent);
  pointer-events: none;
}

.situation-clarity__heading {
  max-width: 880px;
}

.situation-clarity__layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.88fr) minmax(420px, 1.12fr);
  gap: 24px;
  align-items: stretch;
}

.situation-selector {
  display: grid;
  gap: 12px;
  align-content: start;
}

.situation-card {
  position: relative;
  width: 100%;
  min-height: 104px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--sc-border);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(243, 248, 252, 0.64)),
    var(--sc-glass);
  color: var(--text-main);
  text-align: left;
  box-shadow:
    0 12px 28px rgba(17, 28, 47, 0.055),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px) saturate(1.02);
  -webkit-backdrop-filter: blur(12px) saturate(1.02);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.situation-card::before,
.situation-card::after {
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease, transform 200ms ease;
}

.situation-card::before {
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 3px;
  border-radius: 0 999px 999px 0;
  background: linear-gradient(180deg, rgba(234, 244, 251, 0.1), var(--sc-metal), rgba(234, 244, 251, 0.2));
}

.situation-card::after {
  right: 18px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sc-metal);
  box-shadow: 0 0 0 5px rgba(95, 130, 168, 0.12);
}

.situation-card:hover,
.situation-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(95, 130, 168, 0.48);
  box-shadow:
    0 16px 34px rgba(17, 28, 47, 0.085),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.situation-card.is-active {
  border-color: var(--sc-border-strong);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(234, 244, 251, 0.78)),
    rgba(255, 255, 255, 0.88);
  box-shadow:
    0 18px 36px rgba(17, 28, 47, 0.11),
    0 0 0 1px rgba(95, 130, 168, 0.14),
    0 0 34px rgba(175, 195, 215, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -18px 28px rgba(234, 244, 251, 0.34);
}

.situation-card.is-active::before,
.situation-card.is-active::after {
  opacity: 1;
}

.situation-card__number {
  color: var(--sc-metal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.situation-card.is-active .situation-card__number {
  color: var(--sc-blue);
}

.situation-card__body {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.situation-card__title {
  color: var(--sc-text);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.situation-card.is-active .situation-card__title {
  color: var(--sc-navy);
}

.situation-card__text {
  color: var(--sc-muted);
  font-size: 0.93rem;
  line-height: 1.42;
}

.situation-panel {
  position: relative;
  min-height: 100%;
  border-radius: 30px;
  border: 1px solid rgba(175, 195, 215, 0.82);
  background:
    radial-gradient(circle at 86% 10%, rgba(95, 130, 168, 0.16), transparent 34%),
    radial-gradient(circle at 10% 88%, rgba(234, 244, 251, 0.5), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(243, 248, 252, 0.7));
  box-shadow:
    0 30px 70px rgba(17, 28, 47, 0.14),
    0 0 54px rgba(175, 195, 215, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 18px 0 34px rgba(234, 244, 251, 0.3);
  backdrop-filter: blur(20px) saturate(1.04);
  -webkit-backdrop-filter: blur(20px) saturate(1.04);
  overflow: hidden;
}

.situation-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.68);
  pointer-events: none;
}

.situation-panel::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), rgba(175, 195, 215, 0.42), transparent);
  pointer-events: none;
}

.situation-panel__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
  height: 100%;
  padding: clamp(28px, 4vw, 42px);
  transition: opacity 230ms ease, transform 230ms ease;
}

.situation-panel.is-updating .situation-panel__content {
  opacity: 0;
  transform: translateY(10px);
}

.situation-panel__topline,
.situation-panel__label {
  color: var(--sc-metal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.situation-panel__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.52fr);
  gap: 28px;
  align-items: center;
}

.situation-panel h3 {
  max-width: 13ch;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  color: var(--sc-navy);
}

.situation-panel p {
  margin-top: 16px;
  color: var(--sc-muted);
  font-size: 1.03rem;
  line-height: 1.68;
}

.situation-panel__review,
.situation-panel__service {
  display: grid;
  gap: 14px;
}

.situation-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.situation-checks span,
.situation-service-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 13px;
  border-radius: 999px;
  border: 1px solid rgba(175, 195, 215, 0.72);
  background: rgba(255, 255, 255, 0.7);
  color: var(--sc-text);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.situation-checks span::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--sc-metal), var(--sc-blue));
  box-shadow: 0 0 0 4px rgba(95, 130, 168, 0.12);
}

.situation-service-pill {
  width: fit-content;
  border-color: rgba(95, 130, 168, 0.48);
  background: linear-gradient(135deg, rgba(234, 244, 251, 0.92), rgba(255, 255, 255, 0.76));
  color: var(--sc-blue);
}

.situation-service-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--sc-metal);
  box-shadow: 0 0 0 4px rgba(95, 130, 168, 0.12);
}

.situation-visual {
  position: relative;
  min-height: 252px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 48% 40%, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.2) 58%, transparent 74%),
    radial-gradient(circle at 78% 18%, rgba(95, 130, 168, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(197, 212, 226, 0.22));
  overflow: hidden;
  transition: transform 220ms ease, opacity 220ms ease;
}

.situation-visual::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.situation-panel:hover .situation-visual {
  transform: translateY(-2px);
}

.situation-doc,
.situation-cardlet,
.situation-folder,
.situation-mini-line,
.situation-tag,
.situation-tab,
.situation-lens,
.situation-note {
  position: absolute;
  display: block;
  border: 1px solid rgba(175, 195, 215, 0.82);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 16px 30px rgba(17, 28, 47, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -10px 20px rgba(234, 244, 251, 0.38);
}

.situation-doc {
  width: 124px;
  height: 158px;
  left: 44px;
  top: 34px;
  border-radius: 18px;
}

.situation-doc::before,
.situation-doc::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  height: 7px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.17);
}

.situation-doc::before {
  top: 30px;
}

.situation-doc::after {
  top: 50px;
  right: 36px;
}

.situation-doc--back {
  left: 24px;
  top: 58px;
  opacity: 0.62;
  transform: rotate(-5deg);
}

.situation-doc--front {
  transform: rotate(2deg);
}

.situation-cardlet {
  right: 28px;
  top: 58px;
  min-width: 96px;
  min-height: 60px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--sc-blue);
  font-weight: 900;
  letter-spacing: 0.09em;
}

.situation-folder {
  right: 38px;
  bottom: 34px;
  width: 148px;
  height: 84px;
  border-radius: 16px 20px 20px;
  background: linear-gradient(145deg, rgba(234, 244, 251, 0.96), rgba(255, 255, 255, 0.72));
}

.situation-folder::before {
  content: "";
  position: absolute;
  left: 14px;
  top: -14px;
  width: 54px;
  height: 24px;
  border-radius: 12px 12px 0 0;
  background: rgba(234, 244, 251, 0.96);
  border: 1px solid rgba(175, 195, 215, 0.74);
  border-bottom: 0;
}

.situation-mini-line {
  height: 8px;
  border-radius: 999px;
  background: rgba(95, 130, 168, 0.2);
  border: 0;
  box-shadow: none;
}

.situation-visual--books .situation-cardlet,
.situation-visual--sales .situation-cardlet,
.situation-visual--payroll .situation-cardlet,
.situation-visual--tax .situation-cardlet,
.situation-visual--review .situation-cardlet {
  font-size: 0;
}

.situation-visual--books .situation-cardlet::before,
.situation-visual--sales .situation-cardlet::before,
.situation-visual--payroll .situation-cardlet::before,
.situation-visual--tax .situation-cardlet::before,
.situation-visual--review .situation-cardlet::before {
  content: attr(data-label);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.situation-visual--books .situation-doc::before,
.situation-visual--books .situation-doc::after {
  left: 14px;
  right: 14px;
  background: repeating-linear-gradient(90deg, rgba(47, 95, 145, 0.24) 0 18px, rgba(95, 130, 168, 0.2) 18px 34px);
}

.situation-visual--sales .situation-folder {
  width: 112px;
  border-radius: 20px;
}

.situation-visual--sales .situation-folder::before {
  content: "WA";
  top: 18px;
  left: 24px;
  width: auto;
  height: auto;
  border: 0;
  background: transparent;
  color: var(--sc-blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.situation-visual--payroll .situation-cardlet {
  min-width: 96px;
}

.situation-visual--payroll .situation-folder::after,
.situation-visual--tax .situation-folder::after {
  content: "";
  position: absolute;
  inset: 18px 18px auto;
  height: 8px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.16);
  box-shadow: 0 18px 0 rgba(95, 130, 168, 0.18);
}

.situation-visual--review .situation-lens {
  right: 50px;
  top: 56px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.situation-visual--review .situation-lens::after {
  content: "";
  position: absolute;
  right: -24px;
  bottom: -13px;
  width: 42px;
  height: 9px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.38);
  transform: rotate(42deg);
}

.situation-visual--review .situation-note {
  right: 34px;
  bottom: 30px;
  width: 126px;
  height: 62px;
  border-radius: 14px;
  background: rgba(234, 244, 251, 0.92);
}

.situation-stamp {
  right: 42px;
  bottom: 118px;
  min-width: 62px;
  min-height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--sc-metal);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-4deg);
}

.situation-row {
  left: 62px;
  right: 78px;
  height: 8px;
  border-radius: 999px;
  background: rgba(95, 130, 168, 0.18);
  border: 0;
  box-shadow: none;
}

.situation-row--one {
  top: 88px;
}

.situation-row--two {
  top: 112px;
  right: 98px;
}

.situation-row--three {
  top: 136px;
  right: 118px;
}

.situation-checkmark {
  right: 74px;
  top: 104px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(234, 244, 251, 0.96);
}

.situation-checkmark::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--sc-blue);
  border-bottom: 2px solid var(--sc-blue);
  transform: rotate(-45deg);
}

.situation-period {
  right: 34px;
  top: 128px;
  min-width: 78px;
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--sc-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.situation-tabs {
  left: 40px;
  right: 38px;
  top: 42px;
  height: 30px;
  display: flex;
  gap: 6px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.situation-tabs span {
  flex: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(175, 195, 215, 0.74);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--sc-muted);
  font-size: 0.66rem;
  font-weight: 900;
}

.situation-tabs span:nth-child(2) {
  color: var(--sc-blue);
  border-color: rgba(95, 130, 168, 0.56);
  background: rgba(234, 244, 251, 0.92);
}

.situation-clip {
  right: 74px;
  top: 36px;
  width: 32px;
  height: 44px;
  border-radius: 999px;
  background: transparent;
  border: 3px solid rgba(95, 130, 168, 0.5);
  box-shadow: none;
  transform: rotate(10deg);
}

.situation-highlight {
  left: 70px;
  right: 66px;
  bottom: 74px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(95, 130, 168, 0.18);
  box-shadow: none;
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
}

.steps-list {
  display: grid;
  gap: 18px;
}

.step-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(221, 232, 238, 0.95);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-card);
}

.step-index {
  width: 44px;
  height: 44px;
  justify-content: center;
  padding: 0;
  border-radius: 14px;
}

.step-copy h3 {
  margin-bottom: 8px;
}

.reviews-shell {
  display: grid;
  gap: 22px;
}

.reviews-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.review-controls {
  display: inline-flex;
  gap: 10px;
}

.review-controls button {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid rgba(184, 202, 214, 0.9);
  background: #fff;
  color: var(--text-strong);
}

.reviews-track-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.reviews-track {
  display: flex;
  gap: 18px;
  align-items: stretch;
  transition: transform 260ms ease;
  will-change: transform;
  width: max-content;
  min-width: 100%;
}

.review-card {
  flex: 0 0 calc((100% - 36px) / 3);
  padding: 28px;
}

.review-card blockquote {
  margin: 18px 0 22px;
  color: var(--text-strong);
  font-size: 1.05rem;
  line-height: 1.7;
}

.review-author {
  color: var(--text-muted);
  font-weight: 700;
}

.review-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(184, 202, 214, 0.8);
}

.review-dot.is-active {
  background: var(--accent-primary);
}

/* Premium Client Trust Marquee */
.client-trust-section {
  --trust-navy: #111c2f;
  --trust-text: #17233a;
  --trust-muted: #607186;
  --trust-blue: #2f5f91;
  --trust-metal: #5f82a8;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 10%, rgba(95, 130, 168, 0.15), transparent 34%),
    radial-gradient(ellipse at 15% 76%, rgba(238, 246, 251, 0.8), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 252, 0.76) 54%, rgba(255, 255, 255, 0.86));
}

.client-trust-section::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 130, 168, 0.24), rgba(255, 255, 255, 0.9), transparent);
  pointer-events: none;
}

.client-trust-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
}

.client-trust-heading {
  max-width: 820px;
  margin-bottom: 0;
}

.client-trust-heading .eyebrow {
  color: var(--trust-blue);
  letter-spacing: 0.15em;
}

.client-trust-heading h2 {
  max-width: 15ch;
  color: var(--trust-navy);
  font-size: clamp(2.42rem, 4vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -0.048em;
}

.client-trust-heading .lead {
  max-width: 690px;
  color: var(--trust-muted);
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  line-height: 1.62;
}

.trust-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.trust-marquee__track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: trustMarquee 78s linear infinite;
  will-change: transform;
}

.trust-marquee:hover .trust-marquee__track,
.trust-marquee:focus-within .trust-marquee__track,
.trust-marquee:active .trust-marquee__track {
  animation-play-state: paused;
}

.trust-marquee__group {
  display: flex;
  gap: 20px;
  align-items: stretch;
}

.trust-card {
  position: relative;
  flex: 0 0 clamp(360px, 29vw, 420px);
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid rgba(184, 202, 220, 0.78);
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 12%, rgba(95, 130, 168, 0.13), transparent 34%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(238, 246, 251, 0.62)),
    rgba(255, 255, 255, 0.78);
  box-shadow:
    0 22px 50px rgba(17, 28, 47, 0.1),
    0 8px 18px rgba(47, 95, 145, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.94),
    inset 0 -18px 28px rgba(198, 214, 229, 0.16);
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(1.02);
  -webkit-backdrop-filter: blur(14px) saturate(1.02);
  transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease, background-color 210ms ease;
}

.trust-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.58);
  pointer-events: none;
}

.trust-card--base {
  background:
    radial-gradient(circle at 88% 12%, rgba(95, 130, 168, 0.13), transparent 34%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(238, 246, 251, 0.62)),
    rgba(255, 255, 255, 0.78);
}

.trust-card--steel {
  border-color: rgba(126, 155, 184, 0.84);
  background:
    radial-gradient(circle at 88% 12%, rgba(47, 95, 145, 0.16), transparent 34%),
    linear-gradient(150deg, rgba(251, 254, 255, 0.9), rgba(226, 239, 248, 0.68)),
    rgba(246, 251, 254, 0.82);
}

.trust-card--champagne,
.trust-card--platinum {
  border-color: rgba(190, 196, 202, 0.8);
  background:
    radial-gradient(circle at 88% 12%, rgba(177, 166, 145, 0.12), transparent 34%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(241, 242, 238, 0.62)),
    rgba(255, 255, 255, 0.78);
}

.trust-card--sage {
  border-color: rgba(168, 188, 190, 0.78);
  background:
    radial-gradient(circle at 88% 12%, rgba(119, 146, 146, 0.11), transparent 34%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.9), rgba(237, 244, 243, 0.62)),
    rgba(255, 255, 255, 0.78);
}

.trust-card--steel .trust-quote {
  color: rgba(95, 130, 168, 0.32);
}

.trust-card--champagne .trust-quote,
.trust-card--platinum .trust-quote {
  color: rgba(177, 166, 145, 0.26);
}

.trust-card--sage .trust-quote {
  color: rgba(119, 146, 146, 0.24);
}

.trust-card:hover,
.trust-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(95, 130, 168, 0.68);
  box-shadow:
    0 30px 64px rgba(17, 28, 47, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.trust-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 38px;
  padding-right: 48px;
  flex-wrap: wrap;
}

.trust-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
  padding: 7px 11px;
  border: 1px solid rgba(95, 130, 168, 0.36);
  border-radius: 999px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(238, 246, 251, 0.58)),
    rgba(255, 255, 255, 0.48);
  color: #345f8a;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
  transition: border-color 210ms ease, color 210ms ease;
}

.trust-tag[data-glyph]::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  opacity: 0.86;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  filter: drop-shadow(0 2px 4px rgba(47, 95, 145, 0.08));
}

.trust-tag[data-glyph="ledger"]::before,
.trust-tag[data-glyph="books"]::before {
  border: 1px solid currentColor;
  border-radius: 3px;
  background:
    linear-gradient(currentColor, currentColor) 3px 4px / 8px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 3px 8px / 6px 1px no-repeat;
}

.trust-tag[data-glyph="receipt"]::before {
  border: 1px solid currentColor;
  border-radius: 2px 2px 4px 4px;
  background:
    linear-gradient(currentColor, currentColor) 3px 4px / 8px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 3px 8px / 6px 1px no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 84%, 82% 100%, 65% 84%, 48% 100%, 31% 84%, 15% 100%, 0 84%);
}

.trust-tag[data-glyph="payroll"]::before {
  border: 1px solid currentColor;
  border-radius: 3px;
  background:
    linear-gradient(currentColor, currentColor) 2px 3px / 3px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 6px 3px / 3px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 10px 3px / 2px 2px no-repeat,
    linear-gradient(currentColor, currentColor) 3px 9px / 8px 1px no-repeat;
}

.trust-tag[data-glyph="setup"]::before,
.trust-tag[data-glyph="tax"]::before {
  border: 1px solid currentColor;
  border-radius: 3px;
  background:
    linear-gradient(currentColor, currentColor) 4px 4px / 6px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 4px 8px / 7px 1px no-repeat;
}

.trust-tag[data-glyph="clarity"]::before {
  border: 2px solid currentColor;
  border-radius: 50%;
  background: linear-gradient(currentColor, currentColor) 10px 10px / 5px 2px no-repeat;
  transform: rotate(-12deg);
}

.trust-tag[data-glyph="chat"]::before {
  border: 1px solid currentColor;
  border-radius: 5px;
  background: linear-gradient(currentColor, currentColor) 4px 6px / 6px 1px no-repeat;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 66% 78%, 52% 100%, 48% 78%, 0 78%);
}

.trust-tag--ops {
  border-color: rgba(95, 130, 168, 0.36);
  color: #345f8a;
}

.trust-tag--filing {
  border-color: rgba(47, 95, 145, 0.42);
  color: #2d5d8d;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(225, 239, 249, 0.62)),
    rgba(255, 255, 255, 0.5);
}

.trust-tag--advisory {
  border-color: rgba(178, 173, 160, 0.46);
  color: #4f6e8c;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(243, 241, 235, 0.66)),
    rgba(255, 255, 255, 0.5);
}

.trust-tag--communication {
  border-color: rgba(138, 163, 162, 0.42);
  color: #4d6d78;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(237, 245, 244, 0.62)),
    rgba(255, 255, 255, 0.5);
}

.trust-tag--proof {
  border-color: rgba(47, 95, 145, 0.48);
  color: #244c76;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(218, 234, 246, 0.68)),
    rgba(255, 255, 255, 0.5);
}

.trust-card:hover .trust-tag {
  border-color: rgba(47, 95, 145, 0.5);
  color: #254d77;
}

.trust-quote {
  position: absolute;
  z-index: 0;
  right: 18px;
  top: 0;
  color: rgba(151, 176, 203, 0.28);
  font-family: Georgia, serif;
  font-size: 5.8rem;
  line-height: 0.78;
  transition: color 210ms ease;
}

.trust-card:hover .trust-quote {
  color: rgba(95, 130, 168, 0.36);
}

.trust-card blockquote {
  position: relative;
  z-index: 1;
  margin: 26px 0 28px;
  color: var(--trust-text);
  font-size: clamp(1rem, 1.05vw, 1.08rem);
  line-height: 1.66;
  font-weight: 560;
}

.trust-author {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  color: #53657b;
  font-size: 0.95rem;
  font-weight: 800;
}

.trust-author span {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 28%, rgba(255, 255, 255, 0.9), rgba(95, 130, 168, 0.34) 48%, rgba(47, 95, 145, 0.56));
  box-shadow:
    0 0 0 5px rgba(95, 130, 168, 0.1),
    0 7px 12px rgba(17, 28, 47, 0.12);
  transition: box-shadow 210ms ease, filter 210ms ease;
}

.trust-card:hover .trust-author span {
  filter: saturate(1.08);
  box-shadow:
    0 0 0 6px rgba(95, 130, 168, 0.14),
    0 8px 14px rgba(17, 28, 47, 0.14);
}

.trust-author .trust-marker--ring {
  background: rgba(255, 255, 255, 0.48);
  border: 2px solid rgba(95, 130, 168, 0.58);
  box-shadow:
    inset 0 0 0 3px rgba(255, 255, 255, 0.8),
    0 0 0 5px rgba(177, 166, 145, 0.1),
    0 7px 12px rgba(17, 28, 47, 0.1);
}

.trust-author .trust-marker--capsule {
  width: 24px;
  height: 9px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(95, 130, 168, 0.72), rgba(138, 163, 162, 0.48)),
    rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 0 0 5px rgba(138, 163, 162, 0.1),
    0 7px 12px rgba(17, 28, 47, 0.1);
}

.trust-card--proof {
  background:
    radial-gradient(circle at 86% 12%, rgba(47, 95, 145, 0.16), transparent 34%),
    linear-gradient(150deg, rgba(246, 250, 253, 0.92), rgba(226, 238, 247, 0.72)),
    rgba(238, 246, 251, 0.86);
}

.trust-card--metallic {
  border-color: rgba(95, 130, 168, 0.72);
  background:
    radial-gradient(circle at 86% 12%, rgba(47, 95, 145, 0.2), transparent 34%),
    linear-gradient(150deg, rgba(247, 251, 253, 0.96), rgba(218, 234, 246, 0.82)),
    rgba(238, 246, 251, 0.9);
  box-shadow:
    0 28px 64px rgba(17, 28, 47, 0.14),
    0 10px 24px rgba(47, 95, 145, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 18px 0 34px rgba(255, 255, 255, 0.38);
}

.trust-card--metallic::after {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  bottom: 28px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(47, 95, 145, 0.08), rgba(47, 95, 145, 0.42), rgba(95, 130, 168, 0.1));
}

.trust-card--proof h3 {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  color: var(--trust-navy);
  font-size: clamp(1.32rem, 1.7vw, 1.62rem);
  line-height: 1.16;
  letter-spacing: -0.026em;
}

.trust-metrics {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.trust-metrics p {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  margin: 0;
  padding: 14px 0;
  border-top: 1px solid rgba(151, 176, 203, 0.34);
}

.trust-metrics p:last-child {
  border-bottom: 1px solid rgba(151, 176, 203, 0.34);
}

.trust-metrics strong {
  color: var(--trust-blue);
  font-size: clamp(1.48rem, 2vw, 1.86rem);
  line-height: 1;
  letter-spacing: -0.035em;
}

.trust-metrics span {
  color: #56687e;
  font-size: 0.92rem;
  line-height: 1.32;
  font-weight: 720;
}

.trust-proof-copy {
  position: relative;
  z-index: 1;
  margin: auto 0 0;
  padding-top: 18px;
  color: #53657b;
  font-size: 0.94rem;
  line-height: 1.48;
}

/* Premium Editorial Resource Library */
.resource-library-section {
  --resource-navy: #111c2f;
  --resource-text: #17233a;
  --resource-muted: #607186;
  --resource-blue: #2f5f91;
  --resource-metal: #5f82a8;
  --resource-border: rgba(184, 202, 220, 0.78);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 18%, rgba(238, 246, 251, 0.92), transparent 36%),
    radial-gradient(circle at 88% 78%, rgba(95, 130, 168, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 253, 0.78) 54%, rgba(255, 255, 255, 0.9));
}

.resource-library-section::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 130, 168, 0.22), rgba(255, 255, 255, 0.9), transparent);
  pointer-events: none;
}

.resource-library-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
}

.resource-library-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.58fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
}

.resource-library-heading .eyebrow {
  color: var(--resource-blue);
  letter-spacing: 0.15em;
}

.resource-library-heading h2 {
  max-width: 16ch;
  color: var(--resource-navy);
  font-size: clamp(2.28rem, 3.8vw, 3.48rem);
  line-height: 1.04;
  letter-spacing: -0.046em;
}

.resource-intro-note {
  position: relative;
  align-self: end;
  padding: 22px 0 0 22px;
}

.resource-intro-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: min(180px, 44%);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 95, 145, 0.5), rgba(151, 176, 203, 0.18), transparent);
}

.resource-intro-note span {
  display: block;
  margin-bottom: 10px;
  color: var(--resource-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.105em;
  text-transform: uppercase;
}

.resource-library-heading p,
.resource-intro-note p {
  margin: 0 0 8px;
  color: var(--resource-muted);
  font-size: clamp(1rem, 1.16vw, 1.12rem);
  line-height: 1.62;
}

.resource-library-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.resource-featured-card,
.resource-compact-card,
.resource-library-cta {
  text-decoration: none;
}

.resource-featured-card,
.resource-compact-card {
  position: relative;
  color: inherit;
  border: 1px solid var(--resource-border);
  overflow: hidden;
  backdrop-filter: blur(14px) saturate(1.02);
  -webkit-backdrop-filter: blur(14px) saturate(1.02);
  transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease;
}

.resource-featured-card {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.6vw, 44px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 86% 16%, rgba(95, 130, 168, 0.17), transparent 33%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(232, 242, 249, 0.72)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 28px 70px rgba(17, 28, 47, 0.13),
    0 10px 22px rgba(47, 95, 145, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -24px 38px rgba(198, 214, 229, 0.16);
}

.resource-featured-card::before {
  content: "";
  position: absolute;
  left: 30px;
  right: 30px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 95, 145, 0.12), rgba(47, 95, 145, 0.46), rgba(151, 176, 203, 0.16));
}

.resource-featured-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  border: 1px solid rgba(95, 130, 168, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--resource-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.resource-meta {
  position: relative;
  z-index: 2;
  display: block;
  color: #5d7086;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.018em;
}

.resource-featured-card h3,
.resource-compact-card h3 {
  position: relative;
  z-index: 2;
  color: var(--resource-navy);
}

.resource-featured-card h3 {
  display: -webkit-box;
  max-width: 13ch;
  margin: auto 0 18px;
  overflow: hidden;
  font-size: clamp(2rem, 3.15vw, 3rem);
  line-height: 1.03;
  letter-spacing: -0.045em;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.resource-featured-card p {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 0 28px;
  color: var(--resource-muted);
  font-size: clamp(1.02rem, 1.18vw, 1.14rem);
  line-height: 1.58;
}

.resource-card-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--resource-blue);
  font-size: 0.94rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.resource-card-cta span {
  transition: transform 180ms ease;
}

.resource-featured-card:hover,
.resource-featured-card:focus-visible,
.resource-compact-card:hover,
.resource-compact-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(95, 130, 168, 0.68);
  box-shadow:
    0 30px 70px rgba(17, 28, 47, 0.14),
    0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  outline: none;
}

.resource-featured-card:hover .resource-card-cta span,
.resource-featured-card:focus-visible .resource-card-cta span,
.resource-compact-card:hover .resource-card-cta span,
.resource-compact-card:focus-visible .resource-card-cta span,
.resource-library-cta:hover span,
.resource-library-cta:focus-visible span {
  transform: translateX(4px);
}

.resource-doc-visual {
  position: absolute;
  right: clamp(26px, 3vw, 42px);
  top: clamp(34px, 4vw, 54px);
  width: 196px;
  height: 164px;
  transition: transform 210ms ease;
}

.resource-doc-visual span {
  position: absolute;
  border: 1px solid rgba(151, 176, 203, 0.78);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(238, 246, 251, 0.78));
  box-shadow: 0 14px 26px rgba(17, 28, 47, 0.1);
}

.resource-doc-visual span:nth-child(1) {
  left: 0;
  bottom: 0;
  width: 136px;
  height: 106px;
  border-radius: 18px;
}

.resource-doc-visual span:nth-child(1)::after {
  content: "";
  position: absolute;
  left: 12px;
  top: -16px;
  width: 48px;
  height: 22px;
  border: 1px solid rgba(151, 176, 203, 0.72);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: rgba(238, 246, 251, 0.92);
}

.resource-doc-visual span:nth-child(1)::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 24px;
  height: 6px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.18);
  box-shadow: 0 17px 0 rgba(95, 130, 168, 0.16), 0 34px 0 rgba(95, 130, 168, 0.11);
}

.resource-doc-visual span:nth-child(2) {
  right: 0;
  top: 0;
  width: 90px;
  height: 118px;
  border-radius: 15px;
}

.resource-doc-visual span:nth-child(2)::before {
  content: "Tax Year";
  position: absolute;
  left: 11px;
  right: 11px;
  top: 16px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(238, 246, 251, 0.88);
  color: var(--resource-blue);
  font-size: 0.55rem;
  font-weight: 900;
}

.resource-doc-visual span:nth-child(3) {
  right: 8px;
  bottom: 14px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.56);
}

.resource-doc-visual span:nth-child(3)::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 18px;
  width: 21px;
  height: 12px;
  border-left: 3px solid var(--resource-blue);
  border-bottom: 3px solid var(--resource-blue);
  transform: rotate(-45deg);
}

.resource-doc-visual span:nth-child(4) {
  right: 38px;
  top: 20px;
  width: 28px;
  height: 54px;
  border: 3px solid rgba(47, 95, 145, 0.3);
  border-left: 0;
  border-bottom: 0;
  border-radius: 0 999px 999px 0;
  background: transparent;
  box-shadow: none;
  transform: rotate(8deg);
}

.resource-featured-card:hover .resource-doc-visual,
.resource-featured-card:focus-visible .resource-doc-visual {
  transform: translateY(-2px);
}

.resource-reading-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.resource-compact-card {
  min-height: 240px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 24px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 12%, rgba(95, 130, 168, 0.11), transparent 34%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.88), rgba(240, 247, 251, 0.62)),
    rgba(255, 255, 255, 0.78);
  box-shadow:
    0 20px 44px rgba(17, 28, 47, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.resource-compact-card h3 {
  display: -webkit-box;
  max-width: calc(100% - 54px);
  margin: 0;
  overflow: hidden;
  font-size: clamp(1.08rem, 1.25vw, 1.24rem);
  line-height: 1.2;
  letter-spacing: -0.022em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.resource-compact-card p {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0;
  overflow: hidden;
  color: var(--resource-muted);
  font-size: 0.94rem;
  line-height: 1.5;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.resource-mini-doc {
  position: absolute;
  right: 22px;
  top: 58px;
  width: 46px;
  height: 56px;
  border: 1px solid rgba(151, 176, 203, 0.72);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(238, 246, 251, 0.78));
  box-shadow: 0 10px 20px rgba(17, 28, 47, 0.08);
  transition: transform 210ms ease, opacity 210ms ease;
}

.resource-compact-card--bookkeeping .resource-mini-doc {
  width: 54px;
  height: 42px;
  border-radius: 9px 9px 13px 13px;
}

.resource-compact-card--bookkeeping .resource-mini-doc::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  height: 5px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.16);
}

.resource-compact-card--ledger .resource-mini-doc {
  width: 48px;
  height: 58px;
  transform: rotate(-2deg);
}

.resource-compact-card--ledger .resource-mini-doc::after {
  content: "";
  position: absolute;
  right: -8px;
  bottom: 8px;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(95, 130, 168, 0.58);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
}

.resource-compact-card--ledger .resource-mini-doc::after {
  background:
    linear-gradient(135deg, transparent 45%, rgba(47, 95, 145, 0.62) 46% 54%, transparent 55%),
    rgba(255, 255, 255, 0.7);
}

.resource-compact-card--quickbooks .resource-mini-doc {
  border-radius: 10px;
}

.resource-compact-card--quickbooks .resource-mini-doc {
  background:
    linear-gradient(90deg, rgba(238, 246, 251, 0.95) 0 18%, rgba(255, 255, 255, 0.92) 18%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(238, 246, 251, 0.78));
}

.resource-compact-card--documents .resource-mini-doc {
  width: 50px;
  height: 48px;
  border-radius: 10px;
  transform: rotate(2deg);
}

.resource-mini-doc::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 14px;
  height: 4px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.18);
  box-shadow: 0 11px 0 rgba(95, 130, 168, 0.16), 0 22px 0 rgba(95, 130, 168, 0.1);
}

.resource-compact-card--quickbooks .resource-mini-doc::after,
.resource-compact-card--documents .resource-mini-doc::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: 9px;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(95, 130, 168, 0.58);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
}

.resource-compact-card--documents .resource-mini-doc::after {
  border-radius: 6px;
}

.resource-compact-card:hover .resource-mini-doc,
.resource-compact-card:focus-visible .resource-mini-doc {
  transform: translateY(-2px);
}

.resource-compact-card--ledger:hover .resource-mini-doc,
.resource-compact-card--ledger:focus-visible .resource-mini-doc,
.resource-compact-card--documents:hover .resource-mini-doc,
.resource-compact-card--documents:focus-visible .resource-mini-doc {
  transform: translateY(-2px) rotate(0deg);
}

.resource-cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px 18px 24px;
  border: 1px solid rgba(184, 202, 220, 0.72);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(238, 246, 251, 0.5)),
    rgba(255, 255, 255, 0.58);
  box-shadow:
    0 16px 34px rgba(17, 28, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.resource-cta-strip p {
  margin: 0;
  color: var(--resource-muted);
  font-size: 0.98rem;
  font-weight: 720;
  line-height: 1.42;
}

.resource-library-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(95, 130, 168, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--resource-blue);
  font-size: 0.94rem;
  font-weight: 900;
  box-shadow:
    0 14px 28px rgba(17, 28, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease;
}

.resource-library-cta span {
  transition: transform 180ms ease;
}

.resource-library-cta:hover,
.resource-library-cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(47, 95, 145, 0.56);
  box-shadow:
    0 18px 36px rgba(17, 28, 47, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
  outline: none;
}

@keyframes trustMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 10px)); }
}

.faq-shell {
  display: grid;
  gap: 14px;
}

.faq-item {
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  color: var(--text-strong);
  text-align: left;
  font-weight: 750;
}

.faq-trigger span:last-child {
  color: var(--accent-primary);
}

.faq-panel {
  padding: 0 24px 22px;
  color: var(--text-muted);
}

.faq-panel[hidden] {
  display: none;
}

/* Premium FAQ Answer Desk */
.answer-desk-section {
  --answer-navy: #111c2f;
  --answer-text: #17233a;
  --answer-muted: #607186;
  --answer-blue: #2f5f91;
  --answer-metal: #5f82a8;
  --answer-border: rgba(184, 202, 220, 0.76);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 16%, rgba(238, 246, 251, 0.86), transparent 36%),
    radial-gradient(circle at 86% 70%, rgba(95, 130, 168, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 250, 253, 0.76) 55%, rgba(255, 255, 255, 0.92));
}

.answer-desk-section::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 130, 168, 0.22), rgba(255, 255, 255, 0.9), transparent);
}

.answer-desk-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 34px;
}

.answer-desk-heading {
  max-width: 850px;
}

.answer-desk-heading .eyebrow {
  color: var(--answer-blue);
  letter-spacing: 0.15em;
}

.answer-desk-heading h2 {
  max-width: 16ch;
  color: var(--answer-navy);
  font-size: clamp(2.34rem, 3.8vw, 3.48rem);
  line-height: 1.04;
  letter-spacing: -0.046em;
}

.answer-desk-heading p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--answer-muted);
  font-size: clamp(1rem, 1.16vw, 1.12rem);
  line-height: 1.62;
}

.answer-desk-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(360px, 0.86fr);
  gap: 22px;
  align-items: stretch;
}

.answer-question-list {
  display: grid;
  gap: 10px;
  align-self: stretch;
}

.answer-question-item {
  position: relative;
}

.answer-question-button {
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 64px;
  padding: 14px 16px;
  border: 1px solid rgba(184, 202, 220, 0.58);
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(238, 246, 251, 0.28)),
    rgba(255, 255, 255, 0.34);
  color: var(--answer-text);
  text-align: left;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: background-color 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.answer-question-button::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 999px;
  background: transparent;
  transition: background-color 190ms ease;
}

.answer-question-button:hover,
.answer-question-button:focus-visible {
  border-color: rgba(47, 95, 145, 0.44);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(236, 246, 252, 0.5)),
    rgba(255, 255, 255, 0.58);
  box-shadow:
    0 10px 22px rgba(17, 28, 47, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  outline: none;
}

.answer-question-button:hover .answer-marker,
.answer-question-button:focus-visible .answer-marker {
  border-color: rgba(47, 95, 145, 0.58);
  box-shadow: 0 0 0 5px rgba(47, 95, 145, 0.1);
}

.answer-marker {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(95, 130, 168, 0.56);
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 28%, rgba(255, 255, 255, 0.95), rgba(95, 130, 168, 0.18) 54%, rgba(47, 95, 145, 0.34));
  box-shadow: 0 0 0 5px rgba(95, 130, 168, 0.08);
}

.answer-question-text {
  color: var(--answer-text);
  font-size: 1rem;
  font-weight: 820;
  line-height: 1.32;
}

.answer-question-state {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--answer-blue);
  font-size: 0.74rem;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.answer-question-button:hover .answer-question-state,
.answer-question-button:focus-visible .answer-question-state {
  transform: translateX(3px);
}

.answer-question-item.is-active .answer-question-button {
  border-color: rgba(47, 95, 145, 0.68);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(226, 239, 248, 0.68)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    0 16px 34px rgba(17, 28, 47, 0.1),
    0 0 0 1px rgba(47, 95, 145, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.answer-question-item.is-active .answer-question-button::before {
  width: 4px;
  top: 11px;
  bottom: 11px;
  background: linear-gradient(180deg, rgba(47, 95, 145, 0.22), rgba(47, 95, 145, 0.72), rgba(95, 130, 168, 0.2));
}

.answer-question-item.is-active .answer-marker {
  border-color: rgba(47, 95, 145, 0.68);
  background: rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 0 0 4px rgba(47, 95, 145, 0.28),
    0 0 0 6px rgba(47, 95, 145, 0.1);
}

.answer-question-item.is-active .answer-question-text {
  color: var(--answer-navy);
}

.answer-question-item.is-active .answer-question-state {
  border: 1px solid rgba(47, 95, 145, 0.24);
  background: rgba(238, 246, 251, 0.94);
  color: #244c76;
  transform: none;
}

.answer-mobile-panel[hidden] {
  display: none;
}

.answer-question-list .answer-mobile-panel {
  display: none;
}

.answer-desk-panel {
  position: sticky;
  top: calc(var(--header-height) + 24px);
  align-self: stretch;
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  padding: clamp(28px, 3vw, 38px);
  border: 1px solid rgba(184, 202, 220, 0.84);
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 14%, rgba(95, 130, 168, 0.16), transparent 35%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(232, 242, 249, 0.72)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 28px 70px rgba(17, 28, 47, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -22px 36px rgba(198, 214, 229, 0.14);
  backdrop-filter: blur(14px) saturate(1.02);
  -webkit-backdrop-filter: blur(14px) saturate(1.02);
  overflow: hidden;
  transition: opacity 220ms ease, transform 220ms ease;
}

.answer-desk-panel::before,
.answer-mobile-panel .answer-panel-content::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 95, 145, 0.12), rgba(47, 95, 145, 0.46), rgba(151, 176, 203, 0.16));
}

.answer-desk-panel.is-switching {
  opacity: 0;
  transform: translateY(8px);
}

.answer-panel-content {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
}

.answer-panel-label {
  width: fit-content;
  padding: 8px 12px;
  border: 1px solid rgba(95, 130, 168, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--answer-blue);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.095em;
  text-transform: uppercase;
}

.answer-panel-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.answer-panel-head h3 {
  margin: 0;
  color: var(--answer-navy);
  font-size: clamp(1.46rem, 2vw, 1.92rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.answer-panel-content > p:not(.answer-related) {
  margin: 0;
  color: var(--answer-muted);
  font-size: 0.99rem;
  line-height: 1.58;
}

.answer-panel-icon {
  position: relative;
  width: 58px;
  height: 54px;
  border: 1px solid rgba(151, 176, 203, 0.72);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 251, 0.72));
  box-shadow: 0 12px 24px rgba(17, 28, 47, 0.08);
}

.answer-panel-icon::before,
.answer-panel-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.28);
}

.answer-panel-icon::before {
  left: 13px;
  right: 13px;
  top: 18px;
  height: 5px;
  box-shadow: 0 12px 0 rgba(95, 130, 168, 0.18);
}

.answer-panel-icon--language {
  border-radius: 18px 18px 18px 6px;
}

.answer-panel-icon--language::after {
  right: -8px;
  bottom: 7px;
  width: 28px;
  height: 22px;
  border: 1px solid rgba(151, 176, 203, 0.72);
  background: rgba(255, 255, 255, 0.7);
}

.answer-panel-icon--combined::after {
  right: -8px;
  top: 15px;
  width: 28px;
  height: 24px;
  border: 1px solid rgba(151, 176, 203, 0.72);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
}

.answer-panel-icon--sales::after {
  right: 9px;
  bottom: 8px;
  width: 30px;
  height: 15px;
  border-radius: 999px;
  content: "STATE";
  display: grid;
  place-items: center;
  color: var(--answer-blue);
  font-size: 0.42rem;
  font-weight: 900;
  background: rgba(238, 246, 251, 0.92);
}

.answer-panel-icon--payroll::after {
  left: 9px;
  top: 8px;
  width: 40px;
  height: 14px;
  content: "Q1 Q2";
  display: grid;
  place-items: center;
  color: var(--answer-blue);
  font-size: 0.45rem;
  font-weight: 900;
  background: rgba(238, 246, 251, 0.92);
}

.answer-panel-icon--tax::after,
.answer-panel-icon--timing::after {
  right: 8px;
  top: 8px;
  width: 32px;
  height: 18px;
  border: 1px solid rgba(151, 176, 203, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
}

.answer-panel-icon--unsure::after {
  content: "?";
  right: 11px;
  top: 8px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  color: var(--answer-blue);
  font-weight: 900;
  background: rgba(238, 246, 251, 0.92);
}

.answer-chip-row,
.answer-note-block div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.answer-chip-row span,
.answer-note-block div span,
.answer-related {
  border: 1px solid rgba(95, 130, 168, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #53657b;
  font-size: 0.82rem;
  font-weight: 820;
  line-height: 1.2;
}

.answer-chip-row span {
  padding: 8px 10px;
}

.answer-note-block {
  display: grid;
  gap: 10px;
  margin-top: auto;
  padding: 16px;
  border: 1px solid rgba(184, 202, 220, 0.58);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.42);
}

.answer-note-block > span {
  color: var(--answer-blue);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.answer-note-block div span {
  padding: 7px 9px;
  border-radius: 12px;
}

.answer-related {
  width: fit-content;
  margin: 0;
  padding: 9px 12px;
  border-radius: 999px;
}

.answer-related span {
  color: var(--answer-blue);
  font-weight: 900;
}

.final-cta-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 10%, rgba(95, 130, 168, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(238, 246, 251, 0.58));
}

.final-cta-shell {
  position: relative;
}

.final-cta-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  grid-template-areas:
    "copy side"
    "micro side";
  column-gap: clamp(26px, 4vw, 52px);
  row-gap: 0;
  align-items: center;
  overflow: hidden;
  padding: clamp(30px, 4.5vw, 52px);
  border: 1px solid rgba(184, 202, 220, 0.82);
  border-radius: 42px;
  background:
    radial-gradient(circle at 92% 16%, rgba(47, 95, 145, 0.12), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(232, 242, 249, 0.76)),
    rgba(255, 255, 255, 0.84);
  box-shadow:
    0 30px 82px rgba(17, 28, 47, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -24px 48px rgba(198, 214, 229, 0.14);
  backdrop-filter: blur(14px) saturate(1.03);
  -webkit-backdrop-filter: blur(14px) saturate(1.03);
}

.final-cta-card::before {
  content: "";
  position: absolute;
  left: 34px;
  right: 34px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 95, 145, 0.12), rgba(47, 95, 145, 0.5), rgba(151, 176, 203, 0.16));
}

.final-cta-watermark {
  position: absolute;
  right: clamp(12px, 4vw, 56px);
  bottom: -38px;
  color: rgba(95, 130, 168, 0.1);
  font-size: clamp(7rem, 18vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.final-cta-copy,
.final-cta-side {
  position: relative;
  z-index: 1;
}

.final-cta-copy {
  grid-area: copy;
}

.final-cta-side {
  grid-area: side;
}

.final-cta-copy h2 {
  max-width: 17ch;
  margin-top: 12px;
  color: #111c2f;
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

html[lang="ru"] .final-cta-copy h2 {
  max-width: 16ch;
}

.final-cta-copy > p:not(.final-cta-microcopy) {
  max-width: 640px;
  margin-top: 22px;
  color: #5e7086;
  font-size: clamp(1rem, 1.22vw, 1.15rem);
  line-height: 1.62;
}

.final-cta-microcopy {
  position: relative;
  z-index: 1;
  grid-area: micro;
  align-self: start;
  margin-top: 20px;
  color: #2f5f91;
  font-size: 0.94rem;
  font-weight: 850;
}

.final-cta-side {
  display: grid;
  gap: 18px;
}

.final-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.final-contact-option {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(184, 202, 220, 0.68);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(238, 246, 251, 0.46)),
    rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
  color: #17233a;
  text-decoration: none;
  transition: transform 190ms ease, border-color 190ms ease, background-color 190ms ease, box-shadow 190ms ease;
}

.final-contact-option:hover,
.final-contact-option:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(47, 95, 145, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(238, 246, 251, 0.58)),
    rgba(255, 255, 255, 0.62);
  box-shadow:
    0 14px 28px rgba(17, 28, 47, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  outline: none;
}

.final-contact-option:hover .final-contact-icon,
.final-contact-option:focus-visible .final-contact-icon {
  border-color: rgba(47, 95, 145, 0.58);
  box-shadow: 0 8px 18px rgba(47, 95, 145, 0.1);
}

.final-contact-icon {
  position: relative;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(95, 130, 168, 0.42);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 251, 0.76));
}

.final-contact-icon::before,
.final-contact-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.35);
}

.final-contact-icon::before {
  left: 8px;
  right: 8px;
  top: 11px;
  height: 3px;
  box-shadow: 0 8px 0 rgba(95, 130, 168, 0.24);
}

.final-contact-option--calendar .final-contact-icon::after,
.final-contact-option--phone .final-contact-icon::after,
.final-contact-option--remote .final-contact-icon::after {
  right: 7px;
  top: 7px;
  width: 10px;
  height: 10px;
  border: 1px solid rgba(47, 95, 145, 0.28);
  background: rgba(255, 255, 255, 0.76);
}

.final-contact-option strong {
  display: block;
  color: #111c2f;
  font-size: 0.92rem;
  line-height: 1.25;
}

.final-contact-option small {
  display: block;
  margin-top: 7px;
  color: #66778b;
  font-size: 0.79rem;
  font-weight: 650;
  line-height: 1.42;
}

.final-cta-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.final-cta-actions .btn {
  min-height: 50px;
}

.final-cta-actions .btn-primary {
  background: linear-gradient(135deg, #0f2d49 0%, #24577f 52%, #2f6f9d 100%);
  box-shadow:
    0 16px 30px rgba(17, 28, 47, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.final-cta-actions .btn-primary:hover,
.final-cta-actions .btn-primary:focus-visible {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #0b2740 0%, #214f76 52%, #2a6794 100%);
  box-shadow:
    0 20px 36px rgba(17, 28, 47, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

.final-cta-actions .btn-secondary {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(238, 246, 251, 0.62)),
    rgba(255, 255, 255, 0.62);
  border-color: rgba(151, 176, 203, 0.6);
  color: #173657;
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 30px 0 38px;
  background:
    radial-gradient(circle at 82% 0%, rgba(95, 130, 168, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(238, 246, 251, 0.38), rgba(255, 255, 255, 0.82));
}

.footer-shell {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(184, 202, 220, 0.72);
  border-radius: 36px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(238, 246, 251, 0.66)),
    rgba(255, 255, 255, 0.78);
  color: #17233a;
  box-shadow:
    0 24px 64px rgba(17, 28, 47, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px) saturate(1.02);
  -webkit-backdrop-filter: blur(12px) saturate(1.02);
}

.footer-watermark {
  position: absolute;
  right: 20px;
  bottom: -38px;
  color: rgba(95, 130, 168, 0.085);
  font-size: clamp(8rem, 18vw, 15rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  white-space: nowrap;
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(260px, 1.3fr) minmax(160px, 0.82fr) minmax(190px, 0.92fr) minmax(210px, 0.95fr);
  gap: clamp(24px, 3vw, 38px);
}

.footer-title {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #111c2f;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-title::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 95, 145, 0.88), rgba(151, 176, 203, 0.2));
}

.footer-logo {
  display: block;
  width: min(245px, 100%);
  height: auto;
  margin-bottom: 22px;
  transition: opacity 180ms ease, filter 180ms ease;
}

.footer-logo:hover {
  opacity: 0.9;
  filter: saturate(1.05);
}

.footer-grid > * {
  min-width: 0;
}

@media (min-width: 1181px) {
  .footer-grid > * + * {
    padding-left: clamp(18px, 2vw, 30px);
    border-left: 1px solid rgba(184, 202, 220, 0.4);
  }
}

.footer-note {
  max-width: 420px;
  color: #5e7086;
  font-size: 0.96rem;
  line-height: 1.62;
}

.footer-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.footer-notes span {
  padding: 8px 10px;
  border: 1px solid rgba(95, 130, 168, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
  color: #2f5f91;
  font-size: 0.78rem;
  font-weight: 850;
}

.footer-notes span:nth-child(2) {
  border-color: rgba(151, 176, 203, 0.32);
  background: rgba(238, 246, 251, 0.58);
}

.footer-notes span:nth-child(3) {
  border-color: rgba(47, 95, 145, 0.28);
  background: rgba(255, 255, 255, 0.68);
}

.footer-links {
  margin-top: 0;
  gap: 10px;
}

.footer-links li {
  display: block;
  color: #5e7086;
  font-size: 0.92rem;
  line-height: 1.35;
}

.footer-links li::before {
  content: none;
}

.footer-links a,
.footer-contact-cta,
.footer-legal a,
.footer-credit {
  color: #53657b;
  text-decoration: none;
  transition: color 180ms ease, text-decoration-color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-credit:hover,
.footer-credit:focus-visible {
  color: #2f5f91;
  text-decoration: underline;
  text-decoration-color: rgba(47, 95, 145, 0.38);
  text-underline-offset: 4px;
  outline: none;
}

.footer-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 10px 14px;
  border: 1px solid rgba(95, 130, 168, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: #2f5f91;
  font-size: 0.86rem;
  font-weight: 900;
}

.footer-contact-cta:hover,
.footer-contact-cta:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 95, 145, 0.5);
  background: rgba(238, 246, 251, 0.86);
  box-shadow: 0 10px 20px rgba(17, 28, 47, 0.07);
  text-decoration: none;
  outline: none;
}

.footer-contact {
  padding: 18px;
  border: 1px solid rgba(184, 202, 220, 0.48);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.54), rgba(238, 246, 251, 0.34)),
    rgba(255, 255, 255, 0.28);
}

.footer-contact-list li {
  position: relative;
  min-height: 24px;
  padding-left: 28px;
}

.footer-contact-list li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 17px;
  height: 17px;
  border: 1px solid rgba(95, 130, 168, 0.38);
  border-radius: 7px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(238, 246, 251, 0.64));
}

.footer-contact-list li[data-contact-icon]::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 5px;
  top: 7px;
  width: 7px;
  height: 2px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.62);
  box-shadow: 0 4px 0 rgba(95, 130, 168, 0.32);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(184, 202, 220, 0.58);
  color: #66778b;
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
}

.footer-legal a {
  position: relative;
}

.footer-legal a:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(95, 130, 168, 0.36);
}

.footer-credit:not(.footer-credit--proai) span {
  color: #2f5f91;
  font-weight: 900;
}

.footer-credit--proai {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(41, 73, 105, 0.14);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(245, 251, 255, 0.48));
  box-shadow:
    0 14px 34px rgba(16, 42, 67, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #172438;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

.footer-credit--proai:hover,
.footer-credit--proai:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(77, 174, 226, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(239, 250, 255, 0.62));
  box-shadow:
    0 18px 42px rgba(16, 42, 67, 0.12),
    0 0 24px rgba(102, 211, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  text-decoration: none;
}

.footer-credit__label {
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: rgba(91, 103, 120, 0.88);
  white-space: nowrap;
}

.footer-credit__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.footer-credit__cube {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #74d9ff;
  filter:
    drop-shadow(0 0 8px rgba(116, 217, 255, 0.32))
    drop-shadow(0 2px 5px rgba(35, 105, 150, 0.12));
  transition:
    transform 320ms ease,
    filter 320ms ease;
}

.footer-credit__cube-svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-credit__pro,
.footer-credit__expert {
  font-size: 15px;
  font-weight: 850;
  letter-spacing: -0.03em;
  line-height: 1;
}

.footer-credit__pro {
  color: #121f32;
}

.footer-credit__expert {
  color: #82dcff;
  text-shadow: 0 0 16px rgba(130, 220, 255, 0.22);
}

.footer-credit--proai:hover .footer-credit__cube,
.footer-credit--proai:focus-visible .footer-credit__cube {
  transform: rotate(-7deg) translateY(-1px) scale(1.06);
  filter:
    drop-shadow(0 0 12px rgba(116, 217, 255, 0.52))
    drop-shadow(0 3px 8px rgba(35, 105, 150, 0.18));
}

.footer-credit--proai:hover .footer-credit__expert,
.footer-credit--proai:focus-visible .footer-credit__expert {
  color: #6bd7ff;
  text-shadow:
    0 0 10px rgba(107, 215, 255, 0.32),
    0 0 22px rgba(107, 215, 255, 0.18);
}

@media (max-width: 1180px) {
  .final-cta-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "side"
      "micro";
    row-gap: 24px;
  }

  .final-cta-copy h2 {
    max-width: 20ch;
  }

  .final-cta-actions {
    justify-content: flex-start;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .footer-contact {
    order: 2;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-credit--proai {
    justify-self: start;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .final-cta-card {
    grid-template-areas:
      "copy"
      "micro"
      "actions"
      "options";
    padding: 24px;
    border-radius: 28px;
  }

  .final-cta-watermark {
    right: -8px;
    bottom: -16px;
    opacity: 0.62;
  }

  .final-cta-copy h2 {
    font-size: clamp(2rem, 9vw, 2.78rem);
    line-height: 1.04;
  }

  .final-cta-copy > p:not(.final-cta-microcopy) {
    font-size: 1rem;
    line-height: 1.56;
  }

  .final-contact-grid {
    grid-area: options;
    grid-template-columns: 1fr;
  }

  .final-contact-option {
    min-height: auto;
    padding: 15px;
  }

  .final-cta-actions {
    grid-area: actions;
    display: grid;
    grid-template-columns: 1fr;
  }

  .final-cta-side {
    display: contents;
  }

  .final-cta-actions .btn {
    width: 100%;
  }

  .footer {
    padding-top: 18px;
  }

  .footer-shell {
    padding: 24px;
    border-radius: 28px;
  }

  .footer-watermark {
    right: 14px;
    bottom: -10px;
    font-size: 6rem;
    white-space: normal;
    text-align: right;
  }

  .footer-logo {
    width: min(220px, 100%);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-brand {
    order: 1;
  }

  .footer-contact {
    order: 2;
  }

  .footer-grid nav:first-of-type {
    order: 3;
  }

  .footer-grid nav:last-of-type {
    order: 4;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 24px;
    font-size: 0.86rem;
  }

  .footer-legal {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .footer-legal a::after {
    content: none !important;
  }
}

@media (max-width: 640px) {
  .footer-credit--proai {
    min-height: 38px;
    padding: 8px 12px;
    gap: 8px;
  }

  .footer-credit__label {
    font-size: 12px;
  }

  .footer-credit__pro,
  .footer-credit__expert {
    font-size: 14px;
  }

  .footer-credit__cube {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 420px) {
  .footer-credit--proai {
    max-width: 100%;
    white-space: nowrap;
  }

  .footer-credit__label {
    font-size: 11.5px;
  }

  .footer-credit__pro,
  .footer-credit__expert {
    font-size: 13px;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.proto-ready .hero-copy.fade-in.is-visible > .eyebrow,
.proto-ready .hero-copy.fade-in.is-visible > .hero-title-premium,
.proto-ready .hero-copy.fade-in.is-visible > .lead,
.proto-ready .hero-copy.fade-in.is-visible > .btn-group,
.proto-ready .hero-copy.fade-in.is-visible > .hero-support-lines {
  opacity: 0;
  transform: translateY(14px);
  animation: heroStaggerIn 520ms ease forwards;
}

.proto-ready .hero-copy.fade-in.is-visible > .eyebrow { animation-delay: 0ms; }
.proto-ready .hero-copy.fade-in.is-visible > .hero-title-premium { animation-delay: 120ms; }
.proto-ready .hero-copy.fade-in.is-visible > .lead { animation-delay: 240ms; }
.proto-ready .hero-copy.fade-in.is-visible > .btn-group { animation-delay: 360ms; }
.proto-ready .hero-copy.fade-in.is-visible > .hero-support-lines { animation-delay: 500ms; }

@keyframes heroStaggerIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.appear-seq {
  opacity: 0;
  transform: translateY(12px);
  animation: dashboardFade 520ms ease forwards;
}

.appear-seq:nth-child(2) { animation-delay: 60ms; }
.appear-seq:nth-child(3) { animation-delay: 120ms; }
.appear-seq:nth-child(4) { animation-delay: 180ms; }
.appear-seq:nth-child(5) { animation-delay: 240ms; }
.appear-seq:nth-child(6) { animation-delay: 300ms; }

@keyframes dashboardFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 16px;
  }

  .hero {
    min-height: auto;
    max-height: none;
    padding: 44px 0 18px;
    align-items: flex-start;
  }

  .hero > .container {
    width: min(1280px, calc(100% - 44px));
  }

  .hero-grid--premium {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .hero-copy {
    max-width: 620px;
  }

  .hero-title-premium,
  html[lang="ru"] .hero-title-premium {
    max-width: none;
  }

  .hero-visual-shell {
    max-width: 620px;
    width: 100%;
    height: 620px;
    justify-self: center;
    margin-left: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .proof-strip {
    padding-bottom: 44px;
  }

  .proof-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .proof-card {
    min-height: 132px;
    padding: 24px 22px 22px;
    border-radius: 28px;
  }

  .proof-copy {
    max-width: none;
  }

  .hero-grid,
  .two-col,
  .process-grid,
  .cta-shell,
  .footer-grid,
  .dashboard-stack,
  .services-grid,
  .trust-strip__shell {
    grid-template-columns: 1fr;
  }

  .service-map__orbit {
    grid-template-columns: 1fr;
  }

  .services-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .about-compact {
    grid-template-columns: 1fr;
  }

  .about-compact__logo {
    width: 220px;
  }

  #services .services-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  #services .services-count-pill {
    justify-self: start;
  }

  #services .services-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #services .service-card {
    min-height: 330px;
  }

  #services .service-card__top {
    grid-template-columns: minmax(0, 1fr) 104px;
  }

  #services .service-visual {
    width: 104px;
    height: 86px;
  }
}

@media (max-width: 1024px) {
  .site-nav,
  .site-header__inner .header-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header__panel {
    display: none;
  }

  .site-header.is-open .site-header__panel {
    display: grid;
    gap: 20px;
    padding: 0 0 24px;
  }

  .site-header__panel .site-nav {
    display: grid;
    gap: 14px;
  }

  .site-header__panel .header-actions {
    display: flex;
    flex-wrap: wrap;
  }
}

@media (max-width: 960px) {
  .site-nav,
  .site-header__inner .header-actions .btn-primary {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-header__panel {
    display: none;
  }

  .site-header.is-open .site-header__panel {
    display: grid;
    gap: 20px;
    padding: 0 0 24px;
  }

  .site-header__panel .site-nav {
    display: grid;
    gap: 14px;
  }

  .site-header__panel .header-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .section {
    padding: 80px 0;
  }

  .hero {
    padding: 36px 0 14px;
    min-height: auto;
    max-height: none;
  }

  .hero > .container {
    width: min(1280px, calc(100% - 34px));
  }

  .hero-title-premium {
    font-size: clamp(40px, 7.1vw, 56px);
    line-height: 1.06;
  }

  html[lang="ru"] .hero-title-premium {
    font-size: clamp(38px, 6.8vw, 52px);
    line-height: 1.07;
  }

  .hero-copy .lead {
    font-size: clamp(1.02rem, 2.2vw, 1.12rem);
    max-width: 100%;
  }

  .hero-support-lines p {
    font-size: 0.88rem;
  }

  .proof-strip {
    padding-bottom: 34px;
  }

  .proof-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .proof-card {
    min-height: 128px;
    padding: 22px 20px;
    border-radius: 20px;
  }

  .proof-strip__grid .proof-card:last-child {
    grid-column: span 2;
  }

  .proof-value {
    font-size: clamp(1.68rem, 4.4vw, 1.96rem);
  }

  .proof-copy {
    font-size: 0.98rem;
    max-width: none;
  }

  .hero-visual-shell {
    max-width: 100%;
    height: auto;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .review-card {
    flex-basis: 100%;
  }

  .reviews-track {
    gap: 0;
  }

  .review-card {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .review-dots {
    display: flex;
  }

  .situation-clarity__layout {
    grid-template-columns: 1fr;
  }

  .situation-selector {
    gap: 10px;
  }

  .situation-card {
    min-height: auto;
    padding: 17px;
    padding-right: 44px;
    border-radius: 20px;
  }

  .situation-card::after {
    right: 18px;
    top: 24px;
    width: 10px;
    height: 10px;
    border-radius: 0;
    border-right: 2px solid var(--sc-metal);
    border-bottom: 2px solid var(--sc-metal);
    background: transparent;
    box-shadow: none;
    opacity: 0.62;
    transform: rotate(45deg);
  }

  .situation-card.is-active::after {
    opacity: 1;
    transform: rotate(225deg) translate(-2px, -2px);
  }

  .situation-panel {
    min-height: auto;
    border-radius: 24px;
  }

  .situation-panel.is-mobile-panel {
    margin: 2px 0 8px;
  }

  .situation-panel__body {
    grid-template-columns: 1fr;
  }

  .situation-panel h3 {
    max-width: 18ch;
  }

  .situation-visual {
    min-height: 214px;
  }

  #services .service-card {
    min-height: 304px;
    padding: 23px;
  }

  #services .service-card__top {
    grid-template-columns: minmax(0, 1fr) 94px;
    margin-bottom: 22px;
  }

  #services .service-visual {
    width: 94px;
    height: 80px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section,
  .section--tight {
    padding: 64px 0;
  }

  .hero-title-premium {
    font-size: clamp(35px, 10.2vw, 46px);
    line-height: 1.08;
  }

  html[lang="ru"] .hero-title-premium {
    font-size: clamp(33px, 9.6vw, 43px);
    line-height: 1.09;
  }

  .hero-copy .lead {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 16px;
  }

  .hero-support-lines {
    margin-top: 12px;
  }

  .proof-strip {
    padding-bottom: 28px;
  }

  .proof-strip::before {
    width: min(560px, calc(100% - 30px));
    height: 110px;
    bottom: 6px;
  }

  .proof-strip__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .proof-card {
    min-height: auto;
    padding: 20px 18px;
    border-radius: 18px;
  }

  .proof-strip__grid .proof-card:last-child {
    grid-column: auto;
  }

  .proof-value {
    font-size: clamp(1.62rem, 7.2vw, 1.86rem);
  }

  .proof-copy {
    font-size: 0.96rem;
    line-height: 1.38;
  }

  .hero-support-lines p {
    font-size: 0.84rem;
  }

  .hero-visual-shell {
    margin-top: 4px;
  }

  .dashboard-card,
  .surface-card,
  .service-card,
  .path-card,
  .resource-card,
  .review-card,
  .cta-shell,
  .security-card,
  .footer-shell,
  .faq-item,
  .step-item {
    padding: 22px;
    border-radius: 22px;
  }

  .btn,
  .btn-group {
    width: 100%;
  }

  .btn-group .btn {
    width: 100%;
  }

  .trust-strip__shell,
  .services-grid,
  .services-grid--4,
  .paths-grid,
  .resources-grid,
  .scope-grid,
  .consult-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  #services .services-matrix {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #services .services-count-pill {
    font-size: 0.72rem;
  }

  #services .service-card {
    min-height: auto;
    padding: 22px;
    border-radius: 22px;
    box-shadow:
      0 14px 28px rgba(17, 28, 47, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }

  #services .service-card__top {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 12px;
    margin-bottom: 20px;
  }

  #services .service-card__meta span:first-child {
    min-height: 28px;
    font-size: 0.68rem;
  }

  #services .service-visual {
    width: 86px;
    height: 74px;
  }

  #services .service-card h3 {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
  }

  #services .service-card p {
    font-size: 0.94rem;
    line-height: 1.56;
  }

  #services .service-cta {
    padding-top: 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .situation-clarity__heading {
    margin-bottom: 26px;
  }

  .situation-card__title {
    font-size: 0.98rem;
  }

  .situation-card__text {
    font-size: 0.9rem;
  }

  .situation-panel__content {
    gap: 22px;
    padding: 22px;
  }

  .situation-panel h3 {
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .situation-panel p {
    font-size: 0.98rem;
    line-height: 1.62;
  }

  .situation-checks span,
  .situation-service-pill {
    min-height: 36px;
    font-size: 0.86rem;
  }

  .situation-visual {
    min-height: 190px;
  }

  .situation-doc {
    left: 34px;
    top: 25px;
    width: 92px;
    height: 122px;
  }

  .situation-doc--back {
    left: 20px;
    top: 42px;
  }

  .situation-cardlet {
    right: 24px;
    top: 42px;
  }

  .situation-folder {
    right: 30px;
    bottom: 24px;
    width: 112px;
  }

  .situation-cardlet {
    right: 22px;
    min-width: 78px;
  }

  .situation-stamp,
  .situation-period {
    right: 26px;
  }

  .situation-tabs {
    left: 30px;
    right: 26px;
  }

  .situation-row {
    left: 50px;
    right: 56px;
  }
}

.hero-visual-shell--approved {
  width: clamp(450px, 45vw, 812px);
  max-width: 812px;
  height: auto;
  max-height: none;
  justify-self: end;
  align-self: center;
  overflow: visible;
  perspective: 1400px;
  background: transparent;
}

.hero-image-visual {
  --hero-aqua: 34, 204, 211;
  --hero-blue: 42, 128, 225;
  --hero-champagne: 219, 153, 63;
  --hero-silver: 221, 235, 246;
  --hero-base-x: -18px;
  --hero-base-y: -22px;
  --move-x: 0px;
  --move-y: 0px;
  --glow-x: 50%;
  --glow-y: 52%;
  position: relative;
  width: 100%;
  aspect-ratio: 2048 / 1773;
  isolation: isolate;
  transform: translate3d(calc(var(--hero-base-x) + var(--move-x)), calc(var(--hero-base-y) + var(--move-y)), 0);
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.25, 1);
  will-change: transform;
}

.hero-image-visual::before {
  content: "";
  position: absolute;
  inset: 12% 5% 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 48% 62%, rgba(var(--hero-blue), 0.24), transparent 58%),
    radial-gradient(ellipse at 42% 78%, rgba(var(--hero-aqua), 0.18), transparent 54%),
    radial-gradient(ellipse at 66% 72%, rgba(var(--hero-champagne), 0.11), transparent 40%);
  filter: blur(32px);
  opacity: 0.62;
  transform: translate3d(calc(var(--move-x) * -0.32), calc(var(--move-y) * -0.32), 0);
  animation: heroAmbientBreathe 8.8s ease-in-out infinite;
}

.hero-image-visual::after {
  content: "";
  position: absolute;
  inset: auto 6% -2% 6%;
  z-index: -1;
  height: 15%;
  pointer-events: none;
  background: radial-gradient(ellipse, rgba(18, 94, 137, 0.24), transparent 68%);
  filter: blur(22px);
  opacity: 0.34;
}

.hero-image-plane {
  position: absolute;
  inset: 0;
  transform: translateZ(0);
  -webkit-mask-image: radial-gradient(ellipse 52% 55% at 50% 51%, #000 84%, rgba(0, 0, 0, 0.98) 90%, rgba(0, 0, 0, 0.72) 97%, transparent 100%);
  mask-image: radial-gradient(ellipse 52% 55% at 50% 51%, #000 84%, rgba(0, 0, 0, 0.98) 90%, rgba(0, 0, 0, 0.72) 97%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

@supports (-webkit-mask-composite: source-in) {
  .hero-image-plane {
    -webkit-mask-image:
      linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.44) 2.4%, #000 5.8%, #000 94.2%, rgba(0, 0, 0, 0.44) 97.6%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 2.3%, #000 6.1%, #000 96%, rgba(0, 0, 0, 0.42) 98.5%, transparent 100%);
    -webkit-mask-composite: source-in;
  }
}

@supports (mask-composite: intersect) {
  .hero-image-plane {
    mask-image:
      linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.44) 2.4%, #000 5.8%, #000 94.2%, rgba(0, 0, 0, 0.44) 97.6%, transparent 100%),
      linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 2.3%, #000 6.1%, #000 96%, rgba(0, 0, 0, 0.42) 98.5%, transparent 100%);
    mask-composite: intersect;
  }
}

.hero-image-plane picture,
.hero-approved-image {
  display: block;
  width: 100%;
}

.hero-approved-image {
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.hero-effect-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-breathing-light {
  background:
    radial-gradient(ellipse at var(--glow-x) var(--glow-y), rgba(255, 255, 255, 0.34), transparent 34%),
    radial-gradient(ellipse at 49% 77%, rgba(var(--hero-blue), 0.14), transparent 44%);
  mix-blend-mode: screen;
  opacity: 0.42;
  animation: heroSurfaceBreathe 7.4s ease-in-out infinite;
}

.hero-global-shimmer {
  background:
    linear-gradient(112deg, transparent 18%, rgba(255, 255, 255, 0.09) 38%, rgba(255, 255, 255, 0.34) 47%, rgba(83, 188, 226, 0.1) 53%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0.2;
  transform: translateX(-78%);
  animation: heroSlowShimmer 11.5s cubic-bezier(0.42, 0, 0.24, 1) infinite;
}

.hero-glass-reflection {
  background:
    linear-gradient(126deg, transparent 0 25%, rgba(255, 255, 255, 0.18) 38%, transparent 50%),
    linear-gradient(18deg, transparent 0 65%, rgba(255, 255, 255, 0.14) 75%, transparent 86%);
  mix-blend-mode: screen;
  opacity: 0.34;
}

.hero-composition-idle-sheen {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.78;
  transition: opacity 240ms ease;
}

.hero-composition-idle-sheen::before {
  content: "";
  position: absolute;
  top: -48%;
  left: -64%;
  width: 72%;
  height: 196%;
  background:
    linear-gradient(135deg, transparent 18%, rgba(180, 215, 238, 0.1) 34%, rgba(255, 255, 255, 0.58) 47%, rgba(150, 205, 230, 0.24) 56%, transparent 74%);
  filter: blur(1.5px);
  opacity: 0;
  transform: translate(-62%, -24%);
  animation: heroCompositionSheenPass 9s cubic-bezier(0.38, 0, 0.24, 1) infinite;
  will-change: transform, opacity;
}

.hero-image-visual:hover .hero-composition-idle-sheen {
  opacity: 0.28;
}

.hero-image-visual:hover .hero-lunar-shimmer {
  opacity: 0.22;
}

.hero-lunar-shimmer {
  position: absolute;
  left: 36.4%;
  top: 12.8%;
  width: 27.2%;
  height: 61%;
  z-index: 3;
  overflow: hidden;
  border-radius: 13% / 8%;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.3;
  transition: opacity 240ms ease;
}

.hero-lunar-shimmer::before {
  content: "";
  position: absolute;
  top: -55%;
  left: -70%;
  width: 92%;
  height: 190%;
  background:
    linear-gradient(135deg, transparent 28%, rgba(var(--hero-silver), 0.03) 39%, rgba(255, 255, 255, 0.2) 48%, rgba(205, 225, 240, 0.11) 54%, transparent 66%);
  filter: blur(1px);
  transform: translate(-48%, -18%) rotate(0.001deg);
  animation: heroLunarPass 10.6s cubic-bezier(0.38, 0, 0.24, 1) infinite;
  animation-delay: -7.4s;
}

.hero-hover-zones {
  position: absolute;
  inset: 0;
  z-index: 4;
}

.hero-hotspot {
  position: absolute;
  display: block;
  border-radius: 17% / 10%;
  background: transparent;
  cursor: pointer;
}

.hero-hotspot::before,
.hero-hotspot::after {
  content: "";
  position: absolute;
  inset: -11%;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 230ms ease, transform 230ms ease;
}

.hero-hotspot::before {
  background:
    radial-gradient(ellipse at 50% 44%, rgba(var(--zone-a), 0.24), rgba(var(--zone-b), 0.1) 48%, transparent 74%);
  box-shadow:
    0 0 24px rgba(var(--zone-a), 0.18),
    0 0 58px rgba(var(--zone-b), 0.13);
  filter: blur(1px);
  transform: translateY(1px) scale(0.992);
}

.hero-hotspot::after {
  inset: -3%;
  background: linear-gradient(116deg, transparent 24%, rgba(255, 255, 255, 0.38) 46%, transparent 64%);
  mix-blend-mode: screen;
  transform: translateX(-24%);
}

.hero-hotspot:hover::before {
  opacity: 1;
  transform: translateY(-1px) scale(1.006);
}

.hero-hotspot:hover::after {
  opacity: 0.54;
  animation: heroZoneSheen 1100ms ease both;
}

.hero-hotspot[data-tone="aqua"] {
  --zone-a: var(--hero-aqua);
  --zone-b: var(--hero-blue);
}

.hero-hotspot[data-tone="blue"] {
  --zone-a: var(--hero-blue);
  --zone-b: var(--hero-aqua);
}

.hero-hotspot[data-tone="champagne"] {
  --zone-a: var(--hero-champagne);
  --zone-b: var(--hero-blue);
}

.hero-hotspot-central {
  left: 36.4%;
  top: 12.8%;
  width: 27.2%;
  height: 61%;
  z-index: 1;
  border-radius: 13% / 8%;
}

.hero-hotspot-business {
  left: 20.2%;
  top: 22.6%;
  width: 15.3%;
  height: 31%;
  z-index: 3;
}

.hero-hotspot-quickbooks {
  left: 12.1%;
  top: 43.3%;
  width: 14.4%;
  height: 32.8%;
  z-index: 5;
}

.hero-hotspot-sales {
  left: 26.1%;
  top: 47.5%;
  width: 13.9%;
  height: 28.5%;
  z-index: 6;
}

.hero-hotspot-payroll {
  left: 65.9%;
  top: 22.8%;
  width: 14.5%;
  height: 31%;
  z-index: 3;
}

.hero-hotspot-tax {
  left: 62.3%;
  top: 47.7%;
  width: 13.5%;
  height: 28%;
  z-index: 7;
}

.hero-hotspot-consulting {
  left: 75.7%;
  top: 43.3%;
  width: 14.6%;
  height: 32.7%;
  z-index: 5;
}

@keyframes heroAmbientBreathe {
  0%, 100% {
    opacity: 0.5;
    transform: translate3d(calc(var(--move-x) * -0.32), calc(var(--move-y) * -0.32), 0) scale(0.99);
  }
  50% {
    opacity: 0.76;
    transform: translate3d(calc(var(--move-x) * -0.32), calc(var(--move-y) * -0.32), 0) scale(1.014);
  }
}

@keyframes heroSurfaceBreathe {
  0%, 100% {
    opacity: 0.32;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes heroSlowShimmer {
  0%, 34% {
    transform: translateX(-82%);
  }
  74%, 100% {
    transform: translateX(82%);
  }
}

@keyframes heroCompositionSheenPass {
  0%, 64% {
    opacity: 0;
    transform: translate(-62%, -24%);
  }
  70% {
    opacity: 0.65;
  }
  84% {
    opacity: 0.48;
  }
  94% {
    opacity: 0.12;
    transform: translate(220%, 58%);
  }
  100% {
    opacity: 0;
    transform: translate(220%, 58%);
  }
}

@keyframes heroLunarPass {
  0%, 70% {
    opacity: 0;
    transform: translate(-58%, -18%);
  }
  76% {
    opacity: 0.38;
  }
  91% {
    opacity: 0.1;
    transform: translate(132%, 38%);
  }
  100% {
    opacity: 0;
    transform: translate(132%, 38%);
  }
}

@keyframes heroZoneSheen {
  from {
    transform: translateX(-32%);
  }
  to {
    transform: translateX(32%);
  }
}

@media (max-width: 1180px) {
  .hero-visual-shell--approved {
    width: min(100%, 760px);
    max-width: 760px;
  }
}

@media (max-width: 960px) {
  .hero-visual-shell--approved {
    width: min(100%, 760px);
    max-width: 760px;
    justify-self: center;
    margin-top: 10px;
  }

  .hero-image-visual {
    --hero-base-x: 0px;
    --hero-base-y: 0px;
  }
}

@media (max-width: 680px) {
  .hero-visual-shell--approved {
    width: min(calc(100% - 2px), 420px);
    margin-top: 6px;
  }

  .hero-composition-idle-sheen {
    opacity: 0.55;
  }

  .hero-lunar-shimmer {
    opacity: 0.26;
  }
}

@media (hover: none), (pointer: coarse) {
  .hero-hotspot {
    cursor: default;
  }

  .hero-hotspot::before,
  .hero-hotspot::after {
    display: none;
  }
}

@media (max-width: 1180px) {
  #services .services-heading h2 {
    max-width: 15ch;
    font-size: clamp(2.35rem, 5vw, 4rem);
  }

  #services .service-card {
    min-height: 318px;
    padding: 24px;
  }

  #services .service-card__top {
    grid-template-columns: minmax(0, 1fr) 110px;
  }

  #services .service-visual {
    width: 110px;
    height: 90px;
  }
}

@media (max-width: 1024px) {
  #services .services-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #services .services-heading h2 {
    max-width: 16ch;
  }

  #services .services-count-pill {
    justify-self: start;
    margin-bottom: 0;
  }

  #services .services-matrix {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (max-width: 680px) {
  #services {
    background:
      radial-gradient(circle at 86% 4%, rgba(95, 130, 168, 0.12), transparent 34%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 252, 0.78) 54%, rgba(255, 255, 255, 0.86));
  }

  #services::after {
    opacity: 0.62;
    height: 150px;
  }

  #services .services-heading {
    margin-bottom: 30px;
  }

  #services .services-heading h2 {
    max-width: 15.5ch;
    font-size: clamp(2.05rem, 10vw, 3rem);
    line-height: 1.04;
  }

  #services .services-heading .lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  #services .services-count-pill {
    min-height: 34px;
    padding: 7px 12px;
  }

  #services .services-matrix {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  #services .service-card {
    padding: 21px;
    border-radius: 22px;
    box-shadow:
      0 16px 32px rgba(17, 28, 47, 0.085),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }

  #services .service-card__top {
    grid-template-columns: minmax(0, 1fr) 90px;
    margin-bottom: 16px;
  }

  #services .service-visual {
    width: 90px;
    height: 76px;
  }

  #services .service-card h3 {
    font-size: clamp(1.18rem, 5.7vw, 1.42rem);
    line-height: 1.14;
  }

  #services .service-card p {
    margin-top: 10px;
    font-size: 0.94rem;
    line-height: 1.54;
  }

  #services .service-cta {
    padding-top: 18px;
    font-size: 0.95rem;
  }

  #services .service-card:active {
    transform: translateY(1px);
    box-shadow:
      0 10px 20px rgba(17, 28, 47, 0.075),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }
}

/* Premium Ice-Glass Process Timeline */
.process-section {
  --process-navy: #111c2f;
  --process-text: #17233a;
  --process-muted: #647287;
  --process-blue: #2f5f91;
  --process-metal: #5f82a8;
  --process-ice: #eef6fb;
  --process-border: rgba(184, 202, 220, 0.72);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 10%, rgba(95, 130, 168, 0.16), transparent 34%),
    radial-gradient(ellipse at 14% 68%, rgba(238, 246, 251, 0.82), transparent 48%),
    radial-gradient(ellipse at 62% 94%, rgba(184, 202, 220, 0.22), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 249, 252, 0.74) 52%, rgba(255, 255, 255, 0.86));
}

.process-section::before,
.process-section::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.process-section::before {
  left: 8%;
  right: 8%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 130, 168, 0.26), rgba(255, 255, 255, 0.88), transparent);
}

.process-section::after {
  left: 18%;
  right: 12%;
  bottom: 11%;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(95, 130, 168, 0.16), rgba(238, 246, 251, 0.12) 42%, transparent 72%);
  filter: blur(22px);
}

.process-section .container {
  position: relative;
  z-index: 1;
}

.process-heading {
  max-width: 820px;
  margin-bottom: 50px;
}

.process-heading .eyebrow {
  color: var(--process-blue);
  letter-spacing: 0.15em;
}

.process-heading h2 {
  max-width: 15.2ch;
  color: var(--process-navy);
  font-size: clamp(2.5rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.process-heading .lead {
  max-width: 680px;
  margin-top: 18px;
  color: var(--process-muted);
  font-size: clamp(1.06rem, 1.35vw, 1.16rem);
  line-height: 1.62;
}

.process-panel {
  position: relative;
  padding: 52px;
  border: 1px solid rgba(184, 202, 220, 0.84);
  border-radius: 40px;
  background:
    radial-gradient(circle at 82% 12%, rgba(95, 130, 168, 0.17), transparent 34%),
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.82), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 251, 0.7)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 32px 78px rgba(17, 28, 47, 0.13),
    0 12px 30px rgba(47, 95, 145, 0.045),
    0 0 54px rgba(184, 202, 220, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 22px 0 42px rgba(238, 246, 251, 0.3),
    inset 0 -24px 38px rgba(198, 214, 229, 0.2);
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(1.02);
  -webkit-backdrop-filter: blur(16px) saturate(1.02);
}

.process-panel::before,
.process-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.process-panel::before {
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2), transparent 32%);
}

.process-panel::after {
  left: 34px;
  right: 34px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.98), rgba(95, 130, 168, 0.32), transparent);
}

.process-path {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 116px;
  height: calc(100% - 318px);
  opacity: 0.82;
  pointer-events: none;
}

.process-path::before,
.process-path::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background:
    linear-gradient(90deg, transparent, rgba(47, 95, 145, 0.34), rgba(95, 130, 168, 0.58), rgba(47, 95, 145, 0.32), transparent),
    linear-gradient(90deg, transparent 0 8%, rgba(255, 255, 255, 0.72) 18%, transparent 30% 100%);
  background-size: 100% 100%, 240px 100%;
  transform-origin: left;
}

.process-path::before {
  top: 0;
}

.process-path::after {
  bottom: 0;
}

.process-timeline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process-step;
}

.process-step {
  position: relative;
  min-height: 246px;
  display: grid;
  grid-template-rows: auto auto 1fr;
  align-content: start;
  padding: 25px;
  border: 1px solid rgba(184, 202, 220, 0.34);
  border-radius: 26px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(238, 246, 251, 0.46)),
    rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    inset 0 0 0 1px rgba(255, 255, 255, 0.26),
    0 12px 24px rgba(17, 28, 47, 0.04);
  transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease, background-color 210ms ease;
}

.process-step::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 29px;
  width: 24px;
  height: 7px;
  border-radius: 999px;
  border: 1px solid rgba(95, 130, 168, 0.46);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(95, 130, 168, 0.44)),
    rgba(95, 130, 168, 0.34);
  box-shadow:
    0 0 0 6px rgba(95, 130, 168, 0.08),
    0 0 18px rgba(95, 130, 168, 0.22);
  opacity: 0.78;
  transition: opacity 210ms ease, border-color 210ms ease, box-shadow 210ms ease, transform 210ms ease;
}

.process-step:hover,
.process-step:focus-within {
  transform: translateY(-2px);
  border-color: rgba(95, 130, 168, 0.56);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(238, 246, 251, 0.52)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    0 18px 38px rgba(17, 28, 47, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.process-step:hover::before,
.process-step:focus-within::before {
  border-color: rgba(47, 95, 145, 0.62);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(47, 95, 145, 0.52)),
    rgba(47, 95, 145, 0.42);
  box-shadow:
    0 0 0 7px rgba(95, 130, 168, 0.1),
    0 0 20px rgba(47, 95, 145, 0.3);
  opacity: 1;
  transform: translateX(2px);
}

.process-step__number {
  margin-left: 32px;
  color: var(--process-metal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.process-step:hover .process-step__number,
.process-step:focus-within .process-step__number {
  color: var(--process-blue);
}

.process-step h3 {
  max-width: 15ch;
  margin-top: 46px;
  color: #101a2b;
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.process-step p {
  margin-top: 10px;
  color: #56677d;
  font-size: 0.97rem;
  line-height: 1.55;
}

.process-step__visual {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 106px;
  height: 84px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 46% 30%, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.22) 66%, transparent 78%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(198, 214, 229, 0.2));
  transition: transform 210ms ease, filter 210ms ease;
}

.process-step:hover .process-step__visual,
.process-step:focus-within .process-step__visual {
  transform: translate(2px, -2px);
  filter: drop-shadow(0 10px 16px rgba(17, 28, 47, 0.1));
}

.process-step__visual::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 14px;
  bottom: 9px;
  height: 14px;
  border-radius: 50%;
  background: rgba(47, 95, 145, 0.1);
  filter: blur(8px);
}

.process-step__visual span {
  position: absolute;
  display: block;
  border: 1px solid rgba(129, 158, 190, 0.94);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 14px 23px rgba(17, 28, 47, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -8px 16px rgba(238, 246, 251, 0.34);
}

.process-step--consultation .process-step__visual span:nth-child(1) {
  left: 10px;
  top: 16px;
  width: 64px;
  height: 44px;
  border-radius: 14px 14px 14px 5px;
}

.process-step--consultation .process-step__visual span:nth-child(1)::before {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  top: 13px;
  height: 5px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.18);
  box-shadow: 0 12px 0 rgba(95, 130, 168, 0.14);
}

.process-step--consultation .process-step__visual span:nth-child(2) {
  right: 8px;
  bottom: 10px;
  width: 52px;
  height: 56px;
  border-radius: 12px;
}

.process-step--consultation .process-step__visual span:nth-child(2)::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  top: 12px;
  height: 5px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.22);
  box-shadow: 0 12px 0 rgba(95, 130, 168, 0.15), 0 24px 0 rgba(95, 130, 168, 0.11);
}

.process-step--consultation .process-step__visual span:nth-child(3) {
  left: 72px;
  top: 17px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--process-blue);
  box-shadow: 0 0 0 5px rgba(95, 130, 168, 0.13);
}

.process-step--scope .process-step__visual span:nth-child(1) {
  left: 16px;
  right: 15px;
  top: 36px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.32);
  box-shadow: none;
  transform: rotate(-12deg);
}

.process-step--scope .process-step__visual span:nth-child(2),
.process-step--scope .process-step__visual span:nth-child(3) {
  width: 17px;
  height: 17px;
  border-radius: 999px;
}

.process-step--scope .process-step__visual span:nth-child(2) {
  left: 18px;
  top: 44px;
}

.process-step--scope .process-step__visual span:nth-child(3) {
  right: 17px;
  top: 22px;
  background: var(--process-blue);
  box-shadow: 0 0 0 6px rgba(95, 130, 168, 0.12);
}

.process-step--scope .process-step__visual::after {
  content: "SCOPE";
  position: absolute;
  right: 18px;
  bottom: 14px;
  min-width: 56px;
  min-height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(151, 176, 203, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--process-blue);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.process-step--docs .process-step__visual span:nth-child(1),
.process-step--result .process-step__visual span:nth-child(1) {
  left: 9px;
  bottom: 10px;
  width: 76px;
  height: 52px;
  border-radius: 11px 13px 13px;
  background: linear-gradient(145deg, rgba(238, 246, 251, 0.96), rgba(255, 255, 255, 0.74));
}

.process-step--docs .process-step__visual span:nth-child(1)::before,
.process-step--result .process-step__visual span:nth-child(1)::before {
  content: "";
  position: absolute;
  left: 8px;
  top: -9px;
  width: 28px;
  height: 15px;
  border: 1px solid rgba(175, 195, 215, 0.78);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(238, 246, 251, 0.96);
}

.process-step--docs .process-step__visual span:nth-child(2),
.process-step--work .process-step__visual span:nth-child(1),
.process-step--review .process-step__visual span:nth-child(1),
.process-step--result .process-step__visual span:nth-child(2) {
  right: 9px;
  top: 10px;
  width: 60px;
  height: 72px;
  border-radius: 11px;
}

.process-step--docs .process-step__visual span:nth-child(2)::before,
.process-step--work .process-step__visual span:nth-child(1)::before,
.process-step--review .process-step__visual span:nth-child(1)::before,
.process-step--result .process-step__visual span:nth-child(2)::before {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  top: 16px;
  height: 5px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.18);
  box-shadow: 0 12px 0 rgba(95, 130, 168, 0.16), 0 24px 0 rgba(95, 130, 168, 0.11);
}

.process-step--docs .process-step__visual span:nth-child(3) {
  right: 18px;
  bottom: 13px;
  width: 27px;
  height: 15px;
  border-radius: 999px;
  background: transparent;
  border: 2px solid rgba(47, 95, 145, 0.38);
  box-shadow: none;
}

.process-step--docs .process-step__visual span:nth-child(3)::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 3px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.38);
}

.process-step--work .process-step__visual span:nth-child(1) {
  left: 11px;
  top: 11px;
  width: 82px;
  height: 70px;
}

.process-step--work .process-step__visual span:nth-child(2) {
  right: 8px;
  top: 20px;
  width: 42px;
  height: 50px;
  border-radius: 10px;
}

.process-step--work .process-step__visual span:nth-child(3),
.process-step--review .process-step__visual span:nth-child(3) {
  right: 15px;
  bottom: 15px;
  width: 25px;
  height: 25px;
  border-radius: 999px;
}

.process-step--work .process-step__visual span:nth-child(3)::before,
.process-step--review .process-step__visual span:nth-child(3)::before,
.process-step--result .process-step__visual span:nth-child(3)::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 5px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--process-blue);
  border-bottom: 2px solid var(--process-blue);
  transform: rotate(-45deg);
}

.process-step--review .process-step__visual span:nth-child(2) {
  right: 8px;
  top: 13px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

.process-step--review .process-step__visual span:nth-child(2)::after {
  content: "";
  position: absolute;
  right: -13px;
  bottom: -6px;
  width: 24px;
  height: 6px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.36);
  transform: rotate(42deg);
}

.process-step--result .process-step__visual span:nth-child(3) {
  right: 10px;
  bottom: 15px;
  width: 42px;
  height: 25px;
  border-radius: 999px;
}

.process-step--result .process-step__visual span:nth-child(3)::after {
  content: "";
  position: absolute;
  right: -7px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--process-blue);
  border-top: 2px solid var(--process-blue);
  transform: rotate(45deg);
}

.process-cta-strip {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding: 22px 24px;
  border: 1px solid rgba(151, 176, 203, 0.7);
  border-radius: 26px;
  background:
    radial-gradient(circle at 92% 18%, rgba(95, 130, 168, 0.16), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 251, 0.72)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.98),
    inset 0 0 0 1px rgba(255, 255, 255, 0.28),
    inset 0 -12px 22px rgba(238, 246, 251, 0.28),
    0 16px 34px rgba(17, 28, 47, 0.075);
}

.process-cta-strip p {
  margin: 0;
  color: var(--process-text);
  font-size: 1.02rem;
  font-weight: 750;
  line-height: 1.38;
}

.process-cta-strip .btn {
  flex: 0 0 auto;
  box-shadow: 0 14px 26px rgba(17, 28, 47, 0.18);
}

.process-cta-strip .btn:hover,
.process-cta-strip .btn:focus-visible {
  box-shadow: 0 18px 34px rgba(17, 28, 47, 0.24);
}

.proto-ready .process-section .process-heading .eyebrow,
.proto-ready .process-section .process-heading h2,
.proto-ready .process-section .process-heading .lead,
.proto-ready .process-section .process-panel,
.proto-ready .process-section .process-step,
.proto-ready .process-section .process-cta-strip {
  opacity: 0;
  transform: translateY(14px);
}

.proto-ready .process-section.is-visible .process-heading .eyebrow,
.proto-ready .process-section.is-visible .process-heading h2,
.proto-ready .process-section.is-visible .process-heading .lead,
.proto-ready .process-section.is-visible .process-panel,
.proto-ready .process-section.is-visible .process-step,
.proto-ready .process-section.is-visible .process-cta-strip {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 460ms ease, transform 460ms ease;
}

.proto-ready .process-section.is-visible .process-heading h2 { transition-delay: 60ms; }
.proto-ready .process-section.is-visible .process-heading .lead { transition-delay: 120ms; }
.proto-ready .process-section.is-visible .process-panel { transition-delay: 170ms; }
.proto-ready .process-section.is-visible .process-step:nth-child(1) { transition-delay: 230ms; }
.proto-ready .process-section.is-visible .process-step:nth-child(2) { transition-delay: 300ms; }
.proto-ready .process-section.is-visible .process-step:nth-child(3) { transition-delay: 370ms; }
.proto-ready .process-section.is-visible .process-step:nth-child(4) { transition-delay: 440ms; }
.proto-ready .process-section.is-visible .process-step:nth-child(5) { transition-delay: 510ms; }
.proto-ready .process-section.is-visible .process-step:nth-child(6) { transition-delay: 580ms; }
.proto-ready .process-section.is-visible .process-cta-strip { transition-delay: 650ms; }

.proto-ready .process-section .process-path::before,
.proto-ready .process-section .process-path::after {
  transform: scaleX(0);
}

.proto-ready .process-section.is-visible .process-path::before,
.proto-ready .process-section.is-visible .process-path::after {
  transform: scaleX(1);
  transition: transform 720ms cubic-bezier(0.38, 0, 0.24, 1) 260ms;
}

/* Premium Filing Calendar / Obligation Map */
.filing-section {
  --filing-navy: #111c2f;
  --filing-text: #17233a;
  --filing-muted: #607186;
  --filing-blue: #2f5f91;
  --filing-metal: #5f82a8;
  --filing-border: rgba(184, 202, 220, 0.74);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 12%, rgba(95, 130, 168, 0.15), transparent 34%),
    radial-gradient(ellipse at 14% 62%, rgba(238, 246, 251, 0.86), transparent 48%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(245, 249, 252, 0.78) 52%, rgba(255, 255, 255, 0.86));
}

.filing-section::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(95, 130, 168, 0.24), rgba(255, 255, 255, 0.9), transparent);
  pointer-events: none;
}

.filing-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.filing-heading {
  max-width: 520px;
  margin-bottom: 0;
}

.filing-heading .eyebrow {
  color: var(--filing-blue);
  letter-spacing: 0.15em;
}

.filing-heading h2 {
  max-width: 14.8ch;
  color: var(--filing-navy);
  font-size: clamp(2.35rem, 3.7vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.048em;
}

.filing-heading .lead {
  color: var(--filing-muted);
  font-size: clamp(1.02rem, 1.2vw, 1.14rem);
  line-height: 1.62;
}

.filing-note {
  margin-top: 20px;
  padding-left: 18px;
  border-left: 2px solid rgba(95, 130, 168, 0.36);
  color: #53657b;
  font-size: 0.95rem;
  line-height: 1.48;
  font-weight: 650;
}

.filing-map-panel {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(28px, 3.4vw, 44px);
  border: 1px solid rgba(184, 202, 220, 0.86);
  border-radius: 40px;
  background:
    radial-gradient(circle at 86% 12%, rgba(95, 130, 168, 0.16), transparent 34%),
    radial-gradient(circle at 12% 14%, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 251, 0.72)),
    rgba(255, 255, 255, 0.82);
  box-shadow:
    0 30px 72px rgba(17, 28, 47, 0.12),
    0 10px 28px rgba(47, 95, 145, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 20px 0 38px rgba(238, 246, 251, 0.26),
    inset 0 -22px 34px rgba(198, 214, 229, 0.18);
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(1.02);
  -webkit-backdrop-filter: blur(16px) saturate(1.02);
}

.filing-rhythm {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  display: grid;
  gap: 12px;
  padding: 0 2px 12px;
}

.filing-rhythm__title {
  color: var(--filing-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.filing-rhythm__rail {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(151, 176, 203, 0.54);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(238, 246, 251, 0.46)),
    rgba(255, 255, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    0 10px 22px rgba(17, 28, 47, 0.035);
  overflow: hidden;
}

.filing-rhythm__rail::before {
  content: "";
  position: absolute;
  left: 22px;
  right: 22px;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(47, 95, 145, 0.12), rgba(95, 130, 168, 0.42), rgba(47, 95, 145, 0.12));
}

.filing-rhythm__rail span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid rgba(95, 130, 168, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #3a628b;
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.filing-rhythm__rail span::before,
.filing-rhythm__rail span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: rgba(95, 130, 168, 0.42);
  transform: translateY(-50%);
}

.filing-rhythm__rail span::before {
  left: -10px;
}

.filing-rhythm__rail span::after {
  right: -10px;
}

.filing-rhythm__rail span:first-child::before,
.filing-rhythm__rail span:last-child::after {
  display: none;
}

.filing-map-panel::before,
.filing-map-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.filing-map-panel::before {
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.68);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.46), transparent 22%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), transparent 34%);
}

.filing-map-panel::after {
  left: 32px;
  right: 32px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.98), rgba(95, 130, 168, 0.32), transparent);
}

.filing-connector {
  position: absolute;
  left: 44px;
  right: 44px;
  top: 142px;
  bottom: 44px;
  pointer-events: none;
  opacity: 0.5;
}

.filing-connector::before,
.filing-connector::after {
  content: "";
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(47, 95, 145, 0.28), rgba(95, 130, 168, 0.36), transparent);
  transform-origin: left;
}

.filing-connector::before {
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
}

.filing-connector::after {
  top: 8%;
  bottom: 8%;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(47, 95, 145, 0.24), rgba(95, 130, 168, 0.34), transparent);
  transform-origin: top;
}

.filing-card {
  position: relative;
  z-index: 1;
  min-height: 278px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid rgba(184, 202, 220, 0.58);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(238, 246, 251, 0.48)),
    rgba(255, 255, 255, 0.42);
  box-shadow:
    0 14px 30px rgba(17, 28, 47, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.86),
    inset 0 0 0 1px rgba(255, 255, 255, 0.24);
  transition: transform 210ms ease, border-color 210ms ease, box-shadow 210ms ease, background-color 210ms ease;
}

.filing-card::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 3px;
  border-radius: 0 0 999px 999px;
  background: rgba(95, 130, 168, 0.22);
}

.filing-card--sales::before {
  background: linear-gradient(90deg, rgba(178, 210, 230, 0.62), rgba(95, 130, 168, 0.2));
}

.filing-card--payroll::before {
  background: linear-gradient(90deg, rgba(95, 130, 168, 0.5), rgba(151, 176, 203, 0.22));
}

.filing-card--tax::before {
  background: linear-gradient(90deg, rgba(47, 95, 145, 0.5), rgba(95, 130, 168, 0.2));
}

.filing-card--year::before {
  background: linear-gradient(90deg, rgba(198, 214, 229, 0.72), rgba(95, 130, 168, 0.18));
}

.filing-card:hover,
.filing-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(95, 130, 168, 0.64);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(238, 246, 251, 0.56)),
    rgba(255, 255, 255, 0.54);
  box-shadow:
    0 20px 42px rgba(17, 28, 47, 0.095),
    0 0 0 1px rgba(255, 255, 255, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.filing-card__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 106px;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.filing-period {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 7px 11px 7px 13px;
  border: 1px solid rgba(95, 130, 168, 0.38);
  border-radius: 10px 10px 12px 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 251, 0.66)),
    rgba(255, 255, 255, 0.48);
  color: #345f8a;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
  transition: border-color 210ms ease, color 210ms ease;
}

.filing-period::before {
  content: "";
  width: 2px;
  height: 14px;
  margin-right: 8px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.42);
}

.filing-card:hover .filing-period {
  border-color: rgba(47, 95, 145, 0.5);
  color: #254d77;
}

.filing-card h3 {
  max-width: 16ch;
  color: var(--filing-navy);
  font-size: clamp(1.12rem, 1.45vw, 1.34rem);
  line-height: 1.16;
  letter-spacing: -0.022em;
}

.filing-card p {
  margin-top: 10px;
  color: #586a80;
  font-size: 0.95rem;
  line-height: 1.54;
}

.filing-needed {
  margin-top: auto;
  padding-top: 18px;
  color: #345f8a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.filing-data {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.filing-data span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 5px 9px 5px 11px;
  border: 1px solid rgba(184, 202, 220, 0.78);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(248, 251, 253, 0.66)),
    rgba(255, 255, 255, 0.62);
  color: #53657b;
  font-size: 0.76rem;
  font-weight: 750;
  line-height: 1.1;
  box-shadow: inset 2px 0 0 rgba(47, 95, 145, 0.16);
}

.filing-visual {
  position: relative;
  width: 106px;
  height: 86px;
  justify-self: end;
  border-radius: 22px;
  background:
    radial-gradient(circle at 48% 30%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.22) 66%, transparent 78%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(198, 214, 229, 0.2));
  transition: transform 210ms ease, filter 210ms ease;
}

.filing-card:hover .filing-visual {
  transform: translate(2px, -2px);
  filter: drop-shadow(0 10px 16px rgba(17, 28, 47, 0.1));
}

.filing-visual span {
  position: absolute;
  display: block;
  border: 1px solid rgba(135, 163, 194, 0.9);
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 13px 22px rgba(17, 28, 47, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -8px 16px rgba(238, 246, 251, 0.34);
}

.filing-card--sales .filing-visual span:nth-child(1) {
  left: 10px;
  top: 10px;
  width: 46px;
  height: 66px;
  border-radius: 9px;
  background:
    linear-gradient(90deg, transparent 0 86%, rgba(95, 130, 168, 0.12) 86% 100%),
    rgba(255, 255, 255, 0.9);
}

.filing-card--sales .filing-visual span:nth-child(1)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 7px;
  background: repeating-linear-gradient(135deg, transparent 0 5px, rgba(135, 163, 194, 0.28) 5px 7px);
  clip-path: polygon(0 0, 8% 100%, 16% 0, 24% 100%, 32% 0, 40% 100%, 48% 0, 56% 100%, 64% 0, 72% 100%, 80% 0, 88% 100%, 100% 0);
}

.filing-card--sales .filing-visual span:nth-child(1)::before,
.filing-card--payroll .filing-visual span:nth-child(1)::before,
.filing-card--tax .filing-visual span:nth-child(2)::before,
.filing-card--year .filing-visual span:nth-child(2)::before {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  top: 14px;
  height: 4px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.18);
  box-shadow: 0 11px 0 rgba(95, 130, 168, 0.15), 0 22px 0 rgba(95, 130, 168, 0.11);
}

.filing-card--sales .filing-visual span:nth-child(2) {
  right: 9px;
  top: 17px;
  width: 54px;
  height: 42px;
  border-radius: 10px;
}

.filing-card--sales .filing-visual span:nth-child(3),
.filing-card--tax .filing-visual span:nth-child(3),
.filing-card--year .filing-visual span:nth-child(3) {
  right: 11px;
  bottom: 11px;
  width: 52px;
  height: 22px;
  border-radius: 999px;
}

.filing-card--sales .filing-visual span:nth-child(3)::before {
  content: "STATE";
}

.filing-card--tax .filing-visual span:nth-child(3)::before {
  content: "Tax Year";
}

.filing-card--year .filing-visual span:nth-child(3)::before {
  content: "Review";
}

.filing-card--sales .filing-visual span:nth-child(3)::before,
.filing-card--tax .filing-visual span:nth-child(3)::before,
.filing-card--year .filing-visual span:nth-child(3)::before {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #345f8a;
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.filing-card--payroll .filing-visual span:nth-child(1),
.filing-card--tax .filing-visual span:nth-child(2),
.filing-card--year .filing-visual span:nth-child(2) {
  left: 10px;
  top: 10px;
  width: 68px;
  height: 64px;
  border-radius: 11px;
}

.filing-card--payroll .filing-visual span:nth-child(2) {
  right: 8px;
  top: 12px;
  width: 62px;
  height: 22px;
  border-radius: 9px;
}

.filing-card--payroll .filing-visual span:nth-child(2)::before {
  content: "Q1 Q2 Q3";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #345f8a;
  font-size: 0.46rem;
  font-weight: 900;
  letter-spacing: 0.07em;
}

.filing-card--payroll .filing-visual span:nth-child(3) {
  right: 11px;
  bottom: 12px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.filing-card--payroll .filing-visual span:nth-child(3)::before,
.filing-card--year .filing-visual span:nth-child(2)::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  width: 8px;
  height: 5px;
  border-left: 2px solid var(--filing-blue);
  border-bottom: 2px solid var(--filing-blue);
  transform: rotate(-45deg);
}

.filing-card--tax .filing-visual span:nth-child(1),
.filing-card--year .filing-visual span:nth-child(1) {
  left: 8px;
  bottom: 10px;
  width: 70px;
  height: 48px;
  border-radius: 11px 13px 13px;
  background: linear-gradient(145deg, rgba(238, 246, 251, 0.96), rgba(255, 255, 255, 0.74));
}

.filing-card--tax .filing-visual span:nth-child(1) {
  border-radius: 8px 14px 14px 14px;
  box-shadow:
    0 13px 22px rgba(17, 28, 47, 0.12),
    inset 0 12px 0 rgba(47, 95, 145, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.filing-card--year .filing-visual span:nth-child(2) {
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 246, 251, 0.76)),
    rgba(255, 255, 255, 0.9);
}

.filing-card--tax .filing-visual span:nth-child(1)::before,
.filing-card--year .filing-visual span:nth-child(1)::before {
  content: "";
  position: absolute;
  left: 8px;
  top: -8px;
  width: 28px;
  height: 14px;
  border: 1px solid rgba(175, 195, 215, 0.78);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: rgba(238, 246, 251, 0.96);
}

.proto-ready .filing-section .filing-heading .eyebrow,
.proto-ready .filing-section .filing-heading h2,
.proto-ready .filing-section .filing-heading .lead,
.proto-ready .filing-section .filing-note,
.proto-ready .filing-section .filing-map-panel,
.proto-ready .filing-section .filing-rhythm,
.proto-ready .filing-section .filing-card {
  opacity: 0;
  transform: translateY(14px);
}

.proto-ready .filing-section.is-visible .filing-heading .eyebrow,
.proto-ready .filing-section.is-visible .filing-heading h2,
.proto-ready .filing-section.is-visible .filing-heading .lead,
.proto-ready .filing-section.is-visible .filing-note,
.proto-ready .filing-section.is-visible .filing-map-panel,
.proto-ready .filing-section.is-visible .filing-rhythm,
.proto-ready .filing-section.is-visible .filing-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 460ms ease, transform 460ms ease;
}

.proto-ready .filing-section.is-visible .filing-heading h2 { transition-delay: 60ms; }
.proto-ready .filing-section.is-visible .filing-heading .lead { transition-delay: 120ms; }
.proto-ready .filing-section.is-visible .filing-note { transition-delay: 170ms; }
.proto-ready .filing-section.is-visible .filing-map-panel { transition-delay: 190ms; }
.proto-ready .filing-section.is-visible .filing-rhythm { transition-delay: 250ms; }
.proto-ready .filing-section.is-visible .filing-card:nth-of-type(1) { transition-delay: 310ms; }
.proto-ready .filing-section.is-visible .filing-card:nth-of-type(2) { transition-delay: 380ms; }
.proto-ready .filing-section.is-visible .filing-card:nth-of-type(3) { transition-delay: 450ms; }
.proto-ready .filing-section.is-visible .filing-card:nth-of-type(4) { transition-delay: 520ms; }

.proto-ready .filing-section .filing-connector::before {
  transform: scaleX(0);
}

.proto-ready .filing-section .filing-connector::after {
  transform: scaleY(0);
}

.proto-ready .filing-section.is-visible .filing-connector::before {
  transform: scaleX(1);
  transition: transform 640ms cubic-bezier(0.38, 0, 0.24, 1) 300ms;
}

.proto-ready .filing-section.is-visible .filing-connector::after {
  transform: scaleY(1);
  transition: transform 640ms cubic-bezier(0.38, 0, 0.24, 1) 380ms;
}

@media (max-width: 1180px) {
  .process-panel {
    padding: 40px;
  }

  .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .process-path {
    display: none;
  }

  .process-step {
    min-height: 228px;
  }

  .process-step__visual {
    width: 100px;
    height: 80px;
  }

  .filing-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .filing-heading {
    max-width: 780px;
  }

  .filing-heading h2 {
    max-width: 17ch;
  }

  .filing-rhythm__rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filing-rhythm__rail::before {
    left: 18px;
    right: 18px;
  }
}

@media (max-width: 680px) {
  .process-heading {
    margin-bottom: 34px;
  }

  .process-heading h2 {
    max-width: 15ch;
    font-size: clamp(2rem, 9.4vw, 2.82rem);
    line-height: 1.05;
  }

  .process-heading .lead {
    font-size: 1rem;
    line-height: 1.56;
  }

  .process-panel {
    padding: 22px;
    border-radius: 28px;
  }

  .process-panel::after {
    left: 22px;
    right: 22px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-left: 0;
  }

  .process-timeline::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 24px;
    bottom: 24px;
    width: 2px;
    background: linear-gradient(180deg, transparent, rgba(47, 95, 145, 0.34), rgba(95, 130, 168, 0.28), transparent);
  }

  .process-step {
    min-height: auto;
    padding: 20px 18px 20px 48px;
    border-radius: 22px;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(238, 246, 251, 0.44)),
      rgba(255, 255, 255, 0.34);
  }

  .process-step::before {
    left: 16px;
    top: 25px;
    width: 22px;
    height: 7px;
  }

  .process-step__number {
    margin-left: 0;
    padding-left: 31px;
    font-size: 0.72rem;
  }

  .process-step__visual {
    right: 14px;
    top: 16px;
    width: 86px;
    height: 70px;
    opacity: 0.92;
  }

  .process-step h3 {
    max-width: calc(100% - 86px);
    margin-top: 18px;
    font-size: clamp(1.12rem, 5vw, 1.32rem);
  }

  .process-step p {
    font-size: 0.94rem;
    line-height: 1.52;
  }

  .process-cta-strip {
    flex-direction: column;
    align-items: stretch;
    margin-top: 18px;
    padding: 18px;
    border-radius: 22px;
  }

  .process-cta-strip p {
    font-size: 1rem;
  }

  .process-cta-strip .btn {
    width: 100%;
  }

  .filing-layout {
    gap: 28px;
  }

  .filing-heading h2 {
    max-width: 15ch;
    font-size: clamp(2rem, 9vw, 2.78rem);
    line-height: 1.05;
  }

  .filing-heading .lead {
    font-size: 1rem;
    line-height: 1.56;
  }

  .filing-note {
    margin-top: 16px;
    font-size: 0.9rem;
  }

  .filing-map-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 28px;
    box-shadow:
      0 18px 42px rgba(17, 28, 47, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }

  .filing-rhythm {
    padding-bottom: 6px;
  }

  .filing-rhythm__title {
    font-size: 0.72rem;
  }

  .filing-rhythm__rail {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 10px;
    border-radius: 16px;
  }

  .filing-rhythm__rail::before,
  .filing-rhythm__rail span::before,
  .filing-rhythm__rail span::after {
    display: none;
  }

  .filing-rhythm__rail span {
    justify-content: flex-start;
    min-height: 24px;
    border-radius: 8px;
    font-size: 0.62rem;
  }

  .filing-connector {
    left: 26px;
    right: 26px;
    top: 160px;
    bottom: 26px;
  }

  .filing-connector::before {
    display: none;
  }

  .filing-connector::after {
    left: 20px;
  }

  .filing-card {
    min-height: auto;
    padding: 20px;
    border-radius: 22px;
  }

  .filing-card__top {
    grid-template-columns: minmax(0, 1fr) 84px;
    gap: 12px;
  }

  .filing-period {
    min-height: 26px;
    font-size: 0.61rem;
  }

  .filing-visual {
    width: 84px;
    height: 68px;
  }

  .filing-card h3 {
    max-width: calc(100% - 76px);
    font-size: clamp(1.1rem, 5vw, 1.28rem);
  }

  .filing-card p {
    font-size: 0.93rem;
    line-height: 1.52;
  }

  .filing-data span {
    font-size: 0.72rem;
  }
}

@media (min-width: 681px) and (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .proto-ready .hero-copy.fade-in.is-visible > .eyebrow,
  .proto-ready .hero-copy.fade-in.is-visible > .hero-title-premium,
  .proto-ready .hero-copy.fade-in.is-visible > .lead,
  .proto-ready .hero-copy.fade-in.is-visible > .btn-group,
  .proto-ready .hero-copy.fade-in.is-visible > .hero-support-lines,
  .proto-ready .proof-strip[data-proof-strip] .proof-card {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero-image-visual {
    transform: none !important;
  }

  .situation-panel.is-updating .situation-panel__content,
  .situation-panel:hover .situation-visual,
  .situation-card:hover,
  .situation-card:focus-visible,
  #services .service-card,
  #services .service-card:hover,
  #services .service-card:focus-within,
  #services .service-card:hover .service-visual,
  #services .service-cta span,
  .process-step,
  .process-step:hover,
  .process-step:focus-within,
  .process-step:hover .process-step__visual,
  .process-step:focus-within .process-step__visual,
  .filing-card,
  .filing-card:hover,
  .filing-card:focus-within,
  .filing-card:hover .filing-visual,
  .process-cta-strip .btn:hover,
  .process-cta-strip .btn:focus-visible {
    transform: none !important;
  }

  .proto-ready .process-section .process-path::before,
  .proto-ready .process-section .process-path::after,
  .proto-ready .filing-section .filing-connector::before,
  .proto-ready .filing-section .filing-connector::after {
    transform: none !important;
  }

  .hero-composition-idle-sheen,
  .hero-lunar-shimmer {
    display: none;
  }
}

@media (max-width: 1180px) {
  .trust-card {
    flex-basis: clamp(340px, 44vw, 380px);
  }

  .trust-marquee__track {
    animation-duration: 86s;
  }

  .resource-library-heading,
  .resource-library-layout {
    grid-template-columns: 1fr;
  }

  .resource-library-heading h2 {
    max-width: 17ch;
  }

  .resource-library-heading p {
    max-width: 720px;
  }

  .resource-featured-card {
    min-height: 410px;
  }

  .resource-featured-card h3 {
    max-width: 16ch;
  }

  .answer-desk-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.78fr);
  }

  .answer-question-button {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .answer-question-state {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .client-trust-shell {
    gap: 24px;
  }

  .client-trust-heading h2 {
    max-width: 15ch;
    font-size: clamp(2rem, 9vw, 2.78rem);
    line-height: 1.05;
  }

  .client-trust-heading .lead {
    font-size: 1rem;
    line-height: 1.56;
  }

  .trust-marquee {
    overflow: hidden;
    padding-bottom: 12px;
    -webkit-mask-image: linear-gradient(90deg, #000, #000 88%, transparent);
    mask-image: linear-gradient(90deg, #000, #000 88%, transparent);
  }

  .trust-marquee__track {
    animation-duration: 96s;
  }

  .trust-card {
    flex-basis: min(86vw, 360px);
    min-height: 320px;
    padding: 24px;
    border-radius: 26px;
    scroll-snap-align: start;
  }

  .trust-card blockquote {
    margin-top: 22px;
    font-size: 0.98rem;
    line-height: 1.58;
  }

  .trust-quote {
    right: 14px;
    font-size: 4.8rem;
  }

  .trust-metrics p {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .resource-library-shell {
    gap: 24px;
  }

  .resource-library-heading {
    gap: 16px;
  }

  .resource-intro-note {
    padding: 18px 0 0 0;
  }

  .resource-intro-note::before {
    width: 160px;
  }

  .resource-library-heading h2 {
    max-width: 15ch;
    font-size: clamp(2rem, 9vw, 2.76rem);
    line-height: 1.05;
  }

  .resource-library-heading p {
    font-size: 1rem;
    line-height: 1.56;
  }

  .resource-library-layout,
  .resource-reading-list {
    grid-template-columns: 1fr;
  }

  .resource-featured-card {
    min-height: auto;
    padding: 24px;
    border-radius: 28px;
  }

  .resource-featured-card::before {
    left: 24px;
    right: 24px;
  }

  .resource-featured-label {
    margin-bottom: 14px;
  }

  .resource-doc-visual {
    position: relative;
    right: auto;
    top: auto;
    width: 122px;
    height: 100px;
    margin: 18px 0 24px auto;
  }

  .resource-doc-visual span:nth-child(1) {
    width: 88px;
    height: 68px;
  }

  .resource-doc-visual span:nth-child(2) {
    width: 58px;
    height: 76px;
  }

  .resource-doc-visual span:nth-child(2)::before {
    left: 7px;
    right: 7px;
    font-size: 0.48rem;
  }

  .resource-doc-visual span:nth-child(3) {
    width: 36px;
    height: 36px;
  }

  .resource-doc-visual span:nth-child(4) {
    right: 28px;
    top: 14px;
    width: 22px;
    height: 42px;
  }

  .resource-featured-card h3 {
    margin-top: 0;
    font-size: clamp(1.62rem, 8vw, 2.18rem);
    line-height: 1.08;
  }

  .resource-featured-card p {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .resource-compact-card {
    min-height: auto;
    padding: 22px;
    border-radius: 22px;
  }

  .resource-compact-card h3 {
    max-width: calc(100% - 46px);
  }

  .resource-mini-doc {
    right: 18px;
    top: 52px;
    width: 36px;
    height: 48px;
  }

  .resource-library-cta {
    justify-content: center;
    width: 100%;
  }

  .resource-cta-strip {
    align-items: stretch;
    flex-direction: column;
    padding: 20px;
    border-radius: 24px;
  }

  .answer-desk-shell {
    gap: 24px;
  }

  .answer-desk-heading h2 {
    max-width: 14ch;
    font-size: clamp(2rem, 9vw, 2.76rem);
    line-height: 1.05;
  }

  .answer-desk-heading p {
    font-size: 1rem;
    line-height: 1.56;
  }

  .answer-desk-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .answer-desk-panel {
    display: none;
    height: auto;
    min-height: 0;
  }

  .answer-question-list {
    gap: 12px;
  }

  .answer-question-button {
    grid-template-columns: 18px minmax(0, 1fr) 24px;
    min-height: 62px;
    padding: 14px;
    border-radius: 20px;
  }

  .answer-question-state {
    width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 0;
    overflow: hidden;
    color: transparent;
    border: 1px solid rgba(95, 130, 168, 0.32);
    background: rgba(255, 255, 255, 0.58);
  }

  .answer-question-state::before,
  .answer-question-state::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    top: 10px;
    height: 2px;
    border-radius: 999px;
    background: var(--answer-blue);
  }

  .answer-question-state::after {
    transform: rotate(90deg);
    transition: transform 180ms ease;
  }

  .answer-question-item.is-active .answer-question-state::after {
    transform: rotate(0deg);
  }

  .answer-question-button:hover .answer-question-state,
  .answer-question-button:focus-visible .answer-question-state {
    transform: none;
  }

  .answer-question-item.is-active .answer-question-button {
    border-radius: 22px 22px 0 0;
  }

  .answer-question-item.is-active .answer-mobile-panel {
    display: block;
  }

  .answer-mobile-panel .answer-panel-content {
    min-height: 0;
    padding: 22px;
    border: 1px solid rgba(47, 95, 145, 0.28);
    border-top: 0;
    border-radius: 0 0 22px 22px;
    background:
      linear-gradient(150deg, rgba(255, 255, 255, 0.86), rgba(238, 246, 251, 0.56)),
      rgba(255, 255, 255, 0.62);
    box-shadow:
      0 16px 32px rgba(17, 28, 47, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }

  .answer-mobile-panel .answer-panel-content::before {
    left: 22px;
    right: 22px;
  }

  .answer-panel-head {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .answer-panel-icon {
    width: 48px;
    height: 46px;
    border-radius: 14px;
  }

  .answer-panel-head h3 {
    font-size: clamp(1.22rem, 6vw, 1.46rem);
  }

  .answer-panel-content > p:not(.answer-related) {
    font-size: 0.96rem;
    line-height: 1.54;
  }

  .answer-note-block {
    margin-top: 0;
  }

  .answer-chip-row span,
  .answer-note-block div span,
  .answer-related {
    font-size: 0.78rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .trust-marquee {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .trust-marquee__track {
    animation: none !important;
  }

  .trust-card {
    scroll-snap-align: start;
  }

  .resource-featured-card,
  .resource-compact-card,
  .resource-library-cta,
  .resource-doc-visual,
  .resource-mini-doc,
  .resource-card-cta span {
    transition: none !important;
  }

  .answer-desk-panel,
  .answer-question-button,
  .answer-question-state,
  .answer-panel-icon,
  .answer-card-cta span,
  .final-contact-option,
  .final-cta-actions .btn,
  .footer-links a,
  .footer-contact-cta,
  .footer-credit {
    transition: none !important;
  }

  .footer-credit--proai,
  .footer-credit__cube {
    transition: none !important;
  }

  .footer-credit--proai:hover,
  .footer-credit--proai:focus-visible,
  .footer-credit--proai:hover .footer-credit__cube,
  .footer-credit--proai:focus-visible .footer-credit__cube {
    transform: none !important;
  }
}

/* Phase 2: Premium Contact Hub */
.contact-page .site-header {
  background: rgba(248, 250, 249, 0.78);
}

.contact-hero {
  padding-top: clamp(58px, 8vw, 96px);
  padding-bottom: 54px;
}

.contact-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: center;
}

.contact-hero__copy {
  position: relative;
  max-width: 760px;
}

.contact-hero__copy::after {
  content: "FS";
  position: absolute;
  right: clamp(-38px, -3vw, -12px);
  bottom: -42px;
  z-index: -1;
  color: rgba(95, 130, 168, 0.08);
  font-size: clamp(6rem, 14vw, 13rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.contact-hero h1 {
  max-width: 14ch;
  background: linear-gradient(108deg, #071927 0%, #12344a 66%, #1e6f9f 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.8rem, 6vw, 5.35rem);
  line-height: 1;
  text-wrap: balance;
}

html[lang="ru"] .contact-hero h1 {
  max-width: 13ch;
}

.contact-hero .lead {
  max-width: 690px;
  margin-top: 24px;
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
}

.contact-hero__microcopy {
  margin-top: 20px;
  color: #2f5f91;
  font-size: 0.94rem;
  font-weight: 850;
}

.contact-summary-card,
.contact-option-card,
.contact-form-card,
.contact-note-card,
.contact-next-card,
.contact-note-list article {
  border: 1px solid rgba(184, 202, 220, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(238, 246, 251, 0.62)),
    rgba(255, 255, 255, 0.74);
  box-shadow:
    0 18px 46px rgba(17, 28, 47, 0.09),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px) saturate(1.02);
  -webkit-backdrop-filter: blur(12px) saturate(1.02);
}

.contact-summary-card {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.6vw, 34px);
  border-radius: 32px;
}

.contact-summary-card__watermark {
  position: absolute;
  right: -10px;
  bottom: -18px;
  color: rgba(95, 130, 168, 0.09);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.contact-summary-card h2 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.contact-summary-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.contact-summary-list li {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(184, 202, 220, 0.48);
}

.contact-summary-list span {
  color: #66778b;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-summary-list a,
.contact-summary-list strong {
  color: #14253a;
  font-size: 0.96rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.contact-options-section {
  padding-top: 48px;
}

.contact-section-heading {
  max-width: 780px;
}

.contact-options-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.contact-option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 244px;
  padding: 22px;
  border-radius: 26px;
  overflow: hidden;
  transition: transform 190ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.contact-option-card:nth-child(1),
.contact-option-card:nth-child(2),
.contact-option-card:nth-child(3) {
  grid-column: span 2;
}

.contact-option-card:nth-child(4),
.contact-option-card:nth-child(5) {
  grid-column: span 3;
}

.contact-option-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 88% 8%, rgba(218, 242, 255, 0.38), transparent 28%);
  opacity: 0.8;
  pointer-events: none;
}

.contact-option-card:hover,
.contact-option-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(47, 95, 145, 0.44);
  box-shadow:
    0 22px 50px rgba(17, 28, 47, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.contact-option-icon,
.contact-next-icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(95, 130, 168, 0.38);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 251, 0.68));
}

.contact-option-icon::before,
.contact-option-icon::after,
.contact-next-icon::before,
.contact-next-icon::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.58);
}

.contact-option-icon::before,
.contact-next-icon::before {
  left: 10px;
  right: 10px;
  top: 13px;
  height: 2px;
  box-shadow: 0 7px 0 rgba(95, 130, 168, 0.34);
}

.contact-option-icon::after,
.contact-next-icon::after {
  right: 10px;
  bottom: 9px;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(47, 95, 145, 0.26);
  background: rgba(255, 255, 255, 0.78);
}

.contact-option-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  font-size: clamp(1.15rem, 1.6vw, 1.42rem);
}

.contact-option-card p {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  color: #66778b;
  font-weight: 620;
}

.contact-card-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: #2f5f91;
  font-size: 0.9rem;
  font-weight: 900;
}

.contact-card-link span {
  transition: transform 180ms ease;
}

.contact-card-link:hover span,
.contact-card-link:focus-visible span {
  transform: translateX(3px);
}

.contact-card-link.is-disabled {
  color: #7a8b9d;
  cursor: default;
}

.contact-form-section {
  position: relative;
  overflow: hidden;
}

.contact-form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(460px, 1fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: start;
}

.contact-form-copy {
  position: sticky;
  top: calc(var(--header-height) + 26px);
}

.contact-form-copy h2 {
  max-width: 12ch;
}

.contact-note-card {
  margin-top: 28px;
  padding: 22px;
  border-radius: 24px;
}

.contact-note-card h3 {
  font-size: 1.12rem;
}

.contact-note-card p {
  margin-top: 10px;
  color: #66778b;
  font-weight: 620;
}

.contact-form-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 3.2vw, 34px);
  border-radius: 32px;
}

.contact-field {
  display: grid;
  gap: 8px;
}

.contact-field--full,
.form-status,
.contact-submit {
  grid-column: 1 / -1;
}

.contact-field span {
  color: #24384f;
  font-size: 0.88rem;
  font-weight: 850;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  border: 1px solid rgba(151, 176, 203, 0.62);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: #17233a;
  padding: 13px 14px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-field textarea {
  resize: vertical;
  min-height: 148px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  border-color: rgba(47, 95, 145, 0.62);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 4px rgba(47, 95, 145, 0.12);
}

.contact-field.has-error input,
.contact-field.has-error select,
.contact-field.has-error textarea {
  border-color: rgba(177, 77, 83, 0.5);
  box-shadow: 0 0 0 4px rgba(177, 77, 83, 0.08);
}

.field-error {
  min-height: 18px;
  color: #9e4a52;
  font-size: 0.78rem;
  font-weight: 750;
}

.contact-consent {
  gap: 12px;
}

.contact-checkbox {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  color: #53667b;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.58;
}

.contact-checkbox input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: #2f5f91;
}

.contact-legal-note {
  margin: 0;
  color: #607184;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.55;
}

.contact-legal-note a {
  color: #2f5f91;
  font-weight: 850;
  text-decoration: none;
}

.contact-legal-note a:hover,
.contact-legal-note a:focus-visible {
  text-decoration: underline;
}

.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 16px;
  color: #255f4a;
  background: rgba(232, 247, 245, 0.86);
  font-weight: 760;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-error {
  color: #8b4650;
  background: rgba(252, 239, 241, 0.9);
}

.hp-field {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  clip-path: inset(50%);
}

.contact-submit {
  width: fit-content;
  min-width: 190px;
}

.contact-next-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-next-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 18px;
  padding: clamp(24px, 3.4vw, 36px);
  border-radius: 32px;
}

.contact-next-card h2 {
  max-width: 12ch;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
}

.contact-next-card p {
  margin-top: 16px;
  color: #66778b;
  font-weight: 620;
}

.contact-disabled-note {
  color: #2f5f91 !important;
  font-weight: 900 !important;
}

.contact-next-card .btn[disabled] {
  margin-top: 22px;
  opacity: 0.68;
  cursor: not-allowed;
  transform: none;
}

.contact-notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: start;
}

.contact-note-list {
  display: grid;
  gap: 14px;
}

.contact-note-list article {
  padding: 22px;
  border-radius: 24px;
}

.contact-note-list h3 {
  font-size: 1.12rem;
}

.contact-note-list p {
  margin-top: 10px;
  color: #66778b;
  font-weight: 620;
}

.proto-ready .contact-options-section .contact-option-card,
.proto-ready .contact-form-section .contact-form-copy,
.proto-ready .contact-form-section .contact-form-card,
.proto-ready .contact-next-section .contact-next-card,
.proto-ready .contact-mini-faq .contact-note-list article {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 460ms ease, transform 460ms ease, border-color 190ms ease, box-shadow 190ms ease;
}

.proto-ready .contact-options-section.is-visible .contact-option-card,
.proto-ready .contact-form-section.is-visible .contact-form-copy,
.proto-ready .contact-form-section.is-visible .contact-form-card,
.proto-ready .contact-next-section.is-visible .contact-next-card,
.proto-ready .contact-mini-faq.is-visible .contact-note-list article {
  opacity: 1;
  transform: translateY(0);
}

.proto-ready .contact-options-section.is-visible .contact-option-card:nth-child(1) { transition-delay: 60ms; }
.proto-ready .contact-options-section.is-visible .contact-option-card:nth-child(2) { transition-delay: 130ms; }
.proto-ready .contact-options-section.is-visible .contact-option-card:nth-child(3) { transition-delay: 200ms; }
.proto-ready .contact-options-section.is-visible .contact-option-card:nth-child(4) { transition-delay: 270ms; }
.proto-ready .contact-options-section.is-visible .contact-option-card:nth-child(5) { transition-delay: 340ms; }
.proto-ready .contact-form-section.is-visible .contact-form-card { transition-delay: 140ms; }
.proto-ready .contact-next-section.is-visible .contact-next-card:nth-child(2) { transition-delay: 120ms; }

@media (max-width: 980px) {
  .contact-hero__grid,
  .contact-form-layout,
  .contact-next-grid,
  .contact-notes-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-copy {
    position: static;
  }

  .contact-options-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-option-card,
  .contact-option-card:nth-child(1),
  .contact-option-card:nth-child(2),
  .contact-option-card:nth-child(3),
  .contact-option-card:nth-child(4),
  .contact-option-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .contact-hero {
    padding-top: 42px;
  }

  .contact-hero h1,
  html[lang="ru"] .contact-hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 12vw, 3.65rem);
  }

  .contact-summary-card,
  .contact-form-card,
  .contact-next-card {
    border-radius: 26px;
  }

  .contact-options-grid,
  .contact-form-card {
    grid-template-columns: 1fr;
  }

  .contact-option-card {
    min-height: 220px;
  }

  .contact-next-card {
    grid-template-columns: 1fr;
  }

  .contact-submit,
  .contact-next-card .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proto-ready .contact-options-section.is-visible .contact-option-card,
  .proto-ready .contact-form-section.is-visible .contact-form-copy,
  .proto-ready .contact-form-section.is-visible .contact-form-card,
  .proto-ready .contact-next-section.is-visible .contact-next-card,
  .proto-ready .contact-mini-faq.is-visible .contact-note-list article {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Phase 3: Premium Blog / Resources Index */
.blog-page .site-header {
  background: rgba(248, 250, 249, 0.72);
}

.blog-hero {
  position: relative;
  padding-top: clamp(58px, 8vw, 96px);
  overflow: hidden;
}

.blog-hero::before {
  content: "";
  position: absolute;
  inset: 10% 0 auto 52%;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(30, 111, 159, 0.12), transparent 68%);
  filter: blur(28px);
  pointer-events: none;
}

.blog-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
}

.blog-hero__copy h1 {
  max-width: 13.5ch;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  color: #0d2235;
}

html[lang="ru"] .blog-hero__copy h1 {
  max-width: 16ch;
  font-size: clamp(2.65rem, 5.8vw, 5.6rem);
  line-height: 1.02;
}

.blog-hero__copy .lead {
  max-width: 760px;
  margin-top: 24px;
}

.blog-hero__microcopy {
  margin-top: 20px;
  color: #2f5f91;
  font-weight: 850;
  letter-spacing: 0.01em;
}

.blog-hero-card,
.blog-contact-strip,
.blog-article-card {
  position: relative;
  border: 1px solid rgba(184, 202, 214, 0.72);
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.95), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(240, 247, 249, 0.62));
  box-shadow:
    0 22px 54px rgba(13, 34, 53, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px) saturate(1.02);
  -webkit-backdrop-filter: blur(12px) saturate(1.02);
}

.blog-hero-card {
  min-height: 290px;
  padding: 30px;
  border-radius: 34px;
  overflow: hidden;
}

.blog-hero-card__watermark {
  position: absolute;
  right: -16px;
  bottom: -20px;
  color: rgba(95, 130, 168, 0.1);
  font-size: 8.5rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.blog-hero-card span {
  position: relative;
  z-index: 1;
  color: #2f5f91;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-hero-card strong {
  position: relative;
  z-index: 1;
  display: block;
  max-width: 9ch;
  margin-top: 22px;
  color: #0d2235;
  font-size: clamp(2.15rem, 3.4vw, 3.05rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.blog-hero-card p {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  color: #66778b;
  font-weight: 650;
  line-height: 1.55;
}

.blog-section-heading {
  margin-bottom: 24px;
}

.blog-section-heading h2,
.blog-library-top h2,
.blog-contact-strip h2 {
  color: #0d2235;
  letter-spacing: -0.04em;
}

.blog-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.blog-library-top {
  display: grid;
  grid-template-columns: minmax(0, 0.56fr) minmax(0, 1fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 30px;
}

.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.blog-filter {
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(184, 202, 214, 0.9);
  border-radius: 999px;
  color: #53667b;
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.blog-filter:hover,
.blog-filter:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(30, 111, 159, 0.4);
  color: #0d2235;
  box-shadow: 0 10px 20px rgba(13, 34, 53, 0.08);
}

.blog-filter:focus-visible {
  outline: 3px solid rgba(47, 167, 160, 0.28);
  outline-offset: 2px;
}

.blog-filter.is-active {
  color: #ffffff;
  border-color: rgba(30, 111, 159, 0.62);
  background: linear-gradient(135deg, #12324d, #1e6f9f);
  box-shadow: 0 12px 24px rgba(13, 34, 53, 0.16);
}

.blog-month-section {
  margin-top: 34px;
}

.blog-month-section.is-empty {
  display: none;
}

.blog-month-section h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  color: #2f5f91;
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.blog-month-section h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(184, 202, 214, 0.88), transparent);
}

.blog-article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.blog-article-card {
  min-height: 310px;
  padding: 24px;
  border-radius: 28px;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.blog-article-card--featured {
  min-height: 350px;
}

.blog-article-card:hover,
.blog-article-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(30, 111, 159, 0.46);
  box-shadow:
    0 26px 58px rgba(13, 34, 53, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.blog-article-card:focus-visible {
  outline: 3px solid rgba(47, 167, 160, 0.28);
  outline-offset: 3px;
}

.blog-card-meta {
  position: relative;
  z-index: 1;
  display: block;
  max-width: calc(100% - 92px);
  color: #5f82a8;
  font-size: 0.78rem;
  font-weight: 850;
  line-height: 1.45;
}

.blog-article-card h3,
.blog-article-card h4 {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  margin-top: 26px;
  color: #0d2235;
  font-size: clamp(1.18rem, 1.5vw, 1.48rem);
  line-height: 1.13;
  letter-spacing: -0.03em;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 180ms ease;
}

.blog-article-card:hover h3,
.blog-article-card:hover h4,
.blog-article-card:focus-visible h3,
.blog-article-card:focus-visible h4 {
  color: #071927;
}

.blog-article-card p {
  position: relative;
  z-index: 1;
  display: -webkit-box;
  margin-top: 14px;
  color: #66778b;
  font-size: 0.94rem;
  font-weight: 610;
  line-height: 1.55;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-cta {
  position: absolute;
  left: 24px;
  bottom: 22px;
  z-index: 1;
  color: #2f5f91;
  font-weight: 900;
  font-size: 0.92rem;
}

.blog-card-cta span {
  display: inline-block;
  transition: transform 180ms ease;
}

.blog-article-card:hover .blog-card-cta span,
.blog-article-card:focus-visible .blog-card-cta span {
  transform: translateX(4px);
}

.blog-doc-visual {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 62px;
  height: 78px;
  border: 1px solid rgba(184, 202, 214, 0.82);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 245, 247, 0.74));
  box-shadow: 0 12px 22px rgba(13, 34, 53, 0.08);
}

.blog-doc-visual::before,
.blog-doc-visual::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  border-radius: 999px;
  background: rgba(95, 130, 168, 0.4);
}

.blog-doc-visual::before {
  top: 22px;
  box-shadow: 0 12px 0 rgba(95, 130, 168, 0.28), 0 24px 0 rgba(95, 130, 168, 0.2);
}

.blog-doc-visual::after {
  top: 10px;
  width: 18px;
  right: auto;
  background: #2f5f91;
}

.blog-doc-visual--tax {
  background:
    linear-gradient(135deg, rgba(47, 95, 145, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(238, 245, 247, 0.72));
}

.blog-doc-visual--sales-tax::after {
  width: 26px;
  background: #2fa7a0;
}

.blog-doc-visual--payroll::before {
  box-shadow: 0 10px 0 rgba(95, 130, 168, 0.28), 0 20px 0 rgba(95, 130, 168, 0.28), 0 30px 0 rgba(95, 130, 168, 0.18);
}

.blog-doc-visual--quickbooks {
  border-radius: 18px 18px 12px 12px;
}

.blog-doc-visual--quickbooks::after {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(47, 167, 160, 0.72);
}

.blog-doc-visual--consulting::after {
  width: 24px;
  height: 24px;
  border: 2px solid rgba(47, 95, 145, 0.68);
  border-radius: 999px;
  background: transparent;
}

.blog-library-section .blog-article-card.is-hidden {
  display: none;
}

.blog-contact-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 34px;
  overflow: hidden;
}

.blog-contact-strip::after {
  content: "FS";
  position: absolute;
  right: 22px;
  bottom: -34px;
  color: rgba(95, 130, 168, 0.08);
  font-size: 8rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.blog-contact-strip p {
  margin-top: 10px;
  color: #66778b;
  font-weight: 650;
}

.blog-contact-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.proto-ready .blog-featured-section .blog-article-card,
.proto-ready .blog-library-section .blog-article-card,
.proto-ready .blog-contact-section .blog-contact-strip {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 430ms ease, transform 430ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.proto-ready .blog-featured-section.is-visible .blog-article-card,
.proto-ready .blog-library-section.is-visible .blog-article-card,
.proto-ready .blog-contact-section.is-visible .blog-contact-strip {
  opacity: 1;
  transform: translateY(0);
}

.proto-ready .blog-featured-section.is-visible .blog-article-card:nth-child(1) { transition-delay: 60ms; }
.proto-ready .blog-featured-section.is-visible .blog-article-card:nth-child(2) { transition-delay: 130ms; }
.proto-ready .blog-featured-section.is-visible .blog-article-card:nth-child(3) { transition-delay: 200ms; }
.proto-ready .blog-featured-section.is-visible .blog-article-card:nth-child(4) { transition-delay: 270ms; }

@media (max-width: 1120px) {
  .blog-featured-grid,
  .blog-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blog-library-top {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .blog-filter-bar {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .blog-hero__grid {
    grid-template-columns: 1fr;
  }

  .blog-contact-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .blog-contact-actions .btn {
    flex: 1;
  }
}

@media (max-width: 680px) {
  .blog-hero__copy h1,
  html[lang="ru"] .blog-hero__copy h1 {
    max-width: none;
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .blog-featured-grid,
  .blog-article-grid {
    grid-template-columns: 1fr;
  }

  .blog-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }

  .blog-filter {
    white-space: nowrap;
  }

  .blog-article-card {
    min-height: 300px;
    border-radius: 24px;
  }

  .blog-card-meta {
    max-width: calc(100% - 78px);
  }

  .blog-contact-actions,
  .blog-contact-actions .btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .proto-ready .blog-featured-section.is-visible .blog-article-card,
  .proto-ready .blog-library-section.is-visible .blog-article-card,
  .proto-ready .blog-contact-section.is-visible .blog-contact-strip {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Phase 7: Visual polish pass */
:root {
  --phase7-ice: #eef8fc;
  --phase7-metal: #2f5f91;
  --phase7-steel: #5f82a8;
  --phase7-platinum: #eef2f5;
  --phase7-line: rgba(184, 202, 214, 0.72);
  --phase7-shadow-primary: 0 28px 70px rgba(13, 34, 53, 0.11);
  --phase7-shadow-matrix: 0 18px 42px rgba(13, 34, 53, 0.075);
  --phase7-ease: cubic-bezier(0.2, 0.72, 0.22, 1);
}

.site-header {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 250, 249, 0.58));
  -webkit-backdrop-filter: blur(18px) saturate(1.06);
  backdrop-filter: blur(18px) saturate(1.06);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.92), transparent);
  pointer-events: none;
}

.logo-image,
.footer-logo {
  filter: drop-shadow(0 4px 10px rgba(13, 34, 53, 0.035));
  image-rendering: auto;
}

.site-nav {
  gap: clamp(8px, 1.05vw, 15px);
}

.site-nav a {
  isolation: isolate;
}

.site-nav a::before {
  content: "";
  position: absolute;
  inset: 3px 4px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.86), transparent 72%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.site-nav a:hover::before,
.site-nav a[aria-current="page"]::before {
  opacity: 1;
}

.site-header__panel {
  border: 1px solid rgba(184, 202, 214, 0.62);
  border-top: 0;
  border-radius: 0 0 26px 26px;
  background:
    radial-gradient(circle at 92% 0%, rgba(218, 242, 255, 0.36), transparent 32%),
    rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 46px rgba(13, 34, 53, 0.11);
}

.menu-toggle {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(238, 245, 247, 0.72));
  box-shadow: 0 12px 24px rgba(13, 34, 53, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  box-shadow: 0 20px 38px rgba(13, 34, 53, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.28) inset;
}

.hero {
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 4%;
  width: min(1120px, 92vw);
  height: min(560px, 62vh);
  transform: translateX(-50%);
  border-radius: 999px;
  background:
    radial-gradient(ellipse at 74% 44%, rgba(58, 155, 200, 0.16), transparent 54%),
    radial-gradient(ellipse at 32% 46%, rgba(184, 202, 214, 0.22), transparent 60%);
  filter: blur(26px);
  opacity: 0.62;
  pointer-events: none;
}

.hero-copy .eyebrow,
.contact-hero .eyebrow,
.blog-hero .eyebrow,
.service-hero .eyebrow,
.article-hero .eyebrow {
  color: var(--phase7-metal);
}

.hero-visual-shell--approved::before,
.hero-visual-shell--approved::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero-visual-shell--approved::before {
  left: 3%;
  right: 1%;
  top: 7%;
  bottom: 7%;
  z-index: -3;
  border: 1px solid rgba(184, 202, 214, 0.34);
  border-radius: 48px;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.28), transparent 34%),
    radial-gradient(circle at 52% 50%, rgba(255, 255, 255, 0.32), transparent 58%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
  transform: rotate(-1.2deg);
}

.hero-visual-shell--approved::after {
  right: 5%;
  top: 11%;
  z-index: -1;
  width: clamp(120px, 13vw, 178px);
  height: clamp(120px, 13vw, 178px);
  border-radius: 42px;
  border: 1px solid rgba(184, 202, 214, 0.44);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(238, 245, 247, 0.38));
  box-shadow: 0 24px 54px rgba(13, 34, 53, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  opacity: 0.56;
}

.hero-image-visual::before {
  opacity: 0.78;
  filter: blur(28px);
}

.hero-image-visual::after {
  height: 18%;
  opacity: 0.42;
}

.hero-global-shimmer,
.hero-composition-idle-sheen::before,
.hero-lunar-shimmer::before {
  animation-play-state: paused;
  opacity: 0;
}

.hero-image-visual:hover .hero-global-shimmer,
.hero-image-visual:hover .hero-composition-idle-sheen::before,
.hero-image-visual:hover .hero-lunar-shimmer::before {
  animation-play-state: running;
  opacity: 1;
}

.proto-ready .hero-copy.fade-in.is-visible > .eyebrow,
.proto-ready .hero-copy.fade-in.is-visible > .hero-title-premium,
.proto-ready .hero-copy.fade-in.is-visible > .lead,
.proto-ready .hero-copy.fade-in.is-visible > .btn-group,
.proto-ready .hero-copy.fade-in.is-visible > .hero-support-lines {
  animation-duration: 580ms;
  animation-timing-function: var(--phase7-ease);
}

.proto-ready .hero-copy.fade-in.is-visible > .eyebrow { animation-delay: 40ms; }
.proto-ready .hero-copy.fade-in.is-visible > .hero-title-premium { animation-delay: 160ms; }
.proto-ready .hero-copy.fade-in.is-visible > .lead { animation-delay: 300ms; }
.proto-ready .hero-copy.fade-in.is-visible > .btn-group { animation-delay: 440ms; }
.proto-ready .hero-copy.fade-in.is-visible > .hero-support-lines { animation-delay: 560ms; }

.proof-strip {
  padding-top: 16px;
}

.proof-strip__grid {
  gap: clamp(14px, 2vw, 24px);
}

.proof-card {
  min-height: 154px;
  padding: 24px 24px 24px;
  border-color: rgba(184, 202, 214, 0.7);
  box-shadow: var(--phase7-shadow-matrix), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.proof-card::before {
  inset: 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.74), transparent 40%),
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.78), transparent 28%);
}

.proof-card .proof-value {
  position: relative;
  padding-top: 38px;
}

.proof-card .proof-value::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(95, 130, 168, 0.34);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(238, 245, 247, 0.58));
  box-shadow: 0 8px 18px rgba(13, 34, 53, 0.055);
}

.proof-card:nth-child(1) .proof-value::before {
  background:
    linear-gradient(90deg, transparent 44%, rgba(47, 95, 145, 0.58) 44% 56%, transparent 56%),
    linear-gradient(180deg, transparent 44%, rgba(47, 95, 145, 0.58) 44% 56%, transparent 56%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(226, 244, 251, 0.62));
}

.proof-card:nth-child(2) .proof-value::before {
  border-radius: 10px 10px 14px 14px;
  background:
    linear-gradient(180deg, rgba(47, 95, 145, 0.58) 0 4px, transparent 4px),
    repeating-linear-gradient(180deg, transparent 0 7px, rgba(95, 130, 168, 0.38) 7px 9px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(223, 235, 244, 0.66));
}

.proof-card:nth-child(3) .proof-value::before {
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(47, 95, 145, 0.58) 0 4px, transparent 5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(238, 245, 247, 0.62));
}

.proof-card:hover,
.proof-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(47, 95, 145, 0.48);
  box-shadow: 0 24px 52px rgba(13, 34, 53, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.96);
}

.proto-ready .proof-strip[data-proof-strip].is-visible .proof-card:nth-child(1) { transition-delay: 620ms; }
.proto-ready .proof-strip[data-proof-strip].is-visible .proof-card:nth-child(2) { transition-delay: 760ms; }
.proto-ready .proof-strip[data-proof-strip].is-visible .proof-card:nth-child(3) { transition-delay: 900ms; }

.service-hero {
  position: relative;
  overflow: hidden;
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 8% 0 auto 48%;
  width: 460px;
  height: 460px;
  border-radius: 999px;
  background: radial-gradient(circle, var(--service-accent-soft), transparent 67%);
  filter: blur(22px);
  opacity: 0.72;
  pointer-events: none;
}

.service-dossier-visual {
  box-shadow: var(--phase7-shadow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.service-dossier-visual::before,
.service-dossier-visual::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.service-dossier-visual::before {
  inset: 18px;
  z-index: 0;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.3), transparent 36%),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.38), transparent 28%);
}

.service-dossier-visual::after {
  left: 10%;
  right: 10%;
  bottom: 8%;
  z-index: 0;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(ellipse, rgba(13, 34, 53, 0.18), transparent 70%);
  filter: blur(10px);
}

.service-doc--front {
  box-shadow: 0 22px 42px rgba(13, 34, 53, 0.11), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.service-doc-label {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.44);
}

.service-dossier-visual--quickbooks .service-doc--front::after,
.service-dossier-visual--sales .service-doc--front::after,
.service-dossier-visual--payroll .service-doc--front::after,
.service-dossier-visual--tax .service-doc--front::after,
.service-dossier-visual--consulting .service-doc--front::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--service-accent), transparent);
  opacity: 0.52;
}

.service-dossier-visual--quickbooks .service-folder::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 28px;
  height: 9px;
  border-radius: 999px;
  background: rgba(47, 95, 145, 0.2);
  box-shadow: 0 -22px 0 rgba(58, 155, 200, 0.16), 0 -44px 0 rgba(95, 130, 168, 0.13);
}

.service-dossier-visual--sales .service-mini-card {
  border-radius: 18px 18px 28px 28px;
}

.service-dossier-visual--sales .service-mini-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 15px;
  height: 8px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(47, 95, 145, 0.28) 0 6px, transparent 6px 10px);
}

.service-dossier-visual--tax .service-folder::after {
  content: "Tax Year";
  position: absolute;
  right: 24px;
  top: 24px;
  color: var(--service-accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.service-dossier-visual--consulting .service-floating-note::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 28px;
  height: 28px;
  border: 2px solid rgba(47, 95, 145, 0.42);
  border-radius: 999px;
  box-shadow: 15px 14px 0 -11px rgba(47, 95, 145, 0.42);
}

.service-context-strip__inner span,
.service-panel,
.service-process-list li,
.service-related-card,
.service-final-cta {
  position: relative;
  overflow: hidden;
}

.service-context-strip__inner span::before,
.service-panel::before,
.service-process-list li::before,
.service-related-card::before,
.service-final-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(184, 202, 214, 0.22), transparent);
  pointer-events: none;
}

.service-process-list li {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(238, 245, 247, 0.58));
}

.service-process-list span {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--service-accent-soft);
}

.service-related-card small::after,
.article-related-card strong::after,
.blog-card-cta span::after {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  margin-left: 8px;
  vertical-align: middle;
  background: currentColor;
  opacity: 0.45;
  transition: transform 180ms ease;
}

.service-related-card:hover small::after,
.service-related-card:focus-visible small::after,
.article-related-card:hover strong::after,
.article-related-card:focus-visible strong::after,
.blog-article-card:hover .blog-card-cta span::after,
.blog-article-card:focus-visible .blog-card-cta span::after {
  transform: translateX(4px);
}

.article-shell {
  position: relative;
}

.article-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 520px;
  background:
    radial-gradient(circle at 74% 24%, var(--article-accent-soft), transparent 36%),
    linear-gradient(180deg, rgba(238, 245, 247, 0.58), transparent 78%);
  pointer-events: none;
}

.article-breadcrumbs,
.article-hero,
.article-layout,
.article-contact-strip {
  position: relative;
  z-index: 1;
}

.article-hero {
  padding: clamp(28px, 4vw, 46px);
  margin-bottom: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(184, 202, 214, 0.46);
  border-radius: 38px;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 255, 255, 0.82), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.62), rgba(238, 245, 247, 0.28));
  box-shadow: 0 22px 58px rgba(13, 34, 53, 0.075), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.article-content {
  max-width: 760px;
}

.article-content p,
.article-content li {
  overflow-wrap: anywhere;
}

.article-note-box,
.article-checklist-box,
.article-related-box {
  position: relative;
  overflow: hidden;
}

.article-note-box::before,
.article-checklist-box::before,
.article-related-box::before {
  content: "";
  position: absolute;
  right: 22px;
  top: 22px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(95, 130, 168, 0.24);
  border-radius: 15px;
  background:
    linear-gradient(180deg, rgba(47, 95, 145, 0.22) 0 5px, transparent 5px),
    repeating-linear-gradient(180deg, transparent 0 9px, rgba(95, 130, 168, 0.24) 9px 11px),
    rgba(255, 255, 255, 0.54);
}

.article-note-box h2,
.article-checklist-box h2,
.article-related-box h2 {
  padding-right: 58px;
}

.article-related-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(238, 245, 247, 0.56));
}

.article-contact-strip {
  box-shadow: var(--phase7-shadow-matrix);
}

.blog-hero-card::before,
.blog-contact-strip::before,
.blog-article-card::before,
.contact-summary-card::before,
.contact-option-card::after,
.contact-form-card::before,
.contact-next-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(184, 202, 214, 0.32), transparent);
  pointer-events: none;
}

.blog-hero-card {
  box-shadow: var(--phase7-shadow-primary), inset 0 1px 0 rgba(255, 255, 255, 0.94);
}

.blog-article-card {
  box-shadow: var(--phase7-shadow-matrix), inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.blog-doc-visual {
  transform: rotate(2deg);
}

.blog-article-card:nth-child(3n + 2) .blog-doc-visual {
  transform: rotate(-3deg);
}

.blog-filter-bar {
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 0 0 1px rgba(184, 202, 214, 0.38);
}

.contact-option-card:nth-child(1) .contact-option-icon {
  border-radius: 999px;
}

.contact-option-card:nth-child(2) .contact-option-icon {
  border-radius: 13px 13px 18px 18px;
}

.contact-option-card:nth-child(3) .contact-option-icon::after {
  width: 16px;
  height: 2px;
}

.contact-option-card:nth-child(4) .contact-option-icon::before {
  box-shadow: 0 7px 0 rgba(95, 130, 168, 0.34), 0 14px 0 rgba(95, 130, 168, 0.24);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.contact-checkbox input:focus-visible {
  outline: 3px solid rgba(47, 95, 145, 0.18);
  outline-offset: 3px;
}

@media (max-width: 1180px) {
  .hero-visual-shell--approved::before {
    inset: 8% 4%;
  }

  .article-hero {
    padding: clamp(24px, 4vw, 34px);
  }
}

@media (max-width: 860px) {
  .site-header__panel {
    width: min(calc(100% - 32px), 720px);
  }

  .hero::before {
    top: 12%;
    height: 420px;
  }

  .hero-visual-shell--approved::after {
    display: none;
  }

  .proof-card {
    border-radius: 24px;
  }

  .article-hero {
    border-radius: 30px;
  }

  .article-meta-row span {
    min-height: 34px;
  }
}

@media (max-width: 680px) {
  .container,
  .service-page .container,
  .article-page .container {
    width: min(100%, calc(100vw - 36px));
  }

  .site-header__inner {
    gap: 12px;
  }

  .site-header__inner .header-actions .btn-primary {
    display: none;
  }

  .hero > .container {
    width: min(100%, calc(100vw - 32px));
  }

  .hero-title-premium,
  html[lang="ru"] .hero-title-premium,
  .service-hero__copy h1,
  html[lang="ru"] .service-hero__copy h1,
  .article-hero__copy h1,
  html[lang="ru"] .article-hero__copy h1 {
    max-width: none;
    overflow-wrap: anywhere;
  }

  .hero-support-lines p,
  .article-meta-row span,
  .blog-card-meta,
  .contact-summary-list a,
  .contact-summary-list strong {
    overflow-wrap: anywhere;
  }

  .proof-strip__grid,
  .service-context-strip__inner,
  .service-check-grid,
  .service-related-grid {
    grid-template-columns: 1fr;
  }

  .blog-filter-bar {
    border-radius: 22px;
    margin-inline: -2px;
  }

  .contact-option-card,
  .blog-article-card,
  .service-panel,
  .article-note-box,
  .article-checklist-box,
  .article-related-box {
    border-radius: 22px;
  }

  .article-contact-actions,
  .article-contact-actions .btn,
  .service-final-actions,
  .service-final-actions .btn,
  .blog-contact-actions,
  .blog-contact-actions .btn {
    width: 100%;
  }
}

/* Phase 9.1: shared first-screen spacing system. */
.hero {
  padding-top: var(--hero-gap-home);
}

.service-hero {
  padding-top: var(--hero-gap-service);
  align-items: flex-start;
  min-height: clamp(560px, calc(100svh - var(--header-height) - var(--hero-gap-service)), 700px);
}

.contact-hero,
.blog-hero,
.article-shell,
body > main.section {
  padding-top: var(--hero-gap-inner);
}

@media (max-width: 1180px) {
  :root {
    --hero-gap-home: clamp(28px, 3.8vh, 40px);
    --hero-gap-service: clamp(12px, 1.8vh, 20px);
    --hero-gap-inner: clamp(20px, 3vh, 28px);
  }
}

@media (max-width: 680px) {
  :root {
    --hero-gap-home: clamp(18px, 5.5vw, 28px);
    --hero-gap-service: clamp(18px, 5.5vw, 28px);
    --hero-gap-inner: clamp(14px, 4.8vw, 24px);
  }

  .hero,
  .service-hero,
  .contact-hero,
  .blog-hero,
  .article-shell,
  body > main.section {
    padding-top: var(--page-hero-offset, var(--hero-gap-inner));
  }

  .hero {
    --page-hero-offset: var(--hero-gap-home);
  }

  .service-hero {
    --page-hero-offset: var(--hero-gap-service);
  }
}

/* Phase 9.2: premium H1 balance for homepage and service heroes only. */
.hero-title-premium {
  font-size: var(--hero-title-home-en);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

html[lang="ru"] .hero-title-premium {
  font-size: var(--hero-title-home-ru);
  line-height: 1.01;
}

.service-hero__copy h1 {
  font-size: var(--hero-title-service-en);
  line-height: 0.98;
  letter-spacing: -0.052em;
}

html[lang="ru"] .service-hero__copy h1 {
  font-size: var(--hero-title-service-ru);
  line-height: 1;
}

.service-page--registration-hero .service-hero__copy h1 {
  font-size: var(--hero-title-service-en);
  line-height: 0.98;
}

html[lang="ru"] .service-page--registration-hero .service-hero__copy h1 {
  font-size: var(--hero-title-service-ru);
  line-height: 1.01;
}

@media (max-width: 1180px) {
  :root {
    --hero-title-home-en: clamp(42px, 7.25vw, 60px);
    --hero-title-home-ru: clamp(40px, 7vw, 56px);
    --hero-title-service-en: clamp(2.56rem, 4.25vw, 4.28rem);
    --hero-title-service-ru: clamp(2.38rem, 3.85vw, 3.75rem);
    --hero-title-inner-en: clamp(2.12rem, 5.8vw, 3.4rem);
    --hero-title-inner-ru: clamp(2.02rem, 5.4vw, 3.2rem);
  }
}

@media (max-width: 680px) {
  :root {
    --hero-title-home-en: clamp(36px, 10.4vw, 47px);
    --hero-title-home-ru: clamp(34px, 9.8vw, 44px);
    --hero-title-service-en: clamp(2.18rem, 8.4vw, 3rem);
    --hero-title-service-ru: clamp(2.08rem, 8vw, 2.82rem);
    --hero-title-inner-en: clamp(2rem, 8.8vw, 2.85rem);
    --hero-title-inner-ru: clamp(1.95rem, 8.2vw, 2.7rem);
  }

  .hero-title-premium,
  html[lang="ru"] .hero-title-premium {
    line-height: 1.07;
  }

  .service-hero__copy h1,
  html[lang="ru"] .service-hero__copy h1,
  .service-page--registration-hero .service-hero__copy h1,
  html[lang="ru"] .service-page--registration-hero .service-hero__copy h1 {
    line-height: 1.02;
  }
}

/* Inner page H1 normalization: contact, materials, articles and legal pages. */
.contact-hero h1,
.blog-hero__copy h1,
.article-hero__copy h1,
body > main.section .article-content > h1 {
  font-size: var(--hero-title-inner-en);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

html[lang="ru"] .contact-hero h1,
html[lang="ru"] .blog-hero__copy h1,
html[lang="ru"] .article-hero__copy h1 {
  font-size: var(--hero-title-inner-ru);
  line-height: 1.04;
}

/* Hero button standard: homepage and service heroes keep two aligned actions. */
.hero .hero-copy .btn-group,
.service-hero__copy .btn-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(230px, 1fr));
  gap: 14px;
  width: min(100%, 540px);
  align-items: stretch;
}

.hero .hero-copy .btn-group .btn,
.service-hero__copy .btn-group .btn {
  width: 100%;
  min-height: 54px;
  padding-inline: 20px;
  text-align: center;
}

@media (max-width: 760px) {
  .hero .hero-copy .btn-group,
  .service-hero__copy .btn-group {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

/* Registration service hero: full artwork, soft page blend, service-specific shimmer. */
.service-page--registration-hero .service-hero__visual--image {
  overflow: visible;
}

.service-page--registration-hero .service-hero-image-wrap {
  --registration-hero-x: 8px;
  width: min(112%, 922px);
  max-width: none;
  aspect-ratio: 2048 / 1700;
  background: transparent;
  transform: translateX(var(--registration-hero-x));
  animation: registrationHeroFloat 7.8s ease-in-out infinite;
  isolation: isolate;
}

.service-page--registration-hero .service-hero-image-wrap::before {
  inset: 7% 7% 8%;
  z-index: -1;
  border-radius: 44% 48% 38% 42%;
  background:
    radial-gradient(circle at 48% 54%, rgba(34, 132, 220, 0.21), transparent 58%),
    radial-gradient(circle at 54% 75%, rgba(42, 203, 219, 0.14), transparent 52%),
    radial-gradient(circle at 76% 18%, rgba(226, 238, 249, 0.5), transparent 42%);
  filter: blur(28px);
  opacity: 0.78;
  transition: opacity 360ms ease, filter 360ms ease;
}

.service-page--registration-hero .service-hero-image-wrap::after {
  inset: -2% -1%;
  z-index: 4;
  border-radius: 0;
  background:
    linear-gradient(112deg, transparent 0 38%, rgba(255, 255, 255, 0.18) 45%, rgba(161, 219, 239, 0.22) 52%, transparent 64%),
    radial-gradient(ellipse at 60% 22%, rgba(255, 255, 255, 0.18), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-42%) skewX(-10deg);
  animation: registrationHeroShimmer 10.8s ease-in-out infinite;
  transition: opacity 360ms ease, filter 360ms ease;
}

.service-page--registration-hero .service-hero-image-wrap picture {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
  background: transparent;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 2.4%, #000 5.2%, #000 92.5%, rgba(0, 0, 0, 0.72) 95.2%, rgba(0, 0, 0, 0.34) 98%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.38) 2%, rgba(0, 0, 0, 0.86) 4.2%, #000 6.4%, #000 95.4%, rgba(0, 0, 0, 0.46) 98%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 2.4%, #000 5.2%, #000 92.5%, rgba(0, 0, 0, 0.72) 95.2%, rgba(0, 0, 0, 0.34) 98%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.38) 2%, rgba(0, 0, 0, 0.86) 4.2%, #000 6.4%, #000 95.4%, rgba(0, 0, 0, 0.46) 98%, transparent 100%);
  mask-composite: intersect;
}

.service-page--registration-hero .service-hero-image-wrap picture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(248, 250, 249, 0.9) 0 10px, rgba(248, 250, 249, 0.48) 22px, rgba(248, 250, 249, 0.12) 38px, rgba(248, 250, 249, 0) 54px),
    linear-gradient(0deg, rgba(248, 250, 249, 0.88) 0 8px, rgba(248, 250, 249, 0.42) 18px, rgba(248, 250, 249, 0.1) 32px, rgba(248, 250, 249, 0) 48px),
    linear-gradient(90deg, rgba(248, 250, 249, 0.84) 0 8px, rgba(248, 250, 249, 0.36) 18px, rgba(248, 250, 249, 0.08) 34px, rgba(248, 250, 249, 0) 50px, rgba(248, 250, 249, 0) calc(100% - 72px), rgba(248, 250, 249, 0.08) calc(100% - 52px), rgba(248, 250, 249, 0.34) calc(100% - 30px), rgba(248, 250, 249, 0.72) calc(100% - 14px), rgba(248, 250, 249, 0.92) 100%);
}

.service-page--registration-hero .service-hero-image-wrap picture::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.36;
  background:
    linear-gradient(118deg, transparent 0 24%, rgba(255, 255, 255, 0.2) 32%, transparent 42%),
    linear-gradient(104deg, transparent 0 54%, rgba(172, 220, 244, 0.18) 60%, transparent 68%),
    radial-gradient(ellipse at 47% 25%, rgba(255, 255, 255, 0.22), transparent 32%);
  background-size: 160% 100%, 150% 100%, 100% 100%;
  animation: registrationHeroLunar 12s cubic-bezier(0.42, 0, 0.24, 1) infinite;
  transition: opacity 360ms ease, filter 360ms ease;
}

.service-page--registration-hero .service-hero-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 46px rgba(13, 51, 92, 0.1))
    drop-shadow(0 8px 20px rgba(0, 115, 255, 0.08));
  -webkit-mask-image: none;
  mask-image: none;
}

.service-page--registration-hero .service-hero-image-wrap:hover::before {
  opacity: 1;
  filter: blur(32px);
}

.service-page--registration-hero .service-hero-image-wrap:hover::after {
  opacity: 0.82;
  animation: registrationHeroHoverSweep 1350ms cubic-bezier(0.2, 0.72, 0.22, 1) both;
  filter: brightness(1.14);
}

.service-page--registration-hero .service-hero-image-wrap:hover picture::after {
  opacity: 0.7;
  filter: brightness(1.2) saturate(1.1);
  animation:
    registrationHeroHoverLunar 1400ms cubic-bezier(0.2, 0.72, 0.22, 1) both,
    registrationHeroLunar 7.2s cubic-bezier(0.42, 0, 0.24, 1) infinite 1400ms;
}

.service-page--registration-hero .service-hero-image-wrap:hover .service-hero-image {
  transform: translateY(-2px) scale(1.006);
  filter:
    drop-shadow(0 30px 58px rgba(13, 51, 92, 0.14))
    drop-shadow(0 10px 24px rgba(0, 115, 255, 0.12));
}

html[lang="en"] .service-page--registration-hero .service-hero__copy {
  transform: translateY(-14px);
}

@media (max-width: 1180px) {
  html[lang="en"] .service-page--registration-hero .service-hero__copy {
    transform: translateY(-8px);
  }

  .service-page--registration-hero .service-hero-image-wrap {
    --registration-hero-x: 6px;
    width: min(106%, 798px);
  }
}

@media (max-width: 680px) {
  html[lang="en"] .service-page--registration-hero .service-hero__copy {
    transform: none;
  }

  .service-page--registration-hero .service-hero-image-wrap {
    --registration-hero-x: 0px;
    width: min(103%, 669px);
  }

  .service-page--registration-hero .service-hero-image-wrap picture::before {
    background:
      linear-gradient(180deg, rgba(248, 250, 249, 0.9) 0 7px, rgba(248, 250, 249, 0.42) 16px, rgba(248, 250, 249, 0.08) 28px, rgba(248, 250, 249, 0) 42px),
      linear-gradient(0deg, rgba(248, 250, 249, 0.86) 0 7px, rgba(248, 250, 249, 0.34) 16px, rgba(248, 250, 249, 0.08) 28px, rgba(248, 250, 249, 0) 42px),
      linear-gradient(90deg, rgba(248, 250, 249, 0.82) 0 7px, rgba(248, 250, 249, 0.32) 16px, rgba(248, 250, 249, 0.06) 28px, rgba(248, 250, 249, 0) 42px, rgba(248, 250, 249, 0) calc(100% - 42px), rgba(248, 250, 249, 0.06) calc(100% - 28px), rgba(248, 250, 249, 0.32) calc(100% - 16px), rgba(248, 250, 249, 0.84) calc(100% - 7px), rgba(248, 250, 249, 0.9) 100%);
  }
}

/* QuickBooks service hero: image artwork with aqua glow and glass-light shimmer. */
.service-page--quickbooks-hero .service-hero__grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 0.98fr);
  gap: clamp(28px, 4.2vw, 58px);
}

.service-page--quickbooks-hero .service-hero__copy {
  max-width: 610px;
}

.service-page--quickbooks-hero .service-hero__copy h1 {
  max-width: 12.4ch;
  font-size: clamp(2.42rem, 3.85vw, 4.12rem);
}

html[lang="ru"] .service-page--quickbooks-hero .service-hero__copy h1 {
  max-width: 13.8ch;
  font-size: clamp(2.28rem, 3.38vw, 3.55rem);
}

.service-page--quickbooks-hero .service-hero__copy .lead {
  max-width: 620px;
}

.service-page--quickbooks-hero .service-hero__visual--image {
  overflow: visible;
}

.service-page--quickbooks-hero .service-hero-image-wrap {
  --quickbooks-hero-x: 8px;
  width: min(112%, 912px);
  max-width: none;
  aspect-ratio: 2048 / 1700;
  background: transparent;
  transform: translateX(var(--quickbooks-hero-x));
  animation: quickbooksHeroFloat 8.4s ease-in-out infinite;
  isolation: isolate;
}

.service-page--quickbooks-hero .service-hero-image-wrap::before {
  inset: 6% 6% 9%;
  z-index: -1;
  border-radius: 46% 50% 39% 43%;
  background:
    radial-gradient(circle at 46% 52%, rgba(0, 170, 188, 0.24), transparent 57%),
    radial-gradient(circle at 62% 72%, rgba(37, 213, 219, 0.16), transparent 53%),
    radial-gradient(circle at 76% 18%, rgba(224, 250, 250, 0.54), transparent 42%);
  filter: blur(29px);
  opacity: 0.76;
  transition: opacity 380ms ease, filter 380ms ease, transform 380ms ease;
  animation: quickbooksHeroGlow 9.4s ease-in-out infinite;
}

.service-page--quickbooks-hero .service-hero-image-wrap::after {
  inset: -2% -1%;
  z-index: 4;
  border-radius: 0;
  background:
    linear-gradient(109deg, transparent 0 39%, rgba(255, 255, 255, 0.16) 45%, rgba(116, 226, 232, 0.25) 51%, rgba(255, 255, 255, 0.14) 56%, transparent 66%),
    radial-gradient(ellipse at 66% 20%, rgba(255, 255, 255, 0.18), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-43%) skewX(-8deg);
  animation: quickbooksHeroShimmer 11.6s ease-in-out infinite;
  transition: opacity 380ms ease, filter 380ms ease;
}

.service-page--quickbooks-hero .service-hero-picture--quickbooks {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
  background: transparent;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.48) 2.5%, #000 5.4%, #000 92.2%, rgba(0, 0, 0, 0.7) 95.2%, rgba(0, 0, 0, 0.32) 98%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.36) 2.1%, rgba(0, 0, 0, 0.86) 4.4%, #000 6.6%, #000 95.2%, rgba(0, 0, 0, 0.44) 98%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.48) 2.5%, #000 5.4%, #000 92.2%, rgba(0, 0, 0, 0.7) 95.2%, rgba(0, 0, 0, 0.32) 98%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.36) 2.1%, rgba(0, 0, 0, 0.86) 4.4%, #000 6.6%, #000 95.2%, rgba(0, 0, 0, 0.44) 98%, transparent 100%);
  mask-composite: intersect;
}

.service-page--quickbooks-hero .service-hero-picture--quickbooks::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.92) 0 10px, rgba(248, 251, 253, 0.5) 22px, rgba(248, 251, 253, 0.12) 38px, rgba(248, 251, 253, 0) 54px),
    linear-gradient(0deg, rgba(248, 251, 253, 0.86) 0 8px, rgba(248, 251, 253, 0.4) 18px, rgba(248, 251, 253, 0.1) 32px, rgba(248, 251, 253, 0) 48px),
    linear-gradient(90deg, rgba(248, 251, 253, 0.84) 0 8px, rgba(248, 251, 253, 0.36) 18px, rgba(248, 251, 253, 0.08) 34px, rgba(248, 251, 253, 0) 50px, rgba(248, 251, 253, 0) calc(100% - 76px), rgba(248, 251, 253, 0.08) calc(100% - 54px), rgba(248, 251, 253, 0.36) calc(100% - 30px), rgba(248, 251, 253, 0.78) calc(100% - 14px), rgba(248, 251, 253, 0.94) 100%),
    radial-gradient(ellipse at 98% 4%, rgba(248, 251, 253, 0.82) 0%, rgba(248, 251, 253, 0.36) 15%, rgba(248, 251, 253, 0.06) 28%, rgba(248, 251, 253, 0) 38%);
}

.service-page--quickbooks-hero .service-hero-picture--quickbooks::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.34;
  background:
    linear-gradient(116deg, transparent 0 25%, rgba(255, 255, 255, 0.18) 33%, transparent 43%),
    linear-gradient(101deg, transparent 0 53%, rgba(137, 230, 234, 0.22) 60%, transparent 69%),
    radial-gradient(ellipse at 50% 24%, rgba(255, 255, 255, 0.2), transparent 32%);
  background-size: 160% 100%, 150% 100%, 100% 100%;
  animation: quickbooksHeroGlass 12.8s cubic-bezier(0.42, 0, 0.24, 1) infinite;
  transition: opacity 380ms ease, filter 380ms ease;
}

.service-page--quickbooks-hero .service-hero-image--quickbooks {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 46px rgba(13, 61, 80, 0.1))
    drop-shadow(0 8px 20px rgba(0, 150, 170, 0.09));
  -webkit-mask-image: none;
  mask-image: none;
}

.service-page--quickbooks-hero .service-hero-image-wrap:hover::before {
  opacity: 1;
  filter: blur(33px);
  transform: scale(1.012);
}

.service-page--quickbooks-hero .service-hero-image-wrap:hover::after {
  opacity: 0.74;
  animation: quickbooksHeroHoverSweep 1450ms cubic-bezier(0.2, 0.72, 0.22, 1) both;
  filter: brightness(1.12);
}

.service-page--quickbooks-hero .service-hero-image-wrap:hover .service-hero-picture--quickbooks::after {
  opacity: 0.64;
  filter: brightness(1.18) saturate(1.08);
  animation:
    quickbooksHeroHoverGlass 1500ms cubic-bezier(0.2, 0.72, 0.22, 1) both,
    quickbooksHeroGlass 7.8s cubic-bezier(0.42, 0, 0.24, 1) infinite 1500ms;
}

.service-page--quickbooks-hero .service-hero-image-wrap:hover .service-hero-image--quickbooks {
  transform: translateY(-1px) scale(1.004);
  filter:
    drop-shadow(0 28px 54px rgba(13, 61, 80, 0.13))
    drop-shadow(0 9px 23px rgba(0, 150, 170, 0.12));
}

html[lang="en"] .service-page--quickbooks-hero .service-hero__copy {
  transform: translateY(-10px);
}

@media (max-width: 1180px) {
  .service-page--quickbooks-hero .service-hero__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.94fr);
    gap: clamp(22px, 4vw, 42px);
  }

  html[lang="en"] .service-page--quickbooks-hero .service-hero__copy {
    transform: translateY(-6px);
  }

  .service-page--quickbooks-hero .service-hero__copy h1 {
    font-size: clamp(2.32rem, 3.55vw, 3.72rem);
  }

  html[lang="ru"] .service-page--quickbooks-hero .service-hero__copy h1 {
    font-size: clamp(2.14rem, 3.2vw, 3.28rem);
  }

  .service-page--quickbooks-hero .service-hero-image-wrap {
    --quickbooks-hero-x: 6px;
    width: min(106%, 790px);
  }
}

@media (max-width: 860px) {
  .service-page--quickbooks-hero .service-hero__copy,
  .service-page--quickbooks-hero .service-hero__copy .lead,
  .service-page--quickbooks-hero .service-hero__copy .btn-group {
    max-width: 100%;
  }

  .service-page--quickbooks-hero .service-hero__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-page--quickbooks-hero .service-hero__copy h1,
  html[lang="ru"] .service-page--quickbooks-hero .service-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(2.12rem, 8.2vw, 3rem);
    line-height: 1;
  }

  html[lang="en"] .service-page--quickbooks-hero .service-hero__copy {
    transform: none;
  }

  .service-page--quickbooks-hero .service-hero__visual--image {
    justify-self: center;
  }

  .service-page--quickbooks-hero .service-hero-image-wrap {
    --quickbooks-hero-x: 0px;
    width: min(100%, 640px);
    margin-top: 10px;
    transform: none;
  }

  .service-page--quickbooks-hero .service-hero-picture--quickbooks::before {
    background:
      linear-gradient(180deg, rgba(248, 251, 253, 1) 0 8px, rgba(248, 251, 253, 0.68) 16px, rgba(248, 251, 253, 0.16) 27px, rgba(248, 251, 253, 0) 38px),
      linear-gradient(0deg, rgba(248, 251, 253, 0.86) 0 8px, rgba(248, 251, 253, 0.38) 16px, rgba(248, 251, 253, 0.1) 26px, rgba(248, 251, 253, 0) 38px),
      linear-gradient(90deg, rgba(248, 251, 253, 0.82) 0 8px, rgba(248, 251, 253, 0.34) 16px, rgba(248, 251, 253, 0.06) 27px, rgba(248, 251, 253, 0) 38px, rgba(248, 251, 253, 0) calc(100% - 40px), rgba(248, 251, 253, 0.08) calc(100% - 28px), rgba(248, 251, 253, 0.36) calc(100% - 16px), rgba(248, 251, 253, 0.84) calc(100% - 8px), rgba(248, 251, 253, 1) 100%),
      radial-gradient(ellipse at 98% 3%, rgba(248, 251, 253, 1) 0%, rgba(248, 251, 253, 0.46) 13%, rgba(248, 251, 253, 0.06) 25%, rgba(248, 251, 253, 0) 34%);
  }
}

@media (max-width: 680px) {
  .service-page--quickbooks-hero .service-hero-image-wrap {
    --quickbooks-hero-x: 0px;
    width: min(103%, 660px);
  }

  .service-page--quickbooks-hero .service-hero-picture--quickbooks::before {
    background:
      linear-gradient(180deg, rgba(248, 251, 253, 0.9) 0 7px, rgba(248, 251, 253, 0.42) 16px, rgba(248, 251, 253, 0.08) 28px, rgba(248, 251, 253, 0) 42px),
      linear-gradient(0deg, rgba(248, 251, 253, 0.86) 0 7px, rgba(248, 251, 253, 0.34) 16px, rgba(248, 251, 253, 0.08) 28px, rgba(248, 251, 253, 0) 42px),
      linear-gradient(90deg, rgba(248, 251, 253, 0.82) 0 7px, rgba(248, 251, 253, 0.32) 16px, rgba(248, 251, 253, 0.06) 28px, rgba(248, 251, 253, 0) 42px, rgba(248, 251, 253, 0) calc(100% - 42px), rgba(248, 251, 253, 0.06) calc(100% - 28px), rgba(248, 251, 253, 0.32) calc(100% - 16px), rgba(248, 251, 253, 0.84) calc(100% - 7px), rgba(248, 251, 253, 0.9) 100%);
  }
}

@keyframes quickbooksHeroFloat {
  0%, 100% {
    transform: translate3d(var(--quickbooks-hero-x, 8px), 0, 0);
  }
  50% {
    transform: translate3d(var(--quickbooks-hero-x, 8px), -5px, 0);
  }
}

@keyframes quickbooksHeroGlow {
  0%, 100% {
    opacity: 0.68;
    transform: scale(0.985);
  }
  50% {
    opacity: 0.94;
    transform: scale(1.026);
  }
}

@keyframes quickbooksHeroShimmer {
  0%, 30% {
    opacity: 0;
    transform: translateX(-43%) skewX(-8deg);
  }
  42% {
    opacity: 0.62;
  }
  57% {
    opacity: 0;
    transform: translateX(43%) skewX(-8deg);
  }
  100% {
    opacity: 0;
    transform: translateX(43%) skewX(-8deg);
  }
}

@keyframes quickbooksHeroGlass {
  0%, 20% {
    opacity: 0.2;
    background-position: -48% 0, 128% 0, 50% 50%;
  }
  38% {
    opacity: 0.46;
  }
  64%, 100% {
    opacity: 0.23;
    background-position: 70% 0, -36% 0, 50% 50%;
  }
}

@keyframes quickbooksHeroHoverSweep {
  0% {
    opacity: 0;
    transform: translateX(-44%) skewX(-8deg);
  }
  36% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translateX(44%) skewX(-8deg);
  }
}

@keyframes quickbooksHeroHoverGlass {
  0% {
    opacity: 0.26;
    background-position: -40% 0, 122% 0, 50% 50%;
  }
  44% {
    opacity: 0.64;
  }
  100% {
    opacity: 0.38;
    background-position: 66% 0, -30% 0, 50% 50%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-page--quickbooks-hero .service-hero-image-wrap,
  .service-page--quickbooks-hero .service-hero-image-wrap::before,
  .service-page--quickbooks-hero .service-hero-image-wrap::after,
  .service-page--quickbooks-hero .service-hero-picture--quickbooks::after {
    animation: none !important;
  }

  .service-page--quickbooks-hero .service-hero-image-wrap:hover,
  .service-page--quickbooks-hero .service-hero-image-wrap:hover::before,
  .service-page--quickbooks-hero .service-hero-image-wrap:hover::after,
  .service-page--quickbooks-hero .service-hero-image-wrap:hover .service-hero-image--quickbooks {
    transform: none !important;
  }
}

/* Sales tax service hero: follows the service 02 image layout with a softer white-edge blend. */
.service-page--sales-tax-hero .service-hero__grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 0.98fr);
  gap: clamp(28px, 4.2vw, 58px);
}

.service-page--sales-tax-hero .service-hero__copy {
  max-width: 610px;
}

.service-page--sales-tax-hero .service-hero__copy h1 {
  max-width: 12.4ch;
  font-size: clamp(2.42rem, 3.85vw, 4.12rem);
}

html[lang="ru"] .service-page--sales-tax-hero .service-hero__copy h1 {
  max-width: 13.8ch;
  font-size: clamp(2.18rem, 3.28vw, 3.48rem);
}

.service-page--sales-tax-hero .service-hero__copy .lead {
  max-width: 620px;
}

.service-page--sales-tax-hero .service-hero__visual--image {
  overflow: visible;
}

.service-page--sales-tax-hero .service-hero-image-wrap {
  --sales-tax-hero-x: 8px;
  --quickbooks-hero-x: var(--sales-tax-hero-x);
  width: min(112%, 912px);
  max-width: none;
  aspect-ratio: 2048 / 1700;
  background: transparent;
  transform: translateX(var(--sales-tax-hero-x));
  animation: quickbooksHeroFloat 8.8s ease-in-out infinite;
  isolation: isolate;
}

.service-page--sales-tax-hero .service-hero-image-wrap::before {
  inset: 5% 5% 9%;
  z-index: -1;
  border-radius: 46% 50% 39% 43%;
  background:
    radial-gradient(circle at 44% 52%, rgba(28, 133, 177, 0.24), transparent 58%),
    radial-gradient(circle at 66% 70%, rgba(45, 191, 198, 0.14), transparent 52%),
    radial-gradient(circle at 77% 17%, rgba(232, 250, 255, 0.62), transparent 42%);
  filter: blur(31px);
  opacity: 0.78;
  transition: opacity 380ms ease, filter 380ms ease, transform 380ms ease;
  animation: quickbooksHeroGlow 9.8s ease-in-out infinite;
}

.service-page--sales-tax-hero .service-hero-image-wrap::after {
  inset: -2% -1%;
  z-index: 4;
  border-radius: 0;
  background:
    linear-gradient(111deg, transparent 0 38%, rgba(255, 255, 255, 0.15) 44%, rgba(103, 213, 226, 0.24) 51%, rgba(255, 255, 255, 0.14) 57%, transparent 66%),
    radial-gradient(ellipse at 66% 20%, rgba(255, 255, 255, 0.2), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-43%) skewX(-8deg);
  animation: quickbooksHeroShimmer 12.4s ease-in-out infinite;
  transition: opacity 380ms ease, filter 380ms ease;
}

.service-page--sales-tax-hero .service-hero-picture--sales-tax {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
  background: transparent;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.44) 2.4%, #000 5.6%, #000 91.8%, rgba(0, 0, 0, 0.68) 95%, rgba(0, 0, 0, 0.28) 98%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.34) 2.1%, rgba(0, 0, 0, 0.86) 4.6%, #000 6.8%, #000 95%, rgba(0, 0, 0, 0.4) 98%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.44) 2.4%, #000 5.6%, #000 91.8%, rgba(0, 0, 0, 0.68) 95%, rgba(0, 0, 0, 0.28) 98%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.34) 2.1%, rgba(0, 0, 0, 0.86) 4.6%, #000 6.8%, #000 95%, rgba(0, 0, 0, 0.4) 98%, transparent 100%);
  mask-composite: intersect;
}

.service-page--sales-tax-hero .service-hero-picture--sales-tax::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.94) 0 10px, rgba(248, 251, 253, 0.52) 22px, rgba(248, 251, 253, 0.13) 38px, rgba(248, 251, 253, 0) 56px),
    linear-gradient(0deg, rgba(248, 251, 253, 0.88) 0 8px, rgba(248, 251, 253, 0.42) 18px, rgba(248, 251, 253, 0.1) 32px, rgba(248, 251, 253, 0) 50px),
    linear-gradient(90deg, rgba(248, 251, 253, 0.88) 0 9px, rgba(248, 251, 253, 0.4) 20px, rgba(248, 251, 253, 0.1) 36px, rgba(248, 251, 253, 0) 54px, rgba(248, 251, 253, 0) calc(100% - 78px), rgba(248, 251, 253, 0.08) calc(100% - 56px), rgba(248, 251, 253, 0.38) calc(100% - 31px), rgba(248, 251, 253, 0.82) calc(100% - 14px), rgba(248, 251, 253, 0.96) 100%),
    radial-gradient(ellipse at 99% 4%, rgba(248, 251, 253, 0.9) 0%, rgba(248, 251, 253, 0.4) 15%, rgba(248, 251, 253, 0.07) 29%, rgba(248, 251, 253, 0) 40%);
}

.service-page--sales-tax-hero .service-hero-picture--sales-tax::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.36;
  background:
    linear-gradient(116deg, transparent 0 24%, rgba(255, 255, 255, 0.2) 33%, transparent 43%),
    linear-gradient(101deg, transparent 0 52%, rgba(130, 225, 238, 0.22) 60%, transparent 69%),
    radial-gradient(ellipse at 51% 24%, rgba(255, 255, 255, 0.2), transparent 32%);
  background-size: 160% 100%, 150% 100%, 100% 100%;
  animation: quickbooksHeroGlass 13s cubic-bezier(0.42, 0, 0.24, 1) infinite;
  transition: opacity 380ms ease, filter 380ms ease;
}

.service-page--sales-tax-hero .service-hero-image--sales-tax {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 46px rgba(13, 61, 80, 0.1))
    drop-shadow(0 8px 20px rgba(0, 144, 172, 0.09));
}

.service-page--sales-tax-hero .service-hero-image-wrap:hover::before {
  opacity: 1;
  filter: blur(35px);
  transform: scale(1.014);
}

.service-page--sales-tax-hero .service-hero-image-wrap:hover::after {
  opacity: 0.76;
  animation: quickbooksHeroHoverSweep 1450ms cubic-bezier(0.2, 0.72, 0.22, 1) both;
  filter: brightness(1.13);
}

.service-page--sales-tax-hero .service-hero-image-wrap:hover .service-hero-picture--sales-tax::after {
  opacity: 0.66;
  filter: brightness(1.18) saturate(1.08);
  animation:
    quickbooksHeroHoverGlass 1500ms cubic-bezier(0.2, 0.72, 0.22, 1) both,
    quickbooksHeroGlass 7.8s cubic-bezier(0.42, 0, 0.24, 1) infinite 1500ms;
}

.service-page--sales-tax-hero .service-hero-image-wrap:hover .service-hero-image--sales-tax {
  transform: translateY(-1px) scale(1.004);
  filter:
    drop-shadow(0 28px 54px rgba(13, 61, 80, 0.13))
    drop-shadow(0 9px 23px rgba(0, 144, 172, 0.12));
}

html[lang="en"] .service-page--sales-tax-hero .service-hero__copy {
  transform: translateY(-10px);
}

@media (max-width: 1180px) {
  .service-page--sales-tax-hero .service-hero__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.94fr);
    gap: clamp(22px, 4vw, 42px);
  }

  html[lang="en"] .service-page--sales-tax-hero .service-hero__copy {
    transform: translateY(-6px);
  }

  .service-page--sales-tax-hero .service-hero__copy h1 {
    font-size: clamp(2.32rem, 3.55vw, 3.72rem);
  }

  html[lang="ru"] .service-page--sales-tax-hero .service-hero__copy h1 {
    font-size: clamp(2.08rem, 3.08vw, 3.22rem);
  }

  .service-page--sales-tax-hero .service-hero-image-wrap {
    --sales-tax-hero-x: 6px;
    --quickbooks-hero-x: var(--sales-tax-hero-x);
    width: min(106%, 790px);
  }
}

@media (max-width: 860px) {
  .service-page--sales-tax-hero .service-hero__copy,
  .service-page--sales-tax-hero .service-hero__copy .lead,
  .service-page--sales-tax-hero .service-hero__copy .btn-group {
    max-width: 100%;
  }

  .service-page--sales-tax-hero .service-hero__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .service-page--sales-tax-hero .service-hero__copy h1,
  html[lang="ru"] .service-page--sales-tax-hero .service-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(2.08rem, 8vw, 3rem);
    line-height: 1;
  }

  html[lang="en"] .service-page--sales-tax-hero .service-hero__copy {
    transform: none;
  }

  .service-page--sales-tax-hero .service-hero__visual--image {
    justify-self: center;
  }

  .service-page--sales-tax-hero .service-hero-image-wrap {
    --sales-tax-hero-x: 0px;
    --quickbooks-hero-x: var(--sales-tax-hero-x);
    width: min(100%, 640px);
    margin-top: 10px;
    transform: none;
  }

  .service-page--sales-tax-hero .service-hero-picture--sales-tax::before {
    background:
      linear-gradient(180deg, rgba(248, 251, 253, 1) 0 8px, rgba(248, 251, 253, 0.68) 16px, rgba(248, 251, 253, 0.16) 27px, rgba(248, 251, 253, 0) 38px),
      linear-gradient(0deg, rgba(248, 251, 253, 0.88) 0 8px, rgba(248, 251, 253, 0.38) 16px, rgba(248, 251, 253, 0.1) 26px, rgba(248, 251, 253, 0) 38px),
      linear-gradient(90deg, rgba(248, 251, 253, 0.86) 0 8px, rgba(248, 251, 253, 0.36) 16px, rgba(248, 251, 253, 0.08) 27px, rgba(248, 251, 253, 0) 38px, rgba(248, 251, 253, 0) calc(100% - 40px), rgba(248, 251, 253, 0.08) calc(100% - 28px), rgba(248, 251, 253, 0.36) calc(100% - 16px), rgba(248, 251, 253, 0.86) calc(100% - 8px), rgba(248, 251, 253, 1) 100%),
      radial-gradient(ellipse at 98% 3%, rgba(248, 251, 253, 1) 0%, rgba(248, 251, 253, 0.46) 13%, rgba(248, 251, 253, 0.06) 25%, rgba(248, 251, 253, 0) 34%);
  }
}

@media (max-width: 680px) {
  .service-page--sales-tax-hero .service-hero-image-wrap {
    --sales-tax-hero-x: 0px;
    --quickbooks-hero-x: var(--sales-tax-hero-x);
    width: min(103%, 660px);
  }

  .service-page--sales-tax-hero .service-hero-picture--sales-tax::before {
    background:
      linear-gradient(180deg, rgba(248, 251, 253, 0.92) 0 7px, rgba(248, 251, 253, 0.44) 16px, rgba(248, 251, 253, 0.08) 28px, rgba(248, 251, 253, 0) 42px),
      linear-gradient(0deg, rgba(248, 251, 253, 0.88) 0 7px, rgba(248, 251, 253, 0.34) 16px, rgba(248, 251, 253, 0.08) 28px, rgba(248, 251, 253, 0) 42px),
      linear-gradient(90deg, rgba(248, 251, 253, 0.84) 0 7px, rgba(248, 251, 253, 0.34) 16px, rgba(248, 251, 253, 0.06) 28px, rgba(248, 251, 253, 0) 42px, rgba(248, 251, 253, 0) calc(100% - 42px), rgba(248, 251, 253, 0.06) calc(100% - 28px), rgba(248, 251, 253, 0.32) calc(100% - 16px), rgba(248, 251, 253, 0.86) calc(100% - 7px), rgba(248, 251, 253, 0.92) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-page--sales-tax-hero .service-hero-image-wrap,
  .service-page--sales-tax-hero .service-hero-image-wrap::before,
  .service-page--sales-tax-hero .service-hero-image-wrap::after,
  .service-page--sales-tax-hero .service-hero-picture--sales-tax::after {
    animation: none !important;
  }

  .service-page--sales-tax-hero .service-hero-image-wrap:hover,
  .service-page--sales-tax-hero .service-hero-image-wrap:hover::before,
  .service-page--sales-tax-hero .service-hero-image-wrap:hover::after,
  .service-page--sales-tax-hero .service-hero-image-wrap:hover .service-hero-image--sales-tax {
    transform: none !important;
  }
}

/* Shared image treatment for service hero packages 04-06 after class cleanup. */
:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(460px, 1fr);
  gap: clamp(26px, 4.6vw, 54px);
  align-items: center;
}

:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy {
  max-width: 650px;
}

:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy h1 {
  max-width: 720px;
  font-size: clamp(2.42rem, 3.7vw, 3.86rem);
}

html[lang="ru"] :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy h1 {
  max-width: 760px;
  font-size: clamp(2.18rem, 3.28vw, 3.48rem);
}

:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy .lead {
  max-width: 620px;
}

:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__visual--image {
  overflow: visible;
}

:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap {
  --sales-tax-hero-x: 8px;
  --quickbooks-hero-x: var(--sales-tax-hero-x);
  width: min(112%, 912px);
  max-width: none;
  aspect-ratio: 2048 / 1700;
  background: transparent;
  transform: translateX(var(--sales-tax-hero-x));
  animation: quickbooksHeroFloat 8.8s ease-in-out infinite;
  isolation: isolate;
}

:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap::before {
  inset: 5% 5% 9%;
  z-index: -1;
  border-radius: 46% 50% 39% 43%;
  background:
    radial-gradient(circle at 44% 52%, rgba(28, 133, 177, 0.24), transparent 58%),
    radial-gradient(circle at 66% 70%, rgba(45, 191, 198, 0.14), transparent 52%),
    radial-gradient(circle at 77% 17%, rgba(232, 250, 255, 0.62), transparent 42%);
  filter: blur(31px);
  opacity: 0.78;
  transition: opacity 380ms ease, filter 380ms ease, transform 380ms ease;
  animation: quickbooksHeroGlow 9.8s ease-in-out infinite;
}

:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap::after {
  inset: -2% -1%;
  z-index: 4;
  border-radius: 0;
  background:
    linear-gradient(111deg, transparent 0 38%, rgba(255, 255, 255, 0.15) 44%, rgba(103, 213, 226, 0.24) 51%, rgba(255, 255, 255, 0.14) 57%, transparent 66%),
    radial-gradient(ellipse at 66% 20%, rgba(255, 255, 255, 0.2), transparent 34%);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-43%) skewX(-8deg);
  animation: quickbooksHeroShimmer 12.4s ease-in-out infinite;
  transition: opacity 380ms ease, filter 380ms ease;
}

:is(.service-page--payroll-hero .service-hero-picture--payroll, .service-page--tax-returns-hero .service-hero-picture--tax-returns, .service-page--financial-consulting-hero .service-hero-picture--financial-consulting) {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  isolation: isolate;
  background: transparent;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.44) 2.4%, #000 5.6%, #000 91.8%, rgba(0, 0, 0, 0.68) 95%, rgba(0, 0, 0, 0.28) 98%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.34) 2.1%, rgba(0, 0, 0, 0.86) 4.6%, #000 6.8%, #000 95%, rgba(0, 0, 0, 0.4) 98%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.44) 2.4%, #000 5.6%, #000 91.8%, rgba(0, 0, 0, 0.68) 95%, rgba(0, 0, 0, 0.28) 98%, transparent 100%),
    linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.34) 2.1%, rgba(0, 0, 0, 0.86) 4.6%, #000 6.8%, #000 95%, rgba(0, 0, 0, 0.4) 98%, transparent 100%);
  mask-composite: intersect;
}

:is(.service-page--payroll-hero .service-hero-picture--payroll, .service-page--tax-returns-hero .service-hero-picture--tax-returns, .service-page--financial-consulting-hero .service-hero-picture--financial-consulting)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.94) 0 10px, rgba(248, 251, 253, 0.52) 22px, rgba(248, 251, 253, 0.13) 38px, rgba(248, 251, 253, 0) 56px),
    linear-gradient(0deg, rgba(248, 251, 253, 0.88) 0 8px, rgba(248, 251, 253, 0.42) 18px, rgba(248, 251, 253, 0.1) 32px, rgba(248, 251, 253, 0) 50px),
    linear-gradient(90deg, rgba(248, 251, 253, 0.88) 0 9px, rgba(248, 251, 253, 0.4) 20px, rgba(248, 251, 253, 0.1) 36px, rgba(248, 251, 253, 0) 54px, rgba(248, 251, 253, 0) calc(100% - 78px), rgba(248, 251, 253, 0.08) calc(100% - 56px), rgba(248, 251, 253, 0.38) calc(100% - 31px), rgba(248, 251, 253, 0.82) calc(100% - 14px), rgba(248, 251, 253, 0.96) 100%),
    radial-gradient(ellipse at 99% 4%, rgba(248, 251, 253, 0.9) 0%, rgba(248, 251, 253, 0.4) 15%, rgba(248, 251, 253, 0.07) 29%, rgba(248, 251, 253, 0) 40%);
}

:is(.service-page--payroll-hero .service-hero-picture--payroll, .service-page--tax-returns-hero .service-hero-picture--tax-returns, .service-page--financial-consulting-hero .service-hero-picture--financial-consulting)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: 0.36;
  background:
    linear-gradient(116deg, transparent 0 24%, rgba(255, 255, 255, 0.2) 33%, transparent 43%),
    linear-gradient(101deg, transparent 0 52%, rgba(130, 225, 238, 0.22) 60%, transparent 69%),
    radial-gradient(ellipse at 51% 24%, rgba(255, 255, 255, 0.2), transparent 32%);
  background-size: 160% 100%, 150% 100%, 100% 100%;
  animation: quickbooksHeroGlass 13s cubic-bezier(0.42, 0, 0.24, 1) infinite;
  transition: opacity 380ms ease, filter 380ms ease;
}

:is(.service-page--payroll-hero .service-hero-image--payroll, .service-page--tax-returns-hero .service-hero-image--tax-returns, .service-page--financial-consulting-hero .service-hero-image--financial-consulting) {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  filter:
    drop-shadow(0 24px 46px rgba(13, 61, 80, 0.1))
    drop-shadow(0 8px 20px rgba(0, 144, 172, 0.09));
}

:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap:hover::before {
  opacity: 1;
  filter: blur(35px);
  transform: scale(1.014);
}

:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap:hover::after {
  opacity: 0.76;
  animation: quickbooksHeroHoverSweep 1450ms cubic-bezier(0.2, 0.72, 0.22, 1) both;
  filter: brightness(1.13);
}

:is(.service-page--payroll-hero .service-hero-image-wrap:hover .service-hero-picture--payroll, .service-page--tax-returns-hero .service-hero-image-wrap:hover .service-hero-picture--tax-returns, .service-page--financial-consulting-hero .service-hero-image-wrap:hover .service-hero-picture--financial-consulting)::after {
  opacity: 0.66;
  filter: brightness(1.18) saturate(1.08);
  animation:
    quickbooksHeroHoverGlass 1500ms cubic-bezier(0.2, 0.72, 0.22, 1) both,
    quickbooksHeroGlass 7.8s cubic-bezier(0.42, 0, 0.24, 1) infinite 1500ms;
}

:is(.service-page--payroll-hero .service-hero-image-wrap:hover .service-hero-image--payroll, .service-page--tax-returns-hero .service-hero-image-wrap:hover .service-hero-image--tax-returns, .service-page--financial-consulting-hero .service-hero-image-wrap:hover .service-hero-image--financial-consulting) {
  transform: translateY(-1px) scale(1.004);
  filter:
    drop-shadow(0 28px 54px rgba(13, 61, 80, 0.13))
    drop-shadow(0 9px 23px rgba(0, 144, 172, 0.12));
}

html[lang="en"] :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy {
  transform: translateY(-10px);
}

@media (max-width: 1180px) {
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.94fr);
    gap: clamp(22px, 4vw, 42px);
  }

  html[lang="en"] :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy {
    transform: translateY(-6px);
  }

  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy h1 {
    font-size: clamp(2.32rem, 3.55vw, 3.72rem);
  }

  html[lang="ru"] :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy h1 {
    font-size: clamp(2.08rem, 3.08vw, 3.22rem);
  }

  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap {
    --sales-tax-hero-x: 6px;
    --quickbooks-hero-x: var(--sales-tax-hero-x);
    width: min(106%, 790px);
  }
}

@media (max-width: 860px) {
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy,
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy .lead,
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy .btn-group {
    max-width: 100%;
  }

  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy h1,
  html[lang="ru"] :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy h1 {
    max-width: 100%;
    font-size: clamp(2.08rem, 8vw, 3rem);
    line-height: 1;
  }

  html[lang="en"] :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy {
    transform: none;
  }

  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__visual--image {
    justify-self: center;
  }

  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap {
    --sales-tax-hero-x: 0px;
    --quickbooks-hero-x: var(--sales-tax-hero-x);
    width: min(100%, 640px);
    margin-top: 10px;
    transform: none;
  }

  :is(.service-page--payroll-hero .service-hero-picture--payroll, .service-page--tax-returns-hero .service-hero-picture--tax-returns, .service-page--financial-consulting-hero .service-hero-picture--financial-consulting)::before {
    background:
      linear-gradient(180deg, rgba(248, 251, 253, 1) 0 8px, rgba(248, 251, 253, 0.68) 16px, rgba(248, 251, 253, 0.16) 27px, rgba(248, 251, 253, 0) 38px),
      linear-gradient(0deg, rgba(248, 251, 253, 0.88) 0 8px, rgba(248, 251, 253, 0.38) 16px, rgba(248, 251, 253, 0.1) 26px, rgba(248, 251, 253, 0) 38px),
      linear-gradient(90deg, rgba(248, 251, 253, 0.86) 0 8px, rgba(248, 251, 253, 0.36) 16px, rgba(248, 251, 253, 0.08) 27px, rgba(248, 251, 253, 0) 38px, rgba(248, 251, 253, 0) calc(100% - 40px), rgba(248, 251, 253, 0.08) calc(100% - 28px), rgba(248, 251, 253, 0.36) calc(100% - 16px), rgba(248, 251, 253, 0.86) calc(100% - 8px), rgba(248, 251, 253, 1) 100%),
      radial-gradient(ellipse at 98% 3%, rgba(248, 251, 253, 1) 0%, rgba(248, 251, 253, 0.46) 13%, rgba(248, 251, 253, 0.06) 25%, rgba(248, 251, 253, 0) 34%);
  }
}

@media (max-width: 680px) {
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap {
    --sales-tax-hero-x: 0px;
    --quickbooks-hero-x: var(--sales-tax-hero-x);
    width: min(103%, 660px);
  }

  :is(.service-page--payroll-hero .service-hero-picture--payroll, .service-page--tax-returns-hero .service-hero-picture--tax-returns, .service-page--financial-consulting-hero .service-hero-picture--financial-consulting)::before {
    background:
      linear-gradient(180deg, rgba(248, 251, 253, 0.92) 0 7px, rgba(248, 251, 253, 0.44) 16px, rgba(248, 251, 253, 0.08) 28px, rgba(248, 251, 253, 0) 42px),
      linear-gradient(0deg, rgba(248, 251, 253, 0.88) 0 7px, rgba(248, 251, 253, 0.34) 16px, rgba(248, 251, 253, 0.08) 28px, rgba(248, 251, 253, 0) 42px),
      linear-gradient(90deg, rgba(248, 251, 253, 0.84) 0 7px, rgba(248, 251, 253, 0.34) 16px, rgba(248, 251, 253, 0.06) 28px, rgba(248, 251, 253, 0) 42px, rgba(248, 251, 253, 0) calc(100% - 42px), rgba(248, 251, 253, 0.06) calc(100% - 28px), rgba(248, 251, 253, 0.32) calc(100% - 16px), rgba(248, 251, 253, 0.86) calc(100% - 7px), rgba(248, 251, 253, 0.92) 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap,
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap::before,
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap::after,
  :is(.service-page--payroll-hero .service-hero-picture--payroll, .service-page--tax-returns-hero .service-hero-picture--tax-returns, .service-page--financial-consulting-hero .service-hero-picture--financial-consulting)::after {
    animation: none !important;
  }

  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap:hover,
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap:hover::before,
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap:hover::after,
  :is(.service-page--payroll-hero .service-hero-image-wrap:hover .service-hero-image--payroll, .service-page--tax-returns-hero .service-hero-image-wrap:hover .service-hero-image--tax-returns, .service-page--financial-consulting-hero .service-hero-image-wrap:hover .service-hero-image--financial-consulting) {
    transform: none !important;
  }
}

/* Tax return service hero: fifth service image treatment with a brighter paper-white edge blend. */
.service-page--tax-returns-hero .service-hero-image-wrap {
  --sales-tax-hero-x: 10px;
  --quickbooks-hero-x: var(--sales-tax-hero-x);
  width: min(111%, 902px);
}

.service-page--tax-returns-hero .service-hero-image-wrap::before {
  inset: 5% 4% 8%;
  background:
    radial-gradient(circle at 42% 48%, rgba(35, 142, 196, 0.23), transparent 58%),
    radial-gradient(circle at 70% 66%, rgba(38, 182, 191, 0.15), transparent 54%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.76), transparent 42%);
  filter: blur(33px);
  opacity: 0.82;
}

.service-page--tax-returns-hero .service-hero-image-wrap::after {
  background:
    linear-gradient(111deg, transparent 0 36%, rgba(255, 255, 255, 0.18) 43%, rgba(123, 221, 234, 0.25) 50%, rgba(255, 255, 255, 0.16) 57%, transparent 67%),
    radial-gradient(ellipse at 64% 18%, rgba(255, 255, 255, 0.24), transparent 34%),
    radial-gradient(ellipse at 28% 76%, rgba(214, 245, 255, 0.12), transparent 36%);
}

.service-page--tax-returns-hero .service-hero-picture--tax-returns::before {
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.98) 0 12px, rgba(248, 251, 253, 0.58) 25px, rgba(248, 251, 253, 0.15) 43px, rgba(248, 251, 253, 0) 62px),
    linear-gradient(0deg, rgba(248, 251, 253, 0.92) 0 10px, rgba(248, 251, 253, 0.45) 22px, rgba(248, 251, 253, 0.1) 36px, rgba(248, 251, 253, 0) 54px),
    linear-gradient(90deg, rgba(248, 251, 253, 0.92) 0 10px, rgba(248, 251, 253, 0.45) 22px, rgba(248, 251, 253, 0.1) 39px, rgba(248, 251, 253, 0) 58px, rgba(248, 251, 253, 0) calc(100% - 82px), rgba(248, 251, 253, 0.08) calc(100% - 60px), rgba(248, 251, 253, 0.4) calc(100% - 34px), rgba(248, 251, 253, 0.86) calc(100% - 16px), rgba(248, 251, 253, 0.98) 100%),
    radial-gradient(ellipse at 99% 4%, rgba(248, 251, 253, 0.94) 0%, rgba(248, 251, 253, 0.42) 16%, rgba(248, 251, 253, 0.08) 30%, rgba(248, 251, 253, 0) 42%);
}

.service-page--tax-returns-hero .service-hero-picture--tax-returns::after {
  opacity: 0.4;
  background:
    linear-gradient(116deg, transparent 0 22%, rgba(255, 255, 255, 0.22) 32%, transparent 44%),
    linear-gradient(101deg, transparent 0 50%, rgba(136, 229, 240, 0.24) 59%, transparent 70%),
    radial-gradient(ellipse at 50% 22%, rgba(255, 255, 255, 0.24), transparent 34%);
}

.service-page--tax-returns-hero .service-hero-image--tax-returns {
  filter:
    drop-shadow(0 26px 50px rgba(13, 61, 80, 0.11))
    drop-shadow(0 9px 22px rgba(0, 144, 172, 0.1));
}

.service-page--tax-returns-hero .service-hero-image-wrap:hover::before {
  filter: blur(37px);
  transform: scale(1.018);
}

.service-page--tax-returns-hero .service-hero-image-wrap:hover .service-hero-image--tax-returns {
  transform: translateY(-2px) scale(1.006);
  filter:
    drop-shadow(0 31px 60px rgba(13, 61, 80, 0.15))
    drop-shadow(0 11px 27px rgba(0, 144, 172, 0.14));
}

@media (max-width: 1180px) {
  .service-page--tax-returns-hero .service-hero-image-wrap {
    --sales-tax-hero-x: 6px;
    --quickbooks-hero-x: var(--sales-tax-hero-x);
    width: min(106%, 790px);
  }
}

@media (max-width: 860px) {
  .service-page--tax-returns-hero .service-hero-image-wrap {
    --sales-tax-hero-x: 0px;
    --quickbooks-hero-x: var(--sales-tax-hero-x);
    width: min(100%, 640px);
  }
}

@media (max-width: 680px) {
  .service-page--tax-returns-hero .service-hero-image-wrap {
    width: min(103%, 660px);
  }
}

.service-page--financial-consulting-hero .service-hero-image-wrap {
  --sales-tax-hero-x: 10px;
  --quickbooks-hero-x: var(--sales-tax-hero-x);
  width: min(111%, 902px);
}

.service-page--financial-consulting-hero .service-hero-image-wrap::before {
  inset: 5% 4% 8%;
  background:
    radial-gradient(circle at 43% 50%, rgba(37, 133, 188, 0.22), transparent 58%),
    radial-gradient(circle at 70% 67%, rgba(52, 190, 197, 0.14), transparent 54%),
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.78), transparent 42%);
  filter: blur(34px);
  opacity: 0.82;
}

.service-page--financial-consulting-hero .service-hero-image-wrap::after {
  background:
    linear-gradient(111deg, transparent 0 35%, rgba(255, 255, 255, 0.2) 43%, rgba(124, 221, 236, 0.27) 50%, rgba(255, 255, 255, 0.17) 58%, transparent 68%),
    radial-gradient(ellipse at 65% 18%, rgba(255, 255, 255, 0.26), transparent 35%),
    radial-gradient(ellipse at 30% 74%, rgba(214, 245, 255, 0.14), transparent 36%);
}

.service-page--financial-consulting-hero .service-hero-picture--financial-consulting::before {
  background:
    linear-gradient(180deg, rgba(248, 251, 253, 0.98) 0 12px, rgba(248, 251, 253, 0.58) 25px, rgba(248, 251, 253, 0.15) 43px, rgba(248, 251, 253, 0) 62px),
    linear-gradient(0deg, rgba(248, 251, 253, 0.92) 0 10px, rgba(248, 251, 253, 0.45) 22px, rgba(248, 251, 253, 0.1) 36px, rgba(248, 251, 253, 0) 54px),
    linear-gradient(90deg, rgba(248, 251, 253, 0.92) 0 10px, rgba(248, 251, 253, 0.45) 22px, rgba(248, 251, 253, 0.1) 39px, rgba(248, 251, 253, 0) 58px, rgba(248, 251, 253, 0) calc(100% - 82px), rgba(248, 251, 253, 0.08) calc(100% - 60px), rgba(248, 251, 253, 0.4) calc(100% - 34px), rgba(248, 251, 253, 0.86) calc(100% - 16px), rgba(248, 251, 253, 0.98) 100%),
    radial-gradient(ellipse at 99% 4%, rgba(248, 251, 253, 0.94) 0%, rgba(248, 251, 253, 0.42) 16%, rgba(248, 251, 253, 0.08) 30%, rgba(248, 251, 253, 0) 42%);
}

.service-page--financial-consulting-hero .service-hero-picture--financial-consulting::after {
  opacity: 0.42;
  background:
    linear-gradient(116deg, transparent 0 21%, rgba(255, 255, 255, 0.24) 32%, transparent 45%),
    linear-gradient(101deg, transparent 0 49%, rgba(136, 229, 240, 0.25) 59%, transparent 70%),
    radial-gradient(ellipse at 51% 22%, rgba(255, 255, 255, 0.25), transparent 34%);
}

.service-page--financial-consulting-hero .service-hero-image--financial-consulting {
  filter:
    drop-shadow(0 27px 52px rgba(13, 61, 80, 0.12))
    drop-shadow(0 9px 22px rgba(0, 144, 172, 0.11));
}

.service-page--financial-consulting-hero .service-hero-image-wrap:hover::before {
  filter: blur(38px);
  transform: scale(1.02);
}

.service-page--financial-consulting-hero .service-hero-image-wrap:hover .service-hero-image--financial-consulting {
  transform: translateY(-2px) scale(1.006);
  filter:
    drop-shadow(0 32px 62px rgba(13, 61, 80, 0.16))
    drop-shadow(0 11px 28px rgba(0, 144, 172, 0.15));
}

@media (max-width: 1180px) {
  .service-page--financial-consulting-hero .service-hero-image-wrap {
    --sales-tax-hero-x: 6px;
    --quickbooks-hero-x: var(--sales-tax-hero-x);
    width: min(106%, 790px);
  }
}

@media (max-width: 860px) {
  .service-page--financial-consulting-hero .service-hero-image-wrap {
    --sales-tax-hero-x: 0px;
    --quickbooks-hero-x: var(--sales-tax-hero-x);
    width: min(100%, 640px);
  }
}

@media (max-width: 680px) {
  .service-page--financial-consulting-hero .service-hero-image-wrap {
    width: min(103%, 660px);
  }
}


/* Phase 9.3: premium legal page system. */
.legal-page .site-header {
  background: rgba(255, 255, 255, 0.76);
}

.legal-main {
  overflow: hidden;
}

.legal-hero {
  position: relative;
  padding: var(--hero-gap-inner) 0 clamp(40px, 6vw, 76px);
}

.legal-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 82% 16%, rgba(95, 130, 168, 0.18), transparent 34%),
    radial-gradient(circle at 16% 22%, rgba(47, 111, 159, 0.1), transparent 28%);
  pointer-events: none;
}

.legal-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.46fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.legal-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 24px;
  color: #60748a;
  font-size: 0.86rem;
  font-weight: 750;
}

.legal-breadcrumbs a {
  color: #2f5f91;
  text-decoration: none;
}

.legal-breadcrumbs a:hover,
.legal-breadcrumbs a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-breadcrumbs span:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(95, 130, 168, 0.58);
}

.legal-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: #0d2235;
  font-size: var(--hero-title-inner-en);
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

html[lang="ru"] .legal-hero h1 {
  max-width: 16ch;
  font-size: var(--hero-title-inner-ru);
  line-height: 1.04;
}

.legal-hero .lead {
  max-width: 720px;
  margin-top: 22px;
  color: #52687e;
  font-size: clamp(1.04rem, 1.8vw, 1.2rem);
  line-height: 1.75;
}

.legal-visual-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(184, 202, 220, 0.72);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 251, 0.66)),
    rgba(255, 255, 255, 0.74);
  box-shadow:
    0 24px 64px rgba(17, 28, 47, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.legal-visual-card::before {
  content: "FS";
  position: absolute;
  right: -16px;
  bottom: -34px;
  color: rgba(47, 95, 145, 0.08);
  font-size: 9rem;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.legal-visual-doc {
  position: absolute;
  inset: 46px 42px 42px;
  border: 1px solid rgba(151, 176, 203, 0.54);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 253, 0.78)),
    repeating-linear-gradient(180deg, transparent 0 28px, rgba(95, 130, 168, 0.08) 29px);
  box-shadow: 0 20px 48px rgba(17, 28, 47, 0.09);
}

.legal-visual-doc::before {
  content: "";
  position: absolute;
  left: 28px;
  right: 78px;
  top: 34px;
  height: 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(47, 95, 145, 0.7), rgba(151, 176, 203, 0.26));
  box-shadow:
    0 34px 0 rgba(184, 202, 220, 0.38),
    0 68px 0 rgba(184, 202, 220, 0.25),
    0 102px 0 rgba(184, 202, 220, 0.18);
}

.legal-visual-doc::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(47, 95, 145, 0.24);
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 50%, rgba(47, 95, 145, 0.18), transparent 58%),
    rgba(255, 255, 255, 0.72);
}

.legal-visual-card--privacy .legal-visual-doc::after {
  border-radius: 20px 20px 16px 16px;
}

.legal-visual-card--sms .legal-visual-doc::after {
  width: 34px;
  height: 52px;
  border-radius: 14px;
}

.legal-visual-card--image {
  display: block;
  min-height: 0;
  aspect-ratio: 5 / 4;
  margin: 0;
  padding: 0;
}

.legal-visual-card--image::before {
  display: none;
}

.legal-visual-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.legal-content-section {
  padding: 0 0 clamp(46px, 7vw, 84px);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 0.34fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.legal-document-card,
.legal-side-card,
.legal-support-strip {
  border: 1px solid rgba(184, 202, 220, 0.72);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 251, 0.6)),
    rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 46px rgba(17, 28, 47, 0.08);
  backdrop-filter: blur(12px);
}

.legal-document-card {
  overflow: hidden;
  border-radius: 30px;
}

.legal-doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding: 20px clamp(22px, 4vw, 34px);
  border-bottom: 1px solid rgba(184, 202, 220, 0.58);
  color: #60748a;
  font-size: 0.88rem;
  font-weight: 800;
}

.legal-doc-meta span {
  padding: 7px 10px;
  border: 1px solid rgba(95, 130, 168, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.legal-section {
  padding: clamp(24px, 4vw, 34px);
}

.legal-section + .legal-section {
  border-top: 1px solid rgba(184, 202, 220, 0.52);
}

.legal-section h2 {
  margin: 0 0 12px;
  color: #11243a;
  font-size: clamp(1.28rem, 2vw, 1.62rem);
  letter-spacing: -0.02em;
}

.legal-section p,
.legal-section li {
  color: #33475c;
  font-size: clamp(1.02rem, 1.25vw, 1.1rem);
  line-height: 1.78;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p {
  margin-top: 14px;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 22px;
}

.legal-section a {
  color: #1e6f9f;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(30, 111, 159, 0.28);
  text-underline-offset: 4px;
}

.legal-side {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  display: grid;
  gap: 16px;
}

.legal-side-card {
  border-radius: 24px;
  padding: 22px;
}

.legal-side-card h2,
.legal-side-card h3 {
  margin: 0 0 14px;
  color: #11243a;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.legal-side-card p {
  margin: 0;
  color: #60748a;
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-link-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-link-list a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(95, 130, 168, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
  color: #2f5f91;
  font-weight: 850;
  text-decoration: none;
}

.legal-link-list a[aria-current="page"] {
  border-color: rgba(47, 95, 145, 0.44);
  background: rgba(238, 246, 251, 0.92);
  color: #11243a;
}

.legal-link-list a:hover,
.legal-link-list a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(47, 95, 145, 0.44);
  box-shadow: 0 10px 22px rgba(17, 28, 47, 0.07);
}

.legal-support-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: clamp(24px, 4vw, 38px);
  padding: clamp(22px, 4vw, 34px);
  border-radius: 28px;
}

.legal-support-strip h2 {
  margin: 0 0 8px;
  color: #11243a;
  font-size: clamp(1.32rem, 2.4vw, 1.9rem);
}

.legal-support-strip p {
  max-width: 680px;
  margin: 0;
  color: #60748a;
  line-height: 1.7;
}

.legal-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 1180px) {
  .legal-hero__grid,
  .legal-layout,
  .legal-support-strip {
    grid-template-columns: 1fr;
  }

  .legal-side {
    position: static;
    order: -1;
  }

  .legal-support-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 680px) {
  .legal-hero {
    padding-top: var(--hero-gap-inner);
  }

  .legal-hero h1 {
    max-width: 100%;
    font-size: var(--hero-title-inner-en);
    line-height: 1.04;
  }

  .legal-visual-card {
    min-height: 240px;
    border-radius: 26px;
  }

  .legal-visual-doc {
    inset: 34px 26px 30px;
    border-radius: 22px;
  }

  .legal-section {
    padding: 22px;
  }

  .legal-support-actions,
  .legal-support-actions .btn {
    width: 100%;
  }
}

/* Premium legal polish: legal pages as a cohesive Financial Stream document suite. */
.legal-page {
  --legal-accent: #2f8ebc;
  --legal-accent-2: #7ccedf;
  --legal-accent-soft: rgba(47, 142, 188, 0.13);
  --legal-surface: rgba(255, 255, 255, 0.78);
  --legal-border: rgba(158, 184, 207, 0.42);
}

.legal-page--terms {
  --legal-accent: #3f6f9f;
  --legal-accent-2: #b8c9db;
  --legal-accent-soft: rgba(63, 111, 159, 0.13);
}

.legal-page--sms {
  --legal-accent: #247eac;
  --legal-accent-2: #75d4e8;
  --legal-accent-soft: rgba(36, 126, 172, 0.14);
}

.legal-page .proto-bg {
  background:
    radial-gradient(circle at 82% 10%, var(--legal-accent-soft), transparent 28%),
    radial-gradient(circle at 13% 24%, rgba(124, 206, 223, 0.12), transparent 26%),
    linear-gradient(180deg, #fbfdfe 0%, #f6fafc 44%, #eef5f8 100%);
}

.legal-hero {
  padding: clamp(28px, 4vw, 46px) 0 clamp(48px, 7vw, 92px);
}

.legal-hero__grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.72fr);
}

.legal-hero__copy {
  max-width: 780px;
}

.legal-hero .eyebrow {
  color: var(--legal-accent);
}

.legal-hero .lead {
  max-width: 760px;
}

.legal-doc-meta--hero {
  margin-top: 24px;
  padding: 0;
  border: 0;
}

.legal-doc-meta--hero span,
.legal-document-card__top span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legal-doc-meta--hero span::before,
.legal-document-card__top span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--legal-accent), var(--legal-accent-2));
  box-shadow: 0 0 0 4px rgba(47, 142, 188, 0.1);
}

.legal-visual-card--image {
  display: grid;
  place-items: center;
  padding: clamp(20px, 3vw, 34px);
  background:
    radial-gradient(circle at 52% 38%, rgba(124, 206, 223, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(236, 246, 251, 0.72));
}

.legal-visual-card--image::after {
  content: "FS";
  position: absolute;
  right: -12px;
  bottom: -30px;
  z-index: 1;
  color: rgba(30, 75, 116, 0.07);
  font-size: clamp(6rem, 12vw, 10rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
  pointer-events: none;
}

.legal-visual-glow {
  position: absolute;
  inset: 10%;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 40%, rgba(124, 206, 223, 0.28), transparent 42%),
    radial-gradient(circle at 42% 58%, rgba(47, 142, 188, 0.16), transparent 46%);
  filter: blur(22px);
}

.legal-visual-card picture {
  position: relative;
  z-index: 2;
  display: block;
  width: min(85%, 440px);
}

.legal-visual-image {
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 24px;
  box-shadow:
    0 22px 46px rgba(17, 28, 47, 0.13),
    0 1px 0 rgba(255, 255, 255, 0.92) inset;
}

.legal-layout {
  grid-template-columns: minmax(0, 820px) minmax(270px, 0.36fr);
}

.legal-document-card {
  position: relative;
  background:
    radial-gradient(circle at top right, var(--legal-accent-soft), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 251, 0.64));
}

.legal-document-card::before {
  content: "FS";
  position: absolute;
  right: 24px;
  top: 18px;
  color: rgba(30, 75, 116, 0.045);
  font-size: clamp(4rem, 9vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  pointer-events: none;
}

.legal-document-card__top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 4vw, 36px);
  border-bottom: 1px solid rgba(184, 202, 220, 0.5);
  color: #60748a;
  font-size: 0.88rem;
  font-weight: 850;
}

.legal-document-label {
  color: #244967;
}

.legal-glance {
  position: relative;
  z-index: 1;
  margin: clamp(22px, 4vw, 34px);
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid var(--legal-border);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(238, 247, 251, 0.7)),
    var(--legal-surface);
  box-shadow: 0 14px 34px rgba(17, 28, 47, 0.06);
}

.legal-glance h2,
.legal-related h2 {
  margin: 0 0 14px;
  color: #11243a;
  font-size: clamp(1.12rem, 1.8vw, 1.35rem);
  letter-spacing: -0.02em;
}

.legal-glance ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-glance li {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: #35516a;
  font-size: 0.98rem;
  font-weight: 750;
  line-height: 1.45;
}

.legal-glance li span {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, var(--legal-accent), var(--legal-accent-2));
  box-shadow: 0 0 0 4px rgba(47, 142, 188, 0.1);
}

.legal-glance li span::before {
  content: "";
  display: block;
  width: 8px;
  height: 4px;
  margin: 5px 0 0 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}

.legal-section {
  position: relative;
  z-index: 1;
}

.legal-section--intro {
  border-top: 1px solid rgba(184, 202, 220, 0.52);
}

.legal-section__heading {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 13px;
}

.legal-section__heading h2 {
  margin: 0;
}

.legal-section__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(95, 130, 168, 0.28);
  border-radius: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(238, 247, 251, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.legal-section__icon::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  margin: 9px auto;
  border: 2px solid var(--legal-accent);
  border-radius: 5px;
}

.legal-page--privacy .legal-section__icon::before {
  border-radius: 7px 7px 5px 5px;
}

.legal-page--sms .legal-section__icon::before {
  width: 12px;
  height: 16px;
  margin-top: 7px;
  border-radius: 5px;
}

.legal-related {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 34px);
  border-top: 1px solid rgba(184, 202, 220, 0.52);
}

.legal-related__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.legal-related__links a {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  min-height: 56px;
  padding: 13px 14px;
  border: 1px solid rgba(95, 130, 168, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  color: #2f5f91;
  font-weight: 850;
  text-decoration: none;
}

.legal-related__links a[aria-current="page"],
.legal-related__links a:hover,
.legal-related__links a:focus-visible {
  border-color: rgba(47, 95, 145, 0.44);
  background: rgba(238, 246, 251, 0.92);
  color: #11243a;
}

.legal-side-card {
  background:
    radial-gradient(circle at top right, var(--legal-accent-soft), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 251, 0.62));
}

.legal-side-card--nav h2::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 999px;
  background: var(--legal-accent);
  box-shadow: 0 0 0 4px rgba(47, 142, 188, 0.1);
}

.legal-link-list a span,
.legal-related__links a span {
  color: var(--legal-accent);
}

.legal-support-strip {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, var(--legal-accent-soft), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(235, 246, 251, 0.72));
}

.legal-support-strip__mark {
  position: absolute;
  right: 18px;
  bottom: -26px;
  color: rgba(30, 75, 116, 0.055);
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  pointer-events: none;
}

@media (max-width: 1180px) {
  .legal-side {
    order: 0;
  }
}

@media (max-width: 760px) {
  .legal-hero__grid {
    gap: 26px;
  }

  .legal-doc-meta--hero span {
    flex: 1 1 100%;
  }

  .legal-glance ul,
  .legal-related__links {
    grid-template-columns: 1fr;
  }

  .legal-visual-card picture {
    width: min(86%, 360px);
  }

  .legal-visual-image {
    max-height: 330px;
  }

  .legal-section__heading {
    align-items: flex-start;
  }
}

/* Legal hero image: original glass treatment, larger visual, subtle silver blink. */
.legal-visual-card--image {
  display: block;
  padding: 0;
  background:
    radial-gradient(circle at 52% 38%, rgba(124, 206, 223, 0.2), transparent 32%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(238, 246, 251, 0.66)),
    rgba(255, 255, 255, 0.74);
}

.legal-visual-card--image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 34%, rgba(216, 226, 233, 0.34) 50%, rgba(255, 255, 255, 0.12) 62%, transparent 76%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 44%);
  animation: legal-silver-blink 4.8s ease-in-out infinite;
  pointer-events: none;
}

.legal-visual-card picture {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
}

.legal-visual-image {
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: 0;
  object-fit: cover;
  box-shadow: none;
}

.legal-visual-glow {
  display: none;
}

.legal-link-list a:hover,
.legal-link-list a:focus-visible {
  transform: none;
}

@media (max-width: 760px) {
  .legal-hero__grid,
  .legal-layout,
  .legal-support-strip {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-hero__copy,
  .legal-side {
    width: 100%;
    max-width: 100%;
  }

  .legal-visual-card--image {
    width: 100%;
    max-width: 520px;
    justify-self: center;
    aspect-ratio: 5 / 4;
  }
}

@keyframes legal-silver-blink {
  0%,
  68%,
  100% {
    opacity: 0;
  }

  76% {
    opacity: 0.9;
  }

  84% {
    opacity: 0.22;
  }
}

/* Global hero rhythm: keep every page aligned to the homepage hero scale. */
:root {
  --fs-hero-top: clamp(54px, 6vh, 72px);
  --fs-hero-bottom: clamp(28px, 3.8vh, 44px);
  --fs-hero-title-en: var(--hero-title-home-en);
  --fs-hero-title-ru: var(--hero-title-home-ru);
}

.hero,
.service-hero {
  padding-top: var(--fs-hero-top);
  padding-bottom: var(--fs-hero-bottom);
}

.contact-hero,
.blog-hero,
.legal-hero,
.article-shell {
  padding-top: var(--fs-hero-top);
}

body.error-page {
  padding-top: var(--fs-hero-top);
}

.hero h1,
.hero-title-premium,
.service-hero__copy h1,
.service-page--registration-hero .service-hero__copy h1,
.service-page--quickbooks-hero .service-hero__copy h1,
.service-page--sales-tax-hero .service-hero__copy h1,
.contact-hero h1,
.blog-hero__copy h1,
.article-hero__copy h1,
.legal-hero h1,
.error-page h1 {
  font-size: var(--fs-hero-title-en);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

html[lang="ru"] .hero h1,
html[lang="ru"] .hero-title-premium,
html[lang="ru"] .service-hero__copy h1,
html[lang="ru"] .service-page--registration-hero .service-hero__copy h1,
html[lang="ru"] .service-page--quickbooks-hero .service-hero__copy h1,
html[lang="ru"] .service-page--sales-tax-hero .service-hero__copy h1,
html[lang="ru"] .contact-hero h1,
html[lang="ru"] .blog-hero__copy h1,
html[lang="ru"] .article-hero__copy h1,
html[lang="ru"] .legal-hero h1 {
  font-size: var(--fs-hero-title-ru);
  line-height: 1.04;
}

@media (max-width: 680px) {
  .hero,
  .service-hero {
    padding-top: clamp(42px, 8vw, 54px);
    padding-bottom: clamp(28px, 7vw, 42px);
  }

  .contact-hero,
  .blog-hero,
  .legal-hero,
  .article-shell,
  body.error-page {
    padding-top: clamp(42px, 8vw, 54px);
  }
}

/* Service hero layout consistency: one sizing and spacing system for all service pages. */
.service-page {
  --service-hero-pad-top: clamp(44px, 5.2vh, 64px);
  --service-hero-pad-bottom: clamp(42px, 5vw, 70px);
  --service-h1-size: clamp(3.05rem, 4.2vw, 4.6rem);
  --service-h1-line: 1.01;
  --service-copy-width: 610px;
  --service-lead-width: 600px;
  --service-visual-width: min(112%, 912px);
  --service-visual-min-height: clamp(560px, 43vw, 640px);
}

html[lang="ru"] .service-page {
  --service-h1-size: clamp(2.85rem, 3.9vw, 4.3rem);
  --service-h1-line: 1.03;
}

.service-page .service-hero {
  padding-top: var(--service-hero-pad-top);
  padding-bottom: var(--service-hero-pad-bottom);
  min-height: clamp(620px, calc(100svh - var(--header-height)), 720px);
}

.service-page .service-hero__grid,
.service-page--registration-hero .service-hero__grid,
.service-page--quickbooks-hero .service-hero__grid,
.service-page--sales-tax-hero .service-hero__grid,
:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__grid {
  grid-template-columns: minmax(0, 0.86fr) minmax(500px, 1fr);
  gap: clamp(30px, 4.4vw, 58px);
  align-items: start;
}

.service-page .service-hero__copy,
.service-page--registration-hero .service-hero__copy,
.service-page--quickbooks-hero .service-hero__copy,
.service-page--sales-tax-hero .service-hero__copy,
:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy,
html[lang="en"] .service-page--registration-hero .service-hero__copy,
html[lang="en"] .service-page--quickbooks-hero .service-hero__copy,
html[lang="en"] .service-page--sales-tax-hero .service-hero__copy,
html[lang="en"] :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy {
  max-width: var(--service-copy-width);
  transform: none;
}

.service-page .service-hero__copy h1,
.service-page--registration-hero .service-hero__copy h1,
.service-page--quickbooks-hero .service-hero__copy h1,
.service-page--sales-tax-hero .service-hero__copy h1,
:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy h1 {
  max-width: 12.8ch;
  font-size: var(--service-h1-size);
  line-height: var(--service-h1-line);
  letter-spacing: -0.052em;
}

html[lang="ru"] .service-page .service-hero__copy h1,
html[lang="ru"] .service-page--registration-hero .service-hero__copy h1,
html[lang="ru"] .service-page--quickbooks-hero .service-hero__copy h1,
html[lang="ru"] .service-page--sales-tax-hero .service-hero__copy h1,
html[lang="ru"] :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy h1 {
  max-width: 14.4ch;
  font-size: var(--service-h1-size);
  line-height: var(--service-h1-line);
}

.service-page .service-hero__copy .lead,
.service-page--registration-hero .service-hero__copy .lead,
.service-page--quickbooks-hero .service-hero__copy .lead,
.service-page--sales-tax-hero .service-hero__copy .lead,
:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy .lead {
  max-width: var(--service-lead-width);
}

.service-page .service-hero__visual--image,
.service-page--registration-hero .service-hero__visual--image,
.service-page--quickbooks-hero .service-hero__visual--image,
.service-page--sales-tax-hero .service-hero__visual--image,
:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__visual--image {
  min-height: var(--service-visual-min-height);
  justify-self: end;
  overflow: visible;
}

.service-page--registration-hero .service-hero-image-wrap,
.service-page--quickbooks-hero .service-hero-image-wrap,
.service-page--sales-tax-hero .service-hero-image-wrap,
:is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap {
  width: var(--service-visual-width);
  max-width: none;
}

@media (max-width: 1180px) {
  .service-page {
    --service-hero-pad-top: clamp(36px, 4.6vh, 54px);
    --service-h1-size: clamp(2.74rem, 4.15vw, 3.95rem);
    --service-visual-width: min(106%, 790px);
    --service-visual-min-height: clamp(520px, 46vw, 600px);
  }

  html[lang="ru"] .service-page {
    --service-h1-size: clamp(2.5rem, 3.8vw, 3.58rem);
  }

  .service-page .service-hero__grid,
  .service-page--registration-hero .service-hero__grid,
  .service-page--quickbooks-hero .service-hero__grid,
  .service-page--sales-tax-hero .service-hero__grid,
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.94fr);
    gap: clamp(24px, 4vw, 44px);
  }
}

@media (max-width: 860px) {
  .service-page {
    --service-hero-pad-top: clamp(34px, 7vw, 48px);
    --service-hero-pad-bottom: clamp(32px, 7vw, 48px);
    --service-h1-size: clamp(2.24rem, 8.8vw, 3rem);
    --service-h1-line: 1.03;
    --service-visual-width: min(100%, 640px);
    --service-visual-min-height: clamp(300px, 75vw, 430px);
  }

  html[lang="ru"] .service-page {
    --service-h1-size: clamp(2.14rem, 8.2vw, 2.82rem);
    --service-h1-line: 1.04;
  }

  .service-page .service-hero {
    min-height: auto;
  }

  .service-page .service-hero__grid,
  .service-page--registration-hero .service-hero__grid,
  .service-page--quickbooks-hero .service-hero__grid,
  .service-page--sales-tax-hero .service-hero__grid,
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__grid {
    grid-template-columns: 1fr;
    gap: clamp(18px, 5vw, 26px);
  }

  .service-page .service-hero__copy,
  .service-page .service-hero__copy .lead,
  .service-page .service-hero__copy .btn-group {
    max-width: 100%;
  }

  .service-page .service-hero__copy h1,
  html[lang="ru"] .service-page .service-hero__copy h1,
  .service-page--registration-hero .service-hero__copy h1,
  html[lang="ru"] .service-page--registration-hero .service-hero__copy h1,
  .service-page--quickbooks-hero .service-hero__copy h1,
  html[lang="ru"] .service-page--quickbooks-hero .service-hero__copy h1,
  .service-page--sales-tax-hero .service-hero__copy h1,
  html[lang="ru"] .service-page--sales-tax-hero .service-hero__copy h1,
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy h1,
  html[lang="ru"] :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__copy h1 {
    max-width: 100%;
    font-size: var(--service-h1-size);
    line-height: var(--service-h1-line);
  }

  .service-page .service-hero__visual--image,
  .service-page--registration-hero .service-hero__visual--image,
  .service-page--quickbooks-hero .service-hero__visual--image,
  .service-page--sales-tax-hero .service-hero__visual--image,
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero__visual--image {
    min-height: var(--service-visual-min-height);
    justify-self: center;
  }

  .service-page--registration-hero .service-hero-image-wrap,
  .service-page--quickbooks-hero .service-hero-image-wrap,
  .service-page--sales-tax-hero .service-hero-image-wrap,
  :is(.service-page--payroll-hero, .service-page--tax-returns-hero, .service-page--financial-consulting-hero) .service-hero-image-wrap {
    width: var(--service-visual-width);
    margin-top: 0;
  }
}

@media (max-width: 430px) {
  .service-page {
    --service-visual-width: min(100%, 600px);
    --service-visual-min-height: clamp(286px, 72vw, 350px);
  }
}

/* Phase 8: keep the hero polished without continuous shimmer loops in production. */
.hero-global-shimmer,
.hero-composition-idle-sheen,
.hero-lunar-shimmer {
  opacity: 0;
}

.hero-global-shimmer,
.hero-composition-idle-sheen::before,
.hero-lunar-shimmer::before {
  animation: none !important;
  transform: none;
}

.hero-image-visual:hover .hero-global-shimmer,
.hero-image-visual:hover .hero-composition-idle-sheen,
.hero-image-visual:hover .hero-lunar-shimmer {
  opacity: 0.16;
}

@media (prefers-reduced-motion: reduce) {
  .hero-global-shimmer,
  .hero-composition-idle-sheen,
  .hero-lunar-shimmer {
    display: none !important;
  }

  .service-hero-image-wrap,
  .service-hero-image-wrap::before,
  .service-hero-image-wrap::after {
    animation: none !important;
  }

  .service-hero-image-wrap:hover .service-hero-image {
    transform: none !important;
  }

  .proto-ready .hero-copy.fade-in.is-visible > .eyebrow,
  .proto-ready .hero-copy.fade-in.is-visible > .hero-title-premium,
  .proto-ready .hero-copy.fade-in.is-visible > .lead,
  .proto-ready .hero-copy.fade-in.is-visible > .btn-group,
  .proto-ready .hero-copy.fade-in.is-visible > .hero-support-lines,
  .proto-ready .proof-strip[data-proof-strip] .proof-card {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    transition: opacity 180ms ease !important;
  }
}

@media (max-width: 480px) {
  .legal-hero h1,
  html[lang="ru"] .legal-hero h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 10vw, 2.75rem);
    line-height: 1.04;
    overflow-wrap: break-word;
  }

  .legal-page--terms .legal-hero h1 {
    max-width: 7em;
  }
}

@media (max-width: 1024px) {
  .site-header.is-open .site-header__panel {
    align-items: stretch;
  }

  .site-header__panel .header-actions,
  .article-page .site-header__panel .header-actions,
  .service-page .site-header__panel .header-actions {
    position: static;
    top: auto;
    right: auto;
    z-index: auto;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0;
    gap: 12px;
  }

  .site-header__panel .header-actions .lang-switch,
  .article-page .site-header__panel .header-actions .lang-switch,
  .service-page .site-header__panel .header-actions .lang-switch {
    display: none;
    position: static;
  }

  .site-header__panel .header-actions .btn-primary {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}
