/* GEFCO — design tokens come from the Figma file "GEFCO Website — Wix Skeleton" */
:root {
  --gefco-blue: #014A7F;
  --deep-blue: #012E50;
  --safety-orange: #F36F21;
  --ice: #EEF2F6;
  --concrete: #8B9AA8;
  --white: #FFFFFF;
  --soft: #D6E0E8;

  --font-display: "Barlow Condensed", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;

  --radius: 6px;
  --pill: 999px;
  --edge: max(0px, calc((100vw - 1328px) / 2 - 56px)); /* extra side space so content stops at 1440px on wide screens */
  --gutter: calc(56px + var(--edge));      /* side padding, desktop */
  --section-y: 80px;   /* top/bottom padding, desktop */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
/* Lenis smooth scroll (motion.js) must own scrolling: native smooth scroll fights it and leaves click targets out of sync with the screen */
html.lenis { scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 26px;
  color: var(--deep-blue);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---------- Type ---------- */
.eyebrow {
  font: 700 12px/18px var(--font-body);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--concrete);
}
.h1, .h2 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
}
.h1 { font-size: 128px; line-height: 102px; letter-spacing: -1.8px; }
.h2 { font-size: 56px; line-height: 60px; letter-spacing: -1px; color: var(--gefco-blue); }
.h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  text-transform: uppercase;
}
.body-lg { font-size: 18px; line-height: 28px; }
.body-sm { font-size: 14px; line-height: 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 24px;
  border-radius: var(--pill);
  font: 700 12px/18px var(--font-body);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--gefco-blue); color: var(--white); }
.btn-primary:hover { background: #013a65; }
.btn-inverse { border-color: var(--white); color: var(--white); min-width: 180px; }
.btn-outline { border-color: var(--gefco-blue); color: var(--gefco-blue); }
.btn-outline:hover { background: var(--gefco-blue); color: var(--white); }
.btn-inverse:hover { background: var(--white); color: var(--gefco-blue); }
.link-more {
  font: 700 12px/18px var(--font-body);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gefco-blue);
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 83px;
  padding: 20px var(--gutter);
  background: var(--ice);
  border-bottom: 1px solid var(--concrete);
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
}
body { padding-top: 83px; }
.logo-header { width: 128px; height: 28px; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav a:not(.btn) {
  font: 700 12px/18px var(--font-body);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gefco-blue);
  border-bottom: 2px solid transparent;
  transition: border-color .2s;
}
.nav a:not(.btn):hover { border-bottom-color: var(--safety-orange); }
.nav .btn { height: 42px; letter-spacing: 1.8px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 620px;
  padding: 0 calc(71px + var(--edge));
  background: var(--deep-blue) url("https://static.wixstatic.com/media/1dc6de_d8139136e93046d08924fdbd9574fa9c~mv2.png") center / cover no-repeat;
  color: var(--white);
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(1, 46, 80, .65); }
.hero > * { position: relative; }
.hero .eyebrow { color: var(--safety-orange); padding-bottom: 24px; }
.hero .h1 { max-width: 896px; padding-bottom: 16px; }
.hero .h1 .accent { color: var(--safety-orange); }
.hero p { max-width: 683px; padding-bottom: 40px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero video (home): muted looping clip under the navy tint; desktop only, loaded by script */
.hero > .hero-vid { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity 1s ease; }
.hero > .hero-vid.on { opacity: 1; }
.hero-vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }

/* ---------- Proof strip ---------- */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--concrete);
  padding: 0 var(--edge);
}
.proof > div {
  padding: 32px 40px;
  border-right: 1px solid var(--concrete);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.proof > div:last-child { border-right: 0; }
.proof .big { font: 700 22px/28px var(--font-display); color: var(--gefco-blue); text-transform: uppercase; padding-bottom: 6px; }

/* ---------- About ---------- */
.about {
  display: flex;
  align-items: center;
  gap: 64px;
  padding: var(--section-y) calc(64px + var(--edge));
}
.about > div { flex: 1 1 0; min-width: 0; }
.about .copy { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.about .eyebrow { color: var(--safety-orange); }
.about .h2 { max-width: 454px; }
.about p { max-width: 585px; }
.about .photo { position: relative; }
.about .photo img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--radius); }
.about .photo .tag {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 20px;
  background: var(--gefco-blue);
  color: var(--white);
  border-radius: var(--radius);
}
.about .photo .tag small { font-size: 14px; line-height: 22px; color: rgba(255,255,255,.6); }

