.warehousing-page .site-header {
  position: absolute;
  background: rgba(255, 255, 255, 0.77);
}

.warehousing-page .site-header.is-scrolled {
  position: fixed;
  background: #fff;
}

.warehousing-hero {
  display: flex;
  min-height: 650px;
  align-items: center;
  overflow: hidden;
  contain: paint;
  background: #082033;
  color: #fff;
  animation: tirrenaCompanyPageFadeIn 1000ms ease both;
}

.warehousing-hero__inner {
  position: relative;
  z-index: 1;
}

.warehousing-hero__ghost {
  width: 790px;
  max-width: 100%;
  margin: 0 0 -44px;
  color: transparent;
  font-family: "Open Sans Tirrena", Inter, sans-serif;
  font-size: 120px;
  font-weight: 700;
  line-height: 102px;
  opacity: 0;
  transform: translateX(-90px);
  animation: tirrenaTransportHeroTextIn 1000ms ease-out 600ms forwards;
  will-change: opacity, transform;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.76);
  text-stroke: 1px rgba(255, 255, 255, 0.76);
}

.warehousing-hero h1 {
  width: 790px;
  max-width: 100%;
  margin: 0;
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  line-height: 82.5px;
  opacity: 0;
  transform: translateX(-70px);
  animation: tirrenaTransportHeroTextIn 1000ms ease-out 1100ms forwards;
  will-change: opacity, transform;
}

.warehousing-profile {
  position: relative;
  overflow: hidden;
  padding: 96px 0 78px;
  background:
    linear-gradient(180deg, #f8fbfc 0%, #fff 35%, #fff 100%);
}

.warehousing-profile::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: #e3edf1;
  content: "";
}

.warehousing-profile::after {
  position: absolute;
  right: max(24px, calc((100vw - 1170px) / 2));
  bottom: -120px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(0, 118, 154, 0.16);
  content: "";
  pointer-events: none;
  transform: rotate(8deg);
}

.warehousing-profile__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
}

.warehousing-media {
  position: relative;
  grid-column: auto;
  width: 100%;
  min-height: 0;
  padding: 34px 0 74px 34px;
  isolation: isolate;
}

.warehousing-media::before {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  width: 74%;
  height: calc(100% - 62px);
  border-left: 4px solid var(--tirrena-teal);
  background: #e7f3f4;
  content: "";
}

.warehousing-media::after {
  position: absolute;
  z-index: 2;
  top: 56px;
  right: 28px;
  bottom: 118px;
  width: 1px;
  background: linear-gradient(180deg, rgba(0, 118, 154, 0), rgba(0, 118, 154, 0.64), rgba(0, 118, 154, 0));
  content: "";
}

.warehousing-media__image {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% - 34px);
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 32px 64px rgba(11, 31, 45, 0.18);
}

.warehousing-media__badge {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  display: grid;
  width: min(330px, 78%);
  min-height: 176px;
  align-items: center;
  padding: 30px 30px 26px;
  background:
    linear-gradient(135deg, rgba(0, 118, 154, 0.96), rgba(7, 87, 112, 0.98)),
    url("../img/simbolo.png") 100% 50% / auto 110% no-repeat;
  box-shadow: 0 24px 46px rgba(11, 31, 45, 0.22);
  color: #fff;
  text-align: left;
}

.warehousing-media__badge p {
  width: auto;
  margin: 0;
  color: #fff;
  font-size: 31px;
  font-weight: 700;
  line-height: 35px;
}

.warehousing-media__badge p::after {
  display: block;
  width: 58px;
  height: 3px;
  margin-top: 24px;
  background: #fff;
  content: "";
}

.warehousing-copy {
  position: relative;
  z-index: 1;
  width: 100%;
}

.warehousing-copy--profile {
  grid-column: auto;
  padding-left: 34px;
  border-left: 1px solid rgba(0, 118, 154, 0.24);
}

