/* AKETE — index page styles. Shared site styles are loaded from
   /assets/css/site.css (theme toggle, logo, body noise, cookie banner). */

:root {
  --bg: #080810;
  --card: #10101f;
  --card-hover: #14142a;
  --border: rgba(255, 255, 255, .07);
  --accent: #00f5c4;
  --accent2: #7b61ff;
  --accent3: #ff4fae;
  --text: #e8e8f0;
  --muted: #9494b0;
  --white: #fff;
  --button-text: #061612;
  --nav-bg: rgba(8, 8, 16, .7);
  --nav-bg-solid: rgba(8, 8, 16, .97);
  --menu-bg: rgba(8, 8, 16, .98);
  --soft-accent: rgba(0, 245, 196, .08);
  --soft-accent-strong: rgba(0, 245, 196, .2);
  --soft-surface: rgba(255, 255, 255, .04);
  --soft-surface-hover: rgba(255, 255, 255, .04);
  --card-shadow: 0 20px 60px rgba(0, 0, 0, .18);
  --subtle-glow: 0 0 80px rgba(0, 245, 196, .05);
  --ticker-bg: rgba(0, 245, 196, .02);
  --about-bg: linear-gradient(180deg, transparent, rgba(123, 97, 255, .03), transparent);
  --about-card-grad: linear-gradient(135deg, #0d0d1e, #10101f);
  --contact-glow: radial-gradient(circle, rgba(0, 245, 196, .06) 0%, transparent 70%);
  --point-bg: rgba(0, 245, 196, .1);
  --point-border: rgba(0, 245, 196, .3);
  --selection: rgba(0, 245, 196, .18);
  --f: 'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  /* --mx/--my are loaded from /assets/css/site.css */
}

:root[data-theme="light"] {
  --bg: #f5f7fb;
  --card: #ffffff;
  --card-hover: #edf2fb;
  --border: rgba(26, 39, 61, .14);
  --accent: #e632b4;
  --accent2: #f05bc4;
  --accent3: #f59adf;
  --text: #223047;
  --muted: #546277;
  --white: #122033;
  --button-text: #ffffff;
  --nav-bg: rgba(245, 247, 251, .8);
  --nav-bg-solid: rgba(245, 247, 251, .96);
  --menu-bg: rgba(245, 247, 251, .99);
  --soft-accent: rgba(230, 50, 180, .12);
  --soft-accent-strong: rgba(230, 50, 180, .24);
  --soft-surface: rgba(255, 255, 255, .95);
  --soft-surface-hover: rgba(18, 32, 51, .05);
  --card-shadow: 0 10px 28px rgba(63, 78, 104, .08);
  --subtle-glow: none;
  --ticker-bg: linear-gradient(90deg, rgba(230, 50, 180, .08), rgba(240, 91, 196, .05));
  --about-bg: linear-gradient(180deg, rgba(240, 91, 196, .06), rgba(255, 255, 255, 0), rgba(230, 50, 180, .07));
  --about-card-grad: linear-gradient(135deg, #ffffff, #f1f5ff);
  --contact-glow: radial-gradient(circle, rgba(123, 97, 255, .1) 0%, transparent 72%);
  --point-bg: rgba(230, 50, 180, .14);
  --point-border: rgba(230, 50, 180, .22);
  --selection: rgba(230, 50, 180, .16);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .4s ease, color .4s ease
}

body :where(h1, h2, h3, h4, h5, h6, p, span, label, a, button, li, strong, em, small) {
  -webkit-user-select: text;
  user-select: text;
  -webkit-touch-callout: default;
}

input,
textarea,
select {
  -webkit-user-select: text;
  user-select: text;
}

body.modal-open {
  overflow: hidden
}

::selection {
  background: var(--selection)
}

/* body::after spotlight is loaded from /assets/css/site.css */

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  animation: drift 20s ease-in-out infinite
}

:root[data-theme="light"] .orb {
  opacity: 0
}

:root[data-theme="light"] .orb1,
:root[data-theme="light"] .orb2,
:root[data-theme="light"] .orb3 {
  background: rgba(230, 50, 180, .06)
}

.orb1 {
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background: rgba(0, 245, 196, .06);
  top: -200px;
  left: -200px
}

.orb2 {
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  background: rgba(123, 97, 255, .08);
  bottom: 0;
  right: -100px;
  animation-delay: -7s
}

.orb3 {
  width: min(400px, 70vw);
  height: min(400px, 70vw);
  background: rgba(255, 79, 174, .05);
  top: 50%;
  left: 50%;
  animation-delay: -14s
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0) scale(1)
  }

  33% {
    transform: translate(40px, -30px) scale(1.05)
  }

  66% {
    transform: translate(-20px, 40px) scale(.95)
  }
}

