/* Owner-requested CTA styles on top of the copied Divi theme (Dec 2026).
   #25D366 (WhatsApp green) and #ff6600 (brand orange) fail 4.5:1 with white
   text, so buttons with text use darker shades: green #1a7f37 (5.1:1) and
   orange #c24e00 (4.8:1). The round floating button has no text and keeps #25D366. */

body #page-container .kk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px !important; margin: 8px 6px !important;
  border: 0 !important; border-radius: 999px !important;
  font-weight: 700 !important; font-size: 18px !important; line-height: 1.2 !important;
  letter-spacing: 0 !important; color: #fff !important; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
body #page-container .kk-btn:before, body #page-container .kk-btn:after { display: none !important; }
body #page-container .kk-btn svg { width: 22px; height: 22px; flex: none; fill: currentColor; }
body #page-container .kk-btn-wa { background: #1a7f37 !important; }
body #page-container .kk-btn-wa:hover { background: #156d2e !important; }
body #page-container .kk-btn-call { background: #c24e00 !important; }
body #page-container .kk-btn-call:hover { background: #a84300 !important; }
body #page-container .kk-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgba(0, 0, 0, .3); }
body #page-container .kk-btn:focus-visible { outline: 3px solid #fff; outline-offset: 3px; box-shadow: 0 0 0 6px #1f2933; }

/* Hero: keep both buttons on the first mobile screen */
.kk-cta-row { display: flex; flex-wrap: wrap; justify-content: center; margin-top: 12px; }
@media (max-width: 767px) {
  .et_pb_fullwidth_header .kk-cta-row .kk-btn { flex: 1 1 100%; max-width: 260px; }
  .et_pb_fullwidth_header.et_pb_fullscreen .et_pb_fullwidth_header_container { min-height: 0; }
}

/* Hubungi Kami: two contact blurbs, centred and symmetric */
#hubungi-kami .kk-contact-row { display: flex; flex-wrap: wrap; justify-content: center; }
#hubungi-kami .kk-contact-row .et_pb_column { float: none; text-align: center; }
#hubungi-kami .kk-contact-row .et_pb_blurb_content { max-width: none; text-align: center; }
#hubungi-kami .kk-contact-row .et_pb_main_blurb_image { margin-bottom: 8px; }
#hubungi-kami .kk-contact-row .et_pb_blurb_description a { font-weight: 700; }
#hubungi-kami .kk-contact-row a[data-track="call"] .et-pb-icon { color: #c24e00 !important; }
@media (max-width: 980px) {
  #hubungi-kami .kk-contact-row .et_pb_column { width: 100% !important; margin-right: 0 !important; margin-bottom: 30px; }
}

/* Floating buttons */
.kk-float {
  position: fixed; z-index: 99999; right: calc(16px + env(safe-area-inset-right, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.kk-float a {
  display: flex; align-items: center; justify-content: center; border-radius: 50%;
  color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); transition: transform .15s;
}
.kk-float a:hover { transform: scale(1.06); }
.kk-float a:focus-visible { outline: 3px solid #1f2933; outline-offset: 3px; }
.kk-float svg { fill: currentColor; }
.kk-float-wa { width: 60px; height: 60px; background: #25d366; }
.kk-float-wa svg { width: 34px; height: 34px; }
.kk-float-call { width: 48px; height: 48px; background: #c24e00; display: none !important; }
.kk-float-call svg { width: 24px; height: 24px; }
@media (max-width: 980px) {
  .kk-float-call { display: flex !important; }
  /* keep the footer text clear of the floating buttons */
  #footer-bottom { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
}
