/* =====================================================================
   cogen s.r.o. — styles.css
   Light & airy · pure CSS/SVG · static
   ===================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg:          #fbfbfd;
  --surface:     #ffffff;
  --surface-2:   #f5f4fb;
  --ink:         #0e0e15;
  --ink-soft:    #5b5b6b;
  --ink-faint:   #8a8a98;
  --line:        #e9e8f1;
  --line-soft:   #f0eff6;

  --accent:      #5b53f0;
  --accent-2:    #9b6cf2;
  --accent-deep: #2b2496;
  --accent-tint: #eeecfe;
  --warm:        #ff7a59;

  --grad:      linear-gradient(120deg, #5b53f0 0%, #9b6cf2 60%, #c08bf5 100%);
  --grad-soft: linear-gradient(135deg, #f1effe 0%, #f6effb 100%);

  --r-xs: 8px;
  --r-sm: 12px;
  --r:    18px;
  --r-lg: 26px;
  --r-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(14,14,21,.04), 0 3px 10px rgba(14,14,21,.04);
  --shadow:    0 4px 14px rgba(14,14,21,.05), 0 18px 44px rgba(14,14,21,.08);
  --shadow-lg: 0 10px 30px rgba(14,14,21,.08), 0 40px 90px rgba(43,36,150,.14);

  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

::selection { background: rgba(91,83,240,.18); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: fixed; top: -60px; left: 16px; z-index: 200;
  background: var(--ink); color: #fff;
  padding: 10px 18px; border-radius: var(--r-xs);
  transition: top .2s var(--ease);
}
.skip:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
}

/* =====================================================================
   Animated background
   ===================================================================== */
.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: .55;
  will-change: transform;
}
.orb-1 {
  width: 560px; height: 560px;
  top: -180px; left: -140px;
  background: radial-gradient(circle at 32% 32%, #c9c5ff, transparent 68%);
  animation: drift1 38s ease-in-out infinite;
}
.orb-2 {
  width: 520px; height: 520px;
  top: 6%; right: -180px;
  background: radial-gradient(circle at 60% 40%, #e7d4ff, transparent 70%);
  animation: drift2 44s ease-in-out infinite;
}
.orb-3 {
  width: 480px; height: 480px;
  bottom: -160px; left: 12%;
  background: radial-gradient(circle at 50% 50%, #ffe2d6, transparent 72%);
  opacity: .4;
  animation: drift3 50s ease-in-out infinite;
}
.orb-4 {
  width: 420px; height: 420px;
  bottom: 8%; right: 6%;
  background: radial-gradient(circle at 40% 50%, #d3e6ff, transparent 70%);
  opacity: .45;
  animation: drift1 46s ease-in-out infinite reverse;
}

@keyframes drift1 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(60px, 50px) scale(1.12); }
}
@keyframes drift2 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(-70px, 60px) scale(1.08); }
}
@keyframes drift3 {
  0%,100% { transform: translate(0,0) scale(1); }
  50%     { transform: translate(50px, -50px) scale(1.14); }
}

.mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91,83,240,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91,83,240,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 0%, transparent 75%);
          mask-image: radial-gradient(ellipse 75% 60% at 50% 30%, #000 0%, transparent 75%);
}

/* =====================================================================
   Header
   ===================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(251,251,253,.82);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
          backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(14,14,21,.05);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

/* logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 11px;
  box-shadow: 0 6px 16px rgba(91,83,240,.32);
}
.logo-word {
  font-size: 1.42rem;
  font-weight: 700;
  letter-spacing: -.03em;
}

/* nav */
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
.nav > a {
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .96rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav > a:hover { color: var(--ink); background: var(--surface-2); }
.nav-cta { display: none; }

/* header right side */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* language switch */
.lang {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-faint);
  transition: color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}
.lang-btn .flag {
  width: 21px; height: 14px;
  border-radius: 3px;
  opacity: .55;
  transition: opacity .2s var(--ease);
  box-shadow: 0 0 0 1px rgba(14,14,21,.06);
}
.lang-btn:hover { color: var(--ink-soft); }
.lang-btn:hover .flag { opacity: .85; }
.lang-btn[aria-pressed="true"] {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm), inset 0 0 0 1.5px rgba(91,83,240,.35);
}
.lang-btn[aria-pressed="true"] .flag { opacity: 1; }

