:root {
  --ink: #111111;
  --ink-2: #1a1a1a;
  --paper: #f4f4f6;
  --white: #ffffff;
  --gold: #c5a880;
  --gold-2: #d4af37;
  --thread: #a83b2f;
  --muted: #747474;
  --line: rgba(17, 17, 17, 0.14);
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.18);
  --radius: 8px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: #0f0f0f;
  color: var(--gold);
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.needle-line {
  width: min(720px, 82vw);
  height: 150px;
}
.needle-line path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-dasharray: 1280;
  stroke-dashoffset: 1280;
}

.cursor, .cursor-dot {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  display: none;
}
.cursor {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(197,168,128,.86);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width .22s ease, height .22s ease, background .22s ease;
  color: var(--ink);
  place-items: center;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0;
  text-align: center;
}
.cursor-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
@media (pointer: fine) {
  .cursor, .cursor-dot { display: grid; }
  body { cursor: none; }
}
.cursor.is-active {
  width: 96px;
  height: 96px;
  background: rgba(197,168,128,.88);
  border-color: transparent;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  color: var(--white);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.site-header.is-scrolled {
  background: rgba(244,244,246,.9);
  color: var(--ink);
  backdrop-filter: blur(18px);
  border-color: var(--line);
}
.nav {
  width: min(1440px, calc(100vw - 40px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.brand {
  min-width: 176px;
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 2px;
  text-transform: none;
}
.brand .logo { display: none; }
.brand::before {
  content: "Нити Азии";
  color: currentColor;
  font-size: 23px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.045em;
}
.brand::after {
  content: "Швейная фабрика · Бишкек";
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.brand-mark {
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  display: grid;
  place-items: center;
  color: var(--gold);
}
.brand small {
  display: block;
  font-size: 11px;
  color: var(--gold);
  font-weight: 600;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.nav-links a { opacity: .86; }
.nav-links a:hover { color: var(--gold); opacity: 1; }
.nav-cta, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn.ghost { background: transparent; color: inherit; border-color: rgba(255,255,255,.3); }
.site-header.is-scrolled .btn.ghost { border-color: var(--line); }

.mobile-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; }

.hero {
  min-height: 92svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.24) 55%, rgba(0,0,0,.68)),
    radial-gradient(circle at 72% 24%, rgba(197,168,128,.2), transparent 32%);
}
.hero-media, .hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media {
  background:
    linear-gradient(135deg, rgba(17,17,17,.2), rgba(17,17,17,.82)),
    url("https://avatars.mds.yandex.net/i?id=4b3bc5ddeba1d16aaa4095b0bc647687_l-4885151-images-thumbs&n=13") center/cover no-repeat;
  transform: scale(1.04);
}
.hero-canvas { opacity: .34; mix-blend-mode: screen; }
.hero-content {
  position: relative;
  z-index: 2;
  width: min(1440px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 118px 0 38px;
}
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0;
  font-size: 12px;
}
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 750;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
}
h1 {
  max-width: 1050px;
  font-size: clamp(48px, 9vw, 132px);
  text-transform: uppercase;
}
.hero h1 {
  max-width: 980px;
  font-size: clamp(42px, 6.6vw, 96px);
}
.hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.82);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-strip {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.18);
  border-left: 1px solid rgba(255,255,255,.18);
}
.hero-strip div {
  min-height: 84px;
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,.18);
  display: grid;
  align-content: center;
  gap: 8px;
}
.hero-strip strong { font-size: clamp(24px, 4vw, 48px); color: var(--gold); }
.hero-strip span { color: rgba(255,255,255,.7); font-size: 13px; text-transform: uppercase; }

.section {
  padding: 104px 0;
  position: relative;
}
.section.dark {
  background: var(--ink);
  color: var(--white);
}
.section-inner {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
  margin-bottom: 38px;
}
.section h2 {
  max-width: 820px;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: .98;
  letter-spacing: -.052em;
  text-transform: none;
}
.section-head p, .lead {
  max-width: 460px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.52;
  letter-spacing: -.018em;
}
.dark .section-head p, .dark .lead { color: rgba(255,255,255,.68); }

