/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --bg-dark: #0a0a0a;
  --bg-section: #0e0e12;
  --bg-light: #e8e6ed;
  --text-light: #eae9ee;
  --text-muted: #9a97a6;
  --text-dark: #1a1a1e;
  --accent: #b44eff;
  --accent-hover: #cc7aff;
  --neon-pink: #ff2d8a;
  --neon-blue: #4d6bff;
  --border-subtle: rgba(255,255,255,0.06);
  --font: 'Montserrat', sans-serif;
  --max-w: 1400px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-overflow-scrolling: touch;
}

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

html.lang-en-init body {
  opacity: 0;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ===== NOISE OVERLAY ===== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.8;
  /* шум подключается после загрузки (html.is-loaded) — не мешает первому экрану */
  background-repeat: repeat;
  background-size: 128px 128px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  padding-top: calc(1.2rem + env(safe-area-inset-top, 0px));
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav__links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition);
}

.nav__links a:hover { color: var(--text-light); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.8rem;
  border: 1px solid var(--text-muted);
  border-radius: 50px;
  color: var(--text-light);
  transition: var(--transition);
}

.nav__cta:hover {
  background: var(--text-light);
  color: var(--bg-dark);
  border-color: var(--text-light);
  transform: translateY(-1px);
}

.nav__cta:active { transform: scale(0.98); }

.lang-toggle {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  transition: var(--transition);
  cursor: pointer;
  margin-left: 0.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-toggle:hover {
  color: var(--text-light);
  border-color: var(--accent);
  background: rgba(180, 78, 255, 0.1);
  transform: translateY(-1px);
}

.lang-toggle:active { transform: scale(0.95); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  height: 1.5px;
  background: var(--text-light);
  transition: var(--transition);
  border-radius: 1px;
}

/* ===== HERO (XENIA REFERENCE STYLE) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.4) 0%,
    rgba(10,10,10,0.1) 30%,
    rgba(10,10,10,0.15) 60%,
    rgba(10,10,10,0.8) 100%
  );
  pointer-events: none;
}

/* Top bar */
.hero__topbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 0;
  padding: 0 1rem;
}

.hero__topbar-item {
  flex: 1;
  text-align: center;
  padding: 1rem 1.5rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.6);
  border-left: 1px solid rgba(255,255,255,0.1);
  transition: var(--transition);
}

.hero__topbar-item:first-child { border-left: none; }
.hero__topbar-item:hover { color: #fff; }

.hero__lang {
  position: absolute;
  top: clamp(1.2rem, 3vh, 1.5rem);
  right: clamp(1.25rem, 4vw, 3rem);
  z-index: 20;
}

/* Full background photo */
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.15);
  transition: filter 0.5s;
}

.hero:hover .hero__photo img { filter: grayscale(0); }

/* Giant name over photo */
.hero__bigname {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: clamp(5rem, 15vw, 18rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.85;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.12);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  text-shadow: 0 0 80px rgba(180, 78, 255, 0.1);
}

.hero__bigname::before,
.hero__bigname::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.hero:hover .hero__bigname::before {
  opacity: 0.5;
  color: var(--neon-pink);
  clip-path: inset(0 0 60% 0);
  animation: glitchClip1 0.4s steps(2) infinite;
  transform: translateX(-4px);
}

.hero:hover .hero__bigname::after {
  opacity: 0.5;
  color: var(--neon-blue);
  clip-path: inset(40% 0 0 0);
  animation: glitchClip2 0.4s steps(2) infinite;
  transform: translateX(4px);
}

/* White circle button */
.hero__circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: clamp(120px, 14vw, 200px);
  height: clamp(120px, 14vw, 200px);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  cursor: pointer;
}

.hero__circle:hover {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 60px rgba(180, 78, 255, 0.3);
}

.hero__circle:active {
  transform: translate(-50%, -50%) scale(0.96);
}

.hero__circle-text {
  font-size: clamp(0.7rem, 1.2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #0a0a0a;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.hero__circle-text::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Left text block */
.hero__left-text {
  position: absolute;
  left: clamp(1.5rem, 4vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__left-text span {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.hero__left-text strong {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
}

/* Right text block */
.hero__right-text {
  position: absolute;
  right: clamp(1.5rem, 4vw, 3rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-align: right;
}

.hero__right-text span {
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

.hero__right-text strong {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
}

/* Social links bottom-right */
.hero__socials {
  position: absolute;
  bottom: clamp(1.5rem, 3vh, 2.5rem);
  right: clamp(1.5rem, 4vw, 3rem);
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: right;
}

.hero__socials-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.2rem;
}

.hero__socials-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--accent);
  margin-right: 0.4rem;
  vertical-align: middle;
}

.hero__socials a {
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.hero__socials a:hover { color: #fff; }

/* Scroll down bottom-left */
.hero__scroll {
  position: absolute;
  bottom: clamp(1.5rem, 3vh, 2.5rem);
  left: clamp(1.5rem, 4vw, 3rem);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero__scroll-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero__scroll-line {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollLine 2s ease-in-out infinite;
}

.hero__scroll span {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.5);
  text-transform: lowercase;
  line-height: 1.3;
}

/* ===== MARQUEE ===== */
.marquee {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  background: var(--bg-dark);
  position: relative;
}

.marquee::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--accent), var(--neon-pink), var(--neon-blue), var(--accent));
  background-size: 300% 100%;
  opacity: 0.04;
  animation: neonSweep 6s linear infinite;
}

.marquee__track {
  display: flex;
  gap: 3rem;
  animation: marqueeScroll 18s linear infinite;
  width: max-content;
}

.marquee__item {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 3rem;
  transition: color 0.2s;
}

.marquee:hover .marquee__item { color: var(--text-light); }

.marquee__item::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  animation: neonPulse 2s ease-in-out infinite;
}

/* ===== ABOUT ===== */
.about {
  padding: clamp(5rem, 10vh, 10rem) 0;
  background: var(--bg-dark);
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.about__image-wrap {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
}

.about__image-wrap img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about__image-wrap:hover img { transform: scale(1.03); }

.about__image-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 1rem;
  z-index: 1;
  pointer-events: none;
}

.about__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.about__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 2rem;
}

.about__text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 55ch;
  margin-bottom: 2.5rem;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.about__stat-number {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-light);
  font-variant-numeric: tabular-nums;
}

.about__stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ===== SERVICES ===== */
.services {
  padding: clamp(5rem, 10vh, 10rem) 0;
  background: var(--bg-section);
}

.section__label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-bottom: 1rem;
}

