/* ==========================================================
   АРКА — Студия ремонта · стилистика White Studio
   ========================================================== */

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

:root {
  --bg: #FAFAF7;
  --bg-warm: #F4EFE8;
  --ink: #0E0E0E;
  --ink-soft: #1A1A1A;
  --gold: #C9A66B;
  --gold-soft: #E0CFA9;
  --sand: #E8E2D5;
  --line: rgba(26, 26, 26, 0.13);
  --muted: rgba(14, 14, 14, 0.55);
  --white: #FFFFFF;
  --dark: #111111;
  --dark-2: #1A1A1A;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-pill: 999px;

  --t-fast: 0.2s ease;
  --t-base: 0.35s cubic-bezier(.2, .7, .2, 1);
  --t-slow: 0.7s cubic-bezier(.2, .7, .2, 1);

  --maxw: 1320px;
  --pad: clamp(20px, 4vw, 56px);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter Tight', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* стандартный системный курсор — без кастомизации */

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

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

::selection { background: var(--gold); color: var(--white); }

.cursor { display: none; }

/* ==========================================================
   ПРОГРЕСС-БАР
   ========================================================== */
.progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ==========================================================
   НАВИГАЦИЯ
   ========================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--pad);
  background: rgba(250, 250, 247, 0.78);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.logo svg { color: var(--gold); }
.logo span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo strong {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.logo em {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 28px;
  font-size: 14px;
}
.nav-links a {
  position: relative;
  color: var(--ink);
  opacity: 0.7;
  transition: opacity var(--t-fast);
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-phone {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-toggle { display: none; }

/* ==========================================================
   КНОПКИ
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--r-sm);
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  white-space: nowrap;
}
.btn-lg { padding: 18px 32px; font-size: 15px; }
.btn-block { display: flex; width: 100%; justify-content: center; }
.btn-dark {
  background: var(--ink);
  color: var(--white);
}
.btn-dark:hover { background: var(--gold); color: var(--ink); transform: translateY(-2px); }
.btn-light {
  background: var(--white);
  color: var(--ink);
}
.btn-light:hover { background: var(--gold); transform: translateY(-2px); }
.btn-ghost-light {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
}
.btn-ghost-light:hover { background: var(--white); color: var(--ink); }

.btn { cursor: pointer; }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 100px var(--pad) 56px;
  overflow: hidden;
  color: var(--white);
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    url('https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?w=1920&q=80') center/cover no-repeat #0e0e0e;
}
.hero-video-el {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.78) saturate(0.92);
  z-index: 0;
}
.hero-video-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,14,14,0.35) 0%, transparent 30%, rgba(14,14,14,0.88) 100%);
  z-index: 1;
}
.hero-video-tag {
  position: absolute;
  top: 100px; right: var(--pad);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
  z-index: 2;
}
.hero-video-tag::before {
  content: '● ';
  color: var(--gold);
  margin-right: 4px;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-pill);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
  animation: fadeUp 0.9s var(--t-base);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(201, 166, 107, 0.25);
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 166, 107, 0.4); }
  50%     { box-shadow: 0 0 0 8px rgba(201, 166, 107, 0); }
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(48px, 8.5vw, 124px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
  animation: fadeUp 1.1s var(--t-base) both;
  animation-delay: 0.1s;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  max-width: 620px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 40px;
  animation: fadeUp 1.2s var(--t-base) both;
  animation-delay: 0.25s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
  animation: fadeUp 1.3s var(--t-base) both;
  animation-delay: 0.4s;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  animation: fadeUp 1.4s var(--t-base) both;
  animation-delay: 0.55s;
}
.hero-meta div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 30px);
  letter-spacing: -0.02em;
}
.hero-meta span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

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

/* ==========================================================
   TRUST BAR
   ========================================================== */
.trust {
  background: var(--sand);
  padding: 32px var(--pad);
  border-bottom: 1px solid var(--line);
}
.trust-row {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}
.trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-item strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 36px);
  letter-spacing: -0.02em;
}
.trust-item span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ==========================================================
   SECTIONS — общие
   ========================================================== */
.section {
  padding: clamp(80px, 12vw, 140px) var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
}
.section-dark, .section-light { max-width: none; }
.section-dark {
  background: var(--ink);
  color: var(--white);
}
.section-dark .section-title em { color: var(--gold); }
.section-dark .section-label { color: rgba(255, 255, 255, 0.5); }
.section-dark .section-desc { color: rgba(255, 255, 255, 0.6); }
.section-dark > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section-light {
  background: var(--bg-warm);
}
.section-light > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 880px;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-desc {
  max-width: 360px;
  font-size: 15px;
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ==========================================================
   УСЛУГИ
   ========================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.service {
  position: relative;
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.service:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 30px 60px rgba(14, 14, 14, 0.08);
}
.service-featured {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.service-featured:hover { border-color: var(--gold); }

.service-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
  text-transform: uppercase;
}
.service h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.service-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.service-featured .service-price { border-color: rgba(255, 255, 255, 0.15); }
.service-price span {
  font-size: 13px;
  color: var(--muted);
}
.service-featured .service-price span { color: rgba(255, 255, 255, 0.5); }
.service-price strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 36px;
  letter-spacing: -0.03em;
  color: inherit;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.service-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: inherit;
  opacity: 0.85;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 1px;
  background: var(--gold);
}

.service-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.service-featured .service-meta { color: rgba(255, 255, 255, 0.55); }

/* ==========================================================
   ПРЕИМУЩЕСТВА
   ========================================================== */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.benefit {
  background: var(--ink);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--t-base);
}
.benefit:hover { background: var(--dark-2); }
.benefit-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.15em;
}
.benefit h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.benefit p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