.grid-3, .grid-2, .grid-4 {
  display: grid;
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  min-height: 248px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.62);
  overflow: hidden;
  transform-style: preserve-3d;
}
.dark .card { background: rgba(255,255,255,.055); border-color: rgba(255,255,255,.12); }
.card::before {
  content: "";
  position: absolute;
  inset: -60% -20%;
  background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.34), transparent 58%);
  transform: translateX(-60%) rotate(8deg);
  transition: transform .55s ease;
}
.card:hover::before { transform: translateX(60%) rotate(8deg); }
.card h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.035em;
  margin-bottom: 14px;
}
.card p {
  color: var(--muted);
  font-size: 16px;
  font-weight: 450;
  line-height: 1.55;
  letter-spacing: -.014em;
  margin: 0;
}
.dark .card p { color: rgba(255,255,255,.64); }
.card .num {
  color: var(--gold);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: 1;
  margin-bottom: 18px;
}

.services-grid .card {
  min-height: 286px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  transition: border-color .3s ease, background-color .3s ease, box-shadow .3s ease;
}
.services-grid .card > * {
  position: relative;
  z-index: 1;
}
.services-grid .card h3 {
  margin-top: auto;
}
.services-grid .card:hover {
  border-color: rgba(197,168,128,.58);
  background: rgba(255,255,255,.86);
  box-shadow: 0 22px 54px rgba(17,17,17,.08);
}
.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid rgba(197,168,128,.58);
  border-radius: 50%;
  color: #a9875b;
  background: rgba(197,168,128,.09);
  transition: color .3s ease, background-color .3s ease, transform .35s cubic-bezier(.2,.8,.2,1);
}
.service-icon svg {
  width: 29px;
  height: 29px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.services-grid .card:hover .service-icon {
  color: var(--ink);
  background: var(--gold);
  transform: translateY(-3px) rotate(-3deg);
}

.stitch-wrap {
  position: relative;
}
.stitch-line {
  position: absolute;
  left: -28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--thread) 0 8px, transparent 8px 18px);
  transform-origin: top;
  transform: scaleY(.05);
  opacity: .7;
}

.product-showcase {
  overflow: hidden;
}
.product-showcase .section-head {
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  align-items: end;
}
.product-showcase .section-head h2 {
  max-width: 780px;
}
.product-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.product-shot {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  background: #181818;
}
.product-shot::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(to top, rgba(0,0,0,.7), transparent);
  pointer-events: none;
}
.product-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.product-shot:first-child img {
  object-position: center 36%;
}
.product-shot:hover img {
  transform: scale(1.018);
}
.product-shot figcaption {
  position: absolute;
  z-index: 1;
  left: 26px;
  right: 26px;
  bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--white);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -.025em;
}
.product-shot figcaption span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
}

.split {
  position: relative;
  height: min(660px, 72vw);
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--ink);
}
.split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split .after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 50%);
}
.split-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--gold);
}
.split-handle::after {
  content: "Фото / изделие";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.macro {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.zoom-box {
  min-height: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: #8792a4;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}
.zoom-box > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.lens {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background-image: url("../media/stitch-macro.svg");
  background-size: 360px 360px;
  box-shadow: 0 20px 70px rgba(0,0,0,.32);
  opacity: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.zoom-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 72px);
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
}
.zoom-copy h2 {
  max-width: 560px;
  margin-top: 16px;
  font-size: clamp(44px, 5vw, 70px);
  line-height: .98;
  text-transform: none;
}
.zoom-copy p {
  max-width: 520px;
  margin: 28px 0 0;
  color: rgba(255,255,255,.68);
  font-size: 17px;
  line-height: 1.6;
}
.zoom-copy .btn {
  align-self: flex-start;
  margin-top: 30px;
}

.catalog-card {
  min-height: 420px;
  display: flex;
  align-items: end;
  padding: 24px;
  color: var(--white);
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.08)), var(--img) center/cover no-repeat;
  border-radius: var(--radius);
  overflow: hidden;
}
.catalog-card h3 { font-size: 30px; line-height: 1.05; }
.catalog-card p { color: rgba(255,255,255,.7); line-height: 1.5; }

