@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Space Grotesk";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
}

:root {
  --yellow: #f5c400;
  --yellow-light: #ffda28;
  --yellow-deep: #d7a500;
  --ink: #0a0a0a;
  --ink-soft: #111111;
  --charcoal: #1a1a1a;
  --steel: #2d2d2d;
  --mist: #d9d9d9;
  --muted: #a7a7a7;
  --line: rgba(255, 255, 255, 0.16);
  --line-dark: rgba(10, 10, 10, 0.13);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --container: min(1120px, calc(100% - 2.5rem));
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  position: relative;
  isolation: isolate;
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: #fff;
  background: var(--ink);
  font-family: Inter, Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.96) 4%, rgba(10, 10, 10, 0.78) 44%, rgba(10, 10, 10, 0.88) 100%),
    url("machines/hero-excavator-03.png") center / cover no-repeat;
  filter: saturate(0.65) contrast(1.14);
  animation: machine-drift 28s ease-in-out infinite alternate;
  transform: scale(1.06);
}

body::after {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  opacity: 0.19;
  background-image: radial-gradient(rgba(255,255,255,.55) .55px, transparent .8px);
  background-size: 6px 6px;
  mix-blend-mode: soft-light;
}

@keyframes machine-drift {
  from { background-position: 48% 50%; }
  to { background-position: 56% 46%; }
}

a { color: inherit; }
img { max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: .7rem 1rem;
  color: var(--ink);
  background: var(--yellow);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 10, 10, 0.84);
  backdrop-filter: blur(16px);
}

main,
.site-footer { position: relative; z-index: 1; }

.header-inner {
  width: var(--container);
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  gap: 1.55rem;
  margin: 0 auto;
}

.brand { width: clamp(11rem, 20vw, 14.5rem); flex: 0 0 auto; line-height: 0; }
.brand img { display: block; width: 100%; height: auto; }

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: .3rem;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: .22rem auto;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(.42rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-.42rem) rotate(-45deg); }

.primary-nav { display: flex; align-items: center; gap: clamp(.65rem, 2.1vw, 1.65rem); margin-left: auto; }
.primary-nav a {
  position: relative;
  padding: .4rem 0;
  color: #f4f4f4;
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: .05rem;
  left: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .2s ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.header-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: .65rem 1rem;
  border: 1px solid var(--yellow);
  color: var(--ink);
  background: var(--yellow);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: .83rem;
  font-weight: 750;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.header-call:hover, .header-call:focus-visible { border-color: var(--yellow-light); background: var(--yellow-light); transform: translateY(-2px); }

.hero {
  position: relative;
  min-height: min(620px, calc(100svh - 4.5rem));
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: #101010;
}

.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { opacity: 0; overflow: hidden; transition: opacity 850ms ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  animation: hero-zoom 9s ease-out both;
}
.hero-slide.is-active img { animation: hero-zoom 7s ease-out both; }
@keyframes hero-zoom { from { transform: scale(1.02); } to { transform: scale(1.09); } }

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(7, 7, 7, .91) 0%, rgba(7, 7, 7, .75) 36%, rgba(7, 7, 7, .24) 68%, rgba(7, 7, 7, .25) 100%),
    linear-gradient(0deg, rgba(7, 7, 7, .70), transparent 42%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--container);
  min-height: inherit;
  display: grid;
  align-content: center;
  margin: 0 auto;
  padding: clamp(3rem, 7vh, 5rem) 0 clamp(4.8rem, 10vh, 6rem);
}

.hero-copy { max-width: 43rem; }
h1, h2, h3, .display-font { font-family: "Space Grotesk", Arial, sans-serif; }
.hero h1 {
  max-width: 39rem;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 7vw, 6.35rem);
  font-weight: 700;
  letter-spacing: -.072em;
  line-height: .93;
}

