/* ============================================================
   DESIGN TOKENS — СибФасадМаркет
   Premium industrial, editorial, Siberian character
   ============================================================ */
:root {
  /* Color — Siberian palette */
  --ink: #0D1114;
  --ink-2: #171B1F;
  --ink-3: #22272B;
  --stone: #3A4046;
  --stone-2: #656B70;
  --stone-3: #9AA0A4;

  --paper: #F4EFE7;
  --paper-2: #EBE4D5;
  --paper-3: #DFD6C3;
  --mist: #E8E2D5;

  --terra: #B85B3A;
  --terra-dark: #8B3A1F;
  --terra-light: #D67A56;
  --terra-tint: rgba(184, 91, 58, 0.10);

  --line: rgba(13, 17, 20, 0.08);
  --line-strong: rgba(13, 17, 20, 0.14);
  --line-dark: rgba(244, 239, 231, 0.10);
  --line-dark-strong: rgba(244, 239, 231, 0.20);

  --success: #3B7A4A;
  --danger: #B54A3A;

  /* Typography */
  --font-display: "Playfair Display", "Times New Roman", serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Fluid type scale */
  --fs-display-1: clamp(2.75rem, 6vw, 5.5rem);
  --fs-display-2: clamp(2.25rem, 4.5vw, 4rem);
  --fs-h1: clamp(2rem, 4vw, 3.25rem);
  --fs-h2: clamp(1.5rem, 2.5vw, 2rem);
  --fs-h3: clamp(1.15rem, 1.6vw, 1.375rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing — 4/8 rhythm */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;
  --sp-11: 160px;

  /* Radii */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-xl: 28px;
  --r-round: 999px;

  /* Elevation */
  --sh-1: 0 1px 2px rgba(13,17,20,0.04), 0 2px 6px rgba(13,17,20,0.05);
  --sh-2: 0 6px 12px rgba(13,17,20,0.06), 0 12px 32px rgba(13,17,20,0.08);
  --sh-3: 0 12px 24px rgba(13,17,20,0.10), 0 24px 60px rgba(13,17,20,0.14);
  --sh-inset: inset 0 0 0 1px var(--line);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 0.85, 0);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-base: 300ms;
  --dur-slow: 500ms;

  /* Layout */
  --container-max: 1440px;
  --container-px: clamp(20px, 4vw, 64px);
  --nav-h: 76px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
img { object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: var(--terra); color: #fff; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.section {
  padding: var(--sp-10) 0;
}
@media (max-width: 768px) {
  .section { padding: var(--sp-8) 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra);
}
.eyebrow::before {
  display: none;
}
.section-head { max-width: 720px; margin-bottom: var(--sp-8); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display-2);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: var(--sp-4);
  line-height: 1.05;
}
.section-head p {
  font-size: var(--fs-body-lg);
  color: var(--stone);
  margin-top: var(--sp-4);
  max-width: 60ch;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 52px;
  padding: 0 var(--sp-6);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--r-round);
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--terra);
  color: #fff;
}
.btn-primary:hover { background: var(--terra-dark); }
.btn-outline-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(244, 239, 231, 0.28);
}
.btn-outline-light:hover {
  background: rgba(244, 239, 231, 0.06);
  border-color: rgba(244, 239, 231, 0.55);
}
.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  min-height: 40px;
  padding: 0 var(--sp-4);
}
.btn-ghost:hover { color: var(--terra); }

/* Премиальная CTA в первом экране (только эта кнопка) */
.btn.hero-cta {
  min-height: 60px;
  padding: 0 34px;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  color: #fff;
  background: linear-gradient(180deg, #C96C47 0%, #B85B3A 55%, #A54D2F 100%);
  border: 1px solid rgba(90, 38, 20, 0.55);
  border-radius: var(--r-round);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 8px 22px rgba(184, 91, 58, 0.34),
    0 2px 6px rgba(13, 17, 20, 0.28);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              filter var(--dur-base) var(--ease-out);
}
.btn.hero-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  background: linear-gradient(180deg, #C96C47 0%, #B85B3A 55%, #A54D2F 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    0 14px 34px rgba(184, 91, 58, 0.42),
    0 4px 10px rgba(13, 17, 20, 0.30);
}
.btn.hero-cta:active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 5px rgba(90, 38, 20, 0.45),
    0 3px 10px rgba(13, 17, 20, 0.28);
}

/* Узкие экраны: длинный текст кнопок не помещается при nowrap
   и обрезается краем экрана — разрешаем перенос */
@media (max-width: 400px) {
  .btn { white-space: normal; }
  .btn.hero-cta { padding: 0 22px; }
  .catalog-note { padding: var(--sp-5); }
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 600;
  font-size: var(--fs-body);
  color: var(--ink);
  transition: color var(--dur-base) var(--ease-out);
}
.link-arrow svg { transition: transform var(--dur-base) var(--ease-out); }
.link-arrow:hover { color: var(--terra); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background var(--dur-base) var(--ease-out),
              backdrop-filter var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.on-dark { color: var(--paper); }
.nav.scrolled {
  background: rgba(244, 239, 231, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  color: var(--ink);
  border-bottom-color: var(--line);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: inherit;
  font-weight: 700;
}
.brand-mark {
  width: 32px; height: 32px;
  color: var(--terra);
}
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name-1 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.brand-name-2 {
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.7;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}
.nav-menu a {
  font-size: var(--fs-small);
  font-weight: 500;
  padding: var(--sp-2) 0;
  position: relative;
  transition: color var(--dur-base) var(--ease-out);
}
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right var(--dur-base) var(--ease-out);
}
.nav-menu a:hover::after { right: 0; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-weight: 700;
  font-size: var(--fs-body);
  letter-spacing: 0.01em;
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--r-round);
  border: 1px solid rgba(90, 38, 20, 0.5);
  background: linear-gradient(180deg, #E27C50 0%, #C7643E 52%, #A94F2D 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 6px 16px rgba(200, 90, 50, 0.40),
    0 2px 5px rgba(13, 17, 20, 0.28);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              filter var(--dur-base) var(--ease-out);
}
.nav-phone svg { width: 16px; height: 16px; opacity: 1; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 var(--sp-5);
  border-radius: var(--r-round);
  background: var(--terra);
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 600;
  transition: background var(--dur-base) var(--ease-out);
}
.nav-cta:hover { background: var(--terra-dark); }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-round);
  border: 1px solid rgba(244,239,231,0.24);
}
.nav.scrolled .nav-burger { border-color: var(--line-strong); }
.nav-burger span {
  width: 18px; height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-burger span::before, .nav-burger span::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-base) var(--ease-out);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }
