/* =========================================================================
   Theme override — PT Cahaya Sentral Solusindo
   Rebrand dari Bizgen. Muat SETELAH assets/css/style.css supaya upgrade
   template tidak menimpa rebrand. Template memakai var(--color-*) di ~139
   tempat, jadi override :root saja sudah mengubah sebagian besar UI.
   Sumber arah: docs/design-arahan-company-profile.md §2
   ========================================================================= */

:root {
  /* Dua warna dominan */
  --color-primary: #0F3B57;      /* navy — latar sampul & halaman gelap */
  --color-secondary: #2FC2D6;    /* cyan/turquoise — pattern kotak, aksen ikon */

  /* Teks */
  --color-heading: #0F3B57;      /* judul di panel gelap/terang */
  --color-body: #5B6B76;         /* body text halaman terang */
  --color-body-2: #5B6B76;

  /* Latar */
  --cs-light: #F2F7FA;           /* terang (bukan putih murni, motif kotak terlihat) */
  --cs-navy: #0F3B57;
  --cs-navy-deep: #0A2B40;

  /* Aksen tersier (gradien matahari logo) — HANYA dekorasi terbatas */
  --cs-sun-1: #F5A623;
  --cs-sun-2: #8CC63F;
  --cs-sun-gradient: linear-gradient(135deg, #F5A623 0%, #8CC63F 100%);
}

/* Latar terang global */
body {
  background-color: var(--cs-light);
}

/* Panel terang & navy untuk section */
.cs-section-light {
  background-color: var(--cs-light);
}
.cs-section-navy {
  background-color: var(--cs-navy);
  color: rgba(255, 255, 255, 0.82);
}
.cs-section-navy h1,
.cs-section-navy h2,
.cs-section-navy h3,
.cs-section-navy h4,
.cs-section-navy .cs-title {
  color: #FFFFFF;
}
.cs-section-navy .cs-body,
.cs-section-navy .rts-section-title p,
.cs-section-navy .desc {
  color: rgba(255, 255, 255, 0.78);
}
/* Kartu putih di dalam panel navy harus tetap teks navy */
.cs-section-navy .cs-kbli-card,
.cs-section-navy .cs-kbli-card p,
.cs-section-navy .cs-kbli-card .cs-kbli-title {
  color: var(--color-heading);
}

/* Ikon: cyan di panel navy, navy di panel terang */
.cs-section-navy i,
.cs-section-navy .flaticon_bokinn:before {
  color: var(--color-secondary);
}

/* Hero H1 uppercase + letter-spacing tipis (meniru "COMPANY PROFILE" sampul) */
.cs-hero-title {
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* Kutipan "Professional, Committed and Trusted." — gaya italic serif seperti PDF */
.cs-quote-serif {
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  color: var(--color-secondary);
}

/* Tombol aksen (gradien matahari) — dibatasi, maksimal beberapa elemen */
.cs-btn-sun {
  background: var(--cs-sun-gradient);
  color: #0F3B57;
  border: none;
}

/* =========================================================================
   Motif kotak-cyan (halftone) — overlay dekoratif hero, CTA, footer.
   Sementara berupa CSS pattern; akan diganti PNG/SVG resmi di Fase 5.
   ========================================================================= */
/* Motif kotak tidak dipakai full-bleed: pola rapat menimpa teks dan melelahkan mata.
   Diganti semburat cyan lembut di tepi, di belakang konten. */
.cs-motif {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 1;
  background-image: none;
  background: radial-gradient(ellipse 42% 70% at 100% 0%, rgba(47, 194, 214, 0.16), transparent 70%);
}
.cs-motif--left {
  transform: none;
  background: radial-gradient(ellipse 42% 70% at 0% 100%, rgba(47, 194, 214, 0.14), transparent 68%);
}
.cs-section-navy > .container,
.cs-section-navy .container {
  position: relative;
  z-index: 1;
}

/* Grid badge KBLI (Kualifikasi Usaha) — komponen custom, pengganti counter */
.cs-kbli-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 991px) {
  .cs-kbli-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .cs-kbli-grid { grid-template-columns: 1fr; }
}
.cs-kbli-card {
  border: 1px solid rgba(15, 59, 87, 0.12);
  border-radius: 12px;
  padding: 22px;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.cs-kbli-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-secondary);
  box-shadow: 0 16px 40px rgba(15, 59, 87, 0.12);
}
.cs-kbli-code {
  display: inline-block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--color-primary);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 12px;
}
.cs-kbli-title {
  font-size: 16px;
  line-height: 1.35;
  margin: 0;
  color: var(--color-heading);
}

