/* ============================================================
   Resivolt Rezistans — styles
   Ported from "Resivolt Rezistans v2.dc.html" design prototype.
   Breakpoints (from design): 640 / 900 / 1000 / 1100 / 1250 px
   ============================================================ */

:root {
  --paper: #F4F4F1;
  --ink: #101214;
  --red: #C1121F;
  --red-dark: #8E0D17;
  --red-soft: #F0575F;
  --gray: #5A5F64;
  --gray-2: #45494E;
  --muted: #8A8F94;
  --muted-dark: #8B9096;
  --line: #E1E1DC;
  --line-soft: #EDEDE8;
  --gray-bg: #E7E7E2;
  --dark-body: #B9BEC3;
  --dark-body-2: #9BA0A5;
  --mono: 'IBM Plex Mono', monospace;
  --ease-card: cubic-bezier(0.2, 0.7, 0.2, 1);
  --pad-x: clamp(24px, 3.5vw, 48px);
  --header-h: 79px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Chivo, "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }
img { display: block; }
h1, h2, h3, p { overflow-wrap: break-word; }
button { font-family: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }

input, select, textarea { font-family: inherit; outline: none; transition: border-color 0.25s ease; }
input:hover, select:hover, textarea:hover { border-color: #A9A9A3; }
input:focus, textarea:focus, select:focus { border-color: var(--ink) !important; }
::placeholder { color: #B7BBBF; }

::selection { background: var(--red); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes heroFade { 0% { opacity: 1; } 17% { opacity: 1; } 22% { opacity: 0; } 95% { opacity: 0; } 100% { opacity: 1; } }
@keyframes heroDrift { 0% { transform: scale(1.02); } 50% { transform: scale(1.1); } 100% { transform: scale(1.02); } }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Scroll reveal */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.82s cubic-bezier(0.22, 0.7, 0.2, 1), transform 0.82s cubic-bezier(0.22, 0.7, 0.2, 1);
}
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
.js [data-reveal].no-anim { transition: none; }

/* Shared bits ------------------------------------------------ */

.container { max-width: 1360px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--red);
  margin-bottom: 18px;
}
.kicker--wide { font-size: 12px; letter-spacing: 0.2em; margin-bottom: 22px; }

.h2 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: pretty;
}

.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { color: #fff; }
.btn--red.btn--invert:hover { background: #fff; color: var(--ink); }
.btn--red.btn--deepen:hover { background: var(--red-dark); }
.btn--red.btn--to-ink:hover { background: var(--ink); color: #fff; }

.underline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 5px;
}
.underline-link:hover { color: var(--red); }

.mono-link {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.mono-link:hover { color: var(--red); }

/* Header ----------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 24px rgba(16, 18, 20, 0.13); }
.header__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 12px clamp(16px, 3.5vw, 48px);
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 32px);
}

.logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__img { display: block; height: 42px; width: auto; }

.main-nav { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 24px); margin-left: auto; }
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.22s ease;
  color: #3A3E42;
}
.main-nav a:hover { color: var(--red); }
.main-nav a.is-active { color: var(--red); border-bottom-color: var(--red); }

.btn-quote {
  flex-shrink: 0;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 14px 22px;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.28s ease;
}
.btn-quote:hover { background: var(--red); color: #fff; }

.burger {
  margin-left: auto;
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--ink); }

.mobile-menu { background: #fff; border-top: 1px solid var(--line); animation: faqIn 0.28s ease both; }
.mobile-menu__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 6px clamp(16px, 3.5vw, 48px) 24px;
  display: flex;
  flex-direction: column;
}
.mobile-menu__inner a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #3A3E42;
}
.mobile-menu__inner a.is-active { color: var(--red); }
.mobile-menu__inner a.mobile-menu__cta {
  margin-top: 20px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 17px 22px;
  text-align: center;
  border-bottom: 0;
}

@media (max-width: 999px) {
  .main-nav, .btn-quote { display: none; }
  .burger { display: flex; }
}

/* Hero (home) ------------------------------------------------ */

.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  height: calc(100svh - var(--header-h));
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: heroFade 34s linear infinite, heroDrift 34s ease-in-out infinite;
}
.hero__img:nth-of-type(1) { animation-delay: 0s, 0s; }
.hero__img:nth-of-type(2) { animation-delay: -27.2s, -27.2s; }
.hero__img:nth-of-type(3) { animation-delay: -20.4s, -20.4s; }
.hero__img:nth-of-type(4) { animation-delay: -13.6s, -13.6s; }
.hero__img:nth-of-type(5) { animation-delay: -6.8s, -6.8s; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,18,20,0.34) 0%, rgba(16,18,20,0.52) 55%, rgba(16,18,20,0.66) 100%);
}
.hero__content {
  position: relative;
  max-width: 1360px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(28px, 4vw, 56px) var(--pad-x);
  text-align: center;
}
.hero__tickwrap { display: flex; justify-content: center; margin-bottom: clamp(18px, 2.4vw, 30px); }
.hero__tick { width: 34px; height: 2px; background: var(--red); }
.hero__title {
  margin: 0 auto clamp(16px, 2vw, 26px);
  font-size: clamp(34px, 5vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 900;
  max-width: 760px;
  text-wrap: balance;
}
.hero__sub {
  margin: 0 auto clamp(24px, 3vw, 40px);
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  line-height: 1.6;
  color: #D3D7DB;
  max-width: 520px;
  font-weight: 300;
}
.hero__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero__cta { font-size: 13.5px; padding: 18px 32px; }
.hero__cta--ghost {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}
.hero__cta--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }

/* Home: products section ------------------------------------- */

.side-section {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(55px, 8.1vw, 110px) var(--pad-x) clamp(20px, 2.9vw, 40px);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(32px, 4.7vw, 64px);
  align-items: start;
}
.side-section__aside { position: sticky; top: 120px; align-self: start; }
.side-section__aside .h2 { margin-bottom: 18px; }
.side-section__lede { margin: 0 0 26px; font-size: 15px; line-height: 1.65; color: var(--gray); font-weight: 300; }

.home-prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }

