.gmh-services {
  padding: 54px 20px;
  background: var(--gmh-background);
  color: var(--gmh-text);
}
.gmh-services * {
  box-sizing: border-box;
}
.gmh-services-inner {
  padding: 10px 20px;
  text-align: center;
  background: #f8fafc;
}
.gmh-services-head {
  display: inline-block;
  background: #d9e2f5;
  color: black;
  padding: 12px 30px;
  border-radius: 50px;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 30px;
}
.gmh-services-head h2{
    font-family: var(--gmh-font);
    color: var(--gmh-text);
    line-height: 1.2;
    letter-spacing: -0.025em;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
}
.gmh-services-kicker {
  color: var(--gmh-primary);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.7rem;
  font-weight: 850;
}
.gmh-services-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.55rem);
  line-height: 1.15;
  margin: 8px 0;
  color: var(--gmh-secondary);
}
.gmh-services-head p {
  margin: 0;
  color: var(--gmh-muted);
  line-height: 1.6;
}
.gmh-service-tabs {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-bottom: 22px;
}
.gmh-service-tab,
.gmh-category-tabs button {
  border: 1px solid var(--gmh-border);
  background: #fff;
  color: var(--gmh-muted);
  border-radius: 999px;
  padding: 9px 17px;
  font-weight: 800;
  cursor: pointer;
}
.gmh-service-tab.active,
.gmh-category-tabs button.active {
  background: var(--gmh-primary);
  border-color: var(--gmh-primary);
  color: #fff;
}
.gmh-service-panel {
  display: none;
}
.gmh-service-panel.active {
  display: block;
}
.gmh-catalogue-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}
.gmh-catalogue-toolbar h3 {
  font-size: 1.25rem;
  margin: 0 0 3px;
}
.gmh-catalogue-toolbar p {
  margin: 0;
  color: var(--gmh-muted);
  font-size: 0.78rem;
}
.gmh-catalogue-toolbar > a {
  color: var(--gmh-primary);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.gmh-category-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 1px 1px 12px;
  scrollbar-width: thin;
}
.gmh-category-tabs button {
  padding: 7px 13px;
  font-size: 0.72rem;
  white-space: nowrap;
}
.gmh-device-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.gmh-device-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--gmh-border);
  border-radius: var(--gmh-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 18px rgba(15, 35, 70, 0.04);
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
.gmh-device-card:hover {
  transform: translateY(-3px);
  border-color: #a9c8f5;
  box-shadow: var(--gmh-shadow);
}
.gmh-device-image {
  display: grid;
  place-items: center;
  position: relative;
  aspect-ratio: 4/3;
  background: #f4f7fb;
  padding: 12px;
}
.gmh-device-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gmh-device-image span {
  position: absolute;
  left: 9px;
  top: 9px;
  max-width: calc(100% - 18px);
  padding: 4px 7px;
  border-radius: 99px;
  background: #e9f8f2;
  color: var(--gmh-success);
  font-size: 0.61rem;
  font-weight: 850;
  text-transform: capitalize;
}
.gmh-device-body {
  padding: 13px;
  display: flex;
  flex: 1;
  flex-direction: column;
}
.gmh-device-body > small {
  color: var(--gmh-primary);
  font-size: 0.65rem;
  font-weight: 850;
}
.gmh-device-body h4 {
  font-size: 0.91rem;
  line-height: 1.3;
  margin: 4px 0;
}
.gmh-device-body h4 a {
  color: var(--gmh-text);
  text-decoration: none;
}
.gmh-device-body p {
  min-height: 32px;
  margin: 0 0 8px;
  color: var(--gmh-muted);
  font-size: 0.68rem;
  line-height: 1.45;
}
.gmh-device-price {
  font-size: 0.95rem;
  color: var(--gmh-secondary);
  margin-top: auto;
}
.gmh-device-cta {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  padding: 8px;
  border-radius: 8px;
  background: var(--gmh-primary);
  color: #fff;
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 850;
}
.gmh-service-empty {
  grid-column: 1/-1;
  padding: 34px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gmh-border);
  border-radius: 12px;
  color: var(--gmh-muted);
}
.gmh-services-note {
  text-align: center;
  color: var(--gmh-muted);
  font-size: 0.7rem;
  margin: 14px 0 0;
}
@media (max-width: 1024px) {
  .gmh-device-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 768px) {
  .gmh-services {
    padding: 42px 14px;
  }
  .gmh-device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gmh-catalogue-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .gmh-service-tabs {
    position: sticky;
    top: 72px;
    z-index: 5;
    background: var(--gmh-background);
    padding: 6px;
  }
}
@media (max-width: 420px) {
  .gmh-device-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .gmh-device-body {
    padding: 10px;
  }
  .gmh-device-image {
    padding: 8px;
  }
  .gmh-device-body h4 {
    font-size: 0.8rem;
  }
  .gmh-device-price {
    font-size: 0.82rem;
  }
  .gmh-service-tab {
    flex: 1;
    padding: 9px 10px;
  }
  .gmh-services-head h2 {
    font-size: 1.65rem;
  }
}
