@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-cyrillic-italic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Montserrat";
  font-style: italic;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-latin-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;

  --bg: #111315;
  --bg-deep: #0b0d0f;
  --bg-elevated: #16191b;
  --surface-1: #1a1e21;
  --surface-2: #202529;
  --surface-3: rgba(255, 255, 255, 0.045);
  --surface-hover: rgba(255, 255, 255, 0.07);

  --line: rgba(255, 255, 255, 0.085);
  --line-strong: rgba(255, 255, 255, 0.16);
  --line-accent: rgba(198,167,123, 0.36);

  --text: #f7f7f8;
  --text-soft: #d0d0d8;
  --text-muted: #a2a2b0;
  --text-faint: #999d9e;

  --accent: #c6a77b;
  --accent-bright: #e6ceaa;
  --accent-dark: #9b7648;
  --cyan: #94d9ed;
  --pink: #c9a7a1;
  --green: #34d399;
  --red: #fb7185;

  --font: "Montserrat", Arial, sans-serif;
  --mono: "Montserrat", Arial, sans-serif;

  --container: 1240px;
  --article: 850px;
  --header-h: 76px;

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --shadow-sm: 0 12px 32px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 28px 80px rgba(0, 0, 0, 0.34);
  --shadow-accent: 0 20px 56px rgba(198,167,123, 0.28);

  --ease: cubic-bezier(.2, .75, .25, 1);
}

/* =========================================================
   Foundation
   ========================================================= */

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

html {
  min-width: 320px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.68;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -18%, rgba(198,167,123, 0.105), transparent 31%),
    linear-gradient(180deg, var(--bg-deep), var(--bg) 34%, #08080b);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-menu-open {
  overflow: hidden;
}

main,
header,
footer,
section,
article,
nav {
  display: block;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button {
  border: 0;
  color: inherit;
  background: none;
  cursor: pointer;
}

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

p,
h1,
h2,
h3,
h4,
ul,
ol,
blockquote,
figure {
  margin-top: 0;
}

::selection {
  color: #fff;
  background: rgba(198,167,123, 0.58);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  color: #fff;
  background: var(--accent);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: none;
}

.container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

/* =========================================================
   Ambient background
   ========================================================= */

.bg-space {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-space::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 7, 10, 0.02), rgba(7, 7, 10, 0.72));
}

.bg-grid {
  position: absolute;
  inset: 0;
  opacity: .17;
  background-image:
    linear-gradient(rgba(255, 255, 255, .032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .032) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, .68) 44%, transparent 84%);
  mask-image: linear-gradient(to bottom, #000 0, rgba(0, 0, 0, .68) 44%, transparent 84%);
}

.bg-noise {
  position: absolute;
  inset: 0;
  opacity: .018;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.85'/%3E%3C/svg%3E");
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: orb-float 22s var(--ease) infinite;
}

.orb-1 {
  top: -18%;
  left: -12%;
  width: 540px;
  height: 540px;
  opacity: .24;
  background: var(--accent);
}

.orb-2 {
  top: 30%;
  right: -15%;
  width: 440px;
  height: 440px;
  opacity: .13;
  background: var(--cyan);
  animation-delay: -9s;
}

@keyframes orb-float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(28px, 20px, 0) scale(1.04); }
}

/* =========================================================
   Header and navigation
   ========================================================= */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  border: 0;
  background: rgba(5, 7, 8, .9);
  box-shadow: none;
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  transition: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: 100%;
  padding: 20px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 9px;
}

.logo,
.footer__brand {
  font-size: 1.39rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.055em;
}

.logo span,
.footer__brand span {
  color: transparent;
  background: linear-gradient(135deg, #b8a6ff, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s ease, background .2s ease;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface-3);
}

.nav__cta {
  margin-left: 7px;
  padding: 11px 17px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
  box-shadow: 0 10px 28px rgba(198,167,123, .25);
}

.nav__cta:hover {
  box-shadow: 0 15px 38px rgba(198,167,123, .34);
}

.burger {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-3);
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  position: relative;
  width: 19px;
  height: 2px;
  border-radius: 99px;
  background: var(--text);
  transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.burger[aria-expanded="true"] span {
  background: transparent;
}

.burger[aria-expanded="true"] span::before {
  top: 0;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] span::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav--mobile {
  display: flex;
  visibility: hidden;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  opacity: 0;
  background: rgba(7, 7, 10, .965);
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav--mobile.open {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nav--mobile a {
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text-soft);
  background: var(--surface-3);
  font-size: 1rem;
  font-weight: 600;
}

.nav--mobile__cta {
  margin-top: 4px;
  color: #fff !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark)) !important;
}

/* =========================================================
   Common components
   ========================================================= */

#works,
#services,
#advantages,
#about,
#process,
#faq,
#blog,
#contact {
  scroll-margin-top: calc(var(--header-h) + 18px);
}

.home-section {
  position: relative;
  z-index: 1;
  padding: 61px 0;
}

.home-section--soft::before {
  content: "";
  position: absolute;
  inset: 20px 0;
  border-block: 1px solid rgba(255, 255, 255, .052);
  background:
    radial-gradient(circle at 18% 35%, rgba(198,167,123, .055), transparent 29%),
    linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(255, 255, 255, .006));
  pointer-events: none;
}

.home-section--compact {
  padding-block: 86px;
}

.home-section--contact {
  padding-top: 82px;
  padding-bottom: 110px;
}

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 44px;
}

.section__heading {
  max-width: 790px;
}

.section__label {
  margin-bottom: 13px;
  font-family: var(--mono);
  color: var(--cyan);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.section__title,
.page-head__title {
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.1vw, 3.45rem);
  font-weight: 700;
  line-height: 1.075;
  letter-spacing: -.058em;
  text-wrap: balance;
}

.section__desc,
.section__intro,
.page-head__desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.72;
}

.section__desc {
  max-width: 450px;
}

.section__intro {
  max-width: 680px;
  margin-top: 18px;
  margin-bottom: 0;
}

.glass {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 255, 255, .038), rgba(255, 255, 255, .022));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), var(--shadow-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 15px;
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.25;
  transition: transform .2s var(--ease), background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark) 58%, #7840e7);
  box-shadow: var(--shadow-accent);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 64px rgba(198,167,123, .36);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: var(--surface-3);
}

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

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-h) + 68px) 0 88px;
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, .92fr);
  align-items: center;
  gap: clamp(54px, 7vw, 98px);
}

.hero__content {
  max-width: 790px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 27px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(198,167,123, .3);
  border-radius: 999px;
  color: #ded4ff;
  background: rgba(198,167,123, .11);
  font-size: .85rem;
  font-weight: 500;
}

.hero__badge-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(52, 211, 153, .13), 0 0 18px rgba(52, 211, 153, .45);
}

.hero h1 {
  max-width: 850px;
  margin-bottom: 25px;
  font-size: clamp(3.05rem, 6.35vw, 5.6rem);
  font-weight: 700;
  line-height: .985;
  letter-spacing: -.031em;
  text-wrap: balance;
}

.hero h1 em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(118deg, #baa8ff 0%, var(--cyan) 53%, #e79ac7 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero__lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: var(--text-muted);
  font-size: clamp(1.04rem, 1.45vw, 1.19rem);
  line-height: 1.74;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 44px;
}

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 710px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero__meta div {
  min-width: 0;
  padding-right: 20px;
}

.hero__meta div + div {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.hero__meta strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.28rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -.038em;
}

.hero__meta span {
  display: block;
  color: var(--text-faint);
  font-size: .8rem;
  line-height: 1.48;
}

.hero__visual {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 530px;
  perspective: 1100px;
}

.expertise-strip {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .012);
}

.expertise-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.expertise-strip__inner i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

/* =========================================================
   Portfolio
   ========================================================= */

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .018);
  font-size: .86rem;
  font-weight: 600;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.filter:hover {
  color: var(--text);
  border-color: var(--line-strong);
}

.filter.active {
  color: #e1d8ff;
  border-color: var(--line-accent);
  background: rgba(198,167,123, .13);
}

.works {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 18px;
}

.work {
  grid-column: span 6;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, .034), rgba(255, 255, 255, .018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
  transition: transform .32s var(--ease), border-color .25s ease, box-shadow .32s ease;
}

.work:nth-child(1),
.work:nth-child(4) {
  grid-column: span 7;
}

.work:nth-child(2),
.work:nth-child(3) {
  grid-column: span 5;
}

.work:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.work__preview {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9.6;
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 15%, rgba(198,167,123, .2), transparent 42%),
    radial-gradient(circle at 85% 75%, rgba(148,217,237, .08), transparent 36%),
    linear-gradient(145deg, #15151c, #0b0b10);
}

.work__preview::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .45;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 42px 42px;
  -webkit-mask-image: linear-gradient(to bottom right, #000, transparent 85%);
  mask-image: linear-gradient(to bottom right, #000, transparent 85%);
}

.work__browser {
  position: absolute;
  inset: 11% 8% -10%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px 18px 0 0;
  background: rgba(10, 10, 14, .86);
  box-shadow: 0 26px 60px rgba(0, 0, 0, .4);
  transform: translateY(6px);
  transition: transform .4s var(--ease);
}

.work:hover .work__browser {
  transform: translateY(0);
}

.work__browser-top {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

.work__browser-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
}

.work__browser-content {
  position: relative;
  height: calc(100% - 34px);
  padding: clamp(16px, 3vw, 28px);
}

.work__mock-label {
  margin-bottom: 12px;
  color: var(--work-accent, var(--cyan));
  font-family: var(--mono);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.work__preview-title {
  max-width: 78%;
  font-size: clamp(1.25rem, 2.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.05em;
}

.work__mock-lines {
  display: grid;
  gap: 8px;
  width: min(62%, 260px);
  margin-top: 20px;
}

.work__mock-lines i {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
}

.work__mock-lines i:nth-child(2) { width: 78%; }
.work__mock-lines i:nth-child(3) { width: 54%; }

.work__mock-orb {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: 30%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--work-accent, var(--accent));
  filter: blur(34px);
  opacity: .23;
}

.work__body {
  display: grid;
  gap: 12px;
  padding: 24px 25px 26px;
}

.work__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.work__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.work__tag {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text-faint);
  background: rgba(255, 255, 255, .018);
  font-family: var(--mono);
  font-size: .66rem;
}

.work__year {
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: .68rem;
}

.work h3 {
  margin-bottom: 0;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.035em;
}

.work p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: .94rem;
  line-height: 1.65;
}

.work__result {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text-soft);
  font-size: .82rem;
}

.work__result::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .1);
}

.work__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 3px;
  color: var(--cyan);
  font-size: .9rem;
  font-weight: 600;
}

.work__link span {
  transition: transform .2s ease;
}

.work__link:hover span {
  transform: translate(2px, -2px);
}

/* =========================================================
   Services
   ========================================================= */

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  min-height: 330px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .016));
  transition: transform .3s var(--ease), border-color .25s ease, background .25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  right: -20%;
  bottom: -36%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .07;
  background: var(--accent);
  filter: blur(38px);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  background: linear-gradient(155deg, rgba(255, 255, 255, .052), rgba(255, 255, 255, .022));
}

.service-card--large {
  grid-column: span 8;
  grid-row: span 2;
  min-height: 470px;
  justify-content: space-between;
}

.service-card--accent {
  grid-column: span 4;
  border-color: rgba(198,167,123, .28);
  background:
    radial-gradient(circle at 90% 5%, rgba(198,167,123, .2), transparent 43%),
    linear-gradient(155deg, rgba(198,167,123, .085), rgba(255, 255, 255, .016));
}

.service-card--wide {
  grid-column: span 8;
  min-height: 260px;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
}

.service-card__index {
  align-self: flex-end;
  color: rgba(255, 255, 255, .14);
  font-family: var(--mono);
  font-size: .75rem;
}

.service-card--large .service-card__index {
  align-self: flex-start;
}

.service-card__type {
  display: block;
  margin-bottom: 12px;
  color: var(--cyan);
  font-family: var(--mono);
  font-size: .67rem;
  font-weight: 600;
  letter-spacing: .105em;
  text-transform: uppercase;
}

.service-card h3 {
  max-width: 580px;
  margin-bottom: 13px;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.048em;
}

.service-card p {
  max-width: 620px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
}

.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-card__tags li,
.skill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .022);
  font-size: .78rem;
  font-weight: 600;
}

.service-card__signal {
  display: flex;
  align-items: flex-end;
  gap: 7px;
  width: 190px;
  height: 92px;
  flex: 0 0 auto;
}

.service-card__signal span {
  flex: 1;
  min-height: 18%;
  border-radius: 6px 6px 2px 2px;
  background: linear-gradient(180deg, var(--cyan), var(--accent));
  opacity: .62;
}

.service-card__signal span:nth-child(2) { height: 44%; }
.service-card__signal span:nth-child(3) { height: 72%; }
.service-card__signal span:nth-child(4) { height: 58%; }
.service-card__signal span:nth-child(5) { height: 94%; }

/* =========================================================
   Value, about, process, FAQ
   ========================================================= */

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .014);
}

.value-card {
  min-width: 0;
  min-height: 300px;
  padding: 26px 24px;
  transition: background .25s ease;
}

.value-card + .value-card {
  border-left: 1px solid var(--line);
}

.value-card:hover {
  background: rgba(255, 255, 255, .028);
}

.value-card > span {
  display: block;
  margin-bottom: 64px;
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: .72rem;
}

.value-card h3 {
  margin-bottom: 11px;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -.03em;
}

.value-card p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.67;
}

.about-modern {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, .86fr);
  gap: 52px;
  padding: clamp(28px, 5vw, 58px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 90% 0, rgba(148,217,237, .075), transparent 30%),
    radial-gradient(circle at 0 100%, rgba(198,167,123, .1), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .015));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03), var(--shadow-md);
}

