/* ============================================================
   SyncroBot - Consulting Page Styles
   Design language aligned with index.php
   ============================================================ */

/* ── Consulting Hero ────────────────────────────────────────── */
.consulting-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000000;
  overflow: hidden;
  padding-top: 68px;
}

.consulting-hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0 60px;
  text-align: center;
}

.consulting-hero .hero-sub {
  margin-left: auto;
  margin-right: auto;
}

.consulting-hero .hero-ctas {
  justify-content: center;
}

/* ── Process Section ────────────────────────────────────────── */
.process-section {
  padding: 100px 0;
  background: #fff;
}

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.process-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  position: relative;
  overflow: visible;
  transition: var(--transition);
}

.process-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.process-card:hover {
  border-color: rgba(31,90,248,0.2);
  box-shadow: 0 8px 40px rgba(31,90,248,0.1);
  transform: translateY(-4px);
}

.process-card:hover::before {
  transform: scaleX(1);
}

.process-number {
  position: absolute;
  top: -16px;
  left: 24px;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
}

.process-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(31,90,248,0.12), rgba(233,30,99,0.12));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 8px;
}

.process-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
}

.process-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.75;
}

/* ── Benefits Section ───────────────────────────────────────── */
.benefits-section {
  padding: 100px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.benefit-card:hover {
  border-color: rgba(31,90,248,0.2);
  box-shadow: 0 8px 40px rgba(31,90,248,0.1);
  transform: translateY(-4px);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, rgba(31,90,248,0.2), rgba(233,30,99,0.2));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.benefit-icon svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

.benefit-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.benefit-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA Section ────────────────────────────────────────────── */
.cta-section {
  padding: 80px 0;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.cta-decoration {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 50% 100%, rgba(31,90,248,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(233,30,99,0.06) 0%, transparent 60%);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .consulting-hero-content {
    padding: 48px 0 40px;
  }
  .process-section,
  .benefits-section {
    padding: 64px 0;
  }
  .cta-section {
    padding: 48px 0;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}
