/* ==========================================================================
   GMM Site Styles
   Murni visual. Tidak menyentuh teks, URL, heading, atau meta SEO.
   Setiap selector sudah diverifikasi ada di halaman dan diukur efeknya.
   ========================================================================== */

:root {
  --gmm-accent: #009cff;
  --gmm-accent-dark: #007acc;
  --gmm-ink: #1f2933;
  --gmm-body: #3d4852;
  --gmm-line: #e4e8ed;
}

/* --------------------------------------------------------------------------
   1. TIPOGRAFI
   Body theme aslinya 14px/24.5px — terlalu kecil untuk layar modern.

   Catatan trade-off: ini membuat halaman sekitar 10% lebih panjang.
   Keterbacaan naik, panjang halaman memburuk. Sepadan hanya kalau
   restrukturisasi konten juga dikerjakan; kalau tidak, turunkan ke 15px.
   -------------------------------------------------------------------------- */

body,
body p,
.wpb_text_column,
.wpb_text_column p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gmm-body);
}

.wpb_text_column p {
  max-width: 68ch;   /* baris 100+ karakter melelahkan; sweet spot 65-75 */
  margin-bottom: 1.1em;
}

/* Paragraf hasil pemecahan otomatis (lihat includes/paragraph-tidy.php).
   Diberi jarak sedikit lebih lega supaya batas antar paragraf terbaca jelas —
   itu inti perbaikannya, memberi mata tempat beristirahat. */
.wpb_text_column p[data-gmm-tidy] {
  margin-bottom: 1.35em;
}

/* Judul semu di atas blok teks: sebenarnya <p> yang ditebalkan dan ditengahkan,
   bukan heading. Tidak saya ubah jadi <h2> karena itu menyentuh struktur heading
   yang berpengaruh ke SEO. Cukup diberi bobot visual sebagai pemisah section. */
.wpb_text_column p > b:only-child,
.wpb_text_column p > strong:only-child {
  display: block;
  font-size: 19px;
  line-height: 1.35;
  color: var(--gmm-ink);
  margin-top: 6px;
  margin-bottom: 4px;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--gmm-ink);
  letter-spacing: -0.015em;
}

h3 { font-size: 28px; line-height: 1.3;  font-weight: 700; margin-bottom: 18px; }
h4 { font-size: 19px; line-height: 1.45; font-weight: 600; margin-bottom: 14px; }

.wpb_text_column > *:first-child,
.wpb_wrapper > *:first-child { margin-top: 0; }

/* --------------------------------------------------------------------------
   2. TEKS TERLALU KECIL
   Awalnya 19 blok teks di bawah 14px. Setelah blok ini: 4.
   Selector ditelusuri langsung dari DOM — tebakan pertama (.vc_grid-filter a)
   ternyata salah, filter layanan ini markup theme sendiri (.wdc-service).
   -------------------------------------------------------------------------- */

/* Filter kategori layanan: All / Hardware / Laptop / Network Support / Software */
.wdc-service .load-filter ul.list-unstyled a {
  font-size: 15px;
  display: inline-block;
  padding: 12px 14px;
}

/* Kategori & penulis di kartu blog — aslinya 11px dan 13px */
.post-category a { font-size: 14px; }

.post-author,
.post-author a,
.post-meta { font-size: 14px; }

a.header-button {
  font-size: 15px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
}

.topbar-hightlight,
span.topbar-hightlight { font-size: 14px; }

/* --------------------------------------------------------------------------
   3. DAFTAR LAYANAN  <-- bagian dua kolom dengan checkmark
   Empat blok <ul> panjang di section pembuka: Install windows, Replace LCD,
   Setting Mikrotik, Service Printer. Aslinya bullet menumpuk vertikal.

   Dua kolom hanya di layar >=768px. Di mobile satu kolom, tapi divider tipis
   tetap membuatnya jauh lebih mudah dipindai daripada bullet menempel.
   -------------------------------------------------------------------------- */

.wpb_text_column ul {
  list-style: none;
  padding-left: 0;
  margin: 0 0 26px;
}

.wpb_text_column ul > li {
  break-inside: avoid;
  position: relative;
  padding: 6px 0 6px 24px;
  line-height: 1.5;
  border-bottom: 1px solid var(--gmm-line);
}

/* Checkmark biru, dibentuk dari dua border yang diputar 45 derajat.
   Tanpa font icon, tanpa file gambar, tanpa request tambahan. */
