 :root {
  --bg: #f5f7fb;
  --panel: #ffffff;
  --ink: #17315e;
  --muted: #5f6f86;
  --line: #dbe4ef;
  --brand: #163e9b;
  --brand-dark: #0f2d72;
  --accent: #7abd31;
  --navy: #102d73;
  --navy-2: #163e9b;
  --soft: #edf3fb;
  --success: #7abd31;
  --shadow: 0 24px 70px rgba(20, 61, 153, 0.14);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(22, 62, 155, 0.14), transparent 36rem),
    radial-gradient(circle at top right, rgba(122, 189, 49, 0.14), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #ffffff 100%);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.site-shell {
  width: min(100%, 1540px);
  margin: 0 auto;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 100;
  width: min(calc(100% - 32px), var(--max));
  margin: 16px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px;
  border: 1px solid rgba(217, 224, 232, 0.9);
  border-radius: 999px;
  background: #ffffff;
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(20, 61, 153, 0.10);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-logo-wrap {
  display: grid;
  place-items: center;
  width: 118px;
  height: 56px;
  padding: 8px 12px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: none;
  border: 1px solid #ffffff;
}

.brand-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-copy {
  display: grid;
}

.brand strong {
  display: block;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.brand small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
}


.hero-logo-plaque {
  position: absolute;
  right: 24px;
  top: 24px;
  display: grid;
  place-items: center;
  width: 180px;
  padding: 14px;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: none;
  border: 1px solid #ffffff;
  z-index: 3;
}

.hero-logo-plaque img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-logo-wrap {
  width: 150px;
  height: 72px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(237, 243, 251, 0.95);
}

.nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--brand-dark);
  font-size: 0.88rem;
  font-weight: 700;
}

.nav a:hover {
  background: white;
  color: var(--ink);
}

.top-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  background: linear-gradient(135deg, #ffd45a, var(--brand));
  color: var(--ink);
  box-shadow: 0 14px 30px rgba(245, 179, 1, 0.32);
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.secondary-btn {
  background: linear-gradient(135deg, var(--accent), #6aa92a);
  color: white;
}

.ghost-btn {
  background: white;
  color: var(--brand-dark);
  border: 1px solid rgba(22, 62, 155, 0.14);
}

.large {
  min-height: 54px;
  padding: 0 24px;
}

.full {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 15px;
  background: var(--soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: var(--ink);
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 48px;
  align-items: center;
  padding: 92px 0 42px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 770px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.89;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
  line-height: 1.16;
  letter-spacing: -0.035em;
}

p {
  color: var(--muted);
  line-height: 1.72;
}

.hero-text {
  max-width: 640px;
  font-size: 1.14rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #3b4655;
  font-size: 0.86rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border: 1px solid rgba(217, 224, 232, 0.85);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(16, 24, 32, 0.92), rgba(26, 38, 53, 0.98)),
    radial-gradient(circle at 80% 12%, rgba(245, 179, 1, 0.3), transparent 18rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, black 0%, transparent 80%);
}

.crane-scene {
  position: absolute;
  inset: 0;
}

.sun {
  position: absolute;
  right: 46px;
  top: 44px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.95), rgba(122, 189, 49, 0.14) 68%, transparent 69%);
  opacity: 0.92;
}

.crane-mast {
  position: absolute;
  left: 158px;
  bottom: 138px;
  width: 24px;
  height: 270px;
  border-radius: 12px;
  background: var(--accent);
  transform: skewX(-8deg);
  box-shadow: 0 0 50px rgba(122, 189, 49, 0.18);
}

.crane-boom {
  position: absolute;
  left: 174px;
  bottom: 390px;
  width: 330px;
  height: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #c7e57a);
  transform: rotate(-26deg);
  transform-origin: left center;
}

.hook-line {
  position: absolute;
  left: 385px;
  bottom: 225px;
  width: 2px;
  height: 190px;
  background: rgba(255, 255, 255, 0.8);
}

.hook {
  position: absolute;
  left: 374px;
  bottom: 205px;
  width: 24px;
  height: 24px;
  border: 4px solid var(--accent);
  border-top: 0;
  border-radius: 0 0 16px 16px;
}

.load-box {
  position: absolute;
  left: 318px;
  bottom: 146px;
  display: grid;
  place-items: center;
  width: 132px;
  height: 62px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.truck-base {
  position: absolute;
  left: 84px;
  bottom: 94px;
  width: 280px;
  height: 54px;
  border-radius: 18px 18px 8px 8px;
  background: #eef2f6;
}

.truck-cab {
  position: absolute;
  left: 314px;
  bottom: 94px;
  width: 92px;
  height: 82px;
  border-radius: 24px 24px 10px 10px;
  background: var(--accent);
}

.wheel {
  position: absolute;
  bottom: 66px;
  width: 54px;
  height: 54px;
  border: 9px solid #0b1117;
  border-radius: 50%;
  background: #344054;
}

.wheel-one { left: 128px; }
.wheel-two { left: 304px; }

.ground-line {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 62px;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.metric-card {
  position: absolute;
  z-index: 2;
  width: 218px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  color: white;
}

.metric-card span {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.metric-card strong {
  font-size: 1.05rem;
}

.metric-one {
  left: 24px;
  top: 24px;
}

.metric-two {
  right: 24px;
  bottom: 24px;
}

.trust-strip {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto 44px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.trust-strip div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #ffffff;
}

.trust-strip strong,
.trust-strip span {
  display: block;
}

.trust-strip strong {
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.trust-strip span {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.section {
  padding: 70px 0;
}

.section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.left {
  margin-left: 0;
  text-align: left;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 45px rgba(16, 24, 32, 0.055);
}

.featured-card {
  background: linear-gradient(150deg, var(--brand), var(--navy));
  color: white;
}

.featured-card p {
  color: rgba(255, 255, 255, 0.72);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 36px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 900;
}

.featured-card .card-icon {
  background: var(--accent);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.text-link {
  display: inline-flex;
  margin-top: 8px;
  color: var(--brand-dark);
  font-weight: 900;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.industry-grid div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(16, 24, 32, 0.045);
}

.dark-panel {
  width: min(calc(100% - 32px), var(--max));
  padding: 56px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 100% 0%, rgba(122, 189, 49, 0.24), transparent 26rem),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: white;
  box-shadow: var(--shadow);
}

.dark-panel p {
  color: rgba(255, 255, 255, 0.72);
}

.dark-panel .eyebrow {
  color: var(--mercor-green-dark);
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(115, 184, 57, 0.36);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-step {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
}

.process-step span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--navy);
  font-weight: 900;
}

.safety-card {
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--navy), var(--brand));
  color: white;
  box-shadow: var(--shadow);
}

.safety-card h3 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 0.98;
}

.safety-card ul,
.quote-checklist ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.safety-card li,
.quote-checklist li {
  position: relative;
  padding-left: 30px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.45;
}

.safety-card li::before,
.quote-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 30px;
}