/* Grid partner brand (repurpose team-three) — hindari slider otomatis */
.cs-brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}
@media (max-width: 1199px) { .cs-brand-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 767px)  { .cs-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 480px)  { .cs-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cs-brand-group-title {
  margin: 30px 0 14px;
  color: var(--color-heading);
  font-size: 15px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 700;
}
.cs-brand-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 84px;
  padding: 14px;
  border: 1px solid rgba(15, 59, 87, 0.10);
  border-radius: 10px;
  background: #fff;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
}
.cs-brand-cell .cs-brand-name { font-size: 13px; line-height: 1.2; }
.cs-brand-cell.has-logo .cs-brand-name { font-size: 11px; font-weight: 600; opacity: .55; }
.cs-brand-logo { max-height: 40px; width: auto; max-width: 84px; }

/* Nilai CAHAYA — baris akronim */
.cs-cahaya-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.cs-cahaya-letter {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(47, 194, 214, 0.14);
  border: 1px solid rgba(47, 194, 214, 0.4);
  color: var(--color-secondary);
  font-weight: 800;
  font-size: 20px;
}

/* Kanal pembelian strip */
.cs-channel-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cs-channel-chip {
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(47, 194, 214, 0.12);
  color: var(--color-primary);
  font-weight: 600;
  font-size: 14px;
}

/* =========================================================================
   Selaras visual — komposisi warna & tata letak
   Hanya override. File di public/cahaset tidak diubah.
   Biru Bizgen (#3358D3) yang di-hardcode di style.css diganti token CAHAYA.
   ========================================================================= */

/* --- Header: bidang navy solid, tanpa blur. Padding template (100–160px) memotong logo & tombol. --- */
.rts-header-area.header-three,
.rts-sticky-header.sticky.header-three {
  background: #0F3B57;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: visible;
}
.rts-header-area.header-three .header-right {
  border-color: rgba(255, 255, 255, 0.1);
}
.rts-header-area.header-three .bottom-header-area {
  padding: 6px 28px;
}
.rts-header-area.header-three .logo-area {
  max-width: none;
  width: auto;
  flex: 0 0 auto;
  overflow: visible;
  justify-content: flex-start;
  padding-left: 24px;
}
.rts-header-area.header-three .logo-area .logo {
  max-width: none !important;
  padding-right: 20px;
  overflow: visible;
}
.rts-header-area.header-three .logo-area .logo img {
  width: auto;
  max-width: none;
  height: 58px;
  display: block;
}
.rts-header-area.header-three .bottom-header-area .header-nav-area ul li {
  margin-right: 16px;
}
.rts-header-area.header-three .bottom-header-area .header-nav-area ul li a {
  white-space: nowrap;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding-top: 22px;
  padding-bottom: 22px;
}
.rts-header-area.header-three .rts-btn.btn-primary {
  padding: 12px 18px;
  white-space: nowrap;
}
.main-nav-area ul li:hover > a,
.rts-header-area .main-nav-area ul li.active > a {
  color: var(--color-secondary);
}
.rts-header-area.header-three .rts-btn.btn-primary {
  background: var(--color-secondary);
  color: var(--cs-navy);
}
.rts-header-area.header-three .rts-btn.btn-primary:hover {
  background: #ffffff;
  color: var(--cs-navy);
}
.rts-header-area.header-three .search-icon:hover,
.rts-header-area.header-three .menu-toggle:hover {
  background: var(--color-secondary);
  color: var(--cs-navy);
}
@media (max-width: 575px) {
  .rts-header-area.header-three .logo-area {
    flex: 1 1 auto;
    max-width: 72%;
    padding-left: 12px;
  }
  .rts-header-area.header-three .logo-area .logo img {
    width: 180px;
  }
}

