/* ==========================================================================
   Damu Group — Jana Dala (Промышленное производство). Standalone page styles.
   Exact reproduction of the approved spec. No shared tokens with the homepage.
   ========================================================================== */

:root {
  --ink: #14212B;
  --deep: #0B1522;
  --accent: #1657C0;
  --accent-dark: #1247A0;
  --accent-soft: #E7EFFC;
  --accent-light: #6FA8F5;
  --muted: #6B7780;
  --body: #43505A;
  --line: #E6E8EA;
  --surface: #FFFFFF;
  --surface-alt: #F2F4F5;
  --footer-bg: #0F1D28;
  --gutter: 48px;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

body {
  font-family: var(--sans);
  font-size: 15px; font-weight: 400; line-height: 1.7;
  color: var(--ink); background: var(--surface);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.eyebrow { font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---- Logo (M mark, shared with homepage) ---- */
.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo:hover { color: inherit; }
.logo__word { font-size: 17px; font-weight: 700; letter-spacing: 0.06em; color: #fff; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px;
  font-size: 15px; font-weight: 500; white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--ghost { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ==========================================================================
   HERO + HEADER
   ========================================================================== */
.hero {
  position: relative; height: 470px; background: var(--deep); overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__grad {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(9,17,28,.95) 0%, rgba(9,17,28,.82) 34%, rgba(9,17,28,.35) 62%, rgba(9,17,28,.12) 100%);
}

.header {
  position: relative; z-index: 3;
  height: 74px; display: flex; align-items: center; padding: 0 44px; gap: 26px;
}
.nav { margin-left: 16px; display: flex; align-items: center; gap: 15px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.82);
  transition: color .2s ease;
}
.nav__link:hover { color: #fff; }
.nav__link--active {
  font-weight: 600; color: #fff; padding-bottom: 5px; border-bottom: 2px solid #fff;
}
.chevron { width: 10px; height: 10px; opacity: .8; }

.nav__item { position: relative; }
.nav__menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 210px;
  background: var(--deep); padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav__item:hover .nav__menu, .nav__item.is-open .nav__menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__menu a { display: block; padding: 10px 20px; font-size: 14px; font-weight: 500; color: #fff; }
.nav__menu a:hover { background: rgba(255,255,255,.08); color: #fff; }

.header__right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.85); }
.lang:hover { color: #fff; }
.burger { display: none; }

.hero__content { position: relative; z-index: 2; padding: 48px var(--gutter) 0; max-width: 780px; }
.hero__eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent-light); }
.hero__title {
  margin-top: 18px; font-size: 52px; font-weight: 600; line-height: 1.14; letter-spacing: -0.015em;
  color: #fff; text-wrap: pretty;
}
.hero__slogan { margin-top: 22px; font-size: 16px; font-weight: 500; color: rgba(255,255,255,.88); }
.hero__buttons { margin-top: 30px; display: flex; gap: 16px; }

/* ==========================================================================
   SECTIONS (shared rhythm)
   ========================================================================== */
.section { padding: 64px var(--gutter); }
.section--alt { background: var(--surface-alt); }
.section--white { background: var(--surface); }
.s-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; color: var(--accent); }
.s-h2 { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-wrap: pretty; }

/* ---- Intro ---- */
.intro { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.intro__eyebrow { font-size: 12px; }
.intro__title { margin-top: 16px; font-size: 32px; font-weight: 600; line-height: 1.24; letter-spacing: -0.01em; text-wrap: pretty; }
.intro__text { margin-top: 22px; max-width: 380px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.intro__media { height: 300px; background: #E8EAEC; }
.intro__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Capabilities ---- */
.caps { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap {
  background: #fff; border: 1px solid var(--line); padding: 24px; min-height: 150px;
  display: flex; flex-direction: column;
}
.cap__row { display: flex; align-items: flex-start; gap: 16px; }
.cap__icon { flex: 0 0 auto; width: 36px; height: 36px; }
.cap__title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.cap__text { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ---- LSTK ---- */
.lstk { margin-top: 26px; display: grid; grid-template-columns: repeat(3, 1fr) 1.55fr; gap: 20px; align-items: stretch; }
.profile { background: #fff; border: 1px solid var(--line); padding: 22px; display: flex; flex-direction: column; }
.profile__title { font-size: 17px; font-weight: 600; line-height: 1.3; }
.profile__text { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.profile__media { margin-top: auto; padding-top: 20px; height: 128px; }
.profile__media img { width: 100%; height: 100%; object-fit: contain; }
.lstk__photo { min-height: 300px; }
.lstk__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Cable trays ---- */
.trays { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: center; }
.trays__lead { margin-top: 18px; max-width: 460px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.trays__list { margin-top: 22px; display: grid; gap: 13px; }
.trays__list li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.6; color: var(--ink); }
.trays__list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 13px; height: 2px; background: var(--accent);
}
.trays__figure { border: 1px solid var(--line); overflow: hidden; line-height: 0; }
.trays__figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---- Production cycle ---- */
.cycle { margin-top: 26px; background: #fff; border: 1px solid var(--line); padding: 26px 22px; }
.cycle__grid { display: grid; grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr; align-items: center; }
.step { display: flex; align-items: flex-start; gap: 16px; padding: 0 6px; }
.step__icon { flex: 0 0 auto; width: 40px; height: 40px; }
.step__title { font-size: 16px; font-weight: 600; }
.step__text { margin-top: 10px; font-size: 12.5px; line-height: 1.6; color: var(--muted); }
.cycle__arrow { display: flex; align-items: center; justify-content: center; }

/* ---- Hangars ---- */
.hangars__head { display: flex; align-items: center; gap: 16px; }
.badge { padding: 5px 12px; background: var(--accent-soft); color: var(--accent); font-size: 12px; font-weight: 600; }
.hangars__grid { margin-top: 22px; display: grid; grid-template-columns: 4fr 8fr; gap: 48px; align-items: center; }
.hangars__text { font-size: 15px; line-height: 1.7; color: var(--body); }
.hangars__list { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.hangars__item { display: flex; align-items: center; gap: 14px; }
.num {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.hangars__label { font-size: 14px; color: var(--ink); }
.hangars__media { position: relative; height: 330px; }
.hangars__media img { width: 100%; height: 100%; object-fit: cover; }
.callout {
  position: absolute; width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}

/* ---- Solutions ---- */
.solutions { padding-bottom: 72px; }
.sol-grid { margin-top: 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sol {
  position: relative; display: block; height: 190px; overflow: hidden;
  transition: opacity .2s ease;
}
.sol:hover { opacity: .94; color: #fff; }
.sol__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sol__grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,28,0) 40%, rgba(10,18,28,.82) 100%); }
.sol__cap {
  position: absolute; left: 18px; right: 18px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
}
.sol__text { font-size: 14px; font-weight: 600; line-height: 1.35; color: #fff; }
.sol__arrow { font-size: 17px; color: #fff; }

/* ---- CTA ---- */
.cta { position: relative; height: 210px; background: var(--deep); overflow: hidden; }
.cta__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta__grad { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #0B1522 0%, rgba(11,21,34,.9) 42%, rgba(11,21,34,.55) 78%, rgba(11,21,34,.4) 100%); }
.cta__content { position: relative; z-index: 2; height: 100%; padding: 0 var(--gutter); display: flex; flex-direction: column; justify-content: center; }
.cta__title { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; color: #fff; }
.cta__text { margin-top: 14px; max-width: 340px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.85); }
.cta__buttons { margin-top: 24px; display: flex; gap: 16px; }
.cta .btn { height: 46px; }

/* ==========================================================================
   PLACEHOLDERS (unshot photos) — removable by swapping in one <img>
   ========================================================================== */
.ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 11px;
}
.ph--light {
  background: repeating-linear-gradient(135deg, #E4E6E8 0 10px, #EDEFF1 10px 20px);
  color: #8B9298;
}
.ph--dark {
  background: repeating-linear-gradient(135deg, #2E3640 0 12px, #39424D 12px 24px);
  color: rgba(255,255,255,.55);
}
.ph--contain { font-size: 10px; }

/* ==========================================================================
   FOOTER (identical to homepage)
   ========================================================================== */
.footer { background: var(--footer-bg); padding: 64px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: 40px; padding: 0 var(--gutter); }
.footer__desc { margin-top: 18px; max-width: 290px; font-size: 14px; line-height: 1.6; color: rgba(255,255,255,.6); }
.footer__col-title { font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.footer__list { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.footer__list a, .footer__list span { font-size: 14px; color: rgba(255,255,255,.75); }
.footer__list a:hover { color: #fff; }
.footer__bottom { margin-top: 48px; padding: 24px var(--gutter) 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }

/* ==========================================================================
   MOBILE MENU
   ========================================================================== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 50; background: var(--deep);
  padding: 88px var(--gutter) 40px; display: none; flex-direction: column; gap: 20px; overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a, .mobile-menu span { font-size: 18px; font-weight: 500; color: #fff; }
.mobile-menu__close { position: absolute; top: 22px; right: var(--gutter); width: 44px; height: 44px; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.mobile-menu__sub { display: flex; flex-direction: column; gap: 14px; padding-left: 16px; }
.mobile-menu__sub a { font-size: 16px; color: rgba(255,255,255,.75); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1200px) {
  :root { --gutter: 32px; }
  .caps, .sol-grid { grid-template-columns: repeat(2, 1fr); }
  .lstk { grid-template-columns: repeat(2, 1fr); }
  .lstk__photo { grid-column: 1 / -1; min-height: 240px; }
  .cycle__grid { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .cycle__arrow { display: none; }
}
@media (max-width: 900px) {
  /* 7 long RU nav labels can't fit below ~900px → burger */
  .nav, .header__right .lang { display: none; }
  .burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: auto; color: #fff; flex-direction: column; gap: 5px;
  }
  .burger span { display: block; width: 22px; height: 2px; background: #fff; }
  .header { gap: 0; }
  .hero { height: auto; padding-bottom: 48px; }
  .hero__title { font-size: 40px; }
  .intro { grid-template-columns: 1fr; gap: 28px; }
  .intro__media { height: 240px; }
  .trays { grid-template-columns: 1fr; gap: 28px; }
  .hangars__grid { grid-template-columns: 1fr; gap: 28px; }
  .hangars__media { height: 280px; }
  .cta { height: auto; padding: 48px 0; }
  .cta__content { padding: 0 var(--gutter); }
}
@media (max-width: 600px) {
  .nav, .header__right .lang { display: none; }
  .burger {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; margin-left: auto; color: #fff; flex-direction: column; gap: 5px;
  }
  .burger span { display: block; width: 22px; height: 2px; background: #fff; }
  .header { gap: 0; }
  .hero__title { font-size: 30px; }
  .hero__buttons .btn, .cta__buttons .btn { width: 100%; }
  .hero__buttons, .cta__buttons { flex-direction: column; }
  .caps, .lstk, .sol-grid, .footer__grid { grid-template-columns: 1fr; }
  .cycle__grid { grid-template-columns: 1fr; row-gap: 22px; }
  .cycle__arrow { display: none; }
  .section { padding: 48px 20px; }
  .solutions { padding-bottom: 56px; }
}

@media (prefers-reduced-motion: reduce) { * { transition-duration: .001ms !important; } }

/* ---- Language switcher (inline row RU / KZ / EN / CN) ---- */
.lang--row { display: inline-flex; align-items: center; gap: 8px; }
.lang__opt { font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.55); transition: color .2s ease; }
.lang__opt:hover { color: #fff; }
.lang__opt.is-active { color: #fff; font-weight: 600; }
.lang__sep { font-size: 12.5px; color: rgba(255,255,255,.3); }
.mobile-menu__lang { display: flex; flex-wrap: wrap; gap: 18px; padding-top: 8px; }
.mobile-menu__lang a { font-size: 16px; color: rgba(255,255,255,.7); }
.mobile-menu__lang a.is-active { color: #fff; font-weight: 600; }
