/* ==========================================================================
   LiftX — Used Toyota Forklifts | usedtoyotaforklift.co.uk
   Hand-coded static rebuild, matched to the original Divi site.
   Brand: Poppins + orange #ea5f2c
   ========================================================================== */

:root {
  --orange: #ea5f2c;
  --orange-dark: #d24e1f;
  --ink: #1e1e1e;
  --grey: #575757;
  --grey-light: #f2f2f2;     /* Divi card grey */
  --line: #e6e6e6;
  --white: #ffffff;
  --body-ink: rgba(0, 0, 0, 0.8);
  --max: 1180px;
  --radius: 14px;
  --shadow: 0 18px 45px rgba(20, 20, 20, 0.10);
  --shadow-sm: 0 8px 22px rgba(20, 20, 20, 0.07);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  color: var(--body-ink);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Original Divi: all headings are uppercased, Poppins 700, ink #1e1e1e, line-height 1.2em */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}
h2 { font-size: clamp(1.5rem, 4.5vw, 2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.25rem); }
p { color: var(--body-ink); font-size: 17px; line-height: 1.6em; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.wrap--wide { max-width: 1500px; }
/* company-logo treatment for the top trust cards (LiftX / Locators / Toyota) */
.point .card-logo { display: flex; align-items: center; justify-content: center; height: 64px; margin: 0 auto 18px; }
.point .card-logo img { max-height: 46px; max-width: 78%; width: auto; object-fit: contain; }
/* original orange shield icons for the remaining trust cards */
.point .ic-shield { width: 52px; height: 52px; margin: 0 auto 18px; }
.point .ic-shield img { width: 100%; height: 100%; object-fit: contain; display: block; }
.section { padding: 100px 0; }
.section--tint { background: var(--grey-light); }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #c0461a; margin-bottom: 14px;
}
.center { text-align: center; }
.lead { font-size: 17px; line-height: 1.6em; color: var(--body-ink); max-width: 1000px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- buttons (Divi global .et_pb_button) ----------
   solid orange, white text, uppercase, bold, 5px radius, rectangular,
   no icon. padding 0.3em 1em (+2px vertical on hero buttons). */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-weight: 700; text-transform: uppercase; text-decoration: none;
  font-size: 20px; line-height: 1.1; padding: 11px 30px; border-radius: 5px;
  border: 1px solid transparent; cursor: pointer;
  transition: background .18s ease, box-shadow .18s ease, color .18s ease;
}
.btn--primary { background: var(--orange); border-color: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
/* "Speak to Locators" uses the same orange treatment in the original */
.btn--dark { background: var(--orange); border-color: var(--orange); color: var(--white); }
.btn--dark:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn--outline { background: var(--orange); border-color: var(--orange); color: var(--white); }
.btn--outline:hover { background: var(--orange-dark); border-color: var(--orange-dark); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.65); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 15px; }
.center .btn-row { justify-content: center; }

/* ---------- top banner (grey #575757, h6 white 17px uppercase 700) ---------- */
.topbar {
  background: #575757; color: #fff; text-align: center;
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 17px; font-weight: 700; text-transform: uppercase;
  padding: 12px 16px; line-height: 1.3;
}

/* ---------- header (white bar, 85% content width centered) ---------- */
.site-header {
  background: #ffffff;
  border-bottom: 0;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 35px;
  width: 90%; max-width: none; margin: 0 auto; padding: 35px 0;
}
.brand { display: flex; align-items: center; }
.brand img { width: 250px; max-width: 250px; height: auto; }
.nav { display: flex; align-items: center; gap: 35px; margin-left: auto; }
.nav a {
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  font-size: 17px; font-weight: 700; color: rgba(0,0,0,0.8);
  text-transform: uppercase; transition: color .15s ease;
}
.nav a:hover { color: var(--orange); }
/* separate solid-orange CONTACT button to the right of the nav */
.nav a.nav-cta {
  background: var(--orange); border: 1px solid var(--orange); color: #fff;
  border-radius: 5px; padding: 0.4em 1.1em; font-weight: 700;
}
.nav a.nav-cta:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; text-align: center;
  padding: 155px 0;
  background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.6) 100%),
              url("../img/hero.jpg") center/cover no-repeat;
}
.hero h1 {
  width: 900px; max-width: 100%; margin: 0 auto 0;
  color: #fff; font-weight: 700; text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 2.5rem); line-height: 1.2em;
}
.hero .trust {
  display: flex; flex-direction: row; flex-wrap: wrap;
  justify-content: center; align-items: center; gap: 14px 30px;
  padding: 15px 0 35px; margin: 0;
}
.hero .trust li {
  display: flex; align-items: center; gap: 9px; list-style: none;
  font-weight: 700; font-size: 18px; text-transform: uppercase; color: #fff;
}
.hero .trust svg { color: #fff; flex: none; }
.hero .btn-row { justify-content: center; align-items: center; gap: 15px; }
/* hero buttons: larger text, tighter vertical padding for a chunkier look */
.hero .btn { padding: 11px 30px; font-size: 20px; }

/* ---------- orange CTA band (USED FORKLIFTS / VIEW RANGE) ---------- */
.cta-band {
  background: linear-gradient(180deg, rgba(234,95,44,.8) 0%, rgba(234,95,44,.8) 100%),
              url("../img/cta-used.jpg") center/cover no-repeat;
  margin-top: 10px;
  padding: 80px 0;
  text-align: center;
}
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.cta-band h2 {
  color: #fff; text-transform: uppercase; font-weight: 700;
  font-size: clamp(1.5rem, 4.5vw, 2rem); line-height: 1.2em; margin: 0;
}
.cta-band .cta-link {
  color: #fff; text-transform: uppercase; font-size: 17px; font-weight: 500;
}
.cta-band .cta-link:hover { text-decoration: underline; }

/* ---------- stock marquee (full-bleed, infinite smooth scroll) ---------- */
.marquee-section { padding: 10px 0; }
.marquee { width: 100%; overflow: hidden; }
.marquee-track {
  display: flex; width: max-content;
  animation: marquee-scroll 42s linear infinite;
}
.marquee-track img {
  height: 320px; width: auto; flex: none; margin-right: 18px;
  border-radius: 0; display: block;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }
@media (max-width: 640px) { .marquee-track img { height: 220px; margin-right: 12px; } }

/* ---------- why choose / two-col ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.split .media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split .copy h2 { color: var(--ink); }
.split .copy .lead { text-align: left; }
.badge-line {
  display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line);
  padding: 12px 18px; border-radius: 999px; font-weight: 500; color: var(--ink); box-shadow: var(--shadow-sm);
  margin-top: 22px; font-size: 15px;
}
.badge-line strong { color: var(--orange); }

/* ---------- trust points grid (grey #f2f2f2 cards, 3 per row) ---------- */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 14px; }
.point {
  background: var(--grey-light); border: 0; border-radius: 0; padding: 50px 40px;
  text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.point .ic {
  width: 50px; height: 50px; border-radius: 12px; background: rgba(234,95,44,.12); color: var(--orange);
  display: grid; place-items: center; margin-bottom: 16px;
}
.point h3 { font-size: clamp(1.25rem, 3vw, 1.25rem); margin-bottom: 8px; color: var(--ink); }
.point p { font-size: 17px; font-weight: 500; line-height: 1.6em; color: var(--body-ink); }

/* ---------- callout — "If we don't have it in stock" (grey split) ---------- */
.section--callout { background: var(--grey-light); padding: 150px 0; }
.callout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.callout-split .pic {
  background: center/cover no-repeat;
  border-radius: 0; overflow: hidden;
}
.callout-split .pic img { width: 100%; height: 480px; object-fit: cover; display: block; }
.callout-copy { padding: 25px 0; }
.callout-copy h2 { color: var(--ink); margin-bottom: 18px; }
.callout-copy p { margin-bottom: 16px; }
.callout-copy ul.bullets { list-style: none; margin: 0 0 24px; padding: 0; }
.callout-copy ul.bullets li {
  position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 17px; line-height: 1.6em; color: var(--body-ink);
}
.callout-copy ul.bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px;
  background: var(--orange); border-radius: 2px;
}

