

/* Start:/local/templates/bortsovgroup/assets/css/style.css?178058524770087*/
/* =========================================================
   BORTSOV GROUP — Main Stylesheet
   ========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  font-feature-settings: "kern", "liga", "ss01";
}

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

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

button {
  font-family: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--color-text);
  color: var(--color-bg);
}

/* ---------- 2. Variables ---------- */
:root {
  /* Colors — DARK THEME */
  --color-bg: #0a0a0a;
  --color-bg-alt: #141414;
  --color-bg-elevated: #181818;
  --color-text: #f5f4f0;
  --color-text-muted: rgba(245, 244, 240, 0.6);
  --color-text-soft: rgba(245, 244, 240, 0.4);
  --color-line: rgba(245, 244, 240, 0.12);
  --color-line-soft: rgba(245, 244, 240, 0.06);
  --color-dark: #ffffff;            /* used for inverse CTAs */
  --color-graphite: #1f1f1f;
  --color-graphite-2: #262626;
  --color-cream: #141414;           /* dark equivalent of cream */
  --color-light: #f5f4f0;
  --color-overlay: rgba(0, 0, 0, 0.6);
  --color-accent: #ff6a3d;          /* warm orange accent (used sparingly) */

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container: 1480px;
  --container-padding: clamp(20px, 4vw, 64px);
  --section-py: clamp(80px, 12vw, 180px);
  --section-py-sm: clamp(60px, 8vw, 120px);

  /* Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.4s var(--ease);
  --transition-slow: 0.8s var(--ease-out);

  /* Header */
  --header-h: 140px;
}

@media (max-width: 768px) {
  :root {
    --header-h: 96px;
  }
}

/* ---------- 3. Typography ---------- */
.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 9vw, 168px);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.h-1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.h-2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.h-3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 2.5vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.h-4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.text-lg {
  font-size: clamp(17px, 1.3vw, 20px);
  line-height: 1.55;
  font-weight: 400;
}

.text-md {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

.text-sm {
  font-size: 14px;
  line-height: 1.55;
}

.text-xs {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}

.text-mono {
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

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

/* ---------- 4. Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section {
  padding-top: var(--section-py);
  padding-bottom: var(--section-py);
  position: relative;
}

.section--sm {
  padding-top: var(--section-py-sm);
  padding-bottom: var(--section-py-sm);
}

.section--dark {
  background: #060606;
  color: var(--color-text);
}

.section--cream {
  background: var(--color-bg-alt);
}

.section--white {
  background: var(--color-bg-elevated);
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 32px;
  margin-bottom: clamp(48px, 6vw, 96px);
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-line);
}

.section--dark .section-head {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.section-head__index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-text-muted);
}

.section-head__index::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
}

.section-head__title {
  max-width: 900px;
}

.section-head__action {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .section-head {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 32px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 100px;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  flex-wrap: nowrap;
  flex-shrink: 0;
}

.btn svg,
.link-arrow svg,
.btn__arrow {
  display: inline-block;
  flex-shrink: 0;
}

a.btn,
button.btn {
  display: inline-flex !important;
}

.btn--primary {
  background: var(--color-text);
  color: #0a0a0a;
}

.btn--primary:hover {
  background: var(--color-bg-elevated);
  color: var(--color-text);
  transform: translateY(-2px);
  border-color: var(--color-line);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-line);
}

.btn--ghost:hover {
  background: var(--color-text);
  color: #0a0a0a;
  border-color: var(--color-text);
}

.btn--light {
  background: var(--color-text);
  color: #0a0a0a;
}

.btn--light:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.btn--ghost-light {
  background: transparent;
  color: var(--color-bg);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--ghost-light:hover {
  background: var(--color-bg);
  color: var(--color-dark);
}

.btn--lg {
  padding: 22px 40px;
  font-size: 15px;
}

.btn__arrow {
  width: 18px;
  height: 18px;
  transition: transform var(--transition);
}

.btn:hover .btn__arrow {
  transform: translate(3px, -3px);
}

/* Link arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 0;
  position: relative;
  transition: gap var(--transition);
}

.link-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform var(--transition-slow);
}

.link-arrow:hover {
  gap: 18px;
}

.link-arrow:hover::after {
  transform-origin: left;
  transform: scaleX(1);
}

.link-arrow svg {
  width: 14px;
  height: 14px;
}

/* ---------- 6. Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid var(--color-line-soft);
  transition: all var(--transition);
}

.header.is-scrolled {
  background: rgba(10, 10, 10, 0.85);
  border-bottom-color: var(--color-line);
}


.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo {
  display: inline-flex;
  align-items: center;
  z-index: 10;
  transition: opacity var(--transition);
}

.logo:hover {
  opacity: 0.75;
}

.logo__img {
  height: 72px;
  width: auto;
  display: block;
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
  image-rendering: -webkit-optimize-contrast;
  -webkit-font-smoothing: antialiased;
  backface-visibility: visible;
}

@media (max-width: 768px) {
  .logo__img {
    height: 52px;
  }
}

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

.nav__link {
  position: relative;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border-radius: 100px;
  transition: all var(--transition);
}

.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: var(--color-text);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: -1;
}

.nav__link:hover {
  color: #0a0a0a;
}

.nav__link:hover::before,
.nav__link.is-active::before {
  opacity: 1;
}

.nav__link.is-active {
  color: #0a0a0a;
}

.header__cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__phone {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.005em;
  position: relative;
}

.header__phone::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-slow);
}

.header__phone:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
  z-index: 10;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  transition: all var(--transition);
}

.burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 1.5px;
  background: var(--color-text);
  transition: all var(--transition);
}

.burger span:first-child {
  top: 17px;
}

.burger span:last-child {
  bottom: 17px;
}

.burger.is-active {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.burger.is-active span {
  background: var(--color-text);
}

.burger.is-active span:first-child {
  top: 21px;
  transform: rotate(45deg);
}

.burger.is-active span:last-child {
  bottom: 21px;
  transform: rotate(-45deg);
}

@media (max-width: 1100px) {
  .nav,
  .header__phone {
    display: none;
  }
  .burger {
    display: block;
  }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: #060606;
  color: var(--color-text);
  padding: calc(var(--header-h) + 32px) var(--container-padding) 40px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
  flex: 1;
}

.mobile-menu__link {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: clamp(28px, 6vw, 44px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1;
  transition: padding-left var(--transition);
}

.mobile-menu__link:hover {
  padding-left: 12px;
}

.mobile-menu__link span {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-text-soft);
  text-transform: uppercase;
}

.mobile-menu__contacts {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu__contacts a {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
}

.mobile-menu__contacts span {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-soft);
  margin-top: 8px;
}

/* ---------- 7. Hero (home) — Architectural line-draw scene ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: var(--header-h);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: #050505;
  color: var(--color-text);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Dot-grid blueprint */
.hero__blueprint {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(245, 244, 240, 0.07) 1px, transparent 0);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 100% 80% at center, black 0%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 100% 80% at center, black 0%, transparent 90%);
}

