:root {
  --ink: #17191c;
  --muted: #5c626b;
  --paper: #f7f7f4;
  --panel: #ffffff;
  --line: #ddd8cf;
  --orange: #f05a19;
  --orange-dark: #b83f10;
  --green: #7ab33b;
  --charcoal: #25282c;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(20px, 4vw, 54px);
  background: rgba(247, 247, 244, 0.92);
  border-bottom: 1px solid rgba(23, 25, 28, 0.08);
  backdrop-filter: blur(14px);
}

.brand img {
  width: clamp(260px, 29vw, 390px);
  height: auto;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 6px;
}

.site-nav a:hover { background: rgba(240, 90, 25, 0.12); }

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.language-switch a,
.language-switch button {
  min-width: 38px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.language-switch a[aria-current="true"],
.language-switch button[aria-pressed="true"] {
  background: var(--orange);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  padding: 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 46% center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(15, 17, 19, 0.88) 0%, rgba(15, 17, 19, 0.62) 43%, rgba(15, 17, 19, 0.08) 100%),
    linear-gradient(0deg, rgba(15, 17, 19, 0.62) 0%, rgba(15, 17, 19, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 150px 0 54px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.hero-lead {
  max-width: 650px;
  font-size: clamp(18px, 2.2vw, 22px);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border-radius: 6px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary { background: var(--orange); color: #fff; }
.button.primary:hover { background: var(--orange-dark); }
.button.secondary { color: #fff; border-color: rgba(255, 255, 255, 0.48); }
.button.secondary:hover { background: rgba(255, 255, 255, 0.12); }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(760px, 100%);
  margin: 34px 0 0;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-facts div {
  padding: 16px;
  background: rgba(23, 25, 28, 0.42);
}

.hero-facts dt {
  font-size: 12px;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 2px 0 0;
  font-weight: 700;
}

.section { padding: clamp(64px, 9vw, 112px) 0; }
.intro-band {
  padding: 42px 0;
  background: var(--ink);
  color: #fff;
}

.intro-grid,
.about-grid,
.cert-grid,
.contact-grid,
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 6vw, 74px);
  align-items: start;
}

.intro-grid p:last-child {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.section-heading {
  width: min(760px, 100%);
  margin-bottom: 34px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.offer-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(23, 25, 28, 0.08);
}

.offer-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.offer-card img.offer-image-maintenance {
  object-fit: cover;
  object-position: center center;
}

.offer-card img.offer-image-attachments {
  object-position: 62% center;
}

.offer-card div { padding: 24px; }
.offer-card p { color: var(--muted); }
.offer-card ul,
.trust-panel ul {
  padding-left: 18px;
  margin: 18px 0 0;
}

.offer-card li,
.trust-panel li { margin: 9px 0; }

.process {
  background: #ece8df;
}

.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.steps li {
  background: var(--paper);
  padding: 26px;
  min-height: 220px;
}

.steps span {
  color: var(--orange);
  font-weight: 900;
  font-size: 13px;
}

.steps p { color: var(--muted); }

.about {
  background: var(--panel);
}

.about p { color: var(--muted); font-size: 18px; }

.trust-panel {
  border-left: 6px solid var(--orange);
  background: var(--paper);
  padding: 30px;
  border-radius: 8px;
}

.brands {
  padding: 42px 0;
  background: var(--charcoal);
  color: #fff;
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  background: transparent;
}

.brand-logo-card {
  grid-column: span 3;
  min-height: 124px;
  display: grid;
  place-items: center;
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.brand-logo-card:nth-child(n+5) {
  grid-column: span 4;
}

.brand-logo-card img {
  width: 100%;
  max-width: 210px;
  max-height: 74px;
  object-fit: contain;
  image-rendering: auto;
}

.brand-logo-card img[alt="Genie"],
.brand-logo-card img[alt="JLG"],
.brand-logo-card img[alt="SMP"] {
  max-height: 82px;
}

.brand-logo-card img[alt="SMP"] {
  max-width: 180px;
}

.brand-logo-card img[alt="JLG"] {
  max-width: 175px;
  max-height: 68px;
}

.brand-logo-card img[alt="Merlo"],
.brand-logo-card img[alt="Kobelco"],
.brand-logo-card img[alt="Manitou"] {
  max-width: 270px;
  max-height: 96px;
}

.brand-copy {
  max-width: 880px;
  margin: 24px auto 0;
  color: rgba(255, 255, 255, 0.76);
  text-align: center;
  font-size: 17px;
}

.faq {
  background: var(--panel);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 920px);
  justify-content: center;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 14px 32px rgba(23, 25, 28, 0.07);
}

.faq-item summary {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 22px;
  font-weight: 900;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(240, 90, 25, 0.12);
  color: var(--orange);
  font-size: 22px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.certifications {
  background: var(--paper);
}

.certifications p { color: var(--muted); font-size: 18px; }

.cert-carousel {
  position: relative;
  overflow: hidden;
  padding: 8px 0 18px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 88%, transparent 100%);
}

.cert-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: cert-scroll 32s linear infinite;
}

.cert-carousel:hover .cert-track {
  animation-play-state: paused;
}

.cert-slide {
  width: clamp(260px, 28vw, 360px);
  flex: 0 0 auto;
  display: grid;
  gap: 10px;
  padding: 10px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 18px 42px rgba(23, 25, 28, 0.1);
  cursor: zoom-in;
  font: inherit;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease;
}

.cert-slide img {
  width: 100%;
  aspect-ratio: 1.42 / 1;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid rgba(23, 25, 28, 0.1);
  background: #fff;
}

.cert-slide span {
  display: block;
  min-height: 24px;
  font-size: 14px;
  font-weight: 900;
  color: var(--ink);
}

.cert-slide:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
}

.cert-slide:focus-visible {
  outline: 3px solid rgba(240, 90, 25, 0.38);
  outline-offset: 3px;
}

.cert-lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 24px;
}

.cert-lightbox.is-open {
  display: grid;
}

.cert-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(17, 19, 21, 0.78);
  backdrop-filter: blur(8px);
  cursor: zoom-out;
}

.cert-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(1080px, 96vw);
  max-height: 92vh;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.cert-lightbox__dialog img {
  width: 100%;
  max-height: calc(92vh - 92px);
  object-fit: contain;
  border-radius: 5px;
  background: #fff;
}

.cert-lightbox__dialog p {
  margin: 0;
  color: var(--ink);
  font-weight: 900;
}

.cert-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 6px;
  background: rgba(23, 25, 28, 0.92);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.cert-lightbox__close:hover {
  background: var(--orange);
}

body.lightbox-open {
  overflow: hidden;
}

@keyframes cert-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 9px)); }
}