section {
  position: relative;
  z-index: 1
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 60px);
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background .3s, transform .35s ease
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  font-weight: 800;
  color: var(--bg);
  flex-shrink: 0
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s
}

.nav-links a:hover {
  color: var(--white)
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--button-text) !important;
  font-weight: 600 !important;
  padding: 9px 22px;
  border-radius: 6px
}

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

.theme-toggle-label {
  min-width: 72px;
  display: inline-block
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all .3s
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 65px;
  left: 0;
  right: 0;
  background: var(--menu-bg);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 24px 32px;
  z-index: 999
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px
}

.mobile-menu.open {
  display: block
}

.mobile-menu a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  padding: 12px 0;
  border-bottom: 1px solid var(--border)
}

.mobile-menu li:last-child a {
  border-bottom: none;
  color: var(--accent)
}

/* HERO */
#hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px clamp(20px, 5vw, 60px) 80px;
  overflow: hidden
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--soft-accent);
  border: 1px solid var(--soft-accent-strong);
  color: var(--accent);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 100px;
  margin-bottom: 36px;
  animation: fadeUp .8s ease both
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s ease infinite
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .4;
    transform: scale(.7)
  }
}

#hero h1 {
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.04em;
  color: var(--white);
  max-width: 900px;
  margin-bottom: 28px;
  animation: fadeUp .8s .15s ease both
}

#hero .hero-h1-row {
  display: block;
}

#hero .hero-h1-row:not(:last-child) {
  margin-bottom: 0.06em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--accent), var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 4s linear infinite
}

:root[data-theme="light"] .gradient-text {
  background: linear-gradient(90deg, #00f5c4, #7b61ff, #ff4fae);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmer 4s linear infinite
}

@keyframes shimmer {
  0% {
    background-position: 0% center
  }

  100% {
    background-position: 200% center
  }
}

.hero-sub {
  font-size: clamp(.95rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 540px;
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: 48px;
  animation: fadeUp .8s .3s ease both
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .8s .45s ease both
}

.btn-primary {
  background: var(--accent);
  color: var(--button-text);
  padding: 15px 36px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .25s;
  font-family: var(--f);
  position: relative;
  overflow: hidden
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
  transform: translateX(-100%);
  transition: transform .5s
}

.btn-primary:hover::before {
  transform: translateX(100%)
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(0, 245, 196, .25)
}

:root[data-theme="light"] .btn-primary {
  color: #fff
}

:root[data-theme="light"] .btn-primary:hover {
  box-shadow: 0 10px 24px rgba(230, 50, 180, .16)
}

:root[data-theme="light"] .theme-toggle-track {
  box-shadow: none
}

:root[data-theme="light"] .theme-toggle-thumb {
  box-shadow: 0 2px 6px rgba(230, 50, 180, .12)
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  padding: 15px 36px;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 400;
  border: 1px solid var(--border);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .25s;
  font-family: var(--f)
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, .2);
  background: var(--soft-surface-hover);
  transform: translateY(-2px)
}

.hero-stats {
  display: flex;
  gap: clamp(24px, 6vw, 60px);
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp .8s .6s ease both
}

.stat {
  text-align: center
}

.stat-num {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  display: block
}

.stat-num span {
  color: var(--accent)
}

.stat-label {
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .07em;
  text-transform: uppercase
}

.hero-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent2), transparent);
  opacity: .3
}

/* TICKER */
.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  background: var(--ticker-bg);
  position: relative;
  z-index: 1
}

.ticker {
  display: flex;
  animation: tick 30s linear infinite;
  width: max-content
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 36px;
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap
}

.ticker-sep {
  color: var(--accent);
  opacity: .5
}

@keyframes tick {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

/* SHARED */
.section-label {
  display: inline-block;
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1.15;
  margin-bottom: 16px
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  max-width: 500px;
  line-height: 1.75
}

.section-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  max-width: 1200px;
  margin: 0 auto
}

/* WORKFLOW */
@property --flow-progress {
  syntax: '<number>';
  initial-value: 0;
  inherits: true;
}

#workflow-strip {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 76px) clamp(20px, 5vw, 60px);
  position: relative;
  --flow-progress: 0;
  transition: --flow-progress 520ms cubic-bezier(.22, .61, .36, 1);
}

.workflow-shell {
  border: none;
  border-radius: 0;
  padding: clamp(10px, 2.2vw, 18px) 0;
  background: transparent;
  box-shadow: none;
  position: relative;
  overflow: visible
}

.workflow-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
  text-align: center;
}

