/* CYBERSHOP — IT услуги (Hub) */

.it-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 60px;
}

.it-service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 20px 20px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 12, 22, 0.72);
  transition: border-color 0.18s, transform 0.18s, box-shadow 0.18s;
}

a.it-service-card {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.it-service-card:hover,
a.it-service-card:hover {
  border-color: rgba(0, 210, 255, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.it-service-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.it-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 210, 255, 0.22);
  background: rgba(0, 210, 255, 0.08);
  color: #67e8f9;
}

.it-service-card__icon svg {
  width: 18px;
  height: 18px;
}

.it-service-card__tag {
  flex-shrink: 0;
  padding-top: 2px;
  color: #64748b;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: right;
}

.it-service-card__title {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: #f8fafc;
}

.it-service-card__desc {
  margin: 0;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.55;
}

.it-services-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-top: 28px;
}

.it-services-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 32px;
  border-radius: 12px;
  border: 1px solid rgba(0, 210, 255, 0.35);
  background: linear-gradient(135deg, #00d2ff 0%, #22d3ee 45%, #0891b2 100%);
  box-shadow:
    0 0 0 1px rgba(0, 210, 255, 0.25),
    0 10px 32px rgba(0, 210, 255, 0.28);
  color: #041018;
  font-family: var(--catalog-nav-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 0.18s, box-shadow 0.18s;
}

.it-services-whatsapp-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.it-services-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(0, 210, 255, 0.4),
    0 14px 40px rgba(0, 210, 255, 0.36);
}

html.catalog-theme-biz .it-services-whatsapp-btn {
  color: #ffffff;
  border-color: rgba(8, 145, 178, 0.35);
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  box-shadow: 0 10px 28px rgba(8, 145, 178, 0.24);
}

html.catalog-theme-biz .it-services-whatsapp-btn:hover {
  box-shadow: 0 14px 36px rgba(8, 145, 178, 0.32);
}

.it-services-seo-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html.catalog-theme-biz .it-service-card {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
}

html.catalog-theme-biz .it-service-card:hover,
html.catalog-theme-biz a.it-service-card:hover {
  border-color: rgba(8, 145, 178, 0.28);
}

html.catalog-theme-biz .it-service-card__icon {
  border-color: rgba(8, 145, 178, 0.22);
  background: rgba(8, 145, 178, 0.08);
  color: #0891b2;
}

html.catalog-theme-biz .it-service-card__title {
  color: #0f172a;
}

html.catalog-theme-biz .it-service-card__desc {
  color: #64748b;
}

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

@media (max-width: 720px) {
  .it-services-grid {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 48px;
  }

  .it-services-cta {
    margin-top: 22px;
  }

  .it-services-whatsapp-btn {
    width: 100%;
  }
}