.nav-burger[aria-expanded="true"] span { background: transparent; }
.nav-burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-menu { display: none; }
  .nav-phone { display: none; }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 768px) {
  .nav-cta { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--paper);
  z-index: 99;
  padding: calc(var(--nav-h) + var(--sp-6)) var(--container-px) var(--sp-6);
  transform: translateY(-100%);
  transition: transform var(--dur-slow) var(--ease-out);
  overflow-y: auto;
  display: none;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-list a {
  display: block;
  padding: var(--sp-4) 0;
  font-family: var(--font-display);
  font-size: 2rem;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-menu-foot {
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line-dark);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
@media (max-width: 768px) {
  .mobile-menu { display: block; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--paper);
  padding-top: var(--nav-h);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #0A0E11;
  background-image: url('../img/hero-house.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,14,17,0.55) 0%, rgba(10,14,17,0) 24%),
    linear-gradient(90deg, rgba(10,14,17,0.92) 0%, rgba(10,14,17,0.72) 24%, rgba(10,14,17,0.42) 44%, rgba(10,14,17,0.12) 62%, rgba(10,14,17,0) 76%);
}
@media (max-width: 899px) {
  .hero-bg { background-position: 68% center; }
  .hero-image {
    background:
      linear-gradient(180deg, rgba(10,14,17,0.78) 0%, rgba(10,14,17,0.42) 45%, rgba(10,14,17,0.82) 100%);
  }
}
.hero-image::after {
  content: "";
  position: absolute;
  left: -10%;
  top: 10%;
  width: 4px;
  height: 90%;
  background: linear-gradient(180deg, transparent, var(--terra), transparent);
  opacity: 0.4;
  transform: rotate(6deg);
}

/* Snow effect — 3 layers of drifting snowflakes */
.hero-snow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-snow::before,
.hero-snow::after,
.hero-snow-mid {
  content: "";
  position: absolute;
  inset: -50% 0 -50% 0;
  background-repeat: repeat;
  opacity: 0.7;
  animation: snowfall linear infinite;
}
.hero-snow::before {
  background-image:
    radial-gradient(6px 6px at 12% 8%, rgba(255,255,255,0.90), transparent 65%),
    radial-gradient(5px 5px at 78% 18%, rgba(255,255,255,0.80), transparent 65%),
    radial-gradient(6px 6px at 34% 42%, rgba(255,255,255,0.85), transparent 65%),
    radial-gradient(5px 5px at 60% 68%, rgba(255,255,255,0.75), transparent 65%),
    radial-gradient(6px 6px at 89% 84%, rgba(255,255,255,0.85), transparent 65%),
    radial-gradient(5px 5px at 4% 92%, rgba(255,255,255,0.80), transparent 65%),
    radial-gradient(4px 4px at 46% 12%, rgba(255,255,255,0.60), transparent 65%),
    radial-gradient(4px 4px at 22% 56%, rgba(255,255,255,0.70), transparent 65%),
    radial-gradient(4px 4px at 71% 34%, rgba(255,255,255,0.60), transparent 65%);
  background-size: 100% 100%;
  animation-duration: 32s;
  animation-name: snowfallFar;
  opacity: 0.65;
}
.hero-snow-mid {
  background-image:
    radial-gradient(9px 9px at 14% 20%, rgba(255,255,255,0.95), transparent 60%),
    radial-gradient(8px 8px at 68% 8%, rgba(255,255,255,0.90), transparent 60%),
    radial-gradient(9px 9px at 42% 55%, rgba(255,255,255,0.90), transparent 60%),
    radial-gradient(8px 8px at 82% 44%, rgba(255,255,255,0.80), transparent 60%),
    radial-gradient(9px 9px at 6% 70%, rgba(255,255,255,0.90), transparent 60%),
    radial-gradient(8px 8px at 55% 88%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(6px 6px at 92% 24%, rgba(255,255,255,0.75), transparent 60%),
    radial-gradient(8px 8px at 32% 76%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(6px 6px at 76% 62%, rgba(255,255,255,0.80), transparent 60%);
  background-size: 100% 100%;
  animation-duration: 22s;
  animation-name: snowfallMid;
}
.hero-snow::after {
  background-image:
    radial-gradient(14px 14px at 24% 14%, rgba(255,255,255,0.98), transparent 55%),
    radial-gradient(12px 12px at 76% 32%, rgba(255,255,255,0.94), transparent 55%),
    radial-gradient(14px 14px at 52% 68%, rgba(255,255,255,0.96), transparent 55%),
    radial-gradient(11px 11px at 10% 88%, rgba(255,255,255,0.88), transparent 55%),
    radial-gradient(14px 14px at 88% 78%, rgba(255,255,255,0.92), transparent 55%),
    radial-gradient(12px 12px at 38% 30%, rgba(255,255,255,0.90), transparent 55%),
    radial-gradient(11px 11px at 62% 52%, rgba(255,255,255,0.88), transparent 55%);
  background-size: 100% 100%;
  animation-duration: 14s;
  animation-name: snowfallNear;
  filter: blur(0.6px);
}
@keyframes snowfallFar {
  0%   { transform: translateY(-20%) translateX(0); }
  100% { transform: translateY(20%) translateX(-30px); }
}
@keyframes snowfallMid {
  0%   { transform: translateY(-20%) translateX(0); }
  100% { transform: translateY(20%) translateX(-50px); }
}
@keyframes snowfallNear {
  0%   { transform: translateY(-20%) translateX(0); }
  100% { transform: translateY(20%) translateX(-80px); }
}

/* Video card, positioned to the right of the headline */
.hero-video-wrap {
  position: absolute;
  right: 3%;
  top: 52%;
  transform: translateY(-50%);
  width: min(52%, 780px);
  aspect-ratio: 1104/816;
  z-index: 1;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 30px 90px rgba(0,0,0,0.5),
    0 12px 32px rgba(0,0,0,0.35),
    0 0 0 1px rgba(184,91,58,0.18),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}
.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-video-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(13,10,8,0.35) 100%);
  pointer-events: none;
}
@media (max-width: 899px) {
  .hero-video-wrap {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: 100%;
    margin-top: var(--sp-6);
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-snow::before,
  .hero-snow::after,
  .hero-snow-mid { animation: none !important; }
}
.hero-inner {
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100dvh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-8);
  gap: var(--sp-6);
}
.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--sp-6);
  color: rgba(244,239,231,0.7);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  z-index: 2;
}
.hero-top-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}
.hero-top-item strong {
  color: var(--paper);
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-display);
}
.hero-body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-7);
  align-items: flex-start;
}
@media (min-width: 900px) {
  .hero-body {
    max-width: 44%;
  }
}
@media (min-width: 1400px) {
  .hero-body {
    max-width: 42%;
  }
}
.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-display-1);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--paper);
  max-width: 14ch;
  position: relative;
  z-index: 2;
  text-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--terra-light);
}
.hero-side {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  padding-bottom: var(--sp-2);
  position: relative;
  z-index: 2;
}
.hero-sub {
  font-size: var(--fs-body-lg);
  color: rgba(244,239,231,0.82);
  max-width: 40ch;
  line-height: 1.55;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}
.hero-scroll {
  position: absolute;
  right: var(--container-px);
  bottom: var(--sp-6);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  color: rgba(244,239,231,0.65);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
}
.hero-scroll-line {
  width: 1px;
  height: 60px;
  background: currentColor;
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: -60%; left: 0;
  width: 100%; height: 60%;
  background: var(--paper);
  animation: scrollDot 2.5s var(--ease-inout) infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); }
  100% { transform: translateY(200%); }
}
@media (max-width: 768px) {
  .hero-scroll { display: none; }
  .hero-top { flex-wrap: wrap; gap: var(--sp-4); font-size: 10px; }
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  background: var(--ink);
  color: var(--paper);
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--line-dark);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-6);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-4) 0;
  border-left: 1px solid var(--line-dark);
  padding-left: var(--sp-5);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-num em {
  color: var(--terra);
  font-style: normal;
}
.stat--highlight .stat-num {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  color: var(--terra);
}
.stat--highlight .stat-num em {
  color: var(--terra-light);
}
.stat-label {
  font-size: var(--fs-small);
  color: rgba(244,239,231,0.65);
  max-width: 22ch;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-6); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-top: var(--sp-5); }
  .stat:first-child { border-top: 0; padding-top: 0; }
}

/* ============================================================
   MANIFESTO (editorial split)
   ============================================================ */
