/* =====================================================
   MOVING SERVICES TICKER
===================================================== */

.ticker {
  width: 100%;
  overflow: hidden;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  padding: 18px 0;
}

.ticker-track {
  display: flex;
  width: max-content;

  animation: serviceTicker 32s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-group span {
  position: relative;

  white-space: nowrap;

  margin-right: 55px;

  color: rgba(253, 249, 250, .38);

  font-size: 9px;
  font-weight: 600;
  letter-spacing: .18em;
}

.ticker-group span::after {
  content: "";

  position: absolute;

  right: -30px;
  top: 50%;

  transform: translateY(-50%);

  width: 4px;
  height: 4px;

  border-radius: 50%;

  background: var(--accent);

  opacity: .75;
}

@keyframes serviceTicker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}


/* =====================================================
   SERVICES SECTION
===================================================== */

.services-section {
  background: var(--black);
}

.services-label {
  margin: 0 0 18px 0;

  color: rgba(253, 249, 250, .55);

  font-size: 14px;

  font-weight: 800;

  letter-spacing: .16em;

  text-transform: uppercase;
}

.services-section .section-head {
  max-width: 850px;

  margin-bottom: 55px;
}

.services-section .section-head h2 {
  margin-top: 0;

  max-width: 800px;
}

.services-section .section-lead {
  margin-top: 20px;

  max-width: 650px;
}


/* =====================================================
   SERVICE CARDS
===================================================== */

.services-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 24px;

  background: transparent;
}

.service-card {
  background: var(--black);

  color: var(--off-white);

  min-height: 330px;

  padding: 32px 30px;

  border: 1px solid rgba(253, 249, 250, .12);

  border-radius: 10px;

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  transition:
    transform .3s ease,
    border-color .3s ease,
    background .3s ease,
    box-shadow .3s ease;
}

.service-card:hover {
  transform: translateY(-6px);

  border-color: rgba(236, 244, 1, .45);

  background: rgba(236, 244, 1, .025);

  box-shadow:
    0 18px 50px rgba(0, 0, 0, .18);
}


/* =====================================================
   SERVICE ICON
===================================================== */

.service-icon {
  min-height: 42px;

  display: flex;

  align-items: center;

  justify-content: flex-start;

  margin-bottom: 24px;

  color: var(--accent);

  font-size: 29px;

  font-weight: 700;

  line-height: 1;
}

.service-card:hover .service-icon {
  color: var(--accent);
  transform: scale(1.05);
}


/* =====================================================
   SERVICE TEXT
===================================================== */

.service-card h3 {
  margin: 0 0 14px 0;

  color: var(--off-white);

  font-size: 24px;

  line-height: 1.2;

  font-weight: 750;

  letter-spacing: -.025em;
}

.service-card p {
  margin: 0 0 28px 0;

  color: rgba(253, 249, 250, .52);

  font-size: 15px;

  line-height: 1.6;

  max-width: 360px;
}


/* =====================================================
   LEARN MORE BUTTON
===================================================== */

.service-button {
  margin-top: auto;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  min-height: 40px;

  padding: 8px 18px;

  border: 1px solid rgba(253, 249, 250, .30);

  border-radius: 999px;

  color: var(--off-white);

  background: transparent;

  font-size: 13px;

  font-weight: 600;

  letter-spacing: .04em;

  transition:
    background .25s ease,
    color .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.service-button:hover {
  background: var(--accent);

  border-color: var(--accent);

  color: var(--black);

  transform: translateY(-2px);
}