.workflow-kicker {
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600
}

.workflow-rail {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  padding: 6px 0;
  max-width: 1080px;
  margin: 0 auto
}

.workflow-rail::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 10px;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 245, 196, .1), rgba(123, 97, 255, .12), rgba(255, 79, 174, .1));
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0
}

.workflow-rail::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 8px;
  height: calc((100% - 18px) * var(--flow-progress));
  width: 2px;
  background: linear-gradient(180deg, rgba(0, 245, 196, .95), rgba(123, 97, 255, .88), rgba(255, 79, 174, .82));
  box-shadow: 0 0 18px rgba(0, 245, 196, .28), 0 0 24px rgba(123, 97, 255, .22);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 1;
  will-change: height;
}

.workflow-progress-head {
  position: absolute;
  left: 50%;
  top: calc(8px + (100% - 18px) * var(--flow-progress));
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 6px rgba(0, 245, 196, .16), 0 0 18px rgba(0, 245, 196, .42), 0 0 30px rgba(123, 97, 255, .32);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 3;
  will-change: top;
}

.workflow-step {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  width: calc(50% - 52px);
  opacity: .3;
  transform: translateY(18px) scale(.985);
  transition: opacity .85s cubic-bezier(.22, .61, .36, 1),
    transform .85s cubic-bezier(.22, .61, .36, 1),
    filter .85s cubic-bezier(.22, .61, .36, 1);
  filter: saturate(.9);
  background-clip: padding-box;
}

.workflow-step-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 44px;
  gap: 8px;
  margin-bottom: 12px;
  flex: 0 0 auto;
}

.workflow-rail > .workflow-step:nth-of-type(odd) {
  margin-left: auto;
  text-align: left;
  align-items: flex-start
}

.workflow-rail > .workflow-step:nth-of-type(even) {
  margin-right: auto;
  text-align: right;
  align-items: flex-end
}

.workflow-step::before {
  content: '';
  position: absolute;
  top: calc(26px + 8px + 5px);
  width: 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 245, 196, .16), rgba(123, 97, 255, .14));
  pointer-events: none;
  z-index: 0;
  transform: translateY(-.5px);
}

.workflow-rail > .workflow-step:nth-of-type(odd)::before {
  left: -48px;
}

.workflow-rail > .workflow-step:nth-of-type(even)::before {
  left: 100%;
}

.workflow-index {
  position: static;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: .72rem;
  font-weight: 700;
  color: #f4f7ff;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .32);
  opacity: .9;
  transition: transform .6s cubic-bezier(.22, .61, .36, 1),
    opacity .6s cubic-bezier(.22, .61, .36, 1),
    box-shadow .6s cubic-bezier(.22, .61, .36, 1);
  z-index: 3;
}

.workflow-step.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: none
}

.workflow-step.is-visible::before {
  background: linear-gradient(90deg, rgba(0, 245, 196, .45), rgba(123, 97, 255, .38));
  box-shadow: 0 0 10px rgba(0, 245, 196, .2);
}

.workflow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(0, 245, 196, .32);
  margin-bottom: 0;
  transition: transform .65s cubic-bezier(.22, .61, .36, 1),
    box-shadow .65s cubic-bezier(.22, .61, .36, 1),
    opacity .65s cubic-bezier(.22, .61, .36, 1);
  opacity: .55;
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
}

.workflow-rail > .workflow-step:nth-of-type(1) .workflow-dot,
.workflow-rail > .workflow-step:nth-of-type(4) .workflow-dot {
  background: var(--accent2);
  box-shadow: 0 0 14px rgba(123, 97, 255, .3)
}

.workflow-rail > .workflow-step:nth-of-type(2) .workflow-dot,
.workflow-rail > .workflow-step:nth-of-type(5) .workflow-dot {
  background: var(--accent3);
  box-shadow: 0 0 14px rgba(255, 79, 174, .3)
}

.workflow-step h3 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 650;
  margin-top: 0;
  margin-bottom: 6px;
  width: 100%;
  max-width: 100%;
}

.workflow-step p {
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.55;
  width: 100%;
  max-width: 100%;
}

.workflow-icon {
  width: 40px;
  height: 40px;
  margin: 0;
  color: var(--accent);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
  filter: drop-shadow(0 0 8px rgba(0, 245, 196, .2));
  transition: transform .65s cubic-bezier(.22, .61, .36, 1),
    opacity .65s cubic-bezier(.22, .61, .36, 1),
    filter .65s cubic-bezier(.22, .61, .36, 1);
  opacity: .52;
  display: block;
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
}