.mini-stats div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

.mini-stats strong,
.mini-stats span {
  display: block;
}

.mini-stats strong {
  color: var(--brand-dark);
  font-size: 1.6rem;
}

.mini-stats span {
  color: var(--muted);
  font-weight: 800;
  font-size: 0.85rem;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-tags span {
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.04);
}

.quote-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: start;
}

.quote-copy {
  position: sticky;
  top: 120px;
}

.quote-checklist {
  margin-top: 28px;
  padding: 26px;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: white;
}

.quote-checklist li {
  color: rgba(255, 255, 255, 0.75);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: #344054;
  font-size: 0.88rem;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 15px;
  background: white;
  color: var(--ink);
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(22, 62, 155, 0.12);
}

textarea {
  resize: vertical;
}

.form-note {
  margin: -4px 0 0;
  font-size: 0.82rem;
  line-height: 1.5;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

details {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}

summary {
  cursor: pointer;
  font-weight: 900;
  letter-spacing: -0.02em;
}

details p {
  margin: 14px 0 0;
}

.footer {
  width: min(calc(100% - 32px), var(--max));
  margin: 20px auto 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) 0.7fr 0.7fr;
  gap: 34px;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, var(--navy), var(--brand));
  color: white;
}

.footer p,
.footer small,
.footer span {
  color: rgba(255, 255, 255, 0.62);
}

.footer-links,
.footer-contact {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer a:hover {
  color: var(--brand);
}

.sticky-cta {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 150;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  width: min(calc(100% - 28px), 440px);
  overflow: hidden;
  border: 1px solid rgba(217, 224, 232, 0.9);
  border-radius: 999px;
  background: rgba(16, 45, 115, 0.95);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  box-shadow: 0 18px 50px rgba(16, 24, 32, 0.24);
}

.sticky-cta a {
  padding: 15px 10px;
  color: white;
  font-size: 0.88rem;
  font-weight: 900;
  text-align: center;
}

.sticky-cta a + a {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 1040px) {
  .top-actions {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: grid;
  }

  .nav a {
    padding: 14px 16px;
  }

  .hero,
  .split-section,
  .reverse,
  .quote-section {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

  .cards,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-copy {
    position: static;
  }

  .footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .topbar {
    top: 10px;
    width: min(calc(100% - 20px), var(--max));
  }

  .brand small {
    display: none;
  }

  .hero {
    padding-top: 58px;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.6rem);
  }

  .hero-actions,
  .form-row,
  .trust-strip,
  .cards,
  .process-grid,
  .mini-stats,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-visual {
    min-height: 400px;
  }

  .metric-card {
    width: auto;
    max-width: 200px;
  }

  .metric-one {
    top: 16px;
    left: 16px;
  }

  .metric-two {
    right: 16px;
    bottom: 16px;
  }

  .crane-mast {
    left: 88px;
    bottom: 118px;
    height: 210px;
  }

  .crane-boom {
    left: 104px;
    bottom: 320px;
    width: 250px;
  }

  .hook-line {
    left: 260px;
    bottom: 190px;
    height: 134px;
  }

  .hook {
    left: 249px;
    bottom: 172px;
  }

  .load-box {
    left: 207px;
    bottom: 116px;
    width: 112px;
  }

  .truck-base {
    left: 44px;
    bottom: 74px;
    width: 215px;
  }

  .truck-cab {
    left: 238px;
    bottom: 74px;
    width: 76px;
  }

  .wheel {
    bottom: 47px;
  }

  .wheel-one { left: 78px; }
  .wheel-two { left: 232px; }

  .section {
    padding: 52px 0;
  }

  .dark-panel {
    padding: 28px;
  }

  .quote-form,
  .safety-card,
  .footer {
    padding: 24px;
  }

  .sticky-cta {
    display: grid;
  }
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 22px;
  background: #ffffff;
}

.footer-brand .brand-copy strong {
  color: var(--brand-dark);
}

.footer-brand .brand-copy small {
  color: var(--muted);
  opacity: 1;
}

@media (max-width: 720px) {
  .brand-logo-wrap {
    width: 102px;
    height: 50px;
    padding: 7px 10px;
  }

  .hero-logo-plaque {
    right: 16px;
    top: 16px;
    width: 136px;
    padding: 10px;
  }
}


/* ===== Mercor v2 refinements: realistic hero, button colours, hover + scroll animation ===== */

:root {
  --mercor-blue: #0a328a;
  --mercor-blue-2: #163e9b;
  --mercor-green: #73b839;
  --mercor-green-dark: #5f9f27;
  --mercor-charcoal: #26364d;
}

/* Logo lockups */
.brand-logo-wrap {
  width: 126px;
  height: 58px;
  padding: 8px 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid #ffffff;
  box-shadow: none;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy strong {
  color: var(--mercor-blue);
  font-size: 1.02rem;
}

.topbar {
  background: #ffffff;
  border-color: rgba(10, 50, 138, 0.10);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  padding: 14px 16px;
  border-radius: 22px;
  background: #ffffff;
}

.footer-logo-wrap {
  width: 150px;
  height: 72px;
}


.footer-brand .brand-copy small {
  color: var(--muted);
  opacity: 1;
}

/* Updated button system: clean solid colour, no gradients */
.primary-btn {
  background: var(--mercor-green);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(115, 184, 57, 0.26);
}

.primary-btn:hover {
  background: var(--mercor-green-dark);
  box-shadow: 0 20px 42px rgba(115, 184, 57, 0.34);
}

.secondary-btn {
  background: var(--mercor-blue);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(10, 50, 138, 0.20);
}

.secondary-btn:hover {
  background: var(--mercor-blue-2);
  box-shadow: 0 20px 42px rgba(10, 50, 138, 0.28);
}

.ghost-btn {
  background: #ffffff;
  color: var(--mercor-blue);
  border: 1px solid rgba(10, 50, 138, 0.16);
}

.ghost-btn:hover {
  background: #f3f7fd;
}

/* Cleaner, more realistic hero media panel */
.hero-visual.hero-media {
  position: relative;
  min-height: 560px;
  padding: 18px;
  border: 1px solid rgba(10, 50, 138, 0.10);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 18% 10%, rgba(115, 184, 57, 0.10), transparent 18rem),
    linear-gradient(180deg, #ffffff 0%, #f3f7fd 100%);
  box-shadow: 0 28px 78px rgba(10, 50, 138, 0.14);
  overflow: visible;
}

.hero-visual.hero-media::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(10, 50, 138, 0.07), transparent 48%);
  pointer-events: none;
}