/* Холодное свечение горизонта (без оранжевого) */
.hero__glow {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: -30%;
  height: 60%;
  background: radial-gradient(ellipse 70% 60% at 50% 100%, rgba(245, 244, 240, 0.06), transparent 65%);
  filter: blur(70px);
  pointer-events: none;
}

/* SVG сцена */
.hero__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0.55;
}

.hero__scene-layer {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

/* Линии рисуются stroke-by-stroke */
.line-draw {
  stroke-dasharray: var(--len, 1200);
  stroke-dashoffset: var(--len, 1200);
}

.is-drawn .line-draw {
  animation: drawLine 2.4s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.is-drawn .line-draw[data-delay="1"]  { animation-delay: 0.2s; }
.is-drawn .line-draw[data-delay="2"]  { animation-delay: 0.45s; }
.is-drawn .line-draw[data-delay="3"]  { animation-delay: 0.7s; }
.is-drawn .line-draw[data-delay="4"]  { animation-delay: 0.95s; }
.is-drawn .line-draw[data-delay="5"]  { animation-delay: 1.2s; }
.is-drawn .line-draw[data-delay="6"]  { animation-delay: 1.45s; }
.is-drawn .line-draw[data-delay="7"]  { animation-delay: 1.7s; }
.is-drawn .line-draw[data-delay="8"]  { animation-delay: 1.95s; }

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

/* Появляющиеся элементы (окна, дверь, дерево, машина) */
.scene-fade {
  opacity: 0;
  transform-origin: center;
  transform-box: fill-box;
}

.is-drawn .scene-fade {
  animation: sceneFadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.is-drawn .scene-fade[data-delay="3"] { animation-delay: 1.2s; }
.is-drawn .scene-fade[data-delay="4"] { animation-delay: 1.5s; }
.is-drawn .scene-fade[data-delay="5"] { animation-delay: 1.8s; }
.is-drawn .scene-fade[data-delay="6"] { animation-delay: 2.1s; }
.is-drawn .scene-fade[data-delay="7"] { animation-delay: 2.4s; }

@keyframes sceneFadeIn {
  0%   { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Vignette + дымка для читаемости hero__bottom */
.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at center, transparent 0%, transparent 55%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.45) 0%, transparent 18%, transparent 50%, rgba(5, 5, 5, 0.85) 100%);
  pointer-events: none;
}

/* Дополнительная мягкая подложка под hero__bottom (текст + кнопки) */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  background: linear-gradient(180deg,
    transparent 0%,
    rgba(5, 5, 5, 0.3) 35%,
    rgba(5, 5, 5, 0.78) 75%,
    rgba(5, 5, 5, 0.92) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero__container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}

.hero__meta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 56px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 244, 240, 0.7);
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.2s forwards;
  padding: 10px 18px;
  border: 1px solid rgba(245, 244, 240, 0.15);
  border-radius: 100px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.03);
}

.hero__meta-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6a3d;
  box-shadow: 0 0 12px rgba(255, 106, 61, 0.6);
}

.hero__meta-dot::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: #ff6a3d;
  opacity: 0.4;
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.6); opacity: 0; }
}

.hero__title {
  font-size: clamp(56px, 11vw, 200px);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.045em;
  margin-bottom: 64px;
  color: var(--color-text);
}

.hero__title-line {
  display: block;
  overflow: hidden;
  padding: 0.16em 0 0.18em;
  margin: -0.16em 0 -0.18em;
}

.hero__title-line > span {
  display: inline-block;
  transform: translateY(120%);
  animation: heroLineUp 1.4s var(--ease-out) forwards;
}

.hero__title-line:nth-child(1) > span { animation-delay: 0.45s; }
.hero__title-line:nth-child(2) > span { animation-delay: 0.55s; }
.hero__title-line:nth-child(3) > span { animation-delay: 0.65s; }

