:root {
  --ink: #0a0a0b;
  --paper: #f7f5f5;
  --lime: #ff8f94;
  --muted: #625b5c;
  --line: #d7cecf;
}

.logo-strip {
  padding: 3px max(24px, 5vw);
  background: #050505;
  color: #fff;
}

.logo-strip-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  min-height: 190px;
  align-items: center;
  gap: 24px;
}

.logo-display {
  position: relative;
  grid-column: 2;
  display: flex;
  width: 360px;
  height: 190px;
  min-width: 0;
  min-height: 0;
  overflow: visible;
  align-items: center;
  justify-content: center;
}

.logo-display img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 142px;
  object-fit: contain;
}

.logo-display img.mw-logo {
  position: static;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: none;
}

.logo-placeholder {
  color: #9b9b9b;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.logo-editor {
  grid-column: 3;
  justify-self: end;
  align-items: center;
  gap: 10px;
}

.editing .logo-editor { display: flex; }

.logo-upload,
.logo-editor button {
  margin: 0;
  border: 1px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  padding: 9px 14px;
  font: inherit;
  font-size: .85rem;
  font-weight: 750;
  cursor: pointer;
}

.logo-upload { position: relative; }
.logo-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.topbar {
  background: rgba(8, 8, 9, .96);
  border-bottom-color: #3b292a;
}

.services,
footer {
  background: #0a0a0b;
}

.contact {
  background: #d71920;
  color: #fff;
}

.contact .section-number,
.contact .editable,
.contact .contact-link {
  color: #fff;
}

.contact form {
  color: var(--ink);
}

.section-quote-button {
  margin-top: 38px;
}

.quote-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 22px;
}

.quote-actions .primary-button,
.quote-actions .section-quote-button { margin-top: 0; }