.about-modern__content p {
  max-width: 700px;
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.78;
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.about-modern__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 155px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .025);
}

.fact-card strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.045em;
}

.fact-card span {
  color: var(--text-faint);
  font-size: .8rem;
  line-height: 1.5;
}

.fact-card--accent {
  border-color: rgba(198,167,123, .27);
  background: linear-gradient(145deg, rgba(198,167,123, .13), rgba(198,167,123, .04));
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding-top: 16px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 40px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, .1) 45%, rgba(255, 255, 255, .08));
}

.process-item {
  position: relative;
  min-width: 0;
  min-height: 285px;
  padding: 0 28px 0 0;
}

.process-item + .process-item {
  padding-left: 28px;
}

.process-item::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  width: 15px;
  height: 15px;
  border: 4px solid var(--bg);
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 1px rgba(198,167,123, .38), 0 0 24px rgba(198,167,123, .42);
}

.process-item__num {
  margin: 0 0 68px 26px;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: .69rem;
}

.process-item h3 {
  margin-bottom: 11px;
  font-size: 1.17rem;
  font-weight: 700;
  letter-spacing: -.03em;
}

.process-item p {
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.68;
}

.faq-layout {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: clamp(50px, 8vw, 110px);
  align-items: start;
}

.faq-layout__intro {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.faq-layout__intro > p {
  max-width: 400px;
  margin: 22px 0 0;
  color: var(--text-muted);
}

.faq {
  border-top: 1px solid var(--line);
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 2px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  list-style: none;
  cursor: pointer;
}

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

.faq__item summary span {
  position: relative;
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .25s ease, border-color .25s ease;
}

.faq__item summary span::before,
.faq__item summary span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1px;
  background: var(--text-soft);
  transform: translate(-50%, -50%);
}

.faq__item summary span::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] summary span {
  border-color: rgba(198,167,123, .45);
  transform: rotate(45deg);
}

.faq__item p {
  max-width: 690px;
  margin: -4px 0 25px;
  padding-right: 54px;
  color: var(--text-muted);
  font-size: .93rem;
  line-height: 1.75;
}

/* =========================================================
   Blog cards
   ========================================================= */

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

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

.blog-grid--related {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: var(--article);
}

.blog-grid--page .pagination,
.blog-grid--page .navigation,
.blog-grid--page > .nav_pages {
  grid-column: 1 / -1;
}

.blog-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.017));
  transition: transform .3s var(--ease), border-color .25s ease, box-shadow .3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
}

.blog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}

.blog-card__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  pointer-events: none;
  background: linear-gradient(transparent, rgba(6, 6, 8, .28));
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.035);
}

.blog-card__placeholder {
  position: relative;
  display: grid;
  place-items: end start;
  width: 100%;
  height: 100%;
  padding: 24px;
  overflow: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 20%, rgba(198,167,123, .23), transparent 39%),
    radial-gradient(circle at 90% 80%, rgba(148,217,237, .12), transparent 38%),
    linear-gradient(145deg, #202529, #0b0b10);
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -.035em;
}

.blog-card__placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .38;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: linear-gradient(to bottom right, #000, transparent 80%);
  mask-image: linear-gradient(to bottom right, #000, transparent 80%);
}

.blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 23px 24px;
}

.blog-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 500;
}

.blog-card__meta > * + *::before {
  content: "·";
  margin-right: 9px;
  color: rgba(255, 255, 255, .2);
}

.blog-card__title {
  margin-bottom: 0;
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.033em;
}

.blog-card__title a {
  transition: color .2s ease;
}

.blog-card__title a:hover {
  color: var(--cyan);
}

.blog-card__text {
  flex: 1;
  color: var(--text-muted);
  font-size: .91rem;
  line-height: 1.67;
}

.blog-card__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  margin-top: 4px;
  color: var(--cyan);
  font-size: .87rem;
  font-weight: 600;
}

.blog-card--mini .blog-card__body {
  padding: 18px;
}

.blog-card--mini .blog-card__title {
  font-size: 1rem;
}

/* =========================================================
   Contact and footer
   ========================================================= */

.contact-modern {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(350px, .9fr);
  gap: clamp(42px, 7vw, 94px);
  overflow: hidden;
  padding: clamp(30px, 5vw, 62px);
  border: 1px solid rgba(198,167,123, .27);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0, rgba(148,217,237, .1), transparent 34%),
    radial-gradient(circle at 0 100%, rgba(198,167,123, .17), transparent 42%),
    linear-gradient(145deg, #15131f, #0c0c11 72%);
  box-shadow: 0 40px 100px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.04);
}

.contact-modern::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .22;
  background:
    linear-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.032) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to right, #000, transparent 75%);
  mask-image: linear-gradient(to right, #000, transparent 75%);
}

.contact-modern > * {
  position: relative;
}

.contact-modern h2 {
  margin-bottom: 19px;
  font-size: clamp(2.15rem, 4.4vw, 3.75rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -.062em;
  text-wrap: balance;
}

.contact-modern h2 em {
  font-style: normal;
  color: var(--text-muted);
}

.contact-modern__content > p {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--text-muted);
  line-height: 1.76;
}

.contact-modern__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.contact__links {
  display: grid;
  align-content: center;
  gap: 10px;
}

.contact__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: rgba(255, 255, 255, .028);
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.contact__link:not(.contact__link--static):hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, .055);
  transform: translateX(-3px);
}

.contact__link span:first-child {
  color: var(--text-faint);
  font-size: .78rem;
}

.contact__link span:last-child {
  font-size: .88rem;
  font-weight: 600;
  text-align: right;
}

.footer {
  position: relative;
  z-index: 1;
  padding: 52px 0 42px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, .08);
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, .8fr);
  align-items: end;
  gap: 45px;
}

.footer__identity p {
  max-width: 390px;
  margin: 15px 0 20px;
  color: var(--text-faint);
  font-size: .83rem;
  line-height: 1.65;
}

.footer__identity small {
  color: rgba(255,255,255,.32);
  font-size: .75rem;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}

.footer__nav a {
  color: var(--text-muted);
  font-size: .82rem;
  transition: color .2s ease;
}

.footer__nav a:hover {
  color: var(--text);
}

.footer__meta {
  justify-self: end;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: .66rem;
  line-height: 1.8;
  letter-spacing: .06em;
  text-align: right;
  text-transform: uppercase;
}

/* =========================================================
   Inner pages
   ========================================================= */

.page-wrap {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 240px);
  padding: calc(var(--header-h) + 72px) 0 112px;
}

.page-wrap::before {
  content: "";
  position: absolute;
  top: var(--header-h);
  right: 0;
  left: 0;
  height: 360px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(198,167,123, .045), transparent);
}

.page-head {
  position: relative;
  max-width: 900px;
  margin-bottom: 50px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.page-head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 110px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.page-head__title {
  max-width: 820px;
}

.page-head__desc {
  max-width: 670px;
  margin: 21px 0 0;
}

.page-content {
  position: relative;
}

.page-static {
  max-width: var(--article);
  margin-inline: auto;
}

.page-static--wide {
  max-width: none;
}

.ignore-select {
  -webkit-user-select: text;
  user-select: text;
}

.pagination__btn--prev,
.pagination__btn--next {
  min-width: auto;
}

.login-widget--user {
  min-width: 0;
}

/* =========================================================
   Articles and rich text
   ========================================================= */

.post-wrap,
.dl-post {
  max-width: var(--article);
  margin-inline: auto;
}

.post,
.dl-post {
  position: relative;
}

.post__header,
.dl-post__header {
  margin-bottom: 34px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.post__meta,
.dl-post__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-bottom: 18px;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
}

.post__meta > * + *::before,
.dl-post__meta > * + *::before {
  content: "·";
  margin-right: 16px;
  color: rgba(255,255,255,.2);
}

.post__title,
.dl-post__title {
  margin-bottom: 28px;
  font-size: clamp(2.15rem, 5vw, 4.15rem);
  font-weight: 700;
  line-height: 1.07;
  letter-spacing: -.062em;
  text-wrap: balance;
}

.post__cover,
.dl-post__cover {
  overflow: hidden;
  margin-bottom: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
}

.post__cover img,
.dl-post__cover img {
  width: 100%;
}

.post__content,
.dl-post__content,
.full-text {
  color: var(--text-soft);
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.84;
  overflow-wrap: anywhere;
}

.post__content > :first-child,
.dl-post__content > :first-child,
.full-text > :first-child {
  margin-top: 0;
}

.post__content p,
.dl-post__content p,
.full-text p {
  margin-bottom: 1.2em;
}

.post__content h2,
.post__content h3,
.post__content h4,
.dl-post__content h2,
.dl-post__content h3,
.dl-post__content h4,
.full-text h2,
.full-text h3,
.full-text h4 {
  color: var(--text);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.04em;
}

.post__content h2,
.dl-post__content h2,
.full-text h2 {
  margin: 1.65em 0 .65em;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.post__content h3,
.dl-post__content h3,
.full-text h3 {
  margin: 1.45em 0 .6em;
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
}

.post__content ul,
.post__content ol,
.dl-post__content ul,
.dl-post__content ol,
.full-text ul,
.full-text ol {
  margin: 1.1em 0 1.35em;
  padding-left: 1.35em;
}

.post__content li,
.dl-post__content li,
.full-text li {
  margin-bottom: .48em;
  padding-left: .25em;
}

.post__content li::marker,
.dl-post__content li::marker,
.full-text li::marker {
  color: var(--accent-bright);
}

.post__content a,
.dl-post__content a,
.full-text a {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(148,217,237, .35);
  text-underline-offset: 3px;
}

.post__content img,
.dl-post__content img,
.full-text img {
  margin: 1.4em auto;
  border-radius: var(--radius-sm);
}

.post__content blockquote,
.dl-post__content blockquote,
.full-text blockquote {
  margin: 1.6em 0;
  padding: 19px 21px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-soft);
  background: rgba(198,167,123, .055);
}

.post__content pre,
.dl-post__content pre,
.full-text pre {
  margin: 1.4em 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: #d8d8e2;
  background: #09090d;
  font-family: var(--mono);
  font-size: .86rem;
  line-height: 1.65;
}

.post__content code,
.dl-post__content code,
.full-text code {
  padding: .14em .38em;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #d9cbff;
  background: rgba(198,167,123, .075);
  font-family: var(--mono);
  font-size: .88em;
}

.post__content pre code,
.dl-post__content pre code,
.full-text pre code {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

.post__footer,
.dl-post__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.post__tags,
.dl-post__tags {
  color: var(--text-faint);
  font-size: .82rem;
}

.post__tags a,
.dl-post__tags a {
  display: inline-flex;
  margin: 3px 5px 3px 0;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text-muted);
  background: var(--surface-3);
}

.post__nav,
.dl-post__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.post__related,
.post__comments {
  max-width: var(--article);
  margin: 56px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.post__related-title,
.post__comments-title {
  margin-bottom: 20px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -.035em;
}

/* =========================================================
   Forms, search and system UI
   ========================================================= */

.form-page {
  max-width: 760px;
  margin-inline: auto;
}

.form-page__header {
  margin-bottom: 30px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.form-page__title {
  margin-bottom: 10px;
  font-size: clamp(2rem, 4vw, 3.15rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.055em;
}

.form-page__desc {
  max-width: 600px;
  margin-bottom: 0;
  color: var(--text-muted);
}

.form-card,
.search-msg,
.info-box,
.add-comments {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(198,167,123, .055), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.025), var(--shadow-sm);
}

.form-card {
  padding: clamp(22px, 4vw, 36px);
}

.ui-form {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-soft);
  font-size: .84rem;
  font-weight: 600;
}

.form-group--combo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.combo_field {
  min-width: 0;
}

.wide,
.ui-form input,
.ui-form textarea,
.ui-form select,
.search-simple input,
.c-captcha input {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  color: var(--text);
  background: rgba(255, 255, 255, .034);
  font-size: .95rem;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.ui-form textarea,
textarea.wide {
  min-height: 150px;
  resize: vertical;
}

.wide::placeholder,
.ui-form input::placeholder,
.ui-form textarea::placeholder {
  color: #676775;
}

.wide:focus,
.ui-form input:focus,
.ui-form textarea:focus,
.ui-form select:focus,
.search-simple input:focus,
.c-captcha input:focus {
  border-color: rgba(198,167,123, .58);
  background: rgba(255, 255, 255, .052);
  box-shadow: 0 0 0 4px rgba(198,167,123, .09);
}

.ui-form input[type="file"] {
  padding: 10px;
}

.form_submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.c-captcha {
  display: flex;
  flex: 1 1 320px;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}

.c-captcha input {
  flex: 1 1 180px;
}

.info-box {
  margin-bottom: 24px;
  padding: 17px 19px;
  border-color: rgba(148,217,237, .2);
}

.info-box__title {
  margin-bottom: 4px;
  font-weight: 600;
}

.info-box__text,
.search-msg {
  color: var(--text-muted);
}

.search-simple {
  display: grid;
  gap: 14px;
}

.search-msg {
  margin-top: 18px;
  padding: 16px 18px;
}

.add-comments {
  margin-bottom: 28px;
  padding: 24px;
}

.add-comments__title {
  margin-bottom: 16px;
  font-size: 1.12rem;
  font-weight: 700;
}

.comments-list {
  margin-top: 14px;
}

.comment {
  display: flex;
  gap: 14px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.comment__avatar {
  width: 44px;
  height: 44px;
  overflow: hidden;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg-elevated);
}

.comment__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comment__body {
  min-width: 0;
  flex: 1;
}

.comment__head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 5px;
}

.comment__author {
  font-weight: 600;
}

.comment__date {
  color: var(--text-faint);
  font-size: .78rem;
}

.comment__text {
  color: var(--text-muted);
  overflow-wrap: anywhere;
}

.comment__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  color: var(--text-faint);
  font-size: .82rem;
}

.comment__reply {
  color: var(--cyan);
  font-weight: 600;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 34px;
}

.pagination a,
.pagination span,
.pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text-muted);
  background: var(--surface-3);
  font-size: .88rem;
  font-weight: 600;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.pagination a:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: var(--surface-hover);
}

