/* ==========================================================================
   ETLEGIS — Концепт V10: Оптическое стекло и студийный свет
   ========================================================================== */

:root {
  --bg: #727783;
  --bg-card: rgba(255, 255, 255, 0.80);
  --text: #FFFFFF;
  --text-muted: #CBD5E1;
  --gold: #A77E36;
  --gold-light: #C5A059;
  --gold-glow: rgba(167, 126, 54, 0.20);
  --border: rgba(255, 255, 255, 0.12);
  --font-sans: 'Onest', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cormorant', Georgia, serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html, body {
  background: #6E737F;
  color: var(--text);
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Фоновая студийная светотень — ТОЧНО ПО РЕФЕРЕНСУ IMAGE 3 */
.v10-ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(85vw 80vw at 72% 48%, rgba(255, 255, 255, 0.98) 0%, rgba(242, 244, 248, 0.90) 32%, rgba(210, 215, 224, 0.60) 58%, transparent 85%),
    linear-gradient(90deg, #6B707C 0%, #7B818E 28%, #A8AEBA 50%, #D8DCE4 74%, #F2F4F7 100%);
}

.v10-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.040;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* Шапка (Светлая по референсу Image 3) */
.v10-hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 64px);
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.hero__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #10141D;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.v10-tel {
  font-family: var(--font-mono);
  font-size: 13px;
  color: #10141D;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.04);
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}

.v10-tel:hover {
  background: #10141D;
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Hero секция (Full-bleed canvas + текстовый оверлей) */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px clamp(20px, 4vw, 64px) 60px;
  z-index: 2;
  overflow: hidden;
}

.hero__scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.hero__scene canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
  pointer-events: auto;
}

.hero__content {
  position: relative;
  z-index: 10;
  max-width: 520px;
  pointer-events: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.hero__content a,
.hero__content button {
  pointer-events: auto;
}

.hero__tag {
  display: none; /* Зачеркнутый бейдж скрыт по указанию пользователя */
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.4vw, 54px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: #0A111F;
  margin-bottom: 22px;
}

.hero__title-main {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(42px, 5.0vw, 62px);
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #0A111F;
  line-height: 1.05;
}

.hero__title-sub {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: #334155;
  margin-top: 6px;
}

.hero__desc {
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.70;
  color: #334155;
  margin-bottom: 34px;
  max-width: 480px;
  font-weight: 400;
}

/* Кнопка */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn--primary {
  background: #0A111F;
  color: #FFFFFF;
  border: 1px solid rgba(10, 17, 31, 0.20);
  box-shadow: 0 10px 28px rgba(10, 17, 31, 0.20), 0 2px 6px rgba(10, 17, 31, 0.12);
  border-radius: 999px;
}

.btn--primary:hover {
  transform: translateY(-2px);
  background: #1E293B;
  box-shadow: 0 14px 34px rgba(10, 17, 31, 0.28), 0 4px 10px rgba(10, 17, 31, 0.15);
  border-color: rgba(10, 17, 31, 0.40);
}

.btn--ghost {
  background: transparent;
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn--sm {
  padding: 9px 18px;
  font-size: 13px;
}

.btn__arrows {
  display: inline-flex;
  align-items: center;
  color: currentColor;
  transition: transform 0.2s ease;
}

.btn--primary:hover .btn__arrows {
  transform: translateX(4px);
}

/* Фолбэк LCP */
.hero-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.hero-fallback__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 140, 54, 0.2) 0%, transparent 70%);
  filter: blur(40px);
}

.hero-fallback__img {
  position: relative;
  width: 240px;
  height: 240px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

/* Интерактивный HUD плашек в Hero (без срыва экрана) */
.practice-hud {
  position: absolute;
  bottom: 40px;
  right: clamp(20px, 4vw, 64px);
  z-index: 25;
  width: min(440px, calc(100vw - 40px));
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.practice-hud.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.practice-hud__card {
  position: relative;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: 0 25px 60px rgba(30, 24, 18, 0.12), 0 0 30px rgba(197, 160, 89, 0.15);
}

.practice-hud__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(0, 0, 0, 0.04);
  color: #576072;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s;
}

.practice-hud__close:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #141720;
}

.practice-hud__num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  padding: 3px 8px;
  background: rgba(167, 126, 54, 0.12);
  border-radius: 6px;
  margin-bottom: 10px;
}