/* ---------- Rigs ---------- */
.rigs { background: var(--gefco-blue); padding: var(--section-y) var(--gutter); }
.rigs .eyebrow { color: var(--ice); }
.rigs .h2 { color: var(--white); padding-top: 12px; max-width: 901px; }
.rig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 29px 20px; padding-top: 40px; }
.rig-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 480px;
  background: var(--deep-blue);
  border-radius: var(--radius);
  overflow: hidden;
}
.rig-card .img { position: relative; height: 260px; background: var(--deep-blue); overflow: hidden; }
.rig-card .img img { position: absolute; max-width: none; }
/* Truck is sized to the same width and baseline in every card (measured from each source image) */
.rig-card .img { container-type: size; }
.rig-card .img img { height: auto; }
.rig-card .img img.k30, .rig-card .img img.wt { width: 90.9cqw; left: 4.36cqw; top: calc(83cqh - 46.24cqw); }
.rig-card .img img.fill { width: 98.9cqw; left: 1.25cqw; top: calc(83cqh - 48.2cqw); }
.rig-card .body { display: flex; flex-direction: column; flex: 1; padding: 24px; color: var(--ice); }
.rig-card h3 { color: var(--white); }
.rig-card .sub { padding-top: 2px; }
.rig-card ul { display: flex; flex-direction: column; gap: 6px; padding: 16px 0 20px; }
.rig-card li { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 22px; }
.rig-card li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--safety-orange); flex: none; }
.rig-card .btn { margin-top: auto; align-self: flex-start; }
.rig-card .sub, .rig-card li { color: var(--ice); }
.rig-card.soon .sub, .rig-card.soon li { color: var(--white); }
.badge {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  width: max-content; min-height: 26px;
  padding: 0 12px;
  white-space: nowrap;
  background: var(--safety-orange);
  color: var(--white);
  border-radius: var(--radius);
  font: 700 12px/18px var(--font-body);
  letter-spacing: 1.8px;
}