/* header button */
.btn { /* base shared with .btn defs below */ }
.header-btn { white-space: nowrap; }

/* burger (mobile only) */
.nav-toggle {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.nav-toggle:focus-visible ~ .header-actions .burger {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 0 10px;
}
.burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .2s var(--ease);
}

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.01em;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease);
}
.btn-sm { padding: 10px 18px; font-size: .92rem; }

.btn-primary {
  color: #fff;
  background: var(--grad);
  background-size: 160% 160%;
  box-shadow: 0 8px 22px rgba(91,83,240,.34), inset 0 1px 0 rgba(255,255,255,.18);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 14px 32px rgba(91,83,240,.42), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(91,83,240,.4);
  box-shadow: var(--shadow);
}

.ic-arrow {
  width: 19px; height: 19px;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  transition: transform .2s var(--ease);
}
.btn:hover .ic-arrow { transform: translateX(3px); }

/* =====================================================================
   Section scaffolding
   ===================================================================== */
.section { padding-block: clamp(72px, 9.5vw, 138px); position: relative; }
.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(245,244,251,.7) 12%, rgba(245,244,251,.7) 88%, transparent);
  z-index: -1;
}

.section-head {
  max-width: 660px;
  margin: 0 auto clamp(44px, 5.5vw, 72px);
  text-align: center;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  box-shadow: var(--shadow-sm);
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- Typography ---------- */
h1, h2, h3 { letter-spacing: -.035em; line-height: 1.08; font-weight: 700; }

h1 {
  font-size: clamp(2.5rem, 5.6vw, 4.05rem);
  line-height: 1.04;
}
h1 span { display: block; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.85rem); }
h3 { font-size: 1.24rem; letter-spacing: -.02em; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero { padding-block: clamp(56px, 8vw, 116px); position: relative; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}

.hero-copy { max-width: 600px; }
.hero h1 { margin-bottom: 24px; }
.hero-sub {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.hero-ticker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hero-ticker li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.ic-check {
  width: 17px; height: 17px;
  flex-shrink: 0;
  fill: none; stroke: var(--accent);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  background: var(--accent-tint);
  border-radius: 50%;
  padding: 2px;
}

/* ---------- Hero artwork ---------- */
.hero-art {
  position: relative;
  perspective: 1400px;
}
.art-glow {
  position: absolute;
  inset: -8% -6% -14% -6%;
  background: radial-gradient(ellipse at 60% 40%, rgba(155,108,242,.32), transparent 68%);
  filter: blur(20px);
  z-index: -1;
}

.window {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotateY(-13deg) rotateX(6deg) rotate(1deg);
  transform-style: preserve-3d;
  animation: floatWin 9s ease-in-out infinite;
}
@keyframes floatWin {
  0%,100% { transform: rotateY(-13deg) rotateX(6deg) rotate(1deg) translateY(0); }
  50%     { transform: rotateY(-10deg) rotateX(4deg) rotate(0deg) translateY(-14px); }
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 14px 18px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line);
}
.win-dot { width: 10px; height: 10px; border-radius: 50%; background: #d8d6e6; }
.win-dot:nth-child(1) { background: #ff7a73; }
.win-dot:nth-child(2) { background: #ffc24b; }
.win-dot:nth-child(3) { background: #4bd07a; }
.win-url {
  margin-left: 12px;
  flex: 1;
  height: 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.win-body { display: flex; min-height: 290px; }

.win-side {
  width: 116px;
  flex-shrink: 0;
  padding: 18px 14px;
  background: linear-gradient(180deg, #faf9ff, #f4f2fc);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ws-logo {
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--grad);
  margin-bottom: 6px;
}
.ws-line {
  height: 9px;
  border-radius: 999px;
  background: #e6e4f1;
  width: 100%;
}
.ws-line.w70 { width: 70%; }
.ws-line.w85 { width: 85%; }
.ws-line.w60 { width: 60%; }
.ws-line.active {
  background: var(--grad);
  height: 11px;
  box-shadow: 0 4px 10px rgba(91,83,240,.3);
}

.win-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 18px; }

.win-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.wc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.wc-bar {
  height: 8px;
  width: 60%;
  border-radius: 999px;
  background: var(--accent);
  opacity: .85;
}
.wc-bar.g2 { background: var(--accent-2); width: 75%; }
.wc-bar.g3 { background: var(--warm); width: 45%; }
.wc-num {
  height: 16px;
  width: 90%;
  border-radius: 5px;
  background: #ecebf4;
}

.win-chart {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 150px;
}
.win-chart svg { width: 100%; height: 86px; }
.chart-line {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
  animation: drawLine 2.6s var(--ease) .4s forwards;
}
@keyframes drawLine { to { stroke-dashoffset: 0; } }
.chart-dot {
  opacity: 0;
  animation: popDot .4s var(--ease) 2.8s forwards;
}
@keyframes popDot { to { opacity: 1; } }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  height: 40px;
}
.chart-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(91,83,240,.55), rgba(91,83,240,.12));
}

/* floating badges */
.badge {
  position: absolute;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 16px;
}
.badge svg {
  width: 26px; height: 26px;
  fill: none; stroke-width: 2.4;
  stroke-linecap: round; stroke-linejoin: round;
}
.badge-1 {
  width: 56px; height: 56px;
  top: 8%; left: -34px;
  animation: floatA 6.5s ease-in-out infinite;
}
.badge-1 svg { stroke: #16b364; }
.badge-2 {
  width: 52px; height: 52px;
  bottom: 12%; right: -28px;
  animation: floatB 7.5s ease-in-out infinite;
}
.badge-2 svg { stroke: var(--accent); fill: rgba(91,83,240,.14); }
@keyframes floatA {
  0%,100% { transform: translateY(0) rotate(-4deg); }
  50%     { transform: translateY(-16px) rotate(3deg); }
}
@keyframes floatB {
  0%,100% { transform: translateY(0) rotate(5deg); }
  50%     { transform: translateY(14px) rotate(-3deg); }
}

/* =====================================================================
   Cards (shared)
   ===================================================================== */
.cards { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(2, 1fr); }
.why-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(91,83,240,.22);
}
.card:hover::after { transform: scaleX(1); }

.card-ic {
  display: grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--grad-soft);
  border: 1px solid var(--line-soft);
  margin-bottom: 20px;
}
.card-ic svg {
  width: 27px; height: 27px;
  fill: none; stroke: var(--accent);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 1rem; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tags li {
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: .82rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.why-card:hover .card-ic { transform: none; }

/* =====================================================================
   Capabilities
   ===================================================================== */
.cap-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 22px;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(26px, 3.4vw, 40px);
  box-shadow: var(--shadow-sm);
}
.panel > h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-faint);
  margin-bottom: 22px;
}

