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

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

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

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

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

.marble-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;
}

.marble-profile {
  overflow: hidden;
  padding-top: 100px;
  background: #fff;
}

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

.marble-media {
  position: relative;
  grid-column: 1;
  width: 470px;
  min-height: 694px;
  padding-top: 12px;
}

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

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

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

.marble-copy {
  width: 585px;
}

.marble-profile .marble-copy {
  grid-column: 3;
}

.marble-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;
}

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

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

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

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

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

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

.marble-showcase {
  padding: 26px 0 109px;
  background: linear-gradient(to bottom, #fff 0, #fff 73px, #e0efee 73px, #e0efee 100%);
}

.marble-icons {
  display: block;
  width: 100%;
  height: 126px;
  margin-bottom: 48px;
  object-fit: cover;
}

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

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

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

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

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

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

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

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

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

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

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

  .marble-media {
    min-height: 0;
    padding-top: 0;
  }

  .marble-media__image {
    height: auto;
  }

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

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

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

  .marble-showcase {
    padding: 70px 0 60px;
    background: #e0efee;
  }

  .marble-icons {
    height: auto;
    margin-bottom: 42px;
  }

}

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

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

}

@media (max-width: 960px) {
  .footer-contacts,
  .footer-links {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .footer-contacts a,
  .footer-links a {
    max-width: 100%;
    min-width: 0;
  }

  .footer-contacts a span:last-child {
    overflow-wrap: anywhere;
  }
}
