/* ============================================================
   WESTBRIDGE SYSTEMS SIA — westbridgesystems.eu
   Editorial luxury-tech · ink navy + champagne gold
   ============================================================ */

:root {
  --ink-950: #081120;
  --ink-900: #0b1a2e;
  --ink-800: #10243d;
  --ink-700: #1b3a5c;
  --ink-600: #27506e;
  --gold-300: #e9d3a1;
  --gold-400: #d9b96c;
  --gold-500: #c9a227;
  --gold-600: #a9861f;
  --cream-50: #fbf8f1;
  --cream-100: #f6f1e6;
  --cream-200: #ece3d0;
  --text-dark: #142438;
  --text-mut-dark: #47586e;
  --text-light: #eef3f9;
  --text-mut-light: #9fb2c8;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 50px -18px rgba(8, 17, 32, 0.35);
  --shadow-card: 0 10px 34px -14px rgba(8, 17, 32, 0.22);
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--cream-50);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
::selection { background: var(--gold-500); color: var(--ink-950); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.container { width: min(1180px, 92vw); margin-inline: auto; }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 2000;
  background: var(--ink-950);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader__mark {
  width: 72px; height: 72px; border-radius: 18px;
  border: 1px solid rgba(217, 185, 108, 0.35);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 34px; color: var(--gold-400);
  animation: preloader-pulse 1.4s ease-in-out infinite;
}
.preloader__bar {
  width: 160px; height: 2px; background: rgba(255,255,255,0.12); overflow: hidden; border-radius: 2px;
}
.preloader__bar::after {
  content: ""; display: block; width: 40%; height: 100%; background: var(--gold-400);
  animation: preloader-slide 1s var(--ease-out) infinite;
}
@keyframes preloader-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); box-shadow: 0 0 40px rgba(217,185,108,0.25); } }
@keyframes preloader-slide { 0% { transform: translateX(-120%);} 100% { transform: translateX(420%);} }

/* ---------- Custom cursor ---------- */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; pointer-events: none; z-index: 3000;
  border-radius: 50%; transform: translate(-50%, -50%);
}
.cursor-dot { width: 7px; height: 7px; background: var(--gold-500); }
.cursor-ring {
  width: 38px; height: 38px; border: 1.5px solid rgba(201, 162, 39, 0.55);
  transition: width 0.25s, height 0.25s, border-color 0.25s, background 0.25s;
}
body.cursor-hover .cursor-ring {
  width: 58px; height: 58px;
  border-color: rgba(201, 162, 39, 0.9);
  background: rgba(201, 162, 39, 0.08);
}
@media (hover: none), (max-width: 860px) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.35s, box-shadow 0.35s, height 0.35s;
}
.nav.is-scrolled {
  height: 66px;
  background: rgba(8, 17, 32, 0.97);
  box-shadow: 0 8px 30px -12px rgba(0,0,0,0.5);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1180px, 92vw); margin-inline: auto; }
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-mark {
  width: 42px; height: 42px; border-radius: 11px;
  background: linear-gradient(145deg, var(--ink-700), var(--ink-900));
  border: 1px solid rgba(217,185,108,0.4);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 20px; color: var(--gold-400);
  transition: transform 0.3s var(--ease-out);
}
.nav__logo:hover .nav__logo-mark { transform: rotate(-6deg) scale(1.05); }
.nav__logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.nav__logo-name { font-family: var(--font-display); font-size: 18px; color: var(--text-light); }
.nav__logo-tag { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-400); }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link {
  position: relative; font-size: 15px; font-weight: 500; color: var(--text-mut-light);
  transition: color 0.25s; padding: 6px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.nav__link:hover, .nav__link.is-active { color: var(--text-light); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__cta { margin-left: 8px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; z-index: 1102; }
.nav__burger span { width: 26px; height: 2px; background: var(--text-light); transition: transform 0.3s, opacity 0.3s; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 1100;
  background: linear-gradient(160deg, var(--ink-950), var(--ink-800));
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-display); font-size: clamp(26px, 6vw, 38px);
  color: var(--text-light); padding: 10px; transition: color 0.25s, transform 0.25s;
}
.mobile-menu a:hover { color: var(--gold-400); transform: translateX(6px); }
.mobile-menu__close { position: absolute; top: 26px; right: 26px; color: var(--text-light); font-size: 30px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 100px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.02em;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, background 0.3s, color 0.3s;
  overflow: hidden; cursor: pointer;
}
.btn svg { width: 17px; height: 17px; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold {
  background: linear-gradient(120deg, var(--gold-400), var(--gold-500));
  color: var(--ink-950);
  box-shadow: 0 10px 30px -10px rgba(201, 162, 39, 0.55);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -10px rgba(201, 162, 39, 0.65); }
.btn--ghost {
  border: 1.5px solid rgba(217, 185, 108, 0.5); color: var(--gold-300);
}
.btn--ghost:hover { background: rgba(217, 185, 108, 0.1); transform: translateY(-3px); }
.btn--dark {
  background: var(--ink-900); color: var(--cream-50);
  border: 1px solid rgba(217,185,108,0.25);
}
.btn--dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.btn--sm { padding: 11px 22px; font-size: 14px; }

/* ---------- Section primitives ---------- */
.section { position: relative; padding: clamp(80px, 10vw, 130px) 0; overflow: hidden; }
.section--dark { background: linear-gradient(175deg, var(--ink-950) 0%, var(--ink-900) 60%, var(--ink-800) 100%); color: var(--text-light); }
.section--cream { background: var(--cream-100); }
.section--paper { background: var(--cream-50); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 18px;
}
.section--dark .eyebrow { color: var(--gold-400); }
.eyebrow::before { content: ""; width: 30px; height: 1.5px; background: currentColor; }

.section-title { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 20px; }
.section-lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--text-mut-dark); max-width: 640px; }
.section--dark .section-lead { color: var(--text-mut-light); }
.section-head { margin-bottom: clamp(44px, 6vw, 70px); }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-inline: auto; }
.section-head--center .eyebrow::after { content: ""; width: 30px; height: 1.5px; background: currentColor; }

