/* ==========================================================================
   COMPONENT: UNIVERSAL SERVICE PAGE HEADER (70vh)
   File: component-page-header-service.css
   Reusable untuk: Jalur Laut, Jalur Darat, Jalur Udara, dll.
   ========================================================================== */

.page-header-service {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--nx-c-heading, #090e17);
  padding: clamp(5rem, 10vh, 7rem) 0;
}

/* Background Image Fleksibel */
.page-header-service__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

/* Dual-Layer Overlay Industrial (Kontras Tinggi & Teks Tetap Tajam) */
.page-header-service__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: 
    linear-gradient(90deg, rgba(9, 14, 23, 0.95) 0%, rgba(9, 14, 23, 0.8) 50%, rgba(9, 14, 23, 0.4) 100%),
    linear-gradient(0deg, rgba(9, 14, 23, 0.85) 0%, transparent 60%);
}

/* Container Konten */
.page-header-service__content {
  position: relative;
  z-index: 3;
}

/* Paragraf Lead Khusus Mode Gelap di Header */
.page-header-service .nx-body-lead {
  max-width: 640px;
  color: #cbd5e1;
  font-size: clamp(1.05rem, 1.35vw, 1.15rem);
  line-height: 1.65;
}

/* Tag Lencana Solusi Teknis */
.service-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-family: var(--font-heading, "Helvetica Now Display", sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.04em;
  width: fit-content;
}

@media screen and (max-width: 767px) {
  .page-header-service {
    min-height: 60vh;
    padding: 4.5rem 0;
  }
}


/* ==========================================================================
   COMPONENT: card
   ========================================================================== */

/* ==========================================================================
   COMPONENT: SERVICE SUB-CARDS (FCL, LCL, BREAKBULK)
   File: component-service-cards.css
   ========================================================================== */

.section-subservices {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background-color: var(--nx-bg-body, #f8fafc);
}

.subservice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

/* Base Card Style */
.subservice-card {
  background-color: #ffffff;
  border: 1px solid rgba(11, 20, 38, 0.08);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.subservice-card:hover {
  transform: translateY(-4px);
  border-color: var(--nx-c-primary, #ff5d18);
  box-shadow: 0 16px 32px -8px rgba(11, 20, 38, 0.06);
}

/* Card Header: Nomor & Kategori */
.subservice-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.subservice-card__num {
  font-family: var(--font-heading, "Helvetica Now Display", sans-serif);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--nx-c-primary, #1b43fe);
  background: rgba(27, 67, 254, 0.08);
  border: 1px solid rgba(27, 67, 254, 0.16);
  padding: 0.25rem 0.65rem;
  border-radius: var(--nx-radius-sm, 6px);
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.subservice-card__tag {
  font-family: var(--font-heading, "Helvetica Now Display", sans-serif);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
}

/* Card Body */
.subservice-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.subservice-card__title {
  font-family: var(--font-heading, "Helvetica Now Display", sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--nx-c-heading, #090e17);
  line-height: 1.25;
  margin: 0;
}

.subservice-card__desc {
  font-family: var(--font-body, "Aspekta", sans-serif);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--nx-c-body, #475569);
  margin: 0;
}

/* Card Footer / Spec Target */
.subservice-card__footer {
  padding-top: 1.25rem;
  border-top: 1px dashed rgba(11, 20, 38, 0.12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.subservice-card__target {
  font-family: var(--font-heading, "Helvetica Now Display", sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  color: #0b1426;
  letter-spacing: 0.02em;
}

/* Responsif Mobile & Tablet */
@media screen and (max-width: 991px) {
  .subservice-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .subservice-card {
    padding: 1.75rem 1.5rem;
  }
}

/* ==========================================================================
   COMPONENT: EDITORIAL SERVICE PAGE HEADER
   File: component-page-header-detail.css
   ========================================================================== */

.service-header {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background-color: var(--nx-bg-body, #faf9f6); /* Warna warm/clean beige sesuai referensi */
}

.service-header__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 1. Pill Badge dengan Aksen Dot Oranye */
.service-header__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(11, 20, 38, 0.05);
  border: 1px solid rgba(11, 20, 38, 0.06);
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-family: var(--font-heading, "Helvetica Now Display", sans-serif);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--nx-c-heading, #090e17);
  margin-bottom: 1.25rem;
}

.service-header__badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--nx-c-primary, #ff5d18);
  display: inline-block;
}

/* 2. Judul Layanan Utama */
.service-header__title {
  font-family: var(--font-heading, "Helvetica Now Display", sans-serif);
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  font-weight: 700;
  color: var(--nx-c-heading, #090e17);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem 0;
  max-width: 780px;
  text-wrap: balance;
}

/* 3. Paragraf Lead */
.service-header__lead {
  font-family: var(--font-body, "Aspekta", sans-serif);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
  color: var(--nx-c-body, #52525b);
  max-width: 620px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem) auto;
}

/* Media Frame & Gambar Responsif */
.service-header__media {
  width: 100%;
  max-width: 880px;
  /* Gunakan rasio aspek modern agar proporsional di semua layar */
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px -8px rgba(11, 20, 38, 0.08);
}

.service-header__media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Penyesuaian khusus mobile */
@media screen and (max-width: 767px) {
  .service-header__media {
    aspect-ratio: 4 / 3; /* Lebih tinggi dan pas memenuhi viewport HP */
    border-radius: 14px;
  }
}