.hero-photo-card {
  position: relative;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(10, 50, 138, 0.10);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.photo-header {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(10, 50, 138, 0.10);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.photo-header span {
  color: var(--mercor-blue);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-header strong {
  color: var(--mercor-charcoal);
  font-size: 0.88rem;
}

.hero-site-image {
  position: absolute;
  inset: 58px 0 -8px;
  width: 100%;
  height: calc(100% - 38px);
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.8s ease;
}

.hero-visual.hero-media:hover .hero-site-image {
  transform: scale(1.055);
}

.media-stat {
  position: absolute;
  z-index: 4;
  width: 230px;
  padding: 18px;
  border: 1px solid rgba(10, 50, 138, 0.11);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 42px rgba(10, 50, 138, 0.14);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.media-stat:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 58px rgba(10, 50, 138, 0.18);
}

.media-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--mercor-green);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-stat strong {
  color: var(--mercor-blue);
  font-size: 1rem;
  line-height: 1.28;
}

.media-stat-top {
  left: -18px;
  bottom: 92px;
}

.media-stat-bottom {
  right: -18px;
  bottom: 26px;
}

/* Hover polish */
.card,
.industry-grid div,
.area-tags span,
details,
.trust-strip div,
.mini-stats div,
.process-step,
.quote-form,
.safety-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}

.card:hover,
.industry-grid div:hover,
.area-tags span:hover,
details:hover,
.trust-strip div:hover,
.mini-stats div:hover {
  transform: translateY(-7px);
  border-color: rgba(10, 50, 138, 0.18);
  box-shadow: 0 20px 48px rgba(10, 50, 138, 0.10);
}

.process-step:hover {
  transform: translateY(-7px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}

.safety-card:hover,
.quote-form:hover {
  transform: translateY(-4px);
}

.nav a {
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.nav a:hover {
  transform: translateY(-1px);
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cards .card,
.process-grid .process-step,
.industry-grid div,
.area-tags span,
.faq-grid details {
  transition-delay: calc(var(--stagger, 0) * 60ms);
}

@keyframes float-soft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.media-stat-top {
  animation: float-soft 5.8s ease-in-out infinite;
}

.media-stat-bottom {
  animation: float-soft 6.6s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1040px) {
  .hero-visual.hero-media {
    min-height: 520px;
  }

  .hero-photo-card {
    min-height: 480px;
  }

  .media-stat-top {
    left: 20px;
    bottom: 92px;
  }

  .media-stat-bottom {
    right: 20px;
    bottom: 26px;
  }
}

@media (max-width: 720px) {
  .brand-logo-wrap {
    width: 104px;
    height: 50px;
    padding: 7px 10px;
  }

  .brand-copy strong {
    font-size: 0.98rem;
  }

  .hero-visual.hero-media {
    min-height: 430px;
    padding: 12px;
  }

  .hero-photo-card {
    min-height: 404px;
    border-radius: 22px;
  }

  .photo-header {
    left: 14px;
    right: 14px;
    top: 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .photo-header strong {
    font-size: 0.78rem;
  }

  .hero-site-image {
    inset: 80px 0 -18px;
    height: calc(100% - 54px);
  }

  .media-stat {
    width: 190px;
    padding: 14px;
  }

  .media-stat-top {
    left: 14px;
    bottom: 74px;
  }

  .media-stat-bottom {
    right: 14px;
    bottom: 14px;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-logo-wrap {
    width: 128px;
    height: 62px;
  }
}

/* ===== Mercor v3: stronger accents, stock photo system, varied scroll motion, cleaner header ===== */
:root {
  --mercor-blue: #0a328a;
  --mercor-blue-2: #123f9d;
  --mercor-green: #73b839;
  --mercor-green-dark: #5f9f27;
  --mercor-slate: #24364f;
  --mercor-light-green: rgba(115, 184, 57, 0.13);
}

.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(10, 50, 138, 0.09);
  box-shadow: 0 18px 54px rgba(10, 50, 138, 0.10);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 146px;
  height: 66px;
  padding: 7px 10px;
  border-radius: 0;
  background: #ffffff;
  border-color: #ffffff;
}

.brand-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  min-height: 66px;
}

.brand-wordmark {
  display: block;
  width: auto;
  height: 31px;
  object-fit: contain;
  transform: translateY(1px);
}

.brand small,
.footer-brand small {
  display: none !important;
}

.nav {
  gap: 2px;
  padding: 4px;
  background: #f4f7fb;
  border: 1px solid rgba(10, 50, 138, 0.06);
}

.nav a {
  position: relative;
  overflow: hidden;
  padding: 10px 14px;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: var(--mercor-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin: 0 0 18px;
  padding: 8px 12px;
  border: 1px solid rgba(115, 184, 57, 0.26);
  border-radius: 999px;
  background: var(--mercor-light-green);
  color: var(--mercor-green-dark);
  box-shadow: 0 10px 22px rgba(115, 184, 57, 0.08);
}

.section-heading .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.section-heading.left .eyebrow,
.split-section > div .eyebrow,
.quote-copy .eyebrow {
  margin-left: 0;
  margin-right: 0;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mercor-green);
  box-shadow: 0 0 0 5px rgba(115, 184, 57, 0.16);
}

.primary-btn,
.secondary-btn,
.ghost-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  letter-spacing: -0.01em;
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1), box-shadow 0.28s ease, background 0.28s ease, color 0.28s ease, border-color 0.28s ease;
}

.primary-btn {
  background: var(--mercor-blue);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(10, 50, 138, 0.24);
}

.secondary-btn {
  background: var(--mercor-green);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(115, 184, 57, 0.24);
}

.ghost-btn {
  background: #ffffff;
  color: var(--mercor-blue);
  border: 1px solid rgba(10, 50, 138, 0.14);
  box-shadow: 0 10px 24px rgba(10, 50, 138, 0.06);
}

.primary-btn::after,
.secondary-btn::after,
.ghost-btn::after {
  content: "";
  position: absolute;
  inset: -42% auto -42% -60%;
  z-index: -1;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(18deg);
  transition: left 0.55s ease;
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-4px) scale(1.025);
}

.primary-btn:hover {
  background: var(--mercor-blue-2);
  box-shadow: 0 24px 54px rgba(10, 50, 138, 0.30);
}

.secondary-btn:hover {
  background: var(--mercor-green-dark);
  box-shadow: 0 24px 54px rgba(115, 184, 57, 0.30);
}

.ghost-btn:hover {
  background: #f6f9fd;
  border-color: rgba(10, 50, 138, 0.25);
  box-shadow: 0 18px 40px rgba(10, 50, 138, 0.12);
}

.primary-btn:hover::after,
.secondary-btn:hover::after,
.ghost-btn:hover::after {
  left: 118%;
}

.primary-btn:active,
.secondary-btn:active,
.ghost-btn:active {
  transform: translateY(-1px) scale(0.99);
}

.hero-visual.hero-media {
  min-height: 585px;
  padding: 16px;
  background: #ffffff;
  border-color: rgba(10, 50, 138, 0.10);
  box-shadow: 0 34px 90px rgba(10, 50, 138, 0.16);
}

.hero-visual.hero-media::before {
  inset: 16px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(10, 50, 138, 0.02), rgba(10, 50, 138, 0.16)),
    radial-gradient(circle at 80% 18%, rgba(115, 184, 57, 0.18), transparent 20rem);
  z-index: 2;
}

