/* ============================================================
   NAMQUEST PLANT & EQUIPMENT — WEBSITE STYLES
   ============================================================ */

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

:root {
  --black:    #0f0f0f;
  --offblack: #1a1a1a;
  --white:    #ffffff;
  --gray-50:  #f7f7f7;
  --gray-100: #efefef;
  --gray-200: #e0e0e0;
  --gray-400: #aaaaaa;
  --gray-500: #888888;
  --gray-600: #666666;
  --gray-700: #444444;
  --text:     #1a1a1a;
  --font: 'Aptos', 'Calibri', 'Trebuchet MS', system-ui, -apple-system, Arial, sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { list-style: none; }


/* ── LAYOUT ───────────────────────────────────────────────── */

.container        { max-width: 1200px; margin: 0 auto; padding: 0 52px; }
.container-narrow { max-width: 820px;  margin: 0 auto; padding: 0 52px; }


/* ── SECTION WRAPPERS ─────────────────────────────────────── */

.section       { padding: 96px 0; }
.section-light { padding: 96px 0; background: var(--gray-50); }
.section-dark  { padding: 96px 0; background: var(--black); color: var(--white); }
.section-dark  { padding: 96px 0; background: var(--black); color: var(--white); }


/* ── LABELS & HEADINGS ────────────────────────────────────── */

.label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 14px;
}
.section-dark .label { color: var(--gray-600); }

.section-header { margin-bottom: 60px; }
.section-header h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.section-header .sub {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.75;
  margin-top: 14px;
  max-width: 560px;
}
.section-dark .section-header .sub { color: var(--gray-500); }

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-top: 40px;
  letter-spacing: 0.02em;
}
.section-link:hover { opacity: 0.5; }
.section-dark .section-link { color: var(--white); }


/* ── NAV ──────────────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 52px;
  gap: 0;
  overflow: visible;
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.nav-logo img {
  height: 240px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover  { color: var(--text); }
.nav-links a.active { color: var(--text); font-weight: 700; }

.nav-cta {
  background: var(--black) !important;
  color: var(--white) !important;
  padding: 9px 22px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  margin-left: 8px;
  transition: opacity 0.15s !important;
}
.nav-cta:hover { opacity: 0.75 !important; }

.nav-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: all 0.2s;
}


/* ── BUTTONS ──────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn-primary     { background: var(--black); color: var(--white); }
.btn-primary:hover { opacity: 0.75; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { border-color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--gray-200);
}
.btn-outline-dark:hover { border-color: var(--text); }

.btn-white {
  background: var(--white);
  color: var(--black);
}
.btn-white:hover { opacity: 0.85; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }


/* ── PAGE HEADER ──────────────────────────────────────────── */

.page-header {
  background: var(--black);
  color: var(--white);
  padding: 72px 0 64px;
}
.page-header .label { color: var(--gray-600); }
.page-header h1 {
  font-size: 50px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.page-header p {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-top: 16px;
  max-width: 540px;
}


/* ── HERO ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  height: calc(100vh - 100px);
  min-height: 600px;
  max-height: 900px;
  background: var(--black);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.28;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-bottom: 80px;
  width: 100%;
}

.hero-content .label { color: #d4d4d4; margin-bottom: 20px; }

.hero-content h1 {
  font-size: 78px;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  max-width: 760px;
}

.hero-content p {
  font-size: 18px;
  color: #e6e6e6;
  line-height: 1.7;
  margin-top: 24px;
  max-width: 500px;
}

.hero-content .btn-group { margin-top: 40px; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  right: 52px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-600);
}
.hero-scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: var(--gray-600);
}


/* ── INTRO STRIP ──────────────────────────────────────────── */

.intro-strip {
  padding: 56px 0;
  border-bottom: 1px solid var(--gray-100);
}
.intro-strip p {
  font-size: 20px;
  line-height: 1.75;
  color: var(--gray-700);
  font-weight: 400;
}
.intro-strip strong { color: var(--text); font-weight: 700; }


/* ── SERVICE GRID (home overview) ─────────────────────────── */

.service-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--gray-100);
}

.service-ov-card {
  background: var(--white);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
}

.service-ov-card .s-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 28px;
}

.service-ov-card h3 {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
}

.service-ov-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
  flex: 1;
}

