/* ============================================================
   COMPANY PROFILE PAGE — company-profile.css
   ============================================================ */

/* ── Section nav (quick jump) ──────────────────────────────── */
.cp-section-nav {
  background: #f8f9fb;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 124px;
  z-index: 90;
}

.cp-section-nav .container {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.cp-section-nav a {
  display: block;
  padding: 14px 22px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s;
  text-decoration: none;
}

.cp-section-nav a:hover {
  color: var(--teal-dark);
  border-bottom-color: var(--teal-dark);
}

@media (max-width: 767px) {
  .cp-section-nav { top: 80px; }
}

/* ── Shared section styles ─────────────────────────────────── */
.cp-section {
  padding: 80px 0;
}

.cp-dark-section {
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 100%);
}

.cp-gray-section {
  background: #f4f6f9;
}

.cp-section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--navy);
  margin: 8px 0 12px;
  line-height: 1.2;
}

.cp-title-light { color: #fff; }

.cp-section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-tag--light {
  background: transparent !important;
  color: #fff !important;
}

/* ── Overview section ──────────────────────────────────────── */
.cp-lead {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 16px;
}

.cp-body {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 14px;
}

.cp-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.cp-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.cp-info-item i {
  font-size: 18px;
  color: var(--teal-dark);
  margin-top: 2px;
  flex-shrink: 0;
}

.cp-info-item strong {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #999;
  margin-bottom: 2px;
}

.cp-info-item span {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

/* Stats cards (right col overview) */
.cp-overview-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cp-stat-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  border-bottom: 4px solid var(--teal);
  transition: transform .3s, box-shadow .3s;
}

.cp-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}

.cp-stat-icon {
  font-size: 28px;
  color: var(--teal-dark);
  margin-bottom: 12px;
}

.cp-stat-num {
  font-size: 36px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}

.cp-stat-unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 4px 0 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cp-stat-label {
  font-size: 12px;
  color: #777;
  line-height: 1.4;
}

/* ── Vision & Mission ──────────────────────────────────────── */
.cp-vm-card {
  border-radius: 20px;
  padding: 36px 32px;
  height: 100%;
}

.cp-vm-visi {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
}

.cp-vm-misi {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}

.cp-vm-icon {
  font-size: 32px;
  color: var(--teal-mid);
  margin-bottom: 12px;
}

.cp-vm-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--teal-mid);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.cp-vm-title {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 14px;
}

.cp-vm-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 20px;
}

.cp-vm-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cp-vm-val {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

/* ── History Timeline ──────────────────────────────────────── */
.cp-history-timeline {
  position: relative;
  padding: 20px 0;
}

.cp-history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--teal-mid), var(--navy));
  transform: translateX(-50%);
}

.cp-ht-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  align-items: start;
  gap: 0;
  margin-bottom: 48px;
}

.cp-ht-item .cp-ht-year {
  text-align: right;
  padding-right: 32px;
  padding-top: 4px;
  font-size: 13px;
  font-weight: 800;
  color: var(--teal-dark);
  letter-spacing: 0.5px;
}

.cp-ht-item .cp-ht-content {
  padding-left: 32px;
}

.cp-ht-item.cp-ht-right .cp-ht-year {
  order: 3;
  text-align: left;
  padding-left: 32px;
  padding-right: 0;
}

.cp-ht-item.cp-ht-right .cp-ht-content {
  order: 1;
  text-align: right;
  padding-right: 32px;
  padding-left: 0;
}

.cp-ht-item.cp-ht-right .cp-ht-dot { order: 2; }

.cp-ht-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--teal-dark);
  border: 3px solid #fff;
  box-shadow: 0 0 0 3px var(--teal-mid);
  justify-self: center;
  margin-top: 6px;
}

.cp-ht-content h4 {
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.cp-ht-content p {
  font-size: 13px;
  color: #555;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 767px) {
  .cp-history-timeline::before { left: 20px; }
  .cp-ht-item,
  .cp-ht-item.cp-ht-right {
    grid-template-columns: 40px 1fr;
  }
  .cp-ht-item .cp-ht-year,
  .cp-ht-item.cp-ht-right .cp-ht-year {
    display: none;
  }
  .cp-ht-item .cp-ht-content,
  .cp-ht-item.cp-ht-right .cp-ht-content {
    order: 2;
    text-align: left;
    padding-left: 20px;
    padding-right: 0;
  }
  .cp-ht-dot,
  .cp-ht-item.cp-ht-right .cp-ht-dot {
    order: 1;
    justify-self: start;
  }
}

/* ── Shareholders ──────────────────────────────────────────── */
.cp-shareholder-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform .3s, box-shadow .3s;
  overflow: hidden;
  position: relative;
}