.section__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 1rem;
}

.section__descr {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  text-align: center;
  max-width: 55ch;
  margin: 0 auto 4rem;
  line-height: 1.7;
}

.services__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.service-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  transition: var(--transition);
  cursor: default;
}

.service-item:last-child { border-bottom: 1px solid var(--border-subtle); }

.service-item:hover { padding-left: 1rem; }

.service-item__num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  width: 2rem;
}

.service-item__title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
}

.service-item__descr {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--text-muted);
  text-align: right;
  max-width: 30ch;
}

/* ===== PORTFOLIO ===== */
.portfolio {
  padding: clamp(5rem, 10vh, 10rem) 0;
  background: var(--bg-dark);
  position: relative;
}

/* Filter Tabs */
.portfolio__tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.portfolio__tab {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 1.8rem;
  border: 1px solid var(--border-subtle);
  border-radius: 50px;
  color: var(--text-muted);
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
}

.portfolio__tab:hover {
  color: var(--text-light);
  border-color: var(--text-muted);
}

.portfolio__tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* Portfolio Grid */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.portfolio__item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  transition: opacity 0.4s, transform 0.4s;
}

.portfolio__item.hidden {
  display: none;
}

.portfolio__item--poster {
  aspect-ratio: auto;
}

.portfolio__item--video {
  aspect-ratio: 16/9;
}

.portfolio__item img,
.portfolio__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
}

.portfolio__item--poster img {
  object-position: center;
}

.portfolio__item:hover img,
.portfolio__item:hover video {
  transform: scale(1.06);
}

.portfolio__item::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 0.75rem;
  padding: 1px;
  background: linear-gradient(135deg, transparent, var(--accent), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}

.portfolio__item:hover::before { opacity: 1; }

.portfolio__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, rgba(10,10,10,0.2) 40%, transparent 70%);
  transition: var(--transition);
}

.portfolio__item:hover::after {
  background: linear-gradient(to top, rgba(10,10,10,0.6) 0%, transparent 50%);
}

.portfolio__item-title {
  position: absolute;
  bottom: 1.2rem;
  left: 1.2rem;
  z-index: 3;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: translateY(0);
  opacity: 1;
  transition: var(--transition);
}

.portfolio__item--video .portfolio__item-title {
  transform: translateY(0);
  opacity: 1;
}

/* Video Play Button */
.portfolio__item-play {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.portfolio__item-play svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  margin-left: 2px;
}

.portfolio__item:hover .portfolio__item-play {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 20px rgba(180, 78, 255, 0.4);
}

.portfolio__item--video.playing .portfolio__item-play {
  opacity: 0;
  pointer-events: none;
}

/* Gallery section */
.gallery {
  padding: clamp(3rem, 6vh, 5rem) 0;
  background: var(--bg-dark);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.gallery__item {
  position: relative;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
  filter: grayscale(0.3);
}

.gallery__item:hover img {
  transform: scale(1.1);
  filter: grayscale(0) contrast(1.15) saturate(1.3);
}

.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(180, 78, 255, 0);
  mix-blend-mode: color;
  transition: background 0.3s;
}

.gallery__item:hover::after {
  background: rgba(180, 78, 255, 0.15);
}

/* ===== FAQ ===== */
.faq {
  padding: clamp(5rem, 10vh, 10rem) 0;
  background: var(--bg-section);
}

.faq__list {
  max-width: 800px;
  margin: 0 auto;
}

.faq__item {
  border-top: 1px solid var(--border-subtle);
}

.faq__item:last-child { border-bottom: 1px solid var(--border-subtle); }

.faq__question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 500;
  color: var(--text-light);
  text-align: left;
  transition: var(--transition);
}

.faq__question:hover { color: var(--accent); }

.faq__icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--text-light);
  transition: var(--transition);
}

.faq__icon::before { width: 12px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 12px; }

.faq__item.active .faq__icon { background: var(--accent); border-color: var(--accent); }
.faq__item.active .faq__icon::before { background: var(--bg-dark); }
.faq__item.active .faq__icon::after { height: 0; }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__answer-inner {
  padding-bottom: 1.8rem;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 60ch;
}

/* ===== CONTACT ===== */
.contact {
  padding: clamp(5rem, 10vh, 10rem) 0;
  background: var(--bg-dark);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}

.contact__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.contact__text {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 45ch;
  margin-bottom: 2.5rem;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
  transition: var(--transition);
}

.contact__link:hover { color: var(--text-light); transform: translateX(4px); }

.contact__link-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact__link:hover .contact__link-icon {
  border-color: var(--accent);
  background: rgba(200, 164, 212, 0.1);
}

.contact__link-icon svg {
  width: 18px;
  height: 18px;
  fill: var(--text-muted);
  transition: var(--transition);
}

.contact__link:hover .contact__link-icon svg { fill: var(--accent); }

.contact__socials {
  display: flex;
  gap: 1rem;
  margin-top: 3rem;
}

.contact__social {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact__social:hover {
  border-color: var(--accent);
  background: rgba(200, 164, 212, 0.1);
  transform: translateY(-2px);
}

.contact__social:active { transform: scale(0.95); }

.contact__social svg {
  width: 20px;
  height: 20px;
  fill: var(--text-muted);
  transition: var(--transition);
}

.contact__social:hover svg { fill: var(--accent); }

.contact__photo {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  position: relative;
}

.contact__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  aspect-ratio: 3/4;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s;
  filter: grayscale(0.15);
}

.contact__photo:hover img {
  transform: scale(1.03);
  filter: grayscale(0);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox.open .lightbox__content {
  transform: scale(1);
}

.lightbox__img,
.lightbox__video {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 0.75rem;
  background: #000;
  outline: none;
  display: none;
}

.lightbox__img.active,
.lightbox__video.active {
  display: block;
}

.lightbox__img {
  object-fit: contain;
}

.lightbox__caption {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vh, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  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.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox__close svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.lightbox__close:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: rotate(90deg);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox__nav svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 2rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 2rem); }

/* ===== SEO ARTICLES ===== */
.seo-articles {
  padding: clamp(3rem, 6vh, 6rem) 0;
  background: var(--bg-section);
}

.seo-article {
  max-width: 800px;
  margin: 0 auto;
}

