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

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

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

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

.transport-page-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);
}

.transport-page-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;
}

.transport-profile {
  padding-top: 100px;
  background: #fff;
}

.transport-profile__grid {
  display: grid;
  min-height: 775px;
  grid-template-columns: 470px 145px 585px;
  align-items: start;
  gap: 0;
}

.transport-profile-media {
  position: relative;
  grid-column: 1;
  width: 470px;
  padding-top: 52px;
}

.transport-profile-media__image {
  width: 470px;
  height: 588px;
  object-fit: cover;
}

.transport-profile-media__badge {
  position: absolute;
  top: 469px;
  left: 221px;
  display: grid;
  width: 298px;
  height: 254px;
  place-items: center;
  padding: 67px 15px;
  background: #00769a url("../img/simbolo.png") center center / contain no-repeat;
  color: #fff;
  text-align: center;
}

.transport-profile-media__badge p {
  width: 268px;
  margin: 0;
  color: #fff;
  font-size: 35px;
  font-weight: 700;
  line-height: 40px;
}

.transport-profile-copy {
  grid-column: 3;
  width: 585px;
}

.transport-profile-ghost {
  width: 585px;
  margin: 0 0 -44px;
  color: transparent;
  font-family: "Open Sans Tirrena", Inter, sans-serif;
  font-size: 120px;
  font-weight: 700;
  line-height: 102px;
  -webkit-text-stroke: 1px #e5e5e5;
  text-stroke: 1px #e5e5e5;
}

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

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

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

.transport-profile-text {
  margin-top: 40px;
  color: var(--tirrena-text);
  font-size: 16px;
  line-height: 27px;
}

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

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

.transport-modes {
  position: relative;
  margin-top: 100px;
  padding: 112px 0 122px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(248, 251, 251, 0.96), rgba(224, 239, 238, 0.9)),
    #e0efee;
}

.transport-modes__list {
  display: grid;
  gap: 28px;
}

.transport-mode {
  position: relative;
  display: grid;
  min-height: 318px;
  grid-template-columns: minmax(280px, 0.43fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(45, 51, 99, 0.11);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(20, 45, 58, 0.13);
  color: var(--tirrena-text);
  isolation: isolate;
}

.transport-mode::before {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 6px;
  background: linear-gradient(180deg, var(--tirrena-teal), #95c5cc);
  content: "";
  pointer-events: none;
}

.transport-mode__media {
  position: relative;
  min-height: 318px;
  overflow: hidden;
  background: #172133;
}

.transport-mode__media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 25, 39, 0.08), rgba(16, 25, 39, 0.72)),
    linear-gradient(90deg, rgba(16, 25, 39, 0.18), rgba(16, 25, 39, 0));
  content: "";
}

.transport-mode__photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 318px;
  object-fit: cover;
  transform: scale(1.02);
}

.transport-mode__number {
  position: absolute;
  top: 20px;
  left: 26px;
  z-index: 1;
  color: transparent;
  font-family: "Open Sans Tirrena", Inter, sans-serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 0.9;
  opacity: 0.74;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.72);
  text-stroke: 1px rgba(255, 255, 255, 0.72);
}

.transport-mode__icon {
  position: absolute;
  bottom: 24px;
  left: 26px;
  z-index: 1;
  width: 92px;
  height: 92px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 36px rgba(8, 19, 30, 0.22);
  object-fit: contain;
}

.transport-mode__copy {
  display: grid;
  min-width: 0;
  align-content: center;
  padding: 44px 54px;
}

.transport-mode h2 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 16px;
  color: var(--tirrena-blue);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.transport-mode h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 54px;
  height: 3px;
  background: #95c5cc;
  content: "";
}

.transport-mode p {
  margin: 0;
  color: var(--tirrena-text);
  font-size: 15.5px;
  line-height: 1.72;
}

.transport-mode--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.43fr);
}

.transport-mode--reverse::before {
  right: 0;
  left: auto;
}

.transport-mode--reverse .transport-mode__media {
  grid-column: 2;
  grid-row: 1;
}

.transport-mode--reverse .transport-mode__copy {
  grid-column: 1;
  grid-row: 1;
}

@keyframes tirrenaTransportHeroTextIn {
  from {
    opacity: 0;
    transform: translateX(-90px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@media (max-width: 1180px) {
  .transport-profile__grid {
    grid-template-columns: 1fr 1fr;
    gap: 54px;
  }

  .transport-profile-media,
  .transport-profile-copy {
    grid-column: auto;
  }

  .transport-profile-copy,
  .transport-profile-ghost {
    width: 100%;
  }
}

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

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

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

  .transport-profile {
    padding: 70px 0;
  }

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

  .transport-profile-media,
  .transport-profile-media__image {
    width: min(470px, 100%);
  }

  .transport-profile-media {
    padding-top: 0;
  }

  .transport-profile-media__image {
    height: auto;
  }

  .transport-profile-media__badge {
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
  }

  .transport-profile-ghost {
    margin-bottom: -20px;
    font-size: 66px;
    line-height: 66px;
  }

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

  .transport-modes {
    margin-top: 0;
    padding: 76px 0 82px;
  }

  .transport-modes__list {
    gap: 22px;
  }

  .transport-mode,
  .transport-mode--reverse {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .transport-mode__media,
  .transport-mode--reverse .transport-mode__media,
  .transport-mode__copy,
  .transport-mode--reverse .transport-mode__copy {
    grid-column: auto;
    grid-row: auto;
  }

  .transport-mode__media,
  .transport-mode__photo {
    min-height: 250px;
  }

  .transport-mode__copy {
    padding: 32px;
  }
}

@media (max-width: 560px) {
  .transport-profile-media__badge {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 16px;
    padding: 42px 15px;
  }

  .transport-profile-media__badge p {
    width: 100%;
    font-size: 30px;
    line-height: 36px;
  }

  .transport-modes {
    padding: 54px 0 64px;
  }

  .transport-mode__media,
  .transport-mode__photo {
    min-height: 210px;
  }

  .transport-mode__number {
    top: 18px;
    left: 22px;
    font-size: 58px;
  }

  .transport-mode__icon {
    bottom: 20px;
    left: 22px;
    width: 76px;
    height: 76px;
    padding: 13px;
  }

  .transport-mode__copy {
    padding: 26px 24px 28px;
  }

  .transport-mode h2 {
    margin-bottom: 14px;
    padding-bottom: 12px;
    font-size: 19px;
  }

  .transport-mode p {
    font-size: 14px;
    line-height: 1.62;
  }
}