.pagination b,
.pagination .nav_ext {
  color: #e0d7ff;
  border-color: var(--line-accent);
  background: rgba(198,167,123, .14);
}

.login-widget {
  position: relative;
}

.login-widget__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-3);
  font-size: .83rem;
  font-weight: 600;
}

.login-widget__btn--ghost {
  color: var(--text-muted);
}

.login-widget__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--bg-elevated);
  background-position: center;
  background-size: cover;
}

.login-widget__name {
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-widget__pm {
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  color: #fff;
  background: var(--accent);
  font-size: .66rem;
  font-weight: 600;
}

.login-widget__drop {
  display: grid;
  visibility: hidden;
  position: absolute;
  top: calc(100% + 9px);
  right: 0;
  z-index: 50;
  min-width: 200px;
  gap: 2px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 15px;
  opacity: 0;
  background: rgba(13, 13, 18, .98);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.login-widget:hover .login-widget__drop,
.login-widget:focus-within .login-widget__drop {
  visibility: visible;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.login-widget__drop a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 500;
}

.login-widget__drop a:hover {
  color: var(--text);
  background: var(--surface-hover);
}

/* Compatibility helpers from the previous template */
.about__grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
}

.about__card,
.stat,
.step,
.contact {
  padding: 26px;
}

.about__card p,
.step p,
.stat span,
.contact p {
  color: var(--text-muted);
}

.about__stats {
  display: grid;
  gap: 13px;
}

.stat strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -.04em;
}

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

.step__num {
  margin-bottom: 13px;
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: .72rem;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 36px;
}

/* =========================================================
   Download pages
   ========================================================= */

.dl-download {
  margin: 0 0 34px;
  padding: 22px;
  border: 1px solid rgba(52, 211, 153, .22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(148,217,237, .09), transparent 42%),
    linear-gradient(145deg, rgba(52, 211, 153, .07), rgba(255, 255, 255, .018));
}

.dl-download__btn {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 17px 20px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #0d9488);
  box-shadow: 0 16px 38px rgba(16, 185, 129, .28);
  font-weight: 700;
  transition: transform .2s var(--ease), box-shadow .2s ease;
}

.dl-download__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(16, 185, 129, .38);
}

.dl-download__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
}

.dl-download__text {
  display: grid;
  gap: 2px;
  text-align: left;
}

.dl-download__label {
  font-size: 1.08rem;
  letter-spacing: -.02em;
}

.dl-download__size {
  opacity: .8;
  font-size: .82rem;
  font-weight: 500;
}

.dl-download__info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.dl-chip {
  display: inline-flex;
  padding: 6px 10px;
  border: 1px solid rgba(52, 211, 153, .2);
  border-radius: 999px;
  color: #a7f3d0;
  background: rgba(52, 211, 153, .09);
  font-size: .75rem;
  font-weight: 600;
}

.dl-demo {
  margin: 22px 0 8px;
}

.dl-card {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.017));
  transition: transform .3s var(--ease), border-color .25s ease, box-shadow .3s ease;
}

.dl-card:hover {
  transform: translateY(-5px);
  border-color: rgba(52, 211, 153, .3);
  box-shadow: var(--shadow-md);
}

.dl-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated);
}

.dl-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dl-card__placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #6ee7b7;
  background:
    radial-gradient(circle at 40% 30%, rgba(16, 185, 129, .18), transparent 55%),
    linear-gradient(145deg, #131a18, #0b0f0e);
}

.dl-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #10b981, #0d9488);
  box-shadow: 0 7px 18px rgba(16, 185, 129, .28);
  font-size: .7rem;
  font-weight: 700;
}

.dl-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 20px 21px 22px;
}

.dl-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: .66rem;
}

.dl-card__title {
  margin-bottom: 0;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -.03em;
}

.dl-card__title a:hover {
  color: #6ee7b7;
}

.dl-card__text {
  flex: 1;
  color: var(--text-muted);
  font-size: .89rem;
}

.dl-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
}

.dl-card__more {
  color: #5eead4;
  font-size: .86rem;
  font-weight: 600;
}

.dl-card__size {
  color: var(--text-faint);
  font-size: .75rem;
}

/* =========================================================
   Pricing page
   ========================================================= */

.price-page {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  font-size: 16px;
  line-height: 1.6;
}

.price-page__hero {
  position: relative;
  max-width: 900px;
  margin: 0 auto 76px;
  text-align: center;
}

.price-page__hero::after {
  content: "";
  display: block;
  width: 120px;
  height: 1px;
  margin: 34px auto 0;
  background: linear-gradient(90deg, transparent, var(--accent), var(--cyan), transparent);
}

.price-page__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 31px;
  margin-bottom: 21px;
  padding: 6px 13px;
  border: 1px solid var(--line-accent);
  border-radius: 999px;
  color: #ddd2ff;
  background: rgba(198,167,123, .11);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.price-page__title {
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 5.8vw, 4.85rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.066em;
  text-wrap: balance;
}

.price-page__title span {
  color: transparent;
  background: linear-gradient(120deg, #b9a6ff, var(--cyan) 55%, #e69bc8);
  -webkit-background-clip: text;
  background-clip: text;
}

.price-page__lead {
  max-width: 700px;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.74;
}

.price-section {
  margin-bottom: 86px;
}

.price-section:last-of-type {
  margin-bottom: 60px;
}

.price-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.price-section__head > div {
  min-width: 0;
}

.price-section__number {
  margin-bottom: 8px;
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .11em;
}

.price-section__head h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.045em;
}

.price-section__head > p {
  max-width: 460px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.65;
}

.price-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.price-service {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  flex-direction: column;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .016));
  transition: transform .28s var(--ease), border-color .24s ease, box-shadow .28s ease;
}

.price-service::after {
  content: "";
  position: absolute;
  right: -30%;
  bottom: -35%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: .06;
  background: var(--accent);
  filter: blur(35px);
  pointer-events: none;
}

.price-service:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.price-service--featured {
  border-color: rgba(198,167,123, .3);
  background:
    radial-gradient(circle at 90% 0, rgba(198,167,123, .13), transparent 38%),
    linear-gradient(160deg, rgba(198,167,123, .07), rgba(255, 255, 255, .018));
}

.price-service__content {
  position: relative;
  z-index: 1;
  flex: 1;
}

.price-service h3 {
  margin-bottom: 9px;
  font-size: 1.16rem;
  font-weight: 700;
  letter-spacing: -.032em;
}

.price-service p {
  margin-bottom: 19px;
  color: var(--text-muted);
  font-size: .87rem;
  line-height: 1.62;
}

.price-service ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-service li {
  position: relative;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.5;
}

.price-service li::before {
  content: "";
  position: absolute;
  top: .58em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-bright), var(--cyan));
}

.price-service__bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  margin-top: 25px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.price-service__bottom strong {
  font-size: 1.18rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -.04em;
}

.price-service__bottom span {
  color: var(--text-faint);
  font-size: .68rem;
  line-height: 1.4;
  text-align: right;
}

.price-extra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.price-extra__card {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .02);
}

.price-extra__card h3 {
  margin-bottom: 14px;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -.03em;
}

.price-extra__card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-extra__card li {
  position: relative;
  padding-left: 17px;
  color: var(--text-muted);
  font-size: .86rem;
}

.price-extra__card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--cyan);
}

.price-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 31px 34px;
  border: 1px solid rgba(198,167,123, .28);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 100% 0, rgba(148,217,237, .1), transparent 40%),
    radial-gradient(circle at 0 100%, rgba(198,167,123, .14), transparent 44%),
    linear-gradient(145deg, rgba(255,255,255,.038), rgba(255,255,255,.018));
}

.price-cta h2 {
  margin-bottom: 6px;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -.04em;
}

.price-cta p {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--text-muted);
  font-size: .91rem;
}

/* Legacy three-card pricing support */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.price-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.017));
}

.price-card--featured {
  border-color: rgba(198,167,123,.34);
  background: radial-gradient(circle at 50% -10%, rgba(198,167,123,.2), transparent 55%), linear-gradient(160deg, rgba(198,167,123,.07), rgba(255,255,255,.017));
}

.price-card__ribbon {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #d946ef);
  font-size: .65rem;
  font-weight: 700;
}

.price-card__top { padding-right: 58px; }
.price-card__name { margin-bottom: 7px; font-size: 1.25rem; font-weight: 700; }
.price-card__desc { min-height: 2.8em; color: var(--text-muted); font-size: .9rem; }
.price-card__price { display: flex; align-items: flex-end; gap: 6px; margin: 22px 0 4px; }
.price-card__value { font-size: clamp(2.15rem, 3vw, 2.65rem); font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.price-card__currency { padding-bottom: 4px; color: var(--text-muted); font-size: 1.1rem; font-weight: 600; }
.price-card__note { margin-bottom: 20px; color: var(--text-faint); font-size: .8rem; }
.price-card__list { display: grid; flex: 1; gap: 9px; margin: 0 0 24px; padding: 0; list-style: none; }
.price-card__list li { position: relative; padding-left: 21px; color: var(--text-muted); font-size: .87rem; }
.price-card__list li::before { content: ""; position: absolute; top: .55em; left: 0; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--cyan)); }
.price-card__btn { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 13px 17px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface-3); font-size: .9rem; font-weight: 600; }
.price-card__btn--primary { color: #fff; border-color: transparent; background: linear-gradient(135deg, var(--accent), var(--accent-dark)); box-shadow: var(--shadow-accent); }

/* =========================================================
   Reveal animation
   ========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .62s var(--ease), transform .62s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1140px) {
  .nav a {
    padding-inline: 9px;
    font-size: .81rem;
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 48px;
  }

  .hero h1 {
    font-size: clamp(3rem, 6vw, 4.75rem);
  }

  .service-card--large { grid-column: span 7; }
  .service-card--accent { grid-column: span 5; }

  .footer__inner {
    grid-template-columns: 1fr auto;
  }

  .footer__meta {
    grid-column: 1 / -1;
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: grid; }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 52px);
  }

  .hero__layout {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero__content {
    max-width: 860px;
  }

  .hero__visual {
    min-height: 500px;
  }

  .hero-panel {
    width: min(100%, 590px);
    transform: none;
    animation: none;
  }

  .expertise-strip__inner {
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px 24px;
    padding: 20px 0;
  }

  .section__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }

  .section__desc {
    max-width: 700px;
  }

  .work,
  .work:nth-child(n) {
    grid-column: span 6;
  }

  .service-card,
  .service-card--large,
  .service-card--accent {
    grid-column: span 6;
    min-height: 330px;
  }

  .service-card--large {
    grid-row: auto;
  }

  .service-card--wide {
    grid-column: span 12;
  }

  .value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .value-card:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .value-card:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .about-modern {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .process-timeline {
    grid-template-columns: 1fr 1fr;
    gap: 34px 28px;
  }

  .process-timeline::before {
    display: none;
  }

  .process-item {
    min-height: 220px;
    padding: 0 !important;
  }

  .process-item:nth-child(3),
  .process-item:nth-child(4) {
    padding-top: 30px !important;
    border-top: 1px solid var(--line);
  }

  .process-item::before {
    top: 2px;
  }

  .process-item__num {
    margin-bottom: 42px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .faq-layout__intro {
    position: static;
  }

  .contact-modern {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .blog-grid,
  .blog-grid--page {
    grid-template-columns: 1fr 1fr;
  }

  .blog-grid--related {
    grid-template-columns: 1fr;
  }

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

  .price-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .about__grid,
  .contact {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  :root {
    --header-h: 68px;
  }

  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .home-section {
    padding: 76px 0;
  }

  .home-section--compact {
    padding-block: 64px;
  }

  .home-section--contact {
    padding-top: 58px;
    padding-bottom: 78px;
  }

  .hero {
    padding: calc(var(--header-h) + 40px) 0 64px;
  }

  .hero__layout {
    gap: 44px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 3.75rem);
    line-height: 1.01;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .hero__actions .btn {
    flex: 1 1 210px;
  }

  .hero__meta {
    grid-template-columns: 1fr;
    padding-top: 10px;
  }

  .hero__meta div {
    padding: 13px 0;
  }

  .hero__meta div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero__visual {
    min-height: 410px;
  }

  .hero-panel {
    min-height: 425px;
    border-radius: 24px;
  }

  .hero-panel__main {
    padding: 31px 21px 21px;
  }

  .hero-panel__metrics {
    padding-inline: 13px;
    gap: 6px;
  }

  .hero-panel__metrics div {
    padding: 11px 9px;
  }

  .hero-panel__code {
    margin-inline: 13px;
    padding: 14px;
  }

  .hero-panel__code span {
    grid-template-columns: 22px 68px 1fr;
    gap: 6px;
    font-size: .56rem;
  }

  .expertise-strip__inner {
    gap: 10px 18px;
    font-size: .65rem;
  }

  .expertise-strip__inner i {
    display: none;
  }

  .section__title,
  .page-head__title {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .section__intro {
    font-size: .93rem;
  }

  .filters {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter {
    flex: 0 0 auto;
  }

  .works {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .work,
  .work:nth-child(n) {
    grid-column: auto;
    border-radius: 22px;
  }

  .work__body {
    padding: 21px;
  }

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

  .service-card,
  .service-card--large,
  .service-card--accent,
  .service-card--wide {
    grid-column: auto;
    min-height: auto;
    padding: 24px;
  }

  .service-card--large {
    min-height: 390px;
  }

  .service-card--wide {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-card h3 {
    font-size: 1.45rem;
  }

  .service-card__signal {
    width: 100%;
    height: 58px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  .value-card {
    min-height: auto;
    padding: 26px 23px;
  }

  .value-card + .value-card {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .value-card > span {
    margin-bottom: 30px;
  }

  .about-modern {
    padding: 28px 22px;
    border-radius: 26px;
  }

  .about-modern__facts {
    grid-template-columns: 1fr 1fr;
  }

  .fact-card {
    min-height: 138px;
    padding: 17px;
  }

  .fact-card strong {
    font-size: 1.3rem;
  }

  .process-timeline {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .process-item,
  .process-item:nth-child(n) {
    min-height: auto;
    padding: 25px 0 !important;
    border-top: 1px solid var(--line);
  }

  .process-item::before {
    top: 27px;
  }

  .process-item__num {
    margin-bottom: 23px;
    margin-left: 27px;
  }

  .faq__item summary {
    padding: 21px 2px;
    font-size: .94rem;
  }

  .faq__item p {
    padding-right: 26px;
    font-size: .89rem;
  }

  .blog-grid,
  .blog-grid--page {
    grid-template-columns: 1fr;
  }

  .contact-modern {
    padding: 29px 22px;
    border-radius: 26px;
  }

  .contact-modern h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  .contact-modern__actions .btn {
    width: 100%;
  }

  .contact__link {
    padding: 15px;
  }

  .contact__link span:last-child {
    font-size: .79rem;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 30px;
  }

  .footer__meta {
    grid-column: auto;
  }

  .page-wrap {
    padding: calc(var(--header-h) + 48px) 0 76px;
  }

  .page-head {
    margin-bottom: 34px;
    padding-bottom: 27px;
  }

  .post__title,
  .dl-post__title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .post__meta > * + *::before,
  .dl-post__meta > * + *::before {
    display: none;
  }

  .form-group--combo {
    grid-template-columns: 1fr;
  }

  .form-card,
  .add-comments {
    padding: 21px;
    border-radius: 22px;
  }

  .form_submit .btn {
    width: 100%;
  }

  .post__footer,
  .dl-post__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .post__nav,
  .dl-post__nav {
    width: 100%;
  }

  .post__nav .btn,
  .dl-post__nav .btn {
    flex: 1 1 180px;
  }

  .price-page__hero {
    margin-bottom: 54px;
  }

  .price-section {
    margin-bottom: 64px;
  }

  .price-section__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .price-section__head > p {
    max-width: none;
  }

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

  .price-service {
    padding: 22px 20px;
  }

  .price-extra {
    grid-template-columns: 1fr;
  }

  .price-cta {
    align-items: stretch;
    flex-direction: column;
    padding: 25px 22px;
  }

  .price-cta .btn {
    width: 100%;
  }

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

  .orb {
    filter: blur(72px);
    animation: none;
  }

  .bg-grid {
    background-size: 48px 48px;
  }

  .work:hover,
  .blog-card:hover,
  .dl-card:hover,
  .service-card:hover,
  .price-service:hover,
  .btn--primary:hover,
  .btn--ghost:hover,
  .dl-download__btn:hover {
    transform: none;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(calc(100% - 20px), var(--container));
  }

  .logo {
    font-size: 1.22rem;
  }

  .header__inner {
    gap: 8px;
  }

  .login-widget__name {
    display: none;
  }

  .hero h1 {
    font-size: 2.42rem;
  }

  .hero__actions .btn {
    width: 100%;
    flex-basis: 100%;
  }

  .hero-panel__top {
    grid-template-columns: 1fr auto;
  }

  .hero-panel__top > span {
    display: none;
  }

  .hero-panel__metrics {
    grid-template-columns: 1fr 1fr;
  }

  .hero-panel__metrics div:nth-child(3) {
    grid-column: 1 / -1;
  }

  .hero-panel__code span {
    grid-template-columns: 20px 1fr;
  }

  .hero-panel__code span b {
    grid-column: 2;
  }

  .about-modern__facts {
    grid-template-columns: 1fr;
  }

  .fact-card {
    min-height: 120px;
  }

  .contact__link {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .contact__link span:last-child {
    text-align: left;
  }

  .footer__nav {
    grid-template-columns: 1fr 1fr;
  }

  .comment {
    gap: 10px;
  }

  .comment__avatar {
    width: 38px;
    height: 38px;
  }

  .price-page__title {
    font-size: 2.35rem;
  }

  .price-service__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .price-service__bottom span {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* =========================================================
   Premium motion layer — progressive enhancement, 2026
   Native CSS/JS only. No animation framework or runtime dependency.
   ========================================================= */

/* Cross-document transitions for supported same-origin navigations. */
@view-transition {
  navigation: none;
}

::view-transition-old(root) {
  animation: premium-page-out .22s ease both;
}

::view-transition-new(root) {
  animation: premium-page-in .42s var(--ease) both;
}

@keyframes premium-page-out {
  to { opacity: 0; transform: scale(.992); }
}

@keyframes premium-page-in {
  from { opacity: 0; transform: translateY(8px) scale(.996); }
}

/* Thin visual feedback while scrolling. JS fallback works everywhere. */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 220;
  height: 2px;
  overflow: hidden;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--accent), var(--cyan), var(--pink));
  box-shadow: 0 0 18px rgba(148,217,237, .48);
  will-change: transform;
}

