/* =====================================================
   SERVICES PAGE
   CLASICOH KARLS
===================================================== */

.services-page {
  background: #040315;
  color: #fdf9fa;
}


.services-page-container {
  width: 100%;
  max-width: 1320px;

  margin: 0 auto;

  padding:
    0 var(--page-padding);
}


.services-page-kicker {
  margin:
    0 0 14px;

  color: #ecf401;

  font-size: 11px;

  font-weight: 800;

  letter-spacing: 0.18em;

  text-transform: uppercase;
}


/* =====================================================
   INTRO
===================================================== */

.services-page-intro {
  padding:
    76px 0 52px;

  background:
    radial-gradient(
      circle at 76% 20%,
      rgba(236, 244, 1, 0.055),
      transparent 28%
    ),
    #040315;
}


.services-page-intro-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.3fr)
    minmax(280px, 0.7fr);

  gap: 65px;

  align-items: end;
}


.services-page-intro h1 {
  max-width: 880px;

  margin: 0;

  color: #fdf9fa;

  font-size:
    clamp(52px, 6vw, 88px);

  line-height: 0.94;

  letter-spacing: -0.06em;
}


.services-page-intro h1 em {
  display: block;

  color: #ecf401;

  font-style: normal;
}


.services-page-lead {
  max-width: 500px;

  margin: 0;

  color:
    rgba(253, 249, 250, 0.57);

  font-size: 15px;

  line-height: 1.72;
}


/* =====================================================
   SERVICES GRID
===================================================== */

.services-catalog {
  padding:
    24px 0 82px;

  background: #040315;
}


.services-catalog .services-page-container {
  max-width: 1248px;
}


.services-catalog-grid {
  display: grid;

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

  column-gap: 24px;
  row-gap: 24px;
}


.service-detail-card {
  min-height: 440px;

  padding:
    32px;

  display: flex;

  flex-direction: column;

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

  border-radius: 9px;

  background:
    rgba(253, 249, 250, 0.025);

  position: relative;

  overflow: hidden;

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


.service-detail-card::before {
  content: "";

  position: absolute;

  width: 180px;
  height: 180px;

  right: -95px;
  top: -105px;

  border:
    1px solid rgba(236, 244, 1, 0.08);

  border-radius: 50%;

  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}


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

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

  background:
    rgba(236, 244, 1, 0.025);

  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.19);
}


.service-detail-card:hover::before {
  transform:
    scale(1.15);

  opacity: 0.85;
}


.service-detail-top {
  min-height: 46px;

  display: flex;

  align-items: flex-start;

  justify-content: space-between;

  gap: 20px;
}


.service-detail-number {
  color:
    rgba(253, 249, 250, 0.28);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 0.10em;
}


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

  display: grid;

  place-items: center;

  color: #ecf401;

  font-size: 22px;

  font-weight: 800;
}


.service-detail-card h2 {
  margin:
    16px 0 17px;

  color: #fdf9fa;

  font-size: 26px;

  line-height: 1.08;

  letter-spacing: -0.035em;
}


.service-detail-copy {
  margin:
    0 0 23px;

  color:
    rgba(253, 249, 250, 0.55);

  font-size: 14px;

  line-height: 1.68;
}


.service-detail-list {
  margin:
    0 0 28px;

  padding: 0;

  list-style: none;

  display: grid;

  gap: 10px;
}


.service-detail-list li {
  position: relative;

  padding-left: 23px;

  color:
    rgba(253, 249, 250, 0.72);

  font-size: 13px;

  line-height: 1.45;
}


.service-detail-list li::before {
  content: "✓";

  position: absolute;

  left: 0;

  color: #ecf401;

  font-weight: 800;
}


