:root {
  --black: #111315;
  --black-2: #171a1d;
  --black-3: #202428;
  --white: #ffffff;
  --paper: #f3f1ed;
  --paper-2: #e8e5df;
  --text: #171a1d;
  --muted: #666d73;
  --muted-dark: #a7adb2;
  --line: #d7dade;
  --line-dark: rgba(255,255,255,.13);
  --orange: #f28705;
  --orange-dark: #d86f00;
  --radius: 8px;
  --container: 1180px;
  --shadow: 0 20px 48px rgba(0,0,0,.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--black);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
[id] { scroll-margin-top: 76px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: rgba(10,12,13,.92);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { background: rgba(10,12,13,.98); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; flex-direction: column; min-width: max-content; line-height: 1; }
.brand-word { color: var(--white); font-size: 31px; font-weight: 900; font-style: italic; letter-spacing: -.08em; }
.brand-word span { color: var(--orange); }
.brand-caption { margin-top: 5px; color: #c6c9cc; font-size: 8px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #d8dadd; font-size: 14px; font-weight: 700; }
.main-nav > a { white-space: nowrap; }
.main-nav > a:hover { color: var(--white); }
.main-nav .nav-shop { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px; color: var(--white); border: 1px solid var(--orange); }
.main-nav .nav-shop svg { width: 17px; height: 17px; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 640px; display: flex; align-items: center; overflow: hidden; background: var(--black); }
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0c0e0f url("assets/rostparts.png") center center / cover no-repeat;
}
.hero-bg::after {
  display: none;
  content: "РОСТ";
  position: absolute;
  right: clamp(24px, 7vw, 110px);
  bottom: 42px;
  color: rgba(255,255,255,.025);
  font-size: clamp(110px, 18vw, 260px);
  font-weight: 900;
  font-style: italic;
  line-height: .8;
  letter-spacing: -.09em;
  white-space: nowrap;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,12,13,.96) 0%, rgba(10,12,13,.86) 35%, rgba(10,12,13,.38) 62%, rgba(10,12,13,.12) 100%),
    linear-gradient(0deg, rgba(8,10,11,.42) 0%, transparent 38%);
}
.hero-content { position: relative; z-index: 2; padding: 132px 0 78px; }
.hero-panel { width: min(590px, 100%); padding-top: 20px; border-top: 3px solid var(--orange); }
.hero-label, .section-kicker { margin: 0; color: var(--orange); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { margin: 17px 0 18px; color: var(--white); font-size: clamp(42px, 5vw, 66px); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.hero-text { max-width: 510px; margin: 0; color: #d2d5d8; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border: 1px solid transparent; border-radius: 2px; font-size: 14px; font-weight: 800; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { color: #151515; background: var(--orange); border-color: var(--orange); }
.btn-primary:hover { background: #ff9b21; border-color: #ff9b21; }
.btn-secondary { color: var(--white); background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.35); }
.btn-secondary:hover { background: rgba(255,255,255,.09); border-color: var(--white); }
.scroll-hint { position: absolute; z-index: 3; right: 36px; bottom: 28px; width: 42px; height: 42px; display: grid; place-items: center; color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.scroll-hint svg { width: 20px; height: 20px; }

.section { padding: 96px 0; }
.section-dark { color: var(--white); background: var(--black-2); border-top: 1px solid var(--line-dark); }
.section-light { color: var(--text); background: var(--paper); }
.section-muted { color: var(--text); background: var(--paper-2); border-top: 1px solid var(--line); }
.section-contact { color: var(--white); background: var(--black); }
.section h2 { max-width: 760px; margin: 14px 0 20px; font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -.035em; text-wrap: balance; }
.section p { color: var(--muted); }
.section-dark p, .section-contact p { color: var(--muted-dark); }
.lead { max-width: 680px; font-size: 20px; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: start; }
.section-copy > p:last-child { max-width: 670px; margin-bottom: 0; }
.value-list { display: grid; border-top: 1px solid var(--line-dark); }
.value-item { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 23px 0; border-bottom: 1px solid var(--line-dark); }
.value-item h3 { margin: 0 0 5px; font-size: 19px; line-height: 1.25; }
.value-item p { margin: 0; font-size: 14px; }
.icon-box { width: 50px; height: 50px; display: grid; place-items: center; color: var(--orange); border: 1px solid rgba(242,135,5,.5); background: rgba(242,135,5,.05); }
.icon-box svg { width: 24px; height: 24px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading.compact { margin-bottom: 30px; }
.text-link, .card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-size: 14px; font-weight: 800; white-space: nowrap; }
.text-link svg, .card-link svg { width: 18px; height: 18px; }
.direction-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.direction-card { min-width: 0; min-height: 260px; padding: 26px; display: flex; flex-direction: column; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.direction-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 46px; }
.direction-number { color: #92989d; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.direction-icon { width: 48px; height: 48px; display: grid; place-items: center; color: var(--orange-dark); border: 1px solid #b9bec2; background: #fafafa; }
.direction-icon svg { width: 26px; height: 26px; }
.direction-card h3 { margin: auto 0 8px; font-size: 20px; line-height: 1.2; letter-spacing: -.015em; overflow-wrap: normal; word-break: normal; hyphens: none; }
.direction-card p { margin: 0; font-size: 14px; line-height: 1.5; }
.direction-card-accent { color: var(--white); background: var(--black-3); }
.direction-card-accent .direction-icon { color: var(--orange); border-color: rgba(255,255,255,.22); background: transparent; }
.direction-card-accent p { color: var(--muted-dark); }
.direction-card-accent .card-link { margin-top: 22px; color: var(--orange); }

.brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid #cdd1d4; border-left: 1px solid #cdd1d4; }
.equipment-brand { min-width: 0; min-height: 112px; padding: 20px; display: flex; align-items: center; justify-content: center; gap: 12px; background: #f7f8f8; border-right: 1px solid #cdd1d4; border-bottom: 1px solid #cdd1d4; }
.equipment-brand span { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; color: #25292c; border: 3px solid var(--orange); font-size: 14px; font-weight: 900; }
.equipment-brand strong { min-width: 0; color: #292d30; font-size: 17px; letter-spacing: .03em; white-space: nowrap; }
.equipment-brand.green span { color: #147f55; border-color: #147f55; }

.contact-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 68px; align-items: center; }
.contact-intro p:not(.section-kicker) { max-width: 520px; }
.contact-intro .btn { margin-top: 18px; }
.contact-card { padding: 30px; color: var(--text); background: var(--paper); border: 1px solid #303438; box-shadow: var(--shadow); }
.manager { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.manager-avatar { width: 56px; height: 56px; display: grid; place-items: center; flex: 0 0 auto; color: var(--orange-dark); background: #fff; border: 1px solid var(--line); }
.manager-avatar svg { width: 27px; height: 27px; }
.manager h3 { margin: 0 0 3px; font-size: 21px; line-height: 1.25; }
.manager p { margin: 0; color: #6f757a; font-size: 14px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 22px; }
.contact-list > a, .contact-list > div { min-width: 0; min-height: 88px; display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 12px; padding: 15px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact-icon { width: 34px; height: 34px; display: grid; place-items: center; color: var(--orange-dark); border: 1px solid #d6dade; }
.contact-icon svg { width: 18px; height: 18px; }
.contact-data { min-width: 0; display: flex; flex-direction: column; }
.contact-data small { margin-bottom: 3px; color: #777e84; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-data strong { min-width: 0; font-size: 14px; line-height: 1.35; overflow-wrap: anywhere; }
.contact-bottom { display: grid; grid-template-columns: 154px 1fr; gap: 16px; margin-top: 16px; }
.qr-wrap { padding: 14px; display: grid; justify-items: center; background: #fff; border: 1px solid var(--line); }
.qr-wrap span { margin-top: 8px; color: #555c61; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.shop-panel { min-width: 0; display: grid; grid-template-columns: 44px minmax(0,1fr) 24px; align-items: center; gap: 15px; padding: 22px; color: var(--white); background: var(--black-3); border: 1px solid #3c4246; }
.shop-icon { width: 44px; height: 44px; display: grid; place-items: center; color: var(--orange); border: 1px solid rgba(242,135,5,.5); }
.shop-icon svg { width: 23px; height: 23px; }
.shop-copy { min-width: 0; display: flex; flex-direction: column; }
.shop-copy small { color: var(--orange); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.shop-copy strong { margin: 4px 0 7px; font-size: clamp(17px,2vw,23px); line-height: 1.2; overflow-wrap: anywhere; }
.shop-copy em { color: #c3c8cc; font-size: 13px; font-style: normal; }
.shop-arrow { width: 22px; height: 22px; color: var(--orange); }

.site-footer { padding: 32px 0; color: var(--white); background: #090b0c; border-top: 1px solid var(--line-dark); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; }
.footer-brand p { margin: 5px 0 0; color: #7f858a; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.footer-links { display: flex; justify-content: center; gap: 24px; color: #acb1b5; font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.copyright { margin: 0; color: #777d82; font-size: 12px; white-space: nowrap; }

@media (max-width: 1000px) {
  .main-nav { position: absolute; top: 76px; left: 24px; right: 24px; max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px; background: #111416; border: 1px solid #34393d; box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > a { min-height: 48px; display: flex; align-items: center; padding: 13px 12px; }
  .main-nav .nav-shop { margin-top: 8px; justify-content: center; }
  .menu-toggle { width: 42px; height: 42px; padding: 0; display: grid; place-content: center; gap: 5px; color: var(--white); background: transparent; border: 1px solid rgba(255,255,255,.25); }
  .menu-toggle span:not(.sr-only) { width: 20px; height: 2px; background: currentColor; }
  .hero { min-height: 620px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .direction-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { flex-wrap: wrap; }
}

@media (max-width: 660px) {
  .container { width: min(var(--container), calc(100% - 28px - env(safe-area-inset-left) - env(safe-area-inset-right))); }
  .site-header { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  .header-inner { min-height: 68px; gap: 16px; }
  .main-nav { top: 68px; left: 14px; right: 14px; }
  .brand-word { font-size: 27px; }
  .brand-caption { display: none; }
  .hero { min-height: max(580px, 100svh); }
  .hero-bg { background-position: 54% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(10,12,13,.78) 0%, rgba(10,12,13,.84) 56%, rgba(10,12,13,.96) 100%); }
  .hero-content { padding: 112px 0 48px; }
  .hero-panel { padding-top: 16px; border-top-width: 3px; }
  .hero h1 { font-size: clamp(34px, 10.4vw, 40px); overflow-wrap: anywhere; }
  .hero-text { font-size: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .scroll-hint { display: none; }
  .section { padding: 72px 0; }
  .section h2 { font-size: clamp(31px, 9vw, 36px); overflow-wrap: anywhere; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .direction-grid, .brand-grid, .contact-list, .contact-bottom { grid-template-columns: 1fr; }
  .direction-card { min-height: 0; padding: 22px; }
  .direction-top { margin-bottom: 34px; }
  .direction-card h3 { font-size: 19px; }
  .equipment-brand { min-height: 96px; }
  .contact-card { padding: 18px; }
  .manager { align-items: flex-start; }
  .contact-list > a, .contact-list > div { min-height: 82px; }
  .qr-wrap { width: 100%; }
  .qr-wrap img { width: 118px; height: 118px; }
  .shop-panel { padding: 18px; }
  .btn { width: 100%; min-height: 50px; padding-inline: 16px; }
  .text-link { min-height: 44px; }
  .footer-links { gap: 16px; }
  .copyright { white-space: normal; }
}

@media (max-width: 390px) {
  .container { width: min(var(--container), calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right))); }
  .main-nav { left: 12px; right: 12px; }
  .hero-label, .section-kicker { font-size: 11px; letter-spacing: .12em; }
  .hero h1 { font-size: 32px; }
  .section { padding: 60px 0; }
  .section h2 { font-size: 29px; }
  .lead { font-size: 18px; }
  .value-item { grid-template-columns: 44px minmax(0,1fr); gap: 14px; }
  .icon-box { width: 44px; height: 44px; }
  .contact-card { padding: 14px; }
  .manager-avatar { width: 48px; height: 48px; }
  .manager h3 { font-size: 18px; overflow-wrap: anywhere; }
  .contact-list > a, .contact-list > div { padding: 13px; }
  .shop-panel { grid-template-columns: 40px minmax(0,1fr); gap: 12px; padding: 15px; }
  .shop-icon { width: 40px; height: 40px; }
  .shop-arrow { display: none; }
  .footer-links { flex-direction: column; align-items: center; }
  .footer-links a { min-height: 44px; display: flex; align-items: center; }
}

@media (max-width: 700px) and (orientation: landscape) {
  .hero { min-height: 520px; }
  .hero-content { padding-top: 96px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
