.specialization {
  padding: 120px 40px;
  background: #f5f2ed;
  color: #1b1b1b;
}

.specialization__top {
  max-width: 920px;
  margin-bottom: 64px;
}

.specialization__top span {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8c8175;
}

.specialization__top h2 {
  font-size: clamp(42px, 6vw, 86px);
  line-height: 0.95;
  margin: 24px 0;
  font-weight: 400;
}

.specialization__top p {
  max-width: 620px;
  font-size: 20px;
  line-height: 1.45;
  color: #5d554f;
}

.specialization__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: #d8d0c6;
}

.spec-card {
  min-height: 260px;
  padding: 28px;
  background: #f5f2ed;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: 0.4s ease;
  cursor: pointer;
}

.spec-card:hover {
  background: #1b1b1b;
  color: #f5f2ed;
}

.spec-card h3 {
  font-size: 28px;
  font-weight: 400;
  line-height: 1.1;
}

.spec-card--wide {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .specialization {
    padding: 80px 20px;
  }

  .specialization__grid {
    grid-template-columns: 1fr;
  }

  .spec-card--wide {
    grid-column: auto;
  }
}


body {
  font-family: 'Manrope', sans-serif;
  color: #1C1C1C;
}

h1,
h2,
h3,
.t-title,
.t-title_md,
.t-title_xs,
.t-section-title,
.uc-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.t-descr,
.t-text,
.t-text_sm,
.t-btn {
  font-family: 'Manrope', sans-serif !important;
}