@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("../fonts/AlteHaasGroteskRegular.woff") format("woff"),
       url("../fonts/AlteHaasGroteskRegular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Alte Haas Grotesk";
  src: url("../fonts/AlteHaasGroteskBold.woff") format("woff"),
       url("../fonts/AlteHaasGroteskBold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141418;
  --charcoal: #1c1c22;
  --charcoal-2: #202028;
  --gold: #c09028;
  --gold-2: #d4a63a;
  --gold-dim: rgba(192, 144, 40, 0.16);
  --cream: #f5f1e8;
  --cream-2: #ebe4d6;
  --paper: #faf8f3;
  --muted: #6f6b64;
  --line: rgba(20, 20, 24, 0.12);
  --white: #fff;
  --radius: 2px;
  --header: 84px;
  --font: "Alte Haas Grotesk", Helvetica, Arial, sans-serif;
  --font-d: var(--font);
  --font-b: var(--font);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
  -webkit-font-smoothing: auto;
  -moz-osx-font-smoothing: auto;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  font-synthesis: none;
  font-kerning: normal;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3 {
  font-family: var(--font);
  text-transform: uppercase;
  line-height: 1.14;
  letter-spacing: 0.03em;
  margin: 0 0 0.4em;
}
h1, h2 { font-weight: 700; }
h3 { font-weight: 400; letter-spacing: 0.05em; }

.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 12px;
}
.eyebrow.gold { color: var(--gold-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.btn:hover { background: var(--gold-2); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); background: transparent; }

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 80;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: grid;
  place-content: center;
  pointer-events: all;
  isolation: isolate;
  overflow: hidden;
}
.intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.intro-logo {
  position: relative;
  z-index: 4;
  width: min(460px, 84vw);
  height: auto;
  display: block;
  overflow: visible;
}
#intro-wreck,
.intro-shard,
#logo-word,
#logo-mono {
  transform-box: fill-box;
  transform-origin: center;
}
body.is-intro {
  overflow: hidden;
}

.intro-dozer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
}
.intro-dozer__rig {
  position: absolute;
  left: 0;
  top: 36%;
  bottom: auto;
  width: min(620px, 78vw);
}
.intro-dozer__img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .38));
}
.intro-dozer__tracks {
  position: absolute;
  left: 20.4%;
  width: 63.4%;
  top: 62.5%;
  height: 33.8%;
  pointer-events: none;
}
.intro-dozer__tracks svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.intro-dozer__loop-bg {
  fill: none;
  stroke: #16161a;
  stroke-width: 12.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.intro-dozer__loop {
  fill: none;
  stroke: #c7932a;
  stroke-width: 11;
  stroke-linecap: butt;
  stroke-linejoin: round;
  stroke-dasharray: 9 5;
  animation: dozerCrawl 0.38s linear infinite;
}
.intro-dozer__sprocket {
  fill: #1a1a1c;
  stroke: #d4a63a;
  stroke-width: 2.6;
  stroke-dasharray: 2.8 3.8;
  transform-box: fill-box;
  transform-origin: center;
  animation: dozerSpin 0.5s linear infinite;
}
@keyframes dozerCrawl {
  to { stroke-dashoffset: -17; }
}
@keyframes dozerSpin {
  to { transform: rotate(360deg); }
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  isolation: isolate;
  transform: none;
  transition: background 0.35s, box-shadow 0.35s;
}
.site-header.is-scrolled {
  background: rgba(20, 20, 24, 0.94);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}
.site-header.is-scrolled::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(20, 20, 24, 0.88);
}
.header-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand, .brand .custom-logo-link {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 0;
}
.brand__logo, .custom-logo {
  display: block;
  height: 58px;
  width: auto;
  background: transparent;
}
.primary-nav { margin-left: auto; }
.nav-list { display: flex; gap: 22px; }
.nav-list a {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-list a:hover::after { width: 100%; }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--gold);
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--gold); margin: 6px 0;
}
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(0, 0, 0, .4);
}
.nav-backdrop.is-on { display: block; }

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  color: var(--white);
  display: grid;
  align-items: end;
  overflow: hidden;
}
.hero__stage {
  position: absolute;
  inset: 0;
}
.hero__layer {
  position: absolute;
  inset: -4%;
}
.hero__layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, .92) 0%, rgba(8, 8, 10, .78) 38%, rgba(8, 8, 10, .42) 68%, rgba(8, 8, 10, .58) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, .55) 0%, rgba(8, 8, 10, .28) 36%, rgba(8, 8, 10, .9) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto 40px;
  padding-top: 120px;
}
.hero__title {
  font-size: clamp(1.85rem, 3.8vw, 3.35rem);
  font-weight: 700;
  max-width: 20ch;
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,.35), 0 12px 32px rgba(0,0,0,.7);
}
.hero__title .line { display: block; }
.hero__lead {
  max-width: 46ch;
  font-size: 1.05rem;
  font-weight: 400;
  color: #f5f1e8;
  text-shadow: 0 2px 16px rgba(0,0,0,.65);
}
.hero .eyebrow.gold {
  color: #e0b24a;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.hero .btn--ghost {
  background: rgba(8, 8, 10, .45);
  color: #fff;
  border-color: rgba(255, 255, 255, .82);
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero__meta {
  position: relative;
  z-index: 2;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 18px;
}
.hero__meta strong {
  display: block;
  font-family: var(--font);
  font-weight: 400;
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero__meta span { color: rgba(255,255,255,.78); font-size: 0.95rem; }

.scroll-hint {
  position: absolute;
  right: 36px;
  bottom: 36px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gold-2);
}
.scroll-hint i {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--gold), transparent);
  animation: drop 1.6s infinite;
}
@keyframes drop {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); transform-origin: bottom; opacity: 0; }
}