.manifesto {
  background: var(--paper);
  padding: var(--sp-10) 0;
}
.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: center;
}
@media (min-width: 1024px) {
  .manifesto-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-9); }
}
.manifesto-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  perspective: 1800px;
  cursor: grab;
}
.manifesto-visual-inner {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  transform-style: preserve-3d;
  animation: house-showcase 10s ease-in-out infinite;
  animation-play-state: paused;
  background:
    /* Sky gradient at top */
    linear-gradient(180deg, #4A5259 0%, #2B3238 22%, #171B1F 100%),
    #171B1F;
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}
.manifesto-visual:hover .manifesto-visual-inner {
  animation-play-state: running;
}
.manifesto-visual:hover {
  cursor: grabbing;
}
@keyframes house-showcase {
  0%   { transform: rotateY(-14deg) rotateX(2deg); }
  50%  { transform: rotateY(14deg) rotateX(-2deg); }
  100% { transform: rotateY(-14deg) rotateX(2deg); }
}
.manifesto-hint {
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone-2);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  opacity: 0.7;
}
.manifesto-hint svg { width: 14px; height: 14px; }
@media (prefers-reduced-motion: reduce) {
  .manifesto-visual-inner { animation: none !important; }
}
.manifesto-visual-inner::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 78%;
  background:
    linear-gradient(90deg, transparent 62%, rgba(184,91,58,0.85) 62%, rgba(184,91,58,0.85) 66%, transparent 66%),
    repeating-linear-gradient(90deg,
      #1F2429 0px, #1F2429 78px,
      #14181C 78px, #14181C 82px,
      #1F2429 82px, #1F2429 172px,
      #14181C 172px, #14181C 176px),
    repeating-linear-gradient(0deg,
      transparent 0px, transparent 140px,
      rgba(255,255,255,0.02) 140px, rgba(255,255,255,0.02) 142px),
    #1F2429;
  z-index: 1;
}
.manifesto-visual-inner::after {
  content: "";
  position: absolute;
  left: 12%;
  bottom: 12%;
  width: 34%;
  height: 42%;
  background:
    linear-gradient(180deg, rgba(50,60,70,0.9), rgba(30,40,50,0.95)),
    #2A3339;
  border: 3px solid #0B0E11;
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,0.05),
    0 4px 24px rgba(0,0,0,0.4);
  z-index: 2;
}
.manifesto-badge {
  position: absolute;
  left: var(--sp-5);
  bottom: var(--sp-5);
  background: var(--paper);
  border-radius: var(--r-round);
  padding: var(--sp-3) var(--sp-5);
  font-size: var(--fs-small);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.manifesto-badge::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--terra);
  border-radius: 50%;
  animation: pulse 2s var(--ease-inout) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.manifesto-text h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display-2);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-top: var(--sp-4);
  line-height: 1.05;
}
.manifesto-text h2 em {
  font-style: italic;
  color: var(--terra);
  font-weight: 400;
}
.manifesto-lede {
  font-size: var(--fs-body-lg);
  color: var(--stone);
  margin-top: var(--sp-5);
  line-height: 1.6;
  max-width: 46ch;
}
.manifesto-fear {
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--cream);
  margin-top: var(--sp-3);
  max-width: 46ch;
}
.manifesto-props {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  margin-top: var(--sp-7);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}
.prop {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.prop-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: var(--r-round);
  display: grid;
  place-items: center;
  background: var(--terra-tint);
  color: var(--terra-dark);
}
.prop-icon svg { width: 20px; height: 20px; }
.prop-body strong {
  display: block;
  font-weight: 600;
  font-size: var(--fs-body);
}
.prop-body p {
  font-size: var(--fs-small);
  color: var(--stone);
  margin-top: 2px;
}

/* ============================================================
   CATEGORIES (Panels / Siding / Tile)
   ============================================================ */
.categories {
  background: var(--paper-2);
  padding: var(--sp-10) 0;
}
.categories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-7);
}
@media (min-width: 700px) {
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}
.cat-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--r-md);
  overflow: hidden;
  color: var(--paper);
  isolation: isolate;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out);
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform var(--dur-slow) var(--ease-out);
  z-index: -2;
}
.cat-card:hover .cat-card-image { transform: scale(1.05); }
.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(13,17,20,0.15) 0%,
    rgba(13,17,20,0.25) 50%,
    rgba(13,17,20,0.85) 100%);
  z-index: -1;
}
.cat-card-body {
  position: absolute;
  inset: 0;
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cat-card-num {
  font-family: var(--font-display);
  font-size: var(--fs-small);
  letter-spacing: 0.14em;
  opacity: 0.7;
}
.cat-card-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 500;
  letter-spacing: -0.015em;
}
.cat-card-desc {
  margin-top: var(--sp-3);
  font-size: var(--fs-small);
  opacity: 0.8;
  max-width: 32ch;
}
.cat-card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-5);
  font-weight: 600;
  font-size: var(--fs-small);
  padding-bottom: var(--sp-1);
  border-bottom: 1px solid rgba(244,239,231,0.4);
  align-self: flex-start;
  transform-origin: left center;
  transition: border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.cat-card:hover .cat-card-cta,
.cat-card-cta:hover {
  border-color: var(--terra-light);
  color: var(--terra-light);
  transform: scale(1.08);
}
.cat-card-cta svg { transition: transform var(--dur-base) var(--ease-out); }
.cat-card:hover .cat-card-cta svg { transform: translateX(4px); }

/* Category-specific backgrounds */
/* Cat 1 — Фасадные панели (real photo of panel samples) */
.cat-1 .cat-card-image {
  background-color: #1E1B17;
  background-image:
    linear-gradient(180deg, rgba(30,27,23,0.20) 0%, rgba(30,27,23,0.30) 50%, rgba(15,12,10,0.85) 100%),
    url("../img/cat-panel.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Cat 2 — Виниловый сайдинг (real photo of siding samples) */
.cat-2 .cat-card-image {
  background-color: #1B2028;
  background-image:
    linear-gradient(180deg, rgba(27,32,40,0.20) 0%, rgba(27,32,40,0.30) 50%, rgba(12,15,20,0.85) 100%),
    url("../img/cat-siding.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Cat metal — Металлический сайдинг (real photo of metal siding samples) */
.cat-metal .cat-card-image {
  background-color: #1E252B;
  background-image:
    linear-gradient(180deg, rgba(30,37,43,0.20) 0%, rgba(30,37,43,0.30) 50%, rgba(15,18,22,0.85) 100%),
    url("../img/cat-metal.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Cat soffit — Софиты (real photo of soffit panels) */
.cat-soffit .cat-card-image {
  background-color: #26221D;
  background-image:
    linear-gradient(180deg, rgba(38,34,29,0.15) 0%, rgba(38,34,29,0.30) 45%, rgba(15,13,10,0.85) 100%),
    url("../img/cat-soffit.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Cat water — Водостоки (real photo of drainage components) */
.cat-water .cat-card-image {
  background-color: #221A14;
  background-image:
    linear-gradient(180deg, rgba(34,26,20,0.15) 0%, rgba(34,26,20,0.30) 45%, rgba(15,11,8,0.85) 100%),
    url("../img/cat-drain.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Cat 3 — Фасадная плитка (real photo of brick tile textures) */
.cat-3 .cat-card-image {
  background:
    linear-gradient(180deg, rgba(20,14,10,0.05) 0%, rgba(20,14,10,0.35) 55%, rgba(13,10,8,0.75) 100%),
    url("../img/cat-tile.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ============================================================
   CATALOG (filters + grid)
   ============================================================ */
.catalog {
  background: var(--paper);
  padding: var(--sp-10) 0;
}
.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-bottom: var(--sp-8);
}
.catalog-head h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display-2);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: var(--sp-4);
  max-width: 16ch;
}
.catalog-filters {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-6);
  border-bottom: 1px solid var(--line);
}
.filter-group {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.filter-group-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--stone-2);
  margin-right: var(--sp-2);
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 var(--sp-4);
  font-size: var(--fs-small);
  font-weight: 500;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-round);
  transition: all var(--dur-fast) var(--ease-out);
  cursor: pointer;
  color: var(--ink);
}
.chip:hover { border-color: var(--ink); }
.chip.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-5);
}
.product {
  display: flex;
  flex-direction: column;
  background: var(--paper-2);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.product:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.product-visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--mist), var(--paper-3));
  position: relative;
  overflow: hidden;
}
.product-visual .swatch {
  position: absolute;
  inset: 0;
}
.product-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-tag {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: 4px var(--sp-3);
  border-radius: var(--r-round);
  letter-spacing: 0.04em;
}
.product-tag.hit { background: var(--terra); }
.product-body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}
.product-meta {
  display: flex;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--stone-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-top: var(--sp-1);
}
.product-desc {
  font-size: var(--fs-small);
  color: var(--stone);
  line-height: 1.5;
}
.product-foot {
  margin-top: auto;
  padding-top: var(--sp-4);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--sp-3);
  border-top: 1px solid var(--line);
}
.product-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-round);
  font-size: var(--fs-small);
  font-weight: 600;
  transition: all var(--dur-fast) var(--ease-out);
}
.product-btn:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.product-btn svg { width: 14px; height: 14px; }

