/* ============================================================
   M.S EXCAVATORS CO. LTD. — Industrial Power in Motion
   Design tokens
   ============================================================ */
:root {
  --yellow:      #ffc400;
  --yellow-deep: #e5a900;
  --black:       #111111;
  --charcoal:    #202020;
  --grey:        #a7a7a7;
  --offwhite:    #f5f5f2;
  --white:       #ffffff;
  --accent:      var(--yellow);
  --line:        rgba(245,245,242,0.1);

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

  --wrap: 1240px;
  --edge: clamp(20px, 5vw, 64px);
  --cut: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--edge);
  padding-right: var(--edge);
}

.label {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}
.section-label .num { color: var(--accent); font-weight: 800; }
.section-label .txt {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 600;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  line-height: 0.98;
  margin: 0;
}
.h-yellow { color: var(--yellow); }

section { padding: clamp(72px, 10vw, 132px) 0; position: relative; }

/* ============================================================
   Buttons — angled corners
   ============================================================ */
.btn {
  --clip: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  display: inline-flex;
  align-items: center;
  gap: 10px;
  clip-path: var(--clip);
  text-decoration: none;
  font-family: var(--body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 16px 26px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn-primary {
  background: var(--yellow);
  color: var(--black);
}
.btn-primary:hover { background: var(--white); }
.btn-primary .arrow { transition: transform 0.2s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(245,245,242,0.35);
  clip-path: none;
}
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.btn-lg { padding: 19px 32px; font-size: 15px; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-stagger.in-view > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in-view > *:nth-child(2) { transition-delay: 0.11s; }
.reveal-stagger.in-view > *:nth-child(3) { transition-delay: 0.17s; }
.reveal-stagger.in-view > *:nth-child(4) { transition-delay: 0.23s; }
.reveal-stagger.in-view > *:nth-child(5) { transition-delay: 0.29s; }
.reveal-stagger.in-view > *:nth-child(6) { transition-delay: 0.35s; }
.reveal-stagger.in-view > *:nth-child(7) { transition-delay: 0.41s; }

/* ============================================================
   Nav
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 300;
  padding: 22px 0;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.solid {
  background: rgba(17,17,17,0.94);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.01em;
  text-decoration: none;
  color: var(--white);
  text-transform: uppercase;
  white-space: nowrap;
}
.logo span { color: var(--yellow); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--grey);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--white); border-bottom-color: var(--yellow); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--yellow);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  background: var(--black);
}
.nav-toggle span { top: 22px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 290;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 22px;
  padding: 0 var(--edge);
}
.nav-mobile[hidden] {
  display: none;
}
.nav-mobile a {
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
}
.nav-mobile a[aria-current="page"] { color: var(--yellow); }

@media (max-width: 900px) {
  .nav-links, .nav .btn-primary.nav-cta { display: none; }
  .nav-toggle { display: block; }
}

/* ============================================================
   Page header (non-home pages)
   ============================================================ */
.page-header {
  padding: clamp(150px, 20vw, 220px) 0 clamp(60px, 8vw, 90px);
  background: linear-gradient(180deg, rgba(17,17,17,0.55), rgba(17,17,17,0.92)), var(--page-header-img, none);
  background-size: cover;
  background-position: center;
  position: relative;
}
.page-header .label { display: block; margin-bottom: 14px; }
.page-header h1 { font-size: clamp(44px, 8vw, 84px); }
.page-header p {
  color: var(--grey);
  max-width: 56ch;
  font-size: 17px;
  margin-top: 18px;
}

/* ============================================================
   Home hero
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(17,17,17,0.35) 0%, rgba(17,17,17,0.55) 55%, rgba(17,17,17,0.98) 100%), url("images/hero-wide.jpg");
  background-size: cover;
  background-position: center 40%;
  animation: kenburns 26s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.08); }
}
.hero-tracks {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--yellow) 0 40px, transparent 40px 70px);
  opacity: 0.5;
  animation: tracks-move 3.2s linear infinite;
}
@keyframes tracks-move {
  from { background-position-x: 0; }
  to   { background-position-x: 110px; }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(64px, 9vw, 108px);
  width: 100%;
}
.hero-label {
  font-family: var(--body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 18px;
  display: block;
}
.hero-title {
  font-size: clamp(48px, 9.5vw, 116px);
  max-width: 16ch;
}
.hero-title em {
  font-style: normal;
  color: var(--yellow);
}
.hero-sub {
  color: var(--offwhite);
  max-width: 52ch;
  font-size: clamp(16px, 1.6vw, 19px);
  margin: 28px 0 0;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 9px 18px 9px 14px;
  border: 1px solid rgba(255,196,0,0.5);
  background: rgba(255,196,0,0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--yellow);
  letter-spacing: 0.01em;
}
.hero-pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
  animation: pulse 1.8s ease-in-out infinite;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 36px;
}
.hero-contact {
  margin-top: 44px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--grey);
}
.hero-contact strong { color: var(--white); font-weight: 600; }

.scroll-cue {
  position: absolute;
  right: var(--edge);
  bottom: 40px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.scroll-cue .line {
  writing-mode: horizontal-tb;
  width: 1px;
  height: 46px;
  background: rgba(245,245,242,0.2);
  position: relative;
  overflow: hidden;
}
.scroll-cue .line::after {
  content: "";
  position: absolute;
  top: -40%;
  left: 0; right: 0;
  height: 40%;
  background: var(--yellow);
  animation: cue-drop 1.8s ease-in-out infinite;
}
@keyframes cue-drop {
  0% { top: -40%; }
  100% { top: 100%; }
}
@media (max-width: 700px) {
  .scroll-cue { display: none; }
}

/* ============================================================
   Free site visit — standout callout
   ============================================================ */
.site-visit {
  background: var(--black);
  padding: clamp(56px, 8vw, 96px) 0;
}
.site-visit-card {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  border: 2px solid var(--yellow);
  border-radius: 8px;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 5vw, 48px) clamp(32px, 5vw, 48px);
  background: radial-gradient(ellipse 600px 300px at 50% 0%, rgba(255,196,0,0.08), transparent 70%);
}
.site-visit-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--black);
  font-family: var(--display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 22px;
  border-radius: 999px;
}
.site-visit .label { display: block; margin-bottom: 14px; }
.site-visit-title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(30px, 4.6vw, 48px);
  line-height: 1.02;
  margin: 0;
}
.site-visit-body {
  color: var(--grey);
  font-size: 16.5px;
  max-width: 52ch;
  margin: 20px auto 28px;
}
.section-light .site-visit-card {
  background: radial-gradient(ellipse 600px 300px at 50% 0%, rgba(138,106,0,0.08), transparent 70%);
}