.hero-photo-card {
  min-height: 552px;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: none;
}

.hero-site-image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96) contrast(1.02);
  transform: scale(1.01);
}

.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 0%, rgba(10, 50, 138, 0.48) 100%),
    linear-gradient(90deg, rgba(10, 50, 138, 0.12), transparent 48%);
  pointer-events: none;
}

.photo-header {
  z-index: 3;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 16px 42px rgba(10, 50, 138, 0.14);
}

.media-stat {
  z-index: 5;
}

.media-stat-top {
  left: -22px;
  bottom: 112px;
}

.media-stat-bottom {
  right: -22px;
  bottom: 34px;
}

.stock-showcase {
  padding-top: 54px;
}

.stock-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.stock-card {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(10, 50, 138, 0.10);
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(10, 50, 138, 0.10);
  transition: transform 0.36s cubic-bezier(.2,.8,.2,1), box-shadow 0.36s ease, border-color 0.36s ease;
}

.stock-card-large {
  min-height: 430px;
}

.stock-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.015);
  transition: transform 0.9s ease, filter 0.36s ease;
}

.stock-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(6, 27, 74, 0.82) 100%);
  pointer-events: none;
}

.stock-card div {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.stock-card span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(115, 184, 57, 0.92);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.stock-card strong {
  display: block;
  max-width: 360px;
  color: #ffffff;
  font-size: 1.15rem;
  line-height: 1.24;
  letter-spacing: -0.035em;
}

.stock-card:hover {
  transform: translateY(-10px);
  border-color: rgba(115, 184, 57, 0.38);
  box-shadow: 0 32px 76px rgba(10, 50, 138, 0.18);
}

.stock-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.04) contrast(1.05);
}

.card,
.industry-grid div,
.area-tags span,
details,
.trust-strip div,
.mini-stats div,
.process-step,
.quote-form,
.safety-card,
.footer,
.dark-panel {
  will-change: transform, opacity;
}

.reveal,
.motion-item {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.82s ease, transform 0.82s cubic-bezier(.2,.8,.2,1);
}

.reveal-left,
.motion-left {
  transform: translateX(-46px);
}

.reveal-right,
.motion-right {
  transform: translateX(46px);
}

.reveal-up,
.motion-up {
  transform: translateY(36px);
}

.reveal-down,
.motion-down {
  transform: translateY(-28px);
}

.reveal.is-visible,
.motion-item.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

.cards .card,
.process-grid .process-step,
.industry-grid div,
.area-tags span,
.faq-grid details,
.stock-grid .stock-card,
.trust-strip div,
.mini-stats div {
  transition-delay: calc(var(--stagger, 0) * 70ms);
}

.card:hover,
.industry-grid div:hover,
.area-tags span:hover,
details:hover,
.trust-strip div:hover,
.mini-stats div:hover {
  transform: translateY(-9px) scale(1.01);
}

.dark-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(115, 184, 57, 0.28), transparent 26rem),
    linear-gradient(135deg, var(--mercor-blue), var(--mercor-blue-2));
}

.footer {
  background: linear-gradient(135deg, #082766, var(--mercor-blue));
}

.footer-brand {
  align-items: center;
  padding: 12px 16px;
}


@media (max-width: 1040px) {
  .stock-grid {
    grid-template-columns: 1fr;
  }

  .stock-card,
  .stock-card-large {
    min-height: 360px;
  }

  .hero-visual.hero-media {
    min-height: 520px;
  }

  .hero-photo-card {
    min-height: 488px;
  }
}

@media (max-width: 720px) {
  .topbar {
    border-radius: 26px;
  }

  .brand {
    gap: 8px;
    align-items: center;
  }

  .brand-logo-wrap {
    width: 116px;
    height: 54px;
    padding: 6px 8px;
  }

  .brand-copy {
    min-height: 54px;
  }

  .brand-wordmark {
    height: 24px;
    transform: translateY(1px);
  }

  .hero-visual.hero-media {
    min-height: 430px;
    padding: 12px;
  }

  .hero-photo-card {
    min-height: 404px;
  }

  .hero-site-image {
    inset: 0;
    height: 100%;
  }

  .media-stat-top {
    left: 14px;
    bottom: 80px;
  }

  .media-stat-bottom {
    right: 14px;
    bottom: 14px;
  }

  .stock-card,
  .stock-card-large {
    min-height: 320px;
  }

  .footer-brand {
    width: fit-content;
  }
}

/* Make the "How it works" eyebrow visible on the blue process section while keeping the same green badge style */
.dark-panel .section-heading.left .eyebrow {
  position: relative;
  z-index: 3;
  border-color: rgba(115, 184, 57, 0.44);
  background: rgba(255, 255, 255, 0.96);
  color: var(--mercor-green-dark);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
}

.dark-panel .section-heading.left .eyebrow::before {
  background: var(--mercor-green);
  box-shadow: 0 0 0 5px rgba(115, 184, 57, 0.16);
}


/* Division switcher beside logo */
.brand-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px;
  border: 1px solid rgba(10, 50, 138, 0.10);
  border-radius: 999px;
  background: #f4f7fb;
}

.brand-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--mercor-blue);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
}

.brand-tab:hover {
  transform: translateY(-2px);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(10, 50, 138, 0.10);
}

.brand-tab.active {
  background: var(--mercor-blue);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(10, 50, 138, 0.20);
}

.footer-division-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 18px;
}

.footer-division-tabs .brand-tab {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

.footer-division-tabs .brand-tab.active,
.footer-division-tabs .brand-tab:hover {
  background: #ffffff;
  color: var(--mercor-blue);
}

.transport-hero .hero-site-image {
  object-fit: cover;
  object-position: center;
  filter: none;
}

.page-transport .hero-photo-card::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.01) 0%, rgba(10, 50, 138, 0.18) 100%),
    linear-gradient(90deg, rgba(10, 50, 138, 0.08), transparent 54%);
}