.contact {
  background: var(--ink);
  color: #fff;
}

.contact p { color: rgba(255, 255, 255, 0.76); font-size: 18px; }

.contact-intro {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  font-style: normal;
}

.contact-logo {
  width: 100%;
  max-width: 560px;
  justify-self: center;
  padding: 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32), 0 18px 40px rgba(0, 0, 0, 0.22);
}

.contact-downloads {
  display: grid;
  gap: 12px;
  align-content: start;
  width: min(100%, 420px);
  margin-top: 8px;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-downloads h3 {
  margin: 0;
  color: #fff;
  font-size: 22px;
}

.download-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
}

.contact-details {
  display: grid;
  gap: 10px;
}

.contact-card strong { font-size: 22px; }
.contact-card a {
  color: #fff;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 24px 0;
  background: #111315;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  align-items: center;
}

.footer-grid span:last-child {
  text-align: right;
}

@media (max-width: 920px) {
  .site-header { padding: 10px 20px; }
  .brand img { width: 300px; max-height: 34px; }
  .language-switch {
    margin-left: auto;
  }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    left: 20px;
    right: 20px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(23, 25, 28, 0.18);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 14px; }
  .hero { min-height: 88vh; }
  .hero-image { object-position: 42% center; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(15, 17, 19, 0.92) 0%, rgba(15, 17, 19, 0.72) 66%, rgba(15, 17, 19, 0.34) 100%),
      linear-gradient(0deg, rgba(15, 17, 19, 0.7) 0%, rgba(15, 17, 19, 0) 48%);
  }
  .hero-facts,
  .intro-grid,
  .about-grid,
  .faq-grid,
  .cert-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    display: grid;
  }
  .contact-intro {
    display: contents;
  }
  .contact-intro .eyebrow,
  .contact-intro h2,
  .contact-intro p {
    grid-column: 1;
  }
  .contact-card {
    order: 1;
  }
  .contact-downloads {
    order: 2;
    width: 100%;
    margin-top: 0;
  }
  .offer-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .brand-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .footer-grid span:last-child { text-align: left; }
}