/* ---------- Decorative animated elements ---------- */
.deco { position: absolute; pointer-events: none; z-index: 0; }

.deco-diamond {
  width: 14px; height: 14px; background: var(--gold-500);
  transform: rotate(45deg);
  animation: deco-spin-float 9s ease-in-out infinite;
  opacity: 0.8;
}
.deco-diamond--outline { background: transparent; border: 1.5px solid var(--gold-400); }
.deco-diamond--lg { width: 22px; height: 22px; }

.deco-orb {
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(217,185,108,0.45), rgba(217,185,108,0.02) 70%);
  animation: deco-drift 14s ease-in-out infinite;
}
.deco-orb--blue { background: radial-gradient(circle at 32% 30%, rgba(60,120,190,0.45), rgba(60,120,190,0.03) 65%); }

.deco-ring {
  border-radius: 50%; border: 1.5px solid rgba(201,162,39,0.4);
  animation: deco-breathe 7s ease-in-out infinite;
}
.deco-ring--dashed { border-style: dashed; animation: deco-rotate 26s linear infinite; }

.deco-plus { color: var(--gold-500); font-size: 22px; font-weight: 300; line-height: 1; animation: deco-twinkle 5s ease-in-out infinite; }
.section--dark .deco-plus { color: var(--gold-400); }

.deco-dots {
  display: grid; grid-template-columns: repeat(4, 8px); gap: 12px;
  animation: deco-drift 16s ease-in-out infinite reverse;
}
.deco-dots i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.35; }

.deco-squiggle path {
  stroke-dasharray: 240; stroke-dashoffset: 240;
  animation: deco-draw 5s var(--ease-out) infinite alternate;
}
.deco-bracket {
  font-family: var(--font-display); font-size: 64px; opacity: 0.12;
  animation: deco-drift 12s ease-in-out infinite;
}
.deco-spark {
  width: 20px; height: 20px;
  animation: deco-twinkle 4s ease-in-out infinite;
}
.deco-spark path { fill: var(--gold-400); }

