/* CV Panca Cipta Solusi Mandiri — Stylesheet Korporasi Modern */

:root {
  --biru: #16365c;
  --biru-tua: #0f243e;
  --biru-aksen: #235795;
  --biru-cerah: #3182ce;
  --biru-muda: #eef5fc;
  --biru-border: #c8dcf0;
  --putih: #ffffff;
  --abu-bg: #f7f9fc;
  --abu-teks: #526071;
  --abu-border: #dbe4ee;
  --gelap: #1e293b;
  --wa: #25D366;
  --wa-hover: #20ba5a;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: #334155;
  background: var(--putih);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */
.site-header {
  background: var(--biru);
  color: var(--putih);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo di header dengan frame gradasi biru-putih halus */
.brand img {
  width: 48px;
  height: 48px;
  border-radius: 9px;
  background: linear-gradient(135deg, #ffffff 0%, #e2effd 60%, #cfe3fa 100%);
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  object-fit: contain;
}

.brand-text h1 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.brand-text small {
  font-size: 12px;
  opacity: 0.82;
  font-weight: 400;
}

.header-contact {
  display: flex;
  gap: 20px;
  font-size: 13px;
  opacity: 0.92;
}

.header-contact a {
  color: var(--putih);
  transition: opacity 0.2s;
}

.header-contact a:hover {
  opacity: 0.75;
  text-decoration: underline;
}

/* Nav */
.site-nav {
  background: var(--biru-tua);
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
}

.nav-menu li a {
  display: block;
  padding: 13px 20px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: background 0.2s, color 0.2s;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.nav-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wa);
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 5px;
  font-size: 13px !important;
  font-weight: 600;
  margin: 6px 0;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
  transition: background 0.2s, transform 0.15s;
}

.nav-wa:hover {
  background: var(--wa-hover);
  transform: translateY(-1px);
}

.nav-wa svg {
  width: 16px;
  height: 16px;
  fill: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  padding: 6px 10px;
  cursor: pointer;
  color: #fff;
}

.menu-toggle svg { width: 22px; height: 22px; stroke: #fff; fill: none; }

/* ═══════════════════════════════════════════
   HERO / HALAMAN UTAMA
   ═══════════════════════════════════════════ */
.hero {
  background: linear-gradient(135deg, #16365c 0%, #0f243e 100%);
  color: var(--putih);
  padding: 60px 0 54px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 52px;
  position: relative;
  z-index: 2;
}

.hero-text { flex: 1; }

.hero-text h2 {
  font-size: 29px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.hero-text p {
  font-size: 15.5px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 26px;
  max-width: 530px;
}

/* Frame Logo Berdimensi 3D dengan Gradasi Biru-Putih Mewah */
.hero-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-frame {
  width: 195px;
  height: 195px;
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff 0%, #e8f2fc 50%, #d0e4fa 100%);
  padding: 16px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 
    0 16px 36px -8px rgba(0, 0, 0, 0.45),
    0 6px 16px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.95),
    inset 0 -2px 6px rgba(35, 87, 149, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

.hero-logo-frame:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 22px 44px -10px rgba(0, 0, 0, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.25),
    inset 0 2px 4px rgba(255, 255, 255, 1);
}

.hero-logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(22, 54, 92, 0.2));
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-putih {
  background: var(--putih);
  color: var(--biru);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.btn-putih:hover {
  background: #f0f6fc;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.btn-wa-hero {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-wa-hero:hover {
  background: var(--wa-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45);
}

.btn-biru {
  background: var(--biru-aksen);
  color: #fff;
}
.btn-biru:hover { background: var(--biru); }

.btn-wa-full {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.btn-wa-full:hover {
  background: var(--wa-hover);
  transform: translateY(-1px);
}

.btn svg { width: 16px; height: 16px; fill: currentColor; flex-shrink: 0; }

/* ═══════════════════════════════════════════
   INFO BAR (ringkas di bawah hero)
   ═══════════════════════════════════════════ */
.info-bar {
  background: var(--abu-bg);
  border-bottom: 1px solid var(--abu-border);
  padding: 16px 0;
}

.info-bar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--abu-teks);
}

.info-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-bar-item strong {
  color: var(--gelap);
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   PAGE BANNER (halaman selain beranda)
   ═══════════════════════════════════════════ */
.page-banner {
  background: linear-gradient(135deg, #16365c 0%, #0f243e 100%);
  color: var(--putih);
  padding: 38px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.page-banner h2 {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 4px;
}

.page-banner p {
  font-size: 14.5px;
  opacity: 0.88;
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */
.section {
  padding: 52px 0;
}

.section-gray {
  background: var(--abu-bg);
  border-top: 1px solid var(--abu-border);
  border-bottom: 1px solid var(--abu-border);
}

.section h2.section-title {
  font-size: 23px;
  font-weight: 700;
  color: var(--biru);
  margin-bottom: 6px;
  position: relative;
  padding-bottom: 12px;
}

.section h2.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 3px;
  background: var(--biru-aksen);
  border-radius: 2px;
}

.section h2.section-title.center { text-align: center; }
.section h2.section-title.center::after { left: 50%; transform: translateX(-50%); }

.section-desc {
  color: var(--abu-teks);
  font-size: 14.5px;
  margin-bottom: 30px;
  max-width: 650px;
}

.section-desc.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════
   3D CARDS LAYANAN (BERMUTU & MODERN)
   ═══════════════════════════════════════════ */
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.layanan-item {
  background: linear-gradient(180deg, #ffffff 0%, #f9fcff 100%);
  border: 1px solid #d4e2f0;
  border-top: 3.5px solid var(--biru-aksen);
  border-radius: 12px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  position: relative;
  /* 3D Elevation Layer */
  box-shadow: 
    0 4px 6px -1px rgba(22, 54, 92, 0.06),
    0 2px 4px -2px rgba(22, 54, 92, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.layanan-item:hover {
  transform: translateY(-6px);
  border-color: var(--biru-cerah);
  border-top-color: var(--biru-cerah);
  box-shadow: 
    0 18px 30px -8px rgba(22, 54, 92, 0.16),
    0 8px 14px -4px rgba(22, 54, 92, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

/* Ikon 3D Bergradasi */
.card-icon-3d {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: linear-gradient(135deg, #ffffff 0%, #e3effc 60%, #cde3fa 100%);
  border: 1px solid #c2dbf7;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--biru-aksen);
  margin-bottom: 16px;
  box-shadow: 
    0 4px 10px -2px rgba(35, 87, 149, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.card-icon-3d svg {
  width: 22px;
  height: 22px;
}

.layanan-item .kbli {
  font-size: 11px;
  color: var(--biru-aksen);
  font-weight: 700;
  margin-bottom: 6px;
  display: block;
}

.layanan-item h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--gelap);
  margin-bottom: 8px;
  line-height: 1.35;
}

.layanan-item p {
  font-size: 13.5px;
  color: var(--abu-teks);
  line-height: 1.6;
  margin-bottom: 14px;
}

.layanan-item ul {
  list-style: none;
  padding: 0;
  margin-top: auto;
  border-top: 1px dashed #e2eaf2;
  padding-top: 12px;
}

.layanan-item ul li {
  font-size: 13px;
  color: #3b4958;
  padding: 3px 0;
  padding-left: 16px;
  position: relative;
}

.layanan-item ul li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--biru-aksen);
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   3D CARDS KEUNGGULAN (2 KOLOM)
   ═══════════════════════════════════════════ */
.keunggulan-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.keunggulan-item {
  display: flex;
  gap: 16px;
  padding: 22px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
  border: 1px solid #d4e2f0;
  border-left: 5px solid var(--biru-aksen);
  border-radius: 10px;
  box-shadow: 
    0 4px 10px -2px rgba(22, 54, 92, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.keunggulan-item:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 14px 24px -6px rgba(22, 54, 92, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.keunggulan-item .num {
  font-size: 26px;
  font-weight: 800;
  color: var(--biru-aksen);
  line-height: 1;
  flex-shrink: 0;
  width: 34px;
  opacity: 0.55;
}

.keunggulan-item h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gelap);
  margin-bottom: 5px;
}

.keunggulan-item p {
  font-size: 13.5px;
  color: var(--abu-teks);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════
   TABEL LEGALITAS
   ═══════════════════════════════════════════ */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--putih);
  border: 1px solid var(--abu-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.legal-table th,
.legal-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid #edf2f7;
}

.legal-table th {
  background: var(--biru);
  color: var(--putih);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.legal-table tr:last-child td { border-bottom: none; }

.legal-table td:first-child {
  width: 35%;
  color: var(--abu-teks);
  font-weight: 500;
  background: #fbfcfe;
}

.legal-table td:last-child {
  font-weight: 600;
  color: var(--gelap);
}

/* ═══════════════════════════════════════════
   PROFIL CONTENT
   ═══════════════════════════════════════════ */
.profil-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.profil-block h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--biru);
  margin-bottom: 10px;
}

.profil-block p {
  font-size: 14px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 10px;
}

.profil-block ul {
  list-style: none;
  padding: 0;
}

.profil-block ul li {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  padding: 4px 0 4px 18px;
  position: relative;
}

.profil-block ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--biru-aksen);
  font-weight: 700;
}

/* ═══════════════════════════════════════════
   ALUR KERJA
   ═══════════════════════════════════════════ */
.alur-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: alur;
}

.alur-step {
  text-align: center;
  padding: 22px 16px;
  position: relative;
}

.alur-step::before {
  counter-increment: alur;
  content: counter(alur);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--biru-aksen) 0%, var(--biru) 100%);
  color: var(--putih);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
  margin: 0 auto 12px;
  box-shadow: 0 4px 8px rgba(22, 54, 92, 0.25);
}

.alur-step::after {
  content: "";
  position: absolute;
  top: 40px;
  right: 0;
  width: 50%;
  height: 2px;
  background: var(--abu-border);
}

.alur-step:last-child::after { display: none; }

.alur-step h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--gelap);
  margin-bottom: 5px;
}

.alur-step p {
  font-size: 12.5px;
  color: var(--abu-teks);
  line-height: 1.5;
}

/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #16365c 0%, #0f243e 100%);
  color: var(--putih);
  padding: 42px 0;
  text-align: center;
}

.cta-section h3 {
  font-size: 21px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-section p {
  font-size: 14.5px;
  opacity: 0.88;
  margin-bottom: 20px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════
   KONTAK
   ═══════════════════════════════════════════ */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.kontak-info h3 {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--biru);
  margin-bottom: 16px;
}

.kontak-row {
  margin-bottom: 16px;
}

.kontak-row label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--abu-teks);
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 2px;
}

.kontak-row p {
  font-size: 14px;
  color: var(--gelap);
  font-weight: 500;
  line-height: 1.5;
}

.kontak-row a { color: var(--biru-aksen); font-weight: 600; }
.kontak-row a:hover { text-decoration: underline; }

/* Form dengan 3D card elevation */
.form-card {
  background: linear-gradient(180deg, #ffffff 0%, #fafdff 100%);
  border: 1px solid #d4e2f0;
  border-radius: 10px;
  padding: 26px;
  box-shadow: 
    0 6px 16px -2px rgba(22, 54, 92, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.form-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--biru);
  margin-bottom: 4px;
}

.form-card > p {
  font-size: 13px;
  color: var(--abu-teks);
  margin-bottom: 18px;
}

.form-group { margin-bottom: 14px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gelap);
  margin-bottom: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #cbd5e1;
  border-radius: 5px;
  font-family: inherit;
  font-size: 14px;
  color: #334155;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--biru-aksen);
  box-shadow: 0 0 0 3px rgba(35, 87, 149, 0.12);
}

.form-textarea { min-height: 95px; resize: vertical; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.site-footer {
  background: var(--biru-tua);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 40px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  margin-bottom: 18px;
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-col p { line-height: 1.6; }

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li { padding: 3px 0; }

.footer-col ul li a {
  color: rgba(255,255,255,0.72);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.52);
  flex-wrap: wrap;
  gap: 8px;
}

/* ═══════════════════════════════════════════
   WA FLOAT
   ═══════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--wa);
  color: #fff;
  padding: 11px 19px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  z-index: 90;
  transition: all 0.2s ease;
}

.wa-float:hover {
  background: var(--wa-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}
.wa-float svg { width: 18px; height: 18px; fill: #fff; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .header-contact { display: none; }
  .menu-toggle { display: block; }

  .nav-menu {
    display: none;
    flex-direction: column;
    background: var(--biru-tua);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-menu.show { display: flex; }
  .nav-menu li a { padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }

  .hero-inner { flex-direction: column-reverse; text-align: center; gap: 26px; }
  .hero-logo-frame { width: 140px; height: 140px; margin: 0 auto; border-radius: 16px; padding: 12px; }
  .hero-text p { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-text h2 { font-size: 23px; }

  .info-bar-inner { flex-direction: column; gap: 8px; }
  .layanan-grid { grid-template-columns: 1fr; }
  .keunggulan-grid { grid-template-columns: 1fr; }
  .profil-grid { grid-template-columns: 1fr; }
  .kontak-grid { grid-template-columns: 1fr; }
  .alur-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .alur-step::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