.workflow-rail > .workflow-step:nth-of-type(1) .workflow-icon,
.workflow-rail > .workflow-step:nth-of-type(4) .workflow-icon {
  color: var(--accent2);
  filter: drop-shadow(0 0 8px rgba(123, 97, 255, .22))
}

.workflow-rail > .workflow-step:nth-of-type(2) .workflow-icon,
.workflow-rail > .workflow-step:nth-of-type(5) .workflow-icon {
  color: var(--accent3);
  filter: drop-shadow(0 0 8px rgba(255, 79, 174, .22))
}

.workflow-step.is-visible .workflow-dot {
  transform: scale(1.14);
  opacity: 1;
  box-shadow: 0 0 18px rgba(0, 245, 196, .42);
}

.workflow-rail > .workflow-step.is-visible:nth-of-type(1) .workflow-dot,
.workflow-rail > .workflow-step.is-visible:nth-of-type(4) .workflow-dot {
  box-shadow: 0 0 18px rgba(123, 97, 255, .4);
}

.workflow-rail > .workflow-step.is-visible:nth-of-type(2) .workflow-dot,
.workflow-rail > .workflow-step.is-visible:nth-of-type(5) .workflow-dot {
  box-shadow: 0 0 18px rgba(255, 79, 174, .38);
}

.workflow-step.is-visible .workflow-icon {
  opacity: 1;
  transform: translateY(-1px) scale(1.02);
}

.workflow-step.is-visible .workflow-index {
  opacity: 1;
  transform: scale(1.02);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .4);
}

@media (hover: hover) and (pointer: fine) {
  .workflow-icon {
    cursor: default;
  }

  .workflow-step.is-visible .workflow-icon,
  .workflow-step .workflow-icon {
    transition: transform .3s ease, filter .3s ease, color .3s ease, opacity .3s ease;
  }

  .workflow-step .workflow-icon:hover {
    transform: translateY(-3px) scale(1.08);
    filter: drop-shadow(0 4px 14px currentColor);
    opacity: 1;
  }

  .workflow-step.is-visible .workflow-icon:hover {
    transform: translateY(-3px) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  #workflow-strip {
    transition: none;
  }

  .workflow-step {
    transition: opacity .25s linear, transform .25s linear;
  }
}

:root[data-theme="light"] .workflow-rail::before {
  width: 2px;
  background: linear-gradient(180deg,
      rgba(230, 50, 180, .32),
      rgba(180, 100, 210, .28),
      rgba(240, 91, 196, .26));
}

:root[data-theme="light"] .workflow-rail::after {
  width: 3px;
  background: linear-gradient(180deg,
      rgba(230, 50, 180, .85),
      rgba(200, 100, 220, .8),
      rgba(245, 154, 223, .78));
  box-shadow: 0 0 20px rgba(230, 50, 180, .3), 0 0 32px rgba(200, 120, 220, .22);
}

:root[data-theme="light"] .workflow-progress-head {
  background: var(--accent);
  box-shadow:
    0 0 0 4px rgba(230, 50, 180, .2),
    0 0 16px rgba(230, 50, 180, .4),
    0 0 24px rgba(200, 100, 220, .3);
}

:root[data-theme="light"] .workflow-index {
  color: var(--text);
  background: #ffffff;
  border: 1px solid rgba(26, 39, 61, .2);
  box-shadow: 0 2px 10px rgba(63, 78, 104, .1);
  opacity: 1;
}

:root[data-theme="light"] .workflow-step::before {
  background: linear-gradient(90deg, rgba(230, 50, 180, .4), rgba(200, 120, 210, .35));
}

:root[data-theme="light"] .workflow-step.is-visible::before {
  background: linear-gradient(90deg, rgba(230, 50, 180, .55), rgba(200, 100, 220, .48));
  box-shadow: 0 0 8px rgba(230, 50, 180, .2);
}

:root[data-theme="light"] #workflow-strip .workflow-icon {
  color: var(--accent);
  opacity: 1;
  filter: drop-shadow(0 1px 2px rgba(63, 78, 104, .16));
}

:root[data-theme="light"] .workflow-step.is-visible .workflow-icon {
  opacity: 1;
}

:root[data-theme="light"] .workflow-step p {
  color: #3d4d63;
}

:root[data-theme="light"] .workflow-step .workflow-icon:hover,
:root[data-theme="light"] .workflow-step.is-visible .workflow-icon:hover {
  filter: drop-shadow(0 6px 18px rgba(230, 50, 180, .45));
}

/* SERVICES */
#services {
  padding: clamp(60px, 10vw, 130px) clamp(20px, 5vw, 60px);
  max-width: 1200px;
  margin: 0 auto
}