/* ============================================================
   Services intro + cards
   ============================================================ */
.services-intro {
  max-width: 68ch;
  font-size: clamp(30px, 4.2vw, 46px);
}
.services-lede {
  color: var(--grey);
  max-width: 62ch;
  font-size: 17px;
  margin-top: 20px;
  font-family: var(--body);
  font-weight: 400;
  text-transform: none;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2px;
  margin-top: 48px;
  background: rgba(245,245,242,0.08);
}
.service-card {
  position: relative;
  background: var(--charcoal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
}
.service-card-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img,
.service-card:focus-visible .service-card-img { transform: scale(1.05); }
.service-card-body {
  padding: 24px 24px 28px;
  display: flex;
  flex-direction: column;
}
.service-card-num {
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}
.service-card-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 30px;
  text-transform: uppercase;
}
.service-card-desc {
  color: var(--grey);
  font-size: 14.5px;
  margin-top: 10px;
  max-width: 32ch;
}
.service-card-arrow {
  margin-top: 18px;
  color: var(--accent);
  font-size: 15px;
  font-weight: 700;
}

/* ============================================================
   Service detail rows (services.html)
   ============================================================ */
.service-detail {
  scroll-margin-top: 110px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid rgba(245,245,242,0.1);
}
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) .service-detail-media { order: 2; }
.service-detail-media {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.service-detail-num {
  color: var(--accent);
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 10px;
  display: block;
}
.service-detail-title { font-size: clamp(28px, 3.6vw, 42px); }
.service-detail-body { color: var(--grey); margin-top: 16px; max-width: 50ch; }
.service-detail .btn { margin-top: 24px; }
@media (max-width: 780px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail:nth-child(even) .service-detail-media { order: 0; }
}

/* ============================================================
   Fleet cards
   ============================================================ */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.fleet-group-label {
  grid-column: 1 / -1;
  margin: 28px 0 -6px;
  padding-top: 20px;
  border-top: 1px solid rgba(245,245,242,0.12);
  font-size: 13px;
}
.section-light .fleet-group-label {
  border-top-color: rgba(17,17,17,0.12);
}
.fleet-grid > .fleet-group-label:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.fleet-card {
  background: var(--charcoal);
  border: 1px solid rgba(245,245,242,0.1);
}
.fleet-card-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  position: relative;
}
.fleet-card-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17,17,17,0.85));
}
.fleet-card-body { padding: 22px 24px 26px; }
.fleet-card-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
}
.fleet-card-uses {
  color: var(--grey);
  font-size: 14.5px;
  margin: 10px 0 16px;
}
.fleet-card-status {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}
.fleet-card .btn { width: 100%; justify-content: center; }

