/* Customer services hub — mobile-first (from web html/customer-services.css). */

.customer-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 20px 48px;
}

.customer-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  margin-bottom: 40px;
}

.customer-row:last-child {
  margin-bottom: 0;
}

.customer-image {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #f4f4f2;
}

.customer-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}

.customer-image:hover img {
  transform: scale(1.03);
}

.customer-copy {
  padding: 22px 0 0;
  color: #6c696a;
}

.customer-copy h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  color: #231f20;
  margin: 0 0 12px;
}

.customer-copy p {
  font-size: 16px;
  line-height: 24px;
  margin: 0 0 12px;
  max-width: 600px;
}

.customer-copy a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 14px;
  color: #319b42;
  text-decoration: none;
}

.customer-copy a i,
.customer-copy a .arrow {
  display: inline-block;
  transition: transform .25s;
}

.customer-copy a:hover i,
.customer-copy a:hover .arrow {
  transform: translateX(4px);
}

.customer-page .events-banner {
  height: 300px;
  min-height: 300px;
}

.customer-page .events-banner h1 {
  font-size: 34px;
  max-width: 440px;
}

.customer-page .events-banner-media img {
  object-position: 45% center;
}

.customer-motion .customer-row .customer-image,
.customer-motion .customer-row .customer-copy {
  opacity: 0;
  translate: 0 16px;
  transition: opacity .7s, translate .7s;
}

.customer-motion .customer-row .customer-copy {
  transition-delay: .1s;
}

.customer-motion .customer-row.is-visible .customer-image,
.customer-motion .customer-row.is-visible .customer-copy {
  opacity: 1;
  translate: 0 0;
}

@media (min-width: 768px) {
  .customer-content {
    padding: 64px clamp(20px, 2.6vw, 56px) 80px;
  }

  .customer-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 20px;
  }

  .customer-copy,
  .customer-row-reverse .customer-copy {
    padding: 32px 20px;
  }

  .customer-row-reverse .customer-image {
    grid-column: 2;
    grid-row: 1;
  }

  .customer-row-reverse .customer-copy {
    grid-column: 1;
    grid-row: 1;
    padding-left: 0;
  }

  .customer-copy h2 {
    font-size: 32px;
  }

  .customer-page .events-banner {
    height: auto;
    min-height: clamp(330px, 33.3vw, 540px);
  }

  .customer-page .events-banner h1 {
    font-size: clamp(42px, 5vw, 72px);
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .customer-image img,
  .customer-copy a i,
  .customer-copy a .arrow {
    transition: none;
  }

  .customer-motion .customer-row .customer-image,
  .customer-motion .customer-row .customer-copy {
    opacity: 1;
    translate: none;
    transition: none;
  }
}
