.specialty-showcase {
  position: relative;
  padding-block: clamp(4rem, 7vw, 5.5rem);
}

.showcase-anchor-alias {
  position: absolute;
  top: 0;
}

.showcase-heading {
  margin-bottom: 2rem;
}

.showcase-heading h2 {
  margin-bottom: 0.4rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.showcase-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #e4eaf0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(29, 58, 108, 0.055);
}

.showcase-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f1f5f7;
}

.showcase-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showcase-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.35rem;
}

.showcase-location {
  margin: 0 0 0.35rem;
  color: #237da2;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.showcase-body h3 {
  margin: 0 0 0.55rem;
  color: var(--color-primary);
  font-size: clamp(1.1rem, 1.65vw, 1.35rem);
  font-weight: 700;
  line-height: 1.2;
}

.showcase-description {
  margin: 0;
  color: #58687b;
  font-size: 0.9rem;
  line-height: 1.5;
}

.showcase-contact {
  margin-top: auto;
  padding-top: 1.45rem;
}

.showcase-contact-label {
  margin: 0 0 0.55rem;
  color: #5c6b7d;
  font-size: 0.76rem;
  font-weight: 600;
}

.showcase-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
}

.showcase-actions--multi {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.showcase-whatsapp {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  background: #15803d;
  color: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.showcase-whatsapp:hover {
  background: #116833;
  color: #fff;
}

.showcase-whatsapp:focus-visible,
.showcase-all-link:focus-visible {
  outline: 3px solid var(--color-secondary);
  outline-offset: 3px;
}

.showcase-whatsapp svg {
  flex: 0 0 auto;
}

.showcase-actions--multi .showcase-whatsapp {
  gap: 0.25rem;
  padding-inline: 0.3rem;
  font-size: 0.78rem;
}

.showcase-all-link {
  display: table;
  margin: 2rem auto 0;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.showcase-all-link:hover {
  color: #087eac;
}

@media (max-width: 1120px) {
  .showcase-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .showcase-grid {
    max-width: 440px;
    grid-template-columns: minmax(0, 1fr);
    margin-inline: auto;
  }

  .showcase-body {
    padding: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-whatsapp {
    transition: none;
  }
}