.service-detail-button {
  width: 100%;

  min-height: 48px;

  margin-top: auto;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 14px;

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

  border-radius: 999px;

  color: #fdf9fa;

  font-size: 12px;

  font-weight: 800;

  letter-spacing: 0.04em;

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


.service-detail-button span {
  color: #ecf401;

  font-size: 17px;

  transition:
    transform 0.25s ease;
}


.service-detail-button:hover {
  background: #ecf401;

  color: #040315;

  border-color: #ecf401;

  transform:
    translateY(-2px);
}


.service-detail-button:hover span {
  color: #040315;

  transform:
    translateX(4px);
}


/* =====================================================
   FINAL CTA
===================================================== */

.services-final-cta {
  padding:
    68px 0;

  background: #02020e;

  color: #fdf9fa;

  border-bottom:
    1px solid rgba(253, 249, 250, 0.08);
}


.services-final-inner {
  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 50px;
}


.services-final-inner h2 {
  max-width: 760px;

  margin: 0;

  color: #fdf9fa;

  font-size:
    clamp(40px, 4.7vw, 64px);

  line-height: 0.98;

  letter-spacing: -0.055em;
}


.services-final-inner h2 em {
  color: #ecf401;

  font-style: normal;
}


.services-final-button {
  flex:
    0 0 auto;

  min-width: 190px;
  min-height: 54px;

  padding:
    0 26px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 17px;

  border-radius: 999px;

  background: #ecf401;

  color: #040315;

  font-size: 13px;

  font-weight: 800;

  transition:
    transform 0.25s ease,
    background 0.25s ease;
}


.services-final-button:hover {
  background: #fdf9fa;

  transform:
    translateY(-3px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

  .services-page-intro {
    padding:
      64px 0 44px;
  }


  .services-page-intro-grid {
    grid-template-columns: 1fr;

    gap: 24px;
  }


  .services-page-lead {
    max-width: 650px;
  }


  .services-catalog-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }


  .service-detail-card {
    min-height: 420px;
  }


  .services-approach-inner {
    grid-template-columns: 1fr;

    gap: 30px;
  }


  .services-approach-side {
    max-width: 650px;

    justify-self: start;
  }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 600px) {

  .services-page-intro {
    padding:
      48px 0 34px;
  }


  .services-page-intro h1 {
    font-size: 48px;
  }


  .services-page-lead {
    font-size: 14px;
  }


  .services-catalog {
    padding:
      14px 0 55px;
  }


  .services-catalog-grid {
    grid-template-columns: 1fr;

    gap: 14px;
  }


  .service-detail-card {
    min-height: auto;

    padding:
      25px 24px;
  }


  .service-detail-card h2 {
    font-size: 25px;
  }


  .service-detail-copy {
    font-size: 14px;
  }


  .service-detail-button {
    min-height: 46px;
  }


  .services-approach {
    padding:
      54px 0;
  }


  .services-approach-copy h2 {
    font-size: 40px;
  }


  .services-final-cta {
    padding:
      52px 0;
  }


  .services-final-inner {
    flex-direction: column;

    align-items: flex-start;

    gap: 28px;
  }


  .services-final-inner h2 {
    font-size: 40px;
  }

}


/* =====================================================
   INDUSTRIES WE SUPPORT
   Cream theme + same inline animated behaviour as homepage
===================================================== */

.services-industries {
  padding:
    72px 0 80px;

  overflow: hidden;

  background: #F4F5E8;

  color: #040315;

  border-top:
    1px solid rgba(4, 3, 21, 0.10);

  border-bottom:
    1px solid rgba(4, 3, 21, 0.10);
}


.services-industries-heading {
  max-width: 760px;

  margin:
    0 auto 44px;

  padding:
    0 var(--page-padding);

  text-align: center;
}


.services-industries-heading .services-page-kicker {
  color: #7d8200;
}


.services-industries-heading h2 {
  margin:
    0 0 14px;

  color: #040315;

  font-size:
    clamp(42px, 5vw, 66px);

  line-height: 1;

  letter-spacing: -0.05em;
}


.services-industries-heading > p:last-child {
  max-width: 680px;

  margin:
    0 auto;

  color:
    rgba(4, 3, 21, 0.58);

  font-size: 14px;

  line-height: 1.7;
}


.services-industries-scroll {
  width: 100%;

  overflow: hidden;
}


.services-industries-track {
  display: flex;

  align-items: stretch;

  width: max-content;

  gap: 16px;

  padding-left:
    var(--page-padding);

  animation:
    servicesIndustriesMove
    34s
    linear
    infinite;
}


.services-industry-card {
  min-width: 285px;

  min-height: 82px;

  padding:
    22px 25px;

  display: flex;

  align-items: center;

  border:
    1px solid rgba(4, 3, 21, 0.14);

  border-radius: 10px;

  background:
    rgba(255, 255, 255, 0.18);

  color: #040315;

  font-size: 19px;

  font-weight: 750;

  box-shadow:
    0 12px 30px rgba(4, 3, 21, 0.05);

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


.services-industry-card:nth-child(odd) {
  transform:
    translateY(-3px);
}


.services-industry-card:nth-child(even) {
  transform:
    translateY(3px);
}


.services-industry-card:hover {
  background: #040315;

  border-color: #040315;

  color: #fdf9fa;

  transform:
    translateY(-6px) scale(1.02);

  box-shadow:
    0 18px 38px rgba(4, 3, 21, 0.12);
}


@keyframes servicesIndustriesMove {

  from {
    transform:
      translateX(0);
  }

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

}


.services-industries-scroll:hover
.services-industries-track {
  animation-play-state: paused;
}


/* =====================================================
   REMOVE THE SHARED FOOTER CTA ON SERVICES PAGE ONLY
   (the "Let's create something worth remembering" section)
===================================================== */

.services-page-body .footer-cta {
  display: none;
}


/* =====================================================
   TABLET REFINEMENTS
===================================================== */

@media (max-width: 900px) {

  .services-catalog .services-page-container {
    max-width: 100%;
  }


  .services-catalog-grid {
    column-gap: 20px;
    row-gap: 20px;
  }


  .services-industries {
    padding:
      62px 0 68px;
  }


  .services-industries-track {
    animation-duration:
      38s;
  }

}


/* =====================================================
   MOBILE REFINEMENTS
===================================================== */

@media (max-width: 600px) {

  .services-catalog-grid {
    gap: 18px;
  }


  .service-detail-card {
    padding:
      28px 24px;

    margin: 0;
  }


  .services-industries {
    padding:
      52px 0 58px;
  }


  .services-industries-heading {
    margin-bottom: 34px;

    padding:
      0 18px;

    text-align: left;
  }


  .services-industries-heading h2 {
    font-size: 40px;
  }


  .services-industries-heading > p:last-child {
    margin-left: 0;

    font-size: 13px;
  }


  .services-industries-track {
    gap: 14px;

    padding-left: 18px;

    animation-duration:
      30s;
  }


  .services-industry-card {
    min-width: 240px;

    min-height: 76px;

    padding:
      20px 21px;

    font-size: 17px;
  }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

  .services-industries-track {
    animation:
      none !important;
  }

}