.catalog-more {
  display: flex;
  justify-content: center;
  margin-top: var(--sp-8);
}

/* Catalog note — "this is only part of the collection" callout */
.catalog-note {
  margin-top: var(--sp-8);
  padding: var(--sp-7);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-md);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-6);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.catalog-note::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(184,91,58,0.18), transparent 65%);
  z-index: -1;
  pointer-events: none;
}
.catalog-note-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: var(--r-round);
  background: rgba(184,91,58,0.12);
  color: var(--terra-light);
  display: grid;
  place-items: center;
}
.catalog-note-icon svg { width: 28px; height: 28px; }
.catalog-note-body {
  min-width: 0;
}
.catalog-note-body h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.catalog-note-body p {
  margin-top: var(--sp-2);
  color: rgba(244,239,231,0.72);
  font-size: var(--fs-body);
  line-height: 1.55;
  max-width: 60ch;
}
.catalog-note-cta {
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .catalog-note {
    grid-template-columns: 1fr;
    text-align: left;
    padding: var(--sp-6);
    gap: var(--sp-5);
  }
  .catalog-note-cta { justify-self: stretch; }
  .catalog-note-cta .btn { width: 100%; }
}

/* Product material swatches (SVG-composed textures) */
.swatch-graphite {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(0,0,0,0.2) 100%),
    repeating-linear-gradient(90deg, #2A2E31 0px, #2A2E31 22px, #34383B 22px, #34383B 24px),
    #2A2E31;
}
.swatch-cream {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.05) 100%),
    repeating-linear-gradient(180deg, #F1E9DB 0px, #F1E9DB 18px, #E5DBC8 18px, #E5DBC8 20px),
    #F1E9DB;
}
.swatch-forest {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.15) 100%),
    repeating-linear-gradient(90deg, #2D3B32 0px, #2D3B32 30px, #354439 30px, #354439 32px),
    #2D3B32;
}
.swatch-anthracite {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.15) 100%),
    repeating-linear-gradient(90deg, #3A3E42 0px, #3A3E42 40px, #464A4E 40px, #464A4E 42px),
    #3A3E42;
}
.swatch-oak {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.10) 100%),
    repeating-linear-gradient(180deg, #6B4A32 0px, #6B4A32 22px, #7A5638 22px, #7A5638 24px),
    #6B4A32;
}
.swatch-snow {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(0,0,0,0.04) 100%),
    repeating-linear-gradient(180deg, #EFEBE2 0px, #EFEBE2 18px, #E1DBCC 18px, #E1DBCC 20px),
    #EFEBE2;
}
.swatch-terra {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(0,0,0,0.15) 100%),
    radial-gradient(ellipse 60px 40px at 30% 40%, rgba(0,0,0,0.15), transparent),
    radial-gradient(ellipse 80px 50px at 70% 70%, rgba(255,255,255,0.10), transparent),
    #B85B3A;
}
.swatch-clay {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(0,0,0,0.15) 100%),
    repeating-linear-gradient(90deg, #A24428 0px, #A24428 32px, #8B3A1F 32px, #8B3A1F 34px),
    #A24428;
}
.swatch-stone {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(0,0,0,0.10) 100%),
    radial-gradient(ellipse 100px 60px at 25% 35%, rgba(255,255,255,0.12), transparent),
    radial-gradient(ellipse 120px 80px at 75% 65%, rgba(0,0,0,0.10), transparent),
    #8A8378;
}
.swatch-iron {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(0,0,0,0.20) 100%),
    repeating-linear-gradient(90deg, #454B50 0px, #454B50 36px, #4E5459 36px, #4E5459 38px),
    #454B50;
}

/* ============================================================
   PROCESS (4-step)
   ============================================================ */
.process {
  background: var(--ink);
  color: var(--paper);
  padding: var(--sp-10) 0;
}
.process .section-head h2 { color: var(--paper); }
.process .section-head p { color: rgba(244,239,231,0.7); }
.process-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}
.process-grid .step {
  flex: 1 1 100%;
  min-width: 0;
}
@media (min-width: 640px) {
  .process-grid .step { flex-basis: calc(50% - var(--sp-5) / 2); }
}
@media (min-width: 1024px) {
  .process-grid .step { flex-basis: calc(33.333% - var(--sp-5) * 2 / 3); }
}
@media (min-width: 1280px) {
  .process-grid .step { flex-basis: calc(25% - var(--sp-5) * 3 / 4); }
}
.step {
  padding: var(--sp-6);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-md);
  position: relative;
  transition: border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}
.step:hover {
  border-color: var(--terra);
  background: rgba(184,91,58,0.06);
}
.step-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1;
  color: var(--terra);
  letter-spacing: -0.03em;
  opacity: 0.9;
}
.step h3 {
  margin-top: var(--sp-5);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.step p {
  margin-top: var(--sp-3);
  font-size: var(--fs-small);
  color: rgba(244,239,231,0.7);
  line-height: 1.6;
}
.step-accent {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--terra-light);
  margin-top: var(--sp-3);
  background: rgba(183,101,60,0.15);
  padding: var(--sp-2) var(--sp-3);
  border-left: 3px solid var(--terra);
  border-radius: 4px;
}
.step-meta {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line-dark);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--terra-light);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}
.step-meta svg { width: 14px; height: 14px; }

/* ============================================================
   BEFORE / AFTER
   ============================================================ */
.beforeafter {
  background: var(--paper);
  padding: var(--sp-10) 0;
}
.ba-tabs {
  display: flex;
  gap: var(--sp-2);
  margin: var(--sp-6) 0 var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
}
.ba-tab {
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--stone);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out);
}
.ba-tab.active {
  color: var(--ink);
  border-color: var(--terra);
}
.ba-slider-wrap {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--r-md);
  user-select: none;
  cursor: ew-resize;
  background: var(--ink);
}
.ba-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.ba-img.after {
  clip-path: inset(0 0 0 50%);
  transition: clip-path 0.05s linear;
}
.ba-label {
  position: absolute;
  top: var(--sp-4);
  padding: 6px var(--sp-4);
  background: rgba(13,17,20,0.72);
  color: var(--paper);
  border-radius: var(--r-round);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.ba-label-before { left: var(--sp-4); }
.ba-label-after {
  right: var(--sp-4);
  background: var(--terra);
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--paper);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15), 0 0 40px rgba(0,0,0,0.4);
}
.ba-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px; height: 52px;
  background: var(--paper);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
}
.ba-knob svg { width: 22px; height: 22px; }
.ba-meta {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  padding: var(--sp-5) 0 0;
}
.ba-meta h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.ba-meta-info {
  display: flex;
  gap: var(--sp-6);
  color: var(--stone);
  font-size: var(--fs-small);
}
.ba-meta-info strong {
  display: block;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 500;
  margin-top: 2px;
}

/* ============================================================
   WORK IN PROGRESS — current sites
   ============================================================ */
