/* Homepage services — refined professional layout */
.hb-home-services {
  padding: 64px 0 70px;
  background:
    radial-gradient(circle at 50% 0%, rgba(136,192,56,.06), transparent 42%),
    #f8fafb;
}
.hb-home-services-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 40px;
}
.hb-home-services-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  color: #3f6212;
  border: 1px solid #d9efb5;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  box-shadow: 0 8px 18px rgba(136,192,56,.08);
}
.hb-home-services-pill i { color: var(--brand-primary); }
.hb-home-services-head h2 {
  margin: 0 0 12px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -.035em;
  color: #0f172a;
  line-height: 1.12;
}
.hb-home-services-head p {
  margin: 0 auto;
  max-width: 560px;
  color: #64748b;
  font-size: 16px;
  line-height: 1.7;
}

.hb-home-services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 34px;
}
.hb-svc-card {
  position: relative;
  background:
    radial-gradient(rgba(56,104,112,.05) 1px, transparent 1px),
    linear-gradient(180deg, #ffffff 0%, #fcfdfd 100%);
  background-size: 16px 16px, auto;
  border: 1px solid #e6edf0;
  border-radius: 20px;
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .04);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.hb-svc-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-primary-border);
  box-shadow: 0 22px 44px rgba(56, 104, 112, .12);
}
.hb-svc-card.is-spotlight {
  border-color: #cfe3b4;
  box-shadow: 0 18px 36px rgba(136, 192, 56, .12);
}
.hb-svc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.hb-svc-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}
.hb-svc-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hb-svc-card.tone-green .hb-svc-icon { background: linear-gradient(145deg, #eef6e4, #dff0c4); color: #4d7c0f; }
.hb-svc-card.tone-slate .hb-svc-icon { background: linear-gradient(145deg, var(--brand-secondary-soft), #d5e4e8); color: var(--brand-secondary); }
.hb-svc-card.tone-dark .hb-svc-icon { background: linear-gradient(145deg, #eef2f4, #dce4e8); color: var(--brand-ink); }
.hb-svc-card.tone-mint .hb-svc-icon { background: linear-gradient(145deg, #f0fdf4, #dcfce7); color: #166534; }
.hb-svc-tag {
  background: var(--brand-primary);
  color: #fff;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hb-svc-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -.02em;
}
.hb-svc-card > p {
  margin: 0 0 12px;
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.6;
  min-height: 0;
  flex: 0 0 auto;
}
.hb-svc-features {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  flex: 1 1 auto;
}
.hb-svc-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #eef2f6;
  font-size: 13px;
  color: #334e68;
  line-height: 1.45;
}
.hb-svc-features li:last-child { border-bottom: 0; }
.hb-svc-features i {
  color: var(--brand-primary);
  margin-top: 2px;
  flex: 0 0 auto;
}
.hb-svc-price { margin-bottom: 16px; }
.hb-svc-label {
  display: block;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 4px;
}
.hb-svc-label s {
  margin-left: 4px;
  color: #94a3b8;
}
.hb-svc-price strong {
  color: #0f172a;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.03em;
}
.hb-svc-price strong small {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
}
.hb-svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  border: 1px solid #d7e2e5;
  background: #fff;
  color: #0f172a !important;
  border-radius: 999px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none !important;
  transition: background .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
}
.hb-svc-btn:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff !important;
  box-shadow: 0 10px 20px rgba(136,192,56,.25);
}

.hb-domain-banner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  padding: 40px 36px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 18px 44px rgba(56, 104, 112, .08),
    inset 0 1px 0 rgba(255, 255, 255, .85);
}
.hb-domain-banner-glow {
  position: absolute;
  right: -40px;
  top: -60px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(136, 192, 56, .18), transparent 68%);
  pointer-events: none;
}
.hb-domain-banner-copy,
.hb-domain-banner-art {
  position: relative;
  z-index: 1;
}
.hb-domain-banner-copy h3 {
  margin: 0 0 8px;
  color: var(--brand-ink);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
}
.hb-domain-banner-copy p {
  margin: 0 0 20px;
  color: var(--brand-muted);
  font-size: 15px;
  max-width: 460px;
  line-height: 1.55;
}
.hb-domain-banner-from {
  margin: 12px 0 0 !important;
  font-size: 13px !important;
  font-weight: 700;
  color: var(--brand-primary-dark) !important;
}
.hb-domain-banner-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border-radius: 999px;
  padding: 7px 7px 7px 18px;
  max-width: 540px;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.hb-home-services[dir="rtl"] .hb-domain-banner-form {
  padding: 7px 18px 7px 7px;
}
.hb-domain-banner-form > i { color: #94a3b8; font-size: 15px; }
.hb-domain-banner-form input {
  flex: 1;
  border: 0;
  outline: none;
  height: 42px;
  font-size: 15px;
  color: #0f172a;
  background: transparent;
  min-width: 0;
}
.hb-domain-banner-form button {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-primary);
  color: #fff;
  cursor: pointer;
  flex: 0 0 44px;
  box-shadow: 0 8px 16px rgba(136,192,56,.35);
  transition: background .15s ease, transform .15s ease;
}
.hb-domain-banner-form button:hover {
  background: var(--brand-primary-hover);
  transform: translateX(1px);
}

.hb-domain-banner-art {
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 12px;
  justify-content: end;
  align-content: end;
  min-height: 168px;
  position: relative;
  padding-top: 8px;
}
.hb-domain-bar-img {
  grid-column: 1 / -1;
  width: min(280px, 100%);
  height: auto;
  justify-self: end;
  border-radius: 12px;
}
.hb-domain-www-img {
  position: absolute;
  width: 72px;
  height: 72px;
  inset-inline-start: 6px;
  top: 18px;
  bottom: auto;
  z-index: 4;
  border-radius: 18px;
  background: #fff;
  padding: 8px;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(8, 71, 110, .16);
}
.hb-domain-banner-art span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(56, 104, 112, 0.14);
  color: var(--brand-secondary);
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .06em;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 8px 18px rgba(56, 104, 112, .06);
}
.hb-domain-banner-art .t2 { transform: translateY(10px); }
.hb-domain-banner-art .t3 { transform: translateY(-6px); }
.hb-domain-banner-art .t5 { transform: translateY(8px); }
.hb-domain-banner-art .t6 { transform: translateY(-4px); }

@media (max-width: 1199px) {
  .hb-home-services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .hb-home-services-head h2 { font-size: 30px; }
  .hb-home-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-domain-banner { grid-template-columns: 1fr; padding: 28px 22px; overflow: visible; }
  .hb-domain-banner-copy p { max-width: none; }
  .hb-domain-banner-form { max-width: 100%; }
  .hb-domain-banner-art {
    justify-content: center;
    justify-items: center;
    min-height: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 360px;
    margin: 8px auto 0;
    padding-top: 0;
  }
  .hb-domain-bar-img {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(280px, 100%);
  }
  .hb-domain-www-img {
    inset-inline-start: auto;
    inset-inline-end: 4px;
    top: 8px;
    width: 52px;
    height: 52px;
  }
  .hb-domain-banner-copy h3 { font-size: 24px; }
  .hb-domain-banner-art .t1,
  .hb-domain-banner-art .t2 { justify-self: stretch; }
  .hb-domain-banner-art .t3 {
    grid-column: 1 / -1;
    justify-self: center;
    min-width: 42%;
  }
  .hb-domain-banner-art .t2,
  .hb-domain-banner-art .t3,
  .hb-domain-banner-art .t5,
  .hb-domain-banner-art .t6 { transform: none; }
}
@media (max-width: 767px) {
  .hb-home-services { padding: 44px 0 48px; }
  .hb-home-services-head h2 { font-size: 26px; }
  .hb-home-services-grid { grid-template-columns: 1fr; }
  .hb-svc-card > p { min-height: 0; }
  .hb-domain-banner { padding: 22px 16px 20px; margin-inline: 0; }
  .hb-domain-banner-form {
    padding: 6px 6px 6px 14px;
  }
  .hb-home-services[dir="rtl"] .hb-domain-banner-form {
    padding: 6px 14px 6px 6px;
  }
  .hb-domain-banner-form input { height: 40px; font-size: 14px; }
  .hb-domain-banner-form button {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}