.page-transport .featured-card {
  background: linear-gradient(150deg, var(--mercor-blue), #102d73);
}

.page-transport .primary-btn {
  background: var(--mercor-blue);
  box-shadow: 0 16px 34px rgba(10, 50, 138, 0.24);
}

.page-transport .primary-btn:hover {
  background: #102d73;
  box-shadow: 0 20px 42px rgba(10, 50, 138, 0.32);
}

.page-transport .secondary-btn {
  background: var(--mercor-green);
  box-shadow: 0 16px 34px rgba(115, 184, 57, 0.24);
}

.page-transport .secondary-btn:hover {
  background: var(--mercor-green-dark);
}

@media (max-width: 1120px) {
  .brand-switch {
    order: 2;
  }
}

@media (max-width: 720px) {
  .topbar {
    display: grid;
    grid-template-columns: auto auto;
    gap: 10px;
  }

  .brand-switch {
    grid-column: 1 / -1;
    order: 3;
    justify-content: center;
    width: 100%;
  }

  .brand-tab {
    flex: 1;
    min-height: 42px;
  }
}

/* Cranes page refresh: focused content, real photos and credibility strip */
.page-cranes .cranes-brand-logo-wrap {
  width: clamp(190px, 21vw, 280px);
  height: 70px;
  padding: 7px 10px;
}

.page-cranes .cranes-footer-logo-wrap {
  width: 260px;
  height: 92px;
}

.hero-logo-lockup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(430px, 100%);
  margin: 0 0 22px;
  padding: 18px 24px;
  border: 1px solid rgba(10, 50, 138, 0.08);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(10, 50, 138, 0.10);
}

.hero-logo-lockup img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.compact-hero .hero-text {
  max-width: 590px;
}

.client-marquee-section {
  width: min(calc(100% - 32px), var(--max));
  margin: 26px auto 44px;
  padding: 24px;
  border: 1px solid rgba(10, 50, 138, 0.10);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 16% 20%, rgba(115, 184, 57, 0.18), transparent 20rem),
    linear-gradient(135deg, #ffffff 0%, #f5f8fc 100%);
  box-shadow: 0 24px 64px rgba(10, 50, 138, 0.12);
  overflow: hidden;
}

.client-marquee-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.client-marquee-heading .eyebrow {
  margin: 0;
  flex: 0 0 auto;
}

.client-marquee-heading strong {
  color: var(--mercor-blue);
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  text-align: right;
}

.client-marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
}

.client-marquee::before,
.client-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 90px;
  pointer-events: none;
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0));
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #f5f8fc, rgba(255, 255, 255, 0));
}

.client-track {
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  animation: client-roll 42s linear infinite;
}

.client-marquee:hover .client-track {
  animation-play-state: paused;
}

.client-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(10, 50, 138, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--mercor-blue);
  font-size: 0.92rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(10, 50, 138, 0.08);
}

@keyframes client-roll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.service-cards-tight {
  grid-template-columns: repeat(4, 1fr);
}

.service-cards-tight .card {
  min-height: 230px;
}

.photo-showcase {
  padding-top: 54px;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 310px;
  gap: 18px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border: 1px solid rgba(10, 50, 138, 0.10);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 22px 58px rgba(10, 50, 138, 0.13);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.photo-card-large {
  grid-row: span 2;
}

.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease, filter 0.35s ease;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(10, 50, 138, 0.72) 100%),
    linear-gradient(90deg, rgba(10, 50, 138, 0.18), transparent 52%);
  pointer-events: none;
}

.photo-card div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: grid;
  gap: 6px;
  color: #ffffff;
}

.photo-card span {
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.photo-card strong {
  max-width: 420px;
  font-size: clamp(1.12rem, 2vw, 1.55rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.photo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 76px rgba(10, 50, 138, 0.18);
}

.photo-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.06) contrast(1.04);
}

.company-details-section {
  padding-top: 50px;
}

.company-details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.company-detail {
  display: grid;
  gap: 8px;
  min-height: 112px;
  padding: 22px;
  border: 1px solid rgba(10, 50, 138, 0.10);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(10, 50, 138, 0.07);
}

.company-detail-wide {
  grid-column: span 3;
}

.company-detail span {
  color: var(--mercor-green-dark);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-detail strong {
  color: var(--mercor-blue);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.page-cranes .hero-site-image {
  object-position: center center;
}

@media (max-width: 1040px) {
  .service-cards-tight {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-grid,
  .company-details-grid {
    grid-template-columns: 1fr 1fr;
  }

  .company-detail-wide {
    grid-column: span 2;
  }

  .photo-card-large {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 720px) {
  .page-cranes .cranes-brand-logo-wrap {
    width: 176px;
    height: 58px;
  }

  .hero-logo-lockup {
    width: 100%;
    padding: 14px 18px;
    border-radius: 20px;
  }

  .client-marquee-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-marquee-heading strong {
    text-align: left;
  }

  .client-pill {
    min-height: 42px;
    padding: 0 16px;
    font-size: 0.84rem;
  }

  .service-cards-tight,
  .photo-grid,
  .company-details-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-auto-rows: 340px;
  }

  .photo-card-large,
  .company-detail-wide {
    grid-column: span 1;
  }

  .photo-card {
    min-height: 340px;
  }
}


/* v12: v8 Cranes design preserved; header WhatsApp text button replaced by icon-only button */
.whatsapp-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 999px;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.28);
  transition: transform 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}

.whatsapp-icon-btn svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

.whatsapp-icon-btn:hover {
  transform: translateY(-3px) scale(1.04);
  background: #1fbd5a;
  box-shadow: 0 20px 42px rgba(37, 211, 102, 0.36);
}

.top-actions {
  flex: 0 0 auto;
  white-space: nowrap;
}

.top-actions .ghost-btn {
  min-height: 44px;
}

@media (max-width: 1040px) {
  .whatsapp-icon-btn {
    display: none;
  }
}


/* v13: corrected Cranes page markup and compact header logo sizing */
.page-cranes .topbar {
  width: min(calc(100% - 32px), 1360px);
  gap: 12px;
}

.page-cranes .cranes-brand-logo-wrap {
  width: clamp(150px, 16vw, 235px);
  height: 64px;
  padding: 6px 10px;
}

.page-cranes .cranes-brand-logo-wrap .brand-logo,
.page-cranes .cranes-footer-logo-wrap .brand-logo {
  object-fit: contain;
}

.page-cranes .top-actions {
  display: inline-flex;
  flex: 0 0 auto;
}

.page-cranes .whatsapp-icon-btn {
  display: inline-flex;
}

@media (max-width: 1220px) {
  .page-cranes .top-actions {
    display: none;
  }

  .page-cranes .nav-toggle {
    display: block;
  }

  .page-cranes .topbar .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow);
  }

  .page-cranes .topbar .nav.open {
    display: grid;
  }

  .page-cranes .topbar .nav a {
    padding: 14px 16px;
  }
}