.wip {
  background: var(--paper-2);
  padding: var(--sp-10) 0;
}
.wip-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}
@media (min-width: 700px) {
  .wip-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .wip-grid { grid-template-columns: repeat(4, 1fr); }
}
.wip-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 4px 16px rgba(13,17,20,0.08);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.wip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13,17,20,0.18);
}
.wip-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}
.wip-card:hover img { transform: scale(1.04); }
.wip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13,17,20,0.72) 100%);
  pointer-events: none;
}
.wip-tag {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px var(--sp-4);
  background: rgba(13,17,20,0.72);
  color: var(--paper);
  border-radius: var(--r-round);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  z-index: 2;
}
.wip-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--terra-light);
  border-radius: 50%;
  animation: pulse 2s var(--ease-inout) infinite;
}
.wip-caption {
  position: absolute;
  left: var(--sp-5);
  right: var(--sp-5);
  bottom: var(--sp-5);
  color: var(--paper);
  z-index: 2;
}
.wip-caption h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.wip-caption p {
  margin-top: var(--sp-1);
  font-size: var(--fs-small);
  color: rgba(244,239,231,0.75);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--paper-2);
  padding: var(--sp-10) 0;
}
.tst-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  margin-top: var(--sp-7);
}
@media (min-width: 800px) {
  .tst-grid { grid-template-columns: repeat(3, 1fr); }
}
.tst {
  background: var(--paper);
  padding: var(--sp-6);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  border: 1px solid var(--line);
  transition: box-shadow var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out);
}
.tst:hover { box-shadow: var(--sh-2); transform: translateY(-3px); }
.tst-stars {
  display: inline-flex;
  gap: 2px;
  color: var(--terra);
}
.tst-stars svg { width: 16px; height: 16px; }
.tst-quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.tst-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}
.tst-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--terra), var(--terra-dark));
  color: var(--paper);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.05em;
}
.tst-author-info strong {
  display: block;
  font-weight: 600;
}
.tst-author-info span {
  display: block;
  font-size: var(--fs-small);
  color: var(--stone-2);
  margin-top: 2px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--paper);
  padding: var(--sp-10) 0;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: 1fr 1.4fr; }
}
.faq-side .eyebrow { margin-bottom: var(--sp-4); }
.faq-side h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display-2);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 12ch;
}
.faq-side p {
  margin-top: var(--sp-5);
  color: var(--stone);
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  max-width: 40ch;
}
.faq-card-help {
  margin-top: var(--sp-6);
  padding: var(--sp-5);
  background: var(--paper-2);
  border-radius: var(--r-md);
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
}
.faq-card-help svg { flex-shrink: 0; color: var(--terra); }
.faq-card-help strong { display: block; margin-bottom: var(--sp-1); }
.faq-card-help p { margin-top: 0; font-size: var(--fs-small); color: var(--stone); }

.faq-list { display: flex; flex-direction: column; }
.faq-item {
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  text-align: left;
  color: var(--ink);
  letter-spacing: -0.005em;
  transition: color var(--dur-base) var(--ease-out);
}
.faq-q:hover { color: var(--terra); }
.faq-q-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  transition: transform var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out);
}
.faq-q-icon svg { width: 16px; height: 16px; transition: transform var(--dur-base) var(--ease-out); }
.faq-item.open .faq-q-icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.faq-item.open .faq-q-icon svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-inout);
}
.faq-a-inner {
  padding: 0 0 var(--sp-6);
  color: var(--stone);
  font-size: var(--fs-body);
  line-height: 1.7;
  max-width: 62ch;
}
.faq-item.open .faq-a { max-height: 500px; }

/* ============================================================
   CONTACT FORM (замер)
   ============================================================ */
.contact {
  background: var(--ink);
  color: var(--paper);
  padding: var(--sp-10) 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 400px at 90% 100%, rgba(184,91,58,0.15), transparent 60%),
    radial-gradient(500px 300px at 0% 0%, rgba(30,50,70,0.4), transparent 60%);
  z-index: 0;
  pointer-events: none;
}
.contact .container { position: relative; z-index: 1; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  align-items: flex-start;
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: var(--sp-9); }
  .contact-grid--solo { grid-template-columns: 1fr; }
}
.contact-left h2 {
  font-family: var(--font-display);
  font-size: var(--fs-display-1);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin-top: var(--sp-4);
  color: var(--paper);
}
.contact-left h2 em {
  color: var(--terra-light);
  font-style: italic;
  font-weight: 400;
}
.contact-lede {
  font-size: var(--fs-body-lg);
  color: rgba(244,239,231,0.72);
  margin-top: var(--sp-5);
  max-width: 40ch;
  line-height: 1.6;
}
.contact-perks {
  margin-top: var(--sp-7);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.perk {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
}
.perk-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(184,91,58,0.15);
  color: var(--terra-light);
  display: grid; place-items: center;
}
.perk-icon svg { width: 18px; height: 18px; }
.perk strong {
  display: block;
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: -0.005em;
}
.perk span {
  font-size: var(--fs-xs);
  color: rgba(244,239,231,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.form {
  background: rgba(244, 239, 231, 0.03);
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-md);
  padding: var(--sp-7);
  backdrop-filter: blur(12px);
}
@media (max-width: 700px) {
  .form { padding: var(--sp-5); }
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-3);
}
.form-subtitle {
  font-size: var(--fs-small);
  color: rgba(244,239,231,0.7);
  line-height: 1.5;
  margin-bottom: var(--sp-5);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
}
.field label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244,239,231,0.6);
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  flex-wrap: wrap;
}
.label-hint {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(244,239,231,0.35);
  font-style: italic;
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 var(--sp-4);
  background: transparent;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-sm);
  color: var(--paper);
  font-size: var(--fs-body);
  font-family: var(--font-body);
  transition: border-color var(--dur-fast) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.field textarea {
  min-height: 110px;
  padding-top: var(--sp-3);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder {
  color: rgba(244,239,231,0.32);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--terra);
  background: rgba(184,91,58,0.05);
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F4EFE7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-8);
}
.field select option { background: var(--ink); color: var(--paper); }

.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--fs-xs);
  color: rgba(244,239,231,0.55);
  margin: var(--sp-4) 0;
}
.consent input {
  flex-shrink: 0;
  width: 18px; height: 18px;
  accent-color: var(--terra);
  margin-top: 2px;
}
.consent a { color: var(--terra-light); text-decoration: underline; text-underline-offset: 3px; }

.form-submit {
  display: block;
  width: 100%;
}
.form-msg {
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--r-sm);
  background: rgba(59,122,74,0.15);
  border: 1px solid var(--success);
  color: #A8E0B4;
  font-size: var(--fs-small);
  display: none;
  align-items: center;
  gap: var(--sp-3);
}
.form-msg.show { display: flex; }
.form-msg svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--success); }
.form-msg.is-error { background: rgba(200,60,60,0.15); border-color: var(--danger); color: #F0B4B4; }
.form-msg.is-error svg { color: var(--danger); }

/* ============================================================
   STICKY FORM (плавающая форма заявки)
   ============================================================ */
/* Мобильная кнопка (внизу слева, чтобы не пересекаться с MAX) */
.sticky-form-fab {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 96;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px 14px 16px;
  border: none;
  cursor: pointer;
  color: var(--paper);
  background: var(--terra);
  border-radius: var(--r-round);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 30px rgba(184,91,58,0.35), 0 4px 12px rgba(13,17,20,0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out),
              transform var(--dur-base) var(--ease-out),
              visibility var(--dur-base) var(--ease-out),
              background var(--dur-fast) var(--ease-out);
}
.sticky-form-fab svg { width: 18px; height: 18px; flex-shrink: 0; }
.sticky-form-fab:hover { background: var(--terra-dark); }
/* На узких экранах — компактная круглая кнопка (не пересекается с кнопкой MAX) */
@media (max-width: 560px) {
  .sticky-form-fab { padding: 0; width: 54px; height: 54px; justify-content: center; gap: 0; }
  .sticky-form-fab .sf-fab-label { display: none; }
  .sticky-form-fab svg { width: 22px; height: 22px; }
}
body.sf-ready .sticky-form-fab {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.sticky-form-backdrop {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(8,9,10,0.6);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-base) var(--ease-out),
              visibility var(--dur-base) var(--ease-out);
}
.sticky-form-panel {
  position: fixed;
  z-index: 111;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 100%);
  width: min(440px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  transition: transform var(--dur-base) var(--ease-out);
  border-top-left-radius: var(--r-lg);
  border-top-right-radius: var(--r-lg);
}
.sticky-form-panel .form {
  background: rgba(46, 52, 58, 0.94);
  border-radius: inherit;
}
.sticky-form-panel .form-title {
  color: var(--paper);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}
.sticky-form.open .sticky-form-backdrop { opacity: 1; visibility: visible; }
.sticky-form.open .sticky-form-panel { transform: translate(-50%, 0); }

.sticky-form-close {
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark-strong);
  border-radius: 50%;
  background: rgba(20,24,28,0.85);
  color: var(--paper);
  cursor: pointer;
}
.sticky-form-close svg { width: 18px; height: 18px; }