/* ==========================================================
   ДО / ПОСЛЕ
   ========================================================== */
.ba-wrap {
  position: relative;
  height: clamp(440px, 70vh, 720px);
  overflow: hidden;
  border-radius: var(--r-md);
  user-select: none;
  margin-bottom: 24px;
  background: var(--ink);
}
.ba-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.5s, background-image 0.5s;
}
.ba-before { filter: grayscale(0.6) brightness(0.85); }
.ba-after { clip-path: inset(0 50% 0 0); }
.ba-line {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold);
  cursor: ew-resize;
  transform: translateX(-50%);
}
.ba-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 12px 28px rgba(14, 14, 14, 0.25);
}
.ba-tag {
  position: absolute;
  top: 24px;
  padding: 8px 14px;
  background: rgba(14, 14, 14, 0.7);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  border-radius: var(--r-pill);
}
.ba-tag-before { left: 24px; }
.ba-tag-after { right: 24px; color: var(--gold); }

.ba-projects {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.ba-project {
  position: relative;
  padding: 18px;
  text-align: left;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all var(--t-base);
}
.ba-project:hover { border-color: var(--gold); transform: translateY(-3px); }
.ba-project.active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.ba-p-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
}
.ba-p-name {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-weight: 400;
}
.ba-p-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  opacity: 0.55;
}

.ba-caption {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* ==========================================================
   ГАЛЕРЕЯ
   ========================================================== */
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter-chip {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  background: transparent;
  transition: all var(--t-fast);
}
.filter-chip:hover { border-color: var(--ink); }
.filter-chip.on {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: 16px;
}
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--sand);
  cursor: pointer;
  transition: transform var(--t-base);
}
.gallery-card.lg {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-card.hidden { display: none; }
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--t-base);
}
.gallery-card:hover img { transform: scale(1.05); }
.gallery-card figcaption {
  position: absolute;
  left: 16px; right: 16px; bottom: 16px;
  padding: 14px 16px;
  background: rgba(14, 14, 14, 0.78);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-radius: var(--r-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--t-base), transform var(--t-base);
}
.gallery-card:hover figcaption {
  opacity: 1;
  transform: none;
}
.gallery-card figcaption strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 18px;
}
.gallery-card figcaption span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  opacity: 0.7;
}

.gallery-cta {
  margin-top: 32px;
  text-align: center;
}

/* ==========================================================
   ПРОЦЕСС (этапы)
   ========================================================== */
.process {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.process li {
  position: relative;
  padding: 32px 24px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--t-base);
}
.process li:hover { border-color: var(--gold); transform: translateY(-4px); }
.process li::before {
  content: '';
  position: absolute;
  top: 38px; right: -10px;
  width: 8px; height: 1px;
  background: var(--gold);
}
.process li:nth-child(4)::before, .process li:nth-child(7)::before { display: none; }
.step-n {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 0.15em;
}
.process h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.process p {
  font-size: 14px;
  color: var(--muted);
}

/* ==========================================================
   КАЛЬКУЛЯТОР
   ========================================================== */
.calc {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.calc-form {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.calc-field label,
.calc-field > label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

/* slider */
.calc-slider {
  display: flex;
  align-items: center;
  gap: 24px;
}
.calc-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(to right, var(--ink) var(--p, 30%), var(--line) var(--p, 30%));
  outline: none;
}
.calc-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg-warm);
  box-shadow: 0 4px 16px rgba(201, 166, 107, 0.4);
  cursor: grab;
  transition: transform var(--t-fast);
}
.calc-slider input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
.calc-slider input[type="range"]::-moz-range-thumb {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg-warm);
  cursor: grab;
}
.calc-slider-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-width: 80px;
  justify-content: flex-end;
}
.calc-slider-value strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 32px;
  color: var(--ink);
}
.calc-slider-value span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}
.calc-slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
}