/* ============================================================
   About split
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.about-media {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  position: relative;
}
.about-media::after {
  content: "";
  position: absolute; inset: 0;
  box-shadow: inset 0 0 0 1px rgba(245,245,242,0.15);
}
.about-title { font-size: clamp(32px, 4.4vw, 50px); }
.about-body { color: var(--grey); font-size: 16.5px; margin-top: 22px; max-width: 56ch; }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.stat-tile {
  border-top: 2px solid var(--yellow);
  padding-top: 14px;
}
.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 40px;
  color: var(--grey);
}
.stat-label {
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 4px;
}
.stat-note {
  font-size: 11px;
  color: rgba(167,167,167,0.7);
  margin-top: 4px;
}

@media (max-width: 860px) {
  .about-split { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
}

/* ============================================================
   Projects — horizontal gallery + placeholders
   ============================================================ */
.gallery-shell { position: relative; margin-top: 48px; }
.gallery-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.project-card {
  scroll-snap-align: start;
  flex: 0 0 min(420px, 82vw);
  background: var(--charcoal);
  border: 1px solid rgba(245,245,242,0.1);
}
.project-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: repeating-linear-gradient(135deg, rgba(245,245,242,0.04) 0 12px, transparent 12px 24px);
  border-bottom: 1px solid rgba(245,245,242,0.1);
  color: var(--grey);
  text-align: center;
  padding: 24px;
}
.project-placeholder .ph-icon { font-size: 28px; color: var(--accent); }
.project-placeholder .ph-text { font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.project-body { padding: 20px 22px 24px; }
.project-service {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
}
.project-desc { color: var(--grey); font-size: 14.5px; margin-top: 8px; }

.gallery-nav {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.gallery-nav button {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(245,245,242,0.25);
  background: transparent;
  color: var(--white);
  cursor: pointer;
  font-size: 16px;
}
.gallery-nav button:hover { border-color: var(--accent); color: var(--accent); }

/* ============================================================
   Why choose us
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  margin-top: 48px;
}
.why-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 44px;
  color: var(--accent);
}
.why-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  margin-top: 8px;
}
.why-desc { color: var(--grey); font-size: 14.5px; margin-top: 8px; }

/* ============================================================
   Featured work videos + lightbox
   ============================================================ */
.work-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 44px;
  justify-content: center;
}
.work-card {
  width: 210px;
  max-width: 42vw;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(245,245,242,0.15);
  padding: 0;
}
.section-light .work-card {
  border-color: rgba(17,17,17,0.12);
}
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.1), rgba(17,17,17,0.45));
}
.work-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 1;
}