/* Привлечение внимания к форме по клику CTA — плавно больше и ярче */
@keyframes sfPulse {
  0%   { filter: brightness(1); }
  45%  { filter: brightness(1.28); }
  100% { filter: brightness(1); }
}
.sticky-form-panel.attention { animation: sfPulse 0.85s var(--ease-out) 2; }

/* Кнопка отправки в плавающей форме — текст внутри плашки + яркий 3D */
.sticky-form-panel .form-submit {
  white-space: normal;
  line-height: 1.2;
  height: auto;
  min-height: 58px;
  padding: 14px 22px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  border: 1px solid rgba(90, 38, 20, 0.5);
  background: linear-gradient(180deg, #E27C50 0%, #C7643E 52%, #A94F2D 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    0 8px 20px rgba(200, 90, 50, 0.45),
    0 2px 6px rgba(13, 17, 20, 0.30);
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              filter var(--dur-base) var(--ease-out);
}
.sticky-form-panel .form-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 14px 30px rgba(200, 90, 50, 0.50),
    0 4px 10px rgba(13, 17, 20, 0.32);
}
.sticky-form-panel .form-submit:active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 6px rgba(90, 38, 20, 0.50),
    0 3px 10px rgba(13, 17, 20, 0.30);
}

/* Десктоп: закреплённая панель справа, всегда видна (после первого экрана) */
@media (min-width: 1200px) {
  .sticky-form-fab,
  .sticky-form-backdrop,
  .sticky-form-close { display: none; }
  .sticky-form-panel {
    left: auto;
    right: 20px;
    bottom: auto;
    top: calc(var(--nav-h) + 20px);
    transform: translateX(14px);
    width: 360px;
    max-height: calc(100vh - var(--nav-h) - 40px);
    border-radius: var(--r-md);
    box-shadow: 0 24px 70px rgba(0,0,0,0.5),
                0 0 0 1px rgba(255,255,255,0.12),
                0 0 0 2px rgba(184,91,58,0.28);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
                visibility 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .sticky-form-panel .form {
    background: rgba(46, 52, 58, 0.90);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }
  body.sf-ready .sticky-form-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .sticky-form.open .sticky-form-panel { transform: none; }

  /* Пульс внимания на десктопе — заметно больше и ярче */
  @keyframes sfPulseDesktop {
    0%   { transform: none;        filter: brightness(1); }
    40%  { transform: scale(1.06); filter: brightness(1.25); }
    70%  { transform: scale(1.02); filter: brightness(1.1); }
    100% { transform: none;        filter: brightness(1); }
  }
  .sticky-form-panel.attention {
    transform-origin: right center;
    animation: sfPulseDesktop 0.9s var(--ease-out) 2;
  }
  /* герой не сдвигается при показе формы (клик по CTA в первом экране) */
  body.sf-ready .hero .container {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-right: var(--container-px);
  }

  /* Резерв места под форму справа: контент секций шире и прижат влево,
     дотягивается почти до формы (небольшой зазор) */
  body.sf-ready .container {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-right: calc(var(--container-px) + 350px);
  }
  body.sf-ready .nav .container {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    padding-right: var(--container-px);
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.foot {
  background: #08090A;
  color: rgba(244,239,231,0.7);
  padding: var(--sp-9) 0 var(--sp-6);
}
.foot-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 900px) {
  .foot-top { grid-template-columns: 1fr 1fr; gap: var(--sp-7); }
}
@media (max-width: 480px) {
  .foot-top { grid-template-columns: 1fr; }
}
.foot-brand p {
  margin-top: var(--sp-4);
  max-width: 32ch;
  font-size: var(--fs-small);
  line-height: 1.55;
}
.foot-col h4 {
  color: var(--paper);
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.foot-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.foot-col a { font-size: var(--fs-small); transition: color var(--dur-fast) var(--ease-out); }
.foot-col a:hover { color: var(--terra); }
.foot-contact {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  font-size: var(--fs-small);
}
.foot-contact strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.foot-bottom {
  padding-top: var(--sp-5);
  display: flex;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: rgba(244,239,231,0.4);
}
.foot-social {
  display: flex;
  gap: var(--sp-2);
}
.foot-social a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-dark-strong);
  color: rgba(244,239,231,0.6);
  transition: all var(--dur-fast) var(--ease-out);
}
.foot-social a:hover {
  border-color: var(--terra);
  background: var(--terra);
  color: var(--paper);
}
.foot-social a svg { width: 18px; height: 18px; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

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

/* ============================================================
   MAX FLOATING BUTTON
   ============================================================ */
.max-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, #6C5CE7 0%, #4834D4 100%);
  border-radius: var(--r-round);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow:
    0 10px 30px rgba(72, 52, 212, 0.35),
    0 4px 12px rgba(13, 17, 20, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.max-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: inherit;
  opacity: 0.35;
  filter: blur(14px);
  z-index: -1;
}
.max-fab:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 40px rgba(72, 52, 212, 0.45),
    0 6px 18px rgba(13, 17, 20, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.max-fab-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.18);
  border-radius: 50%;
  flex-shrink: 0;
}
.max-fab-icon svg { width: 15px; height: 15px; }
.max-fab-label {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.max-fab-label-1 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.75;
  text-transform: uppercase;
}
.max-fab-label-2 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
@media (max-width: 480px) {
  .max-fab {
    right: 16px;
    bottom: 16px;
    padding: 12px 18px 12px 14px;
  }
  .max-fab-label-1 { display: none; }
}

/* ============================================================
   VISUALIZATION FAB (плавающая кнопка «Визуализация»)
   ============================================================ */
.viz-fab {
  position: fixed;
  right: 24px;
  bottom: 96px;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, #2D9B83 0%, #1F7A66 100%);
  border-radius: var(--r-round);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow:
    0 10px 30px rgba(45, 155, 131, 0.35),
    0 4px 12px rgba(13, 17, 20, 0.2),
    inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out);
}
.viz-fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  background: inherit;
  opacity: 0.35;
  filter: blur(14px);
  z-index: -1;
}
.viz-fab:hover {
  transform: translateY(-3px);
  box-shadow:
    0 16px 40px rgba(45, 155, 131, 0.45),
    0 6px 18px rgba(13, 17, 20, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.2);
}
.viz-fab-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  flex-shrink: 0;
}
.viz-fab-icon svg { width: 15px; height: 15px; }
.viz-fab-label {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 3px;
}
.viz-fab-label-1 {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  opacity: 0.75;
  text-transform: uppercase;
}
.viz-fab-label-2 {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}
@media (max-width: 480px) {
  .viz-fab {
    right: 16px;
    bottom: 78px;
    padding: 12px 18px 12px 14px;
  }
  .viz-fab-label-1 { display: none; }
}

/* Одинаковый размер зелёной (Визуализация) и фиолетовой (MAX) плавающих кнопок */
.viz-fab,
.max-fab {
  width: 196px;
  min-height: 58px;
  justify-content: center;
}

/* ============================================================
   MISC
   ============================================================ */
.hidden { display: none !important; }

/* ============================================================
   MULTI-PAGE ADDITIONS (v2) — СибФасадМаркет
   ============================================================ */