.process {
  counter-reset: step;
  display: grid;
  gap: 12px;
}
.process li {
  list-style: none;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.6);
  border-radius: var(--radius);
}
.process li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  color: var(--gold);
  font-weight: 900;
  font-size: 28px;
}
.process strong { display: block; margin-bottom: 6px; }
.process span { color: var(--muted); line-height: 1.55; }

.quiz {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 20px;
}
.quiz-panel, .quote-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px;
}
.quiz-step { display: none; }
.quiz-step.is-active { display: block; }
.field-grid { display: grid; gap: 12px; margin-top: 22px; }
.option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}
.option input { accent-color: var(--gold); }
.range { width: 100%; accent-color: var(--gold); }
.quote-price { font-size: 46px; font-weight: 900; color: var(--gold); margin: 16px 0; }
.quiz-nav { display: flex; gap: 12px; margin-top: 26px; }

.contact-hero {
  min-height: 68svh;
  --page-img: url("../photos/fabric-rolls.jpg");
}
.contact-hero::before {
  background:
    linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.58) 48%, rgba(0,0,0,.25) 100%),
    var(--page-img) center 46% / cover no-repeat;
}
.contact-hero .section-inner { padding-bottom: clamp(48px, 6vw, 84px); }
.contact-hero h1 {
  max-width: 920px;
  margin-top: 16px;
  font-size: clamp(52px, 7vw, 104px);
  line-height: .92;
  text-transform: none;
}
.contact-hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
}
.contacts-section { padding-top: clamp(72px, 8vw, 118px); }
.contacts-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  align-items: end;
  gap: clamp(32px, 6vw, 90px);
  margin-bottom: clamp(42px, 6vw, 72px);
}
.contacts-heading h2 {
  max-width: 760px;
  font-size: clamp(48px, 6.2vw, 84px);
}
.contacts-heading p {
  max-width: 520px;
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.58;
}
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(340px, .78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: stretch;
}
.contacts-info {
  min-height: 640px;
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: 14px;
  background: var(--ink);
  color: var(--white);
  display: flex;
  flex-direction: column;
}
.contact-list {
  border-top: 1px solid rgba(255,255,255,.16);
}
.contact-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 18px;
  padding: 25px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.contact-icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(197,168,128,.58);
  border-radius: 50%;
  color: var(--gold);
  display: grid;
  place-items: center;
}
.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-label {
  display: block;
  margin-bottom: 7px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.contact-value {
  display: block;
  margin: 0;
  color: var(--white);
  font-size: clamp(20px, 2vw, 26px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.035em;
}
a.contact-value { width: fit-content; }
a.contact-value:hover { color: var(--gold); }
.contact-item small {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.55);
  font-size: 14px;
}
.contact-actions {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.contact-primary {
  min-height: 54px;
  padding: 0 21px;
}
.contact-primary svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-route {
  padding: 8px 0 5px;
  border-bottom: 1px solid rgba(255,255,255,.34);
  color: rgba(255,255,255,.76);
  font-size: 13px;
  font-weight: 700;
}
.contact-route:hover { color: var(--gold); border-color: var(--gold); }
.contacts-map {
  min-height: 640px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #e6e2dc;
}
.contacts-map iframe {
  width: 100%;
  height: 100%;
  min-height: 640px;
  display: block;
  border: 0;
}
.map-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  min-width: min(310px, calc(100% - 44px));
  padding: 17px 19px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 9px;
  background: rgba(17,17,17,.91);
  color: var(--white);
  box-shadow: 0 18px 50px rgba(0,0,0,.2);
  backdrop-filter: blur(12px);
}
.map-caption span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.map-caption strong { font-size: 17px; }

.footer {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #080808;
  color: rgba(255,255,255,.72);
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 18%, var(--gold) 82%, transparent);
  opacity: .7;
}
.footer-shell {
  width: min(1240px, calc(100vw - 40px));
  margin: 0 auto;
}
.footer-cta {
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255,255,255,.13);
}
.footer-kicker {
  display: block;
  margin-bottom: 15px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-cta h2 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -.052em;
}
.footer-action {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex: 0 0 auto;
  padding: 0 22px;
  border-radius: var(--radius);
  background: var(--gold);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}
