/* ---------------------------------------------------------------------------
   Home section 06 - how it works.

   Markup: components/home/HowItWorksSection.tsx. Scoped under .gg-steps, and
   loaded after the theme stylesheets so nothing there can win on specificity.
--------------------------------------------------------------------------- */

.gg-steps {
  background: #fff;
  padding: 100px 0 110px;
}

.gg-steps__inner {
  max-width: 1330px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Match home Services eyebrow (Elementor accent + theme default). */
.gg-steps__eyebrow {
  display: inline-block;
  margin: 0 0 4px;
  color: #D70005;
  font-family: "Inclusive Sans", Sans-serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.5;
}

.gg-steps__title {
  margin: 0 0 58px;
  color: var(--secondary-color);
  font-family: "Inclusive Sans", Sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

/* The second line carries the brand red. */
.gg-steps__title span {
  display: block;
  color: var(--primary-color);
}

/* --- the three steps ----------------------------------------------------- */

.gg-steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e6e6e6;
}

.gg-steps__list li {
  padding: 42px 46px 46px;
  /* Vertical rules between the columns, not around the block. */
  border-left: 1px solid #e6e6e6;
}

.gg-steps__list li:first-child {
  padding-left: 0;
  border-left: 0;
}

.gg-steps__number {
  display: block;
  margin-bottom: 10px;
  color: #ededed;
  font-size: 62px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.gg-steps__list h3 {
  margin: 0 0 14px;
  color: var(--secondary-color);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gg-steps__list p {
  margin: 0;
  color: #6b6b6b;
  font-size: 15px;
  line-height: 1.75;
}

/* --- responsive ---------------------------------------------------------- */

@media screen and (max-width: 1199px) {
  .gg-steps {
    padding: 80px 0 90px;
  }
  .gg-steps__title {
    font-size: 36px;
    margin-bottom: 44px;
  }
  .gg-steps__list li {
    padding: 34px 28px 36px;
  }
}

@media screen and (max-width: 991px) {
  .gg-steps__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .gg-steps__list li {
    padding: 30px 0;
    border-left: 0;
    border-bottom: 1px solid #e6e6e6;
  }
  .gg-steps__list li:last-child {
    border-bottom: 0;
  }
}

@media screen and (max-width: 575px) {
  .gg-steps {
    padding: 60px 0 66px;
  }
  .gg-steps__title {
    font-size: 30px;
    margin-bottom: 32px;
  }
  .gg-steps__number {
    font-size: 50px;
  }
}