/* ---------- CTA STRIP: «Бесплатный замер» после каждого блока ---------- */
.cta-strip {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  padding-top: var(--sp-6);
  padding-bottom: var(--sp-6);
}
.cta-strip-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.cta-strip .btn { flex-shrink: 0; }
@media (max-width: 640px) {
  .cta-strip .container { flex-direction: column; align-items: stretch; text-align: center; gap: var(--sp-4); }
  .cta-strip .btn { width: 100%; justify-content: center; }
}

/* ---------- PAGE HERO: шапка страниц каталога ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(160deg, #14100D 0%, #1E1712 45%, #2B211B 100%);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ph-img, none);
  background-size: cover;
  background-position: center;
  opacity: 0.28;
  z-index: -2;
}
.page-hero.has-photo::before { opacity: 0.32; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,10,8,0.35) 0%, rgba(13,10,8,0.72) 100%);
  z-index: -1;
}
.page-hero .container {
  padding-top: calc(var(--nav-h) + var(--sp-8));
  padding-bottom: var(--sp-8);
}
.page-hero .eyebrow { color: var(--terra-light); }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-top: var(--sp-3);
  max-width: 20ch;
}
.page-hero-lede {
  margin-top: var(--sp-4);
  font-size: var(--fs-body-lg, 1.125rem);
  color: rgba(244,239,231,0.78);
  max-width: 60ch;
  line-height: 1.6;
}
.page-hero-crumbs {
  font-size: var(--fs-small, 0.9rem);
  color: rgba(244,239,231,0.6);
  margin-bottom: var(--sp-2);
}
.page-hero-crumbs a { color: rgba(244,239,231,0.8); text-decoration: none; }
.page-hero-crumbs a:hover { color: var(--terra-light); }

/* каталожная секция на отдельной странице — верхний отступ уменьшен (шапка своя) */
.catalog-page .catalog { padding-top: var(--sp-8); }

/* ---------- NAV DROPDOWN «Каталог» ---------- */
.nav-dd { position: relative; }
.nav-dd-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  padding: 0;
}
.nav-dd-toggle svg { width: 14px; height: 14px; transition: transform var(--dur-fast, 0.2s) ease; }
.nav-dd.open .nav-dd-toggle svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 230px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md, 14px);
  box-shadow: 0 18px 50px rgba(13,17,20,0.18);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--dur-fast, 0.2s) ease, transform var(--dur-fast, 0.2s) ease;
  z-index: 60;
}
.nav-dd:hover .nav-dd-menu,
.nav-dd.open .nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dd-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--stone) !important;
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background var(--dur-fast, 0.2s) ease, color var(--dur-fast, 0.2s) ease;
}
.nav-dd-menu a:hover { background: var(--paper-2); color: var(--terra-dark) !important; }
/* когда шапка тёмная (on-dark) — пункт «Каталог» светлый, но выпадающее меню всегда светлое */
.nav.on-dark .nav-dd-toggle { color: var(--paper); }

/* мобильное меню: подзаголовок «Каталог» */
.mobile-menu-sub {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terra-light);
  font-weight: 700;
  margin: var(--sp-4) 0 var(--sp-2);
  opacity: 0.9;
}

/* ============================================================
   CUSTOM CURSOR — кольцо + точка + кометный хвост (v2)
   Только для мыши (pointer: fine). На тач-устройствах выключено.
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .has-custom-cursor, .has-custom-cursor * { cursor: none !important; }
}
.cur-dot, .cur-ring, .cur-tail {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  opacity: 0;
  z-index: 99999;
  will-change: transform;
}
.cursor-active .cur-dot,
.cursor-active .cur-ring { opacity: 1; }
.cur-dot, .cur-ring {
  transition: opacity 0.3s ease;
}
/* точка — точно под мышью */
.cur-dot {
  width: 7px;
  height: 7px;
  background: var(--terra);
}
/* кольцо — с запаздыванием */
.cur-ring {
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--terra);
  transition: width 0.28s cubic-bezier(0.16,1,0.3,1),
              height 0.28s cubic-bezier(0.16,1,0.3,1),
              background 0.28s ease, border-color 0.28s ease, opacity 0.3s ease;
}
.cur-ring.cur-ring-hover {
  width: 54px;
  height: 54px;
  background: rgba(184,91,58,0.12);
  border-color: var(--terra-light);
}
.cur-ring.cur-ring-down {
  background: rgba(184,91,58,0.22);
  border-color: var(--terra-light);
}
/* кометный хвост — затухающие точки */
.cur-tail {
  background: var(--terra-light);
  width: calc(6px - var(--i) * 0.7px);
  height: calc(6px - var(--i) * 0.7px);
}
.cursor-active .cur-tail { opacity: calc(0.5 - var(--i) * 0.075); }

@media (prefers-reduced-motion: reduce) {
  .cur-dot, .cur-ring, .cur-tail { display: none !important; }
}

/* ============================================================
   HOVER ZOOM — плавное увеличение крупных блоков при наведении (v2)
   Только для мыши; на тач-устройствах отключено (hover залипает).
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  .cat-card, .product, .wip-card, .tst, .step, .stat {
    transition: transform 0.38s cubic-bezier(0.16,1,0.3,1),
                box-shadow 0.38s ease, border-color 0.25s ease, background 0.25s ease;
  }
  .cat-card:hover  { transform: translateY(-10px) scale(1.045); z-index: 2; }
  .product:hover   { transform: translateY(-10px) scale(1.045); box-shadow: var(--sh-3); z-index: 2; }
  .wip-card:hover  { transform: translateY(-6px) scale(1.025); z-index: 2; }
  .tst:hover       { transform: translateY(-5px) scale(1.025); box-shadow: var(--sh-3); z-index: 2; }
  .step:hover      { transform: translateY(-4px) scale(1.02); box-shadow: var(--sh-2); z-index: 2; }
  .stat:hover      { transform: scale(1.05); }
}
@media (prefers-reduced-motion: reduce) {
  .cat-card:hover, .product:hover, .wip-card:hover, .tst:hover, .step:hover, .stat:hover { transform: none; }
}

/* ============================================================
   PRICES — цена «под ключ» в hero + цены на карточках категорий (v2)
   ============================================================ */
/* Hero: «Фасад под ключ от 3 800 ₽/м²» */
.hero-price {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-bottom: var(--sp-5);
}
.hero-price-main {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--paper);
}
.hero-price-main strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.55rem;
  color: var(--terra-light);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hero-price-note {
  font-size: 0.85rem;
  color: rgba(244,239,231,0.9);
}
.hero-price-note-accent {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--cream);
}

