:root {
  --bg: #080808;
  --bg-2: #101010;
  --panel: #141414;
  --ink: #ffffff;
  --muted: #c5c5c5;
  --yellow: #ffcc00;
  --yellow-2: #ffe066;
  --line: rgba(255, 204, 0, 0.28);
  --font-display: "Oswald", sans-serif;
  --font-body: "Onest", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.1rem, 4vw, 3.25rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: auto; }
html.is-ready { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100dvh;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.noise {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sparks {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
}

main, .header, .footer, .mobile-nav, .marquee { position: relative; z-index: 1; }

/* Header */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem var(--pad);
  transition: background .35s var(--ease), border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(8,8,8,.85);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}
.header__brand { display: flex; align-items: center; gap: .7rem; }
.header__logo { width: 40px; height: 40px; filter: drop-shadow(0 0 12px rgba(255,204,0,.25)); }
.header__brand strong {
  display: block; font-family: var(--font-display); font-size: 1.35rem;
  letter-spacing: .08em; color: var(--yellow); line-height: 1;
}
.header__brand small {
  display: block; margin-top: .2rem; font-size: .62rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--muted);
  max-width: min(18rem, 52vw); line-height: 1.25;
}
.header__nav { display: none; align-items: center; gap: 1.6rem; font-weight: 700; }
.header__nav a:not(.header__cta) { position: relative; color: #eee; }
.header__nav a:not(.header__cta)::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 0; height: 2px;
  background: var(--yellow); transition: width .3s var(--ease);
}
.header__nav a:not(.header__cta):hover::after,
.header__nav a:not(.header__cta).is-active::after { width: 100%; }
.header__nav a:not(.header__cta).is-active { color: var(--yellow); }

.mobile-nav a.is-active {
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 0.2em;
}
.header__cta {
  background: var(--yellow); color: #111 !important; padding: .55rem 1.05rem;
  font-weight: 800; clip-path: polygon(8px 0,100% 0,calc(100% - 8px) 100%,0 100%);
  transition: transform .25s var(--ease), background .25s;
}
.header__cta:hover { background: var(--yellow-2); transform: translateY(-2px); }

.burger {
  width: 44px; height: 44px; border: 1px solid var(--line); background: transparent;
  display: grid; place-content: center; gap: 6px; cursor: pointer;
}
.burger span { width: 20px; height: 2px; background: var(--yellow); transition: .3s var(--ease); }
.burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 40; background: rgba(5,5,5,.97);
  display: grid; place-content: center; gap: 1.4rem; text-align: center;
}
.mobile-nav a {
  font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 3.6rem);
  letter-spacing: .05em; color: var(--yellow);
}
.mobile-nav[hidden] { display: none; }

@media (min-width: 860px) {
  .header__nav { display: flex; }
  .burger { display: none; }
}

