/* ============================================
   SERVICES PAGE
   ============================================ */

.about-header {
  mix-blend-mode: normal;
  background: linear-gradient(to bottom, var(--bg-deeper), transparent);
  padding-bottom: 2rem;
}

.nav-active {
  color: var(--accent-cyan) !important;
}

/* ============================================
   HERO
   ============================================ */

.services-hero {
  min-height: 65vh;
  display: flex;
  align-items: flex-end;
  padding: 0 8vw 6rem;
  background: var(--bg-deeper);
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 70% 70%, rgba(0, 212, 255, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 30% 40% at 20% 30%, rgba(59, 130, 246, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.services-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.services-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin: 1rem 0 1.5rem;
}

.services-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 550px;
}

/* ============================================
   OFFERINGS GRID
   ============================================ */

.services-offerings {
  padding: 8rem 8vw;
  background: var(--bg-dark);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

.offering-card {
  padding: 3rem 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: rgba(255, 255, 255, 0.01);
  transition: border-color 0.4s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.offering-card:hover {
  border-color: rgba(0, 212, 255, 0.12);
  transform: translateY(-4px);
}

.offering-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(0, 212, 255, 0.12);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.offering-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.offering-body {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.offering-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.offering-features li {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  padding-left: 1.2rem;
  position: relative;
}

.offering-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 1px;
  background: var(--accent-cyan);
}

/* ============================================
   DIVIDER
   ============================================ */

.section-divider {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 8vw;
  background: var(--bg-dark);
}

.divider-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.divider-text {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ============================================
   CASE STUDIES
   ============================================ */

.case-studies {
  padding: 8rem 8vw;
  background: var(--bg-dark);
}

.case-studies-header {
  margin-bottom: 5rem;
}

.case-studies-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-top: 1.2rem;
}

/* Individual case study */
.case-study {
  max-width: 1200px;
  margin: 0 auto 6rem;
  padding: 3.5rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  background: var(--bg-deeper);
  opacity: 0;
  transform: translateY(30px);
}

.case-study:last-child {
  margin-bottom: 0;
}

.case-study-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.case-number {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.case-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0.8rem 0 0.5rem;
  line-height: 1.15;
}

.case-type {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

/* Case body: description + stats */
.case-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 2.5rem;
}

.case-description h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
  margin-top: 2rem;
}

.case-description h4:first-child {
  margin-top: 0;
}

.case-description p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
}

.case-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: center;
}

.case-stat {
  display: flex;
  flex-direction: column;
}

.case-stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.case-stat-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
}

/* Tech tags */
.case-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.tech-tag {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent-cyan);
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(0, 212, 255, 0.2);
  background: rgba(0, 212, 255, 0.04);
  white-space: nowrap;
}

/* Highlights grid */
.case-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.highlight h5 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.highlight p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-muted);
}

/* ============================================
   CTA
   ============================================ */

.services-cta {
  padding: 10rem 8vw;
  background: var(--bg-deeper);
  text-align: center;
}

.services-cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.services-cta-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 1.5rem 0 1.2rem;
}

.services-cta-body {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

/* ============================================
   FOOTER
   ============================================ */

.services-footer {
  padding: 2rem 5vw;
  background: var(--bg-deeper);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 768px) {
  .services-hero {
    min-height: 50vh;
    padding: 0 6vw 4rem;
  }

  .services-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .offerings-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-offerings {
    padding: 5rem 6vw;
  }

  .section-divider {
    padding: 0 6vw;
  }

  .case-studies {
    padding: 5rem 6vw;
  }

  .case-study {
    padding: 2rem 1.5rem;
  }

  .case-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .case-highlights {
    grid-template-columns: 1fr;
  }

  .services-cta {
    padding: 6rem 6vw;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .offerings-grid {
    grid-template-columns: 1fr;
    max-width: 600px;
  }
}