@keyframes deco-spin-float {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(135deg) translateY(-18px); }
}
@keyframes deco-drift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(14px, -22px); }
  66% { transform: translate(-12px, 10px); }
}
@keyframes deco-breathe {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 1; }
}
@keyframes deco-rotate { to { transform: rotate(360deg); } }
@keyframes deco-twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.8) rotate(0deg); }
  50% { opacity: 0.9; transform: scale(1.15) rotate(20deg); }
}
@keyframes deco-draw { to { stroke-dashoffset: 0; } }

/* floating code chips (hero) */
.chip-float {
  position: absolute; padding: 9px 16px; border-radius: 100px;
  background: rgba(16, 36, 61, 0.92); border: 1px solid rgba(217,185,108,0.35);
  font-size: 13px; font-weight: 500; color: var(--gold-300);
  display: inline-flex; align-items: center; gap: 8px;
  animation: chip-bob 7s ease-in-out infinite;
  box-shadow: 0 14px 30px -12px rgba(0,0,0,0.5);
}
.chip-float i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); animation: deco-breathe 3s ease-in-out infinite; }
@keyframes chip-bob {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-16px) rotate(1.5deg); }
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
  transition-delay: var(--rd, 0s);
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(0.92); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 90px;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(39, 80, 110, 0.55), transparent 60%),
    radial-gradient(800px 500px at -10% 110%, rgba(201, 162, 39, 0.12), transparent 55%),
    linear-gradient(170deg, var(--ink-950) 0%, var(--ink-900) 55%, var(--ink-800) 100%);
  color: var(--text-light);
  overflow: hidden;
}
.hero--sub { min-height: 72vh; }
.hero__grid-bg {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(159, 178, 200, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(159, 178, 200, 0.07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 40%, black 30%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.hero__inner--single { grid-template-columns: 1fr; text-align: left; max-width: 860px; }
.hero__title { font-size: clamp(40px, 6.2vw, 76px); margin: 18px 0 26px; }
.hero__title .accent {
  position: relative; font-style: italic; color: var(--gold-400); white-space: nowrap;
}
.hero__title .accent svg {
  position: absolute; left: 0; bottom: -6px; width: 100%; height: 14px; overflow: visible;
}
.hero__title .accent svg path {
  fill: none; stroke: var(--gold-500); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: deco-draw 1.4s var(--ease-out) 1s forwards;
}
.hero__lead { font-size: clamp(17px, 1.7vw, 21px); color: var(--text-mut-light); max-width: 560px; margin-bottom: 40px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 54px; color: var(--text-mut-light); font-size: 14px; }
.hero__meta span { display: inline-flex; align-items: center; gap: 9px; }
.hero__meta svg { width: 16px; height: 16px; color: var(--gold-400); }

/* Hero visual card stack */
.hero__visual { position: relative; min-height: 460px; }
.hv-card {
  position: absolute; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(27, 58, 92, 0.96), rgba(11, 26, 46, 0.97));
  border: 1px solid rgba(217, 185, 108, 0.28);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.hv-card--main {
  inset: 8% 6% 14% 0;
  animation: chip-bob 9s ease-in-out infinite;
  padding: 26px;
}
.hv-card__bar { display: flex; gap: 7px; margin-bottom: 20px; }
.hv-card__bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(159,178,200,0.35); }
.hv-card__bar i:first-child { background: var(--gold-400); }
.hv-line { height: 11px; border-radius: 6px; background: rgba(159, 178, 200, 0.16); margin-bottom: 13px; overflow: hidden; position: relative; }
.hv-line::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(217,185,108,0.25), transparent);
  animation: hv-shimmer 2.8s ease-in-out infinite;
}
@keyframes hv-shimmer { 0% { transform: translateX(-100%);} 60%, 100% { transform: translateX(100%);} }
.hv-line--gold { background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); width: 46%; }
.hv-line--60 { width: 60%; } .hv-line--80 { width: 80%; } .hv-line--40 { width: 40%; }
.hv-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 22px; }
.hv-block {
  height: 74px; border-radius: var(--radius-md);
  background: rgba(159, 178, 200, 0.1); border: 1px solid rgba(159,178,200,0.14);
  display: grid; place-items: center;
}
.hv-block svg { width: 26px; height: 26px; color: var(--gold-400); }
.hv-card--badge {
  right: -4%; top: 2%; padding: 18px 22px;
  display: flex; align-items: center; gap: 14px;
  animation: chip-bob 7s ease-in-out 0.8s infinite;
}
.hv-card--badge .num { font-family: var(--font-display); font-size: 30px; color: var(--gold-400); }
.hv-card--badge .lbl { font-size: 12px; color: var(--text-mut-light); line-height: 1.35; }
.hv-card--code {
  left: -6%; bottom: 0; padding: 18px 20px; font-family: "Consolas", monospace; font-size: 12.5px;
  color: var(--text-mut-light); line-height: 1.8;
  animation: chip-bob 8s ease-in-out 1.6s infinite;
}
.hv-card--code .k { color: var(--gold-400); } .hv-card--code .s { color: #8fd0a8; }

/* typing caret */
.typing::after { content: "▍"; color: var(--gold-400); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* ---------- Stats strip ---------- */
.stats { border-block: 1px solid rgba(217, 185, 108, 0.18); background: var(--ink-950); color: var(--text-light); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 52px 0; }
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 44px; background: rgba(159, 178, 200, 0.18);
}
.stat__num { font-family: var(--font-display); font-size: clamp(34px, 4vw, 50px); color: var(--gold-400); }
.stat__lbl { font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-mut-light); margin-top: 6px; }