.seo-article + .seo-article {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.seo-article__title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.seo-article h3 {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.seo-article p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.seo-article strong {
  color: var(--text-light);
  font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-dark);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.footer__back {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__back:hover { color: var(--text-light); }

.footer__back svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: var(--transition);
}

.footer__back:hover svg { transform: translateY(-2px); }

/* ===== ANIMATIONS ===== */
@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes glitchText {
  0% { transform: translate(0); }
  25% { transform: translate(-2px, 1px); }
  50% { transform: translate(2px, -1px); }
  75% { transform: translate(-1px, -1px); }
  100% { transform: translate(0); }
}

@keyframes glitchClip1 {
  0% { clip-path: inset(0 0 60% 0); }
  50% { clip-path: inset(20% 0 40% 0); }
  100% { clip-path: inset(0 0 60% 0); }
}

@keyframes glitchClip2 {
  0% { clip-path: inset(40% 0 0 0); }
  50% { clip-path: inset(60% 0 10% 0); }
  100% { clip-path: inset(40% 0 0 0); }
}

@keyframes neonPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--accent); }
  50% { opacity: 0.5; box-shadow: 0 0 12px var(--accent); }
}

@keyframes neonSweep {
  0% { background-position: 0% 0%; }
  100% { background-position: 300% 0%; }
}

@keyframes strobeLine {
  0%, 90%, 100% { opacity: 0.06; }
  92%, 96% { opacity: 0.15; }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px) translateZ(0);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

/* Strobe line dividers */
.strobe-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--neon-pink), transparent);
  opacity: 0.06;
  animation: strobeLine 4s ease-in-out infinite;
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu a {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-light);
  transition: var(--transition);
}

.mobile-menu a:hover { color: var(--accent); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; gap: 3rem; }
  .about__image-wrap { max-width: 500px; }
  .contact__inner { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .hero__photo img { object-position: 55% 25%; }
  .hero__bigname { font-size: clamp(4rem, 13vw, 14rem); }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .lang-toggle { margin-left: auto; margin-right: 1rem; }

  .hero__topbar { display: none; }
  .hero__left-text { display: none; }
  .hero__right-text { display: none; }
  .hero__photo img { object-position: 35% 15%; }
  .hero__bigname { font-size: clamp(3rem, 16vw, 8rem); bottom: 8%; }
  .hero__circle { width: 100px; height: 100px; }

  .service-item {
    grid-template-columns: auto 1fr;
    gap: 1rem;
  }
  .service-item__descr {
    grid-column: 1 / -1;
    text-align: left;
    max-width: none;
  }

  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }

  .about__stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }

  .contact__socials { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .hero__bigname { font-size: clamp(2.5rem, 18vw, 5rem); }
  .hero__circle { width: 80px; height: 80px; }
  .hero__circle-text { font-size: 0.55rem; }
  .hero__socials { display: none; }
  .about__stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .gallery__grid { grid-template-columns: 1fr 1fr; }
}

/* ===== ПРАВКИ 26.10 ===== */

/* VICTORIA над KRUTSKAYA. Абсолютом, чтобы бокс h1 остался ровно под фамилией:
   на него завязаны глитч-слои ::before/::after (content: attr(data-text)). */
.hero__firstname {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.18em;
  font-size: 0.26em;
  font-weight: 700;
  letter-spacing: 0.62em;
  padding-left: 0.62em; /* компенсирует хвостовой letter-spacing, иначе слово съезжает влево */
  line-height: 1;
}
.hero__lastname { display: inline; }

/* Мерцание «как неоновая вывеска»: каждая буква в своём ритме (--t) и со своей задержкой (--d).
   Анимируются только color/text-shadow — геометрия не меняется, вёрстка не дёргается. */
.hero__firstname span,
.hero__lastname span {
  display: inline-block;
  animation: neonFlicker var(--t, 6s) linear var(--d, 0s) infinite;
}
.hero__firstname span { color: rgba(255, 255, 255, 0.55); }