@media (max-width: 720px) {
  .page-cranes .cranes-brand-logo-wrap {
    width: 176px;
    height: 58px;
  }
}



/* v22: Transport page refresh with matching header, concise content and real photos */
.page-transport .topbar {
  width: min(calc(100% - 32px), 1360px);
  gap: 12px;
}

.page-transport .transport-brand-logo-wrap {
  width: clamp(150px, 16vw, 235px);
  height: 64px;
  padding: 6px 10px;
}

.page-transport .transport-brand-logo-wrap .brand-logo {
  object-fit: contain;
}

.page-transport .top-actions {
  display: inline-flex;
  flex: 0 0 auto;
}

.page-transport .whatsapp-icon-btn {
  display: inline-flex;
}

.page-transport .hero-site-image {
  object-fit: cover;
  object-position: center;
}

.page-transport .photo-card img {
  object-position: center;
}

.page-transport .company-detail a {
  color: var(--mercor-blue);
  text-decoration: none;
}

.page-transport .company-detail a:hover {
  color: var(--mercor-green-dark);
}

@media (max-width: 1220px) {
  .page-transport .top-actions {
    display: none;
  }

  .page-transport .nav-toggle {
    display: block;
  }

  .page-transport .topbar .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: white;
    box-shadow: var(--shadow);
  }

  .page-transport .topbar .nav.open {
    display: grid;
  }

  .page-transport .topbar .nav a {
    padding: 14px 16px;
  }
}

@media (max-width: 720px) {
  .page-transport .transport-brand-logo-wrap {
    width: 176px;
    height: 58px;
  }
}



/* v23: requested header, animation and mobile refinements */
.page-cranes .topbar,
.page-transport .topbar {
  position: sticky;
  top: 12px;
  z-index: 1000;
}

.page-transport .transport-brand-logo-wrap {
  width: clamp(190px, 21vw, 280px);
  height: 70px;
  padding: 7px 10px;
}

.page-transport .transport-brand-logo-wrap .brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Mobile-only optimisation. Desktop layout remains unchanged. */
@media (max-width: 900px) {
  html {
    scroll-padding-top: 150px;
  }

  .site-shell {
    overflow-x: clip;
  }

  .topbar,
  .page-cranes .topbar,
  .page-transport .topbar {
    top: 8px;
    width: min(calc(100% - 20px), var(--max));
    margin-top: 8px;
    padding: 10px;
    border-radius: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .page-cranes .cranes-brand-logo-wrap,
  .page-transport .transport-brand-logo-wrap {
    width: min(62vw, 220px);
    height: 58px;
    padding: 6px 8px;
  }

  .brand-switch {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .brand-tab {
    flex: 1;
    min-height: 42px;
    padding-inline: 14px;
    text-align: center;
  }

  .nav-toggle {
    display: block;
    justify-self: end;
  }

  .top-actions {
    display: none !important;
  }

  .nav,
  .page-cranes .topbar .nav,
  .page-transport .topbar .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--shadow);
  }

  .nav.open,
  .page-cranes .topbar .nav.open,
  .page-transport .topbar .nav.open {
    display: grid;
  }

  .nav a,
  .page-cranes .topbar .nav a,
  .page-transport .topbar .nav a {
    justify-content: center;
    padding: 14px 16px;
    min-height: 46px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 62px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(3.1rem, 15vw, 5.1rem);
    line-height: 0.93;
  }

  .hero-text {
    max-width: 100%;
    font-size: 1.02rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-media {
    min-height: auto;
  }

  .hero-photo-card {
    min-height: 430px;
  }

  .media-stat {
    position: relative;
    inset: auto;
    margin-top: -56px;
    max-width: calc(100% - 28px);
  }

  .media-stat-bottom {
    margin-left: auto;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .section {
    padding-top: 72px;
  }

  .section-heading {
    align-items: flex-start;
    text-align: left;
  }

  .section-heading h2 {
    font-size: clamp(2.3rem, 10vw, 3.4rem);
  }

  .service-cards,
  .service-cards-tight,
  .cards {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(320px, 72vw);
    gap: 14px;
  }

  .photo-card-large,
  .company-detail-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .photo-card {
    min-height: 320px;
  }

  .photo-card strong {
    font-size: clamp(1.25rem, 6vw, 1.7rem);
  }

  .client-marquee-section {
    width: min(calc(100% - 20px), var(--max));
    margin-top: 16px;
    padding: 18px;
    border-radius: 28px;
  }

  .client-marquee-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .client-marquee-heading strong {
    text-align: left;
  }

  .company-details-grid {
    grid-template-columns: 1fr;
  }

  .quote-section {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: left;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }

  .footer-division-tabs {
    width: 100%;
  }

  .sticky-cta {
    display: grid;
  }
}

@media (max-width: 520px) {
  .page-cranes .cranes-brand-logo-wrap,
  .page-transport .transport-brand-logo-wrap {
    width: min(58vw, 185px);
    height: 52px;
  }

  .brand-switch {
    padding: 4px;
  }

  .brand-tab {
    min-height: 40px;
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 16vw, 4.2rem);
  }

  .hero-logo-lockup {
    padding: 12px 14px;
  }

  .hero-photo-card {
    min-height: 360px;
    border-radius: 30px;
  }

  .photo-header {
    left: 14px;
    right: 14px;
    top: 14px;
    gap: 10px;
  }

  .photo-card {
    border-radius: 28px;
  }

  .company-detail,
  .quote-form,
  .quote-checklist {
    padding: 18px;
  }

  .sticky-cta {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
}



/* v24: exact matching sticky headers/logos and clean hero photos */
html {
  scroll-padding-top: 116px;
}

body {
  overflow-x: hidden;
}

.site-shell {
  overflow: visible;
}

.topbar,
.page-cranes .topbar,
.page-transport .topbar {
  position: sticky;
  top: 0;
  z-index: 5000;
  width: min(calc(100% - 32px), 1360px);
  height: 96px;
  min-height: 96px;
  margin: 0 auto;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
}

.page-cranes .cranes-brand-logo-wrap,
.page-transport .transport-brand-logo-wrap {
  width: 280px;
  height: 70px;
  padding: 7px 10px;
  flex: 0 0 280px;
  box-sizing: border-box;
}

.page-cranes .cranes-brand-logo-wrap .brand-logo,
.page-transport .transport-brand-logo-wrap .brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-photo-card::after,
.page-transport .hero-photo-card::after {
  display: none;
}

.hero-photo-card .photo-header,
.hero-media .media-stat,
.hero-visual.hero-media .media-stat {
  display: none !important;
}

.hero-photo-card .hero-site-image,
.page-cranes .hero-photo-card .hero-site-image,
.page-transport .hero-photo-card .hero-site-image {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.hero-visual.hero-media:hover .hero-site-image {
  transform: scale(1.045);
}

@media (max-width: 1220px) {
  .page-cranes .topbar,
  .page-transport .topbar {
    height: auto;
    min-height: 86px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 150px;
  }

  .topbar,
  .page-cranes .topbar,
  .page-transport .topbar {
    top: 0;
    width: min(calc(100% - 20px), 1360px);
    height: auto;
    min-height: 84px;
    margin: 0 auto;
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
  }

  .page-cranes .cranes-brand-logo-wrap,
  .page-transport .transport-brand-logo-wrap {
    width: min(62vw, 220px);
    height: 58px;
    padding: 6px 8px;
    flex: initial;
  }

  .hero-photo-card .hero-site-image,
  .page-cranes .hero-photo-card .hero-site-image,
  .page-transport .hero-photo-card .hero-site-image {
    inset: 0;
    height: 100%;
  }
}

@media (max-width: 520px) {
  .page-cranes .cranes-brand-logo-wrap,
  .page-transport .transport-brand-logo-wrap {
    width: min(58vw, 185px);
    height: 52px;
  }
}



/* v25: header starts with a small top gap, then docks to the top with blurred/frosted borders */
.topbar,
.page-cranes .topbar,
.page-transport .topbar {
  top: 0;
  margin: 14px auto 0;
  transition:
    margin-top 0.24s ease,
    border-radius 0.24s ease,
    background 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    backdrop-filter 0.24s ease;
}

.topbar::after,
.page-cranes .topbar::after,
.page-transport .topbar::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 50, 138, 0.24),
    rgba(115, 184, 57, 0.18),
    rgba(255, 255, 255, 0.34)
  );
  filter: blur(16px);
  transition: opacity 0.24s ease, filter 0.24s ease;
  pointer-events: none;
}