/* Let the browser skip below-the-fold rendering without removing content
   from search, accessibility, tab order, or find-in-page. */
.home-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 860px;
}

.footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}

/* Current section in the desktop navigation. */
.nav a.is-current:not(.nav__cta) {
  color: var(--text);
  background: rgba(255, 255, 255, .065);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .045);
}

/* Magnetic movement is deliberately restrained. */
[data-magnetic] {
  transform: translate3d(var(--mag-x, 0), var(--mag-y, 0), 0);
  will-change: transform;
}

[data-magnetic]:hover {
  transform: translate3d(var(--mag-x, 0), calc(var(--mag-y, 0) - 2px), 0);
}

/* Interactive light follows the pointer only while a card is hovered. */
:where(.work, .service-card, .value-card, .fact-card, .contact-modern, .blog-card, .price-card)[data-spotlight] {
  isolation: isolate;
}

:where(.work, .service-card, .value-card, .fact-card, .contact-modern, .blog-card, .price-card)[data-spotlight]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(360px circle at var(--spot-x, 50%) var(--spot-y, 50%), rgba(230,206,170, .13), rgba(148,217,237, .045) 28%, transparent 67%);
  transition: opacity .28s ease;
}

:where(.work, .service-card, .value-card, .fact-card, .contact-modern, .blog-card, .price-card)[data-spotlight]:hover::after {
  opacity: 1;
}

:where(.work, .service-card, .value-card, .fact-card, .contact-modern, .blog-card, .price-card)[data-spotlight] > * {
  position: relative;
  z-index: 1;
}

/* Pointer aura is inserted only for precise pointers and normal motion mode. */
.pointer-aura {
  position: fixed;
  top: -180px;
  left: -180px;
  z-index: 0;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  opacity: .12;
  pointer-events: none;
  background: radial-gradient(circle, rgba(198,167,123, .58), rgba(148,217,237, .16) 34%, transparent 70%);
  will-change: transform;
}

/* Current hero visual is handled by the compact Signal scene below. */
.hero__visual { isolation: isolate; }

/* Project filtering gets an elegant state transition without a framework. */
.work {
  view-transition-name: match-element;
  animation: work-enter .52s var(--ease) both;
  animation-delay: var(--work-delay, 0ms);
}

@keyframes work-enter {
  from { opacity: 0; transform: translateY(14px) scale(.988); }
  to { opacity: 1; transform: none; }
}

.work__browser {
  transition: transform .55s var(--ease), box-shadow .55s var(--ease);
}

.work:hover .work__browser {
  transform: translate3d(0, -5px, 0) scale(1.012);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .3);
}

.work__mock-orb {
  animation: mock-orb-pulse 5.5s var(--ease) infinite;
}

@keyframes mock-orb-pulse {
  0%, 100% { transform: scale(1); opacity: .82; }
  50% { transform: scale(1.08); opacity: 1; }
}

/* Live service signal, paused by the browser when the section is skipped. */
.service-card__signal span {
  transform-origin: center bottom;
  animation: signal-live 2.2s ease-in-out infinite alternate;
}

.service-card__signal span:nth-child(2) { animation-delay: -.6s; }
.service-card__signal span:nth-child(3) { animation-delay: -1.2s; }
.service-card__signal span:nth-child(4) { animation-delay: -.25s; }
.service-card__signal span:nth-child(5) { animation-delay: -.9s; }

@keyframes signal-live {
  from { transform: scaleY(.76); opacity: .58; }
  to { transform: scaleY(1); opacity: 1; }
}

/* Modern scroll-linked enhancement. Unsupported browsers simply ignore it. */
@supports (animation-timeline: view()) {
  .home-section .section__heading,
  .faq-layout__intro {
    animation: section-depth linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 34%;
  }

  @keyframes section-depth {
    from { opacity: .46; transform: translate3d(0, 18px, 0); }
    to { opacity: 1; transform: none; }
  }

  .bg-grid {
    animation: grid-drift linear both;
    animation-timeline: scroll(root block);
  }

  @keyframes grid-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, -90px, 0); }
  }
}

/* Transition FAQ content using discrete-state support where available. */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }

  .faq__item::details-content {
    height: 0;
    overflow: clip;
    opacity: 0;
    transition: height .34s var(--ease), opacity .24s ease, content-visibility .34s allow-discrete;
  }

  .faq__item[open]::details-content {
    height: auto;
    opacity: 1;
  }
}

@media (max-width: 1140px) {
  .hero-float--performance { right: 0; }
  .hero-float--stack { left: 0; }
}

@media (max-width: 980px) {
  .hero-float--performance { top: 5%; right: 4%; }
  .hero-float--stack { bottom: 6%; left: 4%; }
  .pointer-aura { display: none; }
}

@media (max-width: 700px) {
  .hero-float {
    min-width: 132px;
    padding: 10px 12px;
    border-radius: 13px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .hero-float--performance { top: 1%; right: 0; }
  .hero-float--stack { bottom: 1%; left: 0; }

  .hero-float span { font-size: .51rem; }
  .hero-float strong { font-size: .66rem; }

  [data-magnetic],
  [data-magnetic]:hover {
    transform: none;
    will-change: auto;
  }

  :where(.work, .service-card, .value-card, .fact-card, .contact-modern, .blog-card, .price-card)[data-spotlight]::after {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero-float--performance { right: -4px; }
  .hero-float--stack { left: -4px; }
}

@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }

  .hero-float,
  .hero-panel::after,
  .work,
  .work__mock-orb,
  .service-card__signal span {
    animation: none !important;
  }

  .pointer-aura,
  .scroll-progress {
    display: none;
  }

  [data-magnetic],
  [data-magnetic]:hover {
    transform: none;
  }
}

/* Containing blocks for cursor light. */
:where(.work, .value-card, .fact-card, .blog-card, .price-card)[data-spotlight] {
  position: relative;
  overflow: hidden;
}

/* =========================================================
   StasWeb Signal Experience V3 Compact
   Compact premium scene with strict performance limits.
   ========================================================= */

.hero--signal {
  position: relative;
  z-index: 1;
  display: block;
  min-height: 0;
  padding: clamp(118px, 13vh, 154px) 0 clamp(72px, 9vh, 104px);
  overflow: clip;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 40%, rgba(65, 177, 255, .11), transparent 23%),
    radial-gradient(circle at 70% 66%, rgba(103, 96, 255, .07), transparent 27%),
    linear-gradient(180deg, #111315 0%, #070a11 62%, #080b12 100%);
}

.hero--signal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(circle at 72% 48%, #000 0 16%, transparent 62%);
  mask-image: radial-gradient(circle at 72% 48%, #000 0 16%, transparent 62%);
  opacity: .6;
}

.hero--signal .hero__layout {
  position: relative;
  z-index: 2;
  grid-template-columns: minmax(0, 1.05fr) minmax(400px, .95fr);
  gap: clamp(40px, 6vw, 84px);
  align-items: center;
}

.hero--signal .hero__content {
  max-width: 700px;
}

.hero--signal .hero__badge {
  margin-bottom: 22px;
}

.hero--signal h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 5.7vw, 5.15rem);
  line-height: .98;
}

.hero--signal .hero__lead {
  max-width: 570px;
  margin-bottom: 28px;
  font-size: clamp(1rem, 1.28vw, 1.13rem);
  line-height: 1.62;
}

.hero--signal .hero__actions {
  margin-bottom: 30px;
}

.hero--signal .hero__meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 380px;
  padding-top: 18px;
}

.hero--signal .hero__meta div {
  padding-right: 18px;
}

.hero--signal .hero__meta div + div {
  padding-left: 20px;
}

.hero--signal .hero__meta strong {
  font-size: 1.17rem;
}

.hero--signal .hero__meta span {
  font-size: .76rem;
}

.studio-stage {
  position: relative;
  z-index: 2;
  display: block;
  width: min(42vw, 520px);
  aspect-ratio: 1;
  min-height: 0;
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .085);
  border-radius: clamp(28px, 4vw, 42px);
  background:
    radial-gradient(circle at 50% 46%, rgba(68, 188, 255, .13), transparent 24%),
    radial-gradient(circle at 78% 20%, rgba(107, 101, 255, .08), transparent 23%),
    linear-gradient(155deg, rgba(15, 21, 32, .9), rgba(7, 11, 18, .96));
  box-shadow:
    0 34px 90px rgba(0, 0, 0, .42),
    inset 0 1px 0 rgba(255, 255, 255, .04),
    inset 0 0 80px rgba(67, 178, 255, .035);
  contain: layout paint size;
  transform: translateZ(0);
}