@keyframes neonFlicker {
  0%, 62%, 100% { color: inherit; text-shadow: none; }
  63%   { color: rgba(255,255,255,0.9); text-shadow: 0 0 12px var(--accent), 0 0 34px var(--neon-pink), 0 0 70px rgba(180,78,255,0.6); }
  64.5% { color: inherit; text-shadow: none; }
  66%   { color: rgba(255,255,255,0.85); text-shadow: 0 0 12px var(--accent), 0 0 34px var(--neon-pink); }
  72%   { color: rgba(255,255,255,0.85); text-shadow: 0 0 12px var(--accent), 0 0 34px var(--neon-pink), 0 0 70px rgba(180,78,255,0.6); }
  73%   { color: inherit; text-shadow: none; }
  74%   { color: rgba(255,255,255,0.7); text-shadow: 0 0 10px var(--accent); }
  75.5% { color: inherit; text-shadow: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__firstname span, .hero__lastname span { animation: none; }
}

/* «Обо мне»: подзаголовок и несколько абзацев вместо одного */
.about__title { margin-bottom: 0.6rem; }
.about__subtitle {
  font-size: clamp(0.8rem, 1.2vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.about__text p + p { margin-top: 1em; }
.about__text strong { color: var(--text-light); font-weight: 600; }
.about__image-wrap img { object-position: center 30%; }

/* Портфолио: исходники вертикальные — плитки 4:5, иначе режутся лица */
.portfolio__item,
.portfolio__item--video { aspect-ratio: 4/5; }
.portfolio__item img,
.portfolio__item video { object-position: center 30%; }
.portfolio__item--poster { aspect-ratio: 9/16; }
.portfolio__item--poster img,
.portfolio__item--poster video { object-position: center; }

/* Личные фото: 4 в ряд, 3:4 под вертикальные кадры */
.gallery__item { aspect-ratio: 3/4; }
.gallery__item img { object-position: center 25%; }
.portfolio__item--contain { background: #050505; }
.portfolio__item--contain img { object-fit: contain; }

/* KRUTSKAYA ≈ 6.3em шириной: при 16–18vw на телефоне вылезала за края (до правок −22 px слева/справа).
   14.2vw = слово во всю ширину с полями ~16 px. */
@media (max-width: 768px) {
  .hero__bigname { font-size: 14.2vw; bottom: 17%; }
}

/* GSAP (motion.js): маска слов заголовков и магнитная кнопка */
.mk-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.mk-wi { display: inline-block; }
.hero__circle.is-gsap { transition: box-shadow 0.4s; }
.hero__circle.is-gsap:hover { transform: translate(-50%, -50%); } /* перекрывается инлайном GSAP; масштаб при наведении — в motion.js */
.marquee__item { will-change: transform; }
.gallery { overflow: hidden; }

/* ===== ОКНО ЗАЯВКИ (правки 26.10) ===== */
.bmodal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1.5rem; }
.bmodal[hidden] { display: none; }
.bmodal__overlay {
  position: absolute; inset: 0; background: rgba(5, 5, 8, 0.78);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.35s;
}
.bmodal.open .bmodal__overlay { opacity: 1; }
.bmodal__box {
  position: relative; width: min(980px, 100%); max-height: calc(100dvh - 3rem);
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  background: #101014; border: 1px solid rgba(255,255,255,0.08); border-radius: 1.25rem; overflow: hidden;
  box-shadow: 0 40px 120px rgba(0,0,0,0.6), 0 0 80px rgba(180,78,255,0.12);
  opacity: 0; transform: translateY(40px) scale(0.97);
  transition: opacity 0.35s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.bmodal.open .bmodal__box { opacity: 1; transform: none; }
.bmodal__photo { position: relative; min-height: 100%; overflow: hidden; }
.bmodal__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.bmodal__photo::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,14,0.85), transparent 45%), linear-gradient(to right, transparent 70%, #101014);
}
.bmodal__photo-name {
  position: absolute; left: 1.5rem; bottom: 1.4rem; z-index: 1;
  font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 900; line-height: 0.95; letter-spacing: -0.02em;
  text-shadow: 0 0 24px rgba(180,78,255,0.5);
}
.bmodal__body { position: relative; padding: clamp(1.75rem, 3.5vw, 2.75rem); overflow-y: auto; }
.bmodal__close {
  position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; transition: background 0.2s;
}
.bmodal__close:hover { background: var(--accent); }
.bmodal__close svg { width: 18px; height: 18px; fill: #fff; }
.bmodal__title { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; margin-bottom: 0.6rem; padding-right: 3rem; }
.bmodal__lead { color: var(--text-muted); font-weight: 300; margin-bottom: 1.6rem; }
.bmodal__form { display: grid; gap: 0.9rem; }
.bfield-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.bfield { display: grid; gap: 0.4rem; }
.bfield > span { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }
.bfield input, .bfield select, .bfield textarea {
  width: 100%; font: inherit; font-size: 16px; /* 16px — iOS не зумит поле при фокусе */
  color: var(--text-light); background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 0.6rem; padding: 0.75rem 0.9rem;
  transition: border-color 0.2s, background 0.2s; color-scheme: dark;
}
.bfield textarea { resize: vertical; min-height: 84px; }
.bfield select option { background: #101014; }
.bfield input:focus, .bfield select:focus, .bfield textarea:focus { outline: none; border-color: var(--accent); background: rgba(180,78,255,0.06); }
.bfield.error input { border-color: var(--neon-pink); }
.bmodal__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.bmodal__submit {
  margin-top: 0.4rem; padding: 1rem 1.5rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font: inherit; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem;
  box-shadow: 0 0 30px rgba(180,78,255,0.35); transition: box-shadow 0.3s, background 0.3s;
}
.bmodal__submit:hover { box-shadow: 0 0 50px rgba(180,78,255,0.6); background: #c46bff; }
.bmodal__submit:disabled { opacity: 0.6; cursor: wait; }
.bmodal__status { min-height: 1.4em; font-size: 0.85rem; color: var(--text-muted); }
.bmodal.sent .bmodal__status { color: #9dffb0; }
.bmodal__status a { color: var(--accent); text-decoration: underline; }
.bmodal__alt { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.08); display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; align-items: center; font-size: 0.85rem; color: var(--text-muted); }
.bmodal__alt a { color: var(--text-light); font-weight: 600; border-bottom: 1px solid var(--accent); }

.contact__cta {
  display: inline-flex; margin: 0 0 2rem; padding: 1rem 2rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; font: inherit; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 0 30px rgba(180,78,255,0.35); transition: box-shadow 0.3s;
}
.contact__cta:hover { box-shadow: 0 0 50px rgba(180,78,255,0.6); }

@media (max-width: 767px) {
  .bmodal { padding: 0; place-items: stretch; }
  .bmodal__box { grid-template-columns: 1fr; grid-template-rows: 170px 1fr; width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; }
  .bmodal__photo::after { background: linear-gradient(to top, #101014, transparent 60%); }
  .bmodal__photo-name { font-size: 1.5rem; bottom: 0.6rem; left: 1.25rem; }
  .bmodal__body { padding: 1.4rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); }
  .bmodal__close { position: fixed; top: 0.9rem; right: 0.9rem; z-index: 3; background: rgba(0,0,0,0.5); }
  .bfield-row { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .bmodal__box, .bmodal__overlay { transition: none; } }

/* Телефон лёжа: окно в две колонки, иначе фото съедает половину высоты */
@media (max-width: 950px) and (max-height: 500px) and (orientation: landscape) {
  .bmodal__box { grid-template-columns: 0.75fr 1.25fr; grid-template-rows: none; }
  .bmodal__photo::after { background: linear-gradient(to top, rgba(10,10,14,0.85), transparent 45%); }
  .bmodal__close { position: absolute; }
  .bfield-row { grid-template-columns: 1fr 1fr; }
}

/* ===== СЦЕНЫ (правки 26.10): горизонтальная лента услуг + раскрытие фото ===== */
.hs { padding: 0; background: var(--bg-section); overflow: hidden; position: relative; z-index: 2; }
.hs__viewport { height: 100vh; height: 100svh; display: flex; align-items: center; overflow-x: auto; scrollbar-width: none; }
.hs__viewport::-webkit-scrollbar { display: none; }
.hs.is-pinned .hs__viewport { overflow: visible; }
.hs__track { display: flex; gap: clamp(1rem, 2vw, 2rem); padding: 0 clamp(1.25rem, 5vw, 5rem); height: min(78vh, 760px); align-items: stretch; width: max-content; }
.hs__intro { width: min(36rem, 80vw); flex: none; display: flex; flex-direction: column; justify-content: center; text-align: left; }
.hs__intro .section__label, .hs__intro .section__title, .hs__intro .section__descr { text-align: left; margin-left: 0; }
.hs__intro-title { font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.02; }
.hs__hint { font-size: 2.4rem; color: var(--accent); animation: hsHint 1.6s ease-in-out infinite; }
@keyframes hsHint { 50% { transform: translateX(14px); } }
.hs__panel {
  position: relative; flex: none; width: clamp(280px, 34vw, 520px); border-radius: 1.25rem; overflow: hidden;
  background: #111; border: 1px solid rgba(255,255,255,0.06);
}
.hs__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.12); }
.hs__panel::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,10,0.92) 0%, rgba(8,8,10,0.35) 45%, rgba(8,8,10,0.05) 70%); }
.hs__panel-text { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1.25rem, 2.5vw, 2rem); }
.hs__num { display: block; font-size: clamp(3rem, 6vw, 5.5rem); font-weight: 900; line-height: 0.9; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.45); margin-bottom: 0.8rem; }
.hs__title { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 700; line-height: 1.15; margin-bottom: 0.6rem; }
.hs__descr { font-size: 0.9rem; font-weight: 300; color: rgba(255,255,255,0.75); line-height: 1.55; max-width: 34ch; margin-bottom: 1.1rem; }
.hs__cta { font: inherit; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; background: rgba(180,78,255,0.18); border: 1px solid var(--accent); border-radius: 999px; padding: 0.7rem 1.2rem; cursor: pointer; transition: background 0.3s, box-shadow 0.3s; }
.hs__cta:hover { background: var(--accent); box-shadow: 0 0 30px rgba(180,78,255,0.5); }