.footer-action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}
.footer-action:hover svg { transform: translateX(4px); }
.footer-main {
  display: grid;
  grid-template-columns: 1.3fr .65fr .75fr 1fr;
  gap: clamp(34px, 5vw, 76px);
  padding: 58px 0 54px;
}
.footer-brand-name {
  display: inline-block;
  color: var(--white);
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -.04em;
}
.footer-brand p {
  max-width: 300px;
  margin: 18px 0 0;
  color: rgba(255,255,255,.52);
  font-size: 15px;
  line-height: 1.6;
}
.footer-column,
.footer-contact {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 12px;
}
.footer-column h3,
.footer-contact h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-column a,
.footer-whatsapp {
  color: rgba(255,255,255,.7);
  font-size: 15px;
  transition: color .2s ease, transform .2s ease;
}
.footer-column a:hover,
.footer-whatsapp:hover {
  color: var(--white);
  transform: translateX(3px);
}
.footer-phone {
  color: var(--white);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -.025em;
}
.footer-contact p {
  margin: 2px 0 4px;
  color: rgba(255,255,255,.5);
  font-size: 14px;
  line-height: 1.55;
}
.footer-whatsapp {
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(197,168,128,.55);
  color: var(--gold);
}
.footer-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 22px 0 26px;
  border-top: 1px solid rgba(255,255,255,.13);
  color: rgba(255,255,255,.42);
  font-size: 12px;
}
.footer-bottom span:nth-child(2) { text-align: center; }
.footer-bottom span:last-child { text-align: right; }

.footer > .section-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.page-hero {
  min-height: 62svh;
  padding-top: 144px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.36)), var(--page-img, url("../photos/fabric-rolls.jpg")) center/cover no-repeat;
  transform: scale(1.05);
}
.page-hero .section-inner { position: relative; z-index: 1; padding-bottom: 62px; }
.page-hero h1 { font-size: clamp(44px, 8vw, 112px); }

.cases-hero {
  min-height: 100svh;
  padding-top: 74px;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.cases-hero-grid {
  min-height: calc(100svh - 74px);
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: stretch;
}
.cases-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 78px 0 54px;
}
.cases-index {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cases-hero h1 {
  max-width: 690px;
  margin-top: 22px;
  font-size: clamp(58px, 6.8vw, 104px);
  line-height: .9;
  text-transform: none;
}
.cases-hero-copy p {
  max-width: 590px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.66);
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.55;
}
.cases-hero-link {
  width: fit-content;
  margin-top: 38px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(197,168,128,.72);
  color: var(--gold);
  font-size: 13px;
  font-weight: 750;
}
.cases-hero-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cases-hero-media {
  min-height: calc(100svh - 112px);
  margin: 38px 0 0;
  position: relative;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #d7d0c4;
}
.cases-hero-media::after {
  content: "";
  position: absolute;
  inset: 60% 0 0;
  background: linear-gradient(to top, rgba(0,0,0,.55), transparent);
  pointer-events: none;
}
.cases-hero-media img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center 40%;
}
.cases-hero-media figcaption {
  position: absolute;
  z-index: 1;
  left: 28px;
  right: 28px;
  bottom: 25px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--white);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.case-overview { padding: clamp(88px, 10vw, 148px) 0; }
.case-overview-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
  align-items: end;
  gap: clamp(42px, 7vw, 110px);
  margin-bottom: clamp(52px, 7vw, 90px);
}
.case-overview-head h2 {
  max-width: 780px;
  font-size: clamp(50px, 6.3vw, 88px);
}
.case-overview-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}
.case-links {
  margin-top: 30px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}