body.header-docked .topbar,
body.header-docked.page-cranes .topbar,
body.header-docked.page-transport .topbar {
  margin-top: 0;
  border-radius: 0 0 30px 30px;
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  box-shadow: 0 18px 46px rgba(10, 50, 138, 0.16);
}

body.header-docked .topbar::after,
body.header-docked.page-cranes .topbar::after,
body.header-docked.page-transport .topbar::after {
  opacity: 1;
}

/* Keep mobile neat while preserving the same docked behavior */
@media (max-width: 900px) {
  .topbar,
  .page-cranes .topbar,
  .page-transport .topbar {
    margin-top: 10px;
  }

  body.header-docked .topbar,
  body.header-docked.page-cranes .topbar,
  body.header-docked.page-transport .topbar {
    margin-top: 0;
    border-radius: 0 0 24px 24px;
  }
}



/* v26: make Cranes header logo visually smaller to match the normal Mercor Transport logo */
.page-cranes .cranes-brand-logo-wrap .brand-logo {
  width: 86%;
  height: 86%;
  object-fit: contain;
  margin: auto;
}

.page-cranes .cranes-footer-logo-wrap .brand-logo {
  width: 86%;
  height: 86%;
  object-fit: contain;
  margin: auto;
}

@media (max-width: 900px) {
  .page-cranes .cranes-brand-logo-wrap .brand-logo {
    width: 84%;
    height: 84%;
  }
}