.studio-stage::before,
.studio-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.studio-stage::before {
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(255,255,255,.055), transparent 22%),
    radial-gradient(circle at 50% 50%, transparent 38%, rgba(4,7,12,.58) 100%);
}

.studio-stage::after {
  inset: 1px;
  z-index: 5;
  border-radius: inherit;
  border: 1px solid rgba(255,255,255,.025);
}

.studio-canvas,
.studio-bg,
.studio-glow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.studio-canvas {
  z-index: 0;
  display: block;
}

.studio-bg {
  z-index: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(65, 186, 255, .11), transparent 24%),
    radial-gradient(circle at 62% 38%, rgba(117, 92, 255, .07), transparent 30%);
  filter: blur(14px);
}

.studio-glow {
  z-index: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,.04), transparent 18%);
  mix-blend-mode: screen;
}

.studio-ring,
.studio-core {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.studio-core {
  z-index: 2;
  width: 31%;
  aspect-ratio: 1;
  border: 1px solid rgba(132, 205, 255, .24);
  background:
    radial-gradient(circle at 34% 28%, rgba(255,255,255,.92), transparent 9%),
    radial-gradient(circle at 52% 52%, #20476c 0, #102941 36%, #081725 72%, #050b12 100%);
  box-shadow:
    0 0 56px rgba(73, 204, 255, .12),
    0 0 105px rgba(87, 111, 255, .09),
    inset -30px -22px 48px rgba(0,0,0,.55),
    inset 10px 8px 24px rgba(255,255,255,.04);
}

.studio-core::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: conic-gradient(from 10deg, rgba(78,224,255,.04), rgba(78,224,255,.2) 14%, transparent 31%, rgba(101,121,255,.15) 48%, transparent 65%, rgba(141,98,255,.12) 82%, rgba(78,224,255,.04));
  filter: blur(4px);
  animation: studio-core-spin 18s linear infinite;
}

.studio-ring {
  z-index: 1;
  border: 1px solid rgba(255,255,255,.07);
  box-shadow: inset 0 0 20px rgba(65,198,255,.025);
}

.studio-ring--outer {
  width: 82%;
  height: 57%;
  transform: translate(-50%, -50%) rotate(12deg);
  animation: studio-ring-one 34s linear infinite;
}

.studio-ring--inner {
  width: 64%;
  height: 44%;
  border-color: rgba(78,157,255,.1);
  transform: translate(-50%, -50%) rotate(-15deg);
  animation: studio-ring-two 26s linear infinite reverse;
}

.studio-node,
.studio-hud,
.studio-data-card {
  position: absolute;
  z-index: 4;
}

.studio-node {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color: rgba(230,239,255,.88);
  background: rgba(11,16,25,.82);
  box-shadow: 0 12px 30px rgba(0,0,0,.24);
  font-family: var(--mono);
  font-size: .49rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.studio-node i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #63ddff;
  box-shadow: 0 0 10px rgba(99,221,255,.65);
}

.studio-node--one { top: 18%; left: 7%; }
.studio-node--two { top: 17%; right: 7%; }
.studio-node--three { right: 6%; bottom: 20%; }
.studio-node--four { bottom: 17%; left: 7%; }

.studio-hud,
.studio-data-card {
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 14px;
  background: rgba(10,15,24,.84);
  box-shadow: 0 14px 36px rgba(0,0,0,.28);
}

.studio-hud {
  top: 5%;
  left: 50%;
  min-width: 218px;
  padding: 10px 13px;
  transform: translateX(-50%);
  text-align: center;
}

.studio-hud span,
.studio-data-card span {
  display: block;
  margin-bottom: 4px;
  color: #8998b6;
  font-family: var(--mono);
  font-size: .46rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.studio-hud strong,
.studio-data-card strong {
  display: block;
  color: #eef6ff;
  font-size: .63rem;
  font-weight: 600;
  letter-spacing: .055em;
}

.studio-data-card {
  left: 50%;
  bottom: 5%;
  width: 158px;
  padding: 10px 12px;
  transform: translateX(-50%);
}

.studio-data-card__bars {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 27px;
  margin-top: 9px;
}

.studio-data-card__bars i {
  flex: 1;
  height: var(--bar, 50%);
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, #65e2ff, #526cff);
  transform-origin: bottom;
  animation: studio-bars 3.6s ease-in-out infinite alternate;
}

.studio-low-power .studio-core::before,
.studio-low-power .studio-ring,
.studio-low-power .studio-data-card__bars i {
  animation: none;
}

@keyframes studio-core-spin {
  to { transform: rotate(360deg); }
}

@keyframes studio-ring-one {
  to { transform: translate(-50%, -50%) rotate(372deg); }
}

@keyframes studio-ring-two {
  to { transform: translate(-50%, -50%) rotate(-375deg); }
}

@keyframes studio-bars {
  to { transform: scaleY(.74); opacity: .76; }
}

@media (max-width: 1120px) {
  .hero--signal .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
    gap: 34px;
  }

  .studio-stage {
    width: min(44vw, 480px);
  }
}

@media (max-width: 980px) {
  .hero--signal {
    padding: calc(var(--header-h) + 38px) 0 70px;
  }

  .hero--signal .hero__layout {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero--signal .hero__content {
    max-width: 720px;
  }

  .studio-stage {
    width: min(82vw, 500px);
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .hero--signal {
    padding-top: calc(var(--header-h) + 24px);
  }

  .hero--signal h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero--signal .hero__lead {
    max-width: 520px;
  }

  .studio-stage {
    width: min(92vw, 430px);
    border-radius: 28px;
  }

  .studio-node {
    padding: 6px 8px;
    font-size: .58rem;
  }

  .studio-hud {
    min-width: 176px;
  }
}

@media (max-width: 430px) {
  .hero--signal .hero__meta {
    max-width: 100%;
  }

  .studio-stage {
    width: min(94vw, 350px);
  }

  .studio-node--three,
  .studio-node--four,
  .studio-data-card {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .studio-core::before,
  .studio-ring,
  .studio-data-card__bars i {
    animation: none !important;
  }
}

/* Header stability on medium desktop widths. */
@media (max-width: 1160px) and (min-width: 981px) {
  .header__inner { gap: 10px; }
  .nav a { padding-inline: 8px; font-size: .81rem; }
  .nav__cta { margin-left: 3px; padding-inline: 13px !important; }
  .login-widget__name { display: none; }
}

/* Compact hero safeguards against legacy mobile hero rules. */
@media (max-width: 700px) {
  .hero--signal .hero__meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 16px;
  }

  .hero--signal .hero__meta div {
    padding: 0 14px 0 0;
  }

  .hero--signal .hero__meta div + div {
    padding: 0 0 0 16px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}
/* =========================================================
   Article CTA + FAQ
   StasWeb Journal
   ========================================================= */

/* ---------- CTA: реклама приводит людей ---------- */

.post__content .article-cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 36px;
	margin: 56px 0;
	padding: clamp(28px, 5vw, 52px);
	overflow: hidden;
	border: 1px solid rgba(124, 139, 255, 0.18);
	border-radius: 28px;
	background:
		radial-gradient(
			circle at 100% 0%,
			rgba(111, 76, 255, 0.22),
			transparent 38%
		),
		radial-gradient(
			circle at 0% 100%,
			rgba(148,217,237, 0.12),
			transparent 36%
		),
		linear-gradient(
			145deg,
			rgba(18, 22, 35, 0.98),
			rgba(8, 10, 18, 0.98)
		);
	box-shadow:
		0 32px 90px rgba(0, 0, 0, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.055);
	isolation: isolate;
}

.post__content .article-cta::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -140px;
	right: -100px;
	width: 340px;
	height: 340px;
	border-radius: 50%;
	background: rgba(116, 87, 246, 0.19);
	filter: blur(70px);
	pointer-events: none;
}

.post__content .article-cta::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		linear-gradient(
			115deg,
			rgba(255, 255, 255, 0.04),
			transparent 30%
		);
	pointer-events: none;
}

.post__content .article-cta__content {
	position: relative;
	z-index: 1;
	max-width: 660px;
}

.post__content .article-cta__label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 18px;
	padding: 7px 12px;
	border: 1px solid rgba(148,217,237, 0.2);
	border-radius: 999px;
	color: #76e9ff;
	background: rgba(148,217,237, 0.07);
	font-family: var(--mono, monospace);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.post__content .article-cta__label::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 12px currentColor;
}

.post__content .article-cta h2 {
	max-width: 700px;
	margin: 0 0 16px;
	padding: 0;
	color: #f7f8ff;
	font-size: clamp(26px, 3.5vw, 42px);
	font-weight: 700;
	line-height: 1.12;
	letter-spacing: -0.045em;
	text-wrap: balance;
}

.post__content .article-cta p {
	max-width: 650px;
	margin: 0;
	color: #aeb5c8;
	font-size: 16px;
	line-height: 1.75;
}

.post__content .article-cta__actions {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 12px;
	min-width: 190px;
}

.post__content .article-cta__actions .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 48px;
	margin: 0;
	padding: 12px 20px;
	white-space: nowrap;
	text-decoration: none;
}

.post__content .article-cta__actions .btn--primary {
	color: #fff;
	border: 1px solid rgba(174, 153, 255, 0.3);
	background:
		linear-gradient(135deg, #7957f6, #5278f5);
	box-shadow:
		0 16px 38px rgba(92, 78, 230, 0.26),
		inset 0 1px 0 rgba(255, 255, 255, 0.17);
}

.post__content .article-cta__actions .btn--primary:hover {
	transform: translateY(-2px);
	box-shadow:
		0 20px 46px rgba(92, 78, 230, 0.34),
		inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.post__content .article-cta__actions .btn--ghost {
	color: #dfe5f5;
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.035);
}

.post__content .article-cta__actions .btn--ghost:hover {
	color: #fff;
	border-color: rgba(111, 210, 255, 0.22);
	background: rgba(111, 210, 255, 0.07);
}


/* ---------- FAQ ---------- */

.post__content .article-faq {
	position: relative;
	margin: 64px 0 48px;
	padding: clamp(24px, 4vw, 42px);
	border: 1px solid rgba(255, 255, 255, 0.075);
	border-radius: 28px;
	background:
		radial-gradient(
			circle at 100% 0%,
			rgba(89, 75, 190, 0.11),
			transparent 32%
		),
		linear-gradient(
			180deg,
			rgba(16, 19, 29, 0.94),
			rgba(10, 12, 19, 0.94)
		);
	box-shadow:
		0 26px 76px rgba(0, 0, 0, 0.26),
		inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.post__content .article-faq > h2 {
	margin: 0 0 26px;
	padding: 0;
	color: #f6f7fc;
	font-size: clamp(27px, 4vw, 40px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.045em;
}

.post__content .article-faq > h2::before {
	content: "FAQ";
	display: block;
	margin-bottom: 11px;
	color: #8f86ff;
	font-family: var(--mono, monospace);
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.post__content .article-faq__item {
	position: relative;
	margin: 0;
	padding: 24px 26px 24px 66px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 20px;
	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.036),
			rgba(255, 255, 255, 0.014)
		);
	transition:
		transform 0.3s var(--ease, ease),
		border-color 0.3s ease,
		background 0.3s ease,
		box-shadow 0.3s ease;
}

.post__content .article-faq__item + .article-faq__item {
	margin-top: 14px;
}

.post__content .article-faq__item::before {
	content: "?";
	position: absolute;
	top: 24px;
	left: 22px;
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	border: 1px solid rgba(128, 113, 255, 0.26);
	border-radius: 9px;
	color: #a89cff;
	background: rgba(121, 87, 246, 0.1);
	font-size: 15px;
	font-weight: 800;
	box-shadow: 0 0 22px rgba(121, 87, 246, 0.1);
}

.post__content .article-faq__item:hover {
	transform: translateY(-2px);
	border-color: rgba(121, 164, 255, 0.16);
	background:
		linear-gradient(
			180deg,
			rgba(91, 105, 180, 0.07),
			rgba(255, 255, 255, 0.018)
		);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.post__content .article-faq__item h3 {
	margin: 0 0 10px;
	padding: 0;
	color: #eef1fa;
	font-size: clamp(17px, 2vw, 20px);
	font-weight: 650;
	line-height: 1.42;
	letter-spacing: -0.02em;
}

.post__content .article-faq__item div[itemprop="acceptedAnswer"] {
	margin: 0;
}

.post__content .article-faq__item p {
	margin: 0;
	color: #a6aec0;
	font-size: 15px;
	line-height: 1.72;
}


/* ---------- Адаптив ---------- */

@media (max-width: 860px) {
	.post__content .article-cta {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.post__content .article-cta__actions {
		display: flex;
		flex-wrap: wrap;
		min-width: 0;
	}

	.post__content .article-cta__actions .btn {
		width: auto;
		flex: 1 1 190px;
	}
}

@media (max-width: 600px) {
	.post__content .article-cta,
	.post__content .article-faq {
		margin: 38px 0;
		padding: 24px 20px;
		border-radius: 22px;
	}

	.post__content .article-cta h2 {
		font-size: 27px;
	}

	.post__content .article-cta p {
		font-size: 15px;
	}

	.post__content .article-cta__actions {
		display: grid;
	}

	.post__content .article-cta__actions .btn {
		width: 100%;
	}

	.post__content .article-faq__item {
		padding: 20px 18px 20px 54px;
		border-radius: 17px;
	}

	.post__content .article-faq__item::before {
		top: 20px;
		left: 16px;
		width: 26px;
		height: 26px;
	}

	.post__content .article-faq__item h3 {
		font-size: 17px;
	}

	.post__content .article-faq__item p {
		font-size: 14px;
		line-height: 1.68;
	}
}

/* =========================================================
   Premium contacts — homepage
   ========================================================= */

.home-section--contact {
	position: relative;
	overflow: clip;
	padding-top: clamp(70px, 9vw, 130px);
	padding-bottom: clamp(80px, 10vw, 150px);
}

.home-section--contact::before {
	content: "";
	position: absolute;
	top: 20%;
	left: 50%;
	width: min(1100px, 90vw);
	height: 520px;
	transform: translateX(-50%);
	background:
		radial-gradient(
			ellipse at center,
			rgba(100, 126, 255, 0.11),
			transparent 58%
		),
		radial-gradient(
			ellipse at 70% 50%,
			rgba(54, 211, 255, 0.07),
			transparent 44%
		);
	filter: blur(45px);
	pointer-events: none;
}

.contact-premium {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.085);
	border-radius: 32px;
	background:
		radial-gradient(
			circle at 86% 15%,
			rgba(96, 111, 255, 0.13),
			transparent 27%
		),
		radial-gradient(
			circle at 6% 100%,
			rgba(35, 211, 238, 0.07),
			transparent 28%
		),
		linear-gradient(
			145deg,
			rgba(17, 20, 31, 0.96),
			rgba(8, 10, 17, 0.98)
		);
	box-shadow:
		0 42px 120px rgba(0, 0, 0, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
	isolation: isolate;
}

.contact-premium::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0;
	background:
		linear-gradient(
			120deg,
			rgba(255, 255, 255, 0.035),
			transparent 25%
		),
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.012),
			transparent 35%
		);
	pointer-events: none;
}

.contact-premium__main {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(390px, 0.95fr);
	align-items: center;
	gap: clamp(36px, 6vw, 90px);
	padding:
		clamp(34px, 6vw, 76px)
		clamp(24px, 6vw, 76px)
		clamp(34px, 5vw, 62px);
}

.contact-premium__content {
	position: relative;
	z-index: 3;
	max-width: 690px;
}

.contact-premium .section__label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 22px;
}