.hero__title em {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.035em;
  color: #ff7a4a;
}

@keyframes heroLineUp {
  0% { transform: translateY(120%); }
  100% { transform: translateY(0); }
}

.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(245, 244, 240, 0.12);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease-out) 1s forwards;
}

.hero__desc {
  max-width: 540px;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: rgba(245, 244, 240, 0.65);
}

.hero__cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 130px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 244, 240, 0.45);
  opacity: 0;
  animation: scrollFadeIn 1s var(--ease-out) 1.4s forwards;
  z-index: 3;
}

@keyframes scrollFadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 1100px) {
  .hero__scroll { display: none; }
}

.hero__scroll-line {
  width: 1px;
  height: 64px;
  background: linear-gradient(to bottom, rgba(245, 244, 240, 0.4), transparent);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -60%;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to bottom, transparent, var(--color-text));
  animation: scrollDown 2.6s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 100%; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__marquee {
  width: 100%;
  border-top: 1px solid rgba(245, 244, 240, 0.12);
  border-bottom: 1px solid rgba(245, 244, 240, 0.12);
  padding: 26px 0;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  z-index: 3;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.marquee__track {
  display: flex;
  align-items: center;
  gap: 56px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee__track span {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.marquee__track svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  opacity: 0.4;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .hero__bottom {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__scroll {
    display: none;
  }
  .hero__title {
    font-size: clamp(40px, 11vw, 72px);
    line-height: 0.92;
    margin-bottom: 40px;
    overflow-wrap: break-word;
  }
  .hero__meta {
    margin-bottom: 32px;
  }
}

@media (max-width: 400px) {
  .hero__title {
    font-size: 36px;
    line-height: 0.98;
  }
}

/* ---------- 8. Directions block ---------- */
.directions {
  background: var(--color-bg);
  position: relative;
}

.directions__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--color-line);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.direction-card {
  position: relative;
  background: var(--color-bg);
  padding: clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  min-height: 480px;
  overflow: hidden;
  transition: background var(--transition-slow);
  cursor: pointer;
  isolation: isolate;
}

.direction-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-text);
  transform: translateY(100%);
  transition: transform 0.7s var(--ease-out);
  z-index: -1;
}

.direction-card:hover::before {
  transform: translateY(0);
}

.direction-card:hover {
  color: #0a0a0a;
}

.direction-card:hover .direction-card__icon {
  border-color: rgba(0, 0, 0, 0.2);
  background: rgba(0, 0, 0, 0.04);
}

.direction-card:hover .direction-card__icon svg {
  stroke: #0a0a0a;
}

.direction-card:hover .direction-card__num {
  color: rgba(0, 0, 0, 0.5);
}

.direction-card:hover .direction-card__list {
  color: rgba(0, 0, 0, 0.65);
}

.direction-card:hover .direction-card__arrow {
  border-color: #0a0a0a;
  background: #0a0a0a;
  color: var(--color-text);
}

.direction-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: clamp(48px, 6vw, 96px);
}

.direction-card__num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.direction-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.direction-card__icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  transition: all var(--transition);
}

.direction-card__title {
  font-size: clamp(28px, 3.5vw, 56px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  margin-top: auto;
}

.direction-card__list {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  transition: color var(--transition);
}

.direction-card__list span {
  position: relative;
  padding-right: 16px;
}

.direction-card__list span:not(:last-child)::after {
  content: '·';
  position: absolute;
  right: 4px;
  top: 0;
}

.direction-card__arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  align-self: flex-end;
  margin-top: 24px;
  flex-shrink: 0;
}

.direction-card:hover .direction-card__arrow {
  transform: rotate(-45deg);
}

.direction-card__arrow svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 900px) {
  .directions__grid {
    grid-template-columns: 1fr;
  }
  .direction-card {
    min-height: 360px;
  }
}

/* ---------- 9. About preview ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about-preview__sticky {
  position: sticky;
  top: 120px;
}

.about-preview__index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.about-preview__index::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
}

.about-preview__title {
  margin-bottom: 32px;
}

.about-preview__lead {
  font-size: clamp(20px, 1.8vw, 28px);
  line-height: 1.35;
  margin-bottom: 32px;
  letter-spacing: -0.01em;
}

.about-preview__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 560px;
}

.about-preview__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--color-line);
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.feature__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.feature__title {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.feature__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .about-preview {
    grid-template-columns: 1fr;
  }
  .about-preview__sticky {
    position: static;
    top: auto;
  }
  .about-preview__title {
    margin-bottom: 24px;
  }
  .about-preview__features {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
}

/* ---------- 10. Numbers / stats ---------- */
.stats {
  background: #141414;
  color: var(--color-text);
  position: relative;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-line);
}

.stats__head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 96px);
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stats__head-text {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.7);
  max-width: 640px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  position: relative;
  padding: 32px 24px 32px 0;
}