.prod-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.4s var(--ease-card);
}
.prod-card:hover { transform: translateY(-5px); color: var(--ink); }
.prod-card__media {
  position: relative;
  background: var(--gray-bg);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  transition: box-shadow 0.45s var(--ease-card), border-color 0.3s ease;
}
.prod-card:hover .prod-card__media { box-shadow: 0 20px 44px rgba(16, 18, 20, 0.18); }
.prod-card__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s var(--ease-card);
}
.prod-card:hover .prod-card__img { transform: scale(1.07); }
.prod-card__code {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  padding: 6px 9px;
}
.prod-card__body { border-top: 2px solid var(--ink); padding-top: 14px; }
.prod-card__name { font-size: 17px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 7px; }
.prod-card__desc { font-size: 13.5px; line-height: 1.55; color: var(--gray); font-weight: 300; }

/* products-page card variant */
.prod-card--framed .prod-card__media { background: #fff; border: 1px solid var(--line); }
.prod-card--framed:hover .prod-card__media { box-shadow: 0 20px 44px rgba(16, 18, 20, 0.16); border-color: #CFCFC9; }
.prod-card--framed:hover .prod-card__img { transform: scale(1.06); }
.prod-card--framed .prod-card__body { border-top: 0; }
.prod-card--framed .prod-card__desc { margin-bottom: 12px; }
.prod-card__more { font-size: 12.5px; font-weight: 700; color: var(--red); }

/* Home: production section ----------------------------------- */

.production { background: var(--ink); color: #fff; margin-top: clamp(40px, 5.9vw, 80px); }
.production__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: stretch; }
.production__media { position: relative; min-height: min(560px, 46vh); }
.production__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.7; }
.production__body {
  padding: clamp(48px, 7.1vw, 96px) var(--pad-x) clamp(48px, 7.1vw, 96px) clamp(36px, 5.3vw, 72px);
  max-width: 780px;
}
.production__body .h2 { margin-bottom: 22px; line-height: 1.14; }
.production__lede { margin: 0 0 46px; font-size: 16px; line-height: 1.7; color: var(--dark-body); font-weight: 300; max-width: 520px; }
.production__steps { display: flex; flex-direction: column; }
.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.step__no { font-family: var(--mono); font-size: 12px; color: var(--red); padding-top: 3px; }
.step__name { font-size: 17px; font-weight: 500; margin-bottom: 6px; }
.step__desc { font-size: 14px; line-height: 1.6; color: var(--dark-body-2); font-weight: 300; }

/* Home: sectors ---------------------------------------------- */

.sectors { max-width: 1360px; margin: 0 auto; padding: clamp(55px, 8.1vw, 110px) var(--pad-x); }
.sectors__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(20px, 2.9vw, 40px);
  margin-bottom: clamp(20px, 2.9vw, 40px);
}
.strip-wrap { position: relative; }
.strip-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  box-shadow: 0 2px 16px rgba(16, 18, 20, 0.22);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}
.strip-arrow:hover { background: var(--ink); color: #fff; }
.strip-arrow--prev { left: -10px; }
.strip-arrow--next { right: -10px; }

.sector-strip {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding-bottom: 14px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.sector-strip::-webkit-scrollbar { height: 3px; }
.sector-strip::-webkit-scrollbar-track { background: var(--gray-bg); }
.sector-strip::-webkit-scrollbar-thumb { background: var(--red); }

.sector-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--ink);
  flex: 0 0 calc((100% - 60px) / 4);
}
.sector-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  transition: transform 1.1s var(--ease-card), opacity 0.5s ease;
}
.sector-card:hover .sector-card__img { transform: scale(1.08); opacity: 1; }
.sector-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16,18,20,0.96) 0%, rgba(16,18,20,0.55) 42%, rgba(16,18,20,0) 78%);
}
.sector-card__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; }
.sector-card__no { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; color: var(--red-soft); margin-bottom: 9px; }
.sector-card__name { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: -0.01em; line-height: 1.25; }
.sector-card__products { font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: #D8DCE0; margin-top: 8px; }

/* CTA band (home) -------------------------------------------- */

.cta-band { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.cta-band__inner {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(46px, 6.8vw, 92px) var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3.5vw, 48px);
  flex-wrap: wrap;
}
.cta-band__title {
  margin: 0 0 14px;
  font-size: clamp(25px, 2.9vw, 40px);
  line-height: 1.14;
  letter-spacing: -0.03em;
  font-weight: 700;
  text-wrap: pretty;
}
.cta-band__sub { margin: 0; font-size: 16px; color: var(--dark-body); font-weight: 300; }
.cta-band__btn { font-size: 13.5px; padding: 20px 38px; white-space: nowrap; }

/* Page hero (products / detail / catalog / contact) ---------- */

.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  border-bottom: 4px solid var(--red);
}
.page-hero--flat { border-bottom: 0; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.32; }
.page-hero--contact .page-hero__bg { opacity: 0.3; }
.page-hero--about .page-hero__bg { opacity: 0.35; }
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,18,20,0.5) 0%, rgba(16,18,20,0.74) 100%);
}
.page-hero__inner {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(72px, 8.5vw, 124px) var(--pad-x);
  text-align: center;
}
.page-hero--contact .page-hero__inner { padding: clamp(76px, 9vw, 132px) var(--pad-x); }
.page-hero__title {
  margin: 0 0 20px;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  font-weight: 900;
  text-wrap: balance;
}
.page-hero--contact .page-hero__title { font-size: clamp(32px, 4.4vw, 60px); line-height: 1.05; }
.page-hero__tick { width: 44px; height: 3px; background: var(--red); margin: 0 auto; }
.page-hero__tick--spaced { margin-bottom: clamp(26px, 3vw, 38px); }
.page-hero__cta { padding: 17px 34px; letter-spacing: 0.06em; }

