:root {
  --bg: #0d1115;
  --bg-2: #141a20;
  --panel: rgba(255,255,255,.08);
  --panel-strong: #1e252d;
  --text: #f7f4eb;
  --muted: #b8c0c8;
  --line: rgba(255,255,255,.14);
  --accent: #f2b632;
  --accent-2: #ffd66b;
  --ink: #101010;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(0,0,0,.35);
  --radius: 28px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Roboto Condensed', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 18%, rgba(242,182,50,.14), transparent 28%),
    radial-gradient(circle at 88% 42%, rgba(255,255,255,.06), transparent 26%);
  z-index: -2;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 120px 0; position: relative; }
.section h2, .hero h1 {
  font-family: 'Montserrat', Arial, sans-serif;
  line-height: .98;
  letter-spacing: -.06em;
  margin: 0;
}
.section h2 { font-size: clamp(2.4rem, 5vw, 5rem); }
.section p { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  margin: 0 0 18px;
  color: var(--accent) !important;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .78rem !important;
}

.site-header {
  position: fixed;
  z-index: 1000;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 1240px);
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(10,13,16,.66);
  box-shadow: 0 18px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(18px);
}
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: 'Montserrat', Arial, sans-serif; font-weight: 900; letter-spacing: -.03em; }
.logo__mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink);
  background: var(--accent);
}
.logo__text { white-space: nowrap; }
.main-nav { display: flex; justify-content: center; gap: 24px; color: rgba(255,255,255,.78); }
.main-nav a { transition: color .25s ease; }
.main-nav a:hover { color: var(--accent); }
.header-phone {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(242,182,50,.12);
  color: var(--accent-2);
  font-weight: 700;
  white-space: nowrap;
}
.nav-toggle { display: none; background: transparent; border: 0; width: 42px; height: 42px; padding: 0; }
.nav-toggle span { display: block; height: 2px; width: 24px; margin: 6px auto; background: var(--text); transition: transform .25s ease, opacity .25s ease; }

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 140px 0 80px;
  background:
    linear-gradient(90deg, rgba(9,12,15,.94) 0%, rgba(9,12,15,.68) 48%, rgba(9,12,15,.35) 100%),
    url('assets/img/hero-excavator.jpg') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: .2;
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.hero__content { position: relative; z-index: 1; max-width: 900px; margin-left: max(20px, calc((100vw - var(--container))/2)); }
.hero h1 { font-size: clamp(3.3rem, 8vw, 8.6rem); max-width: 920px; text-transform: uppercase; }
.hero__lead { max-width: 720px; margin: 28px 0 0; color: rgba(255,255,255,.78); font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn--primary { background: var(--accent); color: var(--ink); box-shadow: 0 18px 46px rgba(242,182,50,.24); }
.btn--primary:hover { background: var(--accent-2); box-shadow: 0 22px 54px rgba(242,182,50,.36); }
.btn--secondary { border-color: rgba(255,255,255,.32); color: var(--white); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.btn--secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn--small { min-height: 48px; padding: 0 20px; }
.hero__badges { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 14px; max-width: 720px; margin-top: 54px; }
.hero__badges div { padding: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.07); backdrop-filter: blur(14px); border-radius: 22px; }
.hero__badges strong { display: block; color: var(--accent); font-family: 'Montserrat', Arial, sans-serif; font-size: 2.1rem; line-height: 1; }
.hero__badges span { color: rgba(255,255,255,.74); }

.about { background: linear-gradient(180deg, #0d1115, #111820); }
.about__grid { display: grid; grid-template-columns: 1fr .88fr; gap: 60px; align-items: center; }
.about__copy p:not(.eyebrow) { max-width: 660px; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.about__facts div { padding: 22px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.about__facts b { display: block; font-family: 'Montserrat'; color: var(--accent); font-size: 1.55rem; line-height: 1.1; }
.about__facts span { display: block; margin-top: 8px; color: var(--muted); }
.about__media { position: relative; }
.about__media img { width: 100%; height: 600px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); filter: saturate(.82) contrast(1.04); }
.about__card { position: absolute; left: -28px; bottom: 36px; padding: 22px 24px; border: 1px solid rgba(255,255,255,.24); border-radius: 22px; background: rgba(10,13,16,.68); backdrop-filter: blur(18px); box-shadow: var(--shadow); }
.about__card span { display: block; color: var(--muted); }
.about__card strong { color: var(--accent); font-family: 'Montserrat'; font-size: 1.4rem; }

.section-head { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 44px; }
.section-head h2 { max-width: 760px; }
.section-head p:last-child { max-width: 360px; margin: 0; }
.portfolio { background: #0f1419; }
.portfolio__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.machine-card { overflow: hidden; border-radius: 26px; background: var(--panel-strong); border: 1px solid var(--line); box-shadow: 0 20px 70px rgba(0,0,0,.18); transition: transform .3s ease, border-color .3s ease; }
.machine-card:hover { transform: translateY(-8px); border-color: rgba(242,182,50,.5); }
.machine-card__image { height: 255px; overflow: hidden; }
.machine-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; filter: saturate(.86) contrast(1.05); }
.machine-card:hover img { transform: scale(1.08); }
.machine-card__body { padding: 28px; }
.machine-card__body span { color: var(--accent); font-weight: 900; letter-spacing: .12em; }
.machine-card h3 { margin: 8px 0 10px; font-family: 'Montserrat'; font-size: 1.4rem; line-height: 1.1; }
.machine-card p { margin: 0; }
.machine-card--accent { display: grid; align-content: end; min-height: 100%; background: linear-gradient(145deg, rgba(242,182,50,.95), rgba(255,214,107,.85)); color: var(--ink); }
.machine-card--accent p, .machine-card--accent span { color: rgba(0,0,0,.72); }
.machine-card--accent a { display: inline-flex; margin-top: 20px; font-weight: 900; border-bottom: 2px solid var(--ink); }

.process { background: #121920; }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: steps; }
.step-card { position: relative; min-height: 280px; padding: 28px; border-radius: 26px; background: rgba(255,255,255,.06); border: 1px solid var(--line); overflow: hidden; transition: transform .3s ease, background .3s ease; }
.step-card::after { content: ''; position: absolute; width: 140px; height: 140px; right: -60px; bottom: -60px; border-radius: 50%; background: rgba(242,182,50,.12); }
.step-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); }
.step-card span { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--accent); color: var(--ink); font-family: 'Montserrat'; font-weight: 900; font-size: 1.4rem; }
.step-card h3 { margin: 28px 0 10px; font-family: 'Montserrat'; }
.step-card p { margin: 0; }

.services { background: linear-gradient(180deg, #10161c, #0d1115); }
.section-head--light { color: var(--text); }
.pricing__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.price-card { position: relative; padding: 30px; border-radius: 28px; background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: transform .3s ease, border-color .3s ease; }
.price-card:hover { transform: translateY(-8px); border-color: rgba(242,182,50,.5); }
.price-card h3 { margin: 0 0 14px; font-family: 'Montserrat'; font-size: 1.35rem; }
.price-card p { min-height: 82px; }
.price-card strong { display: block; margin: 22px 0; color: var(--accent); font-family: 'Montserrat'; font-size: 1.75rem; line-height: 1.05; }
.price-card--featured { background: #f2b632; color: var(--ink); }
.price-card--featured p, .price-card--featured strong { color: rgba(0,0,0,.76); }
.price-card--featured .btn--primary { background: var(--ink); color: var(--white); box-shadow: none; }
.tag { position: absolute; top: 18px; right: 18px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.15); font-weight: 900; }

.faq { background: #0f1419; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.faq__list { display: grid; gap: 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.06); overflow: hidden; }
.faq-question { width: 100%; padding: 22px 24px; display: flex; justify-content: space-between; gap: 20px; background: transparent; border: 0; color: var(--text); text-align: left; cursor: pointer; font-family: 'Montserrat'; font-weight: 800; }
.faq-question::after { content: '+'; color: var(--accent); font-size: 1.5rem; line-height: 1; transition: transform .25s ease; }
.faq-item.is-open .faq-question::after { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer p { margin: 0; padding: 0 24px 24px; }

.contact { background: linear-gradient(135deg, rgba(242,182,50,.14), rgba(255,255,255,.04)), #0d1115; }
.contact__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.contact__copy ul { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 12px; color: var(--muted); }
.contact__copy a { color: var(--accent); font-weight: 700; }
.lead-form { padding: 36px; border-radius: 32px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.08); box-shadow: var(--shadow); backdrop-filter: blur(18px); display: grid; gap: 18px; }
.lead-form label { display: grid; gap: 8px; color: rgba(255,255,255,.72); font-weight: 700; }
.lead-form input, .lead-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.14); border-radius: 18px; background: rgba(9,12,15,.72); color: var(--white); padding: 16px 18px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(242,182,50,.14); }
.form-message { min-height: 24px; margin: 0; font-weight: 700; }
.form-message.is-success { color: #9be8a8; }
.form-message.is-error { color: #ff9d8f; }

.footer { padding: 36px 0; background: #090c0f; border-top: 1px solid var(--line); color: rgba(255,255,255,.66); }
.footer__grid { display: grid; grid-template-columns: 1.2fr 1fr auto auto; gap: 22px; align-items: center; }
.footer a { color: var(--accent); }
.logo--footer .logo__text { color: var(--text); }

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .72s ease, transform .72s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto auto auto; justify-content: space-between; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: calc(100% + 12px); left: 0; right: 0; display: none; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 26px; background: rgba(10,13,16,.92); backdrop-filter: blur(16px); }
  .site-header.is-open .main-nav { display: flex; }
  .about__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .portfolio__grid, .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .section-head { display: block; }
  .section-head p:last-child { margin-top: 18px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--container)); }
  .site-header { top: 10px; width: calc(100% - 18px); border-radius: 24px; grid-template-columns: auto auto; }
  .header-phone { grid-column: 1 / -1; text-align: center; padding: 10px; }
  .logo__text { font-size: .92rem; }
  .hero { padding-top: 190px; align-items: start; }
  .hero h1 { font-size: clamp(2.75rem, 17vw, 4.8rem); }
  .hero__badges, .about__facts, .portfolio__grid, .pricing__grid, .process__grid, .footer__grid { grid-template-columns: 1fr; }
  .about__media img { height: 420px; }
  .about__card { left: 16px; right: 16px; bottom: 16px; }
  .section { padding: 82px 0; }
  .lead-form { padding: 24px; border-radius: 24px; }
}