.case-links .btn { min-height: 54px; }
.case-links .btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.case-product-link {
  padding: 7px 0 5px;
  border-bottom: 1px solid rgba(17,17,17,.34);
  font-size: 13px;
  font-weight: 750;
}
.case-product-link:hover { border-color: var(--gold); color: #9a7549; }
.case-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, .85fr);
  gap: 18px;
  height: clamp(700px, 60vw, 800px);
}
.case-gallery figure {
  margin: 0;
  position: relative;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #ded9d0;
}
.case-gallery img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.case-gallery figure:hover img { transform: scale(1.018); }
.case-gallery-main img { object-position: center 42%; }
.case-gallery-side {
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.case-gallery-side figure:first-child img { object-position: center 38%; }
.case-gallery-side figure:last-child img { object-position: center 22%; }
.case-gallery figcaption {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 11px;
  border-radius: 6px;
  background: rgba(17,17,17,.86);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
}
.case-production {
  padding: clamp(86px, 10vw, 142px) 0;
  background: var(--ink);
  color: var(--white);
}
.case-production-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
  align-items: end;
  gap: clamp(40px, 7vw, 100px);
}
.case-production-head h2 {
  max-width: 780px;
  font-size: clamp(50px, 6.2vw, 86px);
  line-height: .95;
}
.case-production-head p {
  max-width: 510px;
  margin: 0 0 6px;
  color: rgba(255,255,255,.58);
  font-size: 18px;
  line-height: 1.6;
}
.case-stages {
  margin-top: clamp(56px, 7vw, 92px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.17);
  border-left: 1px solid rgba(255,255,255,.17);
}
.case-stages article {
  min-height: 280px;
  padding: clamp(24px, 3vw, 38px);
  border-right: 1px solid rgba(255,255,255,.17);
  border-bottom: 1px solid rgba(255,255,255,.17);
  display: flex;
  flex-direction: column;
}
.case-stages span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}
.case-stages h3 {
  margin-top: auto;
  font-size: 27px;
  line-height: 1.05;
}
.case-stages p {
  margin: 14px 0 0;
  color: rgba(255,255,255,.55);
  line-height: 1.55;
}

.video-proof {
  min-height: 420px;
  display: grid;
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.72)),
    url("../photos/fabric-warehouse.jpg") center/cover no-repeat;
  border-radius: var(--radius);
}

.media-band {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 20px;
  align-items: stretch;
}
.photo-frame {
  min-height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background: var(--ink);
  box-shadow: var(--shadow);
}
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: inherit;
}
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.54), transparent 50%);
}
.photo-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  color: var(--white);
  font-weight: 900;
  text-transform: uppercase;
}
.photo-stack {
  display: grid;
  gap: 20px;
}
.photo-stack .photo-frame { min-height: 250px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease, border-color .35s ease;
}
.product-card-media {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ddd;
}
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197,168,128,.65);
  box-shadow: 0 22px 54px rgba(17,17,17,.1);
}
.product-card:hover img { transform: scale(1.025); }
.product-card .body {
  padding: 18px;
  display: grid;
  gap: 8px;
}
.product-card h3 {
  font-size: 20px;
  line-height: 1.1;
}
.product-card p {
  color: var(--muted);
  line-height: 1.45;
  margin: 0;
}
.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--gold);
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
}

.catalog-hero {
  min-height: 70svh;
  --page-img: url("../photos/fabric-warehouse.jpg");
}
.catalog-hero::before {
  background:
    linear-gradient(90deg, rgba(0,0,0,.82), rgba(0,0,0,.36)),
    var(--page-img) center 46% / cover no-repeat;
}
.catalog-hero h1 {
  max-width: 1040px;
  margin-top: 16px;
  font-size: clamp(54px, 7.6vw, 108px);
  line-height: .91;
  text-transform: none;
}
.catalog-hero p {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
}
.catalog-section { padding-top: clamp(82px, 9vw, 126px); }
.catalog-section .section-head { margin-bottom: clamp(44px, 6vw, 74px); }
.catalog-section .section-head h2 { max-width: 780px; }
.catalog-grid { row-gap: 26px; }
.catalog-grid .product-card { display: flex; flex-direction: column; }
.catalog-grid .product-card .body { flex: 1; padding: 21px 20px 19px; }
.catalog-grid .product-card h3 { font-size: 23px; }
.catalog-grid .product-card p { font-size: 15px; }
.product-card-action {
  margin-top: 13px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.product-card-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .25s ease;
}
.product-card:hover .product-card-action svg { transform: translateX(4px); }

