/* ============================================================
   STUDIO502.RU — BRUTAL BLACK THEME
   Чёрный фон · Гигантский шрифт · Outline-текст · Максимальный контраст
   ============================================================ */

/* --- Variables --- */
:root {
  --bg:    #000000;
  --bg2:   #0D0D0D;
  --bg3:   #1A1A1A;
  --ink:   #FFFFFF;
  --ink2:  rgba(255,255,255,0.65);
  --ink3:  rgba(255,255,255,0.35);
  --red:   #E8001C;
  --red2:  #FF1A33;
  --white: #FFFFFF;
  --line:  rgba(255,255,255,0.1);
  --line2: rgba(255,255,255,0.06);

  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --serif: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', 'Courier New', monospace;

  --radius: 0px;
  --transition: 0.25s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--red) #111;
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* --- Utility --- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } }

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink3);
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  padding: 3px 8px;
  color: var(--ink3);
}
.tag--red { border-color: var(--red); color: var(--red); }

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
@media (prefers-reduced-motion: reduce) {
  .fade-up, .fade-left { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s;
}
.nav.scrolled { border-bottom-color: rgba(255,255,255,0.2); }
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.nav__logo {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 1px;
}
.nav__logo span { color: var(--red); }
.nav__logo-dot {
  width: 5px; height: 5px;
  background: var(--red);
  border-radius: 50%;
  margin-left: 3px;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.1; }
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 11px;
  font-weight: 700;
  color: var(--ink3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 9px 20px;
  border: 1px solid var(--red);
  transition: background var(--transition), border-color var(--transition);
}
.nav__cta:hover { background: var(--red2); border-color: var(--red2); }
.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
}
.nav__burger span {
  height: 1px;
  background: var(--white);
  display: block;
  transition: transform 0.3s, opacity 0.3s;
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__cta { display: none; }
  .nav__burger { display: flex; }
}

/* Mobile menu */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px;
  gap: 0;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  border-left: 1px solid var(--line);
}
.nav__mobile.open { transform: translateX(0); }
.nav__mobile-close {
  position: absolute;
  top: 20px; right: 24px;
  font-size: 20px;
  color: var(--ink3);
  cursor: pointer;
  background: none; border: none;
}
.nav__mobile a {
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  transition: color 0.2s;
  text-transform: uppercase;
}
.nav__mobile a:hover { color: var(--red); }

/* ============================================================
   HERO — BRUTAL FULL SCREEN
   ============================================================ */
.hero {
  min-height: 100svh;
  padding-top: 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

/* Фоновый номер */
.hero__bg-num {
  position: absolute;
  right: -0.04em;
  bottom: -0.18em;
  font-size: clamp(180px, 30vw, 480px);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  letter-spacing: -0.05em;
  user-select: none;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding: 60px 0 56px;
}
.hero__label { margin-bottom: 32px; }

/* Главный заголовок — три строки */
.hero__title {
  font-size: clamp(56px, 11vw, 160px);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 0;
  text-transform: uppercase;
}
.hero__title .line { display: block; }

/* Outline-эффект на второй строке */
.hero__title .line--outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

/* Красная строка */
.hero__title em {
  font-style: normal;
  color: var(--red);
  display: block;
}

/* Нижняя панель героя */
.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero__sub {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink2);
  max-width: 380px;
}
.hero__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.hero__stats { display: none; }

@media (max-width: 900px) {
  .hero__title { font-size: clamp(48px, 13vw, 100px); }
  .hero__bottom { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 600px) {
  .hero__title { font-size: clamp(40px, 15vw, 72px); }
  .hero__title .line--outline { -webkit-text-stroke-width: 1.5px; }
}

/* Hero right panel (hidden in Brutal mode) */
.hero__visual { display: none; }
.hero__index { display: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 14px 28px;
  border: 1px solid var(--red);
  transition: background var(--transition), border-color var(--transition);
}
.btn-primary:hover { background: var(--red2); border-color: var(--red2); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--white);
  padding: 13px 27px;
  border: 1px solid var(--line);
  transition: border-color var(--transition), background var(--transition);
}
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--white);
  color: var(--bg);
  padding: 14px 28px;
  border: 1px solid var(--white);
  transition: background var(--transition), color var(--transition);
}
.btn-white:hover { background: var(--red); color: var(--white); border-color: var(--red); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: transparent;
  color: var(--ink2);
  padding: 13px 27px;
  border: 1px solid var(--line);
  transition: border-color var(--transition), color var(--transition);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,0.4); color: var(--white); }

/* ============================================================
   TICKER / MARQUEE
   ============================================================ */