/* ---------- Service cards ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; position: relative; z-index: 1; }
.svc-card {
  position: relative; display: flex; flex-direction: column;
  padding: 38px 32px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--cream-200);
  box-shadow: var(--shadow-card);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.45s;
  overflow: hidden;
}
.svc-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease-out);
}
.svc-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-soft); border-color: rgba(201,162,39,0.4); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card__icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(145deg, var(--ink-800), var(--ink-950));
  display: grid; place-items: center; margin-bottom: 24px;
  transition: transform 0.4s var(--ease-out);
}
.svc-card:hover .svc-card__icon { transform: rotate(-8deg) scale(1.08); }
.svc-card__icon svg { width: 26px; height: 26px; color: var(--gold-400); }
.svc-card h3 { font-size: 24px; margin-bottom: 6px; }
.svc-card__price { font-size: 14px; font-weight: 600; color: var(--gold-600); letter-spacing: 0.06em; margin-bottom: 16px; }
.svc-card__price b { font-family: var(--font-display); font-size: 26px; color: var(--ink-700); margin-right: 4px; }
.svc-card p { font-size: 15.5px; color: var(--text-mut-dark); flex-grow: 1; }
.svc-card__tech { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 24px; }
.svc-card__tech span {
  font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 100px;
  background: var(--cream-100); border: 1px solid var(--cream-200); color: var(--text-mut-dark);
}
.svc-card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink-700); }
.svc-card__link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); color: var(--gold-600); }
.svc-card:hover .svc-card__link svg { transform: translateX(5px); }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.proc {
  position: relative; padding: 34px 26px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(159, 178, 200, 0.14);
  transition: background 0.35s, transform 0.35s var(--ease-out), border-color 0.35s;
}
.proc:hover { background: rgba(217, 185, 108, 0.07); transform: translateY(-6px); border-color: rgba(217,185,108,0.35); }
.proc__num {
  font-family: var(--font-display); font-size: 46px; color: transparent;
  -webkit-text-stroke: 1px rgba(217, 185, 108, 0.65);
  margin-bottom: 16px;
}
.proc h3 { font-size: 20px; margin-bottom: 10px; }
.proc p { font-size: 14.5px; color: var(--text-mut-light); }
.proc__arrow { position: absolute; top: 40px; right: -19px; width: 15px; height: 15px; color: var(--gold-500); z-index: 2; animation: proc-nudge 2.4s ease-in-out infinite; }
.proc:last-child .proc__arrow { display: none; }
@keyframes proc-nudge { 0%,100% { transform: translateX(0); opacity: 0.5; } 50% { transform: translateX(5px); opacity: 1; } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; padding: 26px 0;
  border-block: 1px solid rgba(201, 162, 39, 0.25);
  background: var(--cream-100);
  position: relative;
}
.marquee__track { display: flex; gap: 64px; width: max-content; animation: marquee 30s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-display); font-size: 22px; color: var(--ink-700); white-space: nowrap;
}
.marquee__item i { width: 9px; height: 9px; background: var(--gold-500); transform: rotate(45deg); flex-shrink: 0; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi {
  position: relative; padding: 38px 32px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(159, 178, 200, 0.16);
  transition: transform 0.4s var(--ease-out), border-color 0.4s, background 0.4s;
  display: flex; flex-direction: column;
}
.testi:hover { transform: translateY(-8px); border-color: rgba(217, 185, 108, 0.45); background: rgba(217, 185, 108, 0.05); }
.testi__quote-mark { font-family: var(--font-display); font-size: 64px; line-height: 0.6; color: var(--gold-400); margin-bottom: 22px; }
.testi__stars { display: flex; gap: 4px; margin-bottom: 18px; }
.testi__stars svg { width: 16px; height: 16px; fill: var(--gold-400); }
.testi p { font-size: 15.5px; color: var(--text-mut-light); flex-grow: 1; font-style: italic; }
.testi__author { display: flex; align-items: center; gap: 14px; margin-top: 26px; }
.testi__avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-400), var(--gold-600));
  color: var(--ink-950); font-weight: 700; font-size: 16px;
  display: grid; place-items: center; flex-shrink: 0;
}
.testi__name { font-weight: 600; font-size: 15.5px; color: var(--text-light); }
.testi__role { font-size: 13px; color: var(--text-mut-light); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; }
.cta-band__box {
  position: relative; border-radius: 28px; overflow: hidden;
  background:
    radial-gradient(700px 300px at 90% 10%, rgba(201, 162, 39, 0.22), transparent 60%),
    linear-gradient(150deg, var(--ink-900), var(--ink-950));
  border: 1px solid rgba(217, 185, 108, 0.3);
  padding: clamp(50px, 7vw, 90px);
  text-align: center; color: var(--text-light);
}
.cta-band__box h2 { font-size: clamp(30px, 4.4vw, 52px); margin-bottom: 18px; }
.cta-band__box p { color: var(--text-mut-light); max-width: 540px; margin: 0 auto 36px; font-size: 18px; }
.cta-band__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink-950); color: var(--text-mut-light); padding: 80px 0 0; position: relative; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 56px; }
.footer h4 { font-size: 15px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-400); margin-bottom: 22px; font-family: var(--font-body); font-weight: 600; }
.footer__brand p { font-size: 14.5px; max-width: 300px; margin-top: 18px; }
.footer__links li { margin-bottom: 12px; }
.footer__links a { font-size: 15px; transition: color 0.25s, padding-left 0.25s; }
.footer__links a:hover { color: var(--gold-300); padding-left: 6px; }
.footer__contact li { display: flex; gap: 12px; margin-bottom: 16px; font-size: 14.5px; align-items: flex-start; }
.footer__contact svg { width: 17px; height: 17px; color: var(--gold-400); flex-shrink: 0; margin-top: 3px; }
.footer__contact a:hover { color: var(--gold-300); }
.footer__bottom {
  border-top: 1px solid rgba(159, 178, 200, 0.12);
  padding: 26px 80px 26px 0; font-size: 13px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer__legal-links { display: flex; gap: 22px; }
.footer__legal-links a:hover { color: var(--gold-300); }
.footer__watermark {
  position: absolute; right: -30px; bottom: -70px;
  font-family: var(--font-display); font-size: 320px; line-height: 1;
  color: rgba(159, 178, 200, 0.04); pointer-events: none; user-select: none;
}

/* ---------- Service page components ---------- */
.price-tag {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 14px 28px; border-radius: 100px;
  background: rgba(217, 185, 108, 0.12); border: 1px solid rgba(217, 185, 108, 0.45);
  margin-bottom: 30px;
}
.price-tag b { font-family: var(--font-display); font-size: 34px; color: var(--gold-400); }
.price-tag span { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-mut-light); }

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.feature {
  display: flex; gap: 20px; padding: 30px 28px; border-radius: var(--radius-lg);
  background: #fff; border: 1px solid var(--cream-200); box-shadow: var(--shadow-card);
  transition: transform 0.4s var(--ease-out), border-color 0.4s;
}
.feature:hover { transform: translateY(-6px); border-color: rgba(201, 162, 39, 0.45); }
.feature__icon {
  width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px;
  background: linear-gradient(145deg, var(--ink-800), var(--ink-950));
  display: grid; place-items: center;
}
.feature__icon svg { width: 23px; height: 23px; color: var(--gold-400); }
.feature h3 { font-size: 19px; margin-bottom: 8px; }
.feature p { font-size: 14.5px; color: var(--text-mut-dark); }