/* --- Hero: scrim navy + judul yang muat, aksen garis cyan (bukan bar navy) --- */
.rts-banner-slider-three-area .swiper-slide {
  position: relative;
}
.rts-banner-slider-three-area .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(10, 43, 64, 0.82) 0%, rgba(15, 59, 87, 0.45) 52%, rgba(15, 59, 87, 0.15) 100%);
  z-index: 1;
  pointer-events: none;
}
.rts-banner-slider-three-area .swiper-slide .container {
  position: relative;
  z-index: 2;
}
.rts-banner-slider-three-area .swiper-banner-btn {
  left: auto;
  right: 28px;
  z-index: 3;
}
.rts-banner-slider-three-area .banner-wrapper .banner-content {
  padding: 190px 0 130px;
}
.rts-banner-slider-three-area .banner-wrapper .banner-content .title {
  font-size: 62px;
  line-height: 1.12;
  max-width: 920px;
  opacity: 1;
}
.rts-banner-slider-three-area .banner-wrapper .banner-content .desc {
  max-width: 640px;
  opacity: 1;
  color: rgba(255, 255, 255, 0.88);
}
.rts-banner-slider-three-area .banner-wrapper .banner-content .title span::after {
  background: var(--color-secondary);
  height: 8px;
  bottom: 6px;
  opacity: 0.95;
}
.cs-hero-kicker {
  display: block;
  margin-bottom: 12px;
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 22px;
  line-height: 1.3;
  color: var(--color-secondary);
}
.cs-hero-sub {
  margin: -12px 0 18px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}
.cs-hero-sub.cs-quote-serif {
  font-size: 22px;
}
@media (max-width: 1199px) {
  .rts-banner-slider-three-area .banner-wrapper .banner-content .title { font-size: 48px; }
}
@media (max-width: 767px) {
  .rts-banner-slider-three-area .banner-wrapper .banner-content { padding: 130px 0 80px; }
  .rts-banner-slider-three-area .banner-wrapper .banner-content .title { font-size: 34px; }
  .cs-hero-kicker { font-size: 18px; }
}

/* --- Pill subtitle: ganti wash biru Bizgen --- */
.rts-section-title .subtitle-three {
  color: var(--color-primary);
  background: rgba(47, 194, 214, 0.16);
}
.cs-section-navy .subtitle-three {
  color: #ffffff;
  background: rgba(47, 194, 214, 0.22);
}
.cs-section-navy .rts-section-title .cs-quote-serif {
  font-size: 22px !important;
  line-height: 1.5;
  color: #ffffff;
}

/* --- Kartu layanan: ikon di lingkaran cyan, 4 kolom tetap lega --- */
.rts-service-area .rts-service-wrapper-three .single-item {
  padding: 36px 22px;
  height: 100%;
}
.rts-service-area .rts-service-wrapper-three .single-item .icon,
.rts-service-area .rts-service-wrapper-four .single-item .icon {
  background: rgba(47, 194, 214, 0.16);
  color: var(--color-primary);
  font-size: 28px;
  margin-bottom: 22px;
}
.rts-service-area .rts-service-wrapper-three .single-item:hover {
  box-shadow: 0 16px 40px rgba(15, 59, 87, 0.12);
}
.rts-service-area .rts-service-wrapper-four .single-item::before {
  background: linear-gradient(180deg, rgba(47, 194, 214, 0.45) 0%, rgba(47, 194, 214, 0) 89%);
}

