/* =====================================================
   INFOWISE — SERVICES PAGE STYLES v2.0 (Dark Theme)
   ===================================================== */

/* ─── Hero ─── */
.services-hero {
  position: relative;
  padding: 8rem 0 5rem;
  text-align: center;
  color: white;
  background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&q=80&w=1920') center/cover;
  overflow: hidden;
}
.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.9) 0%, rgba(26,26,46,0.7) 100%);
}
.services-hero .container { position: relative; z-index: 1; }
.services-hero h1 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.services-hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  color: rgba(255,255,255,0.75);
}

/* ─── Services Grid ─── */
.services-section {
  background: var(--bg);
  padding: 6rem 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.service-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--secondary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border-color: var(--border);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  background: rgba(245,130,32,0.1);
}
.service-icon.teal { background: rgba(245,130,32,0.1); }
.service-icon.amber { background: rgba(245,130,32,0.1); }
.service-content { flex: 1; display: flex; flex-direction: column; }
.service-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}
.service-content p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1;
}
.service-link {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}
.service-link:hover {
  color: #e07a1e;
  gap: 10px;
}

/* ─── CTA Section ─── */
.services-cta {
  background: var(--bg-elevated);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.services-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(245,130,32,0.06) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(245,130,32,0.04) 0%, transparent 40%);
  pointer-events: none;
}
.services-cta .container { position: relative; z-index: 1; }
.services-cta h2 {
  color: var(--text);
  margin-bottom: 1rem;
}
.services-cta p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .services-grid { grid-template-columns: 1fr; }
}