.service-ov-card .s-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}
.service-ov-card .s-link:hover { opacity: 0.5; }


/* ── FLEET GRID ───────────────────────────────────────────── */

.fleet-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-items: stretch;
}

.machine-card {
  border: 1px solid var(--gray-100);
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

.machine-card-img {
  height: 196px;
  overflow: hidden;
  background: var(--gray-50);
  display: flex;
  align-items: center;
  justify-content: center;
}
.machine-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.machine-card:hover .machine-card-img img { transform: scale(1.04); }

.machine-card-img.no-photo {
  background: #181818;
  flex-direction: column;
  gap: 6px;
}
.machine-card-img.no-photo .ph-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3a3a3a;
}
.machine-card-img.no-photo .ph-model {
  font-size: 14px;
  font-weight: 700;
  color: #333;
}

.machine-card-body { padding: 22px 22px 20px; flex: 1; display: flex; flex-direction: column; }

.mc-type {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.machine-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.mc-brand {
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

.mc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}

.mc-rate {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.mc-rate span {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-500);
}

.mc-link {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}
.mc-link:hover { opacity: 0.5; }


/* ── DIFFERENTIATORS ──────────────────────────────────────── */

.diff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: #191919;
  margin-top: 48px;
}

.diff-item {
  background: var(--black);
  padding: 48px 44px;
}

.diff-item h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.diff-item p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.8;
}


/* ── GROUP AFFILIATION STRIP ──────────────────────────────── */

.group-strip {
  padding: 36px 0;
  border-bottom: 1px solid var(--gray-100);
}
.group-strip-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.group-strip p {
  font-size: 13px;
  color: var(--gray-500);
}
.group-strip strong { color: var(--text); }
.group-divider {
  width: 1px;
  height: 28px;
  background: var(--gray-200);
}


/* ── CTA BAND ─────────────────────────────────────────────── */

.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 88px 0;
  text-align: center;
}
.cta-band h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 580px;
  margin: 0 auto;
}
.cta-band p {
  font-size: 16px;
  color: var(--gray-500);
  margin-top: 14px;
}
.cta-band .btn-group {
  justify-content: center;
  margin-top: 36px;
}


/* ── FOOTER ───────────────────────────────────────────────── */

footer {
  background: #111;
  color: var(--white);
  padding-top: 64px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2fr;
  gap: 80px;
  padding-bottom: 56px;
}

.footer-brand-logo img {
  height: 195px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 0;
}
.footer-tagline {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-top: 10px;
  max-width: 240px;
}
.footer-reg {
  font-size: 11px;
  color: #444;
  margin-top: 10px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px;
  color: #777;
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid #1e1e1e;
  padding: 20px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-bottom span,
.footer-bottom a {
  font-size: 12px;
  color: #444;
}
.footer-bottom a:hover { color: #777; }


/* ── SERVICES PAGE ────────────────────────────────────────── */

.services-detail-grid {
  display: grid;
  gap: 2px;
  background: var(--gray-100);
}

.svc-item {
  background: var(--white);
  padding: 56px 52px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.svc-num {
  font-size: 56px;
  font-weight: 700;
  color: #c8c8c8;
  line-height: 1;
  padding-top: 4px;
}

.svc-body h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
}

.svc-body p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 12px;
}

.svc-body ul {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 32px;
}

.svc-body ul li {
  font-size: 14px;
  color: var(--gray-700);
  padding-left: 16px;
  position: relative;
}
.svc-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--black);
}


/* ── EQUIPMENT PAGE ───────────────────────────────────────── */

.machine-detail-block {
  padding: 72px 0;
  border-bottom: 1px solid var(--gray-100);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.machine-detail-block:last-child { border-bottom: none; }

.machine-detail-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-50);
}
.machine-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.machine-detail-img.no-photo {
  background: #181818;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 300px;
}
.machine-detail-img.no-photo .ph-brand {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #3a3a3a;
}
.machine-detail-img.no-photo .ph-model {
  font-size: 18px;
  font-weight: 700;
  color: #404040;
}
.machine-detail-img.no-photo .ph-note {
  font-size: 11px;
  color: #333;
  margin-top: 4px;
}