.stats {
  background: var(--charcoal);
  color: var(--white);
  padding: 72px 0;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.stat-card {
  padding: 28px 22px;
  background: linear-gradient(160deg, #26262e, #1a1a20);
  border: 1px solid rgba(192,144,40,.22);
}
.stat-card__num {
  font-family: var(--font-d);
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--gold);
  display: block;
  line-height: 1;
}

.about, .services, .process, .projects, .machinery, .contact { padding: 100px 0; }
.about { background: var(--paper); }
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
.about h2 { font-size: clamp(2.2rem, 4vw, 3.6rem); max-width: 16ch; }
.split-cards { display: grid; gap: 18px; }
.split-card {
  background: var(--white);
  padding: 32px;
  border: 1px solid var(--line);
}
.split-card--gold { background: var(--charcoal); color: var(--white); }
.split-card__kicker { color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; font-weight: 400; }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); }

.services {
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
}
.services__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/personal.png") center 40% / cover no-repeat;
  animation: servicesDrift 22s ease-in-out infinite alternate;
}
.services::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, .78) 0%, rgba(8, 8, 10, .52) 45%, rgba(8, 8, 10, .58) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, .55) 0%, rgba(8, 8, 10, .38) 40%, rgba(8, 8, 10, .72) 100%);
}
.services .eyebrow { color: var(--gold-2); }
.services .section-head p { color: rgba(255, 255, 255, .88); }
@keyframes servicesDrift {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.service-card {
  min-height: 240px;
  padding: 22px 18px 20px;
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.35s, background 0.35s, color 0.35s;
}
.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--gold);
  transition: height 0.45s ease;
}
.service-card:hover,
.service-card:focus-visible,
.service-card.is-active {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--gold);
  outline: none;
}
.service-card:hover::before,
.service-card:focus-visible::before,
.service-card.is-active::before {
  height: 100%;
}
.service-card__index {
  font-family: var(--font);
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.08em;
}
.service-card h3 { font-size: 1.15rem; }
.service-card__open {
  margin-top: auto;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}
.service-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(8, 8, 10, .55);
}
.service-overlay[hidden],
.service-panel[hidden] { display: none; }
.services .wrap { position: relative; z-index: 1; }
.service-panel {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 16%;
  width: min(560px, calc(100% - 40px));
  background: #16161c;
  color: #fff;
  border: 1px solid var(--gold);
  padding: 36px 32px 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
}
.service-panel__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.25);
  color: #fff;
  font: inherit;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  cursor: pointer;
}
.service-panel__close:hover { border-color: var(--gold); color: var(--gold-2); }
.service-panel__index {
  display: block;
  color: var(--gold);
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  line-height: 1;
  margin-bottom: 8px;
}
.service-panel h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 14px;
}
.service-panel p {
  color: rgba(255,255,255,.88);
  margin: 0 0 24px;
  font-size: 1.02rem;
}