.practice-hud__title {
  font-size: 20px;
  font-weight: 600;
  color: #141720;
  margin-bottom: 8px;
  line-height: 1.25;
}

.practice-hud__desc {
  font-size: 13.5px;
  color: #576072;
  line-height: 1.55;
  margin-bottom: 18px;
}

.practice-hud__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ================== СЕКЦИЯ: КАК МЫ РАБОТАЕМ ================== */
.process-story {
  position: relative;
  min-height: 100vh;
  padding: 100px clamp(20px, 4vw, 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-top: 1px solid var(--border);
  background: #E8E2D7;
}

.process-story__inner {
  width: 100%;
  max-width: 1100px;
}

.process-story__eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.process-story__title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  margin-bottom: 60px;
  color: #141720;
}

.process-story__rail {
  position: relative;
  margin-bottom: 60px;
}

.process-story__svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.process-story__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.process-story__step {
  padding: 24px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(30, 24, 18, 0.05);
  backdrop-filter: blur(12px);
}

.process-story__num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 700;
}

.process-story__heading {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
  color: #141720;
}

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

.process-story__cta {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

/* Секция практик (целевой скролл с 3D плашек) */
.practices {
  position: relative;
  padding: 100px clamp(20px, 4vw, 64px);
  z-index: 2;
  border-top: 1px solid var(--border);
  background: #E2DBD0;
}

.practices__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.practices__eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}

.practices__title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.8vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  color: #141720;
  margin-bottom: 48px;
  max-width: 780px;
}

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