/* v27: keep docked header position/shape, blur only the outer edges */
.topbar,
.page-cranes .topbar,
.page-transport .topbar {
  margin: 14px auto 0;
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.topbar::after,
.page-cranes .topbar::after,
.page-transport .topbar::after {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background:
    linear-gradient(135deg, rgba(10, 50, 138, 0.20), rgba(115, 184, 57, 0.15), rgba(10, 50, 138, 0.10));
  filter: blur(15px);
  transition: opacity 0.24s ease, filter 0.24s ease;
  pointer-events: none;
}

body.header-docked .topbar,
body.header-docked.page-cranes .topbar,
body.header-docked.page-transport .topbar {
  margin-top: 0;
  border-radius: 999px;
  border-color: rgba(10, 50, 138, 0.10);
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 14px 36px rgba(10, 50, 138, 0.12);
}

body.header-docked .topbar::after,
body.header-docked.page-cranes .topbar::after,
body.header-docked.page-transport .topbar::after {
  opacity: 1;
}

/* Do not blur the inside of the header/card */
body.header-docked .brand-logo-wrap,
body.header-docked .brand-switch,
body.header-docked .nav,
body.header-docked .top-actions {
  filter: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-width: 900px) {
  .topbar,
  .page-cranes .topbar,
  .page-transport .topbar {
    margin-top: 10px;
  }

  body.header-docked .topbar,
  body.header-docked.page-cranes .topbar,
  body.header-docked.page-transport .topbar {
    margin-top: 0;
    border-radius: 28px;
    background: #ffffff;
  }
}



/* v28: remove sticky/docking/blur header effect, keep matched logo sizing */
.topbar,
.page-cranes .topbar,
.page-transport .topbar {
  position: relative !important;
  top: auto !important;
  z-index: 100 !important;
  margin: 14px auto 0 !important;
  background: #ffffff !important;
  border: 1px solid rgba(217, 224, 232, 0.9) !important;
  border-radius: 999px !important;
  box-shadow: 0 12px 40px rgba(20, 61, 153, 0.10) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
}

.topbar::after,
.page-cranes .topbar::after,
.page-transport .topbar::after {
  display: none !important;
  content: none !important;
}

body.header-docked .topbar,
body.header-docked.page-cranes .topbar,
body.header-docked.page-transport .topbar {
  position: relative !important;
  top: auto !important;
  margin: 14px auto 0 !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid rgba(217, 224, 232, 0.9) !important;
  box-shadow: 0 12px 40px rgba(20, 61, 153, 0.10) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.header-docked .topbar::after,
body.header-docked.page-cranes .topbar::after,
body.header-docked.page-transport .topbar::after {
  display: none !important;
  content: none !important;
}

/* Keep logos clean inside the header card with no square edges protruding */
.brand-logo-wrap,
.page-cranes .cranes-brand-logo-wrap,
.page-transport .transport-brand-logo-wrap {
  overflow: hidden !important;
  background: #ffffff !important;
  border-color: #ffffff !important;
  border-radius: 18px !important;
}

.brand-logo,
.page-cranes .cranes-brand-logo-wrap .brand-logo,
.page-transport .transport-brand-logo-wrap .brand-logo {
  display: block !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* Keep the current matched logo sizing */
.page-cranes .cranes-brand-logo-wrap,
.page-transport .transport-brand-logo-wrap {
  width: 280px !important;
  height: 70px !important;
  padding: 7px 10px !important;
  flex: 0 0 280px !important;
  box-sizing: border-box !important;
}

/* Keep Cranes visual mark slightly smaller, as requested previously */
.page-cranes .cranes-brand-logo-wrap .brand-logo {
  width: 86% !important;
  height: 86% !important;
  margin: auto !important;
}

@media (max-width: 900px) {
  .topbar,
  .page-cranes .topbar,
  .page-transport .topbar {
    position: relative !important;
    top: auto !important;
    margin: 10px auto 0 !important;
    border-radius: 28px !important;
  }

  .page-cranes .cranes-brand-logo-wrap,
  .page-transport .transport-brand-logo-wrap {
    width: min(62vw, 220px) !important;
    height: 58px !important;
    padding: 6px 8px !important;
    flex: initial !important;
  }
}

@media (max-width: 520px) {
  .page-cranes .cranes-brand-logo-wrap,
  .page-transport .transport-brand-logo-wrap {
    width: min(58vw, 185px) !important;
    height: 52px !important;
  }
}



/* v29: fixed back-to-top arrow */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 2200;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  background: var(--mercor-blue);
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(10, 50, 138, 0.26);
  transition: transform 0.24s ease, background 0.24s ease, box-shadow 0.24s ease;
}

.back-to-top svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.back-to-top:hover {
  transform: translateY(-5px);
  background: var(--mercor-green);
  box-shadow: 0 22px 54px rgba(115, 184, 57, 0.30);
}

@media (max-width: 720px) {
  .back-to-top {
    right: 16px;
    bottom: 84px;
    width: 48px;
    height: 48px;
  }
}



/* v30: truly seamless credibility strip, no hover pause */
.client-marquee {
  overflow: hidden;
}

.client-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: client-roll-seamless 38s linear infinite;
  will-change: transform;
}

.client-marquee:hover .client-track {
  animation-play-state: running !important;
}

.client-set {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
  flex: 0 0 auto;
}

@keyframes client-roll-seamless {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* v30: Cranes logo made a tiny bit smaller while keeping header size unchanged */
.page-cranes .cranes-brand-logo-wrap .brand-logo {
  width: 82% !important;
  height: 82% !important;
}

.page-cranes .cranes-footer-logo-wrap .brand-logo {
  width: 82% !important;
  height: 82% !important;
}

@media (max-width: 900px) {
  .page-cranes .cranes-brand-logo-wrap .brand-logo {
    width: 81% !important;
    height: 81% !important;
  }
}



/* v31: multi-axle section and mobile bottom CTA centering */
.multi-axle-section {
  padding-top: 64px;
}

.multi-axle-card {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 22px;
  align-items: stretch;
  padding: 22px;
  border: 1px solid rgba(10, 50, 138, 0.10);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 18% 18%, rgba(115, 184, 57, 0.18), transparent 20rem),
    linear-gradient(135deg, #ffffff 0%, #f4f8fd 100%);
  box-shadow: 0 24px 64px rgba(10, 50, 138, 0.12);
  overflow: hidden;
}

.multi-axle-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(18px, 3vw, 34px);
}

.multi-axle-copy .eyebrow {
  width: fit-content;
  margin: 0;
}

.multi-axle-copy h2 {
  max-width: 650px;
  color: var(--mercor-blue);
  font-size: clamp(2.4rem, 4.4vw, 4.8rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

.multi-axle-copy p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.multi-axle-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.multi-axle-points span {
  padding: 10px 13px;
  border: 1px solid rgba(10, 50, 138, 0.10);
  border-radius: 999px;
  background: #ffffff;
  color: var(--mercor-blue);
  font-size: 0.86rem;
  font-weight: 900;
}

.multi-axle-photo {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 22px 58px rgba(10, 50, 138, 0.14);
}

.multi-axle-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s ease, filter 0.35s ease;
}

.multi-axle-card:hover .multi-axle-photo img {
  transform: scale(1.04);
  filter: saturate(1.05) contrast(1.04);
}

/* Keep the mobile bottom menu centred and away from screen edges */
@media (max-width: 720px) {
  .sticky-cta {
    left: 50% !important;
    right: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    width: min(calc(100vw - 24px), 420px) !important;
    transform: translateX(-50%) !important;
    grid-template-columns: repeat(3, 1fr);
    margin: 0 !important;
    box-sizing: border-box;
  }

  .sticky-cta a {
    min-width: 0;
    text-align: center;
    white-space: nowrap;
  }

  .back-to-top {
    right: 14px;
    bottom: calc(max(12px, env(safe-area-inset-bottom)) + 72px);
  }
}

@media (max-width: 900px) {
  .multi-axle-card {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .multi-axle-copy {
    padding: 16px 10px 6px;
  }

  .multi-axle-copy h2 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .multi-axle-photo {
    min-height: 320px;
  }
}



/* v34: lock mobile layout to the device width and stop unwanted zooming */
html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

.site-shell {
  width: 100%;
  max-width: 1540px;
  overflow-x: clip;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

/* iPhone Safari zooms into form fields below 16px. Keep all inputs at 16px+ */
input,
textarea,
select,
button {
  font-size: 16px;
}

input,
textarea,
select {
  touch-action: manipulation;
}

/* Prevent mobile tap/double-tap zoom behaviour on interactive site controls */
a,
button,
.brand-tab,
.primary-btn,
.secondary-btn,
.ghost-btn,
.whatsapp-icon-btn,
.back-to-top,
.sticky-cta a {
  touch-action: manipulation;
}

/* Mobile-only screen lock refinements */
@media (max-width: 900px) {
  html,
  body {
    min-width: 0;
    max-width: 100vw;
  }

  .site-shell,
  main,
  section,
  .section,
  .hero,
  .client-marquee-section,
  .trust-strip,
  .footer,
  .quote-section,
  .photo-grid,
  .company-details-grid,
  .multi-axle-card {
    max-width: 100%;
  }

  .hero,
  .section,
  .client-marquee-section,
  .trust-strip,
  .footer {
    box-sizing: border-box;
  }

  .hero-copy,
  .hero-media,
  .quote-form,
  .quote-copy,
  .multi-axle-card,
  .multi-axle-copy,
  .company-detail,
  .photo-card,
  .hero-photo-card {
    min-width: 0;
  }

  .hero-copy h1,
  .section-heading h2,
  .multi-axle-copy h2 {
    overflow-wrap: normal;
    word-break: normal;
  }

  .topbar,
  .page-cranes .topbar,
  .page-transport .topbar {
    max-width: calc(100vw - 20px);
  }

  .sticky-cta {
    max-width: calc(100vw - 24px);
  }
}