.hero-lead { max-width: 37rem; margin: 1.15rem 0 0; color: #f1f1f1; font-size: clamp(1.02rem, 1.8vw, 1.18rem); font-weight: 500; line-height: 1.5; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.button, .button-outline {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: .52rem;
  padding: .8rem 1.15rem;
  border: 1px solid transparent;
  color: var(--ink);
  background: var(--yellow);
  font-family: "Space Grotesk", Arial, sans-serif;
  font-size: .88rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
}
.button:hover, .button:focus-visible { color: var(--ink); background: var(--yellow-light); transform: translateY(-2px); }
.button-outline { border-color: rgba(255,255,255,.42); color: #fff; background: rgba(0,0,0,.18); }
.button-outline:hover, .button-outline:focus-visible { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }
.button-dark { color: #fff; background: var(--ink); }
.button-dark:hover, .button-dark:focus-visible { color: #fff; background: var(--charcoal); }
.hero-status { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.15rem; color: #e6e6e6; font-size: .78rem; font-weight: 600; }
.hero-status::before { content: ""; width: .47rem; height: .47rem; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 .28rem rgba(245,196,0,.18); }

.slider-controls { position: absolute; z-index: 3; right: max(1.25rem, calc((100% - 1120px) / 2)); bottom: 2rem; display: flex; align-items: center; gap: .48rem; }
.slider-dot { width: 2.1rem; height: .32rem; padding: 0; border: 0; background: rgba(255,255,255,.4); cursor: pointer; transition: background .18s ease, transform .18s ease; }
.slider-dot[aria-current="true"] { background: var(--yellow); transform: scaleX(1.08); }

.trust-strip {
  position: relative;
  z-index: 4;
  width: var(--container);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: -2.3rem auto 0;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  background: rgba(20,20,20,.92);
  backdrop-filter: blur(13px);
}
.trust-item { min-height: 4.7rem; display: flex; align-items: center; padding: .85rem 1.15rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-item strong, .trust-item span { display: block; }
.trust-item strong { color: #fff; font-family: "Space Grotesk", Arial, sans-serif; font-size: .95rem; }
.trust-item span { margin-top: .18rem; color: var(--muted); font-size: .75rem; line-height: 1.35; }

.content-section { width: var(--container); margin: 0 auto; padding: clamp(3.25rem, 6vw, 5.5rem) 0; }
.content-section + .content-section { border-top: 1px solid rgba(255,255,255,.12); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 1.45rem; }
.section-heading h2, .contact-panel h2, .page-hero h1, .catalog-intro h2 { margin: 0; color: #fff; font-size: clamp(2.2rem, 4.5vw, 4.25rem); letter-spacing: -.065em; line-height: .96; }
.section-heading p { max-width: 28rem; margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.55; }

.machine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.machine-card { position: relative; min-height: 20rem; display: flex; flex-direction: column; justify-content: end; overflow: hidden; border: 1px solid var(--line); color: #fff; background: #141414; text-decoration: none; transition: transform .25s ease, border-color .25s ease; }
.machine-card:hover, .machine-card:focus-visible { border-color: var(--yellow); transform: translateY(-5px); }
.machine-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,5,5,.98) 3%, rgba(5,5,5,.52) 45%, transparent 77%); }
.machine-card img { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.machine-card:hover img, .machine-card:focus-visible img { transform: scale(1.075); }
.machine-card:nth-child(1) img { object-position: 71% center; }
.machine-card:nth-child(2) img { object-position: 57% center; }
.machine-card:nth-child(3) img { object-position: 81% center; }
.machine-card-content { position: relative; z-index: 1; padding: 1.5rem; }
.machine-card h3 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); letter-spacing: -.06em; }
.machine-card p { margin: .4rem 0 0; color: #dadada; font-size: .86rem; line-height: 1.42; }
.machine-card-cta { display: inline-flex; align-items: center; gap: .45rem; margin-top: .8rem; color: var(--yellow-light); font-family: "Space Grotesk", Arial, sans-serif; font-size: .82rem; font-weight: 700; }
.machine-card-cta::after { content: "→"; font-size: 1.2em; transition: transform .18s ease; }
.machine-card:hover .machine-card-cta::after { transform: translateX(.25rem); }

.process-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; }
.process-copy > p { max-width: 34rem; margin: 1rem 0 0; color: var(--mist); line-height: 1.55; }
.process-steps { display: grid; gap: .1rem; border-top: 1px solid var(--line); }
.process-step { display: grid; padding: .92rem 0; border-bottom: 1px solid var(--line); }
.process-step h3 { margin: 0; color: #fff; font-size: 1.05rem; letter-spacing: -.035em; }
.process-step p { margin: .38rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.5; }

.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.benefit-card { min-height: 9.5rem; padding: 1rem; border: 1px solid var(--line); background: rgba(255,255,255,.035); }
.benefit-card h3 { margin: 0; font-size: 1.1rem; letter-spacing: -.045em; }
.benefit-card p { margin: .45rem 0 0; color: var(--muted); font-size: .82rem; line-height: 1.45; }

.contact-band { padding: clamp(3rem, 5vw, 4.8rem) 0; background: var(--yellow); }
.contact-panel { width: var(--container); display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: end; margin: 0 auto; color: var(--ink); }
.contact-panel h2 { color: var(--ink); }
.contact-panel p { max-width: 38rem; margin: .8rem 0 0; color: #332900; line-height: 1.5; }
.contact-actions { display: grid; gap: .65rem; }
.contact-actions .button { width: 100%; }
.contact-actions .button-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.contact-actions .button-outline:hover, .contact-actions .button-outline:focus-visible { background: rgba(10,10,10,.1); }

.site-footer { width: var(--container); display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; margin: 0 auto; padding: 1.45rem 0; color: var(--muted); font-size: .76rem; }
.footer-meta { display: flex; flex-wrap: wrap; gap: .6rem 1rem; }
.footer-meta a, .legal-nav a { color: #e6e6e6; text-decoration-color: rgba(245,196,0,.8); text-underline-offset: .18em; }
.legal-nav { display: flex; flex-wrap: wrap; justify-content: end; gap: 1rem; }

/* Catalog pages */
.page-hero { position: relative; isolation: isolate; min-height: 21rem; display: grid; align-items: end; overflow: hidden; background: #151515; }
.page-hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: var(--hero-image) center / cover no-repeat; animation: page-hero-drift 20s ease-in-out infinite alternate; transform: scale(1.04); }
.page-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8,8,8,.93) 0%, rgba(8,8,8,.74) 47%, rgba(8,8,8,.15) 100%), linear-gradient(0deg, rgba(8,8,8,.84), transparent 58%); }
@keyframes page-hero-drift { from { background-position: 50% 50%; } to { background-position: 55% 45%; } }
.page-hero-inner { width: var(--container); margin: 0 auto; padding: 2.6rem 0 2.6rem; }
.breadcrumb { display: inline-flex; gap: .55rem; align-items: center; margin-bottom: 1rem; color: #d7d7d7; font-size: .78rem; }
.breadcrumb a { color: var(--yellow-light); text-underline-offset: .2em; }
.breadcrumb span:last-child { color: #fff; }
.page-hero h1 { max-width: 36rem; }
.page-hero p { max-width: 38rem; margin: 1rem 0 0; color: #e6e6e6; font-size: 1rem; line-height: 1.55; }
.catalog-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 7vw, 7.5rem); align-items: start; }
.catalog-intro > div > p { margin: 1rem 0 0; color: var(--mist); line-height: 1.55; }
.catalog-note { margin-top: 1rem; padding: 1.1rem; border-left: 4px solid var(--yellow); background: rgba(255,255,255,.04); }
.catalog-note h3 { margin: 0; font-size: 1rem; letter-spacing: -.04em; }
.catalog-note p { margin: .5rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-top: 1.45rem; }
.product-card { display: flex; flex-direction: column; min-height: 15rem; padding: 1rem; border: 1px solid var(--line); background: rgba(20,20,20,.77); transition: border-color .18s ease, transform .18s ease, background .18s ease; }
.product-card:hover { border-color: var(--yellow); background: rgba(31,31,31,.92); transform: translateY(-4px); }
.product-class { color: var(--yellow); font-family: "Space Grotesk", Arial, sans-serif; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.product-card h3 { margin: .85rem 0 0; color: #fff; font-size: 1.45rem; letter-spacing: -.055em; line-height: 1; }
.product-card p { margin: .85rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.48; }
.product-meta { display: flex; flex-wrap: wrap; gap: .38rem; margin: auto 0 0; padding-top: 1.3rem; }
.product-meta span { padding: .28rem .43rem; border: 1px solid rgba(255,255,255,.14); color: #d8d8d8; font-size: .68rem; font-weight: 600; }
.catalog-contact { display: grid; grid-template-columns: 1.25fr .75fr; gap: 2rem; align-items: center; padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--yellow); background: linear-gradient(135deg, rgba(245,196,0,.18), rgba(20,20,20,.85) 47%); }
.catalog-contact h2 { margin: 0; color: #fff; font-size: clamp(1.85rem, 4vw, 3rem); letter-spacing: -.06em; }
.catalog-contact p { max-width: 42rem; margin: .85rem 0 0; color: #ddd; line-height: 1.55; }
.catalog-contact .button-row { justify-content: end; margin-top: 0; }

/* Legal pages */
.legal-page { width: min(100% - 2.5rem, 50rem); margin: 0 auto; padding: clamp(2rem, 6vw, 5rem) 0; }
.legal-page .brand { display: block; width: min(18rem, 100%); }
.back { display: inline-block; margin-bottom: 2rem; color: var(--yellow-light); font-family: "Space Grotesk", Arial, sans-serif; font-weight: 700; text-underline-offset: .2em; }
.legal-card { padding: clamp(1.4rem, 5vw, 3.5rem); border: 1px solid var(--line); background: rgba(15,15,15,.9); box-shadow: var(--shadow); }
.legal-card .brand { margin-bottom: 2.5rem; }
.legal-card h1 { margin: 0; color: #fff; font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -.06em; }
.legal-card h2 { margin: 2rem 0 .45rem; color: #fff; font-size: 1.2rem; letter-spacing: -.04em; }
.legal-card p, .legal-card li { color: var(--mist); line-height: 1.7; }
.legal-card a { color: var(--yellow-light); text-underline-offset: .2em; }
.hint { padding: 1rem 1.15rem; border-left: 3px solid var(--yellow); background: rgba(245,196,0,.09); font-size: .9rem; }

@media (max-width: 900px) {
  .header-inner { gap: 1rem; }
  .header-call { display: none; }
  .primary-nav { gap: .8rem; }
  .machine-grid { grid-template-columns: repeat(3, 1fr); }
  .machine-card { min-height: 18rem; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  :root { --container: min(100% - 1.5rem, 1120px); }
  .header-inner { min-height: 4.75rem; }
  .brand { width: 10.8rem; }
  .nav-toggle { display: block; }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: grid; gap: 0; max-height: 0; overflow: hidden; border-bottom: 1px solid transparent; background: rgba(11,11,11,.98); opacity: 0; transition: max-height .26s ease, opacity .2s ease, border-color .2s ease; }
  .primary-nav.is-open { max-height: 22rem; border-color: var(--line); opacity: 1; }
  .primary-nav a { padding: 1rem max(.75rem, calc((100vw - 1120px) / 2)); border-top: 1px solid rgba(255,255,255,.08); }
  .primary-nav a::after { right: auto; bottom: 0; width: 3rem; }
  .hero { min-height: 35rem; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,7,7,.91) 0%, rgba(7,7,7,.72) 71%, rgba(7,7,7,.4) 100%), linear-gradient(0deg, rgba(7,7,7,.72), transparent 48%); }
  .hero h1 { max-width: 32rem; font-size: clamp(2.9rem, 13vw, 4.5rem); }
  .trust-strip { grid-template-columns: 1fr; margin-top: 0; }
  .trust-item { min-height: 4.85rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .section-heading, .catalog-intro, .process-grid, .contact-panel, .catalog-contact { grid-template-columns: 1fr; display: grid; }
  .section-heading { align-items: start; gap: 1.1rem; }
  .machine-grid { grid-template-columns: 1fr; }
  .machine-card { min-height: 16.5rem; }
  .machine-card:nth-child(1) img, .machine-card:nth-child(2) img, .machine-card:nth-child(3) img { object-position: center 55%; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: 0; }
  .contact-panel { align-items: start; }
  .contact-actions .button { max-width: 20rem; }
  .site-footer { grid-template-columns: 1fr; }
  .legal-nav { justify-content: start; }
  .page-hero { min-height: 18rem; }
  .page-hero::after { background: linear-gradient(90deg, rgba(8,8,8,.91) 0%, rgba(8,8,8,.62) 100%), linear-gradient(0deg, rgba(8,8,8,.75), transparent 55%); }
  .product-grid { grid-template-columns: 1fr; }
  .product-card { min-height: 12.8rem; }
  .catalog-contact .button-row { justify-content: start; }
}

@media (max-width: 430px) {
  .brand { width: 10rem; }
  .hero-actions, .button-row { display: grid; }
  .hero-actions .button, .hero-actions .button-outline, .button-row .button, .button-row .button-outline { width: 100%; }
  .slider-controls { right: 1rem; bottom: 1.2rem; }
  .slider-dot { width: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