.zoom { position: relative; z-index: 2; background: var(--bg-dark); }
.zoom__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.zoom__frame { position: absolute; inset: 0; clip-path: inset(22% 36% 22% 36% round 1.25rem); will-change: clip-path; }
.zoom__frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transform: scale(1.25); }
.zoom__frame::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.55)); }
.zoom__word {
  position: absolute; top: 50%; z-index: 2; transform: translateY(-50%);
  font-size: clamp(2.4rem, 7.5vw, 8rem); font-weight: 900; letter-spacing: -0.04em; text-transform: uppercase; white-space: nowrap;
  pointer-events: none; mix-blend-mode: difference; color: #fff;
}
.zoom__word--l { right: 52%; }
.zoom__word--r { left: 52%; }
.zoom__caption { position: absolute; bottom: 8%; left: 0; right: 0; z-index: 2; text-align: center; font-size: clamp(0.7rem, 1.2vw, 0.9rem); font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(255,255,255,0.85); opacity: 0; }
@media (max-width: 767px) {
  .zoom__frame { clip-path: inset(28% 18% 28% 18% round 1rem); }
  .zoom__word { font-size: 11vw; top: auto; transform: none; left: 50%; right: auto; translate: -50% 0; }
  .zoom__word--l { top: 12%; }
  .zoom__word--r { bottom: 12%; }
  .hs__panel { width: 78vw; }
  .hs__track { height: 72svh; }
}
/* шторка: следующие блоки наезжают на закреплённый герой */
.marquee, .about, .services, .zoom, .portfolio { position: relative; z-index: 2; }
.marquee { background: var(--bg-dark); }

/* ===== КУРСОР И НЕОН (правки 26.10) — только мышь ===== */
.cur, .cur-dot { position: fixed; top: 0; left: 0; z-index: 3000; pointer-events: none; border-radius: 50%; opacity: 0; }
.cur { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(255,255,255,0.75); display: grid; place-items: center;
  transition: width 0.3s, height 0.3s, margin 0.3s, background 0.3s, border-color 0.3s, opacity 0.3s; mix-blend-mode: difference; }