.services-header {
  margin-bottom: 56px
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden
}

.service-card {
  background: var(--card);
  padding: clamp(22px, 4vw, 44px) clamp(18px, 3vw, 36px);
  position: relative;
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
  overflow: hidden;
  width: 100%;
  text-align: left;
  border: none;
  font: inherit;
  cursor: pointer
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease
}

.service-card:hover {
  background: var(--card-hover);
  box-shadow: var(--card-shadow)
}

.service-card:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(0, 245, 196, .25), var(--card-shadow)
}

:root[data-theme="light"] .service-card:focus-visible {
  box-shadow: 0 0 0 2px rgba(230, 50, 180, .2), 0 10px 28px rgba(63, 78, 104, .08)
}

.service-card:hover::before {
  transform: scaleX(1)
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white)
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.si1 {
  background: rgba(0, 245, 196, .1)
}

.si2 {
  background: rgba(123, 97, 255, .1)
}

.si3 {
  background: rgba(255, 79, 174, .1)
}

.si4 {
  background: rgba(0, 245, 196, .08)
}

.si5 {
  background: rgba(123, 97, 255, .08)
}

.si6 {
  background: rgba(255, 79, 174, .08)
}

:root[data-theme="light"] .si1,
:root[data-theme="light"] .si2,
:root[data-theme="light"] .si3,
:root[data-theme="light"] .si4,
:root[data-theme="light"] .si5,
:root[data-theme="light"] .si6 {
  background: rgba(230, 50, 180, .1);
  color: var(--accent)
}

.service-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: -.01em
}

.service-desc {
  color: var(--muted);
  font-size: .87rem;
  line-height: 1.65;
  font-weight: 300;
  padding-bottom: 28px
}

.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase
}

.service-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .05);
  color: var(--white);
  transition: transform .3s ease, background .3s ease, color .3s ease
}

.service-arrow svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.service-card:hover .service-arrow,
.service-card:focus-visible .service-arrow {
  transform: translateX(3px);
  background: rgba(255, 255, 255, .09)
}

:root[data-theme="light"] .service-arrow {
  background: rgba(230, 50, 180, .08);
  color: var(--accent)
}

:root[data-theme="light"] .service-card:hover .service-arrow,
:root[data-theme="light"] .service-card:focus-visible .service-arrow {
  background: rgba(230, 50, 180, .14)
}

.service-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity .3s ease
}

.service-modal.active {
  visibility: visible;
  pointer-events: auto
}

.service-modal.open {
  opacity: 1;
  pointer-events: auto
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 7, 15, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .32s ease, background .32s ease
}

.service-modal-card {
  position: relative;
  width: min(720px, 100%);
  max-height: min(86vh, 860px);
  overflow: auto;
  border-radius: 24px;
  border: 1px solid rgba(0, 245, 196, .18);
  background: linear-gradient(180deg, rgba(14, 16, 29, .96), rgba(9, 10, 21, .98));
  box-shadow: 0 24px 80px rgba(0, 0, 0, .34);
  padding: clamp(24px, 4vw, 36px);
  transform: translateY(18px) scale(.98);
  transition: transform .3s ease, border-color .3s ease, background .3s ease
}

.service-modal.open .service-modal-card {
  transform: translateY(0) scale(1)
}

:root[data-theme="light"] .service-modal-backdrop {
  background: rgba(241, 244, 250, .72)
}

.service-modal.open .service-modal-backdrop {
  opacity: 1
}

:root[data-theme="light"] .service-modal-card {
  border-color: rgba(230, 50, 180, .16);
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(248, 249, 253, .99));
  box-shadow: 0 20px 56px rgba(63, 78, 104, .16)
}

.service-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .04);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s ease, transform .25s ease;
  z-index: 1
}

.service-modal-close:hover {
  transform: rotate(90deg);
  background: rgba(255, 255, 255, .08)
}

:root[data-theme="light"] .service-modal-close {
  background: rgba(230, 50, 180, .06);
  color: var(--accent)
}

:root[data-theme="light"] .service-modal-close:hover {
  background: rgba(230, 50, 180, .12)
}

.service-modal-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding-right: 48px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .34s ease, transform .34s ease
}

.service-modal-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(0, 245, 196, .18), rgba(123, 97, 255, .16));
  border: 1px solid rgba(0, 245, 196, .16);
  color: #f7fbff
}

.service-modal-icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

:root[data-theme="light"] .service-modal-icon {
  background: linear-gradient(135deg, rgba(230, 50, 180, .12), rgba(245, 154, 223, .14));
  border-color: rgba(230, 50, 180, .16);
  color: var(--accent)
}

.service-modal-label {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px
}