.warehousing-copy--profile::before {
  position: absolute;
  top: 0;
  left: -3px;
  width: 5px;
  height: 44px;
  background: var(--tirrena-teal);
  content: "";
}

.warehousing-ghost {
  position: absolute;
  z-index: -1;
  top: -58px;
  right: 0;
  width: auto;
  margin: 0;
  color: transparent;
  font-family: "Open Sans Tirrena", Inter, sans-serif;
  font-size: 118px;
  font-weight: 700;
  line-height: 0.86;
  opacity: 0.62;
  pointer-events: none;
  -webkit-text-stroke: 1px #e1e9ee;
  text-stroke: 1px #e1e9ee;
}

.warehousing-eyebrow {
  margin: 0;
  color: var(--tirrena-muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 27px;
  text-transform: uppercase;
}

.warehousing-copy h2 {
  margin: 0;
  color: var(--tirrena-heading);
  font-size: 45px;
  font-weight: 700;
  line-height: 50px;
}

.warehousing-copy h2 span {
  color: var(--tirrena-teal);
}

.warehousing-text {
  max-width: 610px;
  margin-top: 34px;
  color: var(--tirrena-text);
  font-size: 16px;
  line-height: 27px;
}

.warehousing-text p {
  margin: 0 0 20px;
}

.warehousing-text p:last-child {
  margin-bottom: 0;
}

.warehousing-signal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  border: 1px solid #d7e7ec;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 44px rgba(11, 31, 45, 0.08);
}

.warehousing-signal {
  display: flex;
  min-height: 132px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px;
  border-right: 1px solid #d7e7ec;
}

.warehousing-signal:last-child {
  border-right: 0;
}

.warehousing-signal strong {
  color: var(--tirrena-teal);
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.warehousing-signal span {
  margin-top: 18px;
  color: #3e4d58;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.warehousing-band {
  position: relative;
  overflow: hidden;
  padding: 86px 0 96px;
  background:
    linear-gradient(135deg, #e3f1f0 0%, #f6fbfb 66%, #fff 100%);
}

.warehousing-band::before {
  position: absolute;
  top: 72px;
  left: max(24px, calc((100vw - 1170px) / 2));
  width: 150px;
  height: 150px;
  background: url("../img/tirrena/2023/03/Icona.png") center center / contain no-repeat;
  content: "";
  opacity: 0.16;
  pointer-events: none;
}

.warehousing-band::after {
  position: absolute;
  top: -78px;
  left: 50%;
  width: 1px;
  height: 172px;
  background: linear-gradient(180deg, rgba(0, 118, 154, 0), rgba(0, 118, 154, 0.5));
  content: "";
  pointer-events: none;
}

.warehousing-band__grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  align-items: center;
  gap: 74px;
}

.warehousing-copy--band {
  grid-column: auto;
}

.warehousing-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.warehousing-flow li {
  position: relative;
  min-height: 98px;
  padding: 18px 18px 18px 74px;
  border: 1px solid rgba(0, 118, 154, 0.18);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 36px rgba(11, 31, 45, 0.07);
}

.warehousing-flow li span {
  position: absolute;
  top: 18px;
  left: 18px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  background: #0b2838;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.warehousing-flow li strong {
  display: block;
  color: #2f3a44;
  font-size: 16px;
  font-weight: 800;
  line-height: 22px;
}

.warehousing-band__visual {
  position: relative;
  grid-column: auto;
  padding: 34px 34px 0 0;
  isolation: isolate;
}

.warehousing-band__visual::before {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  width: 82%;
  height: 74%;
  background: rgba(0, 118, 154, 0.16);
  content: "";
}

.warehousing-band__visual::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 34px;
  width: 64%;
  height: 2px;
  background: var(--tirrena-teal);
  content: "";
}

.warehousing-band__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: 0 32px 64px rgba(11, 31, 45, 0.18);
}