.timeline { position: relative; max-width: 760px; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 27px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(180deg, var(--gold-500), rgba(217, 185, 108, 0.1));
}
.tl-item { position: relative; padding: 0 0 44px 84px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item__dot {
  position: absolute; left: 14px; top: 4px; width: 28px; height: 28px; border-radius: 50%;
  background: var(--ink-900); border: 2px solid var(--gold-500);
  display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--gold-400);
}
.tl-item__dot::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px solid rgba(217, 185, 108, 0.35);
  animation: deco-breathe 3.2s ease-in-out infinite;
}
.tl-item h3 { font-size: 21px; margin-bottom: 8px; }
.tl-item p { color: var(--text-mut-light); font-size: 15px; max-width: 560px; }
.tl-item__dur { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-400); }

.check-list { display: grid; gap: 16px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; }
.check-list svg { width: 21px; height: 21px; color: var(--gold-600); flex-shrink: 0; margin-top: 3px; }
.section--dark .check-list svg { color: var(--gold-400); }
.section--dark .check-list li { color: var(--text-mut-light); }
.check-list b { color: inherit; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }

.other-services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.other-svc {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 26px 30px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(159,178,200,0.16);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, background 0.35s;
}
.other-svc:hover { transform: translateY(-5px); border-color: rgba(217,185,108,0.5); background: rgba(217,185,108,0.06); }
.other-svc h3 { font-size: 20px; color: var(--text-light); margin-bottom: 4px; }
.other-svc span { font-size: 14px; color: var(--gold-400); font-weight: 600; }
.other-svc svg { width: 22px; height: 22px; color: var(--gold-400); flex-shrink: 0; transition: transform 0.3s var(--ease-out); }
.other-svc:hover svg { transform: translateX(6px); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 70px); align-items: start; }
.contact-card {
  display: flex; gap: 18px; padding: 26px; border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05); border: 1px solid rgba(159,178,200,0.16);
  margin-bottom: 18px; transition: border-color 0.35s, transform 0.35s var(--ease-out);
}
.contact-card:hover { border-color: rgba(217,185,108,0.5); transform: translateX(6px); }
.contact-card__icon {
  width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0;
  background: rgba(217, 185, 108, 0.12); border: 1px solid rgba(217,185,108,0.35);
  display: grid; place-items: center;
}
.contact-card__icon svg { width: 22px; height: 22px; color: var(--gold-400); }
.contact-card h3 { font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-mut-light); font-family: var(--font-body); font-weight: 600; margin-bottom: 6px; }
.contact-card a, .contact-card p { font-size: 17px; color: var(--text-light); }
.contact-card a:hover { color: var(--gold-300); }