.service-modal-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  color: var(--white);
  margin-bottom: 8px
}

.service-modal-sub {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.7
}

.service-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.service-modal-panel {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 18px 20px;
  background: rgba(255, 255, 255, .03);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .38s ease, transform .38s ease
}

.service-modal-panel h4 {
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--accent);
  margin-bottom: 10px
}

.service-modal-panel p {
  color: var(--text);
  font-size: .93rem;
  line-height: 1.8;
  font-weight: 400;
  white-space: pre-line
}

:root[data-theme="light"] .service-modal-panel {
  background: rgba(230, 50, 180, .035)
}

.service-badge {
  margin-top: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  background: rgba(255, 255, 255, .03);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s ease, transform .4s ease
}

.service-badge-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700
}

.service-badge a {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none
}

.service-badge img {
  width: min(160px, 40vw);
  height: auto;
  display: block;
  flex-shrink: 0
}

.service-badge-copy {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.7;
  max-width: 320px
}

:root[data-theme="light"] .service-badge {
  background: rgba(230, 50, 180, .035)
}

.service-modal.open .service-modal-head {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .04s
}

.service-modal.open .service-modal-panel {
  opacity: 1;
  transform: translateY(0)
}

.service-modal.open .service-modal-panel:nth-child(1) {
  transition-delay: .12s
}

.service-modal.open .service-modal-panel:nth-child(2) {
  transition-delay: .18s
}

.service-modal.open .service-badge {
  opacity: 1;
  transform: translateY(0);
  transition-delay: .24s
}

/* ABOUT */
#about {
  padding: clamp(60px, 10vw, 130px) clamp(20px, 5vw, 60px);
  background: var(--about-bg)
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center
}

.about-visual {
  position: relative;
  height: 420px
}

.av-card {
  position: absolute;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 26px;
  box-shadow: var(--card-shadow);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease
}

.av-main {
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--about-card-grad);
  border: 1px solid rgba(0, 245, 196, .15);
  box-shadow: var(--subtle-glow);
  padding: 36px
}

.av-geo-text {
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 10px
}

.av-geo-label {
  color: var(--muted);
  font-size: .76rem;
  letter-spacing: .1em
}

.av-geo-translation {
  margin-top: 14px;
  font-size: .83rem;
  color: rgba(0, 245, 196, .5);
  font-style: italic
}

.av-float1 {
  bottom: 20px;
  left: -24px;
  background: rgba(123, 97, 255, .1);
  border-color: rgba(123, 97, 255, .2)
}

.av-float2 {
  top: 20px;
  right: -24px;
  background: rgba(0, 245, 196, .06);
  border-color: rgba(0, 245, 196, .15)
}

:root[data-theme="light"] .av-main {
  border-color: rgba(230, 50, 180, .16);
  box-shadow: 0 10px 28px rgba(63, 78, 104, .08)
}

:root[data-theme="light"] .av-geo-translation {
  color: rgba(230, 50, 180, .6)
}

:root[data-theme="light"] .av-float2 {
  background: rgba(230, 50, 180, .08);
  border-color: rgba(230, 50, 180, .16)
}

.float-num {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--white)
}

.float-num--accent {
  color: var(--accent)
}

.float-num--accent2 {
  color: var(--accent2)
}

.center-block {
  margin: 0 auto
}

.btn-primary--block {
  width: 100%;
  justify-content: center;
  font-size: 1rem;
  padding: 17px
}

/* .fx-canvas styles are loaded from /assets/css/site.css */

.ka-accent {
  color: var(--accent);
  font-style: normal;
  font-weight: 600
}

.float-label {
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .08em
}

.about-points {
  list-style: none;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 17px
}

.about-point {
  display: flex;
  gap: 14px;
  align-items: flex-start
}

/* One visible marker per line; FX canvas adds rings/lines on proximity */
.point-dot {
  box-sizing: border-box;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent);
  opacity: .5;
  border: none;
  box-shadow: 0 0 12px rgba(0, 245, 196, .2);
}

.point-text {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.65
}

.point-text strong {
  color: var(--text);
  font-weight: 600
}

/* CONTACT */
#contact {
  padding: clamp(60px, 10vw, 130px) clamp(20px, 5vw, 60px);
  max-width: 860px;
  margin: 0 auto;
  text-align: center
}

.contact-card {
  background: var(--card);
  border: 1px solid rgba(0, 245, 196, .15);
  border-radius: 20px;
  padding: clamp(32px, 6vw, 70px) clamp(20px, 6vw, 60px);
  margin-top: 52px;
  position: relative;
  overflow: hidden;
  text-align: left;
  box-shadow: var(--card-shadow);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease
}

