/* RAHA Destiny Universal Contact Module. All selectors are scoped with rdc-/rdc. */
.rdc-form {
  min-width: 0;
  color: #20242b;
  font: inherit;
  line-height: 1.55;
}
.rdc-form * { box-sizing: border-box; }
.rdc-form [hidden] { display: none !important; }
.rdc-field { margin: 0 0 15px; }
.rdc-field label {
  display: block;
  margin: 0 0 7px;
  color: #343945;
  font-size: 14px;
  font-weight: 750;
}
.rdc-field input,
.rdc-field select,
.rdc-field textarea {
  display: block;
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid #dfe1e8;
  border-radius: 10px;
  outline: none;
  background: #fff;
  color: #20242b;
  font: inherit;
  font-size: 15px;
  line-height: 1.45;
  box-shadow: none;
}
.rdc-field textarea { min-height: 135px; resize: vertical; }
.rdc-field input:focus,
.rdc-field select:focus,
.rdc-field textarea:focus {
  border-color: #6b45c6;
  box-shadow: 0 0 0 3px rgba(107, 69, 198, .12);
}
.rdc-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.rdc-business-fields { padding: 14px 14px 1px; margin: 0 0 15px; border: 1px solid #e7e0f7; border-radius: 12px; background: #fbf9ff; }
.rdc-optional { color: #707887; font-size: 12px; font-weight: 500; }
.rdc-turnstile-wrap { margin: 12px 0 16px; min-height: 65px; }
.rdc-turnstile-help { margin: 5px 0 0; color: #707887; font-size: 11px; }
.rdc-submit {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid #6b45c6;
  border-radius: 11px;
  background: #6b45c6;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}
.rdc-submit:hover:not(:disabled) { background: #5633ad; border-color: #5633ad; box-shadow: 0 6px 16px rgba(86, 51, 173, .18); transform: translateY(-1px); }
.rdc-submit:disabled { cursor: wait; opacity: .7; }
.rdc-privacy-note { margin: 12px 0 0; color: #707887; font-size: 12px; line-height: 1.55; }
.rdc-status { margin: 0 0 15px; padding: 11px 13px; border-radius: 10px; font-size: 13px; }
.rdc-status[hidden] { display: none; }
.rdc-status-error { background: #fff1f0; color: #8f2620; }
.rdc-status-success { background: #edf9f0; color: #216338; }
.rdc-status-info { background: #f2edff; color: #5633ad; }
.rdc-honeypot { position: absolute !important; left: -10000px !important; top: auto !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.rdc-modal { position: fixed; inset: 0; z-index: 2147483000; display: none; align-items: center; justify-content: center; padding: 20px; }
.rdc-modal.rdc-modal-open { display: flex; }
.rdc-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 18, 28, .62); backdrop-filter: blur(3px); }
.rdc-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 660px);
  max-height: min(92vh, 900px);
  overflow: auto;
  padding: 24px;
  border: 1px solid #e8e8ef;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 22px 80px rgba(0, 0, 0, .25);
  overscroll-behavior: contain;
}
.rdc-modal-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.rdc-modal-kicker { margin: 0 0 4px; color: #6b45c6; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rdc-modal-header h2 { margin: 0; color: #20242b; font-size: clamp(22px, 4vw, 28px); line-height: 1.25; }
.rdc-modal-close { display: inline-flex; width: 38px; height: 38px; flex: 0 0 38px; align-items: center; justify-content: center; border: 1px solid #e8e8ef; border-radius: 10px; background: #fff; color: #333; font: 28px/1 Arial, sans-serif; cursor: pointer; }
.rdc-modal-close:hover { background: #f6f3ff; }
body.rdc-modal-active { overflow: hidden !important; }

@media (max-width: 620px) {
  .rdc-row { grid-template-columns: 1fr; gap: 0; }
  .rdc-modal { padding: 9px; }
  .rdc-modal-dialog { max-height: 96vh; padding: 18px; border-radius: 15px; }
}

/* ==========================================================
   RAHA DESTINY — PREMIUM FOOTER CONTACT CTA
   Served from the existing Universal Contact CSS asset.
   This styles the existing footer markup only; no Blogger
   Theme XML or Contact Module JavaScript changes are needed.
   High-specificity selectors intentionally override any
   earlier theme-level footer CTA rules.
   ========================================================== */
html body footer.rd-footer section.rd-footer-contact {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: clamp(18px, 3vw, 34px) !important;
  box-sizing: border-box !important;
  width: 100% !important;
  margin: clamp(24px, 3vw, 34px) 0 28px !important;
  padding: clamp(24px, 3.2vw, 36px) clamp(22px, 4vw, 42px) !important;
  overflow: hidden !important;
  isolation: isolate !important;
  border: 1px solid rgba(224, 190, 116, .34) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(ellipse at 92% 8%, rgba(207, 166, 83, .20), transparent 34%),
    linear-gradient(126deg, #171c25 0%, #232b37 54%, #171d27 100%) !important;
  box-shadow: 0 18px 42px rgba(17, 22, 31, .17), inset 0 1px 0 rgba(255, 255, 255, .055) !important;
  color: #fff !important;
}

html body footer.rd-footer section.rd-footer-contact::before {
  content: "" !important;
  position: absolute !important;
  z-index: -1 !important;
  top: -78px !important;
  right: -54px !important;
  width: 250px !important;
  height: 250px !important;
  border: 1px solid rgba(227, 193, 121, .12) !important;
  border-radius: 50% !important;
  background: radial-gradient(circle, rgba(216, 177, 100, .14), rgba(216, 177, 100, 0) 68%) !important;
  pointer-events: none !important;
}

html body footer.rd-footer section.rd-footer-contact .rd-footer-contact-copy {
  position: relative !important;
  min-width: 0 !important;
}

html body footer.rd-footer section.rd-footer-contact .rd-footer-contact-eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 0 12px !important;
  color: #e3c47f !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: .16em !important;
  line-height: 1.4 !important;
  text-transform: uppercase !important;
}

html body footer.rd-footer section.rd-footer-contact .rd-footer-contact-eyebrow::before {
  content: "" !important;
  display: inline-block !important;
  width: 7px !important;
  height: 7px !important;
  flex: 0 0 7px !important;
  border-radius: 50% !important;
  background: #e3c47f !important;
  box-shadow: 0 0 0 4px rgba(227, 196, 127, .13) !important;
}

html body footer.rd-footer section.rd-footer-contact .rd-footer-contact-title {
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(25px, 3.1vw, 34px) !important;
  font-weight: 750 !important;
  letter-spacing: -.035em !important;
  line-height: 1.16 !important;
  text-wrap: balance !important;
}

html body footer.rd-footer section.rd-footer-contact .rd-footer-contact-description {
  max-width: 620px !important;
  margin: 12px 0 0 !important;
  color: #c9ced7 !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}

html body footer.rd-footer section.rd-footer-contact > a.rd-footer-contact-button,
html body footer.rd-footer section.rd-footer-contact > a.rd-footer-contact-button:link,
html body footer.rd-footer section.rd-footer-contact > a.rd-footer-contact-button:visited {
  position: relative !important;
  z-index: 1 !important;
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  box-sizing: border-box !important;
  min-width: 218px !important;
  min-height: 52px !important;
  margin: 0 !important;
  padding: 0 23px !important;
  border: 1px solid #e5c779 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #f2dc9e 0%, #d6b365 100%) !important;
  box-shadow: 0 9px 22px rgba(8, 12, 18, .24), inset 0 1px 0 rgba(255, 255, 255, .45) !important;
  color: #201b11 !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease !important;
}

html body footer.rd-footer section.rd-footer-contact > a.rd-footer-contact-button:hover {
  background: linear-gradient(135deg, #f7e5b3 0%, #dfc078 100%) !important;
  color: #201b11 !important;
  box-shadow: 0 13px 27px rgba(8, 12, 18, .30), inset 0 1px 0 rgba(255, 255, 255, .52) !important;
  filter: brightness(1.025) !important;
  transform: translateY(-2px) !important;
}

html body footer.rd-footer section.rd-footer-contact > a.rd-footer-contact-button:focus-visible {
  outline: 3px solid rgba(227, 196, 127, .62) !important;
  outline-offset: 4px !important;
}

html body footer.rd-footer section.rd-footer-contact > a.rd-footer-contact-button span {
  display: inline-block !important;
  color: inherit !important;
  font-size: 18px !important;
  line-height: 1 !important;
  transition: transform .2s ease !important;
}

html body footer.rd-footer section.rd-footer-contact > a.rd-footer-contact-button:hover span {
  transform: translateX(4px) !important;
}

@media (max-width: 760px) {
  html body footer.rd-footer section.rd-footer-contact {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
    margin: 24px 0 24px !important;
    padding: 25px 22px 22px !important;
    border-radius: 21px !important;
  }

  html body footer.rd-footer section.rd-footer-contact .rd-footer-contact-title {
    font-size: clamp(25px, 6.4vw, 30px) !important;
    line-height: 1.2 !important;
  }

  html body footer.rd-footer section.rd-footer-contact .rd-footer-contact-description {
    margin-top: 10px !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
  }

  html body footer.rd-footer section.rd-footer-contact > a.rd-footer-contact-button,
  html body footer.rd-footer section.rd-footer-contact > a.rd-footer-contact-button:link,
  html body footer.rd-footer section.rd-footer-contact > a.rd-footer-contact-button:visited {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 51px !important;
    white-space: normal !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body footer.rd-footer section.rd-footer-contact > a.rd-footer-contact-button,
  html body footer.rd-footer section.rd-footer-contact > a.rd-footer-contact-button span {
    transition: none !important;
  }
}