.stat__number {
  font-size: clamp(48px, 6.4vw, 104px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.stat__suffix {
  font-size: 0.32em;
  font-weight: 500;
  opacity: 0.55;
  white-space: nowrap;
  letter-spacing: 0;
}

.stat__label {
  font-size: 13px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.01em;
  max-width: 220px;
}

@media (max-width: 1100px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats__head {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* ---------- 11. Services preview ---------- */
.services-preview__list {
  border-top: 1px solid var(--color-line);
}

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 2fr 1fr 60px;
  align-items: center;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--color-line);
  position: relative;
  transition: padding var(--transition);
  cursor: pointer;
}

.service-row::before {
  content: '';
  position: absolute;
  left: -100vw;
  right: -100vw;
  top: 0;
  height: 100%;
  background: var(--color-text);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.5s var(--ease-out);
  z-index: -1;
}

.service-row:hover::before {
  transform: scaleY(1);
}

.service-row:hover {
  color: #0a0a0a;
  padding-left: 24px;
}

.service-row:hover .service-row__num,
.service-row:hover .service-row__desc,
.service-row:hover .service-row__category {
  color: rgba(0, 0, 0, 0.6);
}

.service-row:hover .service-row__arrow {
  border-color: #0a0a0a;
  transform: rotate(-45deg);
}

.service-row__num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.service-row__title {
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.service-row__desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.service-row__category {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition);
}

.service-row__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  justify-self: end;
}

.service-row__arrow svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 1100px) {
  .service-row {
    grid-template-columns: 60px 1fr 60px;
    gap: 16px;
    padding: 28px 0;
  }
  .service-row__desc,
  .service-row__category {
    display: none;
  }
}

/* ---------- 12. Portfolio grid ---------- */
.portfolio-preview__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--color-bg-elevated);
  cursor: pointer;
  isolation: isolate;
  border: 1px solid var(--color-line-soft);
}

.portfolio-card--big { grid-column: span 7; }
.portfolio-card--small { grid-column: span 5; }
.portfolio-card--half { grid-column: span 6; }
.portfolio-card--full { grid-column: span 12; }

.portfolio-card__media {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.portfolio-card--big .portfolio-card__media,
.portfolio-card--full .portfolio-card__media {
  aspect-ratio: 16 / 11;
}

.portfolio-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  transition: transform 1.2s var(--ease-out);
  filter: grayscale(0.05) contrast(1.02) brightness(0.85);
}

.portfolio-card:hover .portfolio-card__img {
  transform: scale(1.06);
  filter: grayscale(0) contrast(1.02) brightness(0.92);
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top,
      rgba(5, 5, 5, 0.95) 0%,
      rgba(5, 5, 5, 0.75) 30%,
      rgba(5, 5, 5, 0.25) 60%,
      rgba(5, 5, 5, 0.1) 100%);
  opacity: 1;
}

.portfolio-card__content {
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 32px;
  color: #ffffff;
  z-index: 2;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.portfolio-card__cat {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #ffffff;
}

.portfolio-card__title {
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: #ffffff;
}

.portfolio-card__meta {
  color: rgba(255, 255, 255, 0.92);
}

.portfolio-card--big .portfolio-card__title,
.portfolio-card--full .portfolio-card__title {
  font-size: clamp(28px, 3vw, 44px);
}

.portfolio-card__meta {
  font-size: 13px;
  opacity: 0.75;
}

.portfolio-card__plus {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg);
  z-index: 2;
  transition: all var(--transition);
}

.portfolio-card:hover .portfolio-card__plus {
  background: var(--color-bg);
  color: var(--color-dark);
  transform: rotate(90deg);
}

.portfolio-card__plus svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.5;
}

@media (max-width: 1000px) {
  .portfolio-card--big,
  .portfolio-card--small,
  .portfolio-card--half,
  .portfolio-card--full {
    grid-column: span 12;
  }
}

/* ---------- 13. CTA banner ---------- */
.cta-banner {
  background: #141414;
  color: var(--color-text);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.cta-banner__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
  position: relative;
  z-index: 2;
}

.cta-banner__title {
  font-size: clamp(40px, 6vw, 96px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

.cta-banner__title em {
  font-style: italic;
  font-weight: 400;
}

.cta-banner__right {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

.cta-banner__text {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}

.cta-banner__bg {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 900px) {
  .cta-banner__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ---------- 14. Contact form (home) ---------- */
.contact-section {
  background: var(--color-cream);
}

.contact-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-section__info {
  position: sticky;
  top: 120px;
}

.contact-section__title {
  margin-bottom: 32px;
}

.contact-section__lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 56px;
  max-width: 480px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-list__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--color-line);
}

.contact-list__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

.contact-list__value {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Form */
.form {
  background: linear-gradient(180deg, #1c1c1c 0%, #161616 100%);
  padding: clamp(32px, 4vw, 56px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 244, 240, 0.14);
  box-shadow:
    0 40px 100px -30px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 122, 74, 0.04),
    inset 0 1px 0 rgba(245, 244, 240, 0.05);
  position: relative;
  overflow: hidden;
}

.form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 122, 74, 0.4), transparent);
  pointer-events: none;
}

.form__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 8px;
}

.form__subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.form__group {
  position: relative;
  margin-bottom: 8px;
}

.form__field {
  position: relative;
  border-bottom: 1px solid var(--color-line);
  padding: 28px 0 14px;
  transition: border-color var(--transition);
}

.form__field:last-of-type {
  margin-bottom: 32px;
}

.form__field:focus-within {
  border-bottom-color: var(--color-text);
}

.form__label {
  position: absolute;
  top: 28px;
  left: 0;
  font-size: 15px;
  color: var(--color-text-soft);
  pointer-events: none;
  transition: all var(--transition);
}

.form__input,
.form__textarea {
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
  padding: 0;
  resize: none;
}

.form__textarea {
  min-height: 80px;
}