/* chips */
.calc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.calc-chips button {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  transition: all var(--t-fast);
}
.calc-chips button small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.calc-chips button:hover { border-color: var(--ink); }
.calc-chips button.on {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.calc-chips button.on small { color: var(--gold); }

/* extras checkbox */
.calc-extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.calc-extra {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 14px;
  margin: 0 !important;
  text-transform: none !important;
  font-family: inherit !important;
  letter-spacing: 0 !important;
  color: var(--ink) !important;
  cursor: pointer;
  transition: all var(--t-fast);
}
.calc-extra:hover { border-color: var(--ink); }
.calc-extra input { accent-color: var(--gold); width: 18px; height: 18px; }
.calc-extra:has(input:checked) {
  background: var(--ink);
  color: var(--white) !important;
  border-color: var(--ink);
}

/* result */
.calc-result {
  position: sticky;
  top: 100px;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.calc-result-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.calc-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.calc-badge {
  padding: 6px 12px;
  background: var(--sand);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}
.calc-amount {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(56px, 6vw, 88px);
  letter-spacing: -0.04em;
  line-height: 1;
}
.calc-amount em {
  font-style: normal;
  color: var(--gold);
}
.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.calc-breakdown div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.calc-breakdown div:last-child { border-bottom: none; }
.calc-breakdown span { color: var(--muted); }
.calc-breakdown strong {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
}
.calc-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* ==========================================================
   ИНЖЕНЕРИЯ
   ========================================================== */
.eng-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-auto-rows: minmax(280px, auto);
  gap: 16px;
}
.eng-card {
  display: flex;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base), box-shadow var(--t-base);
}
.eng-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 24px 48px rgba(14, 14, 14, 0.06);
}
.eng-feature {
  grid-row: span 2;
  flex-direction: column;
}
.eng-feature .eng-card-img {
  width: 100%;
  height: 320px;
}
.eng-feature .eng-card-body { padding: 36px; }
.eng-card-img {
  flex-shrink: 0;
  width: 200px;
  background-size: cover;
  background-position: center;
}
.eng-card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.eng-card-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.eng-card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.eng-card p {
  font-size: 14px;
  color: var(--muted);
}
.eng-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.eng-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--ink);
  opacity: 0.85;
}
.eng-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 1px;
  background: var(--gold);
}
.eng-hatches { background: linear-gradient(135deg, #FFFAF0, var(--white)); }

.eng-promise {
  margin-top: 32px;
  padding: 36px 40px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  gap: 32px;
}
.eng-promise-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.eng-promise-icon svg { width: 32px; height: 32px; }
.eng-promise h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.eng-promise p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
}

/* ==========================================================
   БРИГАДА
   ========================================================== */
.crew-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 32px 0;
  margin-bottom: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.crew-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.crew-stats strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--gold);
  letter-spacing: -0.03em;
  line-height: 1;
}
.crew-stats span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.crew-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  transition: all var(--t-base);
}
.crew-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 24px 48px rgba(14, 14, 14, 0.06);
}
.crew-card img {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--sand);
  flex-shrink: 0;
}
.crew-body { flex: 1; }
.crew-card h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.crew-role {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.crew-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.crew-promise {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
  background: var(--sand);
  border-radius: var(--r-md);
}
.crew-promise h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.crew-promise p {
  font-size: 15px;
  color: var(--muted);
  max-width: 700px;
}

/* ==========================================================
   ОТЗЫВЫ
   ========================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.review-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all var(--t-base);
}
.review-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(14, 14, 14, 0.06);
}
.review-stars {
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 18px;
}
.review-card blockquote {
  font-family: 'Fraunces', serif;
  font-size: 17px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
  flex: 1;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.review-pic {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--sand);
}
.review-author strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
}
.review-author span {
  font-size: 12px;
  color: var(--muted);
}
.review-meta-row {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.reviews-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 40px;
  background: var(--sand);
  border-radius: var(--r-md);
  flex-wrap: wrap;
  gap: 24px;
}
.reviews-rating {
  display: flex;
  align-items: center;
  gap: 16px;
}
.reviews-rating strong {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 48px;
  letter-spacing: -0.03em;
}
.reviews-rating > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.reviews-rating > div span:last-child {
  font-size: 13px;
  color: var(--muted);
}

/* ==========================================================
   ГЕОГРАФИЯ
   ========================================================== */
.geo {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
}
.geo-block {
  padding: 32px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r-md);
}
.geo-block h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 24px;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.geo-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.geo-list li {
  position: relative;
  padding: 8px 0 8px 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}
.geo-list li::before {
  content: '·';
  position: absolute;
  left: 0; top: 8px;
  color: var(--gold);
}

.geo-cta {
  margin-top: 32px;
  text-align: center;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}
.geo-cta a {
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
}

/* ==========================================================
   ГАРАНТИИ
   ========================================================== */
.guarantee {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.guarantee-block {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--t-base);
}
.guarantee-block:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}
.g-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--gold);
  font-family: 'Fraunces', serif;
  font-size: 28px;
  border-radius: var(--r-md);
}
.guarantee-block h4 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.guarantee-block p {
  font-size: 14px;
  color: var(--muted);
}
.guarantee-cta {
  margin-top: 32px;
  text-align: center;
}

/* ==========================================================
   FAQ
   ========================================================== */
.faq {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 1000px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
  transition: background var(--t-base);
}
.faq-item summary {
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 400;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  transition: color var(--t-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: 'JetBrains Mono', monospace;
  font-size: 28px;
  color: var(--gold);
  transition: transform var(--t-base);
  font-weight: 300;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--gold); }
.faq-item p {
  margin-top: 16px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  max-width: 800px;
}

/* ==========================================================
   КОНТАКТЫ
   ========================================================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contact-text {
  position: sticky;
  top: 120px;
}
.contact-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin: 24px 0 32px;
  max-width: 480px;
}
.contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.contact-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 15px;
}
.contact-list li > span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.contact-list li > a, .contact-list li > span:last-child {
  color: var(--white);
  font-weight: 500;
}
.contact-list li > a:hover { color: var(--gold); }

.contact-form {
  padding: 40px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-form h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 28px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.form-row label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.form-row input {
  padding: 14px 16px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 0;
  transition: border-color var(--t-fast);
}
.form-row input:focus {
  outline: none;
  border-color: var(--gold);
}
.form-row input::placeholder { color: rgba(255, 255, 255, 0.3); }
.form-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  margin-top: 8px;
}
.form-note a { color: rgba(255, 255, 255, 0.7); border-bottom: 1px solid rgba(255, 255, 255, 0.3); }

/* ==========================================================
   SEO TEXT
   ========================================================== */
