.warga-site-footer-action.is-share {
  padding: 0;
  border: 0;
  background: #7865d7;
  color: #fff !important;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.warga-site-footer-tagline {
  max-width: 580px;
  margin: 8px auto 0;
  color: var(--warga-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}

.warga-site-footer-tagline + .warga-site-footer-address {
  margin-top: 12px;
}

.warga-site-footer-tagline + .warga-site-footer-actions {
  margin-top: 18px;
}

.warga-site-footer-action[data-footer-contact-open] {
  border: 0;
  color: #fff !important;
  font: inherit;
  font-size: 19px;
  cursor: pointer;
}

.warga-footer-install {
  max-width: 520px;
  margin: 22px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--warga-line);
}

.warga-footer-install[hidden],
.warga-footer-modal[hidden] {
  display: none !important;
}

.warga-footer-install-copy {
  margin-bottom: 12px;
  text-align: center;
}

.warga-footer-install-copy strong {
  display: block;
  color: var(--warga-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.warga-footer-install-copy span {
  display: block;
  margin-top: 4px;
  color: var(--warga-muted);
  font-size: 12px;
  line-height: 1.45;
}

.warga-footer-install-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 10px;
}

.warga-footer-install-actions a,
.warga-footer-install-actions button {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 9px;
  background: #050505;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(31, 45, 56, .14);
}

.warga-footer-install-actions img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 600 / 169;
  object-fit: contain;
}

.warga-footer-install-actions :is(a, button):focus-visible,
.warga-site-footer-action.is-share:focus-visible {
  outline: 3px solid rgba(53, 107, 178, .32);
  outline-offset: 3px;
}

.warga-footer-modal {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 18px;
}

.warga-footer-modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(14, 23, 34, .58);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

.warga-footer-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 460px);
  max-height: calc(100vh - 36px);
  max-height: calc(100dvh - 36px);
  padding: 26px 20px 22px;
  overflow-y: auto;
  border: 1px solid var(--warga-line);
  border-radius: 24px;
  background: var(--warga-surface);
  color: var(--warga-ink);
  box-shadow: 0 24px 68px rgba(10, 24, 40, .27);
  text-align: center;
}

.warga-footer-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  place-items: center;
  border: 1px solid var(--warga-line);
  border-radius: 12px;
  background: var(--warga-page);
  color: var(--warga-ink);
  cursor: pointer;
}

.warga-footer-modal-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  place-items: center;
  border-radius: 18px;
  background: #e9e5ff;
  color: #6651ca;
  font-size: 22px;
}

.warga-footer-modal-icon.is-ios {
  background: #e9edf2;
  color: #293544;
}

.warga-footer-modal-icon.is-contact {
  background: #e5f1fd;
  color: #2d6bb2;
}

/* Use a dark address-book glyph in the dialog heading; phone and email
 * tiles retain white glyphs for contrast. */
#warga-footer-contact-dialog .warga-footer-modal-icon.is-contact,
#warga-footer-contact-dialog .warga-footer-modal-icon.is-contact i {
  color: #17212b !important;
}

#warga-footer-contact-dialog .warga-footer-contact-item-icon,
#warga-footer-contact-dialog .warga-footer-contact-item-icon i {
  color: #fff !important;
}

.warga-footer-modal-panel h2 {
  margin: 0;
  color: var(--warga-ink);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.3;
}

#warga-footer-contact-dialog .warga-footer-modal-panel h2 {
  margin-bottom: 16px;
}

.warga-footer-modal-panel > p {
  margin: 7px 0 18px;
  color: var(--warga-muted);
  font-size: 14px;
  line-height: 1.55;
}

.warga-footer-modal-actions {
  display: grid;
  gap: 10px;
}

.warga-site-footer-share-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 14px;
  color: #fff !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  box-shadow: 0 8px 20px rgba(31, 45, 56, .13);
}

.warga-site-footer-share-button i,
.warga-site-footer-share-button span {
  color: #fff !important;
}

body #page .page-content .warga-footer-modal .warga-site-footer-share-button,
body #page .page-content .warga-footer-modal .warga-site-footer-share-button i,
body #page .page-content .warga-footer-modal .warga-site-footer-share-button span {
  color: #fff !important;
}

