/* Seção de especialidades - node Figma 1682:5600. */
.app-specialties-section {
  width: 100%;
  overflow: hidden;
  background: #fafafa;
}

.app-specialties-shell {
  width: min(1443px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 45px;
}

.app-specialties-header {
  width: min(756px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
}

.app-specialties-title {
  margin: 0;
  font-family: "Muring Display", system-ui, sans-serif;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.356;
  letter-spacing: 0.76px;
  white-space: nowrap;
  background:
    linear-gradient(175.23deg, #57d4ff 0%, #845cff 100%),
    linear-gradient(90deg, #57d4ff 0%, #57d4ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.app-specialties-title strong {
  font-weight: 600;
}

.app-specialties-description {
  width: min(756px, 100%);
  margin: 0;
  color: #64748b;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.47;
}

.app-specialties-grid {
  width: 1238px;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 396px);
  gap: 25px;
  justify-content: center;
}

.app-specialties-card {
  min-width: 0;
  height: 239px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
  border-radius: 30px;
  background: #ffffff;
}

.app-specialties-card--center {
  grid-column: 2;
}

.app-specialties-icon {
  width: 45px;
  height: 45px;
  flex: 0 0 45px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 10px;
  background: #e5f8ff;
}

.app-specialties-icon img {
  width: 28px;
  height: 28px;
  display: block;
  object-fit: contain;
}

.app-specialties-icon--full {
  background: transparent;
}

.app-specialties-icon--full img {
  width: 45px;
  height: 45px;
}

.app-specialties-card h3,
.app-specialties-card p {
  width: 336px;
  max-width: 100%;
  margin: 0;
  color: #64748b;
  font-size: 18px;
  line-height: 1.47;
}

.app-specialties-card h3 {
  font-family: "Muring Display", system-ui, sans-serif;
  font-weight: 700;
}

.app-specialties-card p {
  font-weight: 400;
}

@media (max-width: 1340px) {
  .app-specialties-shell {
    width: calc(100% - 48px);
  }

  .app-specialties-title {
    white-space: normal;
  }

  .app-specialties-grid {
    width: min(100%, 817px);
    grid-template-columns: repeat(2, minmax(0, 396px));
  }

  .app-specialties-card {
    width: 100%;
  }

  .app-specialties-card--center {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(396px, 100%);
  }
}

@media (max-width: 768px) {
  .app-specialties-shell {
    width: calc(100% - 32px);
    gap: 36px;
  }

  .app-specialties-header {
    gap: 24px;
  }

  .app-specialties-title {
    font-size: 30px;
    line-height: 1.22;
  }

  .app-specialties-description {
    font-size: 17px;
  }

  .app-specialties-grid {
    width: min(100%, 420px);
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .app-specialties-card,
  .app-specialties-card--center {
    width: 100%;
    height: auto;
    min-height: 210px;
    grid-column: auto;
    padding: 24px;
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .app-specialties-title {
    font-size: 28px;
    letter-spacing: 0;
  }

  .app-specialties-description,
  .app-specialties-card h3,
  .app-specialties-card p {
    font-size: 16px;
    line-height: 1.38;
  }

  .app-specialties-card {
    min-height: 190px;
    padding: 20px;
    border-radius: 20px;
  }

  .app-specialties-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .app-specialties-icon img {
    width: 26px;
    height: 26px;
  }

  .app-specialties-icon--full img {
    width: 42px;
    height: 42px;
  }
}