.seo-text {
  padding: 80px var(--pad);
  background: var(--bg-warm);
}
.seo-title {
  max-width: var(--maxw);
  margin: 0 auto 32px;
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
  color: var(--ink);
}
.seo-content {
  max-width: var(--maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  opacity: 0.85;
}
.seo-content a {
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
}
.seo-content strong { font-weight: 600; }

/* ==========================================================
   ФУТЕР
   ========================================================== */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px var(--pad) 32px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.55;
  max-width: 360px;
}
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col a, .footer-col span {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  max-width: var(--maxw);
  margin: 24px auto 0;
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================
   МЕССЕНДЖЕРЫ — блок в контактах
   ========================================================== */
.messengers {
  margin: 32px 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-md);
}
.messengers-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}
.messengers-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.msg {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.msg:hover { transform: translateY(-3px); }
.msg svg { width: 22px; height: 22px; flex-shrink: 0; }
.msg span { display: flex; flex-direction: column; line-height: 1.1; }
.msg small {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 400;
  opacity: 0.7;
  letter-spacing: 0.02em;
}
.msg-tg  { background: linear-gradient(135deg, #229ED9, #1B7AAB); box-shadow: 0 8px 20px rgba(34, 158, 217, 0.3); }
.msg-wa  { background: linear-gradient(135deg, #25D366, #128C7E); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3); }
.msg-vk  { background: linear-gradient(135deg, #0077FF, #0048A0); box-shadow: 0 8px 20px rgba(0, 119, 255, 0.3); }
.msg-max { background: linear-gradient(135deg, #1A1A1A, #3D3D3D); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4); border: 1px solid rgba(255,255,255,0.15); }
.msg-tg:hover  { box-shadow: 0 14px 32px rgba(34, 158, 217, 0.5); }
.msg-wa:hover  { box-shadow: 0 14px 32px rgba(37, 211, 102, 0.5); }
.msg-vk:hover  { box-shadow: 0 14px 32px rgba(0, 119, 255, 0.5); }
.msg-max:hover { box-shadow: 0 14px 32px rgba(0, 0, 0, 0.6); }

/* ==========================================================
   ПЛАВАЮЩАЯ КНОПКА + МЕНЮ МЕССЕНДЖЕРОВ
   ========================================================== */
.float-stack {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.float-cta {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 32px rgba(201, 166, 107, 0.4);
  transition: transform var(--t-base), box-shadow var(--t-base);
  animation: pulse 3s ease-in-out infinite;
  border: none;
  cursor: pointer;
  position: relative;
}
.float-cta:hover { transform: scale(1.08); }
.float-cta svg { width: 24px; height: 24px; }
.float-cta .fc-icon-close {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0);
  opacity: 0;
  transition: transform var(--t-base), opacity var(--t-base);
}
.float-cta .fc-icon-chat {
  transition: transform var(--t-base), opacity var(--t-base);
}
.float-stack.open .float-cta { animation: none; }
.float-stack.open .fc-icon-chat { transform: rotate(90deg) scale(0); opacity: 0; }
.float-stack.open .fc-icon-close { transform: translate(-50%, -50%) rotate(0) scale(1); opacity: 1; }

.float-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px) scale(0.92);
  transform-origin: bottom right;
  transition: opacity var(--t-base), transform var(--t-base);
}
.float-stack.open .float-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.float-msg {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.float-msg svg { width: 22px; height: 22px; }
.float-msg::before {
  content: attr(data-tip);
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  background: var(--ink);
  color: var(--white);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.05em;
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast);
}
.float-msg:hover { transform: scale(1.12); }
.float-msg:hover::before { opacity: 1; }
.float-tg  { background: linear-gradient(135deg, #229ED9, #1B7AAB); box-shadow: 0 6px 16px rgba(34, 158, 217, 0.4); }
.float-wa  { background: linear-gradient(135deg, #25D366, #128C7E); box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4); }
.float-vk  { background: linear-gradient(135deg, #0077FF, #0048A0); box-shadow: 0 6px 16px rgba(0, 119, 255, 0.4); }
.float-max { background: linear-gradient(135deg, #1A1A1A, #3D3D3D); box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5); }

/* МЕССЕНДЖЕРЫ В ФУТЕРЕ */
.footer-msg {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.fmsg {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform var(--t-fast);
}
.fmsg:hover { transform: translateY(-3px); }
.fmsg svg { width: 18px; height: 18px; }
.fmsg-tg  { background: #229ED9; }
.fmsg-wa  { background: #25D366; }
.fmsg-vk  { background: #0077FF; }
.fmsg-max { background: linear-gradient(135deg, #2a2a2a, #4a4a4a); border: 1px solid rgba(255,255,255,0.15); }

/* ==========================================================
   АДАПТИВ
   ========================================================== */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px; height: 28px;
    align-items: center;
    justify-content: center;
  }
  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform var(--t-base);
  }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .ba-projects { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process li::before { display: none; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantee { grid-template-columns: repeat(2, 1fr); }
  .calc { grid-template-columns: 1fr; }
  .calc-result { position: static; }
  .contact { grid-template-columns: 1fr; }
  .contact-text { position: static; }
  .geo { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .nav-phone { display: none; }
  .trust-row { grid-template-columns: repeat(3, 1fr); row-gap: 24px; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .eng-grid { grid-template-columns: 1fr; }
  .eng-feature { grid-row: auto; }
  .eng-card-img { width: 100%; height: 220px; }
  .eng-card { flex-direction: column; }
  .crew-grid { grid-template-columns: repeat(2, 1fr); }
  .crew-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .crew-promise { grid-template-columns: 1fr; text-align: left; }
  .eng-promise { flex-direction: column; text-align: center; }
}

@media (max-width: 720px) {
  body { font-size: 15px; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .ba-projects { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-card.lg { grid-column: auto; grid-row: auto; }
  .process { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; }
  .geo-list { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .calc-extras { grid-template-columns: 1fr; }
  .reviews-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .reviews-rating { justify-content: center; }
  .float-cta { right: 16px; bottom: 16px; }
  .nav { padding: 12px 16px; }
  .hero { padding: 90px 16px 40px; }
  .hero-meta { grid-template-columns: 1fr 1fr; gap: 20px; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .nav-cta .btn { display: none; }
  .messengers-row { grid-template-columns: 1fr; }
  .float-stack { right: 16px; bottom: 16px; }
  .crew-grid { grid-template-columns: 1fr; }
  .crew-card { flex-direction: column; text-align: center; padding: 24px; }
  .crew-card img { width: 80px; height: 80px; }
  .crew-stats { grid-template-columns: repeat(2, 1fr); }
  .eng-promise { padding: 24px; }
  .crew-promise { padding: 24px; }
}

/* PRINT */
@media print {
  .nav, .float-cta, .progress, .cursor { display: none; }
  body { background: white; color: black; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   РКН / 152-ФЗ: согласие в форме, cookie-баннер, юр.подвал, legal-страницы
   ============================================================ */

/* --- Чекбокс согласия в форме --- */
.form-consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  margin: 16px 0 18px;
  cursor: pointer;
  user-select: none;
}
.form-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 22px;
  height: 22px;
  margin: 0;
  cursor: pointer;
}
.form-consent-box {
  width: 22px;
  height: 22px;
  border: 1.5px solid rgba(14,14,14,.35);
  border-radius: 6px;
  background: #fff;
  position: relative;
  transition: all .2s ease;
  flex-shrink: 0;
  margin-top: 2px;
}
.form-consent input[type="checkbox"]:checked + .form-consent-box {
  background: #C9A66B;
  border-color: #C9A66B;
}
.form-consent input[type="checkbox"]:checked + .form-consent-box::after {
  content: '';
  position: absolute;
  left: 6px; top: 2px;
  width: 6px; height: 11px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.form-consent input[type="checkbox"]:focus-visible + .form-consent-box {
  outline: 2px solid #C9A66B;
  outline-offset: 2px;
}
.form-consent-text {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,.78);
}
.form-consent-text a {
  color: #F5F0E6;
  border-bottom: 1px solid rgba(255,255,255,.35);
  text-decoration: none;
}
.form-consent-text a:hover { color: #C9A66B; border-bottom-color: #C9A66B; }

.contact-form button[type="submit"]:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

.form-note { font-size: 12px; color: rgba(255,255,255,.6); margin-top: 12px; line-height: 1.5; }
.form-note a { color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.3); text-decoration: none; }
.form-note a:hover { color: #C9A66B; border-bottom-color: #C9A66B; }

/* --- Юридический подвал --- */
.footer-legal {
  max-width: 1280px;
  margin: 0 auto;
  padding: 32px 40px 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer-legal-row strong { color: rgba(255,255,255,.8); font-weight: 500; }
.footer-legal-row a {
  color: rgba(255,255,255,.7);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,.25);
  transition: color .2s, border-color .2s;
}
.footer-legal-row a:hover { color: #C9A66B; border-bottom-color: #C9A66B; }
.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,.4);
  max-width: 1100px;
}

/* --- Cookie-баннер --- */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 950;
  background: #0E0E0E;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.06) inset;
  padding: 22px 26px;
  max-width: 1180px;
  margin: 0 auto;
  transform: translateY(140%);
  transition: transform .55s cubic-bezier(.2,.8,.2,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.cookie-text strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  color: #FAFAF7;
}
.cookie-text p {
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255,255,255,.7);
  margin: 0;
  max-width: 760px;
}
.cookie-text a {
  color: #C9A66B;
  text-decoration: none;
  border-bottom: 1px dotted rgba(201,166,107,.5);
}
.cookie-text a:hover { border-bottom-style: solid; }
.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-actions .btn-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.cookie-actions .btn-light:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.4);
}

@media (max-width: 720px) {
  .cookie-inner { grid-template-columns: 1fr; }
  .cookie-actions { flex-direction: column-reverse; }
  .cookie-actions .btn { width: 100%; justify-content: center; }
  .footer-legal { padding: 28px 20px 20px; }
}

/* --- Legal-страницы (privacy / consent) --- */
.legal {
  background: #FAFAF7;
  color: #0E0E0E;
  padding: 60px 24px 100px;
  min-height: calc(100vh - 200px);
}
.legal-inner {
  max-width: 860px;
  margin: 0 auto;
}
.crumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(14,14,14,.55);
  margin-bottom: 28px;
  letter-spacing: .03em;
}
.crumbs a {
  color: rgba(14,14,14,.7);
  text-decoration: none;
  border-bottom: 1px dotted rgba(14,14,14,.25);
}
.crumbs a:hover { color: #C9A66B; border-bottom-color: #C9A66B; }

.legal h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}
.legal-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(14,14,14,.5);
  letter-spacing: .04em;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(14,14,14,.1);
}
.legal section { margin-bottom: 36px; }
.legal h2 {
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 24px;
  letter-spacing: -0.015em;
  margin-bottom: 14px;
  color: #0E0E0E;
}
.legal p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(14,14,14,.78);
  margin-bottom: 12px;
}
.legal a {
  color: #0E0E0E;
  text-decoration: none;
  border-bottom: 1px solid rgba(14,14,14,.3);
  transition: border-color .2s, color .2s;
}
.legal a:hover { color: #C9A66B; border-bottom-color: #C9A66B; }
.legal-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 16px;
}
.legal-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(14,14,14,.78);
}
.legal-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 6px;
  height: 1px;
  background: #C9A66B;
}
.legal-list strong { color: #0E0E0E; font-weight: 500; }
.legal-back {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(14,14,14,.1);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
}

/* --- Galery: fallback for broken images --- */
.gallery-card { position: relative; background: linear-gradient(135deg, #F4EFE8 0%, #E8E2D5 60%, #C9A66B 100%); }
.gallery-card.broken img { display: none; }
.gallery-card.broken { min-height: 320px; display: flex; align-items: flex-end; }
.gallery-card.broken::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,.5), transparent 50%),
    repeating-linear-gradient(45deg, rgba(14,14,14,.04) 0 1px, transparent 1px 14px);
}
.gallery-card.broken figcaption {
  position: relative;
  background: linear-gradient(transparent, rgba(14,14,14,.55));
  color: #fff;
}
.gallery-card.broken figcaption strong,
.gallery-card.broken figcaption span { color: #fff; }

/* ============================================================
   ДО/ПОСЛЕ: видео-режим + sub-tabs (фото / видео)
   ============================================================ */

.ba-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  display: none;
  z-index: 3;
  border-radius: inherit;
}
.ba-wrap.video-mode .ba-img,
.ba-wrap.video-mode .ba-line,
.ba-wrap.video-mode .ba-tag-before,
.ba-wrap.video-mode .ba-tag-after { display: none !important; }
.ba-wrap.video-mode .ba-video { display: block; }
.ba-wrap.video-mode .ba-tag-video { display: inline-flex; }

.ba-tag-video {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 5;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 90, 31, .92);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.ba-tag-video::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: blink 1.4s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: .35; }
}

.ba-tabs {
  display: inline-flex;
  gap: 4px;
  background: var(--white);
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin: 0 0 18px;
  flex-wrap: wrap;
}
.ba-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: all .25s ease;
}
.ba-tab svg { opacity: .7; }
.ba-tab.on {
  background: var(--ink);
  color: var(--white);
}
.ba-tab.on svg { opacity: 1; }
.ba-tab:hover:not(.on) { color: var(--ink); }
.ba-tab-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 100px;
  background: rgba(0,0,0,.06);
  color: inherit;
  letter-spacing: 0;
}
.ba-tab.on .ba-tab-count {
  background: rgba(255,255,255,.15);
}

/* Расширенная сетка проектов — авто-fit под много кнопок */
.ba-projects {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
  gap: 10px;
}
.ba-project[hidden] { display: none !important; }

.ba-project-video .ba-p-num { color: #FF5A1F; }
.ba-project-video.active {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1a14 70%, #FF5A1F 200%);
  border-color: #1a1a1a;
}
.ba-project-video .ba-p-meta::before {
  content: '';
}

@media (max-width: 720px) {
  .ba-projects { grid-template-columns: repeat(2, 1fr) !important; }
  .ba-tabs { width: 100%; }
  .ba-tab { flex: 1; justify-content: center; padding: 10px 12px; }
}

/* ============================================================
   COMPOSITE MODE (готовые «До|После» в одной картинке)
   + улучшенное качество видео (contain вместо cover)
   ============================================================ */

/* Композитные before/after-фотографии */
.ba-wrap.composite-mode .ba-img.ba-after,
.ba-wrap.composite-mode .ba-line,
.ba-wrap.composite-mode .ba-tag-before,
.ba-wrap.composite-mode .ba-tag-after,
.ba-wrap.composite-mode .ba-tag-video { display: none !important; }

.ba-wrap.composite-mode { background: #0E0E0E; }
.ba-wrap.composite-mode .ba-img.ba-before {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #0E0E0E;
  filter: none;
  clip-path: none;
}

/* Видео — contain + центрирование на тёмном фоне для лучшей чёткости */
.ba-video {
  object-fit: contain !important;
  background: #0a0a0a;
  max-height: 100%;
}
.ba-wrap.video-mode {
  background: #0a0a0a;
  height: clamp(380px, 60vh, 580px);
}

/* Уменьшаем общую высоту слайдера в видео-режиме чтобы 720p выглядело резче */
@media (min-width: 721px) {
  .ba-wrap.video-mode .ba-video {
    max-width: 720px;
    margin: 0 auto;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
  }
}

/* В composite-mode тоже уменьшаем фрейм — портретные фото лучше показывать ниже */
.ba-wrap.composite-mode {
  height: clamp(420px, 70vh, 680px);
}

/* ============================================================
   Слайдер до/после: portrait-friendly + без ч/б фильтра
   (composite-режим больше не нужен — нарезаны половины)
   ============================================================ */

.ba-wrap { background: #0E0E0E; }
.ba-img {
  background-size: contain !important;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #0E0E0E;
}
.ba-before { filter: none !important; }

/* Линия и ручка чуть заметнее на тёмном фоне */
.ba-line {
  width: 3px !important;
  background: #fff !important;
  box-shadow: 0 0 12px rgba(0,0,0,.5);
}
.ba-handle {
  background: #fff !important;
  color: #0E0E0E !important;
  box-shadow: 0 6px 22px rgba(0,0,0,.45);
  width: 56px !important;
  height: 56px !important;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 22px !important;
  font-weight: 600;
  cursor: ew-resize;
  user-select: none;
  border: 2px solid #fff;
}

/* Бейджи ДО/ПОСЛЕ — высокий контраст на тёмном */
.ba-tag {
  background: rgba(0,0,0,.65) !important;
  color: #fff !important;
  backdrop-filter: blur(6px);
}
.ba-tag-after { color: #C9A66B !important; }

/* ============================================================
   PROJECT MODAL (галерея 4 фото на проект)
   ============================================================ */

.gallery-card { cursor: zoom-in; }
.gallery-card[data-project] { position: relative; }
.gallery-card[data-project]::after {
  content: 'Смотреть 4 фото →';
  position: absolute;
  top: 14px; right: 14px;
  padding: 6px 12px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
  color: #fff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
  z-index: 4;
}
.gallery-card[data-project]:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .35s ease;
}
.project-modal.show { opacity: 1; }
.project-modal[hidden] { display: none; }

.pm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(8px);
}
.pm-shell {
  position: relative;
  width: min(1200px, 94vw);
  max-height: 92vh;
  background: #0E0E0E;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0,0,0,.5);
  transform: translateY(20px);
  transition: transform .4s cubic-bezier(.2,.8,.2,1);
}
.project-modal.show .pm-shell { transform: translateY(0); }

.pm-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 22px 26px 18px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pm-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #C9A66B;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.pm-head h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.pm-head p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.02em;
  margin: 0;
}

.pm-close {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  flex-shrink: 0;
}
.pm-close:hover {
  background: rgba(255,255,255,.15);
  transform: rotate(90deg);
}

.pm-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  flex: 1;
  background: #0a0a0a;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.2) transparent;
}
.pm-track::-webkit-scrollbar { height: 8px; }
.pm-track::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,.2);
  border-radius: 4px;
}

.pm-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pm-slide img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

.pm-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 26px 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  letter-spacing: 0.04em;
}
.pm-foot #pmCounter {
  color: #fff;
  font-weight: 500;
}
.pm-hint { opacity: .6; }

@media (max-width: 720px) {
  .pm-head h3 { font-size: 20px; }
  .pm-slide { padding: 12px; }
  .pm-slide img { max-height: 60vh; }
  .pm-hint { display: none; }
}

/* ==========================================================
   ДИЗАЙН-ПОБЕДИТЕЛИ (новый блок, заменяет «Готовые проекты»)
   ========================================================== */
.section-darkest {
  background: #1a1a1a;
  color: #f6f5f1;
}
.winners {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--maxw);
  margin: 0 auto;
}
.winners-text { padding: 20px 0; }
.winners-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 14px 0 24px;
  color: #fff;
}
.winners-title em {
  font-style: italic;
  color: var(--gold);
}
.winners-gold { color: var(--gold); }
.winners-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,.78);
  margin-bottom: 20px;
}
.winners-divider span {
  display: block;
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,.45);
}
.winners-desc {
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.65;
  max-width: 540px;
  margin-bottom: 32px;
}
.winners-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 16px;
}
.winners-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,.92);
  line-height: 1.45;
}
.winners-star {
  flex: none;
  width: 26px; height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201, 166, 107, 0.16);
  border: 1px solid rgba(201, 166, 107, 0.4);
  color: var(--gold);
  font-size: 12px;
  border-radius: 4px;
}
.winners-actions {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 40px;
  background: #d6f24b;
  color: #1a1a1a;
  border-radius: 999px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform var(--t-base), box-shadow var(--t-base), background var(--t-base);
  box-shadow: 0 10px 24px rgba(214, 242, 75, 0.25);
}
.btn-pill span {
  font-size: 12px;
  font-weight: 400;
  opacity: 0.7;
  margin-top: 2px;
}
.btn-pill:hover {
  transform: translateY(-2px);
  background: #e3ff5a;
  box-shadow: 0 16px 36px rgba(214, 242, 75, 0.4);
}
.winners-link {
  color: var(--gold);
  font-size: 15px;
  border-bottom: 1px solid rgba(201, 166, 107, 0.55);
  padding-bottom: 2px;
  transition: color var(--t-base), border-color var(--t-base);
}
.winners-link:hover { color: #fff; border-color: #fff; }

/* СТЕК КАРТОЧЕК-ДИЗАЙНОВ */
.winners-stack {
  position: relative;
  height: 620px;
  perspective: 1400px;
}
.winners-card {
  position: absolute;
  width: 320px;
  height: 460px;
  border-radius: 14px;
  background-position: center;
  background-size: cover;
  background-color: #2a2a2a;
  box-shadow: 0 30px 70px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.winners-card-1 {
  top: 60px; left: 40px;
  transform: rotate(-2deg);
  z-index: 4;
}
.winners-card-2 {
  top: 30px; left: 200px;
  transform: rotate(3deg);
  z-index: 3;
  opacity: 0.92;
}
.winners-card-3 {
  top: 80px; left: 360px;
  transform: rotate(-1.5deg);
  z-index: 2;
  opacity: 0.8;
}
.winners-card-4 {
  top: 120px; left: 480px;
  transform: rotate(2.5deg);
  z-index: 1;
  opacity: 0.55;
  filter: blur(0.6px);
}
.winners-stack:hover .winners-card-1 { transform: rotate(-3deg) translateY(-6px); }
.winners-stack:hover .winners-card-2 { transform: rotate(4deg) translateY(-4px); }
.winners-stack:hover .winners-card-3 { transform: rotate(-2deg) translateY(-2px); }
.winners-stack:hover .winners-card-4 { transform: rotate(3.5deg); }

.winners-watermark {
  position: absolute;
  right: 26px; bottom: 76px;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,.55);
  background: rgba(0,0,0,.35);
  padding: 6px 12px;
  border-radius: 4px;
  z-index: 5;
}

@media (max-width: 1080px) {
  .winners { grid-template-columns: 1fr; gap: 40px; }
  .winners-stack { height: 560px; max-width: 720px; margin: 0 auto; }
}
@media (max-width: 720px) {
  .winners-stack { height: 460px; transform: scale(.78); transform-origin: center top; }
  .btn-pill { padding: 16px 28px; font-size: 15px; }
  .winners-actions { gap: 18px; }
}

/* ==========================================================
   ВИДЕО-COVERFLOW «До и после» — стиль domeo.ru/remont
   ========================================================== */
#works.section-darkest {
  background: #131313;
  color: #f6f5f1;
  max-width: none;
  padding: clamp(80px, 10vw, 120px) 0;
  overflow: hidden;
}
#works.section-darkest > .ba-head,
#works.section-darkest > .vc-dots {
  max-width: var(--maxw);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}