/* --- Tentang: teks panjang tidak menabrak kolase foto --- */
.rts-about-wrapper-three .rts-about-content-area .desc {
  font-size: 16px;
  line-height: 1.75;
}
.rts-about-wrapper-three .rts-about-content-area .rts-section-title .desc + .desc {
  margin-top: 12px;
}
.rts-about-wrapper-three .rts-about-content-area .cs-about-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 45px;
}
.rts-about-wrapper-three .rts-about-content-area .cs-about-actions .rts-btn {
  margin-top: 0;
}
.rts-about-wrapper-three .rts-about-content-area .cs-about-actions .cs-inaproc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 36px;
  background: #fff;
  border: 1px solid rgba(15, 59, 87, 0.12);
  border-radius: 100px;
  line-height: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.rts-about-wrapper-three .rts-about-content-area .cs-about-actions .cs-inaproc-link:hover {
  border-color: rgba(213, 53, 89, 0.45);
  box-shadow: 0 6px 16px rgba(15, 59, 87, 0.08);
}
.rts-about-wrapper-three .rts-about-content-area .cs-about-actions .cs-inaproc-link img {
  height: 26px;
  width: auto;
  display: block;
}
.rts-about-wrapper-three .about-image-area {
  margin-left: 20px;
  min-height: 480px;
}
@media (max-width: 991px) {
  .rts-about-wrapper-three .about-image-area { min-height: 0; margin-left: 0; }
}