.service-detail {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 24px;
  align-items: start;
}
.service-aside {
  position: sticky;
  top: 100px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
}
.service-aside img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.service-aside p {
  color: rgba(255,255,255,.68);
  line-height: 1.6;
}
.spec-list {
  display: grid;
  gap: 12px;
}
.spec-list div {
  padding: 18px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.68);
  border-radius: var(--radius);
}
.spec-list b {
  display: block;
  margin-bottom: 6px;
  color: var(--thread);
}

@media (max-width: 940px) {
  .media-band, .service-detail { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .service-aside { position: static; }
}

@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr; }
  .catalog-hero { min-height: 68svh; padding-top: 108px; }
  .catalog-hero .section-inner { padding-bottom: 42px; }
  .catalog-hero h1 { margin-top: 12px; font-size: clamp(46px, 13.6vw, 60px); }
  .catalog-hero p { margin-top: 20px; font-size: 16px; }
  .catalog-section { padding-top: 64px; }
  .catalog-grid { gap: 16px; }
  .catalog-grid .product-card .body { padding: 20px; }
  .catalog-grid .product-card h3 { font-size: 25px; }
  .photo-frame { min-height: 360px; }
}
.play {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-weight: 900;
}

@media (max-width: 940px) {
  .cursor, .cursor-dot { display: none !important; }
  body { cursor: auto; }
  .mobile-toggle { display: inline-flex; }
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: rgba(17,17,17,.96);
    color: var(--white);
  }
  .nav-links.is-open { display: flex; }
  .site-header.is-scrolled .nav-links { background: rgba(244,244,246,.98); color: var(--ink); }
  .grid-3, .grid-4, .section-head, .macro, .quiz, .contact-panel { grid-template-columns: 1fr; }
  .contacts-heading, .contacts-layout { grid-template-columns: 1fr; }
  .contacts-heading { align-items: start; }
  .contacts-info { min-height: 0; }
  .contacts-map, .contacts-map iframe { min-height: 520px; }
  .cases-hero { min-height: 0; }
  .cases-hero-grid { min-height: 0; grid-template-columns: 1fr; gap: 0; }
  .cases-hero-copy { padding: 82px 0 58px; }
  .cases-hero-media { min-height: 720px; margin-top: 0; border-radius: 12px 12px 0 0; }
  .case-overview-head, .case-production-head { grid-template-columns: 1fr; align-items: start; }
  .case-gallery { height: auto; grid-template-columns: 1fr; }
  .case-gallery-main { height: 760px; }
  .case-gallery-side { height: 720px; grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: 1fr; }
  .zoom-box { aspect-ratio: 3 / 4; }
  .zoom-box .lens { display: none; }
  .zoom-copy { min-height: 440px; }
  .product-showcase .section-head { grid-template-columns: 1fr; align-items: start; }
  .section-head { gap: 20px; align-items: start; }
  .section-head p, .lead { max-width: 680px; }
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .footer-cta { align-items: flex-start; flex-direction: column; gap: 30px; }
  .footer-main { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-brand, .footer-contact { grid-column: span 2; }
  .hero-content { padding-bottom: 34px; }
  .stitch-line { left: -12px; }
}