.practice-card {
  position: relative;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 14px 35px rgba(30, 24, 18, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.practice-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(167, 126, 54, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 126, 54, 0.45);
  box-shadow: 0 20px 45px rgba(30, 24, 18, 0.10), 0 0 25px rgba(167, 126, 54, 0.12);
}

.practice-card:hover::before {
  opacity: 1;
}

.practice-card.is-active,
.practice-card.is-highlighted {
  border-color: #C5A059 !important;
  box-shadow: 0 0 35px rgba(197, 160, 89, 0.45), 0 20px 40px rgba(10, 15, 29, 0.12) !important;
  animation: pulseCard 2.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes pulseCard {
  0% { transform: scale(0.98); border-color: #A77E36; box-shadow: 0 0 25px rgba(167, 126, 54, 0.30); }
  35% { transform: scale(1.025); border-color: #E5C583; box-shadow: 0 0 50px rgba(229, 197, 131, 0.55), inset 0 0 20px rgba(197, 160, 89, 0.15); }
  70% { transform: scale(1.01); border-color: #C5A059; box-shadow: 0 0 35px rgba(197, 160, 89, 0.35); }
  100% { transform: scale(1.0); }
}

.practice-card__num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  display: inline-block;
  padding: 4px 10px;
  background: rgba(167, 126, 54, 0.12);
  border-radius: 6px;
  margin-bottom: 20px;
}

.practice-card__heading {
  font-size: 20px;
  font-weight: 600;
  color: #141720;
  margin-bottom: 12px;
  line-height: 1.3;
}

.practice-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 980px) {
  .practices__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* Подвал */
.v10-ftr {
  border-top: 1px solid var(--border);
  padding: 40px clamp(20px, 4vw, 64px);
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
  background: #D8D1C4;
}

.v10-ftr a {
  color: #141720;
  text-decoration: none;
  font-weight: 600;
}

/* Адаптив */
@media (max-width: 1080px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 80px;
    padding-bottom: 90px;
    min-height: 100vh;
  }
  .hero__scene {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero__content {
    max-width: 100%;
  }
  .process-story__steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .process-story__steps {
    grid-template-columns: 1fr;
  }
  .v10-ftr {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================================================
   ВИДЖЕТЫ НАСТРОЙКИ КАРТОЧЕК И СТУДИЙНОГО СВЕТА (CARDS & STUDIO TUNER)
   ========================================================================== */
.v10-tuner-dock {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.bg-studio-btn,
.card-palette-btn {
  position: relative;
  bottom: auto;
  left: auto;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(18, 22, 32, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 999px;
  color: #F8FAFC;
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), 0 0 16px rgba(197, 160, 89, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.bg-studio-btn:hover,
.card-palette-btn:hover {
  background: rgba(26, 32, 46, 0.98);
  border-color: #E5C583;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45), 0 0 24px rgba(197, 160, 89, 0.3);
}

.bg-studio-btn .palette-icon,
.card-palette-btn .palette-icon {
  font-size: 16px;
  line-height: 1;
}

.bg-studio-panel,
.card-palette-panel {
  position: fixed;
  bottom: 80px;
  left: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 100px);
  z-index: 1000;
  background: rgba(14, 18, 26, 0.95);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: var(--font-sans);
  color: #E2E8F0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg-studio-panel.dock-right,
.card-palette-panel.dock-right,
.card-tuner-panel.dock-right {
  left: auto !important;
  right: 24px !important;
}

.bg-studio-panel.is-open,
.card-palette-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.palette-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  user-select: none;
  cursor: grab;
}

.palette-hdr:active {
  cursor: grabbing;
}

.palette-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.palette-close-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  transition: all 0.2s;
}

.palette-close-btn:hover {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.1);
}

.palette-body {
  padding: 20px;
  overflow-y: auto;
  max-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.palette-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C5A059;
  margin-bottom: 10px;
}

.palette-presets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.palette-preset-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #CBD5E1;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s;
}

.palette-preset-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 160, 89, 0.4);
  color: #FFFFFF;
}

.palette-preset-btn.active {
  background: rgba(197, 160, 89, 0.15);
  border-color: #C5A059;
  color: #F8FAFC;
}

.palette-swatch-circle {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.palette-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.palette-row-label {
  font-size: 12.5px;
  color: #94A3B8;
}

.palette-color-picker-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.palette-color-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.palette-color-input::-webkit-color-swatch-wrapper {
  padding: 0;
}

.palette-color-input::-webkit-color-swatch {
  border: none;
  border-radius: 7px;
}

.palette-hex-val {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #E2E8F0;
  min-width: 65px;
}

.palette-slider-row {
  margin-bottom: 14px;
}

.palette-slider-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}

.palette-slider-val {
  font-family: var(--font-mono);
  color: #C5A059;
  font-weight: 600;
}

.palette-slider {
  width: 100%;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  outline: none;
}

.palette-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #C5A059;
  cursor: pointer;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.palette-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.palette-btn-action {
  flex: 1;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #E2E8F0;
}

.palette-btn-action:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.palette-btn-primary {
  background: rgba(197, 160, 89, 0.2);
  border-color: #C5A059;
  color: #F8FAFC;
}

.palette-btn-primary:hover {
  background: rgba(197, 160, 89, 0.35);
  border-color: #E5C583;
}

/* ==================== LIBRARIES.DEV METAL-FX INTEGRATION ==================== */

/* 1. MetalBadge (Кнопка «Обсудить задачу» в стиле MetalBadge из Libraries.dev) */
.btn--primary.metal-badge-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 50px;
  padding: 0 34px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #111827;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: none;
  cursor: pointer;
  box-shadow: 
    inset 0px 0px 8.3px 0px rgba(255, 255, 255, 0.41),
    inset 0px 0px 8.3px 0px rgba(255, 255, 255, 0.41),
    inset 0px 0px 0px 0.83px rgba(255, 255, 255, 0.5),
    inset 0px 0.83px 0px 0px rgba(255, 255, 255, 0.78),
    0 12px 30px -6px rgba(15, 23, 42, 0.16),
    0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible;
  isolation: isolate;
}

.btn--primary.metal-badge-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    inset 0px 0px 10px 0px rgba(255, 255, 255, 0.6),
    inset 0px 1px 0px 0px rgba(255, 255, 255, 0.95),
    0 18px 40px -8px rgba(15, 23, 42, 0.22),
    0 4px 12px rgba(0, 0, 0, 0.08);
  color: #000000;
}

.metal-badge-btn .metal-fx-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  border-radius: 9999px;
}

.metal-badge-core {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: radial-gradient(ellipse 49% 49% at 50% 50%, rgba(255, 255, 255, 1) 46%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.94;
  pointer-events: none;
  z-index: 1;
}

.metal-badge-rim {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 1;
}

/* Блуждающий ореол вокруг бейджа (Wandering Halo) */
.metal-badge-halo {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 68px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(140, 195, 255, 0.48) 0%, rgba(210, 165, 255, 0.24) 40%, rgba(255, 255, 255, 0) 70%);
  filter: blur(14px);
  pointer-events: none;
  z-index: -1;
  opacity: 0.65;
  transition: opacity 0.3s;
}

.btn--primary.metal-badge-btn > span {
  position: relative;
  z-index: 3;
}