.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 600;
  background: rgba(17,17,17,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.video-lightbox[hidden] {
  display: none;
}
.video-lightbox video {
  max-width: min(420px, 90vw);
  max-height: 85vh;
  border-radius: 8px;
  background: #000;
}
.video-lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(245,245,242,0.15);
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
}
.video-lightbox-close:hover {
  background: var(--yellow);
  color: var(--black);
}

/* ============================================================
   TikTok
   ============================================================ */
.tiktok-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 44px;
  justify-content: center;
}
.tiktok-slot {
  width: 260px;
  max-width: 100%;
}
.tiktok-grid .tiktok-embed {
  margin: 0;
}
.tiktok-fallback {
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(245,245,242,0.15);
}
.tiktok-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,17,17,0.15), rgba(17,17,17,0.55));
}
.tiktok-fallback-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 1;
}
.tiktok-fallback-label {
  position: absolute;
  left: 12px; right: 12px; bottom: 12px;
  z-index: 1;
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.tiktok-phone {
  aspect-ratio: 9/16;
  background: var(--charcoal);
  border: 1px solid rgba(245,245,242,0.15);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--grey);
  position: relative;
  overflow: hidden;
}
.tiktok-phone::before {
  content: "";
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 50px; height: 5px; border-radius: 3px;
  background: rgba(245,245,242,0.2);
}
.tiktok-play {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
}
.tiktok-cta-row { margin-top: 32px; }

/* ============================================================
   Final CTA
   ============================================================ */
.cta-final {
  background: var(--yellow);
  color: var(--black);
}
.cta-final h2 { color: var(--black); font-size: clamp(38px, 6vw, 68px); }
.cta-final p { color: rgba(17,17,17,0.75); font-size: 17px; max-width: 52ch; margin-top: 16px; }
.cta-final .hero-actions { margin-top: 32px; }
.cta-final .btn-primary { background: var(--black); color: var(--white); }
.cta-final .btn-primary:hover { background: var(--charcoal); }
.cta-final .btn-outline { border-color: rgba(17,17,17,0.4); color: var(--black); }
.cta-final .btn-outline:hover { border-color: var(--black); }

