:root {
  color-scheme: dark;
  font-family: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #f7f5f2;
  background: #0e0e0d;
  --surface: #181816;
  --panel: #1c1b18;
  --border: #3b3731;
  --muted: #c4bdb4;
  --accent: #ff692f;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 18px; }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, video:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 4px;
}
img { display: block; max-width: 100%; }
.shell { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.skip { position: absolute; top: 10px; left: 10px; z-index: 5; padding: 10px; background: var(--surface); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.header { position: relative; z-index: 2; }
.header-inner {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  min-height: 86px; gap: 26px; border-bottom: 1px solid var(--border);
}
.wordmark { display: flex; align-items: center; gap: 11px; letter-spacing: .14em; white-space: nowrap; font-weight: 750; }
.wordmark img { width: 40px; height: 39px; object-fit: contain; }
.wordmark b { font-weight: 750; color: var(--accent); }
.navigation { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px clamp(16px, 3vw, 42px); }
.navigation a, .languages a { font-size: .9rem; color: var(--muted); }
.navigation a:hover, .footer a:hover { color: #fff; }
.languages { display: flex; align-items: center; gap: 2px; }
.languages a { padding: 8px; min-height: 40px; display: grid; place-items: center; white-space: nowrap; }
.languages a[aria-current], .languages a:hover { color: var(--accent); }
.languages a[aria-current] { box-shadow: inset 0 -2px var(--accent); }

.hero {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  min-height: clamp(530px, 59vw, 720px);
  margin-top: -86px; padding-top: 86px;
  background: #211912;
}
.hero-image, .hero::after { width: 100%; height: 100%; position: absolute; inset: 0; }
.hero-image { z-index: -2; object-fit: cover; object-position: 58% 49%; }
.hero::after {
  content: ""; z-index: -1;
  background: linear-gradient(90deg, #100e0cfa 0%, #100e0ce8 25%, #100e0c83 49%, #100e0c1a 85%),
              linear-gradient(0deg, #0e0e0d 0%, transparent 35%, transparent 68%, #0e0e0dd9);
}
.hero-content { width: min(1200px, calc(100% - 64px)); margin-inline: auto; padding: 54px 0 55px; }
.accent-bar { width: 38px; height: 2px; margin-bottom: 24px; background: var(--accent); transform-origin: left; }
.hero h1 { max-width: 790px; margin: 0; font-size: clamp(3.2rem, 6.1vw, 6.1rem); line-height: .99; letter-spacing: -.057em; text-wrap: balance; }
.hero p { margin: 21px 0 30px; max-width: 540px; color: #f2e9e0; font-size: clamp(1.02rem, 1.6vw, 1.24rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 12px 19px; border: 1px solid var(--accent); background: var(--accent);
  color: #160e0a; font-size: .95rem; font-weight: 750; transition: background .2s, transform .2s;
}
.button:hover { background: #ff8e61; transform: translateY(-2px); }
.button.secondary { border-color: #ffffff52; background: #14110d99; color: #fff; }
.button.secondary:hover { background: #28231f; }
.button:target { outline: 2px solid #f8f5ef; outline-offset: 4px; }
.tiny-play { width: 9px; height: 11px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.hub .hero { min-height: clamp(490px, 49vw, 650px); }
.hub-links { display: grid; grid-template-columns: repeat(3,1fr); border-block: 1px solid var(--border); }
.hub-links a { text-align: center; min-height: 55px; display: grid; place-items: center; padding: 9px 4px; font-weight: 650; }
.hub-links a + a { border-left: 1px solid var(--border); }
.hub-links a:hover { color: var(--accent); background: var(--surface); }

.section { margin-block-start: clamp(55px, 8vw, 108px); }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  margin-bottom: 21px; padding-bottom: 15px; border-bottom: 1px solid var(--border);
}
.section h2 { margin: 0; line-height: 1.04; font-size: clamp(1.8rem, 3.8vw, 3.5rem); letter-spacing: -.035em; }
.section h3 { margin: 0 0 8px; font-size: clamp(1.08rem, 2.1vw, 1.45rem); line-height: 1.18; text-wrap: balance; }
.section p { color: var(--muted); line-height: 1.55; margin-block: 0 10px; }
.section-head > span { white-space: nowrap; color: var(--muted); font-size: .9rem; }
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 13px; }
.product { grid-column: span 2; background: var(--surface); border: 1px solid var(--border); }
.product:nth-child(-n+2) { grid-column: span 3; }
.product img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.product > div { padding: clamp(16px, 3vw, 26px); }
.product p, .spec-grid p { margin-bottom: 0; }
.chips, .services, .team { list-style: none; padding: 0; margin: 0; }
.chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.chips li { display: flex; align-items: center; gap: 9px; padding: 13px; border: 1px solid var(--border); background: var(--surface); }
.chips li::before { content: ""; width: 5px; height: 5px; background: var(--accent); flex: 0 0 5px; }
.spec-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; margin-top: 12px; }
.spec-grid article { background: var(--surface); border-left: 2px solid var(--accent); padding: 16px 20px; }
details { margin-top: 16px; border-block: 1px solid var(--border); }
summary { padding: 14px 0; min-height: 48px; list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 15px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.45rem; color: var(--accent); }
details[open] summary::after { content: "−"; }
.services { display: grid; grid-template-columns: repeat(auto-fit,minmax(185px,1fr)); gap: 8px; }
.services li { padding: 17px; border-top: 2px solid var(--accent); background: var(--surface); line-height: 1.45; }
.about > p { max-width: 700px; font-size: 1.1rem; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 22px 0 0; }
.stats > div { display: flex; flex-direction: column-reverse; gap: 7px; padding: 13px; border: 1px solid var(--border); background: var(--surface); }
.stats dt, .team span { color: var(--muted); font-size: .9rem; }
.stats dd { margin: 0; color: var(--accent); font-size: clamp(1.8rem,4vw,3.2rem); font-weight: 750; }
.team { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; padding-bottom: 12px; }
.team li { display: grid; gap: 4px; padding: 11px; background: var(--surface); }
.contacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.person { display: grid; align-content: space-between; gap: 9px; padding: 17px; background: var(--surface); border: 1px solid var(--border); overflow-wrap: anywhere; }
.person:hover { border-color: var(--accent); }
.person small { color: var(--muted); font-size: .875rem; display: block; margin-top: 4px; }
.person strong { color: var(--accent); }
.footer { margin-top: 52px; padding-block: 20px 25px; border-top: 1px solid var(--border); color: var(--muted); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; font-size: .88rem; }
.footer div { display: flex; flex-wrap: wrap; gap: 13px; }
.footer a { text-decoration: underline; text-underline-offset: 4px; }

.video-card { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; min-height: 180px; aspect-ratio: 3 / 1; border: 1px solid var(--border); }
.video-card:hover { border-color: var(--accent); }
.video-card img, .video-card::after { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-card img { object-fit: cover; z-index: -2; transition: transform .58s ease; }
.video-card:hover img { transform: scale(1.065); }
.video-card::after { content: ""; background: linear-gradient(0deg, #10100ee6, #17151138 72%); z-index: -1; }
.video-card strong { position: absolute; bottom: 14px; left: 16px; }
.play { display: grid; place-items: center; border-radius: 50%; width: 57px; height: 57px; background: var(--accent); transition: transform .25s; }
.play::after { content: ""; background: #150f0b; width: 15px; height: 19px; margin-left: 4px; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.video-card:hover .play { transform: scale(1.12); }
.player { width: min(430px, calc(100% - 28px)); max-height: calc(100% - 28px); padding: 14px; border: 1px solid var(--border); background: var(--surface); color: inherit; }
.player::backdrop { background: #0b0908db; }
.player-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.player-header button { width: 42px; height: 42px; background: var(--panel); color: inherit; border: 1px solid var(--border); font-size: 1.4rem; cursor: pointer; }
.player video { display: block; width: 100%; height: min(71svh, 650px); background: #080807; }

@media (max-width: 810px) {
  .header-inner { grid-template-columns: 1fr auto; padding: 10px 0; min-height: 86px; column-gap: 5px; row-gap: 2px; }
  .navigation { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; gap: 8px 15px; }
  .languages { grid-row: 1; grid-column: 2; }
  .hero h1 { max-width: 640px; }
  .contacts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 590px) {
  .shell, .hero-content { width: calc(100% - 32px); }
  .wordmark { gap: 7px; letter-spacing: .08em; }
  .wordmark img { width: 34px; height: 34px; }
  .hero, .hub .hero { min-height: clamp(457px, 119vw, 562px); align-items: end; }
  .hero-image { object-position: 57% 50%; }
  .hero::after { background: linear-gradient(0deg, #0e0e0d 1%, #0e0e0de6 25%, #0e0e0d33 62%, #0e0e0def 100%); }
  .hero-content { padding: 34px 0 26px; }
  .hero h1 { font-size: clamp(2.4rem, 10vw, 3.7rem); }
  .hero p { margin: 12px 0 17px; line-height: 1.45; }
  .accent-bar { margin-bottom: 13px; }
  .hero-actions { gap: 8px; }
  .button { padding-inline: 12px; }
  .hub-links a { font-size: .87rem; }
  .section { margin-block-start: 45px; }
  .product-grid { grid-template-columns: 1fr; }
  .product, .product:nth-child(-n+2) { grid-column: auto; }
  .chips, .team { grid-template-columns: repeat(2, 1fr); }
  .spec-grid, .contacts { grid-template-columns: 1fr; }
  .video-card { aspect-ratio: 1.75; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-image { animation: image-settle 1.1s cubic-bezier(.2,.69,.27,1) both; }
  .accent-bar { animation: bar-enter .56s .12s ease both; }
  .hero h1, .hero p, .hero-actions { animation: lift .63s ease both; }
  .hero h1 { animation-delay: .11s; }
  .hero p { animation-delay: .18s; }
  .hero-actions { animation-delay: .25s; }
  .in-view { animation: lift .56s ease both; }
  .player[open] { animation: lift .24s ease both; }
  @keyframes image-settle { from { transform: scale(1.065); } to { transform: scale(1); } }
  @keyframes bar-enter { from { transform: scaleX(0); } to { transform: scaleX(1); } }
  @keyframes lift { from { opacity: .42; translate: 0 13px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.quality-grid, .steps { display: grid; gap: 12px; }
.quality-grid { grid-template-columns: repeat(3, 1fr); }
.quality-grid article { background: var(--surface); padding: clamp(15px, 3vw, 27px); border-top: 2px solid var(--accent); }
.quality-grid p { margin-bottom: 0; }
.steps { grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; counter-reset: stages; }
.steps li { background: var(--surface); padding: 15px; min-height: 86px; border: 1px solid var(--border); counter-increment: stages; }
.steps li::before { content: counter(stages); display: block; color: var(--accent); line-height: 1; font-weight: 750; margin-bottom: 10px; }
@media (max-width: 740px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 590px) { .quality-grid { grid-template-columns: 1fr; } }
