﻿:root {
  --ink: #e8edf8;
  --navy: #050b1a;
  --navy-2: #0a1430;
  --paper: #070f22;
  --surface: #0d1834;
  --surface-2: #121f42;
  --white: #f4f7ff;
  --muted: #9aa8c4;
  --line: rgba(140, 160, 220, 0.18);
  --blue: #4f7cff;
  --lime: #a78bfa;
  --violet: #7c5cff;
  --cyan: #38bdf8;
  --orange: #fb923c;
  --indigo: #4338ca;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(2, 8, 28, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(99, 102, 241, 0.22), transparent 55%),
    radial-gradient(900px 500px at -10% 20%, rgba(59, 130, 246, 0.16), transparent 50%),
    linear-gradient(180deg, #050b1a 0%, #070f22 40%, #0a1230 100%);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
::selection { background: rgba(124, 92, 255, 0.45); color: var(--white); }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 4px; }

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.section { padding-block: 110px; }
.section-dark { background: linear-gradient(180deg, #06102a, #0a1740); color: var(--white); }
.section-soft { background: linear-gradient(180deg, rgba(67, 56, 202, 0.18), rgba(15, 23, 52, 0.55)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 11, 26, 0.86);
  backdrop-filter: blur(18px);
}
.header-inner { min-height: 80px; display: flex; align-items: center; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  color: #f8faff;
  font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.35), 0 8px 22px rgba(99, 102, 241, 0.28);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand-copy { display: grid; line-height: 1.08; }
.brand-copy strong { font-size: 14px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--white); }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: 11px; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 30px; margin-left: auto; }
.desktop-nav a { color: #b7c3dc; font-size: 14px; font-weight: 700; transition: color .2s; }
.desktop-nav a:hover { color: var(--cyan); }
.header-cta { margin-left: 12px; }
.mobile-menu { display: none; margin-left: auto; position: relative; }
.mobile-menu summary { cursor: pointer; list-style: none; font-weight: 800; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary { width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 12px; }
.mobile-menu summary span { width: 18px; height: 2px; display: block; background: var(--white); }
.mobile-menu > nav { position: absolute; right: 0; top: 46px; width: 260px; padding: 20px; display: grid; gap: 14px; border-radius: 18px; background: var(--surface-2); box-shadow: var(--shadow); border: 1px solid var(--line); }

.button {
  --btn-shine: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.28) 45%, transparent 70%);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 52px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid rgba(167, 139, 250, 0.35);
  border-radius: 999px;
  background:
    linear-gradient(135deg, #5b8cff 0%, #4f7cff 28%, #6d5efc 62%, #8b5cf6 100%);
  background-size: 160% 160%;
  color: var(--white);
  font-size: 14px;
  font-weight: 800;
  box-shadow:
    0 10px 30px rgba(79, 124, 255, 0.28),
    inset 0 1px 0 rgba(255,255,255,.22);
  transition:
    transform .28s cubic-bezier(.22,1,.36,1),
    box-shadow .28s ease,
    border-color .28s ease,
    background-position .45s ease,
    filter .28s ease;
  will-change: transform;
}
.button::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--btn-shine);
  transform: translateX(-120%);
  transition: transform .55s ease;
  z-index: -1;
  pointer-events: none;
}
.button:hover {
  transform: translateY(-3px) scale(1.015);
  background-position: 100% 50%;
  border-color: rgba(196, 181, 253, 0.55);
  box-shadow:
    0 16px 40px rgba(99, 102, 241, 0.38),
    0 0 0 1px rgba(167, 139, 250, 0.2),
    inset 0 1px 0 rgba(255,255,255,.28);
  filter: saturate(1.08);
}
.button:hover::before { transform: translateX(120%); }
.button:active { transform: translateY(0) scale(.985); filter: brightness(.96); }
.button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(7, 15, 34, 0.9),
    0 0 0 6px rgba(124, 92, 255, 0.55),
    0 16px 40px rgba(99, 102, 241, 0.35);
}
.button-small { min-height: 44px; padding-inline: 20px; }
.button-ghost {
  border-color: rgba(255,255,255,.22);
  background: linear-gradient(135deg, rgba(255,255,255,.08), rgba(124,92,255,.12));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  filter: none;
}
.button-ghost:hover {
  background: linear-gradient(135deg, rgba(79,124,255,.22), rgba(139,92,246,.28));
  border-color: rgba(255,255,255,.4);
  filter: none;
}
.button-dark-ghost {
  border-color: rgba(167, 184, 230, .28);
  background: linear-gradient(135deg, rgba(15,23,52,.35), rgba(79,124,255,.12));
  color: var(--ink);
  box-shadow: none;
  filter: none;
}
.button-dark-ghost:hover {
  color: var(--white);
  background: linear-gradient(135deg, rgba(79, 124, 255, .28), rgba(124, 92, 255, .32));
  filter: none;
}
.text-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 850; color: #8eb6ff; }
.text-link span { transition: transform .2s; }
.text-link:hover span { transform: translateX(5px); }
.text-link-light { color: #c4b5fd; }

.eyebrow { margin: 0 0 20px; display: flex; align-items: center; gap: 12px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span { width: 34px; height: 3px; background: currentColor; }
.eyebrow-light { color: #c4b5fd; }
.section-heading { max-width: 800px; margin-bottom: 54px; }
.section-heading-center { margin-inline: auto; text-align: center; }
.section-heading-center .eyebrow { justify-content: center; }
.section-heading h2, .portfolio-heading-row h2, .split-heading h2, .principles-section h2, .about-story h2, .brief-section h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: .99;
  letter-spacing: -.055em;
}
.section-lead { max-width: 650px; margin: 24px 0 0; color: var(--muted); font-size: 18px; }
.section-dark .section-lead { color: #aeb8c7; }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image: linear-gradient(rgba(50,216,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(50,216,255,.12) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.hero-orb { position: absolute; border-radius: 999px; filter: blur(4px); }
.hero-orb-one { width: 460px; height: 460px; top: -190px; right: 18%; background: rgba(18,104,255,.23); }
.hero-orb-two { width: 300px; height: 300px; bottom: 70px; right: -120px; background: rgba(185,255,62,.12); }
.hero-grid { position: relative; min-height: 750px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 38px; padding-block: 75px 55px; }
.hero-copy { position: relative; z-index: 3; }
.hero-badge { width: fit-content; margin: 0 0 30px; padding: 9px 14px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: #c8d3e2; font-size: 12px; font-weight: 700; }
.status-dot { width: 8px; height: 8px; border-radius: 999px; background: #a78bfa; box-shadow: 0 0 0 5px rgba(167,139,250,.18); }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(54px, 6.1vw, 94px); line-height: .9; letter-spacing: -.065em; text-wrap: balance; }
.hero h1 em, .hero h1 > span { color: var(--blue); font-style: normal; }
.hero-lead { max-width: 680px; margin: 28px 0 0; color: #b9c3d2; font-size: clamp(17px, 2vw, 20px); }
.hero-actions { margin-top: 34px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-proof { margin-top: 42px; display: flex; gap: 46px; }
.hero-proof div { display: grid; }
.hero-proof strong { color: #c4b5fd; font-size: 34px; line-height: 1; letter-spacing: -.04em; }
.hero-proof span { margin-top: 8px; color: #8f9aac; font-size: 12px; }
.hero-portrait-wrap { position: relative; align-self: stretch; min-height: 600px; display: flex; align-items: flex-end; justify-content: center; }
.hero-portrait { position: relative; z-index: 2; width: min(520px, 100%); aspect-ratio: 4/5; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border-radius: 260px 260px 28px 28px; background: linear-gradient(145deg, #112644, #071220 62%); border: 1px solid rgba(75,154,255,.25); }
.hero-portrait::after { content: ""; position: absolute; inset: 12% 10% 0; border: 1px solid rgba(185,255,62,.22); border-radius: 220px 220px 0 0; }
.hero-portrait img { position: relative; z-index: 2; width: 94%; height: 96%; object-fit: contain; object-position: bottom; }
.portrait-grid { position: absolute; inset: 0; opacity: .32; background-image: linear-gradient(rgba(50,216,255,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(50,216,255,.13) 1px, transparent 1px); background-size: 45px 45px; }
.hero-label { position: absolute; z-index: 4; min-width: 150px; padding: 14px 18px; display: grid; border: 1px solid rgba(255,255,255,.14); background: rgba(7,17,31,.78); backdrop-filter: blur(12px); border-radius: 16px; box-shadow: 0 20px 45px rgba(0,0,0,.24); }
.hero-label span { color: #c4b5fd; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; }
.hero-label strong { margin-top: 3px; font-size: 13px; }
.hero-label-top { top: 18%; left: -20px; }
.hero-label-bottom { right: -24px; bottom: 15%; }
.capability-strip { position: relative; z-index: 4; margin-bottom: 24px; padding-block: 24px; display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr 1px 1fr; align-items: center; border-top: 1px solid rgba(255,255,255,.12); color: #9aa7b9; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.capability-strip i { width: 1px; height: 28px; display: block; background: rgba(255,255,255,.12); }
.capability-strip span,
.capability-strip .cap-item { text-align: center; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.capability-strip .ve-ico { color: #7dd3fc; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { position: relative; min-height: 315px; padding: 30px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(18, 31, 66, 0.95), rgba(10, 18, 42, 0.98)); transition: transform .25s, box-shadow .25s, border-color .25s; overflow: hidden; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(124, 92, 255, .35); }
.service-number { margin-bottom: auto; color: var(--cyan); font-weight: 900; }
.service-icon {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #c4b5fd;
  background:
    radial-gradient(circle at 30% 25%, rgba(125, 211, 252, .22), transparent 55%),
    linear-gradient(145deg, rgba(79, 124, 255, .28), rgba(124, 92, 255, .18));
  border: 1px solid rgba(196, 181, 253, .28);
  box-shadow: 0 10px 28px rgba(79, 124, 255, .18), inset 0 1px 0 rgba(255,255,255,.12);
  animation: ve-ico-float 4.5s ease-in-out infinite;
}
.service-card:nth-child(2) .service-icon { animation-delay: .4s; color: #7dd3fc; }
.service-card:nth-child(3) .service-icon { animation-delay: .8s; color: #e9d5ff; }
.service-card:nth-child(4) .service-icon { animation-delay: 1.2s; color: #a5b4fc; }
.service-icon .ve-ico { width: 34px; height: 34px; animation: ve-ico-glow 3.2s ease-in-out infinite; }
.service-card:hover .service-icon {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 34px rgba(124, 92, 255, .32), inset 0 1px 0 rgba(255,255,255,.18);
}
.service-card h3 { margin: 40px 0 15px; font-size: 28px; line-height: 1.05; letter-spacing: -.04em; color: var(--white); }
.service-card p { margin: 0; color: var(--muted); }

.portfolio-heading-row { margin-bottom: 46px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.portfolio-heading-row h2 { color: inherit; }
.featured-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { overflow: hidden; border-radius: var(--radius); background: linear-gradient(180deg, #142246, #0c1632); color: var(--ink); box-shadow: 0 14px 40px rgba(2,8,28,.35); display: flex; flex-direction: column; border: 1px solid var(--line); }
.project-visual { position: relative; display: block; overflow: hidden; background: #152447; aspect-ratio: 16 / 10; min-height: 0; height: auto; }
.project-card-large .project-visual { aspect-ratio: 16 / 10; min-height: 0; }
.project-visual img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; object-fit: cover; transition: transform .45s; }
.project-card:hover .project-visual img { transform: scale(1.035); }
.project-status { position: absolute; top: 18px; left: 18px; padding: 8px 11px; border-radius: 999px; background: rgba(7,17,31,.86); color: var(--white); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; backdrop-filter: blur(8px); }
.project-placeholder { position: absolute; inset: 0; min-height: 0; height: auto; display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.2), transparent 30%), linear-gradient(135deg, #10254a, #05101e); }
.project-placeholder span { width: 42%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); border-radius: 40% 60% 55% 45%; background: rgba(18,104,255,.25); }
.project-card-body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.project-meta { display: flex; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.project-card h3 { margin: 12px 0 8px; font-size: 22px; line-height: 1.1; letter-spacing: -.04em; color: var(--white); }
.project-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.project-card-footer { margin-top: auto; padding-top: 16px; display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.tag-row span, .offer-tags span { padding: 6px 9px; border-radius: 999px; background: rgba(99, 102, 241, 0.18); color: #c7d2fe; font-size: 10px; font-weight: 800; }
.round-link { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 999px; font-weight: 900; transition: background .2s, color .2s, transform .2s; color: var(--white); }
.round-link:hover { background: var(--violet); color: var(--white); transform: rotate(10deg); }
.accent-lime .project-placeholder { background: linear-gradient(135deg, #13240d, #07111f); }
.accent-violet .project-placeholder { background: linear-gradient(135deg, #30165d, #07111f); }
.accent-orange .project-placeholder { background: linear-gradient(135deg, #66300d, #07111f); }
.accent-cyan .project-placeholder { background: linear-gradient(135deg, #063e4a, #07111f); }
.accent-green .project-placeholder { background: linear-gradient(135deg, #123415, #07111f); }
.accent-pink .project-placeholder { background: linear-gradient(135deg, #5b1745, #07111f); }

.about-teaser { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 80px; }
.about-teaser-media { position: relative; min-height: 590px; overflow: hidden; border-radius: var(--radius); background: #c9d4db; }
.about-teaser-media > img { width: 100%; height: 100%; min-height: 590px; object-fit: cover; }
.about-stamp { position: absolute; left: 24px; bottom: 24px; width: 126px; height: 126px; padding: 18px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #7c5cff, #4f7cff); color: #f8faff; transform: rotate(-9deg); }
.about-stamp strong { font-size: 36px; line-height: .8; }
.about-stamp span { font-size: 9px; font-weight: 900; text-transform: uppercase; }
.about-teaser-copy h2 { margin: 0; font-size: clamp(42px,5vw,70px); line-height: .98; letter-spacing: -.055em; }
.about-teaser-copy > p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.check-list { margin: 28px 0 34px; padding: 0; list-style: none; display: grid; gap: 14px; }
.check-list li { padding-left: 32px; position: relative; font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: -2px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #4f7cff, #7c5cff); color: #fff; font-size: 12px; }
.process-section { background: rgba(10, 18, 42, 0.72); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.process-grid article { padding: 28px 28px 10px 0; border-right: 1px solid var(--line); }
.process-grid article:not(:first-child) { padding-left: 28px; }
.process-grid article:last-child { border-right: 0; }
.process-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.process-num { color: var(--blue); font-size: 12px; font-weight: 900; }
.process-icon {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 14px; color: #a5b4fc;
  background: linear-gradient(145deg, rgba(79,124,255,.2), rgba(124,92,255,.12));
  border: 1px solid rgba(165,180,252,.25);
  animation: ve-ico-float 5s ease-in-out infinite;
}
.process-grid article:nth-child(2) .process-icon { animation-delay: .3s; }
.process-grid article:nth-child(3) .process-icon { animation-delay: .6s; }
.process-grid article:nth-child(4) .process-icon { animation-delay: .9s; }
.process-grid h3 { margin: 34px 0 12px; font-size: 22px; }
.process-grid p { color: var(--muted); }

.page-hero { overflow: hidden; padding-block: 110px 90px; background: var(--navy); color: var(--white); }
.page-hero-inner { position: relative; }
.page-hero-inner::after { content: "05"; position: absolute; top: -115px; right: -15px; color: rgba(255,255,255,.035); font-size: 340px; font-weight: 900; line-height: 1; }
.page-hero h1, .portfolio-hero h1, .about-hero h1, .contacts-page h1, .case-hero h1 { margin: 0; font-size: clamp(54px, 8vw, 108px); line-height: .88; letter-spacing: -.07em; text-wrap: balance; }
.page-hero p:not(.eyebrow) { max-width: 700px; margin: 32px 0 0; color: #aeb8c7; font-size: 20px; }
.page-hero-actions { margin-top: 38px; display: flex; gap: 14px; flex-wrap: wrap; }
.offer-list { border-top: 1px solid var(--line); }
.offer-row { position: relative; padding-block: 48px; display: grid; grid-template-columns: 70px 1fr 230px; gap: 30px; border-bottom: 1px solid var(--line); }
.offer-number { color: var(--blue); font-weight: 900; }
.offer-icon {
  position: absolute; top: 48px; right: 0;
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 16px; color: #c4b5fd;
  background: linear-gradient(145deg, rgba(79,124,255,.22), rgba(124,92,255,.14));
  border: 1px solid rgba(196,181,253,.25);
  animation: ve-ico-float 4.8s ease-in-out infinite;
}
.offer-icon .ve-ico { width: 30px; height: 30px; }
.offer-main h2 { margin: 0; font-size: clamp(30px,4vw,48px); line-height: 1; letter-spacing: -.045em; }
.offer-main > p { max-width: 660px; color: var(--muted); }
.offer-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.offer-aside { text-align: right; }
.offer-aside strong { display: block; font-size: 19px; }
.offer-aside span { color: var(--muted); }
.split-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: start; }
.split-copy p { margin-top: 0; color: var(--muted); font-size: 18px; }

.portfolio-hero { padding: 110px 0 46px; background: var(--navy); color: var(--white); }
.portfolio-hero-top { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: end; }
.portfolio-hero-top > p { margin: 0 0 10px; color: #aeb8c7; font-size: 18px; }
.category-nav { margin-top: 64px; display: flex; gap: 9px; flex-wrap: wrap; }
.category-nav a { padding: 10px 14px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: #c0cad7; font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.category-nav a:hover { border-color: var(--lime); color: var(--lime); }
.category-nav .cat-ico { display: inline-flex; color: #a5b4fc; }
.category-nav a:hover .cat-ico { color: var(--lime); }
.portfolio-group { scroll-margin-top: 96px; }
.portfolio-group + .portfolio-group { padding-top: 0; }
.portfolio-group-heading { margin-bottom: 34px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.portfolio-group-heading h2 { margin: 0; font-size: clamp(32px,4vw,52px); letter-spacing: -.05em; }
.portfolio-group-heading span { color: var(--muted); font-size: 12px; font-weight: 900; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.case-page { --accent: var(--blue); }
.case-page.accent-lime { --accent: var(--lime); }
.case-page.accent-violet { --accent: var(--violet); }
.case-page.accent-orange { --accent: var(--orange); }
.case-page.accent-cyan { --accent: var(--cyan); }
.case-page.accent-green { --accent: var(--lime); }
.case-page.accent-pink { --accent: #ff4ba6; }
.case-hero { padding-block: 54px 85px; background: var(--navy); color: var(--white); }
.back-link { display: inline-flex; margin-bottom: 60px; color: #aeb8c7; font-weight: 800; }
.back-link:hover { color: var(--accent); }
.case-hero-grid { display: grid; grid-template-columns: 1fr 150px; gap: 50px; align-items: end; }
.case-meta { margin-bottom: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.case-meta span { padding: 8px 11px; border: 1px solid rgba(255,255,255,.15); border-radius: 999px; color: #c7d0dc; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.case-hero h1 { max-width: 980px; }
.case-hero p { max-width: 720px; margin: 28px 0; color: #b6c1cf; font-size: 20px; }
.tag-row-large span { background: rgba(255,255,255,.08); color: #d5dce5; }
.case-number { align-self: start; color: var(--accent); font-size: 14px; font-weight: 900; writing-mode: vertical-rl; }
.case-visual-wrap { position: relative; z-index: 3; margin-top: -38px; }
.case-visual { width: 100%; max-height: 720px; min-height: 420px; object-fit: cover; border: 10px solid #0a1430; border-radius: calc(var(--radius) + 10px); background: #0c192c; box-shadow: var(--shadow); }
.case-placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #0e2244, #06101f); color: var(--white); }
.case-placeholder span { font-size: clamp(40px,7vw,92px); font-weight: 900; letter-spacing: -.06em; }
.case-placeholder i { color: var(--accent); }
.case-details { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.case-intro h2 { margin: 0; font-size: clamp(38px,5vw,66px); line-height: .96; letter-spacing: -.055em; }
.case-columns { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.case-columns h3, .case-results h3 { margin: 0 0 14px; font-size: 22px; }
.case-columns p, .case-results p { color: var(--muted); }
.case-columns ul, .case-results ul { margin: 0; padding-left: 20px; color: var(--muted); }
.case-columns li + li, .case-results li + li { margin-top: 8px; }
.case-results { grid-column: 2; padding-top: 38px; border-top: 1px solid var(--line); }
.case-story { grid-column: 2; display: grid; gap: 18px; margin-bottom: 8px; }
.case-story p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.65; max-width: 62ch; }
.case-outcome { grid-column: 2; padding: 22px 24px; border-radius: 18px; background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(124,92,255,.1)); border: 1px solid rgba(125,211,252,.18); }
.case-outcome > span { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.case-outcome p { margin: 0; color: var(--white); font-size: 16px; line-height: 1.6; }
.case-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 16px; }
.case-gallery img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 16px; border: 1px solid var(--line); background: #0c192c; }
.case-actions { grid-column: 2; display: flex; gap: 12px; flex-wrap: wrap; }
.related-heading { margin-bottom: 34px; }

.about-hero { padding-top: 70px; overflow: hidden; background: var(--navy); color: var(--white); }
.about-hero-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 70px; align-items: end; }
.about-hero-copy { padding-bottom: 90px; }
.about-hero-copy > p:not(.eyebrow) { max-width: 650px; color: #afbac8; font-size: 19px; }
.about-hero-media { position: relative; min-height: 640px; overflow: hidden; border-radius: 260px 260px 0 0; background: #1b2940; }
.about-hero-media::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 50%, rgba(6,16,31,.55)); z-index: 1; }
.about-hero-media img { width: 100%; height: 100%; min-height: 640px; object-fit: cover; object-position: center top; }
.about-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.about-story-copy p { margin-top: 0; color: var(--muted); font-size: 18px; }
.numbers-section { padding-block: 80px; background: linear-gradient(90deg, #312e81, #1d4ed8 55%, #5b21b6); color: #f8faff; }
.numbers-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.numbers-grid div { padding: 10px 30px; border-right: 1px solid rgba(255,255,255,.18); }
.numbers-grid div:first-child { padding-left: 0; }
.numbers-grid div:last-child { border-right: 0; }
.numbers-grid strong { display: block; font-size: clamp(38px,5vw,64px); line-height: 1; letter-spacing: -.06em; }
.numbers-grid span { margin-top: 10px; display: block; font-size: 12px; font-weight: 800; }
.principles-section h2 { max-width: 760px; }
.principles-grid { margin-top: 55px; display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.principles-grid article { min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, #142246, #0c1632); }
.principles-grid span { color: var(--cyan); font-weight: 900; }
.principles-grid h3 { margin: 60px 0 12px; font-size: 24px; color: var(--white); }
.principles-grid p { color: var(--muted); }
.about-wide-photo img { width: 100%; max-height: 680px; object-fit: cover; border-radius: var(--radius); }

.contacts-page { padding-block: 95px; background: var(--navy); color: var(--white); }
.contacts-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; }
.contacts-copy > p:not(.eyebrow) { max-width: 650px; color: #afbac8; font-size: 19px; }
.contacts-note { margin-top: 50px; padding-top: 26px; display: flex; gap: 22px; border-top: 1px solid rgba(255,255,255,.12); color: #b8c2cf; }
.contacts-note span { color: #c4b5fd; font-weight: 900; }
.contacts-note p { margin: 0; }
.contact-cards { display: grid; gap: 12px; }
.contact-cards a { min-height: 128px; padding: 24px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 14px; border: 1px solid rgba(255,255,255,.13); border-radius: 20px; background: rgba(255,255,255,.04); transition: background .2s, transform .2s; }
.contact-cards a:hover { background: rgba(18,104,255,.16); transform: translateX(-5px); }
.contact-index { color: #c4b5fd; font-size: 11px; font-weight: 900; }
.contact-ico {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 16px; color: #c4b5fd;
  background: linear-gradient(145deg, rgba(79,124,255,.25), rgba(139,92,246,.18));
  border: 1px solid rgba(196,181,253,.28);
  animation: ve-ico-pulse 3.6s ease-in-out infinite;
}
.contact-cards strong { font-size: 20px; }
.contact-cards small { color: #8f9bab; }
.brief-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; }
.brief-list { margin: 0; padding: 0; list-style: none; counter-reset: brief; display: grid; }
.brief-list li { counter-increment: brief; padding: 24px 0 24px 55px; position: relative; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.brief-list li::before { content: "0" counter(brief); position: absolute; left: 0; color: var(--blue); font-size: 12px; font-weight: 900; }
.brief-actions { grid-column: 2; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }

.contact-band { margin-block: 100px; }
.contact-band-inner { padding: 66px; display: flex; align-items: center; justify-content: space-between; gap: 50px; overflow: hidden; position: relative; border-radius: 32px; background: linear-gradient(135deg, #312e81, #1d4ed8 50%, #6d28d9); color: #f8faff; }
.contact-band-inner::after { content: "↗"; position: absolute; right: 3%; top: -60%; color: rgba(255,255,255,.08); font-size: 360px; font-weight: 900; }
.contact-band h2 { max-width: 700px; margin: 0; font-size: clamp(38px,5vw,64px); line-height: .98; letter-spacing: -.055em; }
.contact-band-actions { position: relative; z-index: 2; min-width: 230px; display: grid; gap: 18px; }
.contact-band .eyebrow, .contact-band .text-link { color: #e0e7ff; }

.not-found { min-height: 70vh; padding-block: 110px; display: grid; place-items: center; text-align: center; }
.not-found h1 { margin: 0; color: var(--blue); font-size: clamp(90px,20vw,240px); line-height: .7; letter-spacing: -.09em; }
.not-found h2 { font-size: clamp(34px,5vw,64px); margin: 45px 0 12px; }
.not-found p { color: var(--muted); }
.not-found div div { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

.site-footer { padding: 70px 0 28px; background: #020617; color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 80px; }
.footer-brand .brand-mark { background: #000; color: #fff; box-shadow: 0 0 0 1px rgba(167, 139, 250, 0.3); }
.footer-brand .brand-copy small { color: #8895a8; }
.footer-grid > div > p:not(.footer-label) { max-width: 460px; color: #8f9aac; }
.footer-label { margin: 0 0 18px; color: #738095; font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.footer-grid nav { display: grid; gap: 10px; }
.footer-grid nav a:hover { color: #c4b5fd; }
.footer-bottom { margin-top: 60px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); color: #69768a; font-size: 11px; }

@media (max-width: 1020px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu { display: block; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr .8fr; }
  .hero h1 { font-size: clamp(50px,7.6vw,74px); }
  .hero-label { display: none; }
  .services-grid, .portfolio-grid { grid-template-columns: repeat(2,1fr); }
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card-large .project-visual { aspect-ratio: 16 / 10; }
  .about-teaser, .about-hero-grid, .contacts-grid { gap: 45px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(n+3) { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); }
  .portfolio-hero-top { grid-template-columns: 1fr 320px; }
  .case-details { gap: 45px; }
  .principles-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 760px) {
  .shell { width: min(100% - 28px, 620px); }
  .section { padding-block: 76px; }
  .site-header .brand-copy small { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 58px; }
  .hero h1 { font-size: clamp(49px,15vw,78px); }
  .hero-lead { font-size: 17px; }
  .hero-proof { gap: 26px; }
  .hero-proof strong { font-size: 28px; }
  .hero-portrait-wrap { min-height: 490px; }
  .hero-portrait { max-width: 430px; height: 490px; }
  .capability-strip { grid-template-columns: 1fr; gap: 12px; }
  .capability-strip i { width: 100%; height: 1px; }
  .services-grid, .featured-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .project-card-large .project-visual, .project-visual { aspect-ratio: 16 / 10; min-height: 0; }
  .portfolio-heading-row { align-items: flex-start; flex-direction: column; }
  .about-teaser { grid-template-columns: 1fr; gap: 45px; }
  .about-teaser-media, .about-teaser-media > img { min-height: 440px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { padding: 28px 0 !important; margin: 0 !important; border-right: 0; border-bottom: 1px solid var(--line); }
  .page-hero { padding-block: 80px 66px; }
  .page-hero-inner::after { display: none; }
  .offer-row { grid-template-columns: 42px 1fr; gap: 18px; }
  .offer-aside { grid-column: 2; text-align: left; }
  .split-heading, .portfolio-hero-top, .about-hero-grid, .about-story, .contacts-grid, .brief-section { grid-template-columns: 1fr; gap: 38px; }
  .category-nav { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .category-nav a { flex: 0 0 auto; }
  .case-hero-grid { grid-template-columns: 1fr; }
  .case-number { display: none; }
  .case-visual { min-height: 260px; border-width: 6px; }
  .case-details { grid-template-columns: 1fr; gap: 38px; }
  .case-results, .case-actions { grid-column: 1; }
  .case-story, .case-outcome { grid-column: 1; }
  .case-gallery { grid-template-columns: 1fr; }
  .about-hero-copy { padding-bottom: 15px; }
  .about-hero-media, .about-hero-media img { min-height: 530px; }
  .about-hero-media { max-width: 500px; margin-inline: auto; }
  .numbers-grid { grid-template-columns: repeat(2,1fr); gap: 34px 0; }
  .numbers-grid div:nth-child(2) { border-right: 0; }
  .principles-grid { grid-template-columns: 1fr; }
  .contact-cards { margin-top: 14px; }
  .brief-actions { grid-column: 1; }
  .contact-band-inner { padding: 46px 28px; align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 46px 24px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 480px) {
  .header-inner { min-height: 70px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-copy strong { font-size: 12px; }
  .hero h1 { font-size: 48px; }
  .hero-actions .button, .page-hero-actions .button { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
  .hero-proof strong { font-size: 23px; }
  .hero-proof span { font-size: 10px; }
  .hero-portrait-wrap { min-height: 405px; }
  .hero-portrait { height: 405px; border-radius: 200px 200px 20px 20px; }
  .service-card { min-height: 270px; }
  .portfolio-group-heading { align-items: flex-start; }
  .project-visual, .project-card-large .project-visual { aspect-ratio: 16 / 10; min-height: 0; }
  .project-card h3 { font-size: 22px; }
  .case-columns { grid-template-columns: 1fr; }
  .case-visual { min-height: 210px; }
  .numbers-grid strong { font-size: 40px; }
  .contact-cards a { min-height: 110px; grid-template-columns: 34px 1fr; }
  .contact-cards a > span:last-child { display: none; }
  .contact-band { margin-block: 68px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .ve-reveal, .ve-reveal-child { opacity: 1 !important; transform: none !important; filter: none !important; }
  body.ve-cursor-on, body.ve-cursor-on * { cursor: auto !important; }
  .ve-cursor, .ve-cursor-dot { display: none !important; }
  .service-icon, .process-icon, .contact-ico, .offer-icon, .cat-ico .ve-ico, .ve-ico { animation: none !important; }
}

/* --- Futuristic motion / cursor / reveals --- */
body.ve-cursor-on, body.ve-cursor-on a, body.ve-cursor-on button, body.ve-cursor-on input, body.ve-cursor-on textarea, body.ve-cursor-on summary {
  cursor: none;
}
.ve-cursor, .ve-cursor-dot {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none !important;
  z-index: 2147483646 !important;
  mix-blend-mode: screen;
  will-change: transform;
  opacity: 0;
  transition: opacity .25s ease;
}
body.ve-cursor-ready .ve-cursor,
body.ve-cursor-ready .ve-cursor-dot { opacity: 1; }
.ve-cursor {
  width: 42px; height: 42px;
  margin: -21px 0 0 -21px;
  border: 1px solid rgba(167, 139, 250, .7);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(79, 124, 255, .35);
  background: radial-gradient(circle at 30% 30%, rgba(124,92,255,.18), transparent 60%);
  transition: width .2s ease, height .2s ease, margin .2s ease, border-color .2s ease, background .2s ease;
}
.ve-cursor-dot {
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: #c4b5fd;
  box-shadow: 0 0 12px rgba(196, 181, 253, .9);
  mix-blend-mode: normal;
}
body.ve-cursor-hover .ve-cursor {
  width: 64px; height: 64px;
  margin: -32px 0 0 -32px;
  border-color: rgba(56, 189, 248, .85);
  background: radial-gradient(circle at 40% 40%, rgba(56,189,248,.22), transparent 65%);
}
body.ve-cursor-press .ve-cursor {
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
}

/* Visible by default — hide only when html.ve-motion is set by theme.js. */
.ve-reveal, .ve-reveal-child {
  opacity: 1;
  transform: none;
  filter: none;
}
html.ve-motion .ve-reveal:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 36px, 0) scale(.985);
  filter: blur(6px);
  transition:
    opacity .7s cubic-bezier(.22,1,.36,1),
    transform .7s cubic-bezier(.22,1,.36,1),
    filter .7s ease;
  transition-delay: var(--ve-delay, 0ms);
  will-change: opacity, transform, filter;
}
html.ve-motion .ve-reveal.is-in {
  opacity: 1;
  transform: none;
  filter: none;
}
html.ve-motion .ve-reveal-left:not(.is-in) { transform: translate3d(-40px, 0, 0); }
html.ve-motion .ve-reveal-right:not(.is-in) { transform: translate3d(40px, 0, 0); }
html.ve-motion .ve-reveal-scale:not(.is-in) { transform: scale(.92); }
html.ve-motion .ve-reveal-child:not(.is-in) {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity .55s cubic-bezier(.22,1,.36,1), transform .55s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--ve-delay, 0ms);
  will-change: opacity, transform;
}
html.ve-motion .ve-reveal.is-in .ve-reveal-child,
html.ve-motion .ve-reveal-child.is-in {
  opacity: 1;
  transform: none;
}
/* Seraphinite lazy images must not stay invisible if accelerator JS stalls */
img.lzl, img.lzl-ing { opacity: 1 !important; }

.hero::after {
  content: "";
  position: absolute;
  inset: auto 8% -40px 8%;
  height: 120px;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(99,102,241,.28), transparent 70%);
  filter: blur(8px);
  opacity: .7;
}
.service-card, .project-card, .principles-grid article, .contact-cards a {
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover, .project-card:hover {
  border-color: rgba(124, 92, 255, 0.35);
  box-shadow: 0 22px 50px rgba(2, 8, 28, .5), 0 0 0 1px rgba(99,102,241,.15);
}

.case-results > div { display: grid; gap: 14px; margin-top: 16px; }
.case-results > div > span { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); }
.case-results > div > span b { color: var(--blue); font-size: 12px; font-weight: 900; min-width: 28px; }
.case-columns > div > span { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.page-content { max-width: 900px; }
.elementor-page .site-header, .elementor-template-canvas .site-header { display: none; }
body.elementor-template-canvas .site-header,
body.elementor-template-canvas .site-footer { display: none !important; }
body.elementor-template-canvas main { display: contents; }

/* --- SmartCore AI widget: FAB branding + hide when open (CSS only, no JS hijack) --- */
.smartcore-widget {
  --smartcore-brand: #6d5efc;
  z-index: 99990;
}
.smartcore-widget-launcher,
.smartcore-widget-launcher.ve-ai-fab {
  position: relative;
  width: auto !important;
  min-width: 62px;
  height: 56px !important;
  padding: 6px 16px 6px 6px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background:
    linear-gradient(135deg, #5b8cff 0%, #6d5efc 45%, #8b5cf6 100%) !important;
  box-shadow:
    0 14px 36px rgba(99, 102, 241, 0.42),
    0 0 0 1px rgba(196, 181, 253, 0.25),
    inset 0 1px 0 rgba(255,255,255,.28) !important;
  color: #fff !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
  transition:
    opacity .35s cubic-bezier(.22,1,.36,1),
    transform .4s cubic-bezier(.22,1,.36,1),
    visibility .35s ease,
    box-shadow .35s ease,
    filter .35s ease !important;
  will-change: transform, opacity;
  overflow: visible !important;
}
.smartcore-widget-launcher > svg,
.smartcore-widget-launcher > i,
.smartcore-widget-launcher > .dashicons {
  display: none !important;
}
.ve-ai-fab__avatar {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  display: block !important;
  flex: 0 0 auto;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,.2);
}
.ve-ai-fab__label {
  font-size: 14px !important;
  line-height: 1 !important;
  white-space: nowrap;
  padding-right: 4px;
}
.smartcore-widget-launcher::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(124,92,255,.35), transparent 70%);
  opacity: .55;
  z-index: -1;
  animation: ve-fab-pulse 2.8s ease-in-out infinite;
  pointer-events: none;
}
.smartcore-widget-launcher:hover {
  transform: translateY(-3px) scale(1.03);
  filter: saturate(1.08);
  box-shadow:
    0 18px 44px rgba(99, 102, 241, 0.55),
    0 0 0 1px rgba(196, 181, 253, 0.4),
    inset 0 1px 0 rgba(255,255,255,.32) !important;
}
/* Hide FAB when chat is open — driven only by SmartCore aria-expanded */
.smartcore-widget-launcher[aria-expanded="true"] {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(.85) translate3d(0, 12px, 0) !important;
  box-shadow: none !important;
}
.smartcore-widget-launcher[aria-expanded="true"]::after {
  animation: none;
  opacity: 0;
}

.smartcore-widget-panel {
  transform-origin: bottom right;
  border: 1px solid rgba(124, 92, 255, 0.28) !important;
  border-radius: 22px !important;
  background: linear-gradient(180deg, #0f1733 0%, #121a3a 40%, #0c142c 100%) !important;
  color: #e8edf8 !important;
  box-shadow:
    0 28px 80px rgba(2, 8, 28, 0.55),
    0 0 0 1px rgba(99, 102, 241, 0.18),
    0 0 60px rgba(99, 102, 241, 0.18) !important;
  overflow: hidden;
  transition:
    opacity .35s cubic-bezier(.22,1,.36,1),
    transform .4s cubic-bezier(.22,1,.36,1) !important;
}
.smartcore-widget-panel:not([hidden]) {
  animation: ve-panel-in .42s cubic-bezier(.22,1,.36,1);
}
.smartcore-widget-panel > header {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: linear-gradient(135deg, #4f7cff, #6d5efc 50%, #8b5cf6) !important;
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-block: 14px !important;
}
/* Avatar before title (top-left of purple header) */
.smartcore-widget-panel > header::before {
  content: "";
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #000 url("../img/logo.png") center / cover no-repeat;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.28);
  order: -1;
}
.smartcore-widget-panel > header > div {
  flex: 1 1 auto;
  min-width: 0;
}
.smartcore-widget-panel > header > div strong {
  display: block;
  line-height: 1.25;
}
.smartcore-widget-panel > header > div small {
  display: block;
  opacity: .9;
  margin-top: 4px;
  line-height: 1.35;
}
.smartcore-widget-panel > header > [data-smartcore-close] {
  flex: 0 0 auto;
  margin-left: auto;
}
.smartcore-messages {
  background: rgba(7, 12, 28, 0.55) !important;
}
.smartcore-messages .is-bot {
  background: rgba(255,255,255,.06) !important;
  border-color: rgba(140, 160, 220, 0.18) !important;
  color: #e8edf8 !important;
}
.smartcore-messages .is-user {
  background: linear-gradient(135deg, #4f7cff, #7c5cff) !important;
}
.smartcore-question,
.smartcore-widget details {
  border-top-color: rgba(140, 160, 220, 0.16) !important;
  background: rgba(10, 16, 36, 0.7);
  color: #e8edf8;
}
.smartcore-question input,
.smartcore-lead input,
.smartcore-lead textarea {
  background: rgba(255,255,255,.04) !important;
  color: #e8edf8 !important;
  border-color: rgba(140, 160, 220, 0.22) !important;
}
.smartcore-question button,
.smartcore-lead button {
  background: linear-gradient(135deg, #4f7cff, #7c5cff) !important;
  box-shadow: 0 8px 22px rgba(79, 124, 255, 0.35);
}

@keyframes ve-fab-pulse {
  0%, 100% { transform: scale(1); opacity: .45; }
  50% { transform: scale(1.08); opacity: .75; }
}
@keyframes ve-panel-in {
  from { opacity: 0; transform: translate3d(12px, 18px, 0) scale(.94); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .smartcore-widget-launcher,
  .smartcore-widget-panel,
  .smartcore-widget-panel:not([hidden]) {
    transition: none !important;
    animation: none !important;
  }
  .smartcore-widget-launcher::after { animation: none !important; }
}

/* --- Thematic animated icons --- */
.ve-ico {
  width: 28px;
  height: 28px;
  display: block;
  flex: 0 0 auto;
  color: inherit;
}
.ve-ico--sm { width: 18px; height: 18px; }
.ve-ico--md { width: 24px; height: 24px; }
.ve-ico--btn { width: 18px; height: 18px; margin-right: 2px; }
.button .ve-ico { display: inline-block; vertical-align: -3px; }

/* Messenger CTAs: Telegram + MAX */
.ve-msg-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.ve-msg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.ve-msg-btn--tg {
  --msg-accent: #2AABEE;
}
.ve-msg-btn--max {
  --msg-accent: #7c5cff;
}
.ve-msg-btn .ve-ico {
  color: var(--msg-accent, currentColor);
}
.button.ve-msg-btn--tg .ve-ico { color: #9ad8ff; }
.button-ghost.ve-msg-btn--max .ve-ico { color: #c4b5fd; }
.contact-band .ve-msg-actions { display: grid; gap: 12px; }
.contact-band .ve-msg-btn {
  justify-content: center;
  width: 100%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.28);
  color: #fff;
}
.contact-band .ve-msg-btn:hover {
  background: rgba(255,255,255,.22);
}
.contact-band .ve-msg-btn .ve-ico { color: #fff; }
.ve-msg-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ve-msg-link .ve-ico {
  width: 16px;
  height: 16px;
}
.ve-msg-link--tg .ve-ico { color: #2AABEE; }
.ve-msg-link--max .ve-ico { color: #a78bfa; }
.footer-grid nav .ve-msg-link { display: flex; }
.contact-ico--telegram { color: #2AABEE; }
.contact-ico--max { color: #a78bfa; }
.brief-actions .ve-msg-actions { display: inline-flex; }
@media (max-width: 720px) {
  .ve-msg-actions { width: 100%; }
  .ve-msg-btn { width: 100%; justify-content: center; }
}

@keyframes ve-ico-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes ve-ico-glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(124,92,255,0)); opacity: .92; }
  50% { filter: drop-shadow(0 0 8px rgba(125,211,252,.45)); opacity: 1; }
}
@keyframes ve-ico-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124,92,255,.0); transform: scale(1); }
  50% { box-shadow: 0 0 0 6px rgba(124,92,255,.08); transform: scale(1.03); }
}
@keyframes ve-ico-spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.ve-ico--auto { animation: ve-ico-spin-slow 12s linear infinite; transform-origin: center; }
.service-card:nth-child(3) .service-icon .ve-ico,
.capability-strip .ve-ico--ai { animation: ve-ico-glow 2.8s ease-in-out infinite; }

/* --- SEO city landings --- */
.seo-hero { padding: 56px 0 28px; }
.seo-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.seo-crumbs a { color: var(--muted); text-decoration: none; }
.seo-crumbs a:hover { color: var(--white); }
.seo-lead { max-width: 720px; color: var(--muted); font-size: 18px; line-height: 1.55; }
.seo-body { display: grid; grid-template-columns: 1.4fr .7fr; gap: 40px; align-items: start; }
.seo-main { color: var(--muted); font-size: 16px; line-height: 1.65; }
.seo-main h2 { color: var(--white); margin: 28px 0 12px; font-size: 28px; letter-spacing: -.03em; }
.seo-main ul { padding-left: 18px; }
.seo-aside { display: grid; gap: 16px; position: sticky; top: 24px; }
.seo-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.03); }
.seo-card strong { display: block; margin-bottom: 8px; color: var(--white); }
.seo-card p { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.seo-mini-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.seo-mini-links a { color: var(--muted); text-decoration: none; }
.seo-mini-links a:hover { color: var(--white); }
.seo-faq { margin-top: 36px; display: grid; gap: 10px; }
.seo-faq details { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: rgba(255,255,255,.02); }
.seo-faq summary { cursor: pointer; color: var(--white); font-weight: 700; }
.seo-faq p { margin: 10px 0 0; }
.seo-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.seo-link-grid a { display: grid; gap: 6px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.03); text-decoration: none; color: inherit; }
.seo-link-grid a:hover { border-color: rgba(125,211,252,.35); background: rgba(59,130,246,.08); }
.seo-link-grid strong { color: var(--white); }
.seo-link-grid span { color: var(--muted); font-size: 13px; }
.seo-city-cloud { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.seo-city-cloud a { padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: 13px; }
.seo-city-cloud a:hover { color: var(--white); border-color: rgba(125,211,252,.4); }
@media (max-width: 900px) {
  .seo-body { grid-template-columns: 1fr; }
  .seo-aside { position: static; }
  .seo-link-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .seo-link-grid { grid-template-columns: 1fr; }
}



/* ve-lead-form-fix-1.0.17 */
.smartcore-widget-panel{
  display:flex!important;
  flex-direction:column!important;
  max-height:min(92vh,650px)!important;
  overflow:hidden!important;
}
.smartcore-widget-panel>.smartcore-messages{
  flex:1 1 auto;
  min-height:72px!important;
  max-height:none!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch;
}
.smartcore-widget-panel>details{
  flex:0 1 auto;
  max-height:58%;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.smartcore-widget-panel>details[open]{padding-bottom:4px}
.smartcore-lead input[name="email"],
.smartcore-lead input[type="email"],
.smartcore-lead textarea[name="message"]{
  display:none!important;
}
