/* ------------------------------------------------------------
   Hero
------------------------------------------------------------ */

@media only screen and (min-width:800px) {
  .mwd-hero-content {
    width: 53%;
  }
}

/* -----------------------------------------
   SEO Services Cards
----------------------------------------- */

.seo-services {
  background:
    radial-gradient(circle at 50% 0%, rgba(218,166,55,.08), transparent 36%),
    #f4f2eb;
}

.seo-services .section-heading {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.seo-services .section-heading > p {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}


/* Grid */
.seo-service-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.4rem, 2vw, 2rem);
  margin-top: clamp(2.6rem, 4vw, 4rem);
}


/* Card */
.seo-service-card {
  position: relative;
  min-height: 100%;
  padding: clamp(1.8rem, 2.4vw, 2rem);
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,255,255,.86));
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 24px 4px 4px 4px;
  box-shadow: 0 18px 42px rgba(0,0,0,.075);
  text-align: left;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}


/* Small top gold detail 
.seo-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 3px;
  background: linear-gradient(90deg, #c9972f, #e4b84c);
}*/


/* Gold bottom bar */
.seo-service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #b88220, #e4b84c, #c9972f);
  opacity: .9;
}


/* Large faded number */
.seo-service-no {
  position: absolute;
  top: 1.15rem;
  right: 1.3rem;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 300;
  color: var(--mwd-gold);
  letter-spacing: -.04em;
  pointer-events: none;
  opacity: .3;
}


/* Card text */
.seo-service-card h3 {
  position: relative;
  z-index: 1;
  max-width: 80%;
  margin: 0;
  color: #171717;
  font-size: clamp(1.05rem, 1.15vw, 1.15rem);
  line-height: 1.3;
  font-weight: 650;
}

.seo-service-card .accent-line {
  width: 42px;
  height: 1px;
  margin: 1rem 0 .8rem;
}

.seo-service-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #555;
  font-size: .96rem;
  line-height: 1.75;
}


/* Hover */
.seo-service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201,151,47,.28);
  box-shadow: 0 26px 56px rgba(0,0,0,.12);
}

.seo-service-card:hover .seo-service-no {
  opacity: .5;
}


/* Responsive */
@media only screen and (max-width: 1150px) {

  .seo-service-cards {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media only screen and (max-width: 650px) {

  .seo-service-cards {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .seo-service-card {
    padding: 1.65rem;
  }

  .seo-service-card h3 {
    max-width: 78%;
  }

}