/* ---------- Field story ---------- */
.field { display: flex; align-items: center; gap: 64px; padding: 96px calc(64px + var(--edge)); background: var(--ice); }
.field .copy { flex: 1 1 0; min-width: 0; }
.field .h2 { padding-top: 20px; }
.field p { padding: 24px 0 32px; max-width: 572px; }
.field .photo { position: relative; flex: 1.2 1 0; min-width: 0; border-radius: var(--radius); overflow: hidden; }
.field .photo img { width: 100%; height: 520px; object-fit: cover; }
.field .photo .cap {
  position: absolute; left: 24px; bottom: 24px;
  padding: 8px 16px;
  background: rgba(1, 74, 127, .9);
  color: var(--white);
  border-radius: var(--radius);
  font: 700 12px/18px var(--font-body);
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

/* ---------- Parts & service ---------- */
.support { padding: var(--section-y) var(--gutter); }
.support .h2 { padding-top: 16px; }
.support .lede { padding-top: 8px; }
.support-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 40px; }
.card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; }
.card .pic { height: 200px; overflow: hidden; position: relative; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; }
.card .txt { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.card .txt p { padding: 8px 0 24px; }
.card .txt .link-more { margin-top: auto; }
.card.parts { background: var(--ice); }
.card.parts .pic img { opacity: .75; }
.card.parts h3 { color: var(--gefco-blue); }
.card.service { background: var(--gefco-blue); color: var(--white); }
.card.service .pic::after { content: ""; position: absolute; inset: 0; background: rgba(1, 46, 80, .42); }
.card.service p { color: var(--concrete); }
.card.service .link-more { color: var(--white); }
.card.school { background: var(--deep-blue); color: var(--white); }
.card.school p { color: rgba(255,255,255,.72); }
.card.school .link-more { color: var(--white); }

/* ---------- News ---------- */
.news { padding: var(--section-y) var(--gutter); }
.news .h2 { padding-top: 16px; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 40px; }
.news-card { display: flex; flex-direction: column; background: var(--ice); border-radius: var(--radius); overflow: hidden; }
.news-card img { width: 100%; height: 200px; object-fit: cover; }
.news-card .txt { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.news-card .title { font-size: 18px; line-height: 28px; color: var(--gefco-blue); padding: 8px 0 24px; }
.news-card .link-more { margin-top: auto; }

/* ---------- Final CTA ---------- */
.cta { background: var(--gefco-blue); padding: 112px calc(64px + var(--edge)); }
.cta .inner { display: flex; align-items: center; gap: 64px; max-width: 1152px; }
.cta .h2 { color: var(--white); flex: 0 0 640px; max-width: 100%; }
.cta p { color: rgba(255,255,255,.78); max-width: 380px; padding-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 48px var(--gutter);
  background: var(--deep-blue);
}
.site-footer .logo-footer { width: 215px; height: 47px; }
.site-footer .loc { color: var(--concrete); font-size: 14px; line-height: 22px; padding-top: 12px; }
.site-footer nav { display: flex; gap: 32px; padding-top: 4px; }
.site-footer nav a { font: 700 12px/18px var(--font-body); letter-spacing: 1.8px; text-transform: uppercase; color: var(--white); }
.site-footer .bea { display: flex; flex-direction: column; gap: 12px; padding-top: 4px; }
.site-footer .bea img { width: 167px; height: 66px; object-fit: cover; }
.site-footer .bea span { color: var(--concrete); font-size: 12px; line-height: 18px; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  :root { --gutter: 32px; --section-y: 64px; }
  body { padding-top: 89px; }
  .h1 { font-size: 88px; line-height: 76px; }
  .h2 { font-size: 44px; line-height: 48px; }
  .hero { padding: 0 var(--gutter); min-height: 520px; }
  .proof { grid-template-columns: repeat(2, 1fr); }
  .proof > div:nth-child(2) { border-right: 0; }
  .proof > div:nth-child(-n+2) { border-bottom: 1px solid var(--concrete); }
  .about, .field { flex-direction: column; align-items: stretch; padding: var(--section-y) var(--gutter); gap: 40px; }
  .rig-grid { grid-template-columns: repeat(2, 1fr); }
  .support-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .cta { padding: var(--section-y) var(--gutter); }
  .cta .inner { flex-direction: column; align-items: flex-start; gap: 32px; }
  .cta .h2 { flex: none; }
  .site-footer { flex-wrap: wrap; }
}

/* ---------- Mobile: 16px sides, 40px top/bottom ---------- */
@media (max-width: 640px) {
  :root { --gutter: 16px; --section-y: 40px; }
  .site-header { padding: 16px; min-height: 68px; }
  body { padding-top: 81px; }
  .h1 { font-size: 56px; line-height: 52px; letter-spacing: -1px; }
  .h2 { font-size: 40px; line-height: 44px; }
  .hero { padding: var(--section-y) var(--gutter); min-height: 480px; }
  .hero .btn { flex: 1 1 100%; }
  .proof { grid-template-columns: 1fr; }
  .proof > div { padding: 24px 16px; border-right: 0; border-bottom: 1px solid var(--concrete); }
  .proof > div:last-child { border-bottom: 0; }
  .about, .field { padding: var(--section-y) var(--gutter); }
  .about .photo img { height: 280px; }
  .field .photo img { height: 320px; }
  .rig-grid, .support-grid, .news-grid { grid-template-columns: 1fr; }
  .cta { padding: var(--section-y) var(--gutter); }
  .site-footer { flex-direction: column; align-items: flex-start; padding: var(--section-y) var(--gutter); }
  .site-footer nav { flex-wrap: wrap; gap: 16px 24px; }
}

/* ---------- Rigs page ---------- */
.nav a[aria-current="page"]:not(.btn) { border-bottom: 2px solid var(--safety-orange); }
.hero-center { align-items: center; text-align: center; min-height: 548px; }
.hero-center .h1 { font-size: 72px; line-height: 72px; letter-spacing: -1px; }
.hero-center p { margin: 0 auto; }
.hero-center .actions { justify-content: center; }
.btn-white { background: var(--white); color: var(--gefco-blue); }
.btn-white:hover { background: var(--ice); }
.intro { background: var(--white); padding: 20px var(--gutter) 24px; }
.intro .h2 { font-size: 40px; line-height: 54px; padding: 4px 0 10px; }
.rc-section { background: var(--ice); padding: 80px var(--gutter) 64px; }
.rc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 22px; }
.rc { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--concrete); border-radius: var(--radius); overflow: hidden; }
.rc .img { position: relative; height: 260px; background: var(--deep-blue); overflow: hidden; container-type: size; }
.rc .img img { position: absolute; max-width: none; height: auto; }
.rc .img img.k30, .rc .img img.wt { width: 90.9cqw; left: 4.36cqw; top: calc(83cqh - 46.24cqw); }
.rc .img img.fill { width: 98.9cqw; left: 1.25cqw; top: calc(83cqh - 48.2cqw); }
.rc .body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 20px; }
.rc .h5 { font-size: 28px; line-height: 34px; color: var(--deep-blue); padding-top: 6px; }
.rc .desc { font-size: 14px; line-height: 22px; padding: 6px 0 16px; }
.stats { display: flex; gap: 40px; background: var(--ice); border-radius: var(--radius); padding: 14px 16px; }
.stats > div { min-width: 0; }
.stats dt { font: 700 10px/16px var(--font-body); letter-spacing: 1.5px; text-transform: uppercase; color: var(--concrete); }
.stats dd { font-size: 14px; line-height: 22px; }
.stats dd.v { font-weight: 700; color: var(--gefco-blue); }
.rc .links { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--concrete); }
.rc .stats { margin-bottom: 24px; }
.compare { background: var(--white); padding: 80px var(--gutter) 48px; }
.compare .h2 { text-align: center; font-size: 40px; line-height: 48px; padding-bottom: 32px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--concrete); border-radius: var(--radius); }
.compare table { width: 100%; min-width: 1000px; border-collapse: collapse; font-size: 13px; line-height: 20px; }
.compare thead th { background: var(--gefco-blue); color: var(--white); text-align: left; font: 700 11px/16px var(--font-body); letter-spacing: 1.5px; text-transform: uppercase; padding: 16px 12px; }
.compare td, .compare tbody th { padding: 18px 12px; text-align: left; vertical-align: middle; }
.compare tbody th { font: 700 21px/26px var(--font-display); text-transform: uppercase; color: var(--gefco-blue); white-space: nowrap; }
.compare tbody tr:nth-child(even) { background: var(--ice); }
.compare tbody tr.hl { background: var(--deep-blue); color: var(--white); }
.compare tbody tr.hl th { color: var(--white); box-shadow: inset 4px 0 0 var(--safety-orange); }
.note { font-size: 12px; line-height: 18px; padding-top: 12px; color: var(--deep-blue); }
.inquiry { background: var(--ice); padding: 80px var(--gutter); }
.inquiry .h2 { padding: 8px 0 8px; font-size: 44px; line-height: 48px; letter-spacing: -.5px; }
.inq-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 32px; padding-top: 40px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 12px; background: var(--white); border-radius: var(--radius); padding: 32px; }
.form input, .form textarea { font: 400 16px/26px var(--font-body); color: var(--deep-blue); background: var(--ice); border: 1px solid var(--concrete); border-radius: var(--radius); padding: 9px 16px; width: 100%; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gefco-blue); outline-offset: 1px; }
.form .btn { align-self: flex-start; margin-top: 8px; }
.sales { background: var(--deep-blue); color: var(--white); border-radius: var(--radius); padding: 32px; }
.sales .h5 { font-size: 28px; line-height: 34px; text-transform: none; padding-bottom: 4px; }
.sales dt { font: 700 12px/18px var(--font-body); letter-spacing: 1.8px; text-transform: uppercase; color: var(--safety-orange); padding-top: 20px; }
.sales dd { font-size: 16px; line-height: 26px; padding-top: 4px; }
.sales a:hover { text-decoration: underline; }
@media (max-width: 1000px) {
  .rc-grid { grid-template-columns: repeat(2, 1fr); }
  .inq-grid { grid-template-columns: 1fr; }
}
.compare .this { display: none; }
.rig-tabs { display: none; }
@media (max-width: 640px) {
  .hero-center { align-items: flex-start; text-align: left; min-height: 466px; }
  .hero-center .h1 { font-size: 48px; line-height: 48px; }
  .hero-center p { margin: 0; }
  .hero-center .actions { flex-direction: column; width: 100%; }
  .hero-center .btn { flex: none; width: 100%; height: 46px; }
  .intro { padding: 48px var(--gutter); }
  .rc-grid { grid-template-columns: 1fr; gap: 16px; }
  .rc-section, .compare, .inquiry { padding: var(--section-y) var(--gutter); }
  .intro .h2, .compare .h2, .inquiry .h2 { font-size: 34px; line-height: 36px; text-align: left; }
  .rc .h5 { font-size: 26px; line-height: 30px; }
  .rc .stats { gap: 16px; }
  .rc .stats > div { flex: 1; }
  .rc .links .btn { flex: 1; min-width: 0; padding: 0 12px; }
  .js .rig-tabs { display: flex; gap: 8px; padding-bottom: 16px; }
  .rig-tabs button { flex: 1; height: 48px; background: var(--white); color: var(--gefco-blue); border: 1.5px solid var(--gefco-blue); border-radius: var(--pill); font: 700 13px/18px var(--font-body); letter-spacing: 1.5px; cursor: pointer; }
  .rig-tabs button[aria-selected="true"] { background: var(--gefco-blue); color: var(--white); }
  .js .compare tbody tr { display: none; }
  .js .compare tbody tr.on { display: block; }
  .table-wrap { overflow: visible; border: 0; }
  .compare table, .compare tbody, .compare tr, .compare th, .compare td { display: block; min-width: 0; width: 100%; }
  .compare thead { display: none; }
  .compare tbody tr, .compare tbody tr:nth-child(even) { background: var(--ice); border: 1px solid var(--concrete); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
  .compare tbody tr.hl { background: var(--deep-blue); border-color: var(--safety-orange); }
  .compare tbody th { display: flex; justify-content: space-between; align-items: center; padding: 0 0 8px; font-size: 26px; line-height: 32px; box-shadow: none !important; }
  .compare .this { display: inline-block; background: var(--safety-orange); color: var(--white); font: 700 10px/16px var(--font-body); letter-spacing: 1.2px; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius); }
  .compare td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid rgba(139,154,168,.4); text-align: right; }
  .compare td::before { content: attr(data-label); flex: none; font: 700 11px/20px var(--font-body); letter-spacing: 1.5px; text-transform: uppercase; color: var(--concrete); text-align: left; }
  .inq-grid { gap: 16px; }
  .form, .sales { padding: 24px 16px; }
  .form .btn { width: 100%; }
  .site-footer { gap: 24px; }
}