.contact-premium__status-dot {
	position: relative;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #74f0c5;
	box-shadow: 0 0 14px rgba(116, 240, 197, 0.8);
}

.contact-premium__status-dot::after {
	content: "";
	position: absolute;
	inset: -5px;
	border: 1px solid rgba(116, 240, 197, 0.34);
	border-radius: inherit;
	animation: contact-status-pulse 2.4s ease-out infinite;
}

.contact-premium h2 {
	max-width: 760px;
	margin: 0 0 24px;
	color: #f9faff;
	font-size: clamp(38px, 5.1vw, 68px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.06em;
	text-wrap: balance;
}

.contact-premium h2 em {
	font-style: normal;
	color: transparent;
	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			#d8ddff 31%,
			#77e8ff 68%,
			#a495ff 100%
		);
	-webkit-background-clip: text;
	background-clip: text;
}

.contact-premium__content > p {
	max-width: 650px;
	margin: 0;
	color: #aeb5c9;
	font-size: clamp(16px, 1.65vw, 19px);
	line-height: 1.75;
}

.contact-premium__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 13px;
	margin-top: 32px;
}

.contact-premium__actions .btn {
	min-height: 51px;
	padding-inline: 23px;
}

.contact-premium__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin-top: 38px;
}

.contact-premium__facts > div {
	min-width: 0;
	padding: 16px 17px;
	border: 1px solid rgba(255, 255, 255, 0.07);
	border-radius: 17px;
	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.037),
			rgba(255, 255, 255, 0.014)
		);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.contact-premium__facts strong {
	display: block;
	margin-bottom: 5px;
	color: #eff3ff;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
}

.contact-premium__facts span {
	display: block;
	color: #7f899f;
	font-size: 11px;
	line-height: 1.5;
}

/* ---------- Animated visual ---------- */

.contact-premium__visual {
	position: relative;
	z-index: 2;
	min-width: 0;
}

.contact-flow {
	position: relative;
	width: 100%;
	max-width: 520px;
	aspect-ratio: 1 / 0.92;
	margin-left: auto;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.085);
	border-radius: 28px;
	background:
		radial-gradient(
			circle at 50% 48%,
			rgba(64, 144, 255, 0.13),
			transparent 28%
		),
		linear-gradient(
			160deg,
			rgba(15, 20, 32, 0.88),
			rgba(7, 10, 17, 0.96)
		);
	box-shadow:
		0 35px 90px rgba(0, 0, 0, 0.32),
		inset 0 1px 0 rgba(255, 255, 255, 0.045);
	isolation: isolate;
}