.form__field:focus-within .form__label,
.form__field.is-filled .form__label {
  top: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  cursor: pointer;
}

.form__check input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid var(--color-line);
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
  cursor: pointer;
  margin-top: 1px;
  transition: all var(--transition);
}

.form__check input:checked {
  background: var(--color-text);
  border-color: var(--color-text);
}

.form__check input:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid #0a0a0a;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.form__submit {
  width: 100%;
  justify-content: space-between;
  padding: 22px 28px;
}

@media (max-width: 900px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
  }
  .contact-section__info {
    position: static;
  }
}

/* ---------- 15. Footer ---------- */
.footer {
  background: #060606;
  color: var(--color-text);
  padding: clamp(64px, 8vw, 120px) 0 32px;
  position: relative;
  border-top: 1px solid var(--color-line);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: clamp(48px, 6vw, 96px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer__logo {
  display: inline-flex;
  align-items: center;
}

.footer__logo .logo__img {
  height: 88px;
  filter: none;
}

.footer__tagline {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  max-width: 360px;
}

.footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer__col-title {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 24px;
  font-weight: 500;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition);
  display: inline-block;
}

.footer__col a:hover {
  color: var(--color-bg);
  transform: translateX(4px);
}

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer__contact .footer__contact-link {
  display: grid;
  grid-template-columns: 16px 1fr;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  transition: color var(--transition);
  transform: none !important;
}

.footer__contact .footer__contact-link:hover {
  color: rgba(255, 255, 255, 0.9);
  transform: none !important;
}

.footer__contact .footer__contact-addr {
  cursor: default;
  align-items: start;
}

.footer__contact .footer__contact-addr:hover {
  color: rgba(255, 255, 255, 0.55);
}

.footer__contact-icon {
  width: 15px;
  height: 15px;
  display: block;
  opacity: 0.45;
}

.footer__legal {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px 24px;
}

.footer__legal-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__legal-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.footer__legal-value {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .footer__legal {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer__legal {
    grid-template-columns: 1fr;
  }
}

.footer__bottom-wrap {
  padding: 0 clamp(20px, 4vw, 64px);
}

.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer__bottom a:hover {
  color: var(--color-bg);
}

.footer__giant {
  font-size: clamp(80px, 18vw, 300px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.03em;
  white-space: nowrap;
  margin: 80px 0 0;
  padding: 0 clamp(20px, 4vw, 64px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-align: center;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 1000px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
  .footer__nav {
    grid-template-columns: 1fr 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .footer__nav {
    grid-template-columns: 1fr;
  }
}

/* ---------- 16. Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(80px, 10vw, 160px));
  padding-bottom: clamp(80px, 10vw, 160px);
  background: var(--color-bg);
  overflow: hidden;
  border-bottom: 1px solid var(--color-line);
  isolation: isolate;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 106, 61, 0.1), transparent 45%),
    radial-gradient(circle at 0% 100%, rgba(96, 144, 255, 0.06), transparent 50%);
  filter: blur(60px);
  z-index: -1;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 244, 240, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 244, 240, 0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse 70% 60% at center, black 0%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 0%, transparent 90%);
  z-index: -1;
  pointer-events: none;
}

@media (min-width: 769px) {
  .page-hero {
    padding-top: calc(var(--header-h) + clamp(40px, 5vw, 80px));
  }
}

.page-hero__breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  margin-bottom: 64px;
}

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

.page-hero__breadcrumbs span {
  color: var(--color-text);
}

.page-hero__title {
  font-size: clamp(56px, 11vw, 200px);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.045em;
  margin-bottom: 48px;
  max-width: 1200px;
}

.page-hero__title em,
.section-head__title em,
.cta-banner__title em,
.h-1 em,
.h-2 em {
  font-style: italic;
  font-weight: 400;
  color: #ff7a4a;
}

.page-hero__bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  padding-top: 48px;
  border-top: 1px solid var(--color-line);
}

.page-hero__desc {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.55;
  color: var(--color-text-muted);
  max-width: 540px;
}

.page-hero__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  text-align: right;
  color: var(--color-text-muted);
}

.page-hero__meta strong {
  color: var(--color-text);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.page-hero--404 {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.page-hero--404 .container {
  position: relative;
  z-index: 1;
}

.page-hero--404 .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .page-hero__breadcrumbs {
    margin-bottom: 40px;
  }
  .page-hero__title {
    font-size: clamp(36px, 10vw, 72px);
    line-height: 0.95;
    margin-bottom: 32px;
    overflow-wrap: break-word;
  }
  .page-hero__bottom {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-top: 32px;
  }
  .page-hero__meta {
    text-align: left;
  }
  .page-hero--404 {
    min-height: auto;
  }
  .page-hero--404 .hero__actions {
    margin-top: 32px;
  }
}

@media (max-width: 400px) {
  .page-hero__title {
    font-size: 34px;
    line-height: 0.98;
  }
}

/* ---------- 17. About page sections ---------- */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.about-intro__aside {
  position: sticky;
  top: 120px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.about-intro__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  align-self: flex-start;
}

.about-intro__label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
}

.about-intro__logo-wrap {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1.05;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  user-select: none;
}

.about-intro__logo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 122, 74, 0.18) 0%, rgba(245, 244, 240, 0.06) 30%, transparent 65%);
  filter: blur(60px);
  z-index: 0;
}

.about-intro__logo {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.18;
  filter: blur(0.4px);
  z-index: 1;
  animation: logoFloat 14s ease-in-out infinite alternate;
}

@keyframes logoFloat {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(0, -8px, 0) scale(1.02); }
}