.form-card {
  padding: clamp(30px, 4vw, 48px); border-radius: 26px;
  background: rgba(255, 255, 255, 0.045); border: 1px solid rgba(159, 178, 200, 0.18);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mut-light); margin-bottom: 9px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 15px 18px; border-radius: var(--radius-md);
  background: rgba(8, 17, 32, 0.55); border: 1px solid rgba(159, 178, 200, 0.22);
  color: var(--text-light); font: inherit; font-size: 15.5px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group select { cursor: pointer; }
.form-group select option { background: var(--ink-900); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--gold-400);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-success {
  display: none; text-align: center; padding: 40px 20px;
}
.form-success.is-shown { display: block; }
.form-success svg { width: 60px; height: 60px; color: var(--gold-400); margin: 0 auto 20px; }
.form-success h3 { font-size: 26px; color: var(--text-light); margin-bottom: 10px; }
.form-success p { color: var(--text-mut-light); }

.requisites {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--cream-200);
}
.req-row { display: contents; }
.req-cell { background: #fff; padding: 18px 24px; font-size: 15px; }
.req-cell:nth-child(odd) { background: var(--cream-100); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mut-dark); display: flex; align-items: center; }

/* ---------- Legal pages ---------- */
.legal-body { max-width: 800px; margin-inline: auto; }
.legal-body h2 { font-size: 26px; margin: 44px 0 16px; color: var(--ink-800); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 { font-size: 20px; margin: 30px 0 12px; color: var(--ink-800); }
.legal-body p { margin-bottom: 16px; color: var(--text-mut-dark); font-size: 16px; }
.legal-body ul { margin: 0 0 18px 22px; list-style: disc; color: var(--text-mut-dark); }
.legal-body li { margin-bottom: 9px; font-size: 16px; }
.legal-body a { color: var(--gold-600); font-weight: 500; border-bottom: 1px solid rgba(201,162,39,0.4); }
.legal-body a:hover { color: var(--ink-700); }
.legal-body table { width: 100%; border-collapse: collapse; margin: 20px 0 28px; font-size: 14.5px; }
.legal-body th, .legal-body td { border: 1px solid var(--cream-200); padding: 12px 16px; text-align: left; vertical-align: top; }
.legal-body th { background: var(--cream-100); font-weight: 600; }
.legal-body .updated { font-size: 14px; color: var(--text-mut-dark); font-style: italic; }
.legal-note {
  padding: 22px 26px; border-radius: var(--radius-md);
  background: var(--cream-100); border-left: 3px solid var(--gold-500);
  margin: 24px 0; font-size: 15px; color: var(--text-mut-dark);
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--cream-200); }
.faq-item summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 4px; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink-800);
  transition: color 0.25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--gold-600); }