.wpb_text_column ul > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 13px;
  width: 5px;
  height: 9px;
  border-right: 2px solid var(--gmm-accent);
  border-bottom: 2px solid var(--gmm-accent);
  transform: rotate(45deg);
}

@media (min-width: 768px) {
  .wpb_text_column ul {
    columns: 2;
    column-gap: 40px;
  }
}

/* --------------------------------------------------------------------------
   4. RITME VERTIKAL
   -------------------------------------------------------------------------- */

.vc_row.wpb_row.wpb_section { padding-top: 52px; padding-bottom: 52px; }
.vc_row.vc_row-has-fill     { padding-top: 60px; padding-bottom: 60px; }
.vc_row.vc_inner            { padding-top: 0;    padding-bottom: 0; }

/* --------------------------------------------------------------------------
   5. TAP TARGET
   Awalnya 60 elemen klik di bawah 44px. Setelah blok ini: 43.
   Sisanya link di dalam carousel logo klien dan navigasi footer — perlu
   ditangani per-komponen, tidak bisa dengan aturan global.
   -------------------------------------------------------------------------- */

a.vc_btn3,
.wpb_button,
button,
input[type="submit"] {
  display: inline-block;
  min-height: 46px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 6px;
  transition: background-color .18s ease, transform .18s ease;
}

a.vc_btn3:hover,
.wpb_button:hover,
input[type="submit"]:hover {
  background-color: var(--gmm-accent-dark);
  transform: translateY(-1px);
}

a.fa.fa-facebook,
a.fa.fa-instagram,
a.fa.fa-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

a.toggle-menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}

/* --------------------------------------------------------------------------
   6. FORM (Contact Form 7)
   -------------------------------------------------------------------------- */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-size: 16px;   /* 16px mencegah iOS auto-zoom saat field difokus */
  line-height: 1.5;
  border: 1px solid var(--gmm-line);
  border-radius: 6px;
  background: #fff;
}

.wpcf7 textarea { min-height: 130px; }

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: 2px solid var(--gmm-accent);
  outline-offset: 1px;
  border-color: var(--gmm-accent);
}

/* --------------------------------------------------------------------------
   7. BANNER LAMA — TRANSISIONAL, HAPUS SETELAH HERO BARU DIPASANG

   Class `vc_custom_*` pada banner menyetel margin-left/-right -100px, membuat
   gambar dirender lebih lebar dari viewport: 1435px di layar 1280 (terpotong
   85px kiri + 70px kanan), 923px di layar 768.

   Seluruh blok ini menjadi tidak relevan begitu blok gambar GMM-banner1
   dihapus dari halaman dan diganti elemen GMM Hero.
   -------------------------------------------------------------------------- */

.wpb_single_image[class*="vc_custom_"] {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wpb_single_image,
.wpb_single_image .vc_figure,
.wpb_single_image .vc_single_image-wrapper {
  width: auto !important;
  max-width: 100% !important;
}

.wpb_single_image img,
.vc_single_image-img {
  width: auto;
  max-width: 100%;
  height: auto;
}

/* Aturan khusus GMM-banner1 sudah dihapus: blok [vc_single_image] itu kini
   diganti elemen GMM Hero, jadi selectornya tidak pernah cocok lagi.
   Aturan .wpb_single_image di atas tetap dipertahankan — masih ada beberapa
   gambar lain di halaman yang memakainya. */

/* Carousel logo klien (.owl-wrapper / .owl-item) juga terdeteksi "meluber",
   tapi itu memang cara kerja carousel — track-nya lebar dan digeser.
   Sengaja TIDAK disentuh. */

/* --------------------------------------------------------------------------
   8. MOBILE
   -------------------------------------------------------------------------- */

@media (max-width: 767px) {

  h3 { font-size: 23px; }
  h4 { font-size: 18px; }

  .vc_row.wpb_row.wpb_section,
  .vc_row.vc_row-has-fill {
    padding-top: 36px;
    padding-bottom: 36px;
  }

  a.vc_btn3,
  .wpb_button,
  input[type="submit"] {
    width: 100%;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   9. AKSESIBILITAS — fokus keyboard theme aslinya tidak terlihat sama sekali
   -------------------------------------------------------------------------- */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gmm-accent);
  outline-offset: 2px;
}