.about-intro__text {
  font-size: clamp(20px, 2vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.about-intro__text p {
  margin-bottom: 32px;
}

.about-intro__text p:last-child {
  margin-bottom: 0;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.6;
  color: var(--color-text-muted);
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .about-intro {
    grid-template-columns: 1fr;
  }
  .about-intro__aside {
    position: static;
    top: auto;
    gap: 32px;
  }
  .about-intro__logo-wrap {
    max-width: 320px;
    margin: 0 auto;
  }
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-line);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
  margin-top: clamp(48px, 6vw, 80px);
}

.value-card {
  background: var(--color-bg);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  min-height: 320px;
  transition: background var(--transition);
}

.value-card:hover {
  background: var(--color-cream);
}

.value-card__num {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.value-card__title {
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: auto;
  margin-bottom: 16px;
}

.value-card__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

@media (max-width: 900px) {
  .values {
    grid-template-columns: 1fr;
  }
}

.process {
  background: #060606;
  color: var(--color-text);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.process__list {
  display: flex;
  flex-direction: column;
}

.process__item {
  display: grid;
  grid-template-columns: 100px 1fr 2fr;
  gap: 64px;
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}

.process__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.process__num {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.4);
}

.process__title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.process__text {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
}

@media (max-width: 900px) {
  .process__item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }
}

/* ---------- 18. Services page ---------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(72px, 9vw, 120px) 0;
  border-bottom: 1px solid var(--color-line);
}

.service-block__sticky {
  position: sticky;
  top: 120px;
}

.service-block__num {
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-block__num::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
}

.service-block__title {
  font-size: clamp(40px, 5vw, 80px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  margin-bottom: 32px;
}

.service-block__intro {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  max-width: 420px;
}

.service-block__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-line);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-item {
  background: var(--color-bg);
  padding: 32px 28px;
  transition: background var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-item:hover {
  background: var(--color-cream);
}

.service-item__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.service-item__title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.service-item__arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}

.service-item:hover .service-item__arrow {
  border-color: var(--color-text);
  transform: rotate(-45deg);
}

.service-item__arrow svg {
  width: 12px;
  height: 12px;
}

.service-item__desc {
  font-size: 13px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

a.service-item--link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.service-item--link:hover {
  background: var(--color-cream);
}

a.service-item--link:hover .service-item__arrow--ext {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
  transform: none;
}

@media (max-width: 900px) {
  .service-block {
    grid-template-columns: 1fr;
  }
  .service-block__sticky {
    position: static;
  }
  .service-block__list {
    grid-template-columns: 1fr;
  }
}

/* ---------- 19. Portfolio page ---------- */
.portfolio-page__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-line);
}

.filter-btn {
  padding: 12px 24px;
  border: 1px solid var(--color-line);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.005em;
  background: var(--color-bg);
  color: var(--color-text);
  transition: all var(--transition);
}

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

.filter-btn.is-active {
  background: var(--color-text);
  color: #0a0a0a;
  border-color: var(--color-text);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.portfolio-grid .portfolio-card {
  grid-column: span 1;
}

.portfolio-grid .portfolio-card__media {
  aspect-ratio: 3 / 2;
}

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- 20. Contacts page ---------- */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--color-line);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.contact-card {
  background: var(--color-bg);
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
  transition: background var(--transition);
}

.contact-card:hover {
  background: var(--color-bg-alt);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: clamp(24px, 3vw, 48px);
}

.contact-card__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.contact-card__label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

.contact-card__value {
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-top: auto;
}

.contact-card__sub {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

.map-block {
  position: relative;
  height: clamp(320px, 50vw, 560px);
  background: var(--color-bg-alt);
  overflow: hidden;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
}

.map-block__inner {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(245, 244, 240, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 244, 240, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

.map-block__pin {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-text);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.map-block__pin::before,
.map-block__pin::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--color-text);
  animation: pinPulse 2.4s ease-out infinite;
}

.map-block__pin::after {
  animation-delay: 1.2s;
}

@keyframes pinPulse {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(2.5); opacity: 0; }
}

.map-block__pin svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.map-block__label {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--color-bg-elevated);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--color-line);
  z-index: 2;
  backdrop-filter: blur(10px);
}

.map-block__label strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.map-block__label span {
  color: var(--color-text-muted);
  font-weight: 400;
}

/* ---------- Founder section ---------- */
.founder {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.founder__media {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  aspect-ratio: 4 / 5;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7);
}

.founder__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.05) contrast(1.04) brightness(0.96);
}

.founder__badge {
  position: absolute;
  top: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 244, 240, 0.2);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  font-weight: 500;
}

.founder__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7a4a;
  box-shadow: 0 0 12px rgba(255, 122, 74, 0.6);
}

.founder__content {
  display: flex;
  flex-direction: column;
}

.founder__index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.founder__index::before {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
}

.founder__name {
  font-size: clamp(36px, 4.4vw, 64px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.founder__role {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #ff7a4a;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-line);
}

.founder__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.founder__text p {
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.6;
  color: var(--color-text-muted);
}

.founder__quote {
  margin-top: 32px;
  padding: 24px 0 0;
  border-top: 1px solid var(--color-line);
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--color-text);
  font-style: italic;
  font-weight: 400;
  position: relative;
  padding-left: 24px;
}

.founder__quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 30px;
  bottom: 4px;
  width: 2px;
  background: #ff7a4a;
}