.ticker {
  background: var(--red);
  color: var(--white);
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
}
.ticker__track {
  display: inline-flex;
  animation: ticker 28s linear infinite;
}
.ticker__track:hover { animation-play-state: paused; }
.ticker__item {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.ticker__item::after { content: '·'; opacity: 0.5; }
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SHOWREEL
   ============================================================ */
.showreel-section { border-bottom: 1px solid var(--line); }
.showreel__wrap {
  position: relative;
  aspect-ratio: 16/5;
  cursor: pointer;
  overflow: hidden;
  background: #0a0a0a;
}
.showreel__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transition: opacity 0.4s, transform 0.6s;
  display: block;
  filter: grayscale(30%);
}
.showreel__wrap:hover .showreel__thumb { opacity: 0.6; transform: scale(1.03); filter: grayscale(0%); }
.showreel__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
}
.showreel__play {
  width: 72px; height: 72px;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: border-color var(--transition), background var(--transition), transform 0.2s;
}
.showreel__play svg { color: #fff; margin-left: 5px; }
.showreel__wrap:hover .showreel__play { border-color: var(--red); background: var(--red); transform: scale(1.1); }
.showreel__meta { text-align: center; }
.showreel__label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.showreel__year {
  font-size: 64px;
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.05em;
  line-height: 1;
  margin-top: 4px;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.section--dark {
  background: var(--bg2);
  border-top: 1px solid var(--line);
}
.section--cream {
  background: var(--bg2);
}
.section__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.section__title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
  text-transform: uppercase;
}
.section__title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
}
.section__link {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink3);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition), border-color var(--transition);
}
.section__link:hover { color: var(--white); border-color: rgba(255,255,255,0.4); }

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background var(--transition);
  cursor: pointer;
}
.service-card:nth-child(even) { border-right: none; }
.service-card:nth-child(n+3) { border-bottom: none; }
.service-card:hover { background: var(--bg3); }
.service-card__num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 24px;
}
.service-card__icon {
  color: rgba(255,255,255,0.2);
  margin-bottom: 20px;
  transition: color var(--transition);
}
.service-card:hover .service-card__icon { color: var(--red); }
.service-card__title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.05;
  text-transform: uppercase;
}
.service-card__desc {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 20px;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.service-card__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.service-card__arrow {
  position: absolute;
  bottom: 32px; right: 36px;
  color: var(--ink3);
  transition: color var(--transition), transform var(--transition);
}
.service-card:hover .service-card__arrow { color: var(--red); transform: translateX(4px); }
@media (max-width: 700px) {
  .services__grid { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--line); }
  .service-card:last-child { border-bottom: none; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.stat-block {
  padding: 40px 32px;
  border-right: 1px solid var(--line);
}
.stat-block:last-child { border-right: none; }
.stat-block__num {
  font-size: clamp(40px, 4.5vw, 64px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.stat-block__num span { color: var(--red); }
.stat-block__label {
  font-size: 10px;
  color: var(--ink3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 10px;
}
@media (max-width: 700px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat-block { border-bottom: 1px solid var(--line); }
}

/* ============================================================
   PORTFOLIO GRID
   ============================================================ */
.portfolio__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
}
.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #0a0a0a;
}
.portfolio-card--wide { grid-row: span 2; }

.portfolio-card__bg { width: 100%; height: 100%; }
.portfolio-card__thumb {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) brightness(0.6);
  transition: filter 0.5s ease, transform 0.6s ease;
  aspect-ratio: 16/9;
}
.portfolio-card--wide .portfolio-card__thumb { aspect-ratio: auto; min-height: 360px; }
.portfolio-card:hover .portfolio-card__thumb { filter: grayscale(0%) brightness(0.8); transform: scale(1.04); }

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 24px;
}
.portfolio-card__play {
  margin-bottom: 10px;
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s, border-color 0.2s, background 0.2s;
}
.portfolio-card:hover .portfolio-card__play { transform: scale(1); border-color: var(--red); background: var(--red); }
.portfolio-card__play svg { color: #fff; margin-left: 3px; }
.portfolio-card__category {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 4px;
}
.portfolio-card__title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
@media (max-width: 900px) {
  .portfolio__grid { grid-template-columns: 1fr 1fr; }
  .portfolio-card--wide { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 600px) {
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio-card--wide { grid-column: auto; }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about__grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.about__img-col {
  position: relative;
  border-right: 1px solid var(--line);
  overflow: hidden;
  min-height: 480px;
}
.about__img-col img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(60%) contrast(1.1);
  display: block;
  transition: transform 0.6s ease, filter 0.4s;
}
.about__img-col:hover img { transform: scale(1.03); filter: grayscale(20%); }
.about__img-tag {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: rgba(0,0,0,0.7);
}
.about__text-col {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about__text-col h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.0;
  color: var(--white);
  text-transform: uppercase;
}
.about__text-col h2 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  display: block;
}
.about__text-col p { font-size: 14px; color: var(--ink2); line-height: 1.8; }
.about__text-col strong { color: var(--white); font-weight: 700; }
.about__beliefs {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
}
.about__belief {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.about__belief:last-child { border-bottom: none; }
.about__belief-text { font-size: 14px; color: var(--ink2); line-height: 1.7; }
.about__belief-text strong { color: var(--white); }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__img-col { border-right: none; border-bottom: 1px solid var(--line); min-height: 280px; }
  .about__text-col { padding: 36px 24px; }
}

/* ============================================================
   PROCESS
   ============================================================ */
.process__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.process-step {
  padding: 40px 36px;
  border-right: 1px solid var(--line);
}
.process-step:last-child { border-right: none; }
.process-step__num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--red);
  margin-bottom: 20px;
}
.process-step__title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.process-step__desc {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.75;
}
@media (max-width: 700px) {
  .process__list { grid-template-columns: 1fr; }
  .process-step { border-right: none; border-bottom: 1px solid var(--line); }
  .process-step:last-child { border-bottom: none; }
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
}
.review {
  padding: 36px 32px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.review:last-child { border-right: none; }
.review__stars { display: flex; gap: 3px; }
.review__star {
  width: 11px; height: 11px;
  background: var(--red);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.review__text {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.75;
  flex: 1;
}
.review__text::before {
  content: '"';
  font-size: 32px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.review__author { font-size: 12px; }
.review__author strong { display: block; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.review__author span { color: var(--ink3); font-size: 10px; letter-spacing: 0.06em; }
@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; }
  .review { border-right: none; border-bottom: 1px solid var(--line); }
  .review:last-child { border-bottom: none; }
}

/* ============================================================
   TELEGRAM CTA BLOCK
   ============================================================ */
.tg-cta-block {
  background: var(--bg2);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 40px;
  border: 1px solid var(--line);
  flex-wrap: wrap;
}
.tg-cta-block__icon-wrap {
  width: 48px; height: 48px;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tg-cta-block__icon-wrap svg { color: #fff; }
.tg-cta-block__title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.tg-cta-block__sub { font-size: 13px; color: var(--ink3); line-height: 1.5; }
.tg-cta-block__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 13px 24px;
  white-space: nowrap;
  transition: background var(--transition);
}
.tg-cta-block__btn:hover { background: var(--red2); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--bg2);
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-banner__eyebrow { display: block; margin-bottom: 20px; }
.cta-banner__title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 24px;
}
.cta-banner__title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  display: block;
}
.cta-banner__sub {
  font-size: 14px;
  color: var(--ink2);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}
.cta-banner__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
#contact {
  background: var(--bg);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}
