/* Metric
==================================== */
.sty-metric {
  align-items: center;
  background: rgb(255 255 255 / 40%);
  padding: var(--sp-base);
  border-radius: var(--sp-base);
  height: 100%;
  border: 1px solid #fff;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.sty-metric .sty-icon-box {
  align-items: center;
  justify-content: center;
}

.sty-metric .sty-icon-box .sg-icon {
  width: 60px;
  height: 60px;
  color: var(--mix-color);
}

.sty-metric .sty-content {
  align-items: center;
  text-align: center;
  gap: var(--sp-xs);
}

.sty-metric .metric-number {
  font-family: var(--h1-font-family);
  font-size: var(--h1-font-size);
  color: var(--h1-color);
  font-weight: var(--h1-font-weight);
  margin-bottom: var(--sp-xs);
}

/* Servises
==================================== */
.sty-services {
  padding-bottom: 1.2rem;
}

.sty-services .sg-icon {
  width: 130px;
  height: 130px;
  padding: var(--sp-5);
  border-radius: var(--sp-base);
  background: var(--mix-light);
}

.sty-services .icon-svg {
  width: 80px;
  height: 80px;
}

.sty-services .sty-ib {
  background: var(--mix-light);
  color: var(--mix-color);
}

.sty-services .sty-seo {
  background: var(--main-light);
  color: var(--main-color);
}

.sty-services .sty-web {
  background: var(--mix-light);
  color: var(----mix-dark);
}

.sty-services p {
  text-align: center;
}

.sty-card-home {
  padding: var(--sp-4);
}

/* portfolio
==================================== */
.sty-portfolio-wrapper {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* card */
.sty-portfolio {
  padding: 0;
  overflow: hidden;
  background: var(--white);
  border-radius: var(--sp-base);
  display: flex;
  flex-direction: column;
  border: 1px solid #e1e4e8;
}

/* image */
.sty-portfolio .sty-card-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* header */
.sty-portfolio .sty-card-header {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: 0 var(--sp-3) var(--sp-2);
  border-bottom: 1px solid var(--bg-body);
  margin: 0 var(--sp-3);
  align-items: center;
}

.sty-portfolio .sty-card-header .sty-card-title {
  margin: 0;
  color: var(--h1-color);
}

.sty-portfolio .sty-card-header .sty-card-desc {
  color: var(--h2-color);
  font-size: var(--font-size-sm);
}

/* content */
.sty-portfolio .sty-content {
  padding: var(--sp-1) var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  background: var(--bg-body);
  margin: 0 var(--sp-3) var(--sp-3);
  border-radius: var(--sp-2);
}

.sty-portfolio .sty-content p {
  margin: 0;
  padding-bottom: var(--sp-1);
  font-size: var(--font-size-sm);
  color: var(--text-light);
  border-bottom: 1px dashed var(--mix-light);
}

.sty-portfolio .sty-content p:last-of-type {
  padding: 0;
  border-bottom: 0;
}

.sty-portfolio .sty-content .sg-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--mix-color);
}

.sty-portfolio .sty-content .sty-label {
  color: var(--main-dark);
  font-weight: 600;
}

@media (min-width: 768px) {
  .sty-card-home {
    padding: var(--sp-6);
  }
}