@media (max-width: 900px) {
  .founder {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .founder__media {
    width: 100%;
    max-width: 480px;
    justify-self: center;
    margin: 0;
  }
}

/* ---------- Requisites block ---------- */
.requisites {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 56px);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.5);
}

.requisites__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 32px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--color-line);
  flex-wrap: wrap;
}

.requisites__index {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

.requisites__index::before {
  content: '';
  width: 28px;
  height: 1px;
  background: currentColor;
}

.requisites__title {
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.requisites__name {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: 8px;
}

.requisites__copy {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid var(--color-line);
  border-radius: 100px;
  cursor: pointer;
  font-weight: 500;
  transition: all var(--transition);
}

.requisites__copy:hover {
  background: var(--color-text);
  color: #0a0a0a;
  border-color: var(--color-text);
}

.requisites__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
}

.requisites__item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-line-soft);
}

.requisites__label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  font-weight: 500;
}

.requisites__value {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--color-text);
  font-variant-numeric: tabular-nums;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .requisites__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ---------- 21. Reveal animations ---------- */
html.bortsov-animations [data-reveal] {
  opacity: 1;
  transform: none;
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

html.bortsov-animations [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }
[data-reveal-delay="5"] { transition-delay: 0.5s; }

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

/* ---------- Lightbox ---------- */
.lb {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lb.is-open {
  opacity: 1;
  pointer-events: all;
}
.lb__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.92);
}
.lb__stage {
  position: relative;
  z-index: 1;
  max-width: calc(100vw - 140px);
  max-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb__img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
  border-radius: 8px;
  transition: opacity 0.25s ease;
  display: block;
}
.lb__close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb__close:hover { background: rgba(255,255,255,0.2); }
.lb__close svg { width: 18px; height: 18px; display: block; }
.lb__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.lb__arrow:hover { background: rgba(255,255,255,0.18); }
.lb__arrow svg { width: 22px; height: 22px; display: block; }
.lb__arrow--prev { left: 24px; }
.lb__arrow--next { right: 24px; }
.lb__info {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.lb__title {
  color: rgba(255,255,255,0.8);
  font-size: 14px;
  font-weight: 500;
}
.lb__counter {
  color: rgba(255,255,255,0.4);
  font-size: 13px;
}
@media (max-width: 768px) {
  .lb__stage { max-width: calc(100vw - 32px); }
  .lb__arrow--prev { left: 8px; }
  .lb__arrow--next { right: 8px; }
}

/* ---------- 27. Desktop spacing compaction ---------- */
@media (min-width: 769px) {
  :root {
    --section-py: clamp(56px, 8vw, 128px);
    --section-py-sm: clamp(40px, 5vw, 88px);
  }

  .section-head,
  .stats__head {
    margin-bottom: clamp(36px, 4vw, 72px);
    padding-bottom: 24px;
  }

  .hero__container {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero__meta {
    margin-bottom: 36px;
  }

  .hero__title {
    font-size: clamp(52px, 10vw, 184px);
  }

  .hero__title,
  .page-hero__title {
    margin-bottom: 32px;
  }

  .hero__bottom,
  .page-hero__bottom,
  .cta-banner__inner,
  .footer__top,
  .process__item {
    gap: 40px;
  }

  .hero__bottom,
  .page-hero__bottom {
    padding-top: 32px;
  }

  .page-hero {
    padding-top: calc(var(--header-h) + clamp(24px, 3vw, 48px));
    padding-bottom: clamp(56px, 6vw, 104px);
  }

  .page-hero__breadcrumbs {
    margin-bottom: 32px;
  }

  .contact-section__inner,
  .about-intro,
  .founder,
  .service-block {
    gap: clamp(32px, 4vw, 64px);
  }

  .contact-section__lead {
    margin-bottom: 40px;
  }

  .about-intro__aside {
    gap: 32px;
  }

  .values {
    margin-top: clamp(32px, 4vw, 56px);
  }

  .process__item {
    padding: 36px 0;
  }

  .service-block {
    padding: clamp(48px, 6vw, 88px) 0;
  }

  .footer {
    padding: clamp(56px, 6vw, 96px) 0 32px;
  }

  .footer__top {
    padding-bottom: clamp(36px, 4vw, 72px);
  }

  .footer__giant {
    margin-top: 48px;
  }
}

/* ============================================================
   LEGAL PAGES (privacy, consent)
   ============================================================ */
.container--narrow {
  max-width: 880px;
}

.page-hero__title--legal {
  font-size: clamp(40px, 6vw, 96px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-bottom: 32px;
  word-break: normal;
  overflow-wrap: break-word;
}

.legal-section {
  padding-top: clamp(40px, 5vw, 80px);
}

.legal-content {
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.75;
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: clamp(40px, 5vw, 64px) 0 16px;
  color: var(--color-text);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin: 0 0 16px;
  color: var(--color-text-muted);
}

.legal-content ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.legal-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: var(--color-text-muted);
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 12px;
  width: 6px;
  height: 1px;
  background: var(--color-text-soft);
}

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

.legal-content a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-line);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s var(--ease);
}

.legal-content a:hover {
  text-decoration-color: var(--color-text);
}

.legal-content__note {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  font-size: 14px;
  color: var(--color-text-soft);
}

.legal-requisites {
  margin: 8px 0 16px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.legal-requisites__row {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-line-soft);
}