.btn--primary.metal-badge-btn .btn__arrows {
  position: relative;
  z-index: 3;
  color: #111827;
}

/* 2. MetalText (Заголовок «ЭТЛЕГИС» из жидкого металла с внутренней световой фаской) */
.hero__title-main.metal-text-root {
  position: relative;
  display: inline-block;
  color: transparent !important; /* Текст визуализируется шейдерным полотном WebGL */
  user-select: text;
}

.hero__title-main .metal-text-canvas {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 1;
}

.hero__title-main .metal-text-rim-canvas {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 2;
}

/* 3. MetalLogo (Логотип в шапке) */
.hero__logo.metal-logo-root {
  display: flex;
  align-items: center;
  gap: 12px;
}

.metal-logo-canvas {
  display: block;
  flex-shrink: 0;
  transition: transform 0.2s ease, filter 0.2s ease;
}

/* ==========================================================================
   ETLEGIS — Стили для 8 экранов брифа и тюнера логотипа (V10)
   ========================================================================== */

/* Логотип и шапка */
.hero__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}

.hero__logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #10141D;
  line-height: 1;
}

.logo-desc {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: #64748B;
  text-transform: uppercase;
  margin-top: 2px;
}

.logo-tune-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #64748B;
  font-size: 11px;
  cursor: pointer;
  opacity: 0.45;
  transition: all 0.25s ease;
  margin-left: 2px;
}

.hero__logo:hover .logo-tune-trigger-btn,
.logo-tune-trigger-btn:hover {
  opacity: 1;
  background: #C5A059;
  color: #fff;
  border-color: #C5A059;
  transform: rotate(45deg);
}

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

.v10-nav-link {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #475569;
  text-decoration: none;
  padding: 6px 0;
  position: relative;
  transition: color 0.2s ease;
}

.v10-nav-link:hover,
.v10-nav-link.active {
  color: #10141D;
}

.v10-nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #C5A059;
}

.v10-hdr-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn--header-cta {
  padding: 8px 18px !important;
  font-size: 12px !important;
  border-radius: 999px !important;
}

/* Общие стили секций */
.v10-section {
  position: relative;
  padding: 96px clamp(20px, 4vw, 64px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 2;
  background: rgba(248, 250, 253, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C5A059;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: #C5A059;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 3.8vw, 48px);
  font-weight: 500;
  line-height: 1.15;
  color: #10141D;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-lead {
  font-size: 16px;
  color: #475569;
  line-height: 1.65;
  max-width: 680px;
  margin-bottom: 36px;
}

/* Секция 2: О бюро */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-photo-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.about-photo-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.about-photo-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(16, 20, 29, 0.85);
  backdrop-filter: blur(12px);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}

.pillar-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.2s, border-color 0.2s;
}

.pillar-box:hover {
  transform: translateY(-2px);
  border-color: #C5A059;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #C5A059;
  font-weight: 700;
  margin-bottom: 6px;
}

.pillar-heading {
  font-size: 15px;
  font-weight: 600;
  color: #10141D;
  margin-bottom: 6px;
}

.pillar-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.5;
}

/* Секция 4: Подход к работе */
.approach-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.approach-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.approach-card:hover {
  transform: translateY(-3px);
  border-color: #C5A059;
}

.approach-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #C5A059;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.approach-heading {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  color: #10141D;
  margin-bottom: 10px;
}

.approach-text {
  font-size: 14px;
  color: #64748B;
  line-height: 1.6;
}

/* Секция 5: Команда (СТРОГО БЕЗ ФОТО) */
.team-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.team-card-editorial {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  padding: 36px 32px;
  position: relative;
  transition: all 0.2s ease;
}

.team-card-editorial:hover {
  border-color: #C5A059;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.team-registry-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #C5A059;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  color: #10141D;
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 12px;
}

.team-stats-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.stat-val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: #10141D;
}

.stat-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #94A3B8;
  text-transform: uppercase;
}

.team-bio {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* Секция 6: Кейсы */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 18px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}

.case-card:hover {
  transform: translateY(-4px);
  border-color: #C5A059;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.07);
}

.case-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #C5A059;
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}

.case-metric {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: #10141D;
  margin-bottom: 12px;
}

.case-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: #10141D;
  line-height: 1.35;
  margin-bottom: 12px;
}

.case-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 20px;
}