/* ---------- Hamburger menu (tablet + mobile) ---------- */
.menu-toggle, .mobile-menu { display: none; }
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-toggle { display: block; position: relative; flex: none; width: 48px; height: 48px; margin: 0 -8px 0 0; padding: 0; background: transparent; border: 0; border-radius: 0; -webkit-appearance: none; appearance: none; -webkit-tap-highlight-color: transparent; cursor: pointer; z-index: 2; }
  .menu-toggle span { display: block; position: absolute; left: 12px; width: 24px; height: 2px; background: #012E50; border-radius: 2px; transition: transform .2s, opacity .2s; }
  .menu-toggle span:nth-child(1) { top: 15px; }
  .menu-toggle span:nth-child(2) { top: 23px; }
  .menu-toggle span:nth-child(3) { top: 31px; }
  .site-header.open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .site-header.open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .mobile-menu { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - 100%); background: var(--white); overflow-y: auto; }
  .site-header.open .mobile-menu { display: block; }
  .mobile-menu > a, .mobile-menu .rig-menu summary { display: flex; align-items: center; justify-content: space-between; min-height: 88px; padding: 0 var(--gutter); border-bottom: 1px solid #dfe5ea; font: 700 16px/20px var(--font-body); letter-spacing: 1.8px; text-transform: uppercase; color: var(--gefco-blue); }
  .mobile-menu a::after { content: "→"; font-size: 20px; letter-spacing: 0; }
  .mobile-menu a:hover, .mobile-menu .rig-menu summary:hover { background: var(--ice); }
}
@media (max-width: 640px) {
  .mobile-menu { height: calc(100vh - 68px); }
  .mobile-menu > a, .mobile-menu .rig-menu summary { min-height: 88px; padding: 0 24px; }
}