.legal-requisites__row:last-child {
  border-bottom: none;
}

.legal-requisites__row span:first-child {
  color: var(--color-text-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.legal-requisites__row span:last-child {
  color: var(--color-text);
  font-size: 15px;
}

@media (max-width: 640px) {
  .legal-requisites__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
  }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--color-line);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.3s var(--ease);
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}

.cookie-banner__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.cookie-banner__text strong {
  display: block;
  color: var(--color-text);
  font-weight: 600;
  margin-bottom: 4px;
  font-size: 15px;
}

.cookie-banner__text a {
  color: var(--color-text);
  text-decoration: underline;
  text-decoration-color: var(--color-line);
  text-underline-offset: 3px;
}

.cookie-banner__text a:hover {
  text-decoration-color: var(--color-text);
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn--sm {
  padding: 10px 18px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

@media (max-width: 720px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__actions .btn {
    flex: 1;
    justify-content: center;
  }

  .cookie-banner__text {
    font-size: 13px;
  }
}

.bortsovgroup-front-edit-link {
  position: absolute;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(255, 116, 72, 0.55);
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.86);
  color: var(--color-text);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}

.bortsovgroup-front-edit-link:hover {
  border-color: var(--color-accent);
  background: var(--color-accent);
  color: #101010;
}

.bortsovgroup-front-edit-link--hero {
  right: 24px;
  top: -42px;
}

.about-preview__features {
  position: relative;
}

.bortsovgroup-front-edit-link--features {
  right: 0;
  top: -46px;
}

/* End */


/* Start:/local/templates/bortsovgroup/assets/css/animations.css?17800487364146*/
/* =========================================================
   BORTSOV GROUP — Animations
   Дополнительные анимации и motion-эффекты
   ========================================================= */

/* ---------- Page load ---------- */
.page-fade {
  opacity: 0;
  animation: pageFadeIn 0.8s var(--ease-out) 0.1s forwards;
}

@keyframes pageFadeIn {
  to { opacity: 1; }
}

/* ---------- Split text reveal (word-level) ---------- */
.split-line {
  display: block;
  overflow: hidden;
  line-height: 1;
}

.split-word {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
}

.is-revealed .split-word {
  animation: wordRise 1s var(--ease-out) forwards;
}

.is-revealed .split-word:nth-child(1)  { animation-delay: 0.05s; }
.is-revealed .split-word:nth-child(2)  { animation-delay: 0.10s; }
.is-revealed .split-word:nth-child(3)  { animation-delay: 0.15s; }
.is-revealed .split-word:nth-child(4)  { animation-delay: 0.20s; }
.is-revealed .split-word:nth-child(5)  { animation-delay: 0.25s; }
.is-revealed .split-word:nth-child(6)  { animation-delay: 0.30s; }
.is-revealed .split-word:nth-child(7)  { animation-delay: 0.35s; }
.is-revealed .split-word:nth-child(8)  { animation-delay: 0.40s; }
.is-revealed .split-word:nth-child(9)  { animation-delay: 0.45s; }
.is-revealed .split-word:nth-child(10) { animation-delay: 0.50s; }

@keyframes wordRise {
  from {
    transform: translateY(110%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ---------- Counter animation helper ---------- */
.counter {
  font-variant-numeric: tabular-nums;
}

/* ---------- Reveal variants ---------- */
[data-reveal="left"] {
  transform: translateX(-50px);
}

[data-reveal="left"].is-visible {
  transform: translateX(0);
}

[data-reveal="right"] {
  transform: translateX(50px);
}

[data-reveal="right"].is-visible {
  transform: translateX(0);
}

[data-reveal="scale"] {
  transform: scale(0.92);
}

[data-reveal="scale"].is-visible {
  transform: scale(1);
}

[data-reveal="fade"] {
  transform: none;
}

/* ---------- Image reveal (clip-path) ---------- */
[data-reveal="image"] {
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: none;
}

[data-reveal="image"]::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-bg);
  transform-origin: right;
  transition: transform 1.2s var(--ease-out);
  z-index: 5;
}

[data-reveal="image"].is-visible::after {
  transform: scaleX(0);
}

/* ---------- Hover effects ---------- */
.hover-shift {
  transition: transform var(--transition);
}

.hover-shift:hover {
  transform: translateX(8px);
}

/* ---------- Magnetic button area ---------- */
.magnetic {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

/* ---------- Marquee variants ---------- */
.marquee--reverse .marquee__track {
  animation-direction: reverse;
}

.marquee--slow .marquee__track {
  animation-duration: 60s;
}

/* ---------- Underline draw ---------- */
.underline-draw {
  position: relative;
  display: inline-block;
}

.underline-draw::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.7s var(--ease-out);
}

.underline-draw:hover::after,
.is-visible .underline-draw::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Floating shape util ---------- */
.float-shape {
  animation: float 8s ease-in-out infinite;
}

.float-shape--alt {
  animation: float 10s ease-in-out infinite;
  animation-delay: -2s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

/* ---------- Number rotate counter (CSS-only) ---------- */
.num-rise {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.num-rise span {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 1s var(--ease-out), opacity 1s var(--ease-out);
}

.is-visible .num-rise span {
  transform: translateY(0);
  opacity: 1;
}

/* End */
/* /local/templates/bortsovgroup/assets/css/style.css?178058524770087 */
/* /local/templates/bortsovgroup/assets/css/animations.css?17800487364146 */