.machine-detail-info .md-type {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.machine-detail-info h2 {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.md-brand {
  font-size: 14px;
  color: var(--gray-500);
  margin-top: 4px;
}

.md-rate {
  font-size: 28px;
  font-weight: 700;
  margin: 22px 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.md-rate .rate-unit {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-500);
}

.machine-detail-info p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 12px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 14px;
}
.spec-table tr { border-bottom: 1px solid var(--gray-100); }
.spec-table td { padding: 11px 0; }
.spec-table td:first-child { color: var(--gray-500); }
.spec-table td:last-child  { font-weight: 600; text-align: right; }

.md-cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
}

.applications-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--gray-600);
  background: var(--gray-50);
  padding: 5px 12px;
  margin: 4px 4px 0 0;
}


/* ── CONTACT PAGE ─────────────────────────────────────────── */

.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.form-row.full  { grid-template-columns: 1fr; }

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 7px;
}
.required { color: #cc0000; margin-left: 2px; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--gray-200);
  font-family: var(--font);
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--text); }
.form-group textarea { height: 120px; resize: vertical; }

.submit-note {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 12px;
}

.contact-aside {}

.contact-block {
  padding: 22px 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact-block:first-of-type { border-top: 1px solid var(--gray-100); }

.cb-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 5px;
}
.contact-block strong {
  font-size: 15px;
  display: block;
  font-weight: 600;
}
.contact-block span {
  font-size: 13px;
  color: var(--gray-500);
}
.contact-block a {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.contact-block a:hover { opacity: 0.6; }

.media-note {
  background: var(--gray-50);
  border-left: 3px solid var(--gray-200);
  padding: 20px 22px;
  margin-top: 36px;
}
.media-note p {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.65;
}
.media-note a { font-weight: 600; color: var(--text); }


/* ── CAREERS PAGE ─────────────────────────────────────────── */

.careers-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
  margin-bottom: 64px;
}

.careers-intro h2 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.careers-intro p {
  font-size: 16px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 14px;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--gray-100);
}

.criteria-card {
  background: var(--white);
  padding: 36px 32px;
}
.criteria-card .c-icon {
  font-size: 22px;
  margin-bottom: 16px;
}
.criteria-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}
.criteria-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.75;
}

.apply-box {
  background: var(--black);
  color: var(--white);
  padding: 56px 52px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin-top: 2px;
}

.apply-box .label { color: var(--gray-600); }

.apply-box h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 8px 0 12px;
}
.apply-box p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.75;
  max-width: 480px;
}
.apply-box .email-cta {
  font-size: 17px;
  font-weight: 700;
  color: var(--white);
  display: inline-block;
  margin-top: 20px;
  padding: 14px 32px;
  border: 1.5px solid #333;
  transition: border-color 0.15s;
}
.apply-box .email-cta:hover { border-color: var(--white); }


/* ── MOBILE NAV ───────────────────────────────────────────── */

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 24px 28px;
    gap: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }
  .nav-cta { margin-left: 0 !important; }
  .nav-menu-btn { display: block; }
}


/* ── RESPONSIVE ───────────────────────────────────────────── */

@media (max-width: 1100px) {
  .fleet-grid-home    { grid-template-columns: repeat(2, 1fr); }
  .service-overview-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-item           { grid-template-columns: 120px 1fr; }
  .footer-links       { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .container, .container-narrow { padding: 0 24px; }
  nav { padding: 0 24px; }
  .hero-content h1    { font-size: 46px; }
  .hero-scroll        { display: none; }
  .intro-strip p      { font-size: 17px; }
  .section-header h2  { font-size: 30px; }
  .fleet-grid-home    { grid-template-columns: 1fr; }
  .diff-grid          { grid-template-columns: 1fr; }
  .footer-inner       { grid-template-columns: 1fr; gap: 40px; }
  .footer-links       { grid-template-columns: 1fr 1fr; }
  .footer-bottom      { padding: 20px 24px; flex-direction: column; align-items: flex-start; }
  .svc-item           { grid-template-columns: 1fr; padding: 40px 28px; }
  .svc-num            { font-size: 36px; }
  .machine-detail-block { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout     { grid-template-columns: 1fr; }
  .form-row           { grid-template-columns: 1fr; }
  .careers-intro      { grid-template-columns: 1fr; }
  .criteria-grid      { grid-template-columns: 1fr; }
  .apply-box          { grid-template-columns: 1fr; }
  .page-header h1     { font-size: 36px; }
  .cta-band h2        { font-size: 26px; }
}