/* About hero */
.page-hero--about .page-hero__inner { padding: clamp(76px, 9.5vw, 136px) var(--pad-x); text-align: left; }
.page-hero--about .page-hero__title {
  margin: 0;
  font-size: clamp(33px, 4.4vw, 60px);
  max-width: 860px;
  text-wrap: pretty;
}
.page-hero--about .kicker { margin-bottom: 20px; }

/* Products / detail layout ----------------------------------- */

.prod-layout {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(52px, 6.5vw, 96px) var(--pad-x) clamp(76px, 10vw, 144px);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.prod-layout--detail { padding-bottom: clamp(56px, 7vw, 100px); }

.sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar__box { border: 1px solid var(--line); background: #fff; }
.sidebar__head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.sidebar__head-bar { width: 4px; height: 18px; background: var(--red); }
.sidebar__head-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink); }
.sidebar__item {
  display: block;
  padding: 16px 22px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14.5px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  border-left: 3px solid transparent;
  color: #3A3E42;
  font-weight: 400;
}
.sidebar__item:hover { background: var(--paper); color: var(--red); }
.sidebar__item.is-active { border-left-color: var(--red); color: var(--ink); font-weight: 700; }

.sidebar__catalog {
  display: block;
  border: 1px solid var(--line);
  border-top: 0;
  background: #fff;
  padding: 22px;
  text-decoration: none;
  transition: background 0.2s ease;
}
.sidebar__catalog:hover { background: var(--paper); }
.sidebar__catalog-cover { position: relative; background: var(--ink); aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 16px; }
.sidebar__catalog-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.sidebar__catalog-caption { position: absolute; left: 0; bottom: 0; padding: 16px; color: #fff; }
.sidebar__catalog-kicker { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; color: var(--red); margin-bottom: 6px; }
.sidebar__catalog-title { font-size: 17px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.sidebar__catalog-link { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; color: var(--red); text-align: center; }

.prod-intro {
  margin: 0 0 clamp(34px, 4vw, 52px);
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-2);
  font-weight: 300;
  max-width: 760px;
  padding-bottom: clamp(30px, 3.5vw, 44px);
  border-bottom: 1px solid var(--line);
}

.filters {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-bottom: clamp(28px, 3.4vw, 42px);
  flex-wrap: wrap;
}
.filters__btn {
  background: transparent;
  border: 0;
  padding: 0 0 5px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
  color: var(--ink);
}
.filters__btn:hover { color: var(--red); }
.filters__btn.is-active { color: var(--red); border-bottom-color: var(--red); }
.filters__count { margin-left: auto; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }

.prod-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4.2vw, 58px) 28px; }

