/* Nowo Services Grid Styles */
.nowo-sg.services {
  background: var(--nowo-bg, #fff);
  padding: calc(var(--nowo-pad, 70px)) 20px;
  text-align: center;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  color: var(--nowo-text, #111);
}
.nowo-sg .services-title {
  font-size: clamp(26px, 3vw, 36px);
  color: var(--nowo-title, #0A2A5E);
  margin-bottom: 10px;
  font-weight: 700;
}
.nowo-sg .services-subtitle {
  color: var(--nowo-muted, #64748b);
  margin-bottom: 50px;
}
.nowo-sg .services-wrap {
  max-width: min(96vw, var(--nowo-maxw, 1200px));
  margin: 0 auto;
}
.nowo-sg .services-grid {
  display: grid;
  gap: var(--nowo-gap, 32px);
  grid-template-columns: repeat(auto-fit, minmax(var(--nowo-min-card, 280px), 1fr));
}
.nowo-sg .service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: transform .4s ease, box-shadow .4s ease;
  cursor: pointer;
}
.nowo-sg .service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 36px rgba(0,0,0,.15);
}
.nowo-sg .service-img {
  position: relative;
  height: var(--nowo-img-h, 220px);
  overflow: hidden;
}
.nowo-sg .service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.nowo-sg .service-card:hover .service-img img {
  transform: scale(1.1);
}
.nowo-sg .overlay {
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--nowo-primary, #0A2A5E) 80%, transparent);
  opacity: 0;
  transition: opacity .4s ease;
}
.nowo-sg .service-card:hover .overlay {
  opacity: var(--nowo-overlay, .55);
}
.nowo-sg .service-content {
  padding: 24px;
  text-align: left;
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
}
.nowo-sg .service-content h3 {
  font-size: 21px;
  margin-bottom: 12px;
  color: var(--nowo-text, #111);
  font-weight: 600;
  transition: color .3s;
}
.nowo-sg .service-card:hover .service-content h3 {
  color: var(--nowo-title, #0A2A5E);
}
.nowo-sg .service-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}
.nowo-sg .service-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--nowo-primary, #0A2A5E);
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 14px;
  transition: background .3s, padding .3s;
  font-weight: 500;
}
.nowo-sg .service-btn i {
  opacity: 0;
  transform: translateX(-6px);
  transition: transform .3s, opacity .3s;
}
.nowo-sg .service-btn:hover {
  filter: brightness(.92);
  padding-right: 26px;
}
.nowo-sg .service-btn:hover i {
  opacity: 1;
  transform: translateX(0);
}
.nowo-sg .nowo-sg-empty {
  color: #6b7280;
  text-align: center;
}
/* Respect user option for min card; set CSS var from inline style */
.nowo-sg.services { --nowo-min-card: var(--nowo-min-card, 280px); }
