:root {
  --bg: #0c0f14;
  --panel: #151a22;
  --panel-2: #1d242e;
  --text: #f5f7fb;
  --muted: #aeb7c5;
  --line: rgba(255,255,255,.12);
  --accent: #ff5b2e;
  --accent-2: #ffc247;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, rgba(255,91,46,.22), transparent 32rem), var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(20px, calc((100vw - var(--max)) / 2));
  background: rgba(12,15,20,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .03em; }
.brand img { border-radius: 12px; }
.nav { display: flex; gap: 22px; color: var(--muted); font-size: 14px; }
.nav a:hover, .header-phone:hover { color: var(--accent-2); }
.header-phone { font-weight: 700; white-space: nowrap; }

.section { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 84px 0; }
.hero { min-height: 720px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--accent-2); text-transform: uppercase; letter-spacing: .16em; font-size: 12px; font-weight: 800; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1 { margin: 0; font-size: clamp(42px, 7vw, 86px); line-height: .95; letter-spacing: -.06em; }
h2 { margin: 0 0 26px; font-size: clamp(32px, 4.2vw, 56px); line-height: 1; letter-spacing: -.04em; }
h3 { margin: 0 0 10px; font-size: 21px; }
.lead { max-width: 680px; margin: 24px 0 0; color: #d9dee8; font-size: 20px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; font-weight: 800; }
.primary { background: linear-gradient(135deg, var(--accent), #ff8c1a); color: #111; }
.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.05); }

.hero-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 42px 0 0; }
.hero-facts div { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.04); }
.hero-facts dt { font-size: 28px; font-weight: 900; color: var(--accent-2); }
.hero-facts dd { margin: 4px 0 0; color: var(--muted); font-size: 14px; }

.hero-card { position: relative; min-height: 520px; border-radius: 34px; overflow: hidden; background: var(--panel); box-shadow: 0 24px 80px rgba(0,0,0,.42); }
.hero-card img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; filter: saturate(1.1) contrast(1.05); }
.hero-card:after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72)); }
.plate { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 1; padding: 18px; border-radius: 18px; background: rgba(12,15,20,.86); border: 1px solid var(--line); font-weight: 800; }

.split { display: grid; grid-template-columns: .42fr .58fr; gap: 50px; border-top: 1px solid var(--line); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.cards article, .material-grid div, .about-card, .advantages div, .contact-card, .steps li, figure { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)); border-radius: 24px; }
.cards article { padding: 24px; }
.cards p, .material-grid p, .about p, .steps span, .advantages span, .contact p { color: var(--muted); margin: 0; }

.materials { border-top: 1px solid var(--line); }
.material-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.material-grid div { padding: 24px; min-height: 230px; }
.material-grid span { color: var(--accent); font-weight: 900; }

.works { border-top: 1px solid var(--line); }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
figure { margin: 0; overflow: hidden; }
figcaption { padding: 18px; font-weight: 800; }
.work-img { width: 100%; height: 260px; object-fit: cover; }

.about { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; border-top: 1px solid var(--line); }
.about-card { padding: 34px; background: linear-gradient(135deg, rgba(255,91,46,.18), rgba(255,255,255,.04)); }
.advantages { display: grid; gap: 14px; }
.advantages div { padding: 24px; display: grid; gap: 8px; }
.advantages strong { font-size: 20px; }

.order { border-top: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.steps li { min-height: 210px; padding: 24px; display: grid; align-content: start; gap: 12px; counter-increment: step; }
.steps li:before { content: counter(step, decimal-leading-zero); color: var(--accent-2); font-size: 34px; font-weight: 900; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; border-top: 1px solid var(--line); }
.contact-card { padding: 28px; display: grid; gap: 14px; }
.contact-card a { padding: 16px; border-radius: 16px; background: rgba(255,255,255,.06); font-weight: 800; }
.contact-card a:hover { background: rgba(255,91,46,.18); }
.footer { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 30px 0 50px; color: var(--muted); display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); }

@media (max-width: 900px) {
  .header { align-items: flex-start; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .hero, .split, .about, .contact { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 48px; }
  .hero-card, .hero-card img { min-height: 360px; }
  .material-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .work-grid, .cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .section { width: min(100% - 28px, var(--max)); padding: 56px 0; }
  .header { padding: 12px 14px; }
  .header-phone { width: 100%; }
  .hero-facts, .material-grid, .steps { grid-template-columns: 1fr; }
  .lead { font-size: 17px; }
  .btn { width: 100%; }
  .footer { flex-direction: column; width: calc(100% - 28px); }
}