/* Detail page ------------------------------------------------ */

.breadcrumb-bar { background: #fff; border-bottom: 1px solid var(--line); }
.breadcrumb {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px var(--pad-x);
  display: flex;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.breadcrumb a { color: var(--muted); text-decoration: none; transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb__current { color: var(--ink); }

.detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.detail-summary {
  margin: 0 0 clamp(38px, 4.4vw, 58px);
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--gray-2);
  font-weight: 500;
  padding-bottom: clamp(30px, 3.5vw, 44px);
  border-bottom: 1px solid var(--line);
}
.detail-long { margin: 0 0 34px; font-size: 16px; line-height: 1.8; color: var(--gray-2); font-weight: 300; }

.spec-table { border-top: 2px solid var(--ink); margin-bottom: 40px; }
.spec-row {
  display: grid;
  grid-template-columns: minmax(110px, 190px) minmax(0, 1fr);
  gap: 6px 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}
.spec-row__k { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: 0.04em; padding-top: 2px; }
.spec-row__v { font-size: 14.5px; font-weight: 500; }

.uses-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 18px; }
.uses-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin-bottom: 44px; }
.uses-grid__item {
  border-top: 2px solid var(--ink);
  padding-top: 14px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.uses-grid__item:hover { border-top-color: var(--red); color: var(--red); }

.detail-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.detail-ctas .btn { padding: 18px 30px; }
.btn--outline { border: 1px solid #CFCFC9; color: var(--ink); background: transparent; padding: 18px 30px; }
.btn--outline:hover { border-color: var(--ink); color: var(--ink); }

.detail-figure {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 12px;
}
.detail-figure__img { width: 100%; height: 100%; background-size: cover; background-position: center; }
.detail-figure__code {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  padding: 8px 12px;
}
.detail-thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.detail-thumb {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}
.detail-thumb__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  transition: transform 0.8s var(--ease-card), opacity 0.35s ease;
}
.detail-thumb:hover .detail-thumb__img { transform: scale(1.07); opacity: 1; }

.gallery-section { background: #fff; border-top: 1px solid var(--line); }
.gallery-section__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--pad-x) clamp(76px, 10vw, 136px);
}
.gallery-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.gallery-item {
  background: #fff;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  transition: box-shadow 0.45s var(--ease-card);
}
.gallery-item:hover { box-shadow: 0 18px 38px rgba(16, 18, 20, 0.14); }
.gallery-item__img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s var(--ease-card);
}
.gallery-item:hover .gallery-item__img { transform: scale(1.06); }