/* --- Visi & Misi: kartu terang, teks navy, baris misi tidak terpotong --- */
.cs-vm {
  background: var(--cs-light);
}
.cs-vm-head {
  margin-bottom: 28px;
  max-width: 640px;
}
.cs-vm-head .title {
  color: var(--color-heading);
  margin-bottom: 0;
}
.cs-vm-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 20px;
  align-items: stretch;
}
.cs-vm-panel {
  background: #ffffff;
  border: 1px solid rgba(15, 59, 87, 0.08);
  border-radius: 20px;
  padding: 32px 30px;
  box-shadow: 0 12px 32px rgba(15, 59, 87, 0.06);
  min-width: 0;
}
.cs-vm-vision {
  background:
    linear-gradient(180deg, rgba(47, 194, 214, 0.14) 0%, rgba(47, 194, 214, 0) 120px),
    #ffffff;
  border-top: 4px solid var(--color-secondary);
}
.cs-vm-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}
.cs-vm-statement {
  margin: 0;
  color: var(--color-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.55;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.cs-vm-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cs-vm-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.cs-vm-index {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(47, 194, 214, 0.16);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
}
.cs-vm-list p {
  margin: 4px 0 0;
  color: #3d5160;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.cs-vm-focus {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.cs-vm-focus li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 16px 18px;
  background: #ffffff;
  border: 1px solid rgba(15, 59, 87, 0.08);
  border-radius: 16px;
  color: var(--color-heading);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
}
.cs-vm-focus-icon {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(47, 194, 214, 0.16);
}
.cs-vm-focus-icon i {
  color: var(--color-primary);
  font-size: 16px;
}
@media (max-width: 991px) {
  .cs-vm-layout { grid-template-columns: 1fr; }
  .cs-vm-statement { font-size: 20px; }
  .cs-vm-focus { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575px) {
  .cs-vm-panel { padding: 24px 20px; }
  .cs-vm-focus { grid-template-columns: 1fr; }
}

/* --- Katalog: grid tidak bleed -300px; filter terbaca di panel terang & navy --- */
.rts-project-area-three::before {
  display: none;
}
.rts-project-area-three .ms-portfolio-filter-area .portfolio_wrap .filtermx {
  margin-left: 0;
  margin-right: 0;
}
.rts-project-area-three .ms-portfolio-filter-area {
  padding: 0 12px;
}
.rts-project-area-three .rts-section-title-area {
  align-items: flex-start;
  flex-direction: column;
  gap: 18px;
}
.rts-project-area-three .rts-section-title-area .button-group {
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}
.rts-project-area-three .button-group .button {
  border-radius: 999px;
  padding: 8px 14px;
  border: 1px solid transparent;
  line-height: 1.3;
  text-align: left;
}
.rts-project-area-three.cs-section-navy .button-group .button {
  color: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.2);
  background: transparent;
}
.rts-project-area-three.cs-section-navy .button-group .button.is-checked {
  background: var(--color-secondary);
  color: var(--cs-navy);
  border-color: transparent;
}
.rts-project-area-three.cs-section-light .button-group .button {
  color: var(--color-primary);
  background: #ffffff;
  border-color: rgba(15, 59, 87, 0.14);
}
.rts-project-area-three.cs-section-light .button-group .button.is-checked {
  background: var(--color-primary);
  color: #ffffff;
  border-color: transparent;
}

/* --- Tombol & tautan: hover tidak lagi navy-di-atas-navy --- */
.rts-btn.btn-primary:hover {
  background: var(--cs-navy-deep);
  color: #ffffff;
}
.rts-footer-area .footer-menu-area .footer-menu li a:hover,
.rts-footer-area .footer-widget-wrapper-three .single-widget .widget-body a:hover,
.rts-footer-area .footer-copyright-three .footer-condition li a:hover {
  color: var(--color-secondary);
}
.rts-footer-area .footer-menu-area .footer-menu,
.rts-footer-area .footer-copyright-three {
  border-color: rgba(255, 255, 255, 0.12);
}
.rts-footer-area.footer-three {
  background: var(--cs-navy);
  padding-top: 0;
}
.rts-footer-area.footer-three .rts-appointment-area {
  padding-bottom: 48px;
}
.rts-team-area-three {
  background: var(--cs-light);
}

/* --- CTA image: multiply biru Bizgen diganti navy --- */
.rts-cta-wrapper-three .cta-image-area::after,
.cta-image-area::after {
  background: var(--cs-navy);
}

/* --- Breadcrumb halaman dalam: navy penuh, judul tidak 70px memanjang --- */
.rts-breadcrumb-area.cs-section-navy {
  background-color: var(--cs-navy) !important;
  background-image: none !important;
}
.rts-breadcrumb-area .breadcrumb-conntent-area .title {
  font-size: 52px;
  max-width: 760px;
  line-height: 1.1;
}
@media (max-width: 767px) {
  .rts-breadcrumb-area .breadcrumb-conntent-area .title { font-size: 34px; }
}

/* --- Accordion FAQ di panel navy --- */
.cs-section-navy .accordion-item {
  background: #ffffff;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.cs-section-navy .accordion-button {
  color: var(--color-heading);
  font-weight: 700;
  background: #ffffff;
  box-shadow: none;
}
.cs-section-navy .accordion-button:not(.collapsed) {
  color: var(--cs-navy);
  background: rgba(47, 194, 214, 0.16);
}
.cs-section-navy .accordion-body {
  color: var(--color-body);
}

/* --- Partner grid di atas latar hangat template --- */
.cs-brand-cell {
  background: #ffffff;
}

/* --- Katalog homepage: kartu pendek, judul selalu terlihat (tanpa filter & hover) --- */
.cs-catalog .rts-section-title {
  margin-bottom: 28px;
}
.cs-catalog-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.cs-catalog-card {
  flex: 0 0 calc(25% - 12px);
  max-width: calc(25% - 12px);
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-heading);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cs-catalog-card:hover,
.cs-catalog-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.18);
  color: var(--color-heading);
}
.cs-section-light .cs-catalog-card {
  border: 1px solid rgba(15, 59, 87, 0.12);
}
.cs-catalog-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e7eef3;
}
.cs-catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.cs-catalog-name {
  display: block;
  padding: 12px 14px 14px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.35;
  color: var(--color-heading);
}
@media (max-width: 767px) {
  .cs-catalog-card {
    flex-basis: calc(50% - 8px);
    max-width: calc(50% - 8px);
    min-width: 0;
  }
}