.check-list { display: flex; flex-direction: column; gap: 14px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.05rem;
  font-weight: 500;
}

.tech-groups { display: flex; flex-direction: column; gap: 20px; }
.tech-group {
  display: grid;
  grid-template-columns: 116px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.tech-group:last-child { border-bottom: 0; padding-bottom: 0; }
.tech-label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  padding-top: 7px;
}
.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pills li {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: .9rem;
  font-weight: 600;
  transition: transform .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.pills li:hover {
  transform: translateY(-2px);
  border-color: rgba(91,83,240,.4);
  color: var(--accent-deep);
}

/* =====================================================================
   Process / steps
   ===================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  opacity: .28;
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .26s var(--ease), box-shadow .26s var(--ease);
}
.step:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.step-num {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(91,83,240,.32);
}
.step h3 { font-size: 1.1rem; margin-bottom: 7px; }
.step p { font-size: .94rem; color: var(--ink-soft); }

/* =====================================================================
   FAQ
   ===================================================================== */
.faq {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.faq details[open] {
  border-color: rgba(91,83,240,.28);
  box-shadow: var(--shadow);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: -.01em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-mark {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
}
.faq-mark::before,
.faq-mark::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  transition: transform .26s var(--ease);
}
.faq-mark::before { top: 10px; left: 3px; width: 16px; height: 2px; }
.faq-mark::after  { left: 10px; top: 3px; width: 2px; height: 16px; }
.faq details[open] .faq-mark::after { transform: rotate(90deg); opacity: 0; }
.faq details[open] .faq-mark::before { transform: rotate(180deg); }
.faq p {
  padding: 0 24px 22px;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* =====================================================================
   Contact
   ===================================================================== */
.contact-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 64px);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.contact-glow {
  position: absolute;
  width: 460px; height: 460px;
  right: -160px; top: -200px;
  background: radial-gradient(circle, rgba(91,83,240,.2), transparent 68%);
  filter: blur(10px);
}
.contact-copy { position: relative; }
.contact-copy h2 { margin-bottom: 14px; }
.contact-copy > p {
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 28px;
}
.contact-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.contact-mail {
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--accent-deep);
  border-bottom: 2px solid rgba(91,83,240,.28);
  padding-bottom: 2px;
  transition: border-color .2s var(--ease);
}
.contact-mail:hover { border-color: var(--accent); }
.contact-mail-fallback { color: var(--ink-soft); font-weight: 600; }

.contact-meta {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-meta li {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 16px 18px;
}
.contact-meta svg {
  width: 24px; height: 24px;
  flex-shrink: 0;
  fill: none; stroke: var(--accent);
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.cm-label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.cm-value { font-size: .98rem; font-weight: 600; }
a.cm-value:hover { color: var(--accent-deep); }

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  margin-top: clamp(40px, 6vw, 90px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(245,244,251,.5), rgba(245,244,251,.9));
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 40px;
  padding-block: clamp(48px, 6vw, 76px) 36px;
}
.footer-brand { max-width: 360px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-tag { color: var(--ink-soft); font-size: .98rem; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-h {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 4px;
}
.footer-col a {
  color: var(--ink-soft);
  font-size: .98rem;
  font-weight: 500;
  width: fit-content;
  transition: color .18s var(--ease);
}
.footer-col a:hover { color: var(--accent-deep); }
.footer-place { color: var(--ink-faint); font-size: .92rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-block: 22px 30px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: .9rem;
}
.footer-dot { opacity: .5; }

/* =====================================================================
   Reveal on scroll
   ===================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].in { opacity: 1; transform: none; }

.cards [data-reveal]:nth-child(2) { transition-delay: .08s; }
.cards [data-reveal]:nth-child(3) { transition-delay: .16s; }
.cards [data-reveal]:nth-child(4) { transition-delay: .24s; }
.cards [data-reveal]:nth-child(5) { transition-delay: .12s; }
.cards [data-reveal]:nth-child(6) { transition-delay: .2s; }
.steps [data-reveal]:nth-child(2) { transition-delay: .1s; }
.steps [data-reveal]:nth-child(3) { transition-delay: .2s; }
.steps [data-reveal]:nth-child(4) { transition-delay: .3s; }
.steps [data-reveal]:nth-child(5) { transition-delay: .4s; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero-art { max-width: 460px; margin-inline: auto; order: 2; }
  .cap-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .contact-card { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  /* mobile nav */
  .burger { display: flex; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: clamp(16px, 4vw, 28px);
    right: clamp(16px, 4vw, 28px);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-left: 0;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(-10px) scale(.98);
    transform-origin: top;
    pointer-events: none;
    transition: opacity .22s var(--ease), transform .22s var(--ease);
  }
  .nav-toggle:checked ~ .nav {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav > a { padding: 12px 16px; font-size: 1rem; }
  .nav-cta {
    display: block;
    margin-top: 6px;
    text-align: center;
    color: #fff !important;
    background: var(--grad) !important;
  }
  .header-btn { display: none; }
  .nav-toggle:checked ~ .header-actions .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .header-actions .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .header-actions .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .services-grid,
  .why-grid,
  .steps { grid-template-columns: 1fr; }
  .card { padding: 26px 24px; }
  .tech-group { grid-template-columns: 1fr; gap: 8px; }
  .tech-label { padding-top: 0; }
  .contact-cta { flex-direction: column; align-items: flex-start; }
  .hero-cta .btn { flex: 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .badge-1 { left: -14px; }
  .badge-2 { right: -10px; }
}

@media (max-width: 380px) {
  .lang-btn span { display: none; }
  .logo-word { font-size: 1.28rem; }
}

/* =====================================================================
   Reduced 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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
  .chart-dot { opacity: 1; }
  .window { transform: rotateY(-13deg) rotateX(6deg) rotate(1deg); }
}

/* print fallback (kept minimal) */
@media print {
  .bg, .site-header, .hero-art { display: none; }
}