.warehousing-gallery {
  overflow: hidden;
  padding: 100px 0 100px;
  border-top: 1px solid #e3edf1;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .warehousing-hero,
  .warehousing-hero__ghost,
  .warehousing-hero h1 {
    animation: none;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
}

@media (max-width: 1180px) {
  .warehousing-profile__grid,
  .warehousing-band__grid {
    gap: 54px;
  }

  .warehousing-signal-grid,
  .warehousing-flow {
    grid-template-columns: 1fr;
  }

  .warehousing-signal {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #d7e7ec;
  }

  .warehousing-signal:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 960px) {
  .warehousing-hero {
    min-height: 430px;
  }

  .warehousing-hero__ghost {
    margin-bottom: -28px;
    font-size: 74px;
    line-height: 66px;
  }

  .warehousing-hero h1 {
    font-size: 42px;
    line-height: 54px;
  }

  .warehousing-profile {
    padding: 72px 0 64px;
  }

  .warehousing-profile__grid,
  .warehousing-band__grid {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .warehousing-media {
    max-width: 620px;
    margin: 0 auto;
  }

  .warehousing-copy--profile {
    padding-left: 0;
    border-left: 0;
  }

  .warehousing-copy--profile::before {
    display: none;
  }

  .warehousing-ghost {
    top: -30px;
    font-size: 72px;
    line-height: 0.9;
  }

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

  .warehousing-signal {
    min-height: 124px;
    border-right: 1px solid #d7e7ec;
    border-bottom: 0;
  }

  .warehousing-signal:last-child {
    border-right: 0;
  }

  .warehousing-copy h2 {
    font-size: 34px;
    line-height: 40px;
  }

  .warehousing-band {
    padding: 70px 0 78px;
  }

  .warehousing-band::after {
    left: 24px;
  }

  .warehousing-band__visual {
    max-width: 620px;
    margin: 0 auto;
  }

  .warehousing-gallery {
    padding: 70px 0 60px;
  }

}

@media (max-width: 560px) {
  .warehousing-hero {
    min-height: 260px;
  }

  .warehousing-profile {
    padding: 56px 0 52px;
  }

  .warehousing-profile__grid {
    gap: 30px;
  }

  .warehousing-profile::after,
  .warehousing-band::before {
    display: none;
  }

  .warehousing-media {
    padding: 22px 0 86px 18px;
  }

  .warehousing-media::before {
    width: 82%;
    height: calc(100% - 78px);
  }

  .warehousing-media::after {
    top: 38px;
    right: 14px;
    bottom: 116px;
  }

  .warehousing-media__image {
    width: calc(100% - 18px);
    aspect-ratio: 1 / 1.12;
  }

  .warehousing-media__badge {
    width: calc(100% - 42px);
    min-height: 0;
    padding: 22px 22px 20px;
  }

  .warehousing-media__badge p {
    font-size: 23px;
    line-height: 27px;
  }

  .warehousing-media__badge p::after {
    margin-top: 18px;
  }

  .warehousing-ghost {
    display: none;
  }

  .warehousing-copy h2 {
    font-size: 31px;
    line-height: 37px;
  }

  .warehousing-text {
    margin-top: 24px;
  }

  .warehousing-signal-grid {
    grid-template-columns: 1fr;
  }

  .warehousing-signal {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #d7e7ec;
  }

  .warehousing-signal:last-child {
    border-bottom: 0;
  }

  .warehousing-band {
    padding: 66px 0 74px;
  }

  .warehousing-flow {
    grid-template-columns: 1fr;
  }

  .warehousing-flow li {
    min-height: 84px;
    padding: 16px 16px 16px 68px;
  }

  .warehousing-flow li span {
    top: 16px;
    left: 16px;
  }

  .warehousing-band__visual {
    padding: 22px 22px 0 0;
  }

  .warehousing-band__visual::after {
    bottom: 22px;
  }

  .warehousing-gallery {
    padding: 70px 0 60px;
  }

  .warehousing-page .footer-links {
    display: none;
  }
}