/* About ------------------------------------------------------ */

.about-intro {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(64px, 8.5vw, 124px) var(--pad-x);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(48px, 6.5vw, 104px);
}
.about-intro__lead { margin: 0; font-size: 20px; line-height: 1.55; font-weight: 300; letter-spacing: -0.01em; }
.about-intro__col { display: flex; flex-direction: column; gap: 20px; }
.about-intro__col p { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--gray); font-weight: 300; }

.about-photos { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad-x) clamp(64px, 8.5vw, 124px); }
.about-photos__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.about-photos__item { aspect-ratio: 16 / 10; overflow: hidden; background: var(--gray-bg); }
.about-photos__item img { width: 100%; height: 100%; object-fit: cover; }

.milestones { background: #fff; border-top: 1px solid var(--line); }
.milestones__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(64px, 8.5vw, 124px) var(--pad-x);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
}
.milestones__title { margin: 0; font-size: clamp(23px, 2.4vw, 32px); line-height: 1.12; letter-spacing: -0.03em; font-weight: 700; }
.milestone {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 8px 22px;
  padding: 38px 0;
  border-top: 1px solid var(--line);
  transition: border-color 0.3s ease;
}
.milestone:hover { border-top-color: var(--ink); }
.milestone__year { font-family: var(--mono); font-size: 13px; color: var(--red); padding-top: 3px; }
.milestone__text { font-size: 16.5px; line-height: 1.6; font-weight: 300; color: #2A2E32; max-width: 640px; }

/* Catalog ---------------------------------------------------- */

.catalog-note {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--pad-x) clamp(40px, 5vw, 64px);
  text-align: center;
}
.catalog-note p {
  margin: 0;
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.7;
  color: var(--gray-2);
  font-weight: 500;
}
.catalog-note p + p { margin-top: 26px; }

.catalog-section { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad-x) clamp(60px, 7.5vw, 104px); }
.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(34px, 3.6vw, 52px) 30px; }