@media (max-width: 560px) {
  .nav { width: min(100vw - 24px, 1440px); }
  .section-inner, .hero-content { width: min(100vw - 24px, 1240px); }
  .brand small { display: none; }
  .brand { min-width: 0; }
  .brand::before { font-size: 21px; }
  .brand::after { content: "Швейная фабрика"; font-size: 7px; }
  .nav-cta { display: none; }
  .contact-hero { min-height: 66svh; padding-top: 108px; }
  .contact-hero .section-inner { padding-bottom: 42px; }
  .contact-hero h1 { margin-top: 12px; font-size: clamp(46px, 14.4vw, 62px); line-height: .94; }
  .contact-hero p { margin-top: 20px; font-size: 16px; line-height: 1.48; }
  .contacts-section { padding-top: 62px; }
  .contacts-heading { gap: 22px; margin-bottom: 36px; }
  .contacts-heading h2 { font-size: clamp(42px, 12.4vw, 56px); }
  .contacts-heading p { font-size: 16px; }
  .contacts-info { padding: 24px 20px; border-radius: 10px; }
  .contact-item { grid-template-columns: 42px minmax(0, 1fr); gap: 14px; padding: 21px 0; }
  .contact-icon { width: 42px; height: 42px; }
  .contact-icon svg { width: 19px; height: 19px; }
  .contact-value { font-size: 20px; }
  .contact-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .contact-primary { width: 100%; }
  .contact-route { width: fit-content; }
  .contacts-map, .contacts-map iframe { min-height: 430px; }
  .contacts-map { border-radius: 10px; }
  .map-caption { left: 14px; right: 14px; bottom: 14px; min-width: 0; }
  .cases-hero { padding-top: 74px; }
  .cases-hero-copy { padding: 62px 0 46px; }
  .cases-hero h1 { margin-top: 16px; font-size: clamp(52px, 15vw, 66px); line-height: .91; }
  .cases-hero-copy p { margin-top: 22px; font-size: 16px; }
  .cases-hero-link { margin-top: 28px; }
  .cases-hero-media { min-height: 520px; margin-left: -12px; margin-right: -12px; border-radius: 0; }
  .cases-hero-media figcaption { left: 18px; right: 18px; bottom: 18px; }
  .case-overview { padding: 72px 0; }
  .case-overview-head { gap: 26px; margin-bottom: 42px; }
  .case-overview-head h2 { font-size: clamp(44px, 12.5vw, 56px); }
  .case-overview-copy p { font-size: 16px; }
  .case-links { align-items: stretch; flex-direction: column; gap: 14px; }
  .case-links .btn { width: 100%; }
  .case-product-link { width: fit-content; }
  .case-gallery { gap: 12px; }
  .case-gallery-main { height: 520px; }
  .case-gallery-side { height: 420px; gap: 12px; }
  .case-gallery figure { border-radius: 8px; }
  .case-gallery figcaption { left: 10px; bottom: 10px; font-size: 10px; }
  .case-production { padding: 72px 0; }
  .case-production-head { gap: 24px; }
  .case-production-head h2 { font-size: clamp(44px, 12.5vw, 56px); }
  .case-production-head p { font-size: 16px; }
  .case-stages { grid-template-columns: 1fr; }
  .case-stages article { min-height: 220px; }
  .card, .quiz-panel, .quote-panel { padding: 20px; }
  .services-grid .card { min-height: 240px; padding: 22px; }
  .service-icon { width: 54px; height: 54px; }
  .macro { gap: 12px; }
  .zoom-box { aspect-ratio: 3 / 4; }
  .zoom-box > img { object-position: center 40%; }
  .zoom-copy { min-height: 0; padding: 28px 22px 30px; }
  .zoom-copy h2 { margin-top: 12px; font-size: clamp(38px, 11vw, 48px); }
  .zoom-copy p { margin-top: 20px; font-size: 16px; line-height: 1.55; }
  .zoom-copy .btn { width: 100%; margin-top: 24px; }
  .lens { width: 120px; height: 120px; }
  .footer-shell { width: min(100vw - 24px, 1240px); }
  .footer-cta { min-height: 0; padding: 52px 0 42px; }
  .footer-cta h2 { font-size: clamp(40px, 12vw, 54px); }
  .footer-action { width: 100%; }
  .footer-main { grid-template-columns: 1fr; gap: 36px; padding: 42px 0; }
  .footer-brand, .footer-contact { grid-column: auto; }
  .footer-bottom { grid-template-columns: 1fr; gap: 9px; }
  .footer-bottom span:nth-child(2), .footer-bottom span:last-child { text-align: left; }
  .section h2 { font-size: clamp(36px, 11vw, 52px); line-height: 1; }
  .section-head p, .lead { font-size: 16px; line-height: 1.55; }
  .product-gallery { grid-template-columns: 1fr; gap: 12px; }
  .product-shot { aspect-ratio: 3 / 4; }
  .product-shot figcaption { left: 20px; right: 20px; bottom: 18px; font-size: 17px; }
  .hero-content { padding-top: 100px; padding-bottom: 24px; }
  .hero-strip div { min-height: 76px; padding: 14px; }
  .process li { grid-template-columns: 1fr; }
  .split-handle::after { width: 86px; height: 86px; font-size: 10px; }
}