.process { background: var(--charcoal); color: var(--white); }
.process .eyebrow { color: var(--gold-2); }
.process-track-wrap { position: relative; }
.process-track__progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(192, 144, 40, .22);
  z-index: 2;
  pointer-events: none;
}
.process-track__progress i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--gold);
  box-shadow: 0 0 22px rgba(192, 144, 40, .9);
}
.process-track__progress b {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px 6px rgba(192, 144, 40, .55);
}
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.process-step {
  position: relative;
  padding: 32px 22px 32px;
  border-top: 2px solid rgba(192, 144, 40, .2);
  background: rgba(255,255,255,.03);
  overflow: hidden;
}
.process-step__bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left center;
}
.process-step span:not(.process-step__bar) {
  font-family: var(--font);
  color: var(--gold);
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.projects {
  position: relative;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: 24px;
}
.projects__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("../img/obras/obra-01.jpg") center 40% / cover no-repeat;
}
.projects::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 10, .78) 0%, rgba(8, 8, 10, .52) 45%, rgba(8, 8, 10, .58) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, .55) 0%, rgba(8, 8, 10, .38) 40%, rgba(8, 8, 10, .72) 100%);
}
.projects .wrap { position: relative; z-index: 1; }
.projects .eyebrow { color: var(--gold-2); }
.projects .section-head p { color: rgba(255, 255, 255, .88); }
.project-marquee {
  overflow: hidden;
  position: relative;
  z-index: 1;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  user-select: none;
}
.project-stage {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 10px 0 8px;
  will-change: transform;
}
.project-nav {
  position: absolute;
  top: 42%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  background: rgba(8, 8, 10, .55);
  color: var(--gold);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.project-nav--prev { left: 12px; }
.project-nav--next { right: 12px; }
.project-nav:hover {
  background: var(--gold);
  color: var(--ink);
}
.project-card {
  flex: 0 0 min(320px, 78vw);
  background: var(--white);
  color: var(--charcoal);
  border: 1px solid var(--line);
}
.project-card figure { overflow: hidden; height: 240px; }
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  transition: transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.project-card:hover img { transform: scale(1.16); }
.project-card__body { padding: 18px 18px 22px; }
.project-card__body span { color: var(--gold); font-family: var(--font); font-weight: 400; letter-spacing: 0.06em; }
.project-card__body h3 { font-size: 1.2rem; margin-top: 6px; }

.highlights { background: var(--paper); padding: 36px 0 0; }
.highlights .section-head { margin-bottom: 22px; }
.highlights-plate {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 28px;
  color: var(--gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.highlights-plate::before,
.highlights-plate::after {
  content: "";
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 16px);
}
.highlights__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.highlight {
  position: relative;
  min-height: 320px;
  color: var(--white);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(192, 144, 40, .28);
}
.highlight > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.06);
  transition: transform 0.7s cubic-bezier(.2,.7,.2,1);
}
.highlight::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8,8,10,.15) 0%, rgba(8,8,10,.78) 62%, rgba(8,8,10,.92) 100%);
}
.highlight::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: var(--gold);
  z-index: 1;
  transition: width 0.45s ease;
}
.highlight:hover > img { transform: scale(1.14); }
.highlight:hover::before { width: 100%; }
.highlight__body {
  position: relative;
  padding: 28px 24px 26px;
}
.highlight__body span {
  display: block;
  color: var(--gold);
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  margin-bottom: 6px;
}
.highlight__kicker {
  margin: 0 0 6px;
  color: var(--gold-2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.highlight h3 {
  color: #fff;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
  margin-bottom: 8px;
}
.highlight p { margin: 0; color: rgba(255,255,255,.9); }

.highlights-ticker {
  position: relative;
  margin-top: 28px;
  overflow: hidden;
  background: var(--charcoal);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
  color: var(--gold-2);
}
.highlights-ticker::before,
.highlights-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 16px;
  background: repeating-linear-gradient(
    180deg,
    var(--charcoal) 0 7px,
    var(--gold) 7px 12px
  );
}
.highlights-ticker::before { left: 0; }
.highlights-ticker::after { right: 0; }
.highlights-ticker__track {
  display: flex;
  gap: 42px;
  width: max-content;
  padding: 16px 28px;
  animation: tickerRun 28s linear infinite;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}
.highlights-ticker__track span::before {
  content: "◆";
  margin-right: 42px;
  color: var(--gold);
}
@keyframes tickerRun {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.machinery {
  background: var(--paper);
  padding-top: 48px;
}
.machine-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.machine-list li {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  padding: 16px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 400;
}
.machine-list strong {
  color: var(--gold);
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: 0.06em;
}

.contact { background: var(--ink); color: var(--white); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-facts { margin-top: 28px; display: grid; gap: 18px; }
.contact-facts span { display: block; color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.8rem; font-weight: 400; }
.contact-form {
  display: grid;
  gap: 14px;
  background: #1c1c22;
  padding: 28px;
  border: 1px solid rgba(192,144,40,.25);
}
.contact-form label { display: grid; gap: 8px; font-size: 0.88rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 400; }
.contact-form input, .contact-form textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font: inherit;
  padding: 10px 0;
  text-transform: none;
  letter-spacing: 0;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
}
.contact-form__notice {
  margin: 0 0 8px;
  padding: 12px 14px;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
}
.contact-form__notice--ok { background: rgba(192, 144, 40, .18); color: var(--gold-2); }
.contact-form__notice--error { background: rgba(180, 40, 40, .22); color: #f3c4c4; }

.page-main { padding-top: var(--header); }
.page-hero {
  background: var(--charcoal);
  color: #fff;
  padding: 80px 8vw;
}
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 5rem); }
.page-body { padding: 48px 0 96px; }
.page-article { background: #fff; padding: 32px; border: 1px solid var(--line); }

.site-footer {
  background: #101014;
  color: rgba(255,255,255,.78);
  padding: 56px 0 24px;
}
.footer-grid {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 28px;
}
.footer-logo {
  width: 132px;
  margin-bottom: 12px;
}
.site-footer h3 { color: var(--gold-2); font-size: 0.95rem; }
.footer-links { display: grid; gap: 8px; }
.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,.5);
}

