/* ============================================================
   CARGOTEER — SERVICES HUB PAGE
   ============================================================ */

.services-page {
  background: var(--white);
}

.services-page .navbar {
  opacity: 1;
  animation: none;
}

.services-page .feature-btn {
  opacity: 1;
  animation: none;
}

.sv-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Category cards ───────────────────────────────────────── */
.sv-categories {
  padding: clamp(64px, 8vw, 100px) 0 clamp(80px, 10vw, 120px);
  background: var(--white);
}

.sv-categories-header {
  text-align: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.sv-categories-label {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.sv-categories-heading {
  font-family: var(--font-primary);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--black);
  letter-spacing: -0.01em;
}

.sv-cards-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.sv-category-card {
  position: relative;
  grid-column: span 2;
  min-height: clamp(280px, 32vw, 380px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: var(--white);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.sv-category-card:hover {
  transform: translateY(-4px);
  filter: brightness(1.06);
}

.sv-category-card--freight { grid-column: span 2; }
.sv-category-card--auto    { grid-column: span 2; }
.sv-category-card--global  { grid-column: span 2; }
.sv-category-card--logistics { grid-column: span 3; }
.sv-category-card--tech    { grid-column: span 3; }

.sv-category-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sv-category-card--freight .sv-category-card-bg {
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 40%, #3d2817 100%);
}

.sv-category-card--auto .sv-category-card-bg {
  background: linear-gradient(145deg, #0f1f33 0%, #1a3a5c 50%, #125494 100%);
}

.sv-category-card--global .sv-category-card-bg {
  background: linear-gradient(145deg, #0d2137 0%, #1a4a6e 45%, #0a5c6e 100%);
}

.sv-category-card--logistics .sv-category-card-bg {
  background: linear-gradient(145deg, #1c1c1c 0%, #333 40%, #4a3020 100%);
}

.sv-category-card--tech .sv-category-card-bg {
  background: linear-gradient(145deg, #0a1628 0%, #162d50 50%, #1e3a6e 100%);
}

.sv-category-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

.sv-category-card-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 8px;
  background: rgba(253, 82, 2, 0.2);
  color: var(--orange);
}

.sv-category-card-content {
  position: relative;
  z-index: 2;
}

.sv-category-card-title {
  font-family: var(--font-primary);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.sv-category-card-desc {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 16px;
  max-width: 36ch;
}

.sv-category-card-link {
  font-family: var(--font-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange);
  transition: color 0.2s ease;
}

.sv-category-card:hover .sv-category-card-link {
  color: #ff8c42;
}

@media (max-width: 900px) {
  .sv-cards-grid {
    grid-template-columns: 1fr;
  }

  .sv-category-card,
  .sv-category-card--freight,
  .sv-category-card--auto,
  .sv-category-card--global,
  .sv-category-card--logistics,
  .sv-category-card--tech {
    grid-column: span 1;
    min-height: clamp(240px, 55vw, 320px);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .sv-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sv-category-card,
  .sv-category-card--freight,
  .sv-category-card--auto,
  .sv-category-card--global,
  .sv-category-card--logistics,
  .sv-category-card--tech {
    grid-column: span 1;
  }
}