:root[data-theme="light"] .contact-card {
  border-color: rgba(230, 50, 180, .16);
  box-shadow: 0 10px 28px rgba(63, 78, 104, .08)
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: var(--contact-glow);
  pointer-events: none
}

:root[data-theme="light"] .contact-card::before {
  opacity: 0
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px
}

.contact-secondary-cta {
  margin-top: 4px;
  text-align: center;
  font-size: .88rem;
  color: var(--muted)
}

.contact-secondary-cta a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease
}

.contact-secondary-cta a:hover {
  border-color: currentColor
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px
}

.form-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  font-weight: 600
}

.form-input,
.form-textarea {
  background: var(--soft-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 15px;
  color: var(--text);
  font-family: var(--f);
  font-size: .92rem;
  font-weight: 300;
  transition: background .35s ease, border-color .25s ease, box-shadow .25s ease, color .35s ease;
  outline: none;
  width: 100%
}

.form-input:focus,
.form-textarea:focus {
  border-color: rgba(0, 245, 196, .3);
  box-shadow: 0 0 0 3px rgba(0, 245, 196, .06)
}

:root[data-theme="light"] .form-input:focus,
:root[data-theme="light"] .form-textarea:focus {
  border-color: rgba(230, 50, 180, .3);
  box-shadow: 0 0 0 2px rgba(230, 50, 180, .08)
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--muted);
  opacity: .6
}

.form-textarea {
  resize: vertical;
  min-height: 120px
}

/* FAQ */
#faq {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px) clamp(56px, 8vw, 90px)
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 24px
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: background .3s ease, border-color .3s ease
}

.faq-item:hover {
  background: var(--card-hover)
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .45s cubic-bezier(0.4, 0, 0.2, 1)
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-answer-wrap {
  display: grid;
  transition: grid-template-rows .45s cubic-bezier(0.4, 0, 0.2, 1)
}

.faq-item:not([open]) .faq-answer-wrap {
  grid-template-rows: 0fr
}

.faq-item[open]:not(.faq-closing) .faq-answer-wrap {
  grid-template-rows: 1fr
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden
}

.faq-answer {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.75;
  padding: 0 20px 18px;
  margin: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .38s cubic-bezier(0.4, 0, 0.2, 1) .05s, transform .45s cubic-bezier(0.4, 0, 0.2, 1) .03s
}

.faq-item[open]:not(.faq-closing) .faq-answer {
  opacity: 1;
  transform: translateY(0)
}

.faq-item[open].faq-closing .faq-answer {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .28s cubic-bezier(0.4, 0, 0.2, 1), transform .36s cubic-bezier(0.4, 0, 0.2, 1)
}

.faq-item:not([open]) .faq-answer {
  transition: opacity .26s cubic-bezier(0.4, 0, 0.2, 1), transform .34s cubic-bezier(0.4, 0, 0.2, 1)
}

@media (prefers-reduced-motion: reduce) {
  .faq-answer-wrap {
    transition: none
  }

  .faq-answer {
    transition: none;
    transform: none
  }

  .faq-item[open].faq-closing .faq-answer {
    opacity: 1
  }

  .faq-item summary::after {
    transition: none
  }
}

/* Footer styles are loaded from /assets/css/site.css */

:root[data-theme="light"] .service-icon,
:root[data-theme="light"] .highlight-box,
:root[data-theme="light"] .contact-card,
:root[data-theme="light"] .av-card,
:root[data-theme="light"] .service-card {
  border-color: var(--border);
  box-shadow: 0 8px 20px rgba(63, 78, 104, .06)
}

/* ANIMATIONS */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px)
  }

  to {
    opacity: 1;
    transform: translateY(0)
  }
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .65s ease, transform .65s ease;
  transition-delay: var(--reveal-delay, 0ms)
}

.reveal.hidden {
  opacity: 0;
  transform: translateY(28px)
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0)
}

/* RESPONSIVE */
@media(max-width:900px) {
  nav {
    padding: 16px 20px
  }

  .nav-logo-stack {
    width: 140px;
    height: 62px
  }

  .nav-links {
    display: none
  }

  .theme-toggle-label {
    display: none
  }

  .nav-hamburger {
    display: flex
  }

  .nav-meta {
    gap: 12px
  }

  .mobile-menu {
    top: 76px;
    padding: 20px 20px 24px
  }

  #hero {
    min-height: auto;
    padding-top: 126px;
    padding-bottom: 68px
  }

  .hero-sub {
    margin-bottom: 36px
  }

  .hero-stats {
    margin-top: 56px;
    padding-top: 32px;
    gap: 22px
  }

  .services-grid {
    grid-template-columns: 1fr 1fr
  }

  .workflow-rail {
    gap: 14px;
  }

  .workflow-rail::before {
    left: 50%;
  }

  .service-modal-grid {
    grid-template-columns: 1fr
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px
  }

  .about-visual {
    height: 300px
  }

  .av-float1 {
    left: 0
  }

  .av-float2 {
    right: 0
  }
}