/* ---------- locators / partner (dark photo overlay, white text) ---------- */
.section--locators {
  background: linear-gradient(180deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.6) 100%),
              url("../img/locators-bg.jpg") center/cover no-repeat;
  color: #fff; padding: 150px 0; text-align: center;
}
.section--locators .partner-logo { width: 250px; max-width: 250px; height: auto; margin: 0 auto 20px; }
.section--locators h2 { color: #fff; max-width: none; margin: 0 auto 16px; }
.section--locators p { color: #fff; max-width: none; margin: 0 auto 16px; }
.section--locators .btn-row { justify-content: center; margin-top: 8px; }

/* ---------- sell steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.step {
  text-align: center; padding: 50px 40px; background: var(--grey-light); border: 0; border-radius: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.step img { width: 50px; height: 50px; object-fit: contain; margin: 0 auto 18px; }
.step h3 { margin-bottom: 8px; color: var(--ink); }
.step p { font-size: 17px; line-height: 1.6em; color: var(--body-ink); }
.sell-contact { margin-top: 30px; font-size: 17px; }
.sell-contact a { color: var(--orange); font-weight: 700; }

/* ---------- view our stock ---------- */
/* ---------- view our stock (full-width orange band) ---------- */
.stock-band { background: var(--orange); padding: 40px 0; }
.stock-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.stock-band .stock-logo { height: 60px; width: auto; margin: 0; flex: none; filter: brightness(0) invert(1); }
.stock-band h2 { color: #fff; margin: 0; flex: 1; text-align: center; }
.stock-btns { display: flex; flex-direction: column; gap: 12px; flex: none; }
.stock-btn { background: #fff; border-color: #fff; color: var(--orange); }
.stock-btn:hover { background: rgba(255,255,255,.88); border-color: rgba(255,255,255,.88); color: var(--orange); }
@media (max-width: 767px) {
  .stock-band-inner { flex-direction: column; gap: 18px; }
  .stock-btns { flex-direction: column; align-self: stretch; }
  .stock-btns .stock-btn { width: 100%; }
}

/* ---------- quality you can see + thumbnail ---------- */
.quality { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.quality .copy h2 { color: var(--ink); margin-bottom: 14px; }
.quality .copy p { margin-bottom: 14px; }
.quality .copy ul.bullets { list-style: none; margin: 0 0 24px; padding: 0; }
.quality .copy ul.bullets li {
  position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 17px; line-height: 1.6em; color: var(--body-ink);
}
.quality .copy ul.bullets li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 9px; height: 9px;
  background: var(--orange); border-radius: 2px;
}
.quality .thumb img { width: 100%; border-radius: 0; box-shadow: var(--shadow); }

/* ---------- feature grid (4 icon cards) ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 90px; }
.feature {
  text-align: center; padding: 56px 30px; background: var(--grey-light);
  box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature .ic {
  width: 72px; height: 72px; border-radius: 18px; background: var(--orange); color: #fff;
  display: grid; place-items: center; margin: 0 auto 24px; box-shadow: 0 12px 24px rgba(234,95,44,.32);
}
.feature .ic svg { width: 32px; height: 32px; }
.feature h3 { font-size: 1.45rem; margin-bottom: 12px; color: var(--ink); }
.feature p { font-size: 17px; line-height: 1.6em; color: var(--body-ink); }

/* ---------- contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 360px 1fr; gap: 46px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.contact-card {
  display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm);
}
.contact-card .ic { width: 52px; height: 52px; flex: none; border-radius: 12px; background: rgba(234,95,44,.12); display: grid; place-items: center; }
.contact-card .ic img { width: 24px; height: 24px; }
.contact-card small { display: block; color: var(--grey); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-card a, .contact-card strong { font-size: 1.05rem; font-weight: 700; color: var(--ink); text-transform: none; }
.contact-card a:hover { color: var(--orange); }
.form-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; box-shadow: var(--shadow-sm); min-height: 640px; }
.form-panel iframe { width: 100%; border: 0; min-height: 620px; }
.contact-grid h2 { color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: #fff; border-top: 6px solid var(--orange); }
.footer-main { padding: 56px 0 48px; text-align: center; }
.footer-logo { width: 250px; max-width: 100%; height: auto; margin: 0 auto 22px; }
.footer-links { font-weight: 700; text-transform: uppercase; font-size: 17px; color: var(--ink); }
.footer-links a { color: var(--ink); }
.footer-links a:hover { color: var(--orange); }
.footer-links .sep { color: var(--orange); margin: 0 8px; }
.footer-bar { background: var(--orange); color: #fff; text-align: center; padding: 16px 22px; font-weight: 700; text-transform: uppercase; font-size: 15px; letter-spacing: .04em; }

/* ---------- responsive ---------- */
/* Collapse the menu to a hamburger drawer at <=980px (matches original Divi breakpoint) */
@media (max-width: 980px) {
  .site-header { position: relative; }
  .header-inner { width: 92%; padding: 22px; gap: 16px; }
  .brand img { width: 200px; }
  .nav-toggle { display: block; margin-left: auto; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; margin-left: 0;
    background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    padding: 12px 18px 20px; box-shadow: var(--shadow); z-index: 60;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav a { padding: 13px 12px; border-radius: 8px; font-size: 16px; }
  .nav a.nav-cta { text-align: center; margin-top: 6px; }
}
@media (max-width: 920px) {
  .split, .quality, .callout-split { grid-template-columns: 1fr; gap: 34px; }
  .callout-split .pic { order: 2; }
  .callout-split .pic img { height: 340px; }
  .points { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 70px 0; }
  .section--callout, .section--locators { padding: 100px 0; }
}
@media (max-width: 767px) {
  .header-inner { width: 100%; padding: 18px 22px; }
  .hero h1 { font-size: clamp(1.6rem, 7vw, 2.5rem); }
  .hero .btn { font-size: 17px; }
  .hero .btn-row { flex-direction: column; }
  .steps, .points, .features { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .section--callout, .section--locators { padding: 100px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}