.ba-head {
  max-width: 1100px !important;
  margin: 0 auto 56px !important;
  text-align: center;
}
.ba-eyebrow {
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 18px;
}
.ba-mega {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(40px, 6.6vw, 96px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 36px;
  color: #fff;
  text-transform: uppercase;
}
.ba-mega em {
  font-style: italic;
  font-weight: 400;
  font-family: 'Fraunces', serif;
  color: #fff;
}
.ba-keypoint {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 18px 22px;
}
.ba-keypoint svg { flex: none; margin-top: -2px; }
.ba-keypoint p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,.72);
}
.ba-keypoint p strong { color: #fff; font-weight: 600; }

/* VIDEO COVERFLOW CAROUSEL */
.vc {
  position: relative;
  width: 100%;
  margin: 56px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.vc-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 60px clamp(20vw, 32vw, 38vw);
  width: 100%;
}
.vc-track::-webkit-scrollbar { display: none; }
.vc-card {
  position: relative;
  flex: 0 0 clamp(260px, 36vw, 460px);
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  scroll-snap-align: center;
  background: #1a1a1a;
  cursor: pointer;
  opacity: 0.32;
  transform: scale(0.78);
  transition: transform .55s cubic-bezier(.2,.7,.2,1),
              opacity .45s ease,
              box-shadow .45s ease,
              filter .55s ease;
  filter: saturate(0.6) brightness(0.85);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  isolation: isolate;
}
.vc-card.active {
  opacity: 1;
  transform: scale(1.08);
  filter: none;
  box-shadow:
    0 36px 80px -12px rgba(0,0,0,.85),
    0 0 0 1px rgba(201,166,107,.25);
  z-index: 2;
}
.vc-card.near {
  opacity: 0.65;
  transform: scale(0.92);
  filter: saturate(0.85) brightness(0.92);
}
.vc-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0e0e0e;
}
.vc-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.55) 50%, transparent 100%);
  color: #fff;
  pointer-events: none;
  transform: translateY(8px);
  opacity: 0;
  transition: transform .4s ease .1s, opacity .4s ease .1s;
}
.vc-card.active .vc-overlay {
  transform: translateY(0);
  opacity: 1;
}
.vc-tag {
  align-self: flex-start;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #131313;
  background: var(--gold);
  padding: 5px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.vc-name {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: #fff;
}
.vc-meta {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255,255,255,.72);
  letter-spacing: 0.03em;
}

/* ARROWS — positioned outside the track */
.vc-arrow {
  flex: none;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.9);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.vc-arrow:hover {
  background: var(--gold);
  color: #131313;
  border-color: var(--gold);
  transform: translateY(-50%) scale(1.08);
}
.vc-arrow-prev { left: clamp(16px, 4vw, 56px); }
.vc-arrow-next { right: clamp(16px, 4vw, 56px); }

/* DOTS */
.vc-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.vc-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background .2s, transform .2s, width .25s;
}
.vc-dot:hover { background: rgba(255,255,255,.4); }
.vc-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 980px) {
  .vc-track { padding: 50px clamp(40px, 18vw, 24vw); }
  .vc-card { flex-basis: clamp(220px, 60vw, 340px); }
}
@media (max-width: 720px) {
  .vc-arrow { display: none; }
  .vc-track { padding: 40px 20vw; gap: 12px; }
  .vc-card { flex-basis: 70vw; }
  .ba-mega { font-size: 38px; }
  .ba-keypoint { flex-direction: column; gap: 10px; }
}