.cp-shareholder-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}

.cp-sh-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--sh-color, var(--teal));
}

.cp-sh-percent {
  font-size: 48px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin: 8px 0 16px;
}

.cp-sh-logo-wrap {
  margin-bottom: 14px;
}

.cp-sh-icon {
  font-size: 40px;
}

.cp-sh-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.cp-sh-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

/* Donut chart */
.cp-sh-chart-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.cp-sh-chart {
  position: relative;
  width: 180px;
  height: 180px;
  flex-shrink: 0;
}

.cp-donut {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.cp-donut-seg {
  fill: none;
  stroke-width: 32;
  r: 50%;
  cx: 50%;
  cy: 50%;
  stroke-dashoffset: 25;
  transition: stroke-dasharray .6s ease;
}

.cp-donut-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cp-donut-label {
  font-size: 11px;
  color: #999;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cp-donut-val {
  font-size: 24px;
  font-weight: 900;
  color: var(--navy);
}

.cp-sh-legend {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-sh-leg-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
}

.cp-sh-leg-item span {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  flex-shrink: 0;
}

/* ── Supply Chain ──────────────────────────────────────────── */
.cp-supply-chain {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 48px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.cp-sc-step {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 24px 16px;
  background: #f8f9fb;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.cp-sc-highlight {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  border-color: transparent;
}

.cp-sc-highlight .cp-sc-label { color: #fff; }
.cp-sc-highlight .cp-sc-desc { color: rgba(255,255,255,0.8); }
.cp-sc-highlight .cp-sc-icon { color: var(--teal-mid); }

.cp-sc-icon {
  font-size: 28px;
  color: var(--teal-dark);
  margin-bottom: 10px;
}

.cp-sc-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cp-sc-desc {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
}

.cp-sc-arrow {
  display: flex;
  align-items: center;
  padding: 0 8px;
  font-size: 18px;
  color: var(--teal-mid);
  flex-shrink: 0;
  margin-top: 40px;
}

@media (max-width: 767px) {
  .cp-supply-chain {
    flex-direction: column;
  }
  .cp-sc-arrow {
    transform: rotate(90deg);
    margin: -8px auto;
  }
  .cp-sc-step { width: 100%; min-width: unset; }
}

/* ── Services ──────────────────────────────────────────────── */
.cp-services-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0;
}

.cp-service-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.07);
  transition: transform .3s, box-shadow .3s;
  height: 100%;
}

.cp-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(0,0,0,0.12);
}

.cp-svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.cp-service-card h5 {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.cp-service-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* ── Milestones ────────────────────────────────────────────── */
.cp-milestone-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 28px 24px;
  transition: background .3s, transform .3s;
}

.cp-milestone-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.cp-ms-year {
  font-size: 32px;
  font-weight: 900;
  color: var(--teal-mid);
  line-height: 1;
  margin-bottom: 8px;
}

.cp-ms-title {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.cp-milestone-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin: 0;
}

/* ── Info grid responsive ──────────────────────────────────── */
@media (max-width: 575px) {
  .cp-info-grid { grid-template-columns: 1fr; }
  .cp-overview-stats { grid-template-columns: 1fr 1fr; }
  .cp-sh-chart-wrap { flex-direction: column; }
}

/* ── Link cards (jelajahi lebih lanjut) ────────────────────── */
.cp-link-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}

.cp-link-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
  transform: translateY(-3px);
  border-color: var(--teal-mid);
}

.cp-lc-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: #E5EFF9;
  color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.cp-lc-text { flex: 1; }
.cp-lc-text h5 { font-size: 14px; font-weight: 800; color: var(--navy); margin: 0 0 3px; }
.cp-lc-text p  { font-size: 12px; color: #888; margin: 0; line-height: 1.4; }

.cp-lc-arrow { color: var(--teal-mid); font-size: 14px; flex-shrink: 0; }