.contact__divider {
  text-align: center;
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
.contact__divider::before {
  content: '';
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.contact__divider span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink3);
  background: var(--bg);
  padding: 0 16px;
  position: relative;
}
.contact__divider small {
  font-size: 11px;
  color: var(--ink3);
  background: var(--bg);
  padding: 0 16px;
  position: relative;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 0;
  border: 1px solid var(--line);
}
.contact__info {
  padding: 40px 36px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact__info-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 4px;
}
.contact__info-value { font-size: 16px; font-weight: 600; color: var(--white); }
.contact__info-value a { color: inherit; transition: color var(--transition); }
.contact__info-value a:hover { color: var(--red); }
.contact__socials { display: flex; gap: 10px; }
.contact__social {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink3);
  transition: color var(--transition), border-color var(--transition);
}
.contact__social:hover { color: var(--red); border-color: var(--red); }
.contact__form-wrap { padding: 40px 36px; }

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.form__field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.form__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink3);
}
.form__input, .form__select, .form__textarea {
  width: 100%;
  background: var(--bg2);
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 10px 14px;
  font-size: 14px;
  color: var(--white);
  font-family: var(--sans);
  outline: none;
  transition: border-color var(--transition);
}
.form__input:focus, .form__select:focus, .form__textarea:focus { border-bottom-color: var(--red); }
.form__input::placeholder, .form__textarea::placeholder { color: var(--ink3); }
.form__textarea { min-height: 100px; resize: vertical; }
.form__select option { background: var(--bg2); }
.form__submit { margin-top: 8px; }
.form__success {
  display: none;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.3);
  color: #4ade80;
  padding: 12px 16px;
  font-size: 14px;
  margin-top: 12px;
}
@media (max-width: 800px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__info { border-right: none; border-bottom: 1px solid var(--line); }
  .form__row { grid-template-columns: 1fr; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg2);
  color: var(--white);
  border-top: 1px solid var(--line);
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 0;
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line);
}
.footer__col {
  padding: 0 40px 0 0;
  border-right: 1px solid var(--line);
}
.footer__col:last-child { border-right: none; }
.footer__logo {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.footer__logo span { color: var(--red); }
.footer__tagline { font-size: 13px; color: var(--ink3); line-height: 1.65; max-width: 260px; }
.footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.footer__social {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink3);
  transition: color var(--transition), border-color var(--transition);
}
.footer__social:hover { color: var(--red); border-color: var(--red); }
.footer__col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink3);
  margin-bottom: 20px;
  padding-top: 4px;
}
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a {
  font-size: 13px;
  color: var(--ink2);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--white); }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 11px;
  color: var(--ink3);
  letter-spacing: 0.04em;
}
.footer__bottom-links { display: flex; gap: 24px; }
.footer__bottom-links a { color: var(--ink3); transition: color var(--transition); }
.footer__bottom-links a:hover { color: var(--white); }
@media (max-width: 900px) {
  .footer__top { grid-template-columns: 1fr 1fr; padding: 40px 0 32px; }
  .footer__col { padding: 0 24px 32px 0; border-right: none; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
  .footer__col:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: 12px; text-align: center; }
}