/* Hero */
.hero {
  min-height: 100dvh;
  display: grid; place-items: center;
  padding: calc(5.8rem + env(safe-area-inset-top)) var(--pad) 5rem;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(255,204,0,.22), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 80%, rgba(255,204,0,.07), transparent 50%),
    linear-gradient(180deg, #12100a 0%, #080808 60%, #050505 100%);
}
.hero__beams {
  position: absolute; inset: -20%;
  background:
    conic-gradient(from 210deg at 50% 40%, transparent 0deg, rgba(255,204,0,.08) 40deg, transparent 80deg, transparent 180deg, rgba(255,204,0,.05) 220deg, transparent 280deg);
  animation: spin-slow 28s linear infinite;
  opacity: .7;
}
.hero__ring {
  position: absolute; width: min(78vw, 620px); height: min(78vw, 620px);
  border: 1px solid rgba(255,204,0,.18); border-radius: 50%;
  top: 12%; left: 50%; transform: translateX(-50%);
  animation: pulse-ring 4.5s ease-in-out infinite;
}
.hero__ring::before {
  content: ""; position: absolute; inset: 12%;
  border: 1px dashed rgba(255,204,0,.22); border-radius: 50%;
  animation: spin-slow 40s linear infinite reverse;
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes pulse-ring {
  0%,100% { opacity: .55; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

.hero__stage {
  width: min(760px, 100%);
  text-align: center;
  display: grid; justify-items: center; gap: 1rem;
}
.hero__badge {
  width: min(340px, 78vw);
  filter: drop-shadow(0 20px 50px rgba(0,0,0,.55)) drop-shadow(0 0 40px rgba(255,204,0,.2));
  animation: floaty 5.5s ease-in-out infinite;
}
.hero__logo { width: 100%; height: auto; }
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__kicker {
  margin-top: .4rem;
  color: var(--yellow);
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .78rem;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 10vw, 5.4rem);
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
  background: linear-gradient(90deg, var(--yellow), #fff3b0 45%, var(--yellow));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero__title span {
  color: inherit;
  -webkit-text-fill-color: inherit;
}
.hero__lead {
  max-width: 32rem;
  color: #d8d8d8;
  font-size: clamp(1.02rem, 2.5vw, 1.18rem);
  font-weight: 500;
}
.hero__actions {
  display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: .4rem;
}
.hero__scroll {
  position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 20px;
  display: grid; justify-items: center; padding-top: 8px;
}
.hero__scroll span {
  width: 4px; height: 8px; border-radius: 4px; background: var(--yellow);
  animation: scroll-dot 1.5s ease-in-out infinite;
}
@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .8rem 1.4rem; font-weight: 800; font-size: .98rem;
  border: none; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .25s var(--ease);
}
.btn span { position: relative; z-index: 1; }
.btn--yellow {
  background: var(--yellow); color: #111;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  box-shadow: 0 10px 30px rgba(255,204,0,.25);
}
.btn--yellow::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45), transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn--yellow:hover::before { transform: translateX(120%); }
.btn--yellow:hover { transform: translateY(-3px) scale(1.02); background: var(--yellow-2); }
.btn--ghost {
  color: var(--yellow); background: transparent; border: 1px solid var(--line);
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.btn--ghost:hover {
  background: rgba(255,204,0,.1); border-color: var(--yellow); transform: translateY(-3px);
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--line);
  background: #0c0c0c;
  overflow: hidden;
  padding: .85rem 0;
}
.marquee__track {
  display: flex; gap: 1.2rem; width: max-content;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  letter-spacing: .18em;
  color: var(--yellow);
  animation: marquee 22s linear infinite;
  white-space: nowrap;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections */
.section-head { text-align: center; max-width: 38rem; margin: 0 auto 2.8rem; }
.eyebrow {
  color: var(--yellow); font-size: .78rem; font-weight: 800;
  letter-spacing: .24em; text-transform: uppercase; margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 7.5vw, 4.2rem);
  line-height: 1.1; letter-spacing: .03em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-sub { color: var(--muted); font-size: 1.05rem; font-weight: 500; }

.fleet {
  padding: clamp(3.8rem, 9vw, 6.5rem) var(--pad);
  background: linear-gradient(180deg, #080808, #0d0d0d 40%, #080808);
}
.fleet__grid {
  display: grid; gap: 1.25rem; max-width: 1100px; margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  /* 2 cols → ~5 rows, large photos */
  .fleet__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  /* 3 cols → 4 rows for 10 units */
  .fleet__grid { grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
}
.fleet__grid .machine { grid-column: auto; }

/* Non-metallic materials */
.materials {
  padding: clamp(3.5rem, 9vw, 6rem) var(--pad);
  border-block: 1px solid var(--line);
  background:
    radial-gradient(ellipse 55% 50% at 50% 0%, rgba(255,204,0,.1), transparent 60%),
    #0a0a0a;
}
.materials__grid {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}
@media (min-width: 640px) {
  .materials__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
.material {
  appearance: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  background:
    linear-gradient(160deg, rgba(255,204,0,.1), transparent 45%),
    var(--panel);
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem 1.35rem;
  display: grid;
  gap: .45rem;
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s;
}
.material:hover,
.material.is-on {
  border-color: rgba(255,204,0,.7);
  transform: translateY(-4px);
  background:
    linear-gradient(160deg, rgba(255,204,0,.18), transparent 50%),
    #121212;
}
.material__label {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--yellow);
}
.material__hint {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 600;
}

.machine {
  position: relative; overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255,204,0,.12), transparent 40%),
    var(--panel);
  border: 1px solid var(--line);
  padding: 1.15rem 1.2rem 1.35rem;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s;
}
.machine--pick { cursor: pointer; }
.machine:hover,
.machine.is-on {
  transform: translateY(-8px);
  border-color: rgba(255,204,0,.65);
  box-shadow: 0 24px 50px rgba(0,0,0,.45), 0 0 0 1px rgba(255,204,0,.15);
}
.machine__top {
  display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .4rem;
}
.pill {
  font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: var(--yellow); color: #111; padding: .28rem .55rem;
}
.pill--ghost { background: transparent; color: var(--yellow); border: 1px solid var(--yellow); }
.status { font-size: .72rem; font-weight: 700; color: #9dffb0; }
.status--soon { color: var(--yellow-2); }
.machine__art {
  aspect-ratio: 3 / 2;
  min-height: 0;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
  transition: transform .2s ease-out;
  margin: 0 -1.2rem .85rem;
  overflow: hidden;
  padding: .7rem .75rem;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(255,204,0,.08), transparent 55%),
    #0a0a0a;
}
.machine__art img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.machine__art svg { width: min(100%, 320px); height: auto; }

/* Calendar icons — no frame, no background */
.cal-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 20px;
  color: var(--yellow);
  background: none;
  border: none;
  padding: 0;
  line-height: 0;
}
.cal-ico .ico-svg {
  width: 36px;
  height: 20px;
  display: block;
}
.machine h3 {
  font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.85rem); letter-spacing: .04em;
  text-transform: uppercase; margin: .2rem 0 .45rem; line-height: 1.15;
}
.machine p { color: #d0d0d0; font-size: .95rem; font-weight: 500; }
.machine--soon { border-style: dashed; }
.machine--repair { border-color: rgba(192,57,43,.55); }
.machine--busy .status { color: #ffb347; }
.machine--repair .status { color: #ff8a80; }
.status--busy { color: #ffb347; }
.status--repair { color: #ff8a80; }
.machine__soon {
  position: absolute; top: 1rem; right: -2.1rem;
  background: var(--yellow); color: #111; font-weight: 900; font-size: .72rem;
  letter-spacing: .14em; text-transform: uppercase; padding: .35rem 2.5rem;
  transform: rotate(35deg); z-index: 2;
}

.machine__ico {
  display: grid; place-items: center; color: var(--yellow); width: 100%; height: 100%;
}
.machine__ico .ico-svg { width: min(70%, 200px); height: auto; }

/* About */
.about {
  position: relative; overflow: hidden;
  padding: clamp(4rem, 10vw, 7rem) var(--pad);
  border-block: 1px solid var(--line);
  background: #0b0b0b;
}
.about__glow {
  position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,204,0,.18), transparent 65%);
  right: -80px; top: 10%; filter: blur(10px); pointer-events: none;
}
.about__inner {
  max-width: 1180px; margin: 0 auto;
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 900px) {
  .about__inner { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; }
}
.about__text { color: #d6d6d6; max-width: 34rem; margin-bottom: 1.8rem; font-size: 1.05rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.stat { border-left: 3px solid var(--yellow); padding-left: .85rem; }
.stat b {
  display: block; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3rem);
  color: var(--yellow); line-height: 1; letter-spacing: .03em;
}
.stat span { display: block; margin-top: .3rem; color: var(--muted); font-size: .85rem; font-weight: 600; }
.about__logo {
  justify-self: center; width: min(100%, 380px); padding: 1.2rem;
  background: radial-gradient(circle at 50% 35%, rgba(255,204,0,.16), transparent 60%), #070707;
  border: 1px solid var(--line);
}
.about__logo img { width: 100%; filter: drop-shadow(0 16px 30px rgba(0,0,0,.5)); }

/* Contact */
.contact {
  padding: clamp(4rem, 11vw, 7.5rem) var(--pad);
  background:
    radial-gradient(ellipse 70% 55% at 50% 100%, rgba(255,204,0,.16), transparent 60%),
    var(--bg);
}
.contact__panel {
  max-width: 42rem; margin: 0 auto; text-align: center;
  padding: clamp(1.8rem, 5vw, 3rem);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,204,0,.08), transparent 55%), #101010;
}
.contact__phone {
  display: inline-block;
  margin: .35rem 0 1.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--yellow);
  line-height: 1.2;
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.contact__phone:hover {
  color: var(--yellow-2);
  transform: translateY(-2px);
}
.contact__lead {
  color: var(--muted);
  max-width: 34ch;
  margin: 0 auto .85rem;
  font-size: 1rem;
}
.contact__actions {
  display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 1.6rem;
}

.request-form {
  display: grid;
  gap: .85rem;
  text-align: left;
  margin: 0 auto 1.75rem;
  max-width: 34rem;
}
.request-form__row {
  display: grid;
  gap: .85rem;
}
@media (min-width: 560px) {
  .request-form__row { grid-template-columns: 1fr 1fr; }
}
.request-form label {
  display: grid;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
}
.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  padding: .8rem .9rem;
  background: #0a0a0a;
  border: 1px solid var(--line);
  color: #fff;
  font: inherit;
  font-size: .95rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.request-form input::placeholder,
.request-form textarea::placeholder { color: #666; }
.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: none;
  border-color: rgba(255,204,0,.65);
}
.request-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--yellow) 50%),
    linear-gradient(135deg, var(--yellow) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}