.catalog-card { display: block; text-decoration: none; color: var(--ink); transition: transform 0.4s var(--ease-card); }
.catalog-card:hover { transform: translateY(-5px); color: var(--ink); }
.catalog-card__cover {
  position: relative;
  background: var(--ink);
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: box-shadow 0.45s var(--ease-card);
}
.catalog-card:hover .catalog-card__cover { box-shadow: 0 22px 46px rgba(16, 18, 20, 0.2); }
.catalog-card__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transition: transform 0.9s var(--ease-card);
}
.catalog-card:hover .catalog-card__img { transform: scale(1.05); }
.catalog-card__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,18,20,0.35) 0%, rgba(16,18,20,0.86) 78%);
}
.catalog-card__brand { position: absolute; top: 0; left: 0; right: 0; padding: 20px; display: flex; align-items: center; gap: 9px; }
.catalog-card__brand-bar { width: 9px; height: 20px; background: var(--red); }
.catalog-card__brand-name { font-size: 13px; font-weight: 900; letter-spacing: -0.01em; color: var(--paper); }
.catalog-card__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; color: #fff; }
.catalog-card__kicker { font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.2em; color: var(--red); margin-bottom: 10px; }
.catalog-card__name { font-size: 19px; font-weight: 900; letter-spacing: -0.025em; line-height: 1.15; }
.catalog-card__meta {
  padding-top: 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.catalog-card__meta-text { font-family: var(--mono); font-size: 11px; color: var(--muted); }
.catalog-card__meta-link { font-size: 12.5px; font-weight: 700; color: var(--red); }

.catalog-cta { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad-x) clamp(76px, 9.5vw, 136px); }
.catalog-cta__box {
  background: var(--ink);
  color: #fff;
  padding: clamp(38px, 4.6vw, 60px) clamp(30px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 3vw, 48px);
  flex-wrap: wrap;
}
.catalog-cta__kicker { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--red); margin-bottom: 16px; }
.catalog-cta__title { font-size: clamp(21px, 2.3vw, 28px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 12px; }
.catalog-cta__sub { margin: 0; font-size: 15px; line-height: 1.7; color: var(--dark-body); font-weight: 300; }
.catalog-cta__btn { padding: 18px 32px; white-space: nowrap; }

/* FAQ -------------------------------------------------------- */

.faq-hero { background: #fff; border-bottom: 1px solid var(--line); }
.faq-hero__inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(64px, 8.5vw, 128px) var(--pad-x) clamp(48px, 6.2vw, 88px);
}
.faq-hero__title { margin: 0; font-size: clamp(32px, 4.1vw, 56px); line-height: 1.06; letter-spacing: -0.035em; font-weight: 900; }

.faq-layout {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(56px, 7.5vw, 104px) var(--pad-x) clamp(76px, 10vw, 144px);
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: clamp(44px, 6vw, 96px);
  align-items: start;
}
.faq-layout__aside { font-size: 15px; line-height: 1.7; color: var(--gray); font-weight: 300; }
.faq-layout__aside .underline-link { margin-top: 14px; padding-bottom: 4px; }

.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0;
  cursor: pointer;
  align-items: baseline;
  color: var(--ink);
  transition: color 0.22s ease;
}
.faq-item__btn:hover { color: var(--red); }
.faq-item__q { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.35; }
.faq-item__sign { font-family: var(--mono); font-size: 18px; color: var(--red); line-height: 1; }
.faq-item__a {
  padding: 0 0 38px;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--gray);
  font-weight: 300;
  max-width: 680px;
  animation: faqIn 0.35s ease both;
}

/* Contact ---------------------------------------------------- */

.contact-layout {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(60px, 7.5vw, 108px) var(--pad-x) clamp(48px, 6vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.contact-form__title {
  margin: 0 0 14px;
  font-size: clamp(27px, 3.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 900;
}
.contact-form__lede {
  margin: 0 0 clamp(38px, 4.4vw, 58px);
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  font-weight: 300;
  max-width: 520px;
}
.contact-form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 28px; }
.field { display: flex; flex-direction: column; gap: 11px; }
.field__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; color: var(--muted); }
.field input, .field select {
  border: 0;
  border-bottom: 1px solid #CFCFC9;
  padding: 14px 0;
  font-size: 15px;
  background: transparent;
}
.field textarea {
  border: 1px solid #CFCFC9;
  padding: 14px;
  font-size: 15px;
  background: transparent;
  resize: vertical;
}
.field--span { grid-column: span 2; }
.contact-form__foot { grid-column: span 2; display: flex; align-items: center; gap: 20px 24px; flex-wrap: wrap; }
.contact-form__submit { padding: 18px 34px; }
.contact-form__msg { font-family: var(--mono); font-size: 11.5px; line-height: 1.5; color: var(--gray); }
.contact-form__msg.is-error { color: var(--red); }

.contact-aside { display: flex; flex-direction: column; gap: 22px; }
.info-card { border: 1px solid var(--line); background: #fff; padding: clamp(26px, 2.6vw, 36px); }
.info-card__head {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-soft);
}
.info-card__body { display: flex; flex-direction: column; gap: 26px; }
.info-card__place { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; margin-bottom: 10px; }
.info-card__addr { display: flex; gap: 12px; font-size: 15px; line-height: 1.6; color: var(--gray); font-weight: 300; }
.info-card__addr-bar { width: 4px; background: var(--red); flex-shrink: 0; margin-top: 4px; margin-bottom: 4px; }
.info-card__group { display: flex; flex-direction: column; gap: 9px; }
.info-card__label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); }
.info-card__tel { font-size: 15.5px; color: var(--ink); text-decoration: none; transition: color 0.2s ease; }
.info-card__tel:hover { color: var(--red); }
.info-card__text { font-size: 15.5px; color: var(--gray); font-weight: 300; }
.info-card__mailgroup { display: flex; flex-direction: column; gap: 8px; }
.info-card__mail {
  font-size: 15.5px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 3px;
  align-self: start;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.info-card__mail:hover { color: var(--red); border-bottom-color: var(--red); }
.info-card__mails { display: flex; flex-direction: column; gap: 22px; }

.invoice-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 4px 18px;
  padding: 16px 0;
  border-top: 1px solid var(--line-soft);
}
.invoice-row:first-child { padding-top: 0; border-top: 0; }
.invoice-row:last-child { padding-bottom: 0; }
.invoice-row__k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--muted); }
.invoice-row__v { font-size: 15px; line-height: 1.6; color: var(--gray); font-weight: 300; }
.invoice-row__v--strong { color: var(--ink); font-weight: 500; }
.invoice-row__v--mono { font-family: var(--mono); }