[data-3d] {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .services__bg { animation: none; }
  .highlights-ticker__track { animation: none; }
  .intro-dozer__loop,
  .intro-dozer__sprocket { animation: none; }
  .primary-nav.is-open::before,
  .primary-nav.is-open .nav-list li a::after { animation: none; }
}

@media (max-width: 980px) {
  .stats__grid, .service-grid, .process-track, .highlights__grid, .about__grid, .contact__grid, .footer-grid, .machine-list, .hero__meta {
    grid-template-columns: 1fr 1fr;
  }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; margin-left: auto; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #1c1c22;
    display: none;
    padding: 18px 24px 32px;
    border-top: 1px solid rgba(192, 144, 40, .28);
  }
  .primary-nav::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: top;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav.is-open::before {
    animation: navSideLine 0.45s ease forwards;
  }
  .nav-list { flex-direction: column; gap: 18px; }
  .nav-list a {
    display: inline-block;
    width: fit-content;
    padding: 4px 0 10px;
  }
  .nav-list a::after {
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    transition: none;
  }
  .primary-nav.is-open .nav-list li a::after {
    animation: navGoldLine 0.4s ease forwards;
  }
  .primary-nav.is-open .nav-list li:nth-child(1) a::after { animation-delay: 0.06s; }
  .primary-nav.is-open .nav-list li:nth-child(2) a::after { animation-delay: 0.12s; }
  .primary-nav.is-open .nav-list li:nth-child(3) a::after { animation-delay: 0.18s; }
  .primary-nav.is-open .nav-list li:nth-child(4) a::after { animation-delay: 0.24s; }
  .primary-nav.is-open .nav-list li:nth-child(5) a::after { animation-delay: 0.30s; }
  .primary-nav.is-open .nav-list li:nth-child(6) a::after { animation-delay: 0.36s; }
  .primary-nav.is-open .nav-list li:nth-child(7) a::after { animation-delay: 0.42s; }
  .header-cta { display: none; }
}
@keyframes navGoldLine {
  from { width: 0; }
  to { width: calc(100% + 10px); }
}
@keyframes navSideLine {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

@media (max-width: 768px) {
  .intro-logo {
    width: min(280px, 68vw);
  }
  .intro-dozer__rig {
    width: min(378px, 92vw);
    top: 50%;
    margin-top: calc(min(378px, 92vw) * -0.203);
  }
}

@media (max-width: 640px) {
  .stats__grid, .process-track, .highlights__grid, .about__grid, .contact__grid, .footer-grid, .machine-list, .hero__meta, .service-grid {
    grid-template-columns: 1fr;
  }
  .hero__title { font-size: clamp(1.45rem, 7vw, 2.1rem); }
  .footer-bottom { flex-direction: column; }
  .service-panel { top: 10%; padding: 28px 20px 24px; }
}