.contact-flow__glow,
.contact-flow__grid {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.contact-flow__glow {
	z-index: -1;
	background:
		radial-gradient(
			circle at 52% 50%,
			rgba(73, 211, 255, 0.13),
			transparent 25%
		),
		radial-gradient(
			circle at 45% 58%,
			rgba(117, 94, 255, 0.13),
			transparent 36%
		);
	filter: blur(18px);
	animation: contact-glow 6s ease-in-out infinite;
}

.contact-flow__grid {
	z-index: -1;
	opacity: 0.32;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
	background-size: 34px 34px;
	mask-image:
		radial-gradient(
			circle at center,
			#000 20%,
			transparent 78%
		);
}

.contact-flow__head {
	position: absolute;
	top: 22px;
	right: 22px;
	left: 22px;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
}

.contact-flow__head span {
	display: block;
	margin-bottom: 5px;
	color: #71809c;
	font-family: var(--mono, monospace);
	font-size: 10px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.contact-flow__head strong {
	display: block;
	color: #edf2ff;
	font-size: 14px;
	line-height: 1.3;
}

.contact-flow__online {
	display: inline-flex !important;
	align-items: center;
	gap: 7px;
	margin: 0 !important;
	padding: 7px 10px;
	border: 1px solid rgba(109, 241, 194, 0.15);
	border-radius: 999px;
	color: #7cefc8 !important;
	background: rgba(109, 241, 194, 0.055);
}

.contact-flow__online i {
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
	box-shadow: 0 0 10px currentColor;
}

.contact-flow__core {
	position: absolute;
	top: 51%;
	left: 50%;
	width: 42%;
	aspect-ratio: 1;
	transform: translate(-50%, -50%);
}

.contact-flow__core-ring,
.contact-flow__core-center,
.contact-flow__orbit {
	position: absolute;
	top: 50%;
	left: 50%;
	border-radius: 50%;
	transform: translate(-50%, -50%);
}

.contact-flow__core-ring {
	width: 100%;
	height: 100%;
	border: 1px solid rgba(113, 189, 255, 0.18);
	background:
		conic-gradient(
			from 0deg,
			transparent,
			rgba(70, 210, 255, 0.25),
			transparent 25%,
			rgba(126, 101, 255, 0.23),
			transparent 50%,
			rgba(70, 210, 255, 0.2),
			transparent
		);
	box-shadow:
		0 0 55px rgba(59, 163, 255, 0.1),
		inset 0 0 24px rgba(79, 189, 255, 0.05);
	animation: contact-core-rotate 13s linear infinite;
}

.contact-flow__core-center {
	display: grid;
	place-items: center;
	width: 54%;
	height: 54%;
	border: 1px solid rgba(143, 170, 255, 0.24);
	background:
		radial-gradient(
			circle at 35% 30%,
			rgba(255, 255, 255, 0.16),
			transparent 18%
		),
		linear-gradient(145deg, #142a4a, #0b1324);
	box-shadow:
		0 0 36px rgba(49, 174, 255, 0.13),
		inset -18px -14px 30px rgba(0, 0, 0, 0.38);
}

.contact-flow__core-center span {
	color: #eaf5ff;
	font-size: clamp(20px, 3vw, 32px);
	font-weight: 700;
	letter-spacing: -0.04em;
	text-shadow: 0 0 18px rgba(79, 210, 255, 0.45);
}

.contact-flow__orbit {
	pointer-events: none;
}

.contact-flow__orbit--one {
	width: 165%;
	height: 78%;
	border: 1px solid rgba(78, 201, 255, 0.13);
	animation: contact-orbit-one 11s linear infinite;
}

.contact-flow__orbit--two {
	width: 135%;
	height: 150%;
	border: 1px solid rgba(136, 106, 255, 0.11);
	animation: contact-orbit-two 14s linear infinite reverse;
}

.contact-flow__node {
	position: absolute;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-areas:
		"dot number"
		"dot title";
	column-gap: 9px;
	min-width: 112px;
	padding: 11px 13px;
	border: 1px solid rgba(255, 255, 255, 0.075);
	border-radius: 14px;
	background:
		linear-gradient(
			180deg,
			rgba(22, 29, 45, 0.84),
			rgba(11, 15, 25, 0.72)
		);
	box-shadow:
		0 15px 35px rgba(0, 0, 0, 0.23),
		inset 0 1px 0 rgba(255, 255, 255, 0.035);
	backdrop-filter: blur(13px);
	-webkit-backdrop-filter: blur(13px);
}

.contact-flow__node i {
	grid-area: dot;
	align-self: center;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #54d9ff;
	box-shadow:
		0 0 0 5px rgba(84, 217, 255, 0.07),
		0 0 15px rgba(84, 217, 255, 0.65);
}

.contact-flow__node span {
	grid-area: number;
	color: #71809c;
	font-family: var(--mono, monospace);
	font-size: 9px;
	line-height: 1;
	letter-spacing: 0.12em;
}

.contact-flow__node strong {
	grid-area: title;
	margin-top: 4px;
	color: #e4eafa;
	font-size: 11px;
	line-height: 1.1;
}

.contact-flow__node--brief {
	top: 25%;
	left: 6%;
	animation: contact-node-float 5.8s ease-in-out infinite;
}

.contact-flow__node--design {
	top: 25%;
	right: 5%;
	animation: contact-node-float 6.6s ease-in-out -2s infinite;
}

.contact-flow__node--code {
	bottom: 22%;
	left: 7%;
	animation: contact-node-float 6.2s ease-in-out -1s infinite;
}

.contact-flow__node--launch {
	right: 5%;
	bottom: 22%;
	animation: contact-node-float 7s ease-in-out -3s infinite;
}

.contact-flow__footer {
	position: absolute;
	right: 22px;
	bottom: 20px;
	left: 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 15px;
	border-top: 1px solid rgba(255, 255, 255, 0.065);
}

.contact-flow__footer span {
	color: #758198;
	font-size: 10px;
}

.contact-flow__footer strong {
	color: #85f0ca;
	font-size: 11px;
	font-weight: 600;
}

/* ---------- Channels ---------- */

.contact-premium__channels {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	padding:
		0
		clamp(24px, 6vw, 76px)
		clamp(24px, 5vw, 54px);
}

.contact-channel {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	min-width: 0;
	padding: 18px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.075);
	border-radius: 20px;
	color: inherit;
	background:
		linear-gradient(
			180deg,
			rgba(255, 255, 255, 0.036),
			rgba(255, 255, 255, 0.013)
		);
	text-decoration: none;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
	transition:
		transform 0.35s var(--ease, ease),
		border-color 0.35s ease,
		background 0.35s ease,
		box-shadow 0.35s ease;
}

.contact-channel::before {
	content: "";
	position: absolute;
	top: -50%;
	left: -35%;
	width: 55%;
	height: 180%;
	transform: rotate(18deg) translateX(-130%);
	background:
		linear-gradient(
			90deg,
			transparent,
			rgba(255, 255, 255, 0.08),
			transparent
		);
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
	pointer-events: none;
}

.contact-channel:hover {
	transform: translateY(-4px);
	border-color: rgba(111, 188, 255, 0.17);
	background:
		linear-gradient(
			180deg,
			rgba(93, 130, 255, 0.065),
			rgba(255, 255, 255, 0.016)
		);
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.contact-channel:hover::before {
	transform: rotate(18deg) translateX(340%);
}

.contact-channel__icon {
	display: grid;
	place-items: center;
	width: 43px;
	height: 43px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.035);
}

.contact-channel__icon svg {
	width: 21px;
	height: 21px;
	fill: currentColor;
	stroke: currentColor;
	stroke-width: 1.5;
}

.contact-channel--telegram .contact-channel__icon {
	color: #64d8ff;
	background: rgba(42, 171, 238, 0.075);
}

.contact-channel--vk .contact-channel__icon {
	color: #7fa9ff;
	background: rgba(57, 108, 218, 0.075);
}

.contact-channel--instagram .contact-channel__icon {
	color: #d195ff;
	background: rgba(179, 91, 255, 0.07);
}

.contact-channel__icon--text {
	font-size: 12px;
	font-weight: 800;
}

.contact-channel__content {
	min-width: 0;
}

.contact-channel__content small,
.contact-channel__content strong,
.contact-channel__content em {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.contact-channel__content small {
	margin-bottom: 3px;
	color: #758198;
	font-size: 10px;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.contact-channel__content strong {
	color: #edf2ff;
	font-size: 14px;
	line-height: 1.35;
}

.contact-channel__content em {
	margin-top: 3px;
	color: #788398;
	font-size: 10px;
	font-style: normal;
	line-height: 1.4;
}

.contact-channel__arrow {
	color: #8e9ab3;
	font-size: 18px;
	transition:
		transform 0.3s ease,
		color 0.3s ease;
}

.contact-channel:hover .contact-channel__arrow {
	transform: translate(3px, -3px);
	color: #c9eaff;
}

.contact-premium__note {
	margin:
		0
		clamp(24px, 6vw, 76px)
		22px;
	color: #626b7d;
	font-size: 11px;
	line-height: 1.55;
}

/* ---------- Animation ---------- */

@keyframes contact-status-pulse {
	0% {
		transform: scale(0.65);
		opacity: 0.8;
	}

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

@keyframes contact-glow {
	0%,
	100% {
		transform: scale(0.94) translate3d(-1%, 0, 0);
		opacity: 0.65;
	}

	50% {
		transform: scale(1.08) translate3d(2%, -1%, 0);
		opacity: 1;
	}
}

@keyframes contact-core-rotate {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@keyframes contact-orbit-one {
	to {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

@keyframes contact-orbit-two {
	to {
		transform: translate(-50%, -50%) rotate(-360deg);
	}
}

@keyframes contact-node-float {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, -7px, 0);
	}
}

/* ---------- Adaptive ---------- */

@media (max-width: 1080px) {
	.contact-premium__main {
		grid-template-columns: minmax(0, 1fr) minmax(330px, 0.8fr);
		gap: 36px;
	}

	.contact-premium h2 {
		font-size: clamp(38px, 5vw, 58px);
	}

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

	.contact-premium__facts > div:last-child {
		grid-column: 1 / -1;
	}

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

	.contact-channel:last-child {
		grid-column: 1 / -1;
	}
}

@media (max-width: 820px) {
	.contact-premium {
		border-radius: 25px;
	}

	.contact-premium__main {
		grid-template-columns: 1fr;
		padding-bottom: 30px;
	}

	.contact-premium__visual {
		width: 100%;
	}

	.contact-flow {
		max-width: 560px;
		margin: 0 auto;
	}

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

	.contact-channel:last-child {
		grid-column: auto;
	}
}

@media (max-width: 560px) {
	.home-section--contact {
		padding-top: 60px;
		padding-bottom: 80px;
	}

	.contact-premium {
		border-radius: 21px;
	}

	.contact-premium__main {
		gap: 30px;
		padding: 28px 18px 24px;
	}

	.contact-premium h2 {
		font-size: clamp(34px, 11vw, 46px);
	}

	.contact-premium__content > p {
		font-size: 15px;
		line-height: 1.7;
	}

	.contact-premium__actions {
		display: grid;
	}

	.contact-premium__actions .btn {
		width: 100%;
	}

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

	.contact-premium__facts > div:last-child {
		grid-column: auto;
	}

	.contact-flow {
		aspect-ratio: 0.9 / 1;
		border-radius: 21px;
	}

	.contact-flow__head {
		top: 17px;
		right: 16px;
		left: 16px;
	}

	.contact-flow__core {
		width: 43%;
	}

	.contact-flow__node {
		min-width: 94px;
		padding: 9px 10px;
	}

	.contact-flow__node--brief {
		top: 27%;
		left: 4%;
	}

	.contact-flow__node--design {
		top: 27%;
		right: 4%;
	}

	.contact-flow__node--code {
		bottom: 23%;
		left: 4%;
	}

	.contact-flow__node--launch {
		right: 4%;
		bottom: 23%;
	}

	.contact-flow__footer {
		right: 16px;
		bottom: 16px;
		left: 16px;
	}

	.contact-premium__channels {
		gap: 9px;
		padding: 0 18px 18px;
	}

	.contact-channel {
		padding: 15px;
		border-radius: 17px;
	}

	.contact-premium__note {
		margin: 0 18px 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.contact-premium__status-dot::after,
	.contact-flow__glow,
	.contact-flow__core-ring,
	.contact-flow__orbit,
	.contact-flow__node {
		animation: none !important;
	}
}

/* =========================================================
   StasWeb — real portfolio cases + mobile rendering fix
   Add this block to the END of css/style.css
   ========================================================= */

#worksGrid.is-rendered,
#worksGrid.is-rendered.reveal,
#worksGrid.is-rendered.visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.work--real {
  display: flex;
  flex-direction: column;
}

.work--real .work__body {
  flex: 1 1 auto;
  align-content: start;
}

.work__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 6px 10px;
  border: 1px solid rgba(52, 211, 153, .2);
  border-radius: 999px;
  color: #86efc5;
  background: rgba(52, 211, 153, .075);
  font-family: var(--mono, monospace);
  font-size: .65rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.work__status::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 4px rgba(52, 211, 153, .09), 0 0 12px rgba(52, 211, 153, .42);
}

.work__description {
  color: var(--text-muted);
  font-size: .96rem;
  line-height: 1.72;
}

.work__scope {
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 15px;
  background: rgba(255, 255, 255, .018);
}

.work__scope-title {
  display: block;
  margin-bottom: 10px;
  color: var(--text-soft, #d9deeb);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
}

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

.work__scope-list li {
  position: relative;
  margin: 0;
  padding-left: 17px;
  color: var(--text-muted);
  font-size: .82rem;
  line-height: 1.55;
}

.work__scope-list li::before {
  content: "";
  position: absolute;
  top: .62em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--work-accent, var(--cyan));
  box-shadow: 0 0 10px color-mix(in srgb, var(--work-accent, #94d9ed) 48%, transparent);
}

.works__empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .02);
  text-align: center;
}

@media (max-width: 820px) {
  /* Cards are always visible on touch devices, even if reveal or
     view-transition support behaves differently in a mobile browser. */
  #worksGrid,
  #worksGrid.reveal,
  #worksGrid.visible,
  #worksGrid.is-rendered {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    height: auto !important;
    min-height: 1px;
    overflow: visible !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  #worksGrid .work,
  #worksGrid .work:nth-child(n) {
    display: flex !important;
    grid-column: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    view-transition-name: none;
  }

  .work:hover {
    transform: none;
  }

  .work__preview {
    aspect-ratio: 16 / 9.2;
  }

  .work__browser {
    inset: 9% 6% -9%;
    transform: none;
  }

  .work__body {
    gap: 13px;
    padding: 21px 19px 22px;
  }

  .work h3 {
    font-size: 1.28rem;
    line-height: 1.24;
  }

  .work__description {
    font-size: .96rem;
    line-height: 1.68;
  }

  .work__scope {
    padding: 14px;
  }

  .work__scope-list li {
    font-size: .84rem;
    line-height: 1.52;
  }

  .work__result {
    font-size: .84rem;
    line-height: 1.5;
  }

  .work__link {
    min-height: 42px;
    align-items: center;
    font-size: .92rem;
  }
}

@media (max-width: 480px) {
  .works {
    gap: 13px;
  }

  .work,
  .work:nth-child(n) {
    border-radius: 19px;
  }

  .work__preview {
    aspect-ratio: 16 / 10;
  }

  .work__browser-content {
    padding: 16px;
  }

  .work__preview-title {
    max-width: 88%;
    font-size: clamp(1.15rem, 7vw, 1.55rem);
  }

  .work__mock-lines {
    margin-top: 15px;
  }

  .work__body {
    padding: 18px 16px 20px;
  }

  .work__topline {
    align-items: flex-start;
  }

  .work__year {
    padding-top: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #worksGrid,
  #worksGrid .work {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
  }
}
/* =========================================================
   StasWeb — dropdown navigation and expanded footer v4.3
   Добавить в самый конец css/style.css
   ========================================================= */

.sw-main-nav {
  position: relative;
  gap: 2px;
}

.sw-main-nav > .sw-main-nav__link,
.sw-main-nav > .sw-nav-dropdown > .sw-nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 9px 11px;
  border: 0;
  border-radius: 999px;
  color: var(--text-muted);
  background: transparent;
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 550;
  line-height: 1;
  list-style: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color .2s ease, background .2s ease;
}

.sw-nav-dropdown > summary::-webkit-details-marker,
.sw-mobile-nav__group > summary::-webkit-details-marker {
  display: none;
}

.sw-main-nav > .sw-main-nav__link:hover,
.sw-main-nav > .sw-main-nav__link:focus-visible,
.sw-nav-dropdown:is(:hover, :focus-within, [open]) > .sw-nav-dropdown__trigger {
  color: var(--text);
  background: rgba(255, 255, 255, .055);
}

.sw-nav-dropdown {
  position: relative;
}

.sw-nav-dropdown__trigger svg {
  width: 10px;
  height: 7px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transition: transform .24s var(--ease);
}

.sw-nav-dropdown:is(:hover, :focus-within, [open]) > .sw-nav-dropdown__trigger svg {
  transform: rotate(180deg);
}

.sw-nav-dropdown > .sw-nav-dropdown__panel {
  display: grid;
  visibility: hidden;
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  z-index: 120;
  width: min(690px, calc(100vw - 34px));
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 23px;
  opacity: 0;
  background:
    radial-gradient(circle at 15% 0%, rgba(198,167,123, .11), transparent 31%),
    linear-gradient(150deg, rgba(18, 18, 25, .985), rgba(8, 9, 14, .99));
  box-shadow: 0 30px 90px rgba(0, 0, 0, .48), inset 0 1px 0 rgba(255, 255, 255, .045);
  transform: translate(-50%, -8px) scale(.985);
  transform-origin: 50% 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .24s var(--ease), visibility .2s ease;
  backdrop-filter: blur(22px) saturate(135%);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
}

.sw-nav-dropdown__panel::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 100%;
  left: 0;
  height: 17px;
}

.sw-nav-dropdown:is(:hover, :focus-within, [open]) > .sw-nav-dropdown__panel {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  pointer-events: auto;
}

.sw-nav-dropdown--journal > .sw-nav-dropdown__panel {
  left: auto;
  right: -120px;
  width: min(760px, calc(100vw - 34px));
  transform: translateY(-8px) scale(.985);
  transform-origin: 78% 0;
}

.sw-nav-dropdown--journal:is(:hover, :focus-within, [open]) > .sw-nav-dropdown__panel {
  transform: translateY(0) scale(1);
}

.sw-nav-dropdown__panel a {
  padding: 0;
  border-radius: 0;
  background: none;
  white-space: normal;
}

.sw-nav-dropdown__panel--services {
  grid-template-columns: minmax(210px, .75fr) minmax(0, 1.55fr);
  gap: 10px;
}

.sw-nav-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 21px !important;
  overflow: hidden;
  border: 1px solid rgba(198,167,123, .18);
  border-radius: 17px !important;
  background:
    radial-gradient(circle at 82% 12%, rgba(148,217,237, .13), transparent 34%),
    linear-gradient(145deg, rgba(198,167,123, .105), rgba(255, 255, 255, .025)) !important;
  transition: border-color .25s ease, transform .25s var(--ease) !important;
}

.sw-nav-feature:hover {
  border-color: rgba(198,167,123, .32);
  transform: translateY(-2px);
}

.sw-nav-feature > span,
.sw-nav-journal__head span {
  color: var(--cyan);
  font-family: var(--mono);
  font-size: .61rem;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sw-nav-feature strong {
  display: block;
  max-width: 15ch;
  margin-top: 17px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.28;
  letter-spacing: -.025em;
}

.sw-nav-feature p {
  margin: 11px 0 26px;
  color: var(--text-muted);
  font-size: .75rem;
  line-height: 1.6;
}

.sw-nav-feature i {
  margin-top: auto;
  color: var(--cyan);
  font-size: 1.1rem;
  font-style: normal;
}

.sw-nav-dropdown__links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.sw-nav-dropdown__links a {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas: "number title" "number text";
  column-gap: 10px;
  padding: 12px 13px !important;
  border: 1px solid transparent;
  border-radius: 14px !important;
  transition: border-color .2s ease, background .2s ease, transform .2s ease !important;
}

.sw-nav-dropdown__links a:hover {
  border-color: rgba(255, 255, 255, .075);
  background: rgba(255, 255, 255, .035) !important;
  transform: translateX(2px);
}

.sw-nav-dropdown__links span {
  grid-area: number;
  color: var(--text-faint);
  font-family: var(--mono);
  font-size: .58rem;
  line-height: 1.5;
}

.sw-nav-dropdown__links strong {
  grid-area: title;
  color: var(--text-soft);
  font-size: .76rem;
  line-height: 1.25;
}

.sw-nav-dropdown__links small {
  grid-area: text;
  margin-top: 4px;
  color: var(--text-faint);
  font-size: .62rem;
  line-height: 1.45;
}

.sw-nav-dropdown__panel--journal {
  display: block !important;
  padding: 15px !important;
}

.sw-nav-journal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 8px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.sw-nav-journal__head strong {
  display: block;
  max-width: 460px;
  margin-top: 7px;
  color: var(--text-soft);
  font-size: .87rem;
  line-height: 1.4;
}

.sw-nav-journal__head > a {
  flex: 0 0 auto;
  padding: 8px 10px !important;
  border: 1px solid rgba(255, 255, 255, .08) !important;
  border-radius: 11px !important;
  color: var(--text-muted);
  font-size: .68rem;
  transition: color .2s ease, border-color .2s ease, background .2s ease !important;
}

.sw-nav-journal__head > a:hover {
  color: var(--text);
  border-color: rgba(148,217,237, .2) !important;
  background: rgba(148,217,237, .055) !important;
}

.sw-nav-journal__head i { font-style: normal; }

.sw-nav-journal__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding-top: 10px;
}

.sw-nav-journal__grid a {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px !important;
  border: 1px solid transparent;
  border-radius: 14px !important;
  transition: border-color .2s ease, background .2s ease, transform .2s ease !important;
}

.sw-nav-journal__grid a:hover {
  border-color: rgba(255, 255, 255, .075);
  background: rgba(255, 255, 255, .035) !important;
  transform: translateY(-1px);
}

.sw-nav-journal__grid i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 38px;
  border: 1px solid rgba(198,167,123, .15);
  border-radius: 11px;
  color: #b8a8ff;
  background: rgba(198,167,123, .065);
  font-family: var(--mono);
  font-size: .56rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: .04em;
}

.sw-nav-journal__grid span,
.sw-nav-journal__grid strong,
.sw-nav-journal__grid small {
  display: block;
  min-width: 0;
}