/* Category cards: строка «цена + Смотреть каталог» */
.cat-card-pricerow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
  margin-top: var(--sp-3);
}
.cat-card-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--terra-light);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.cat-card-pricerow .cat-card-cta { margin-top: 0; }
@media (max-width: 380px) {
  .cat-card-pricerow { flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
}

/* ---------- NOTE BAND: блок «часть ассортимента» на главной ---------- */
.note-band { padding: var(--sp-8) 0; }
.note-band .catalog-note { margin-top: 0; }

/* ============================================================
   УСИЛЕННЫЙ HOVER — кликабельные элементы: яркая подсветка,
   увеличение и смещение (только мышь)
   ============================================================ */
@media (hover: hover) and (pointer: fine) {
  /* Кнопки */
  .btn {
    transition: transform var(--dur-fast) var(--ease-out),
                background var(--dur-base) var(--ease-out),
                color var(--dur-base) var(--ease-out),
                border-color var(--dur-base) var(--ease-out),
                box-shadow var(--dur-base) var(--ease-out),
                filter var(--dur-base) var(--ease-out);
  }
  .btn:hover { transform: translateY(-4px) scale(1.05); filter: brightness(1.1); }
  .btn:active { transform: translateY(-1px) scale(1.02); }
  .btn.hero-cta:hover,
  .sticky-form-panel .form-submit:hover {
    transform: translateY(-4px) scale(1.05);
    filter: brightness(1.1);
  }

  /* Ссылки навигации */
  .nav-menu a,
  .nav-dd-toggle {
    transition: color var(--dur-base) var(--ease-out),
                transform var(--dur-fast) var(--ease-out);
  }
  .nav-menu a:hover,
  .nav-dd-toggle:hover { color: var(--terra-light); transform: translateY(-2px) scale(1.08); }

  /* Телефон и логотип в шапке */
  .nav-phone,
  .brand {
    transition: color var(--dur-base) var(--ease-out),
                transform var(--dur-fast) var(--ease-out);
  }
  .nav-phone:hover {
    transform: translateY(-2px) scale(1.09);
    filter: brightness(1.08);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.42),
      0 10px 24px rgba(200, 90, 50, 0.48),
      0 4px 10px rgba(13, 17, 20, 0.30);
  }
  .brand:hover { color: var(--terra-light); transform: translateY(-2px) scale(1.04); }

  /* Вкладки «до/после» */
  .ba-tab {
    transition: color var(--dur-base) var(--ease-out),
                border-color var(--dur-base) var(--ease-out),
                transform var(--dur-fast) var(--ease-out);
  }
  .ba-tab:hover { color: var(--terra); transform: translateY(-2px) scale(1.05); }

  /* Вопросы FAQ */
  .faq-q {
    transition: color var(--dur-base) var(--ease-out),
                transform var(--dur-fast) var(--ease-out);
  }
  .faq-q:hover { color: var(--terra); transform: translateX(6px); }

  /* Ссылки в подвале */
  .foot-col a,
  .foot-contact a {
    display: inline-block;
    transition: color var(--dur-fast) var(--ease-out),
                transform var(--dur-fast) var(--ease-out);
  }
  .foot-col a:hover,
  .foot-contact a:hover { color: var(--terra-light); transform: translateX(5px) scale(1.05); }
  .foot-social a:hover { transform: translateY(-3px) scale(1.1); }

  /* Плавающие кнопки */
  .max-fab:hover { transform: translateY(-4px) scale(1.05); }
  .sticky-form-fab:hover { transform: translateY(-3px) scale(1.06); }
}


/* ===== Характеристики и цена на карточках (прайс 2026-09) ===== */
.product-specs{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-top:var(--sp-1);
}
.product-spec{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:var(--sp-3);
  font-size:var(--fs-small);
}
.product-spec>span{ color:var(--stone); }
.product-spec>b{ color:var(--ink); font-weight:600; text-align:right; }
.product-foot.has-price{ justify-content:space-between; }
.product-price{
  display:inline-flex;
  align-items:baseline;
  gap:2px;
  font-family:var(--font-display);
  font-size:1.25rem;
  font-weight:600;
  color:var(--terra-dark);
  white-space:nowrap;
}
.product-price .cur{ font-size:1rem; margin-left:1px; }
.product-price small{ font-size:var(--fs-xs); color:var(--stone); font-weight:500; }
@media (max-width:480px){
  .product-price{ font-size:1.1rem; }
  .product-btn{ padding:var(--sp-2) var(--sp-4); }
}


/* Цена «уточняйте у менеджера» (прайс 2026-09) */
.product-price-ask{
  font-size:var(--fs-small);
  color:var(--stone);
  font-style:italic;
  line-height:1.35;
  max-width:62%;
}


/* ===== Лайтбокс: фото товара на весь экран (2026-09) ===== */
.product-visual{ cursor: zoom-in; }
.product-visual::after{
  content:""; position:absolute; right:12px; bottom:12px;
  width:42px; height:42px; border-radius:50%;
  background: rgba(13,17,20,0.55) url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%23ffffff%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2711%27%20cy%3D%2711%27%20r%3D%277%27/%3E%3Cline%20x1%3D%2716.5%27%20y1%3D%2716.5%27%20x2%3D%2721%27%20y2%3D%2721%27/%3E%3Cline%20x1%3D%278%27%20y1%3D%2711%27%20x2%3D%2714%27%20y2%3D%2711%27/%3E%3Cline%20x1%3D%2711%27%20y1%3D%278%27%20x2%3D%2711%27%20y2%3D%2714%27/%3E%3C/svg%3E") center / 22px 22px no-repeat;
  opacity:0; transform: translateY(6px) scale(.9);
  transition: opacity .2s ease, transform .2s ease; pointer-events:none;
}
.product:hover .product-visual::after,
.product-visual:hover::after{ opacity:1; transform: translateY(0) scale(1); }

.lightbox{
  position:fixed; inset:0; z-index:9999;
  display:flex; align-items:center; justify-content:center; padding:4vmin;
  background: rgba(13,17,20,.93);
  opacity:0; visibility:hidden; transition: opacity .25s ease; cursor: zoom-out;
}
.lightbox.open{ opacity:1; visibility:visible; }
.lightbox img{
  width:96vw; height:96vh; object-fit:contain;   /* масштаб под экран, пропорции сохраняются */
  transform: scale(.97); transition: transform .25s ease; cursor:default;
}
.lightbox.open img{ transform: scale(1); }
.lightbox-close{
  position:absolute; top:18px; right:22px; width:46px; height:46px; z-index:2;
  display:flex; align-items:center; justify-content:center;
  border:none; border-radius:50%; background: rgba(255,255,255,.14);
  color:#fff; font-size:26px; line-height:1; cursor:pointer; transition: background .2s ease;
}
.lightbox-close:hover{ background: rgba(255,255,255,.28); }
body.lightbox-open{ overflow:hidden; }
@media (prefers-reduced-motion: reduce){
  .lightbox, .lightbox img, .product-visual::after{ transition:none; }
}


/* Мобайл/планшет: при открытой модалке формы прячем плавающие кнопки (модалка занимает экран). (2026-09)
   На десктопе кнопки НЕ прячем — форма компактная, кнопки стоят в пустом месте под ней (см. резерв высоты формы ниже). */
body:has(.sticky-form.open) .viz-fab,
body:has(.sticky-form.open) .max-fab{ opacity:0 !important; visibility:hidden !important; pointer-events:none !important; }

/* Компактная закреплённая форма справа (десктоп) — чтобы помещалась целиком без прокрутки на невысоких экранах (2026-09) */
@media (min-width: 1200px){
  /* -176px снизу — резерв под кнопки «Визуализация»/«MAX», чтобы форма не доходила до них */
  .sticky-form-panel{ top: calc(var(--nav-h) + 12px); max-height: calc(100vh - var(--nav-h) - 176px); }
  .sticky-form-panel .form{ padding: var(--sp-4) var(--sp-5); }
  .sticky-form-panel .form-title{ font-size: 1.3rem; margin-bottom: var(--sp-2); }
  .sticky-form-panel .form-subtitle{ margin-bottom: var(--sp-3); line-height: 1.4; }
  .sticky-form-panel .field{ margin-bottom: var(--sp-3); gap: 6px; }
  .sticky-form-panel .field input{ min-height: 46px; }
  .sticky-form-panel .field textarea{ min-height: 64px; }
  .sticky-form-panel .consent{ margin: var(--sp-3) 0; }
}

/* Убрать стрелку «→» в кнопке «Получить полный каталог» (блок «Показана только часть ассортимента») */
.catalog-note-cta .btn svg{ display: none; }

/* Убрать ВСЕ мелкие красные надзаголовки (.eyebrow) на всех страницах — сайт и каталог */
.eyebrow{ display: none !important; }

/* После успешной отправки в закреплённой/модальной форме показываем ТОЛЬКО сообщение «заявка принята»
   (поля/кнопку прячем) — чтобы оно было полностью видно и не перекрыто кнопками */
.sticky-form-panel .form:has(.form-msg.show) .form-title,
.sticky-form-panel .form:has(.form-msg.show) .form-subtitle,
.sticky-form-panel .form:has(.form-msg.show) .form-row,
.sticky-form-panel .form:has(.form-msg.show) .field,
.sticky-form-panel .form:has(.form-msg.show) .consent,
.sticky-form-panel .form:has(.form-msg.show) .form-submit{ display: none !important; }