.warga-site-footer-share-button i { font-size: 19px; }
.warga-site-footer-share-button.is-whatsapp { background: #1fae62; }
.warga-site-footer-share-button.is-facebook { background: #3867ad; }

.warga-footer-contact-list {
  display: grid;
  gap: 10px;
  text-align: left;
}

.warga-footer-contact-item {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 12px;
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid var(--warga-line);
  border-radius: 15px;
  background: var(--warga-page);
  color: var(--warga-ink) !important;
  transition: border-color 160ms ease, transform 160ms ease;
}

.warga-footer-contact-item:hover,
.warga-footer-contact-item:focus-visible {
  border-color: #7aa7d9;
  color: var(--warga-ink) !important;
  transform: translateY(-1px);
}

.warga-footer-contact-item-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  font-size: 16px;
}

.warga-footer-contact-item.is-phone .warga-footer-contact-item-icon { background: #20ae62; }
.warga-footer-contact-item.is-email .warga-footer-contact-item-icon { background: #3e82d8; }

.warga-footer-contact-item-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.warga-footer-contact-item-copy small {
  color: var(--warga-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.warga-footer-contact-item-copy strong {
  min-width: 0;
  color: var(--warga-ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.warga-footer-contact-item > .fa-chevron-right {
  color: var(--warga-muted);
  font-size: 11px;
}

.warga-footer-install-steps {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  text-align: left;
}

.warga-footer-install-steps li {
  position: relative;
  min-height: 42px;
  padding: 10px 10px 10px 48px;
  border: 1px solid var(--warga-line);
  border-radius: 13px;
  background: var(--warga-page);
  color: var(--warga-ink);
  font-size: 14px;
  line-height: 1.5;
}

.warga-footer-install-steps li > span {
  position: absolute;
  top: 8px;
  left: 9px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: var(--warga-teal-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.warga-footer-modal-done {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 13px;
  background: var(--warga-teal-dark);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

body.warga-dialog-open { overflow: hidden; }

body.theme-dark .warga-footer-install { border-top-color: var(--warga-line); }
body.theme-dark .warga-footer-modal-icon.is-share { background: #322a57; color: #c9beff; }
body.theme-dark .warga-footer-modal-icon.is-ios { background: #303a45; color: #f0f4f8; }
body.theme-dark .warga-footer-modal-icon.is-contact { background: #203b59; color: #a9cff8; }

@media (display-mode: standalone) {
  .warga-footer-install { display: none !important; }
}

@media (max-width: 460px) {
  .warga-site-footer-action.is-share { font-size: 14px; }
  .warga-footer-install { margin-top: 20px; padding-top: 18px; }
  .warga-footer-install-actions { gap: 8px; }
  .warga-footer-install-actions a,
  .warga-footer-install-actions button { min-height: 42px; border-radius: 8px; }
  .warga-footer-modal { padding: 12px; }
  .warga-footer-modal-panel { padding: 24px 16px 18px; border-radius: 22px; }
  .warga-footer-modal-panel h2 { font-size: 20px; }
  .warga-site-footer-tagline { font-size: 12px; }
  .warga-footer-contact-item { grid-template-columns: 42px minmax(0, 1fr) 10px; gap: 10px; padding: 9px 10px; }
  .warga-footer-contact-item-icon { width: 42px; height: 42px; }
  .warga-footer-contact-item-copy strong { font-size: 14px; }
}

@media (max-width: 340px) {
  .warga-footer-install-actions { grid-template-columns: minmax(0, 1fr); }
  .warga-footer-install-actions a,
  .warga-footer-install-actions button { max-width: 230px; margin-right: auto; margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .warga-site-footer-action { transition: none; }
}

/* Footer actions sit on saturated brand-colour backgrounds.  Keep every
 * glyph/label white even when the global theme or button defaults are loaded
 * after the footer stylesheet. */
body .warga-site-footer .warga-site-footer-action,
body .warga-site-footer .warga-site-footer-action i,
body .warga-site-footer .warga-site-footer-action span,
body .warga-footer-modal .warga-site-footer-share-button,
body .warga-footer-modal .warga-site-footer-share-button i,
body .warga-footer-modal .warga-site-footer-share-button span,
body .warga-footer-modal .warga-footer-modal-done {
  color: #fff !important;
}