.sw-nav-journal__grid strong {
  overflow: hidden;
  color: var(--text-soft);
  font-size: .74rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sw-nav-journal__grid small {
  margin-top: 4px;
  overflow: hidden;
  color: var(--text-faint);
  font-size: .61rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Мобильное меню: нативные details, без нового JavaScript. */
.sw-mobile-nav {
  padding: 12px 16px max(22px, env(safe-area-inset-bottom));
  overflow: hidden;
}

.sw-mobile-nav__scroll {
  width: min(100%, 680px);
  height: 100%;
  min-height: 0;
  margin: 0 auto;
  padding: 4px 0 calc(24px + env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
}

.sw-mobile-nav .sw-mobile-nav__link,
.sw-mobile-nav .sw-mobile-nav__toggle,
.sw-mobile-nav .sw-mobile-nav__cta {
  width: 100%;
  margin: 0 0 8px;
}

.sw-mobile-nav .sw-mobile-nav__cta {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  line-height: 1.25;
}

.sw-mobile-nav .sw-mobile-nav__cta span {
  flex: 0 0 auto;
}

.sw-mobile-nav .sw-mobile-nav__link,
.sw-mobile-nav .sw-mobile-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  border: 1px solid var(--line);
  border-radius: 15px;
  color: var(--text-soft);
  background: var(--surface-3);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.25;
  list-style: none;
  text-align: left;
  cursor: pointer;
}

.sw-mobile-nav .sw-mobile-nav__link i {
  color: var(--text-faint);
  font-style: normal;
}

.sw-mobile-nav__group {
  margin-bottom: 8px;
}

.sw-mobile-nav .sw-mobile-nav__group .sw-mobile-nav__toggle {
  margin-bottom: 0;
}

.sw-mobile-nav__toggle > i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.sw-mobile-nav__toggle > i::before,
.sw-mobile-nav__toggle > i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 99px;
  background: var(--text-muted);
  transform: translate(-50%, -50%);
  transition: transform .22s ease;
}

.sw-mobile-nav__toggle > i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.sw-mobile-nav__group[open] .sw-mobile-nav__toggle > i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.sw-mobile-nav__group > .sw-mobile-nav__submenu {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .32s var(--ease), opacity .24s ease;
}

.sw-mobile-nav__group[open] > .sw-mobile-nav__submenu {
  grid-template-rows: 1fr;
  opacity: 1;
}

.sw-mobile-nav__submenu-inner {
  display: grid;
  min-height: 0;
  gap: 5px;
  margin: 0 8px;
  overflow: hidden;
}

.sw-mobile-nav__group[open] .sw-mobile-nav__submenu-inner {
  padding: 9px 0 3px;
}

.sw-mobile-nav .sw-mobile-nav__submenu a {
  display: block;
  padding: 11px 13px;
  border: 0;
  border-radius: 11px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, .025);
  font-size: .84rem;
  font-weight: 550;
}

.sw-mobile-nav .sw-mobile-nav__submenu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .05);
}

.sw-mobile-nav__submenu a strong,
.sw-mobile-nav__submenu a small { display: block; }
.sw-mobile-nav__submenu a strong { color: var(--text-soft); font-size: .87rem; }
.sw-mobile-nav__submenu a small { margin-top: 3px; color: var(--text-faint); font-size: .67rem; }

/* Расширенный footer */
.sw-footer {
  padding: 62px 0 24px;
  background:
    radial-gradient(circle at 16% 0%, rgba(198,167,123, .07), transparent 29%),
    rgba(0, 0, 0, .12);
}

.sw-footer__top {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 2.2fr);
  align-items: start;
  gap: clamp(44px, 7vw, 96px);
}

.sw-footer__identity p {
  max-width: 355px;
  margin: 18px 0 22px;
  color: var(--text-faint);
  font-size: .82rem;
  line-height: 1.68;
}

.sw-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sw-footer__socials a {
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text-muted);
  font-size: .7rem;
  font-weight: 600;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.sw-footer__socials a:hover {
  color: var(--text);
  border-color: rgba(198,167,123, .22);
  background: rgba(198,167,123, .055);
}

.sw-footer__groups {
  display: grid;
  grid-template-columns: .8fr 1fr 1.25fr 1fr;
  gap: clamp(24px, 4vw, 50px);
}

.sw-footer__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.sw-footer__group > strong {
  margin-bottom: 6px;
  color: var(--text-soft);
  font-family: var(--mono);
  font-size: .62rem;
  line-height: 1.3;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.sw-footer__group a {
  color: var(--text-muted);
  font-size: .76rem;
  line-height: 1.35;
  transition: color .2s ease, transform .2s ease;
}

.sw-footer__group a:hover {
  color: var(--text);
  transform: translateX(2px);
}

.sw-footer__group--geo > span {
  color: var(--text-muted);
  font-size: .74rem;
  line-height: 1.5;
}

.sw-footer__group--geo small {
  max-width: 220px;
  color: rgba(255, 255, 255, .28);
  font-size: .64rem;
  line-height: 1.55;
}

.sw-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .065);
  color: rgba(255, 255, 255, .3);
  font-family: var(--mono);
  font-size: .62rem;
  line-height: 1.5;
  letter-spacing: .045em;
  text-transform: uppercase;
}

@media (max-width: 1160px) {
  .sw-main-nav > .sw-main-nav__link,
  .sw-main-nav > .sw-nav-dropdown > .sw-nav-dropdown__trigger {
    padding-inline: 8px;
    font-size: .77rem;
  }

  .sw-footer__groups {
    grid-template-columns: 1fr 1fr;
    row-gap: 36px;
  }
}

@media (max-width: 980px) {
  .sw-footer__top {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .sw-footer__identity p { max-width: 520px; }
}

@media (max-width: 700px) {
  .sw-footer { padding-top: 48px; }

  .sw-footer__groups {
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px;
  }

  .sw-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 34px;
  }
}

@media (max-width: 460px) {
  .sw-mobile-nav { padding-inline: 10px; }

  .sw-mobile-nav .sw-mobile-nav__link,
  .sw-mobile-nav .sw-mobile-nav__toggle {
    padding: 14px;
    font-size: .94rem;
  }

  .sw-footer__groups {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sw-footer__group--journal {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 18px;
  }

  .sw-footer__group--journal > strong { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .sw-nav-dropdown__panel,
  .sw-nav-dropdown__trigger svg,
  .sw-mobile-nav__submenu,
  .sw-mobile-nav__toggle > i::after,
  .sw-footer__group a {
    transition: none !important;
  }
}

/* =========================================================
   Main structure + Journal V5
   Clearer routes, stronger editorial voice, lighter mobile UI.
   ========================================================= */

.home-section:not(.home-section--contact) {
  padding-block: clamp(40px, 40px, 136px);
}

.home-routes {
  position: relative;
  z-index: 3;
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  background: rgba(7, 9, 15, .94);
}

.home-routes__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-block: 12px;
}

.home-routes__inner a {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "label arrow" "title arrow" "text arrow";
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 16px;
  color: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, .026), rgba(255, 255, 255, .009));
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s ease, background .25s ease;
}

.home-routes__inner a:hover {
  transform: translateY(-2px);
  border-color: rgba(91, 210, 255, .17);
  background: linear-gradient(145deg, rgba(79, 178, 255, .06), rgba(112, 82, 255, .035));
}

.home-routes__inner small {
  grid-area: label;
  margin-bottom: 6px;
  color: #75def3;
  font-family: var(--mono);
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .09em;
}

.home-routes__inner strong {
  grid-area: title;
  color: #edf2fc;
  font-size: .96rem;
  line-height: 1.35;
}

.home-routes__inner span {
  grid-area: text;
  margin-top: 3px;
  color: var(--text-faint);
  font-size: .79rem;
  line-height: 1.45;
}

.home-routes__inner i {
  grid-area: arrow;
  align-self: center;
  color: #8fe7fa;
  font-size: 1rem;
  font-style: normal;
}

.service-card__link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: #8ce5f8;
  font-size: .82rem;
  font-weight: 650;
  text-decoration: none;
}

.service-card__link::before {
  content: "";
  position: absolute;
  top: 11px;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(113, 220, 246, .24), transparent);
}

.service-card__link span {
  transition: transform .2s ease;
}

.service-card__link:hover span {
  transform: translate(3px, -3px);
}

.service-card--large .service-card__link {
  margin-top: 18px;
}

.service-card--wide {
  padding-bottom: 66px;
}

.service-card--wide .service-card__link {
  position: absolute;
  bottom: 24px;
  left: 28px;
  margin-top: 0;
}

.page-head--journal {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, .58fr);
  gap: clamp(36px, 7vw, 92px);
  max-width: none;
  margin-bottom: 18px;
  padding: clamp(30px, 5vw, 58px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(116, 83, 255, .13), transparent 40%),
    radial-gradient(circle at 0 100%, rgba(38, 196, 231, .065), transparent 38%),
    linear-gradient(145deg, rgba(18, 22, 35, .94), rgba(8, 10, 17, .96));
  box-shadow: 0 30px 84px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .03);
}

.page-head--journal::after {
  display: none;
}

.page-head--journal .page-head__title {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.55rem, 5.3vw, 4.7rem);
  line-height: 1;
}

.page-head--journal .page-head__title span {
  display: block;
  color: transparent;
  background: linear-gradient(135deg, #fff 0%, #cfd7ff 34%, #77e5fa 70%, #a58bff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.page-head--journal .page-head__desc {
  max-width: 760px;
  font-size: 1.02rem;
}

.journal-head__principles {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.journal-head__principles span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 999px;
  color: #8e9aae;
  background: rgba(255, 255, 255, .018);
  font-size: .72rem;
}

.journal-head__manifest {
  align-self: center;
  padding: 22px;
  border: 1px solid rgba(112, 211, 247, .11);
  border-radius: 20px;
  background: rgba(255, 255, 255, .018);
}

.journal-head__manifest small,
.journal-head__manifest strong,
.journal-head__manifest span {
  display: block;
}

.journal-head__manifest small {
  margin-bottom: 28px;
  color: #75def3;
  font-family: var(--mono);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.journal-head__manifest strong {
  color: #e1e7f4;
  font-size: 1.08rem;
  line-height: 1.5;
}

.journal-head__manifest span {
  margin-top: 30px;
  color: #6f7c91;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .08em;
}

.journal-topics {
  display: flex;
  gap: 8px;
  margin-bottom: 34px;
  padding: 10px;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, .06);
  border-radius: 17px;
  background: rgba(9, 11, 18, .86);
  scrollbar-width: none;
}

.journal-topics::-webkit-scrollbar {
  display: none;
}

.journal-topics a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #8994a7;
  font-size: .78rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.journal-topics a:hover {
  color: #edf7ff;
  border-color: rgba(99, 210, 245, .13);
  background: rgba(73, 169, 255, .05);
}

.blog-grid--page {
  gap: 20px;
}

.blog-grid--page .blog-card {
  content-visibility: auto;
  contain-intrinsic-size: auto 540px;
}

.blog-grid--page .blog-card__meta {
  font-size: .73rem;
}

.blog-grid--page .blog-card__title {
  font-size: 1.24rem;
}

.blog-card__more span {
  transition: transform .2s ease;
}

.blog-card__more:hover span {
  transform: translate(3px, -3px);
}

@media (max-width: 920px) {
  .home-routes__inner {
    grid-template-columns: 1fr;
  }

  .page-head--journal {
    grid-template-columns: 1fr;
  }

  .journal-head__manifest {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 24px;
  }

  .journal-head__manifest small {
    grid-column: 1 / -1;
    margin-bottom: 8px;
  }

  .journal-head__manifest span {
    align-self: end;
    margin-top: 0;
  }
}

@media (max-width: 700px) {
  .home-section:not(.home-section--contact) {
    padding-block: 72px;
  }

  .home-routes__inner {
    padding-block: 10px;
  }

  .service-card--wide {
    padding-bottom: 68px;
  }

  .page-head--journal {
    padding: 25px 19px;
    border-radius: 23px;
  }

  .page-head--journal .page-head__title {
    font-size: clamp(2.3rem, 12vw, 3.55rem);
  }

  .journal-head__manifest {
    display: block;
    padding: 18px;
  }

  .journal-head__manifest span {
    margin-top: 24px;
  }

  .journal-topics {
    margin-inline: -2px;
  }
}

@media (hover: none), (pointer: coarse) {
  .home-routes__inner a:hover,
  .service-card:hover,
  .blog-card:hover {
    transform: none;
  }

  .service-card__signal span,
  .studio-core::before,
  .studio-ring,
  .studio-data-card__bars i {
    animation: none !important;
  }
}

/* =========================================================
   Mobile Safari fast path
   Avoids delayed paint, stale navigation snapshots and GPU-heavy decoration.
   ========================================================= */

@media (max-width: 900px), (hover: none) and (pointer: coarse) {
  html {
    scroll-behavior: auto;
  }

  body {
    background: #111315;
    text-rendering: auto;
  }

  .bg-space,
  .scroll-progress,
  .sw-services__ambient,
  .sw-ecom__ambient,
  .sw-about__ambient,
  .contact-pro__ambient {
    display: none !important;
  }

  .tula-web::before,
  .moscow-web::before,
  .minsk-web::before {
    display: none !important;
  }

  .reveal,
  .reveal.visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .home-section,
  .footer,
  .sw-services-section,
  .sw-ecom-section,
  .sw-about-section,
  .sw-about-cta,
  .contact-form-section,
  .tula-web__section,
  .tula-web__ai-strip,
  .tula-web__cta,
  .moscow-web__section,
  .moscow-web__ai-strip,
  .moscow-web__cta,
  .minsk-web__section,
  .minsk-web__ai-strip,
  .minsk-web__cta,
  .sw-ai-result,
  .sw-ai-benefits,
  .blog-grid--page .blog-card {
    content-visibility: visible !important;
    contain-intrinsic-size: none !important;
  }

  .studio-bg {
    filter: none !important;
  }

  .sw-ai-float__trigger,
  .hero-float,
  .contact-visual__node,
  .contact-visual__hud {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .orb,
  .hero-float,
  .work,
  .work__mock-orb,
  .service-card__signal span,
  .studio-core::before,
  .studio-ring,
  .studio-data-card__bars i {
    animation: none !important;
  }
}