.map-section { max-width: 1360px; margin: 0 auto; padding: 0 var(--pad-x) clamp(76px, 9.5vw, 136px); }
.map-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.map-section__head .kicker { margin-bottom: 14px; }
.map-section__title { margin: 0; font-size: clamp(24px, 2.7vw, 36px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 700; }
.map-frame {
  position: relative;
  border: 1px solid var(--line);
  background: var(--gray-bg);
  height: clamp(300px, 42vw, 480px);
  overflow: hidden;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.35) contrast(1.04); }

/* Footer ----------------------------------------------------- */

.site-footer { background: var(--ink); color: var(--muted-dark); }
.footer__grid {
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(36px, 5.3vw, 72px) var(--pad-x) 36px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(28px, 4.1vw, 56px);
}
.footer__logo { margin-bottom: 18px; }
.footer__logo .logo__img { height: 36px; }
.footer__desc { font-size: 14px; line-height: 1.7; max-width: 320px; font-weight: 300; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; font-weight: 300; }
.footer__head { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: var(--paper); margin-bottom: 6px; }
.footer__col a { color: var(--muted-dark); text-decoration: none; transition: color 0.2s ease; }
.footer__col a:hover { color: var(--paper); }
.footer__bottom {
  max-width: 1360px;
  margin: 0 auto;
  padding: 22px var(--pad-x) clamp(22px, 3.2vw, 44px);
  border-top: 1px solid #24282C;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
}

/* Responsive ------------------------------------------------- */

@media (max-width: 1249px) {
  .home-prod-grid, .prod-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .detail-body { grid-template-columns: 1fr; }
}

@media (max-width: 1099px) {
  .prod-layout, .contact-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 899px) {
  .side-section, .milestones__inner, .faq-layout { grid-template-columns: 1fr; }
  .side-section__aside { position: static; }
  .production__grid { grid-template-columns: 1fr; }
  .about-intro, .about-photos__grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-card { flex-basis: calc((100% - 20px) / 2); }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 639px) {
  .home-prod-grid, .prod-grid, .gallery-grid, .catalog-grid { grid-template-columns: 1fr; }
  .sector-card { flex-basis: 88%; }
  .spec-row, .invoice-row, .milestone { grid-template-columns: 1fr; }
  .uses-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-form__grid { grid-template-columns: 1fr; }
  .field--span, .contact-form__foot { grid-column: span 1; }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Reduced motion --------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .hero__img { animation: heroFade 34s linear infinite; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .mobile-menu, .faq-item__a { animation: none; }
  .sector-strip { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}