/* ============================================================
   VIDEO MODAL
   ============================================================ */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(0,0,0,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.video-modal.open { opacity: 1; pointer-events: all; }
.video-modal__inner {
  position: relative;
  width: 90vw;
  max-width: 1100px;
  aspect-ratio: 16/9;
}
.video-modal__close {
  position: absolute;
  top: -44px; right: 0;
  font-size: 20px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  background: none;
  border: none;
  transition: color 0.2s;
}
.video-modal__close:hover { color: var(--white); }
.video-modal__inner iframe {
  width: 100%; height: 100%;
  border: none;
  display: block;
}

/* ============================================================
   СОГЛАСИЕ НА ОБРАБОТКУ ПЕРСОНАЛЬНЫХ ДАННЫХ (форма заявки)
   ============================================================ */
.form__consent { margin: 4px 0 20px; }
.form__consent-label {
  display: flex; align-items: flex-start; gap: 12px;
  cursor: pointer; user-select: none;
}
.form__consent-input {
  position: absolute; opacity: 0;
  width: 18px; height: 18px; margin: 0; cursor: pointer;
}
.form__consent-box {
  flex-shrink: 0;
  width: 18px; height: 18px; margin-top: 2px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 2px;
  background: transparent;
  transition: border-color .2s ease, background .2s ease;
  position: relative;
}
.form__consent-input:checked + .form__consent-box {
  background: var(--red, #E8001C);
  border-color: var(--red, #E8001C);
}
.form__consent-input:checked + .form__consent-box::after {
  content: '';
  position: absolute; left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form__consent-input:focus-visible + .form__consent-box {
  outline: 2px solid var(--red, #E8001C); outline-offset: 2px;
}
.form__consent-text {
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,0.55);
}
.form__consent-text a { color: var(--red, #E8001C); text-decoration: underline; }
.form__consent.is-error .form__consent-box { border-color: var(--red, #E8001C); }
.form__consent.is-error .form__consent-text { color: rgba(255,255,255,0.8); }

/* ============================================================
   УВЕДОМЛЕНИЕ О COOKIE
   ============================================================ */
.cookie-notice {
  position: fixed; left: 16px; right: 16px; bottom: 16px;
  z-index: 9999;
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  padding: 18px 22px;
  background: #111; border: 1px solid rgba(255,255,255,0.14);
  border-radius: 2px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(16px);
  transition: opacity .3s ease, transform .3s ease;
}
.cookie-notice.show { opacity: 1; transform: translateY(0); }
.cookie-notice__text {
  margin: 0; flex: 1;
  font-size: 13px; line-height: 1.65; font-weight: 300;
  color: rgba(255,255,255,0.65);
}
.cookie-notice__text a { color: var(--red, #E8001C); text-decoration: underline; }
.cookie-notice__btn {
  flex-shrink: 0;
  padding: 10px 22px;
  font: inherit; font-size: 13px; letter-spacing: .04em;
  color: #fff; background: var(--red, #E8001C);
  border: none; border-radius: 2px; cursor: pointer;
  transition: opacity .2s ease;
}
.cookie-notice__btn:hover { opacity: .85; }
@media (max-width: 600px) {
  .cookie-notice { flex-direction: column; align-items: stretch; gap: 14px; padding: 16px; }
  .cookie-notice__btn { width: 100%; }
}

/* ============================================================
   ЮРИДИЧЕСКИЙ БЛОК В ФУТЕРЕ
   ============================================================ */
.footer__legal {
  padding: 20px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__legal p {
  margin: 0 0 6px;
  font-size: 12px; line-height: 1.7; font-weight: 300;
  color: rgba(255,255,255,0.3);
}
.footer__legal p:last-child { margin-bottom: 0; }
