/* =====================================================
   ProMachinery — style.css
   Industrial / premium dark theme. No frameworks.
   ===================================================== */

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #c8ccd2;
  background: #0b0c0e;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: #f3f4f6;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
  font-weight: 600;
}
p { margin: 0 0 1em; }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 120px 0; position: relative; }
.section--alt {
  background:
    linear-gradient(180deg, #0b0c0e 0%, #0f1115 50%, #0b0c0e 100%);
}
.section--alt::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(240,165,0,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,165,0,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
}
.section__head { max-width: 760px; margin-bottom: 64px; }
.section__title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section__lede { font-size: 1.05rem; color: #9aa0aa; max-width: 640px; }

.kicker {
  display: inline-block;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #f0a500;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.accent { color: #f0a500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn--primary {
  background: #f0a500;
  color: #0b0c0e;
  border-color: #f0a500;
}
.btn--primary:hover { background: #ffb91a; border-color: #ffb91a; transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: #f3f4f6;
  border-color: #2a2e35;
}
.btn--ghost:hover { border-color: #f0a500; color: #f0a500; }
.btn--lg { padding: 18px 28px; font-size: 1rem; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,12,14,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #15171c;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f0a500;
}
.brand__mark { width: 28px; height: 28px; }
.brand__text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  color: #f3f4f6;
  letter-spacing: -0.01em;
}
.brand__text strong { font-weight: 700; color: #f3f4f6; }

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.92rem;
  color: #9aa0aa;
}
.nav a { position: relative; padding: 6px 0; transition: color .2s ease; }
.nav a:hover { color: #f3f4f6; }
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: #f0a500;
  transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }

.topbar__cta { padding: 10px 18px; font-size: 0.9rem; }

@media (max-width: 980px) {
  .nav { display: none; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background: #0b0c0e;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1603814744174-115311ad645e?auto=format&fit=crop&w=2400&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: grayscale(40%) contrast(1.05);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  opacity: 0.6;
}
.hero__vignette {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,12,14,0.6) 0%, rgba(11,12,14,0.3) 30%, rgba(11,12,14,0.8) 80%, #0b0c0e 100%),
    radial-gradient(ellipse at 50% 50%, transparent 0%, rgba(11,12,14,0.4) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 980px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid #2a2e35;
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #9aa0aa;
  margin-bottom: 32px;
  background: rgba(20,22,27,0.6);
}
.eyebrow__dot {
  width: 8px; height: 8px;
  background: #f0a500;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(240,165,0,0.7);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin-bottom: 28px;
}
.hero__lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: #9aa0aa;
  max-width: 720px;
  margin: 0 auto 40px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero__silhouette {
  display: none;
}

/* ticker */
.hero__ticker {
  margin-top: 60px;
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #2a2e35;
  letter-spacing: 0.08em;
  border-top: 1px solid #15171c;
  border-bottom: 1px solid #15171c;
  padding: 18px 0;
  position: relative;
  z-index: 1;
}
.hero__ticker span {
  display: inline-block;
  padding: 0 28px;
  animation: ticker 40s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

/* ---------- STATS ---------- */
.stats {
  background: #0b0c0e;
  padding: 80px 0;
  border-bottom: 1px solid #15171c;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #15171c;
  border: 1px solid #15171c;
}
.stat {
  background: #0b0c0e;
  padding: 36px 28px;
  transition: background .25s ease;
}
.stat:hover { background: #101216; }
.stat__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #f3f4f6;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 14px;
}
.stat__plus { color: #f0a500; }
.stat__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: #9aa0aa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat__label span {
  display: block;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #6c7280;
  margin-top: 4px;
}
@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .stats__grid { grid-template-columns: 1fr; }
}

/* ---------- SERVICE CARDS ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  background: #101216;
  border: 1px solid #1c1f25;
  padding: 40px 36px;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 2px;
  background: #f0a500;
  transition: width .35s ease;
}
.card:hover { border-color: #2a2e35; transform: translateY(-3px); background: #13161b; }
.card:hover::before { width: 100%; }

.card__num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #f0a500;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}
.card__title { font-size: 1.45rem; margin-bottom: 14px; }
.card__body { color: #9aa0aa; margin-bottom: 24px; }
.card__list {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid #1c1f25;
  padding-top: 20px;
}
.card__list li {
  font-size: 0.9rem;
  color: #c8ccd2;
  padding: 6px 0 6px 20px;
  position: relative;
}
.card__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 1px;
  background: #f0a500;
}
@media (max-width: 800px) { .cards { grid-template-columns: 1fr; } }

/* ---------- PROCESS ---------- */
.process {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}
.process__step {
  padding: 32px 28px;
  border-left: 1px solid #1c1f25;
  position: relative;
}
.process__step:first-child { border-left: none; padding-left: 0; }
.process__step:last-child { padding-right: 0; }
.process__index {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #f0a500;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.process__title { font-size: 1.6rem; margin-bottom: 12px; }
.process__step p { color: #9aa0aa; font-size: 0.95rem; margin-bottom: 24px; }
.process__meta {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 16px;
  border-top: 1px solid #1c1f25;
}
.process__meta span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #6c7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.process__meta strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  color: #f3f4f6;
  font-weight: 600;
}
@media (max-width: 1000px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .process__step:nth-child(odd) { border-left: none; padding-left: 0; }
  .process__step:nth-child(3) { border-top: 1px solid #1c1f25; padding-top: 32px; margin-top: 8px; }
  .process__step:nth-child(4) { border-top: 1px solid #1c1f25; padding-top: 32px; margin-top: 8px; }
}
@media (max-width: 600px) {
  .process { grid-template-columns: 1fr; }
  .process__step { border-left: none; padding-left: 0 !important; border-top: 1px solid #1c1f25; padding-top: 28px; margin-top: 8px; }
  .process__step:first-child { border-top: none; padding-top: 0; margin-top: 0; }
}

/* ---------- FLEET ---------- */
.fleet {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.fleet__item {
  background: #101216;
  border: 1px solid #1c1f25;
  transition: border-color .25s ease, transform .25s ease;
  overflow: hidden;
}
.fleet__item:hover { border-color: #2a2e35; transform: translateY(-3px); }
.fleet__img {
  position: relative;
  aspect-ratio: 16/10;
  background: #0d0f12;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  border-bottom: 1px solid #1c1f25;
  transition: filter .3s ease;
}
.fleet__img::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,12,14,0.15) 0%, rgba(11,12,14,0.65) 100%);
  pointer-events: none;
}
.fleet__item:hover .fleet__img { filter: brightness(1.08); }

.fleet__img[data-img="excavator"] {
  background-image: url('https://images.unsplash.com/photo-1628645419184-26a1f2757340?auto=format&fit=crop&w=1200&q=80');
}
.fleet__img[data-img="dozer"] {
  background-image: url('https://images.unsplash.com/photo-1629807473015-41699c4471b5?auto=format&fit=crop&w=1200&q=80');
}
.fleet__img[data-img="truck"] {
  background-image: url('https://images.unsplash.com/photo-1523848309072-c199db53f137?auto=format&fit=crop&w=1200&q=80');
}
.fleet__img[data-img="loader"] {
  background-image: url('https://images.unsplash.com/photo-1686945126682-35f9141dda15?auto=format&fit=crop&w=1200&q=80');
}
.fleet__img[data-img="drill"] {
  background-image: url('https://images.unsplash.com/photo-1629540946404-ebe133e99f49?auto=format&fit=crop&w=1200&q=80');
}
.fleet__img[data-img="crane"] {
  background-image: url('https://images.unsplash.com/photo-1535732759880-bbd5c7265e3f?auto=format&fit=crop&w=1200&q=80');
}

.fleet__body { padding: 24px 24px 28px; }
.fleet__body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.fleet__body p { font-size: 0.95rem; color: #9aa0aa; margin-bottom: 16px; }
.fleet__tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #6c7280;
  letter-spacing: 0.05em;
}
@media (max-width: 900px) { .fleet { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .fleet { grid-template-columns: 1fr; } }

/* ---------- INDUSTRIES ---------- */
.industries {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry {
  background: #101216;
  border: 1px solid #1c1f25;
  padding: 44px 32px;
  text-align: left;
  transition: border-color .25s ease, transform .25s ease;
}
.industry:hover { border-color: #f0a500; transform: translateY(-3px); }
.industry__icon {
  width: 56px; height: 56px;
  color: #f0a500;
  margin-bottom: 28px;
}
.industry h3 { font-size: 1.4rem; margin-bottom: 12px; }
.industry p { color: #9aa0aa; font-size: 0.95rem; margin: 0; }
@media (max-width: 800px) { .industries { grid-template-columns: 1fr; } }

/* ---------- GLOBAL REACH ---------- */
.global {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}
.global__copy .section__title { margin-bottom: 18px; }
.global__copy p { color: #9aa0aa; margin-bottom: 40px; }
.regions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.region {
  background: #101216;
  border: 1px solid #1c1f25;
  padding: 20px;
  display: flex; align-items: baseline; gap: 14px;
  transition: border-color .2s ease;
}
.region:hover { border-color: #f0a500; }
.region__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #f3f4f6;
  min-width: 40px;
}
.region__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82rem;
  color: #9aa0aa;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.global__map {
  background: #0d0f13;
  border: 1px solid #1c1f25;
  padding: 30px;
  position: relative;
}
.global__map::before {
  content: 'fig.01 / ACTIVE NETWORK';
  position: absolute;
  top: 14px; left: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: #6c7280;
}
@media (max-width: 900px) {
  .global { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- QUOTE ---------- */
.quote {
  padding: 120px 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(240,165,0,0.04) 0%, transparent 70%),
    #0b0c0e;
  border-top: 1px solid #15171c;
  border-bottom: 1px solid #15171c;
}
.quote__inner { max-width: 900px; text-align: center; margin: 0 auto; }
.quote__mark { width: 56px; height: 56px; margin: 0 auto 32px; opacity: 0.9; }
.quote__text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  line-height: 1.4;
  color: #f3f4f6;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
}
.quote__attrib { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.quote__attrib strong { color: #f3f4f6; font-weight: 600; }
.quote__attrib span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: #9aa0aa;
  letter-spacing: 0.04em;
}

/* ---------- CTA ---------- */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0a500 0%, #d68f00 100%);
  color: #0b0c0e;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,0.07) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}
.cta__inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #0b0c0e;
  margin-bottom: 8px;
  line-height: 1.15;
}
.cta__lede { color: #1a1a1a; margin: 0; max-width: 600px; }
.cta .btn--primary {
  background: #0b0c0e;
  color: #f0a500;
  border-color: #0b0c0e;
}
.cta .btn--primary:hover { background: #000; }
@media (max-width: 800px) {
  .cta__inner { flex-direction: column; align-items: flex-start; }
}

/* ---------- CONTACT ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: start;
}
.contact__copy p { color: #9aa0aa; margin-bottom: 40px; }
.contact__list {
  list-style: none;
  padding: 0; margin: 0;
  border-top: 1px solid #1c1f25;
}
.contact__list li {
  display: flex; justify-content: space-between; gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid #1c1f25;
}
.contact__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #6c7280;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact__value { color: #f3f4f6; text-align: right; }
a.contact__value:hover { color: #f0a500; }

.contact__form {
  background: #101216;
  border: 1px solid #1c1f25;
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.contact__form label { display: flex; flex-direction: column; gap: 6px; }
.contact__form label span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  color: #9aa0aa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact__form input,
.contact__form textarea {
  width: 100%;
  background: #0b0c0e;
  border: 1px solid #1c1f25;
  border-radius: 2px;
  color: #f3f4f6;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color .2s ease;
  resize: vertical;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: #f0a500;
}
.contact__form textarea { min-height: 100px; font-family: 'Inter', sans-serif; }
.contact__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact__form button { align-self: flex-start; margin-top: 8px; }
.contact__fineprint {
  font-size: 0.82rem;
  color: #6c7280;
  margin: 0;
}
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; gap: 40px; }
  .contact__row { grid-template-columns: 1fr; }
}

/* ---------- FOOTER ---------- */
.footer {
  background: #08090b;
  border-top: 1px solid #15171c;
  padding-top: 80px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
}
.footer__brand p {
  color: #6c7280;
  margin-top: 16px;
  max-width: 320px;
  font-size: 0.9rem;
}
.footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer__cols h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #f0a500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}
.footer__cols a,
.footer__cols span {
  display: block;
  color: #9aa0aa;
  font-size: 0.92rem;
  padding: 6px 0;
  transition: color .2s ease;
}
.footer__cols a:hover { color: #f3f4f6; }

.footer__bar {
  border-top: 1px solid #15171c;
  padding: 24px 0;
  background: #050608;
}
.footer__barInner {
  display: flex;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: #6c7280;
  letter-spacing: 0.04em;
}
@media (max-width: 800px) {
  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__cols { grid-template-columns: repeat(2, 1fr); }
  .footer__barInner { flex-direction: column; gap: 8px; }
}

/* ---------- Small screens overall padding ---------- */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .section { padding: 80px 0; }
  .hero { padding: 60px 0 40px; }
  .topbar__cta { display: none; }
}