.cur-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); box-shadow: 0 0 12px var(--accent), 0 0 24px var(--neon-pink); }
.cur span { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity 0.2s; }
html.has-cur .cur, html.has-cur .cur-dot { opacity: 1; }
.cur.is-link { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255,255,255,0.9); border-color: transparent; }
.cur.is-view { width: 88px; height: 88px; margin: -44px 0 0 -44px; background: #fff; border-color: transparent; mix-blend-mode: normal; }
.cur.is-view span { opacity: 1; }
.cur.is-down { transform: scale(0.8); }
.hero__neon { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: screen; }
.hero__glow { position: absolute; top: 0; left: 0; width: 46vmax; height: 46vmax; margin: -23vmax 0 0 -23vmax; border-radius: 50%; z-index: 2; pointer-events: none;
  background: radial-gradient(circle, rgba(180,78,255,0.35) 0%, rgba(255,45,138,0.14) 35%, transparent 65%); mix-blend-mode: screen; opacity: 0; transition: opacity 0.5s; }
.hero:hover .hero__glow { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cur, .cur-dot, .hero__glow, .hero__neon { display: none; } }

/* ===== БЕЗ РАМОК И ОБВОДОК (владелец 26.10): выделение — заливкой и цветом.
   Ширину рамок не трогаем (только цвет → transparent), чтобы ничего не сдвинулось ни на пиксель. ===== */
*, *::before, *::after { border-color: transparent !important; }
:focus { outline: none; }
.portfolio__item::before { display: none; }
.nav__cta, .lang-toggle { background: rgba(255,255,255,0.08); }
.nav__cta:hover, .lang-toggle:hover { background: var(--accent); color: #fff; }
.portfolio__tab { background: rgba(255,255,255,0.05); }
.portfolio__tab:hover { background: rgba(180,78,255,0.22); color: var(--text-light); }
.portfolio__tab.active { background: var(--accent); }
.hero__scroll-circle { background: rgba(255,255,255,0.1); }
.contact__link-icon, .contact__social, .faq__icon { background: rgba(255,255,255,0.06); }
.contact__link:hover .contact__link-icon, .contact__social:hover { background: var(--accent); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--accent); }
.bfield input, .bfield select, .bfield textarea { background: rgba(255,255,255,0.07); }
.bfield input:hover, .bfield select:hover, .bfield textarea:hover { background: rgba(255,255,255,0.1); }
.bfield input:focus, .bfield select:focus, .bfield textarea:focus { background: rgba(180,78,255,0.18); }
.bfield.error input { background: rgba(255,45,138,0.18); }
.bmodal__box { background: #121216; }
.bmodal__close { background: rgba(255,255,255,0.08); }
.bmodal__alt a { color: var(--accent); }
.bmodal__alt a:hover { color: #fff; }
.hs__panel { background: #141418; }
.hs__num { color: rgba(180,78,255,0.55); -webkit-text-stroke: 0; }
.hs__cta { background: rgba(180,78,255,0.25); }
.portfolio__item-play { background: rgba(255,255,255,0.2); }
a:focus-visible, button:focus-visible { color: var(--accent); }
.cur { width: 30px; height: 30px; margin: -15px 0 0 -15px; background: rgba(255,255,255,0.9); }
/* Место под полосу прокрутки всегда зарезервировано: открытие окна/лайтбокса (overflow:hidden)
   больше не расширяет страницу и фиксированное меню не съезжает вправо (жалоба владельца 26.10 «нажимаем Связаться — меню двигается») */
html { scrollbar-gutter: stable; scroll-behavior: auto !important; }
.nav__cta:hover, .lang-toggle:hover, .nav__cta:active { transform: none; }

/* ===== FAQ без сдвигов: вопросы списком, ответы стопкой в одной ячейке ===== */
.faq__list { max-width: 1100px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 0.6rem 2rem; align-items: start; }
.faq__item { display: contents; }
.faq__question {
  grid-column: 1; padding: 1.15rem 1.4rem; border-radius: 0.9rem; background: rgba(255,255,255,0.03);
  font-size: clamp(0.95rem, 1.3vw, 1.05rem); transition: background 0.3s, color 0.3s;
}
.faq__question:hover { background: rgba(180,78,255,0.12); color: var(--text-light); }
.faq__item.active .faq__question { background: rgba(180,78,255,0.22); color: #fff; }
.faq__answer {
  grid-column: 2; grid-row: 1 / span 5; max-height: none !important; overflow: visible;
  background: rgba(180,78,255,0.07); border-radius: 1.25rem; padding: clamp(1.5rem, 3vw, 2.5rem); align-self: stretch;
  visibility: hidden; opacity: 0; transition: opacity 0.35s, visibility 0.35s;
}
.faq__item.active .faq__answer { visibility: visible; opacity: 1; }
.faq__answer-inner { padding: 0; font-size: 1rem; color: var(--text-light); max-width: none; }
.faq__item.active .faq__icon { background: #fff; }
@media (max-width: 767px) {
  .faq__list { grid-template-columns: 1fr; }
  .faq__question { grid-column: 1; }
  .faq__answer { grid-column: 1; grid-row: 6; }
}
.about { position: relative; z-index: 2; }
.about__full { display: none; position: absolute; top: 0; left: 0; width: 100%; height: 100vh; height: 100svh; z-index: 3; pointer-events: none; overflow: hidden; }
html.js-motion .about__full { display: block; }
.about__full img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* VICTORIA горит неоном постоянно (владелец 26.10: «больше неона»); мерцание поверх — вспышки ярче */
.hero__firstname span {
  color: #fff;
  text-shadow: 0 0 6px #fff, 0 0 14px var(--accent), 0 0 30px var(--accent), 0 0 60px var(--neon-pink), 0 0 100px rgba(255,45,138,0.6);
  animation-name: neonFlickerOn;
}
@keyframes neonFlickerOn {
  0%, 62%, 64.5%, 73%, 75.5%, 100% { opacity: 1; }
  63%, 74% { opacity: 0.35; }
  66% { opacity: 0.8; }
}
.hero__firstname { font-size: 0.3em; }

/* VICTORIA горит неоном постоянно (владелец 26.10: «теряется, должно гореть больше»); мерцание — короткие провалы яркости */
.hero__firstname span {
  color: #fff;
  text-shadow: 0 0 6px #fff, 0 0 14px var(--accent), 0 0 30px var(--accent), 0 0 60px var(--neon-pink), 0 0 100px rgba(255,45,138,0.6);
  animation-name: neonFlickerOn;
}
@keyframes neonFlickerOn {
  0%, 62%, 64.5%, 73%, 75.5%, 100% { opacity: 1; }
  63%, 74% { opacity: 0.35; }
  66% { opacity: 0.8; }
}
.hero__firstname { font-size: 0.3em; }

/* ===== РЕЗИНОВЫЙ САЙТ (владелец 26.10): контейнер во всю ширину экрана, поля растут с экраном ===== */
:root { --max-w: none; }
.container { max-width: none; padding: 0 clamp(1.25rem, 4.5vw, 6rem); }
.faq__list { max-width: none; }
.about__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.about__text { max-width: 70ch; }

/* ===== ШАПКА-ОВАЛ + МЕНЮ НА ВЕСЬ ЭКРАН (правки 26.10, по образцу «Порт Семья») ===== */
.head { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: clamp(0.6rem, 1.5vw, 1rem) clamp(0.75rem, 4.5vw, 6rem); pointer-events: none; }
.head > * { pointer-events: auto; }
.head-pill {
  position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 3.6rem; padding: 0.35rem 0.4rem 0.35rem 1.4rem; border-radius: 999px;
  background: rgba(16, 16, 22, 0.55); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
  transition: transform 0.45s cubic-bezier(.2,.7,.2,1), opacity 0.3s, background 0.3s;
}
.head.is-scrolled .head-pill { background: rgba(16, 16, 22, 0.82); }
.head.is-hidden .head-pill { transform: translateY(calc(-100% - 1.5rem)); opacity: 0; }
.head.is-hidden { pointer-events: none; }
.head:focus-within .head-pill { transform: none; opacity: 1; }
.head.menu-open .head-pill { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.head-logo { display: inline-flex; align-items: center; gap: 0.7rem; font-weight: 800; letter-spacing: 0.16em; font-size: 0.95rem; color: #fff; }
.head-logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent), 0 0 22px var(--neon-pink); animation: neonPulse 2s ease-in-out infinite; }
.head-actions { display: flex; align-items: center; gap: 0.4rem; }
.head .lang-toggle { margin: 0; height: 2.9rem; min-width: 2.9rem; padding: 0 0.9rem; border-radius: 999px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; color: #fff; }
.head-cta { display: inline-flex; align-items: center; height: 2.9rem; padding: 0 1.4rem; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: 0 0 24px rgba(180,78,255,0.35); transition: background 0.25s, box-shadow 0.25s; }
.head-cta:hover { background: #c46bff; box-shadow: 0 0 40px rgba(180,78,255,0.6); }
.burger { flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: #fff; display: grid; align-content: center; transition: background 0.2s; }
.burger:hover { background: var(--accent); }
.burger span { display: block; width: 1.15rem; height: 2px; background: #0a0a0a; margin: 2.5px auto; transition: transform .25s, opacity .25s, background .2s; }
.burger:hover span { background: #fff; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

.mnav { position: fixed; inset: 0; z-index: 1; background: radial-gradient(ellipse at 80% 20%, rgba(180,78,255,0.22), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(255,45,138,0.14), transparent 50%), #09090c;
  overflow-y: auto; overscroll-behavior: contain; padding: clamp(6rem, 14vh, 8rem) 0 2.5rem;
  clip-path: circle(0 at var(--bx, 95%) var(--by, 2.5rem)); visibility: hidden; transition: clip-path .75s cubic-bezier(.7,0,.2,1), visibility 0s .75s; }
.mnav[data-open] { clip-path: circle(150vmax at var(--bx, 95%) var(--by, 2.5rem)); visibility: visible; transition-delay: 0s; }
.mnav-in { padding: 0 clamp(1.25rem, 6vw, 7rem); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(1.75rem, 6vw, 6rem); align-items: center; min-height: calc(100svh - 12rem); }
.mnav-list { list-style: none; }
.mnav-list li, .mnav-side > * { opacity: 0; transform: translateY(1.6rem); transition: opacity .35s, transform .35s; }
.mnav[data-open] .mnav-list li, .mnav[data-open] .mnav-side > * { opacity: 1; transform: none; transition: opacity .6s calc(.28s + var(--i) * .06s), transform .7s cubic-bezier(.2,.7,.2,1) calc(.28s + var(--i) * .06s); }
.mnav-side > * { --i: 5; }
.m-link { display: grid; grid-template-columns: 3.2rem minmax(0,1fr) auto; align-items: center; gap: 0.75rem; padding: clamp(0.35rem, 1.2vh, 0.9rem) 0; color: #fff; font-weight: 800; font-size: clamp(2rem, 5.5vw, 4.6rem); line-height: 1.05; letter-spacing: -0.03em; text-transform: uppercase; transition: color .2s; }
.m-num { font-style: normal; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; color: var(--accent); }
.m-txt { display: block; transition: transform .35s cubic-bezier(.2,.7,.2,1), text-shadow .3s; } /* двигается только надпись — зона клика стоит */
.m-arrow { opacity: 0; transform: translateX(-0.6rem); transition: opacity .25s, transform .35s; color: var(--accent); }
.m-link:hover, .m-link:focus-visible { color: #fff; }
.m-link:hover .m-txt, .m-link:focus-visible .m-txt { transform: translateX(0.9rem); text-shadow: 0 0 18px var(--accent), 0 0 40px var(--neon-pink); }
.m-link:hover .m-arrow, .m-link:focus-visible .m-arrow { opacity: 1; transform: none; }
.mnav-side { display: grid; gap: 1.1rem; align-content: center; }
.mnav-photo { aspect-ratio: 4/5; position: relative; overflow: hidden; border-radius: 1.25rem; max-height: 58vh; }
.mnav-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; opacity: 0; scale: 1.06; transition: opacity .45s ease, scale .9s cubic-bezier(.2,.7,.2,1); }
.mnav-photo img[data-on] { opacity: 1; scale: 1; }
.mnav-phone { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: #fff; }
.mnav-phone:hover { color: var(--accent); }
.mnav-links { color: var(--text-muted); font-size: 0.95rem; }
.mnav-links a:hover { color: var(--accent); }
.mnav-cta { justify-self: start; padding: 1rem 1.8rem; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: 0 0 30px rgba(180,78,255,0.4); }
.mnav-cta:hover { background: #c46bff; }
@media (max-width: 860px) {
  .mnav-in { grid-template-columns: 1fr; align-items: start; min-height: 0; }
  .mnav-photo { display: none; }
}
@media (max-width: 560px) {
  .head-cta { display: none; }
  .head-pill { min-height: 3.2rem; padding-left: 1.1rem; }
  .head-logo { font-size: 0.82rem; letter-spacing: 0.12em; }
}
@media (prefers-reduced-motion: reduce) { .mnav, .mnav-list li, .mnav-side > *, .m-txt, .head-pill { transition: none !important; } }

/* Кнопка «наверх» */
.totop { position: fixed; right: clamp(1rem, 2.5vw, 2rem); bottom: calc(clamp(1rem, 2.5vw, 2rem) + env(safe-area-inset-bottom)); z-index: 900;
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(180,78,255,0.85); box-shadow: 0 0 24px rgba(180,78,255,0.45);
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .3s, visibility .3s, transform .3s, background .2s; }
.totop.show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--neon-pink); }
.totop svg { width: 18px; height: 18px; }

/* ===== Без надзаголовков (правило владельца): метка раздела — вертикально на левом краю блока ===== */
.about, .services, .portfolio, .faq, .contact { position: relative; }
.section__label, .about__label {
  position: absolute; left: clamp(0.3rem, 1.4vw, 1.6rem); top: clamp(5rem, 12vh, 9rem); margin: 0 !important;
  writing-mode: vertical-rl; rotate: 180deg; text-align: left !important; z-index: 3;
  font-size: 0.68rem; letter-spacing: 0.35em; opacity: 0.9;
}
.hs__intro .section__label { position: absolute; top: auto; bottom: clamp(2rem, 10vh, 6rem); }
@media (max-width: 767px) { .section__label, .about__label { left: 0.35rem; font-size: 0.6rem; } }

/* ===== 3D-ФОНЫ ИЗ FLOW (правки 26.10) ===== */
.bg3d { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bg3d img { width: 100%; height: 115%; object-fit: cover; opacity: 0.55; }
.bg3d::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--bg-dark) 0%, transparent 18%, transparent 82%, var(--bg-dark) 100%); }
.faq > .container, .contact > .container, .hs__viewport { position: relative; z-index: 1; }
.faq, .contact { overflow: hidden; }
.hs .bg3d img { opacity: 0.4; }
.contact .bg3d img { opacity: 0.45; }
.stage { position: relative; z-index: 2; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; background: #000; }
.stage .bg3d img { opacity: 1; height: 120%; }
.stage .bg3d::after { background: radial-gradient(ellipse at center, rgba(0,0,0,0.25), rgba(0,0,0,0.75)); }
.stage__text { position: relative; z-index: 1; text-align: center; padding: 0 1.25rem; }
.stage__title { font-size: clamp(2.6rem, 8vw, 8.5rem); font-weight: 900; letter-spacing: -0.04em; line-height: 0.95; text-transform: uppercase; margin-bottom: 2rem;
  text-shadow: 0 0 30px rgba(180,78,255,0.6), 0 0 80px rgba(255,45,138,0.35); }
.stage__cta { padding: 1.1rem 2.2rem; border-radius: 999px; background: var(--accent); color: #fff; font: inherit; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; box-shadow: 0 0 40px rgba(180,78,255,0.5); transition: background .25s, box-shadow .25s; }
.stage__cta:hover { background: #c46bff; box-shadow: 0 0 60px rgba(180,78,255,0.75); }
/* Телефоны: слова заголовков после разбивки (motion.js, .mk-w) не переносятся внутри — длинное «сопровождение»
   вылезало за экран на 21–58 px (замер 26.10). Шрифт по ширине + страховка от горизонтальной прокрутки. */
@media (max-width: 480px) {
  .hs__intro-title { font-size: 8.2vw; }
  .section__title, .contact__title { font-size: 7.6vw; }
  .hs__intro { width: 84vw; }
}
html, body { overflow-x: clip; }
/* производительность героя (жалоба 26.10 «BOOKING подтормаживает»): свечение без blend-режима, отдельным слоем */
.hero__glow { mix-blend-mode: normal; will-change: transform; background: radial-gradient(circle, rgba(180,78,255,0.22) 0%, rgba(255,45,138,0.08) 35%, transparent 65%); }
.hero__neon { mix-blend-mode: normal; }
.hero__circle { will-change: transform; }

/* Курсор (владелец 26.10): обычная стрелка остаётся, кружок идёт под ней; розовой точки нет */
.cur-dot { display: none !important; }
.cur { z-index: 2999; }
.portfolio, .gallery, .seo-articles { position: relative; overflow: hidden; }
.portfolio > .container, .gallery > .container, .seo-articles > .container { position: relative; z-index: 1; }
.bg3d--top img { height: 70vh; opacity: 0.35; }
.bg3d--top::after { background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 70vh); }
.gallery .bg3d img, .seo-articles .bg3d img { opacity: 0.25; }
.zoom__stage .bg3d img { opacity: 0.9; height: 100%; }
.zoom__stage .bg3d::after { background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.6)); }
.zoom__frame, .zoom__word, .zoom__caption { z-index: 2; }
.mnav .bg3d { position: fixed; }
.mnav .bg3d img { opacity: 0.28; height: 100%; }
.mnav-in { position: relative; z-index: 1; }
.stage__nums { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, auto); gap: clamp(1.5rem, 7vw, 8rem); text-align: center; padding: 0 1.25rem; }
.stage__nums b { display: block; font-size: clamp(3.4rem, 11vw, 11rem); font-weight: 900; line-height: 0.9; letter-spacing: -0.05em;
  text-shadow: 0 0 30px rgba(180,78,255,0.65), 0 0 90px rgba(255,45,138,0.35); }
.stage__nums span { display: block; margin-top: 0.8rem; font-size: clamp(0.65rem, 1.1vw, 0.9rem); font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.8); }
@media (max-width: 767px) { .stage__nums { grid-template-columns: 1fr; gap: 2.2rem; } }
/* Шапка по центру, не во всю ширину (владелец 26.10): три колонки — логотип · разделы · кнопки */
.head-pill { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; }
.head-links { display: flex; justify-content: center; gap: clamp(0.4rem, 1.4vw, 1.6rem); }
.head-links a { padding: 0.55rem 0.8rem; border-radius: 999px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.78); transition: background .25s, color .25s; }
.head-links a:hover { background: rgba(180,78,255,0.22); color: #fff; }
.head.menu-open .head-links { visibility: hidden; }
@media (max-width: 1023px) { .head-links { display: none; } .head-pill { grid-template-columns: auto auto; } }
/* Zoom-сцена (владелец 26.10: «фото обрезается»): кадр вертикальный, как сама фотография (2:3),
   раскрывается на всю ВЫСОТУ экрана — фото целиком, по бокам 3D-закат. */
.zoom__frame { inset: auto; top: 0; bottom: 0; left: 50%; translate: -50% 0; height: 100%; width: auto; aspect-ratio: 2 / 3; max-width: 100vw;
  clip-path: inset(18% 20% 18% 20% round 1.25rem); }
.zoom__frame img { object-position: center 30%; }
@media (max-width: 767px) { .zoom__frame { clip-path: inset(24% 14% 24% 14% round 1rem); } }
/* слова сцены — один центрированный ряд (раньше абсолютом от центра налезали друг на друга), GSAP разводит их по x */
.zoom__words { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 0.35em;
  font-size: clamp(2.2rem, 6.4vw, 7rem); pointer-events: none; }
.zoom__words .zoom__word { position: static; transform: none; translate: none; font-size: 1em; }
@media (max-width: 767px) { .zoom__words { flex-direction: column; justify-content: space-between; padding: 14vh 0; font-size: 11vw; } }
.about__full { border-radius: 0; }
/* Полноэкранные кадры растворяются в фоне соседних блоков сверху и снизу — без резкой границы (владелец 26.10) */
.stage { background: var(--bg-dark); }
.stage .bg3d::after {
  background:
    linear-gradient(to bottom, var(--bg-dark) 0%, rgba(10,10,10,0) 28%, rgba(10,10,10,0) 72%, var(--bg-dark) 100%),
    radial-gradient(ellipse at center, rgba(0,0,0,0.15), rgba(0,0,0,0.6));
}
html.is-loaded body::after { background-image: url("assets/noise.webp"); }

/* Контраст кнопок (Lighthouse: белый на #b44eff = 3,9:1 < 4,5). Фон глубже — 5,6:1, свечение прежнее */
:root { --accent-btn: #8a2be2; }
.head-cta, .stage__cta, .contact__cta, .mnav-cta, .bmodal__submit, .portfolio__tab.active, .totop { background: var(--accent-btn); }
.head-cta:hover, .stage__cta:hover, .contact__cta:hover, .mnav-cta:hover, .bmodal__submit:hover { background: #7a1fd0; }
/* соцсети героя: область нажатия ≥ 24 px */
.hero__socials a { display: inline-block; padding: 4px 0; min-height: 24px; }
/* Zoom-кадр по центру без translate (GSAP сбрасывал translate:-50% → рамка прыгала вбок, жалоба 26.10) */
.zoom__frame { left: 0; right: 0; margin: 0 auto; translate: none; width: min(100vw, calc(100svh * 2 / 3)); aspect-ratio: auto; }
/* крупный текст, который масштабирует скролл, — отдельным слоем (плавно, без перерисовки тени каждый кадр) */
.stage__title, .stage__nums > div, .bg3d img, .hero__photo { will-change: transform; }
.hero__photo img { transition: none; }
/* Портфолио: 4 в ряд на широких экранах (владелец 26.10), 3 — планшет, 2 — телефон */
.portfolio__grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1279px) { .portfolio__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px) { .portfolio__grid { grid-template-columns: repeat(2, 1fr); } }
/* FAQ (владелец 26.10): фон размыт и темнее, ответ — по центру панели по вертикали */
.faq .bg3d img { opacity: 0.4; }
.faq__answer { display: flex; align-items: center; }
.faq__answer-inner { font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.7; color: #fff; font-weight: 400; }