@media(max-width:600px) {
  nav {
    padding: 14px 16px
  }

  .nav-logo-stack {
    width: 126px;
    height: 56px
  }

  .nav-logo-img {
    transition: opacity .45s ease, transform .45s ease;
    will-change: auto
  }

  .theme-toggle {
    padding: 5px 8px 5px 10px
  }

  .mobile-menu {
    top: 70px;
    padding: 16px 16px 20px
  }

  #hero {
    padding: 118px 16px 56px
  }

  .hero-badge {
    margin-bottom: 24px
  }

  #hero h1 {
    margin-bottom: 20px
  }

  .hero-sub {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 28px
  }

  .hero-actions {
    width: 100%;
    gap: 10px
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center
  }

  .hero-stats {
    width: 100%;
    justify-content: space-between;
    gap: 16px
  }

  .stat {
    flex: 1 1 96px
  }

  .services-grid {
    grid-template-columns: 1fr
  }

  #workflow-strip {
    padding: 36px 16px 46px;
  }

  .workflow-shell {
    border-radius: 0;
    padding: 8px 0;
  }

  .workflow-header {
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
  }

  .workflow-rail {
    gap: 12px;
  }

  .workflow-rail::before,
  .workflow-rail::after {
    left: 10px;
    transform: none;
  }

  .workflow-rail::before {
    top: 6px;
    bottom: 8px;
  }

  .workflow-rail::after {
    top: 6px;
    height: calc((100% - 14px) * var(--flow-progress));
  }

  .workflow-progress-head {
    left: 10px;
    transform: translate(-50%, -50%);
  }

  .workflow-step {
    width: 100%;
    margin: 0;
    text-align: left;
    padding-left: 34px;
    align-items: flex-start;
  }

  .workflow-rail > .workflow-step:nth-of-type(odd),
  .workflow-rail > .workflow-step:nth-of-type(even) {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    align-items: flex-start;
  }

  .workflow-step-visual {
    align-items: flex-start;
  }

  .workflow-rail > .workflow-step:nth-of-type(odd) .workflow-icon,
  .workflow-rail > .workflow-step:nth-of-type(even) .workflow-icon {
    margin-left: 0;
    margin-right: 0;
  }

  .workflow-step::before,
  .workflow-rail > .workflow-step:nth-of-type(odd)::before,
  .workflow-rail > .workflow-step:nth-of-type(even)::before {
    left: 10px;
    right: auto;
    top: calc(26px + 8px + 5px);
    width: 24px;
  }

  .service-modal {
    padding: 16px
  }

  .service-modal-card {
    border-radius: 20px;
    padding: 22px 18px
  }

  .service-modal-head {
    gap: 14px;
    margin-bottom: 18px
  }

  .service-modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 16px
  }

  .service-badge a {
    flex-direction: column;
    align-items: center;
    gap: 12px
  }

  .service-badge img {
    width: min(170px, 100%)
  }

  .service-badge-copy {
    max-width: none;
    text-align: center
  }

  .about-visual {
    height: 240px
  }

  .av-float1,
  .av-float2 {
    display: none
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .contact-card {
    margin-top: 40px;
    padding: 24px 16px
  }

  #faq {
    padding: 0 16px 56px
  }

  .faq-item summary {
    padding: 16px;
    font-size: .92rem
  }

  .faq-answer {
    padding: 0 16px 16px
  }

  /* Responsive footer rules are loaded from /assets/css/site.css */
}

@media(max-width:380px) {
  .nav-logo-stack {
    width: 114px;
    height: 50px
  }

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

  .btn-primary,
  .btn-secondary {
    justify-content: center
  }

  .hero-stats {
    justify-content: center
  }
}

@media(max-height:700px) {
  .service-modal {
    padding: 12px
  }

  .service-modal-card {
    max-height: 92vh;
    padding: 18px 16px;
    border-radius: 18px
  }

  .service-modal-head {
    margin-bottom: 16px
  }
}

/* Global reduced-motion guard: silence decorative loops and reveal motion. */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }

  .orb {
    animation: none !important;
    opacity: .35;
  }

  /* body::after reduced-motion override is loaded from /assets/css/site.css */

  .reveal {
    transform: none !important;
  }
}