.case-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #10B981;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Секция 7: Блог */
.blog-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.blog-row {
  display: grid;
  grid-template-columns: 140px 180px 1fr 40px;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  text-decoration: none;
  transition: all 0.2s ease;
}

.blog-row:hover {
  transform: translateX(6px);
}

.blog-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #94A3B8;
}

.blog-rubric {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #C5A059;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-heading {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: #10141D;
  transition: color 0.2s;
}

.blog-row:hover .blog-heading {
  color: #C5A059;
}

.blog-arrow {
  text-align: right;
  color: #94A3B8;
  font-size: 18px;
  transition: transform 0.2s;
}

.blog-row:hover .blog-arrow {
  transform: translate(3px, -3px);
  color: #C5A059;
}

/* Секция 8: Контакты */
.contacts-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contacts-info-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 20px;
  padding: 36px;
}

.contact-item {
  margin-bottom: 24px;
}

.contact-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #94A3B8;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-val {
  font-size: 18px;
  font-weight: 600;
  color: #10141D;
}

.contact-val a {
  color: inherit;
  text-decoration: none;
}

.contact-val a:hover {
  color: #C5A059;
}

.contact-form-box {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04);
}

.contact-form-group {
  margin-bottom: 20px;
}

.contact-form-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: #64748B;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  color: #10141D;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form-input:focus {
  border-color: #C5A059;
  background: #fff;
}

.contact-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: #64748B;
  line-height: 1.4;
  margin-bottom: 24px;
  cursor: pointer;
}

.contact-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: #10141D;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.contact-submit-btn:hover {
  background: #C5A059;
  transform: translateY(-1px);
}

/* ================= ЛОГОТИП И ПАНЕЛЬ НАСТРОЙКИ ШЕЙДЕРА ЛОГОТИПА ================= */
.logo-tuner-panel {
  position: fixed;
  bottom: 84px;
  left: 24px;
  width: 360px;
  max-height: calc(100vh - 120px);
  background: rgba(20, 24, 34, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(197, 160, 89, 0.35);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  color: #F1F5F9;
  font-family: var(--font-sans);
}

.logo-tuner-panel.is-open {
  display: flex;
}

.logo-tuner-panel.dock-right {
  left: auto;
  right: 24px;
}

/* Элементы управления тюнера логотипа */
.logo-mode-group {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  padding: 4px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.logo-mode-btn {
  padding: 8px 6px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #94A3B8;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.logo-mode-btn:hover {
  color: #F8FAFC;
  background: rgba(255, 255, 255, 0.06);
}

.logo-mode-btn.active {
  background: rgba(197, 160, 89, 0.25);
  border-color: rgba(197, 160, 89, 0.6);
  color: #FFDF80;
  font-weight: 600;
}

.logo-color-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.logo-color-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-color-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-color-picker {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: none;
  cursor: pointer;
  padding: 0;
}

.logo-color-picker::-webkit-color-swatch-wrapper {
  padding: 0;
}

.logo-color-picker::-webkit-color-swatch {
  border: none;
  border-radius: 5px;
}

.logo-hex-input {
  width: 76px;
  padding: 4px 6px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #F8FAFC;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
}

.logo-swatch-list {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-swatch-btn {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  padding: 0;
}

.logo-swatch-btn:hover {
  transform: scale(1.25);
  border-color: #FFF;
}

.logo-swatch-btn.active {
  outline: 2px solid #C5A059;
  outline-offset: 1px;
}

.logo-tuner-section-hdr {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #C5A059;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}


@media (max-width: 1080px) {
  .v10-nav {
    display: none;
  }
  .about-grid,
  .contacts-wrapper,
  .team-matrix {
    grid-template-columns: 1fr;
  }
  .cases-grid,
  .approach-pillars-grid {
    grid-template-columns: 1fr;
  }
}

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

.logo-tuner-btn {
  position: relative;
  bottom: auto;
  left: auto;
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(20, 22, 28, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(229, 197, 131, 0.45);
  border-radius: 999px;
  color: #FDF4E6;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(197, 160, 89, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.logo-tuner-btn:hover {
  background: rgba(36, 32, 24, 0.95);
  border-color: #E5C583;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 25px rgba(229, 197, 131, 0.4);
}

/* Переключатель версий не перекрывает фиксированную шапку v10 */
.version-switcher {
  top: 74px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  z-index: 45 !important;
  max-width: calc(100vw - 32px);
  overflow-x: auto;
  background: rgba(20, 24, 34, 0.85) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25) !important;
}