/* Rig images: keep card proportional so the truck is never cropped */
.rc .img, .rig-card .img { height: auto; aspect-ratio: 1 / .74; }

/* ---------- Product page template (rig.html) ---------- */
.crumb { display:flex; gap:8px; align-items:center; padding:20px var(--gutter); font:700 12px/18px var(--font-body); letter-spacing:1.8px; text-transform:uppercase; color:var(--concrete); background:var(--white); }
.crumb a:hover { color:var(--gefco-blue); } .crumb b { color:var(--deep-blue); }
.pd-hero { background:var(--ice); }
.pd-stage { position:relative; background:var(--deep-blue); aspect-ratio:100 / 52; container-type:inline-size; overflow:hidden; }
.pd-truck { transition: transform .22s ease, opacity .22s ease; }
.pd-stage.out-l .pd-truck { opacity:0; transform:translateX(-6cqw); }
.pd-stage.out-r .pd-truck { opacity:0; transform:translateX(6cqw); }
.pd-stage.in-l .pd-truck { opacity:0; transform:translateX(6cqw); transition:none; }
.pd-stage.in-r .pd-truck { opacity:0; transform:translateX(-6cqw); transition:none; }
.pd-dots { position:absolute; left:0; right:0; bottom:calc(1cqw + 17px); display:flex; justify-content:center; gap:10px; z-index:3; pointer-events:none; } /* the row is click-through; only the dots catch clicks */
.pd-dots button { pointer-events:auto; position:relative; width:10px; height:10px; padding:0; border-radius:50%; border:1.5px solid #fff; background:transparent; cursor:pointer; }
.pd-dots button::after { content:""; position:absolute; inset:-7px; } /* 24px tap target, same look */
.pd-dots button[aria-current="true"] { background:#fff; }
.pd-floor { position:absolute; left:0; right:0; bottom:0; top:80%; background:linear-gradient(180deg,#012E50 0%,#284A66 55.8%,#5F7285 78.2%,#5F7285 100%); }
.pd-title { position:absolute; top:1.4cqw; z-index:1; left:10cqw; width:80cqw; text-align:center; font-family:var(--font-display); font-weight:800; text-transform:uppercase; font-size:13.15cqw; line-height:13.15cqw; letter-spacing:-.33cqw; color:#fff; opacity:.97; white-space:nowrap; }
.pd-truck { position:absolute; z-index:2; left:-3cqw; top:6.9cqw; width:106cqw; height:44.2cqw; max-width:none; object-fit:contain; pointer-events:none; } /* oversized; never blocks clicks on the arrows/dots */
.pd-arrow { position:absolute; top:calc(50% - 22px); bottom:auto; width:44px; height:44px; display:flex; align-items:center; justify-content:center; border-radius:999px; background:var(--gefco-blue); color:#fff; font:700 22px/1 var(--font-body); z-index:4; transition:background .15s; }
.pd-arrow:hover { background:#013a65; } .pd-prev { left:2.8cqw; } .pd-next { right:2.8cqw; }
.pd-bar { padding:25px var(--gutter) 34px; display:flex; flex-direction:column; align-items:center; gap:4px; }
.pd-stats { display:flex; justify-content:center; padding:16px 0; max-width:100%; }
.pd-stats > div { display:flex; align-items:center; gap:12px; padding:0 24px; border-right:1px solid rgba(0,0,0,.12); color:var(--gefco-blue); }
.pd-stats > div:last-child { border-right:0; }
.pd-stats span { display:flex; flex-direction:column; font:400 16px/26px var(--font-body); color:var(--deep-blue); }
.pd-stats small { font:400 12px/18px var(--font-body); color:var(--concrete); }
.pd-stats .first small { font-size:14px; line-height:22px; color:var(--deep-blue); }
.pd-stats .first b { font:700 28px/34px var(--font-display); }
.pd-bar .actions { display:flex; flex-wrap:wrap; justify-content:center; gap:12px; padding-top:20px; }

.pd-over { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; background:var(--deep-blue); color:var(--white); padding:var(--section-y) var(--gutter); }
.pd-over .eyebrow { color:var(--safety-orange); }
.pd-over .h2 { color:var(--white); padding:12px 0 20px; font-size:48px; line-height:52px; }
.rule { display:block; width:64px; height:4px; background:var(--safety-orange); margin-bottom:24px; }
.pd-list { display:flex; flex-direction:column; gap:12px; padding:28px 0 32px; }
.pd-list li { position:relative; padding-left:28px; }
.pd-list li::before { content:""; position:absolute; left:0; top:13px; width:16px; height:3px; background:var(--safety-orange); }
.pd-over-img img { width:100%; height:auto; object-fit:contain; border-radius:var(--radius); }

.pd-specs { background:var(--white); padding:var(--section-y) var(--gutter); scroll-margin-top:83px; }
.pd-specs .h2 { padding:8px 0 32px; }
.pd-panels { display:grid; grid-template-columns:1fr 1fr; gap:24px; padding-bottom:32px; }
.panel { border:1px solid var(--concrete); border-radius:var(--radius); padding:28px; }
.panel .h5 { color:var(--gefco-blue); padding-bottom:20px; font-size:26px; line-height:30px; }
.panel dl { display:grid; grid-template-columns:1fr 1fr; gap:24px 20px; }
.panel dt { font:700 11px/16px var(--font-body); letter-spacing:1.5px; text-transform:uppercase; color:var(--concrete); }
.panel dd { font:700 18px/24px var(--font-body); color:var(--deep-blue); padding-top:2px; }

.pd-band { background:var(--deep-blue); } .pd-band img { width:100%; height:auto; object-fit:contain; scale:none !important; translate:none !important; } /* full rig, never cropped (also cancels the scroll zoom from motion.js) */
.pd-gallery { background:var(--white); padding:var(--section-y) var(--gutter) 135px; }
.pd-gallery .eyebrow { color:var(--deep-blue); padding-bottom:32px; }
.pd-gal { display:flex; gap:12px; align-items:flex-start; }
.pd-gal .gcol { flex:1 1 0; min-width:0; display:flex; flex-direction:column; gap:12px; }
.pd-gal figure { position:relative; margin:0; overflow:hidden; background:var(--ice); width:100%; }
.pd-gal img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.pd-gal .gcol:nth-child(1) figure:nth-child(1) { aspect-ratio:433.7 / 294; }
.pd-gal .gcol:nth-child(1) figure:nth-child(2) { aspect-ratio:433.5 / 282; }
.pd-gal .gcol:nth-child(2) figure:nth-child(1) { aspect-ratio:433.7 / 192; }
.pd-gal .gcol:nth-child(2) figure:nth-child(2) { aspect-ratio:433 / 384; }
.pd-gal .gcol:nth-child(3) figure:nth-child(1) { aspect-ratio:433.5 / 588; }
.pd-gal figure::after { content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(1,46,80,0) 45%,rgba(1,46,80,.88)); opacity:0; transition:opacity .35s ease; }
.pd-gal figcaption { position:absolute; left:20px; right:20px; bottom:18px; z-index:1; color:#fff; font:800 22px/26px var(--font-display); text-transform:uppercase; opacity:0; transform:translateY(10px); transition:opacity .35s ease, transform .35s ease; }
.pd-gal figcaption::before { content:""; display:block; width:32px; height:3px; background:var(--safety-orange); margin-bottom:8px; }
.pd-gal figure:hover img { transform:scale(1.07); }
.pd-gal figure:hover::after { opacity:1; }
.pd-gal figure:hover figcaption { opacity:1; transform:none; }

.pd-actions { display:grid; grid-template-columns:1fr 1fr; }
.ac { padding:var(--section-y) var(--gutter); display:flex; flex-direction:column; align-items:flex-start; gap:12px; color:var(--white); }
.ac-a { background:var(--gefco-blue); } .ac-b { background:var(--deep-blue); }
.ac-a { padding-right:56px; } .ac-b { padding-left:56px; }
.ac .eyebrow { color:var(--safety-orange); } .ac .h5 { font-size:36px; line-height:40px; } .ac p:not(.eyebrow) { max-width:420px; padding-bottom:12px; }

.pd-why { background:var(--white); padding:var(--section-y) var(--gutter); }
.pd-why .eyebrow { color:var(--deep-blue); padding-bottom:40px; }
.pd-acc { display:flex; flex-direction:column; border-bottom:1px solid var(--concrete); }
.pd-acc details { border-top:1px solid var(--concrete); }
.pd-acc summary { list-style:none; cursor:pointer; display:flex; justify-content:space-between; align-items:center; gap:16px; padding:28px 0; font:800 56px/60px var(--font-display); letter-spacing:-1px; color:var(--gefco-blue); }
.pd-acc summary::-webkit-details-marker { display:none; }
.pd-acc summary::after { content:"+"; font:700 28px/28px var(--font-body); color:var(--concrete); flex:none; padding-right:8px; }
.pd-acc details[open] summary::after { content:"\00D7"; color:var(--safety-orange); }
.pd-acc details[open] summary { padding-bottom:20px; }
.pd-acc details p { position:relative; max-width:672px; padding:20px 0 32px; }
.pd-acc details p::before { content:""; position:absolute; left:0; top:0; width:50px; height:2px; background:var(--safety-orange); }
.pd-why .btn { display:flex; width:max-content; margin:24px auto 0; }
.pd-others .h2 { padding-bottom:32px; }

@media (max-width: 1000px) {
  .pd-gallery { padding-bottom:var(--section-y); }
  .pd-stats { flex-wrap:wrap; row-gap:12px; }
  .pd-over { grid-template-columns:1fr; gap:40px; }
}
@media (max-width: 640px) {
  .crumb { padding:16px; font-size:11px; }
  .pd-stage { aspect-ratio:100 / 80; }
  .pd-floor { top:auto; bottom:0; height:28cqw; }
  .pd-title { top:3.2cqw; left:2cqw; font-size:19cqw; line-height:19cqw; letter-spacing:-.5cqw; width:96cqw; }
  .pd-truck { left:-14cqw; top:13cqw; width:128cqw; height:53.3cqw; object-fit:contain; } /* oversized: side views bleed ~10% past each edge */
  .pd-stage .pd-dots { bottom:8cqw; }
  .pd-arrow { top:auto; bottom:4cqw; width:40px; height:40px; } .pd-prev { left:16px; } .pd-next { right:16px; }
  .pd-bar { padding:20px 16px 32px; }
  .pd-stats { display:grid; grid-template-columns:1fr 1fr; width:100%; gap:16px 0; padding:0; }
  .pd-stats > div { border-right:0; padding:0 8px 0 0; } .pd-stats > div.first { grid-column:1 / -1; }
  .pd-bar .actions { flex-direction:column; width:100%; } .pd-bar .btn { flex:none; width:100%; height:46px; }
  .pd-over .h2 { font-size:34px; line-height:38px; }
  .pd-panels { grid-template-columns:1fr; } .panel { padding:20px; } .panel dl { gap:20px 16px; } .panel dd { font-size:16px; }
  .pd-gal { flex-direction:column; } .pd-gal .gcol { width:100%; } .pd-gal figcaption { left:12px; right:12px; bottom:10px; font-size:16px; line-height:20px; }
  .pd-actions { grid-template-columns:1fr; } .ac-a, .ac-b { padding-left:var(--gutter); padding-right:var(--gutter); } .ac .h5 { font-size:30px; line-height:34px; }
  .pd-specs .h2, .pd-others .h2 { font-size:34px; line-height:36px; }
  .pd-acc summary { font-size:34px; line-height:38px; padding:20px 0; } .pd-acc details p { padding:16px 0 24px; }
  .pd-over .btn, .pd-specs .btn, .ac .btn { width:100%; } .pd-why .btn { width:100%; }
}

/* Gallery "view all" + lightbox */
.pd-gallery #g-all { margin-top:32px; }
.pd-gal figure { cursor:zoom-in; }
.lb[hidden] { display:none; }
.lb { position:fixed; inset:0; z-index:100; background:rgba(1,46,80,.97); display:grid; grid-template-columns:72px 1fr 72px; grid-template-rows:56px 1fr 96px; align-items:center; justify-items:center; }
.lb-x { position:absolute; top:12px; right:20px; width:44px; height:44px; border:0; border-radius:999px; background:transparent; color:#fff; font:400 34px/1 var(--font-body); cursor:pointer; z-index:2; }
.lb-x:hover { background:rgba(255,255,255,.12); }
.lb-count { grid-column:1 / -1; grid-row:1; justify-self:start; padding-left:24px; color:#fff; font:700 12px/18px var(--font-body); letter-spacing:1.8px; }
.lb-stage { grid-column:2; grid-row:2; width:100%; height:100%; min-height:0; display:flex; align-items:center; justify-content:center; }
.lb-stage img { max-width:100%; max-height:100%; object-fit:contain; }
.lb .pd-arrow { position:static; grid-row:2; width:44px; height:44px; border:0; cursor:pointer; }
.lb-p { grid-column:1; } .lb-n { grid-column:3; }
.lb-thumbs { grid-column:1 / -1; grid-row:3; display:flex; gap:8px; max-width:100%; overflow-x:auto; padding:0 24px; }
.lb-thumbs button { flex:none; width:84px; height:56px; padding:0; border:2px solid transparent; background:var(--deep-blue); cursor:pointer; opacity:.55; transition:opacity .2s; }
.lb-thumbs button:hover, .lb-thumbs button[aria-current="true"] { opacity:1; }
.lb-thumbs button[aria-current="true"] { border-color:var(--safety-orange); }
.lb-thumbs img { width:100%; height:100%; object-fit:cover; }
@media (max-width: 640px) {
  .lb { grid-template-columns:1fr; grid-template-rows:56px 1fr 56px 72px; }
  .lb-stage { grid-column:1; padding:0 8px; }
  .lb .pd-arrow { grid-row:3; width:40px; height:40px; } .lb-p { grid-column:1; justify-self:start; margin-left:16px; } .lb-n { grid-column:1; justify-self:end; margin-right:16px; }
  .lb-thumbs { grid-row:4; padding:0 16px; } .lb-thumbs button { width:64px; height:44px; }
  .pd-gallery #g-all { width:100%; }
}
/* Rig product navigation */
.rig-menu { position: relative; }
.rig-menu summary { cursor: pointer; list-style: none; }
.rig-menu summary::-webkit-details-marker { display: none; }
.rig-menu summary::after { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 2px 3px 8px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; rotate: 45deg; }
.rig-menu[open] summary::after { rotate: 225deg; }
.nav .rig-menu summary { font: 700 12px/18px var(--font-body); letter-spacing: 1.8px; text-transform: uppercase; }
.nav .rig-menu summary[aria-current] { text-decoration: underline 2px var(--safety-orange); text-underline-offset: 7px; }
.nav .rig-menu-links { position: absolute; z-index: 2; top: calc(100% + 12px); left: -14px; width: max-content; min-width: 190px; padding: 8px; border-radius: var(--radius); background: var(--white); box-shadow: 0 8px 24px #012e5030; }
.nav .rig-menu-links a { display: block; padding: 9px 10px; }
.mobile-menu .rig-menu { color: inherit; }
.mobile-menu .rig-menu-links { padding-inline-start: 18px; }
.mobile-menu .rig-menu-links a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 0 24px 0 12px; border-bottom: 1px solid #dfe5ea; font: 700 14px/20px var(--font-body); color: var(--gefco-blue); }
.mobile-menu .rig-menu-links a::after { flex: none; }
.mobile-menu:has(.rig-menu[open]) { max-height: calc(100dvh - 84px); overflow-y: auto; }

@media (prefers-reduced-motion: no-preference) {
  .rig-menu[open] > .rig-menu-links {
    animation: rig-menu-slide .24s cubic-bezier(.2,.75,.25,1) both;
  }
  @keyframes rig-menu-slide {
    from { opacity: 0; translate: 0 -8px; }
    to { opacity: 1; translate: 0 0; }
  }
}

[hidden] { display: none !important; }
.nav .rig-menu summary { position: relative; top: 0; color: var(--gefco-blue); border-bottom: 2px solid transparent; }
.nav .rig-menu summary[aria-current] { text-decoration: none; border-bottom-color: var(--safety-orange); }
.nav .rig-menu summary:hover { border-bottom-color: var(--safety-orange); }
.rig-card { min-height: 0; }
.rig-card .h5, .rc .h5 { font-size: clamp(34px, 5vw, 56px); line-height: 1; }
.rig-card .body { min-height: 100px; justify-content: center; }
.rc .body { gap: 16px; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,240px),1fr)); gap: 24px; margin-top: 28px; max-width: 750px; }
.people-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); margin-bottom: 12px; }
.people-grid a { overflow-wrap: anywhere; }

/* Homepage hero eyebrow */
.hero .eyebrow { color: #FFFFFF !important; }

/* Contact card (all forms) */
.sales.cc { background: var(--white); color: var(--deep-blue); border-radius: var(--radius); padding: 40px; }
.sales.cc h3 { font: 600 34px/40px var(--font-display); letter-spacing: 0; color: var(--deep-blue); text-transform: none; padding: 0; }
.cc-person { margin-top: 24px; }
.cc-person + .cc-person { margin-top: 32px; }
.cc-name { font: 700 22px/28px var(--font-display); letter-spacing: .2px; text-transform: none; color: var(--gefco-blue); }
.cc-role { font: 500 16px/26px var(--font-body); color: var(--deep-blue); padding-top: 2px; }
.cc-lines { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; }
.cc-lines li { padding: 0; }
.cc-lines span { display: block; font: 700 12px/18px var(--font-body); letter-spacing: 1.8px; text-transform: uppercase; color: #5a6b7b; }
.cc-lines a, .cc-lines em { font: 400 17px/26px var(--font-body); font-style: normal; color: var(--deep-blue); overflow-wrap: anywhere; }
.cc-lines a:hover { text-decoration: underline; }
.cc-loc { margin-top: 32px; }
.cc-loc p:not(.cc-name) { font: 400 16px/26px var(--font-body); padding-top: 2px; }
@media (max-width: 640px) {
  .sales.cc { padding: 28px 24px; }
  .sales.cc h3 { font-size: 30px; line-height: 36px; }
  .cc-name { font-size: 20px; line-height: 26px; }
}

/* GEFCO NAV ALIGNMENT FIX 2026-12-01 */
/* Align every top-level label by its actual box rather than text baselines. */
@media (min-width: 1001px) {
  .site-header .nav { display: flex; align-items: center; }
  .site-header .nav > .rig-menu { display: flex; align-items: center; height: 42px; }
  .site-header .nav > a:not(.btn),
  .site-header .nav > .rig-menu > summary {
    display: inline-flex; align-items: center; justify-content: center;
    box-sizing: border-box; height: 42px; margin: 0; padding: 0;
    font: 700 12px/18px var(--font-body); letter-spacing: 1.8px;
    text-transform: uppercase; white-space: nowrap; color: var(--gefco-blue);
    border-bottom: 2px solid transparent; vertical-align: middle;
  }
  .site-header .nav > .rig-menu > summary { position: static; }
  .site-header .nav > .rig-menu > summary::after { flex: none; margin: 0 2px 3px 9px; }
  .site-header .nav > a[aria-current="page"]:not(.btn),
  .site-header .nav > .rig-menu > summary[aria-current] { border-bottom-color: var(--safety-orange); }
}

/* GEFCO RIG COMPARISON FEATURES 2026-12-01 */
@media (min-width: 641px) { .compare table { min-width: 1060px; } }
.compare th:last-child, .compare td:last-child { min-width: 240px; }
.compare .rig-main-features { list-style: disc; margin: 0; padding: 0 0 0 18px; display: grid; gap: 6px; }
.compare .rig-main-features li { padding: 0; margin: 0; line-height: 1.45; }
@media (max-width: 640px) {
  .compare th:last-child, .compare td:last-child { min-width: 0; }
  .compare td[data-label="Main Features"] { align-items: flex-start; }
  .compare td[data-label="Main Features"]:empty { display: none; }
  .compare .rig-main-features { max-width: 63%; text-align: left; gap: 6px; }
}

/* Mobile rig comparison containment */
@media (max-width: 640px) {
 .compare, .compare .table-wrap, .compare table, .compare tbody, .compare tbody tr { box-sizing: border-box; min-width: 0; max-width: 100%; }
 .compare table { width: 100%; table-layout: fixed; }
 .compare .rig-tabs { flex-wrap: wrap; }
 .compare .rig-tabs button { min-width: 0; padding-inline: 4px; letter-spacing: .5px; }
 .compare td { min-width: 0; overflow-wrap: anywhere; gap: 10px; }
 .compare td::before { flex: 0 1 42%; min-width: 0; overflow-wrap: anywhere; }
 .compare .rig-main-features { min-width: 0; max-width: 58%; }
}
