:root {
  --wlth-plum: #5B3A5E;
  --wlth-plum-dark: #2A1A2E;
  --wlth-plum-deeper: #1C1022;
  --wlth-mauve: #8B6B8B;
  --wlth-rose: #D4A9A9;
  --wlth-cream: #F0EBE6;
  --wlth-charcoal: #1C1022;
  --wlth-gold: #C8A96E;
  --wlth-lavender: #E8D5E8;
  --wlth-muted-rose: #BF8F8F;
  --wlth-light-gray: #F0EBE6;
  --wlth-surface: #231A28;
  --wlth-surface-light: #2E2233;
  --wlth-border: rgba(232, 213, 232, 0.12);
  --wlth-text: #F0EBE6;
  --wlth-text-muted: rgba(240, 235, 230, 0.65);
  --font-script: 'Dancing Script', cursive;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --section-padding: clamp(3rem, 8vw, 6rem);
  --container-max: 1200px;
  --card-radius: 12px;
  --button-radius: 50px;
  --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
  --card-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.42);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--wlth-plum-deeper);
  color: var(--wlth-text);
  font-family: var(--font-sans);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

p,
li,
blockquote {
  text-wrap: pretty;
}

.btn-primary,
.btn-secondary,
.btn-outline,
.btn-rose {
  align-items: center;
  border-radius: var(--button-radius);
  display: inline-flex;
  font-family: var(--font-sans);
  font-weight: 700;
  justify-content: center;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn-primary {
  background: var(--wlth-gold);
  color: var(--wlth-charcoal);
}

.btn-primary:hover {
  background: #B08E4A;
}

.btn-secondary {
  border: 2px solid var(--wlth-text);
  color: var(--wlth-text);
}

.btn-secondary:hover {
  background: rgba(240, 235, 230, 0.12);
}

.btn-outline {
  border: 2px solid var(--wlth-rose);
  color: var(--wlth-text);
}

.btn-outline:hover {
  background: var(--wlth-plum);
  color: var(--wlth-text);
}

.btn-rose {
  background: var(--wlth-rose);
  color: var(--wlth-charcoal);
}

.btn-rose:hover {
  background: var(--wlth-muted-rose);
}

.card {
  background: var(--wlth-surface);
  border: 1px solid var(--wlth-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.card:hover {
  box-shadow: var(--card-shadow-hover);
}

.heading-script {
  color: var(--wlth-rose);
  font-family: var(--font-script);
}

.heading-serif,
.heading-hero {
  font-family: var(--font-serif);
  font-weight: 700;
}

.heading-serif {
  color: var(--wlth-text);
}

.heading-hero {
  color: #fff;
}

.body-text {
  color: var(--wlth-text-muted);
  line-height: 1.7;
}

.scripture {
  font-family: var(--font-serif);
  font-style: italic;
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(28, 16, 34, 0.92) 0%, rgba(42, 26, 46, 0.74) 40%, rgba(91, 58, 94, 0.42) 100%);
}

.bokeh::before,
.bokeh::after {
  border-radius: 9999px;
  content: '';
  filter: blur(36px);
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.bokeh::before {
  animation: wlth-float 8s ease-in-out infinite;
  background: radial-gradient(circle, rgba(200, 169, 110, 0.34) 0%, rgba(200, 169, 110, 0) 70%);
  height: 220px;
  left: 8%;
  top: 18%;
  width: 220px;
}

.bokeh::after {
  animation: wlth-float 10s ease-in-out infinite reverse;
  background: radial-gradient(circle, rgba(212, 169, 169, 0.28) 0%, rgba(212, 169, 169, 0) 72%);
  bottom: 16%;
  height: 280px;
  right: 10%;
  width: 280px;
}

.branch-divider {
  background:
    linear-gradient(90deg, transparent 0, rgba(200, 169, 110, 0.55) 20%, rgba(200, 169, 110, 0.55) 80%, transparent 100%),
    radial-gradient(circle at center, var(--wlth-gold) 0 4px, transparent 5px);
  height: 12px;
  max-width: 240px;
  opacity: 0.8;
  width: 100%;
}

.home-image-frame img,
.card > .relative img {
  transition: transform 280ms ease;
}

.card:hover .home-image-frame img,
.card:hover > .relative img {
  transform: scale(1.04);
}

.service-card:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-outline:focus-visible {
  outline: 3px solid rgba(200, 169, 110, 0.6);
  outline-offset: 4px;
}

@keyframes wlth-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(28px, -22px, 0) scale(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.alert {
  transition: opacity 180ms ease;
}

.stripe-card {
  background: var(--wlth-surface-light);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.stripe-card:focus-within {
  border-color: var(--wlth-plum);
  box-shadow: 0 0 0 4px rgba(232, 213, 232, 0.75);
}

body,
main,
section {
  color: var(--wlth-text);
}

input,
select,
textarea {
  background-color: var(--wlth-surface-light);
  border-color: var(--wlth-border);
  color: var(--wlth-text);
}

input::placeholder,
textarea::placeholder {
  color: rgba(240, 235, 230, 0.35);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--wlth-gold);
  box-shadow: 0 0 0 4px rgba(232, 213, 232, 0.25);
  outline: none;
}

table {
  color: var(--wlth-text);
}

thead {
  color: var(--wlth-text);
}

tbody tr:nth-child(odd) {
  background-color: rgba(35, 26, 40, 0.95);
}

tbody tr:nth-child(even) {
  background-color: rgba(46, 34, 51, 0.95);
}

.bg-white,
.bg-cream,
.bg-cream-dark {
  background-color: var(--wlth-surface) !important;
  color: var(--wlth-text) !important;
}

.bg-lavender-light {
  background-color: var(--wlth-surface-light) !important;
  color: var(--wlth-text) !important;
}

.bg-charcoal {
  background-color: var(--wlth-plum-deeper) !important;
  color: var(--wlth-text) !important;
}

.bg-plum-dark {
  background-color: var(--wlth-plum-dark) !important;
}

.bg-plum {
  background-color: var(--wlth-plum) !important;
}

[class*="bg-white/"],
[class*="bg-cream/"],
[class*="bg-charcoal/"],
[class*="bg-lavender-light/"] {
  background-color: rgba(35, 26, 40, 0.85) !important;
}

.text-charcoal,
[class*="text-charcoal/"] {
  color: var(--wlth-text) !important;
}

.text-cream,
[class*="text-cream/"] {
  color: var(--wlth-text) !important;
}

.border-charcoal,
[class*="border-charcoal/"] {
  border-color: var(--wlth-border) !important;
}

[class*="ring-charcoal/"] {
  --tw-ring-color: rgba(232, 213, 232, 0.12) !important;
}

[class*="placeholder:text-charcoal"]::placeholder {
  color: rgba(240, 235, 230, 0.35) !important;
}

[x-cloak] {
  display: none !important;
}

#google_translate_element,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame,
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-menu-frame,
.goog-te-menu2,
.goog-te-combo,
.goog-tooltip,
.skiptranslate,
body > .skiptranslate {
  display: none !important;
}

body,
html {
  top: 0 !important;
}

[x-cloak] {
  display: none !important;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-outline:focus-visible,
.btn-rose:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(200, 169, 110, 0.55);
  outline-offset: 3px;
}

body,
html {
  top: 0 !important;
}

#google_translate_element,
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
.goog-te-balloon-frame,
.goog-te-gadget,
.goog-te-gadget-simple,
.goog-te-menu-frame,
.goog-te-menu2,
.goog-te-combo,
.goog-tooltip,
.goog-tooltip:hover,
.skiptranslate,
body > .skiptranslate {
  display: none !important;
}

body.rtl,
[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

body.rtl .text-left,
[dir="rtl"] .text-left {
  text-align: right !important;
}

body.rtl .text-right,
[dir="rtl"] .text-right {
  text-align: left !important;
}

body.rtl .ml-auto,
[dir="rtl"] .ml-auto {
  margin-left: 0 !important;
  margin-right: auto !important;
}

body.rtl .mr-auto,
[dir="rtl"] .mr-auto {
  margin-right: 0 !important;
  margin-left: auto !important;
}

body.rtl .pl-4,
[dir="rtl"] .pl-4 {
  padding-left: 0 !important;
  padding-right: 1rem !important;
}

body.rtl .pr-4,
[dir="rtl"] .pr-4 {
  padding-right: 0 !important;
  padding-left: 1rem !important;
}

body.rtl .rtl-reverse,
[dir="rtl"] .rtl-reverse {
  flex-direction: row-reverse !important;
}

body.rtl .rtl-row,
[dir="rtl"] .rtl-row {
  flex-direction: row !important;
}

body.rtl .notranslate,
[dir="rtl"] .notranslate,
body.rtl input[type="email"],
body.rtl input[type="url"],
body.rtl input[type="tel"],
[dir="rtl"] input[type="email"],
[dir="rtl"] input[type="url"],
[dir="rtl"] input[type="tel"],
body.rtl .scripture-ref,
[dir="rtl"] .scripture-ref {
  direction: ltr !important;
  text-align: left !important;
}