.request-form textarea { resize: vertical; min-height: 5.5rem; }
.request-form .btn { width: 100%; margin-top: .25rem; justify-content: center; }
.request-form__hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  pointer-events: none !important;
}
.request-form__status {
  margin: 0;
  font-size: .92rem;
  text-align: center;
  padding: .7rem .85rem;
  border: 1px solid var(--line);
}
.request-form__status.is-ok {
  color: #b8f5c4;
  border-color: rgba(120, 220, 140, .35);
  background: rgba(80, 180, 100, .1);
}
.request-form__status.is-err {
  color: #ffb0b0;
  border-color: rgba(255, 80, 80, .35);
  background: rgba(255, 60, 60, .1);
}

/* Footer */
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 1rem 1.5rem; padding: 2rem var(--pad) 2.5rem;
  border-top: 1px solid var(--line); color: var(--muted); text-align: center;
}
.footer img { width: 64px; height: auto; }
.footer strong {
  display: block; font-family: var(--font-display); color: var(--yellow);
  letter-spacing: .1em; font-size: 1.3rem;
}
.footer__copy { width: 100%; font-size: .8rem; opacity: .7; }

/* Reveals */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .85s var(--ease), transform .85s var(--ease), filter .85s var(--ease);
  filter: blur(6px);
  will-change: opacity, transform, filter;
}
.reveal[data-anim="pop"] { transform: translateY(28px) scale(.9); }
.reveal[data-anim="card"] { transform: translateY(56px); }
.reveal.is-in {
  opacity: 1; transform: none; filter: blur(0);
}
.reveal[data-delay="1"].is-in { transition-delay: .08s; }
.reveal[data-delay="2"].is-in { transition-delay: .16s; }
.reveal[data-delay="3"].is-in { transition-delay: .24s; }
.reveal[data-delay="4"].is-in { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .marquee__track { animation: none; }
}

.facts {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 0 0 1.8rem;
  max-width: 34rem;
}
.facts li {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(255,204,0,0.15);
}
.facts span {
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.facts strong {
  font-weight: 600;
  color: #f0f0f0;
  font-size: 0.98rem;
}
.requisites {
  display: grid;
  gap: 0.85rem;
  text-align: left;
  margin: 1.6rem auto 0;
  max-width: 28rem;
}
.requisites div {
  display: grid;
  gap: 0.2rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
}
.requisites span {
  color: var(--yellow);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.requisites b {
  font-weight: 600;
  color: #fff;
  font-size: 0.95rem;
}
.footer__legal {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  opacity: 0.75;
}
