/* The cargo project's cinematic treatment, using the cleaning site's own imagery. */
:root {
  --film-light: #e4efff;
  --film-steel: #a7c8ff;
  --film-night: #061225;
}
.cargo-hero {
  min-height: clamp(620px, 85svh, 920px);
  background: var(--film-night);
}
.cargo-hero .wrap { padding-block: clamp(5.5rem, 12vh, 10rem); }
.cargo-hero .hero-image { inset: 0; }
.hero-image img {
  object-position: 65% 48%;
  transform: translateY(var(--hero-shift, 0px)) scale(1.06);
  filter: saturate(.66) contrast(1.13);
  animation: none;
}
.hero-image::after {
  background: linear-gradient(90deg, #040f20f5, #07172ce8 28%, #0a223a66 69%, #081a312e),
              linear-gradient(0deg, #061225, transparent 42%);
}
.hero-optics {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(122deg, transparent 58%, #b4d3ff2c 58.1%, transparent 58.3%);
}
.hero-optics::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, transparent 35%, #c2dbff33 51%, transparent 67%);
  opacity: 0;
}
.cargo-hero h1 {
  max-width: 100%;
  font-size: clamp(3.5rem, 8.1vw, 8rem);
  line-height: .94;
  text-shadow: 0 8px 46px #030c1d66;
}
.cargo-hero h1 span { color: var(--film-steel); }
.cargo-hero .btn { background: var(--film-light); }
.cargo-hero .btn:hover { background: white; }
.hero-scroll {
  position: absolute;
  z-index: 3;
  inset: auto 5% 1.7rem auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 52px;
  border: 1px solid #cce2fe99;
  border-radius: 23px;
  background: #071426b8;
}
.hero-scroll span {
  width: 9px;
  height: 9px;
  border: solid #fff;
  border-width: 0 1px 1px 0;
  transform: translateY(-3px) rotate(45deg);
}
.strip { background: linear-gradient(110deg, #bccce2, #f5f9ff 45%, #d1dff1); }
.service-stories { padding: 0; }
.service-stories > .wrap { width: 100%; }
.service-stories .detail {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: end;
  min-height: clamp(29rem, 67svh, 46rem);
  padding: clamp(2rem, 8vw, 8rem) max(5%, calc((100% - 1240px) / 2));
  background: #09182b;
}
.service-stories .detail .photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  animation: none;
  opacity: 1;
  transform: none;
}
.service-stories .photo img { height: 100%; border-radius: 0; }
.service-stories .photo::after {
  display: block;
  inset: 0;
  z-index: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #061225f2, #06122599 49%, #06122525),
              linear-gradient(0deg, #061225d9, transparent 80%);
  transform: none;
}
.service-stories .detail .photo:hover::after { transform: none; }
.service-stories .detail > div:not(.photo) { max-width: 39rem; }
.service-stories .detail h2 {
  color: #fff;
  font-size: clamp(2rem, 6.1vw, 6.2rem);
  line-height: 1.02;
  overflow-wrap: normal;
}
.service-stories .detail p { max-width: 38rem; color: #eef4fe; }
.contact-scene .form { border-top: 3px solid #557fb7; }
.chapter-nav a { transition: background .22s, color .22s; }

@media (prefers-reduced-motion: no-preference) {
  .cargo-hero h1 { animation: film-title 1.05s cubic-bezier(.19,1,.22,1) .12s both; }
  .hero-optics::after { animation: film-light 1.85s ease-out .12s both; }
  .hero-scroll span { animation: film-scroll 1.15s ease-in-out 2; }
  .service-stories .photo img {
    transform: scale(1.04);
    transition: transform 1.45s cubic-bezier(.2,.65,.3,1);
  }
  .service-stories .photo.in-view img,
  .service-stories .photo.in-view:hover img { transform: scale(1); }
  @keyframes film-title {
    from { opacity: 0; transform: translateY(22px); clip-path: inset(0 0 44%); }
    to { opacity: 1; transform: translateY(0); clip-path: inset(0 0 -12%); }
  }
  @keyframes film-light {
    from { opacity: 0; transform: translateX(-65%); }
    32% { opacity: .9; }
    to { opacity: 0; transform: translateX(65%); }
  }
  @keyframes film-scroll {
    50% { transform: translateY(2px) rotate(45deg); }
  }
}
@media (max-width: 850px) {
  .cargo-hero { min-height: min(670px, 86svh); }
  .cargo-hero .wrap { padding-block: 4.5rem 6rem; }
  .cargo-hero h1 { font-size: clamp(1.65rem, 8.65vw, 4.5rem); }
  .hero-image img { object-position: 61% center; }
  .hero-image::after {
    background: linear-gradient(90deg, #041022ef, #04102289),
                linear-gradient(0deg, #061225e8, transparent);
  }
  .service-stories .detail { min-height: 27rem; padding-block: 8rem 2.5rem; }
  .service-stories .photo::after {
    background: linear-gradient(0deg, #061225f5 10%, #061225ad 73%, #06122554);
  }
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.hero-slide.is-current { opacity: 1; z-index: 1; }
.hero-slide-moving img { object-position: 70% 44%; }
.hero-slide-move-cleaning img { object-position: 72% 50%; }
.hero-slide-disposal img { object-position: 70% 55%; }
.hero-image::after { z-index: 2; }
.hero-gallery:not([hidden]) {
  display: flex;
  position: absolute;
  z-index: 3;
  bottom: 1.7rem;
  left: 5%;
  align-items: center;
  gap: .35rem;
  max-width: calc(90% - 52px);
}
.hero-gallery-scenes {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem;
}
.hero-gallery button {
  position: relative;
  min-height: 42px;
  padding: .45rem .75rem;
  border: 1px solid #b7d5ff70;
  background: #071426e8;
  color: #e4efff;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}
.hero-gallery button:hover { border-color: #e4efff; }
.hero-gallery-scenes button[aria-pressed="true"] {
  background: #e4efff;
  color: #071426;
}
.hero-gallery-toggle { min-width: 44px; }
.hero-gallery-toggle[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slide img { transition: scale 6.5s cubic-bezier(.2,.55,.3,1); }
  .hero-slide.is-current img { scale: 1.09; }
}
@media (max-width: 520px) {
  .cargo-hero .wrap { padding-bottom: 7.5rem; }
  .hero-gallery:not([hidden]) { bottom: 1.2rem; max-width: 90%; }
  .hero-gallery button { padding-inline: .5rem; font-size: .8125rem; }
  .hero-gallery-toggle { min-width: 38px; }
  .hero-scroll { display: none; }
}

.hero-slide-maintenance img { object-position: 71% 50%; }
@media (max-width: 520px) {
  .hero-gallery-scenes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cargo-hero .wrap { padding-bottom: 10.5rem; }
}

/* White breaks between sections, matching the Cargo presentation. */
main {
  --section-break: clamp(36px, 4.5vw, 80px);
}
main > section + section,
main > .strip,
main > .strip + section,
.service-stories .detail + .detail {
  border-top: var(--section-break) solid #fff;
}

.hero-transition-light {
  position: absolute;
  inset: 0 -15%;
  opacity: 0;
  background: linear-gradient(90deg, transparent 46%, #aed1ff15 48%, #d8ecff6b 50%, #aed1ff15 52%, transparent 54%);
}

.cleaning-extras {
  background: #edf3fa;
  color: #102a4a;
}
.cleaning-extras h2 {
  margin: 0 0 clamp(1.6rem, 4vw, 3.6rem);
}
.cleaning-extras h2 span {
  display: block;
  color: #315a91;
}
.cleaning-directory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.5rem);
}
.cleaning-directory-group {
  background: #0b1e37;
  color: #edf5ff;
  padding: clamp(1rem, 2.6vw, 2rem);
  border-top: 3px solid #8bb5ef;
}
.cleaning-directory-group h3 {
  margin: 0 0 1rem;
  color: #b9d4f9;
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
}
.cleaning-directory-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cleaning-directory-group a {
  display: block;
  padding: .8rem .25rem;
  border-top: 1px solid #bdd7ff38;
  line-height: 1.35;
  transition: background .2s, padding .2s;
}
.cleaning-directory-group a:hover,
.cleaning-directory-group a:focus-visible {
  background: #1b3b61;
  padding-left: .65rem;
}
@media (max-width: 850px) {
  .cleaning-directory { grid-template-columns: 1fr; }
}