.quote-phone {
  color: #0a0a0b;
  font-size: 1.05rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.quote-phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.quote-phone-light { color: #fff; }

.testimonials {
  background: #fff;
  scroll-margin-top: 110px;
}

.testimonials-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  align-items: end;
  gap: 48px;
}

.testimonials-heading h2 {
  margin: .25em 0 0;
  color: #0a0a0b;
  font-size: clamp(2.2rem, 4.5vw, 4.6rem);
  line-height: 1;
  letter-spacing: -.045em;
}

.testimonials-intro {
  margin: 0 0 6px;
  color: #625b5c;
  font-size: 1.05rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

.testimonial-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid #d7cecf;
  border-radius: 18px;
  background: #f7f5f5;
}

.testimonial-card:nth-child(2) { background: #f3eeee; }

.testimonial-mark {
  height: 52px;
  color: #d7363e;
  font-family: Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
}

.testimonial-text {
  margin: 12px 0 30px;
  color: #514748;
  font-size: 1.05rem;
  line-height: 1.65;
}

.testimonial-card > div { margin-top: auto; }
.testimonial-card strong,
.testimonial-card div span { display: block; }
.testimonial-card strong { color: #0a0a0b; font-size: 1rem; }
.testimonial-card div span { margin-top: 3px; color: #756869; font-size: .88rem; }

.services .section-quote-button {
  background: #ff8f94;
  color: #0a0a0b;
}

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

@media (max-width: 640px) {
  .logo-strip-inner { min-height: 72px; }
  .editing .logo-strip-inner { align-items: flex-start; flex-direction: column; }
  .editing .logo-editor { flex-wrap: wrap; }
  .route-fields { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .testimonials-heading { grid-template-columns: 1fr; gap: 18px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card { min-height: 230px; }
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transition: opacity .25s;
}

.hero.has-background .hero-background {
  opacity: 1;
}

.hero.has-background::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(247,245,245,.86);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-image-editor {
  width: min(100%, 620px);
  margin: 28px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  text-align: left;
}

.hero-image-editor > span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

.hero-image-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.hero-image-upload {
  position: relative;
  display: inline-block;
}

.hero-image-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-grid article:nth-child(5) {
  grid-column: auto;
}

.project-grid {
  align-items: stretch;
}

.capacity-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
  min-height: 520px;
  margin-top: 42px;
  overflow: hidden;
  border: 1px solid #3b292a;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(70,0,4,.09);
}

.capacity-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: clamp(30px, 5vw, 68px);
  overflow: hidden;
  background: radial-gradient(circle at 88% 10%, rgba(215,25,32,.2), transparent 32%), linear-gradient(145deg, #080808, #26080a);
  color: #fff;
}

.capacity-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(135deg, #000, transparent 72%);
  pointer-events: none;
}

.capacity-visual-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.capacity-visual-head > span {
  color: rgba(255,143,148,.72);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.capacity-kicker,
.capacity-index {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.capacity-kicker { color: #ff8f94; }

.capacity-levels {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  width: 100%;
  margin: 42px 0;
}

.capacity-level {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px 20px;
  border: 1px solid rgba(255,90,96,.25);
  border-radius: 14px;
  background: rgba(255, 255, 255, .065);
  backdrop-filter: blur(4px);
}

.capacity-level-small { width: 58%; }
.capacity-level-medium { width: 80%; }
.capacity-level-large { width: 100%; border-color: rgba(255,90,96,.7); background: rgba(215,25,32,.18); }

.capacity-level-label {
  color: #ff8f94;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.capacity-level-mark { width: clamp(34px, 7vw, 82px); height: 3px; border-radius: 999px; background: linear-gradient(90deg, #d71920, #fff); box-shadow: 0 0 18px rgba(215,25,32,.48); }
.capacity-level strong { white-space: nowrap; font-size: clamp(1.45rem, 3vw, 2.35rem); line-height: 1; letter-spacing: -.045em; }
.capacity-caption { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; margin: 0; color: #d8cdce; font-size: .82rem; }
.capacity-caption span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(255,90,96,.45); border-radius: 50%; color: #ff8f94; }

.capacity-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 5vw, 64px);
  background: linear-gradient(180deg, #f6eeee, #fff);
}

.capacity-index { color: #a8141a; }
.capacity-copy h3 { margin: 28px 0 20px; font-size: clamp(2rem, 3.6vw, 3.7rem); line-height: 1; letter-spacing: -.045em; }
.capacity-copy > p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.capacity-note { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.capacity-note span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #0a0a0b; color: #ff8f94; font-size: 1.15rem; }
.capacity-note p { margin: 0; font-weight: 750; line-height: 1.45; }

.vehicle-card {
  min-height: 430px;
  display: block;
  padding: 0;
  overflow: hidden;
  border: 1px solid #d8c5c7;
  background: #fff;
  color: var(--ink);
}

.vehicle-card:nth-child(2),
.vehicle-card:nth-child(3) {
  background: #fff;
}

.vehicle-card::before {
  display: none;
}

.vehicle-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eadcdd;
}

.vehicle-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.vehicle-image-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: #756869;
  font-weight: 800;
}

.image-upload {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #0a0a0b;
  color: #fff;
  cursor: pointer;
}

.image-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.vehicle-details {
  padding: 24px;
}

.vehicle-tonnage {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: #ff8f94;
  font-size: 0.85rem;
  font-weight: 850;
}

.vehicle-card h3 {
  margin-top: 18px;
  font-size: 1.55rem;
  line-height: 1.15;
}

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

@media (max-width: 1100px) and (min-width: 801px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid article:nth-child(5) {
    grid-column: auto;
    width: auto;
    justify-self: auto;
  }
}

@media (max-width: 800px) {
  .hero-image-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .service-grid article:nth-child(5) {
    grid-column: auto;
    width: auto;
  }

  .capacity-showcase { grid-template-columns: 1fr; min-height: 0; }
  .capacity-visual { min-height: 430px; }
  .capacity-levels { margin: 34px 0; }
  .capacity-level-small { width: 68%; }
  .capacity-level-medium { width: 86%; }
}

@media (max-width: 520px) {
  .capacity-level { gap: 14px; min-height: 66px; padding: 12px 14px; }
  .capacity-level-small { width: 76%; }
  .capacity-level-medium { width: 91%; }
  .capacity-level-label { max-width: 90px; font-size: .68rem; }
  .capacity-level strong { font-size: 1.3rem; }
}