.faq-item summary .faq-icon {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--gold-500); color: var(--gold-600);
  display: grid; place-items: center; font-size: 18px; font-family: var(--font-body);
  transition: transform 0.35s var(--ease-out), background 0.3s, color 0.3s;
}
.faq-item[open] summary .faq-icon { transform: rotate(45deg); background: var(--gold-500); color: var(--ink-950); }
.faq-item .faq-a { padding: 0 40px 26px 4px; color: var(--text-mut-dark); font-size: 15.5px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 1500;
  max-width: 520px; margin-inline: auto;
  background: rgba(11, 26, 46, 0.98);
  border: 1px solid rgba(217, 185, 108, 0.35); border-radius: 18px;
  padding: 24px 26px; color: var(--text-light);
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.6);
  transform: translateY(140%); opacity: 0;
  transition: transform 0.6s var(--ease-out), opacity 0.6s;
}
.cookie-banner.is-shown { transform: translateY(0); opacity: 1; }
.cookie-banner p { font-size: 14px; color: var(--text-mut-light); margin-bottom: 16px; }
.cookie-banner a { color: var(--gold-300); text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--ink-900); border: 1px solid rgba(217, 185, 108, 0.4);
  color: var(--gold-400); display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.35s, transform 0.35s, visibility 0.35s, background 0.3s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--ink-700); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Page enter transition ---------- */
body { animation: page-in 0.7s var(--ease-out); }
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Focus visibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-500); outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .proc__arrow { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hero__inner { grid-template-columns: 1fr; gap: 70px; }
  .hero__visual { max-width: 560px; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .chip-float { display: none; }
  .services-grid, .testi-grid, .feature-grid, .split, .contact-grid, .other-services { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .stat:nth-child(3)::before { display: none; }
  .hero { min-height: auto; }
  .hero__visual { min-height: 420px; }
  .requisites { grid-template-columns: 1fr; }
  .req-cell:nth-child(odd) { padding-bottom: 4px; }
  .req-cell:nth-child(even) { padding-top: 4px; }
  .footer__watermark { font-size: 200px; }
}
@media (max-width: 560px) {
  .footer__grid, .stats__grid { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .hv-card--code { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
  .cursor-dot, .cursor-ring { display: none; }
}