/* ============================================================
   Quote form
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.contact-info-title { font-size: clamp(30px, 4vw, 42px); }
.contact-info-body { color: var(--grey); margin-top: 18px; max-width: 42ch; }
.contact-detail {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
}
.contact-detail a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.contact-detail a:hover { color: var(--accent); }
.wa-icon { flex-shrink: 0; }
.whatsapp-cta { margin-top: 28px; }

.quote-form {
  background: var(--charcoal);
  border: 1px solid rgba(245,245,242,0.1);
  padding: clamp(24px, 4vw, 40px);
  display: grid;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey);
}
.field input,
.field select,
.field textarea {
  background: var(--black);
  border: 1px solid rgba(245,245,242,0.15);
  color: var(--white);
  padding: 13px 14px;
  font-family: var(--body);
  font-size: 15px;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--yellow); }
.field textarea { resize: vertical; min-height: 100px; }
.field input[type="file"] { padding: 10px; font-size: 13px; color: var(--grey); }
.form-note { font-size: 12.5px; color: var(--grey); }
.quote-form .btn { margin-top: 6px; }

@media (max-width: 760px) {
  .contact-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

.map-embed {
  margin-top: 40px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid rgba(245,245,242,0.15);
}
.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--black);
  border-top: 1px solid rgba(245,245,242,0.1);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(245,245,242,0.1);
}
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 14px;
  font-family: var(--body);
  font-weight: 700;
}
.footer-col a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--white);
  font-size: 14.5px;
  margin-bottom: 10px;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  font-size: 12.5px;
  color: var(--grey);
}

/* ============================================================
   Dispatch assistant
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 86px;
  z-index: 499;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.06); }

.dispatch { position: fixed; right: 20px; bottom: 20px; z-index: 500; }
.dispatch-launcher {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--black);
  border: none;
  border-radius: 999px;
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}
.dispatch-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--black);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.dispatch-panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  width: min(360px, 88vw);
  height: min(480px, 70vh);
  background: var(--charcoal);
  border: 1px solid rgba(245,245,242,0.15);
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.dispatch-panel[hidden] { display: none; }
.dispatch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(245,245,242,0.12);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
}
.dispatch-close {
  background: none; border: none; color: var(--grey);
  font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px;
}
.dispatch-close:hover { color: var(--white); }
.dispatch-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.msg {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
}
.msg.bot {
  background: rgba(245,245,242,0.06);
  border: 1px solid rgba(245,245,242,0.1);
  align-self: flex-start;
}
.msg.user {
  background: var(--yellow);
  color: var(--black);
  align-self: flex-end;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: none;
  border: 1px solid rgba(245,245,242,0.3);
  color: var(--white);
  font-size: 13px;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
}
.chip:hover { border-color: var(--yellow); color: var(--yellow); }
.msg-link {
  display: inline-block;
  margin-top: 6px;
  background: var(--black);
  color: var(--yellow);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
}
.dispatch-input { display: flex; border-top: 1px solid rgba(245,245,242,0.12); }
.dispatch-input input {
  flex: 1;
  background: none;
  border: none;
  color: var(--white);
  padding: 14px 16px;
  font-size: 14px;
  font-family: var(--body);
}
.dispatch-input input:focus { outline: none; }
.dispatch-input button {
  background: none; border: none; color: var(--yellow);
  font-size: 18px; width: 48px; cursor: pointer;
}
@media (max-width: 480px) {
  .dispatch-launcher span.label-text { display: none; }
  .dispatch-launcher { padding: 14px; border-radius: 50%; }
}

/* ============================================================
   Light section theme — alternates with the dark sections so
   the site isn't black end-to-end. Re-tints the shared tokens
   (--charcoal, --grey, --accent, --line) so every component
   that already reads from them adapts automatically; the rest
   are explicit because they hardcode --black/--white directly.
   ============================================================ */
.section-light {
  background: var(--offwhite);
  color: var(--black);
  --charcoal: #ffffff;
  --grey: #57544d;
  --accent: #8a6a00;
  --line: rgba(17,17,17,0.1);
}

.section-light .service-card,
.section-light .gallery-nav button {
  color: var(--black);
}
.section-light .service-grid {
  background: rgba(17,17,17,0.08);
}
.section-light .service-card,
.section-light .fleet-card,
.section-light .project-card,
.section-light .quote-form {
  border-color: rgba(17,17,17,0.12);
  box-shadow: 0 1px 3px rgba(17,17,17,0.06);
}
.section-light .service-detail {
  border-bottom-color: rgba(17,17,17,0.1);
}
.section-light .project-placeholder {
  background: repeating-linear-gradient(135deg, rgba(17,17,17,0.05) 0 12px, transparent 12px 24px);
  border-bottom-color: rgba(17,17,17,0.1);
}
.section-light .gallery-nav button {
  border-color: rgba(17,17,17,0.25);
}
.section-light .btn-outline {
  color: var(--black);
  border-color: rgba(17,17,17,0.3);
}
.section-light .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.section-light .field input,
.section-light .field select,
.section-light .field textarea {
  background: var(--white);
  color: var(--black);
  border-color: rgba(17,17,17,0.15);
}
.section-light .map-embed {
  border-color: rgba(17,17,17,0.12);
}