@media (max-width: 560px) {
  .site-header {
    gap: 8px;
    padding: 10px 14px;
  }
  .brand img {
    width: 184px;
    max-height: 26px;
  }
  .language-switch {
    padding: 2px;
  }
  .language-switch a,
  .language-switch button {
    min-width: 31px;
    height: 28px;
    padding: 0 6px;
    font-size: 12px;
  }
  .nav-toggle {
    width: 38px;
    height: 38px;
    padding: 8px;
  }
  .site-nav {
    left: 14px;
    right: 14px;
    top: 62px;
  }
  .container,
  .hero-content {
    width: min(calc(100% - 28px), var(--max));
  }
  .hero-content { padding-bottom: 32px; }
  .hero-facts { grid-template-columns: 1fr; }
  .brand-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brand-copy {
    text-align: left;
    font-size: 16px;
  }
  .faq-item summary {
    min-height: 0;
    padding: 18px;
  }
  .faq-item p {
    padding: 0 18px 18px;
  }
  .brand-logo-card {
    min-height: 108px;
    padding: 18px;
  }
  .brand-logo-card img {
    max-width: 170px;
    max-height: 66px;
  }
  .brand-logo-card img[alt="Genie"],
  .brand-logo-card img[alt="JLG"],
  .brand-logo-card img[alt="SMP"] {
    max-height: 72px;
  }
  .brand-logo-card--wide {
    grid-column: 1 / -1;
  }
  .brand-logo-card--wide img {
    max-width: 220px;
  }
  .button { width: 100%; }
  .offer-card div,
  .trust-panel,
  .contact-card,
  .steps li {
    padding: 22px;
  }
  .brand img {
    width: 230px;
    max-height: 28px;
  }
  .contact-card {
    grid-template-columns: 1fr;
  }
  .contact-logo {
    max-width: 100%;
  }
}

/* Strong brand-grid overrides kept at the end to avoid stale earlier rules winning. */
.brands .brand-strip {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 16px !important;
  background: transparent !important;
}

.brands .brand-logo-card {
  grid-column: span 3 !important;
  min-height: 132px !important;
  display: grid !important;
  place-items: center !important;
  padding: 24px !important;
  background: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-radius: 8px !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2) !important;
}

.brands .brand-logo-card:nth-child(n+5) {
  grid-column: span 4 !important;
}

.brands .brand-logo-card img {
  width: 100% !important;
  max-width: 230px !important;
  max-height: 84px !important;
  object-fit: contain !important;
}

.brands .brand-logo-card img[alt="SMP"] {
  max-width: 190px !important;
}

.brands .brand-logo-card img[alt="JLG"] {
  max-width: 175px !important;
  max-height: 68px !important;
}

.brands .brand-logo-card img[alt="Merlo"],
.brands .brand-logo-card img[alt="Kobelco"],
.brands .brand-logo-card img[alt="Manitou"] {
  max-width: 270px !important;
  max-height: 96px !important;
}

@media (max-width: 920px) {
  .brands .brand-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .brands .brand-logo-card,
  .brands .brand-logo-card:nth-child(n+5) {
    grid-column: span 1 !important;
  }

  .brands .brand-logo-card--wide {
    grid-column: 1 / -1 !important;
  }

  .brands .brand-strip > .brand-logo-card:last-child {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 760px) {
  .brands .brand-logo-card {
    min-height: 112px !important;
    padding: 18px !important;
  }

  .brands .brand-logo-card--wide {
    grid-column: 1 / -1 !important;
  }

  .brands .brand-strip > .brand-logo-card:last-child {
    grid-column: 1 / -1 !important;
  }

  .brands .brand-logo-card--wide img {
    max-width: 250px !important;
  }

  .brands .brand-logo-card img[alt="JLG"] {
    max-width: 145px !important;
  }

  .brands .brand-logo-card img[alt="Merlo"],
  .brands .brand-logo-card img[alt="Kobelco"],
  .brands .brand-logo-card img[alt="Manitou"] {
    max-width: 210px !important;
    max-height: 78px !important;
  }
}
