html { scroll-behavior: auto !important; }
body.mamadua-body {
  min-height: 100vh;
  font-size: 1.0625rem;
  line-height: 1.65;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,196,209,.25), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(153,186,215,.16), transparent 26%),
    linear-gradient(160deg, #fdfbd7 0%, #feeee8 45%, #ffe8e1 72%, #ffc4d1 100%);
  color: #683147;
  font-family: 'Amiri', serif;
}
body.mamadua-body .btn {
  font-size: 1.02rem;
}
body.mamadua-body .btn-sm {
  font-size: 0.97rem;
}
html[lang="en"] body.mamadua-body { font-family: 'Lora', serif; }
.font-heading, .brand-title, h1, h2, h3, h4 { font-family: 'Amiri', serif; }
html[lang="en"] .font-heading,
html[lang="en"] .brand-title,
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4 { font-family: 'Playfair Display', serif; }
.mamadua-header { position: sticky; top: 0; z-index: 30; }
.glass-nav,
.glass-card,
.glass-panel {
  background: rgba(255,255,255,.42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(213,140,137,.35);
  border-radius: 1.5rem;
  box-shadow: 0 16px 42px rgba(104,49,71,.12);
}
.glass-nav { padding: .75rem 1rem; }
.brand-link { color: #683147; font-weight: 700; }
.brand-title { font-size: 1.22rem; }
.mamadua-header-modern .modern-nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1.1rem;
}
.modern-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding-inline: .25rem;
}
.modern-brand-mark {
  width: 1.8rem;
  height: 1.8rem;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(140deg, #ffc4d1, #d58c89);
  color: #fff;
  font-size: .98rem;
  box-shadow: 0 8px 20px rgba(104,49,71,.2);
}
.modern-nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  min-width: 0;
}
.modern-nav-link {
  color: #683147;
  text-decoration: none;
  border-radius: 999px;
  padding: .45rem .85rem;
  font-size: .98rem;
  line-height: 1.2;
  border: 1px solid transparent;
  transition: all .24s ease;
  white-space: nowrap;
}
.modern-nav-link:hover {
  color: #683147;
  border-color: rgba(213,140,137,.3);
  background: rgba(255,255,255,.45);
}
.modern-nav-link.is-active {
  border-color: rgba(213,140,137,.38);
  background: rgba(255,255,255,.72);
  box-shadow: 0 8px 20px rgba(104,49,71,.08);
}
.modern-nav-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: .45rem;
}
.modern-chip {
  border-radius: 999px;
  padding: .46rem .78rem;
  font-size: .93rem;
  line-height: 1.1;
  border: 1px solid rgba(213,140,137,.32);
  text-decoration: none;
  transition: all .2s ease;
  color: #683147;
  white-space: nowrap;
  background: rgba(255,255,255,.45);
}
.modern-chip:hover {
  color: #683147;
  transform: translateY(-1px);
}
.modern-chip-soft {
  background: rgba(255,255,255,.5);
}
.modern-chip-primary {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #efaac4, #d58c89);
  box-shadow: 0 10px 20px rgba(104,49,71,.18);
}
.modern-chip-primary:hover {
  color: #fff;
}
.modern-chip-lang {
  min-width: 3.1rem;
  text-align: center;
  font-weight: 700;
}
.modern-auth-note {
  letter-spacing: .01em;
}

.modern-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid rgba(213, 140, 137, 0.38);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.55);
  color: #683147;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.modern-nav-toggle:hover {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(213, 140, 137, 0.55);
}
.modern-nav-toggle:focus-visible {
  outline: 3px solid rgba(213, 140, 137, 0.55);
  outline-offset: 2px;
}
.modern-nav-toggle-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 1.25rem;
}
.modern-nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.modern-nav-toggle[aria-expanded="true"] .modern-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.modern-nav-toggle[aria-expanded="true"] .modern-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.modern-nav-toggle[aria-expanded="true"] .modern-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.modern-nav-backdrop {
  display: none;
}
.modern-nav-slide {
  display: none;
}

/* Desktop: horizontal links + chips in the pill; burger + drawer hidden */
@media (min-width: 992px) {
  .modern-brand {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  html[dir="rtl"] .modern-brand {
    justify-self: end;
  }
  .modern-nav-toggle {
    display: none !important;
  }
  .modern-nav-desktop {
    display: contents;
  }
  .modern-nav-desktop .modern-nav-links {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
  }
  .modern-nav-desktop .modern-nav-actions {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .modern-nav-backdrop {
    display: none !important;
  }
  .modern-nav-slide {
    display: none !important;
  }
}

@media (max-width: 991.98px) {
  body.modern-nav-open {
    overflow: hidden;
    touch-action: none;
  }

  .mamadua-header-modern .modern-nav-shell {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .modern-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
  }

  .mamadua-header-modern .modern-brand-mark {
    flex-shrink: 0;
  }

  .mamadua-header-modern .brand-title {
    flex: 1 1 auto;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    line-height: 1.22;
  }

  .modern-nav-desktop {
    display: none !important;
  }

  .modern-nav-toggle {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    flex-grow: 0;
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid rgba(104, 49, 71, 0.28);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 10px rgba(104, 49, 71, 0.08);
  }

  .modern-nav-toggle-bar {
    height: 3px;
    background: #683147;
  }

  .modern-nav-backdrop {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 1040;
    background: rgba(32, 22, 35, 0.42);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    pointer-events: none;
  }
  .modern-nav-backdrop.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* Physical right edge for both LTR and RTL (same slide-in side as English). */
  .modern-nav-slide {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(88vw, 300px);
    max-width: 100%;
    z-index: 1050;
    margin: 0;
    padding: calc(1rem + env(safe-area-inset-top, 0px)) 1rem 1.25rem;
    color: #683147;
    background: #fffaf8;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-left: 1px solid rgba(213, 140, 137, 0.28);
    box-shadow: -12px 0 40px rgba(60, 40, 50, 0.14);
    gap: 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    will-change: transform;
  }
  /*
   * Closed drawer: off-screen + visibility:hidden after transform so links are not tabbable
   * (web.dev sidenav / off-canvas pattern).
   */
  .modern-nav-slide:not(.is-open) {
    visibility: hidden;
    transform: translate3d(100%, 0, 0);
    transition: transform 0.32s ease, visibility 0s linear 0.32s;
  }
  .modern-nav-slide.is-open {
    visibility: visible;
    transform: translate3d(0, 0, 0);
    transition: transform 0.32s ease;
    pointer-events: auto;
  }

  @media (prefers-reduced-motion: reduce) {
    .modern-nav-slide:not(.is-open) {
      transition: transform 1ms ease, visibility 0s linear 1ms;
    }
    .modern-nav-slide.is-open {
      transition: transform 1ms ease;
    }
  }

  .modern-nav-slide .modern-nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
  }
  .modern-nav-slide .modern-nav-link {
    display: block;
    white-space: normal;
    text-align: start;
    justify-content: flex-start;
    padding: 0.55rem 0.75rem;
    color: #683147;
  }
  html[dir="rtl"] .modern-nav-slide .modern-nav-link {
    text-align: right;
  }

  .modern-nav-slide .modern-nav-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    width: 100%;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(213, 140, 137, 0.22);
  }
  .modern-nav-slide .modern-chip {
    justify-content: center;
    width: 100%;
    text-align: center;
  }
}
.hero-shell { min-height: calc(100vh - 90px); display: grid; align-items: center; }
.hero-title { font-size: clamp(2.6rem, 10vw, 5.1rem); line-height: 1.04; }
.hero-copy { font-size: 1.07rem; line-height: 1.92; color: rgba(104,49,71,.82); }
.wizard-shell { position: relative; z-index: 1; }
.wizard-card { position: relative; overflow: hidden; }
.wizard-progress { max-width: 24rem; margin: 0 auto 1.5rem; }
.wizard-progress-bar {
  height: .4rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(213,140,137,.18);
}
.wizard-progress-bar span {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #efaac4, #d58c89);
  transition: width .35s ease;
}
.wizard-dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: .85rem;
}
.wizard-dot {
  width: .8rem;
  height: .8rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(213,140,137,.28);
  transition: transform .25s ease, background-color .25s ease;
}
.wizard-dot.active {
  background: #d58c89;
  transform: scale(1.15);
}
.wizard-stage {
  position: relative;
  min-height: 24rem;
  padding: 1rem;
  overflow: hidden;
}
.wizard-scene {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.98);
  transition: opacity .35s ease, transform .35s ease;
}
.wizard-scene.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.scene-label {
  display: inline-flex;
  padding: .45rem .8rem;
  border-radius: 999px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(213,140,137,.22);
  font-size: .96rem;
  position: relative;
  z-index: 2;
}
.wizard-scene-image {
  width: min(100%, 20rem);
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(104,49,71,.08));
}
.wizard-copy { position: relative; min-height: 22rem; }
.wizard-panel {
  display: none;
  opacity: 0;
}
.wizard-panel.active {
  display: block;
  opacity: 1;
}
.wizard-step-count {
  display: inline-block;
  color: #d58c89;
  font-size: 1rem;
  letter-spacing: .02em;
}
.final-dua-card .dua-arabic {
  font-size: clamp(1.12rem, 3.4vw, 1.52rem);
  line-height: 2.1;
}
.wizard-actions {
  display: flex;
  gap: .75rem;
}
.wizard-actions > * {
  flex: 1 1 0;
}
.wizard-actions button:disabled {
  opacity: .5;
}
.soft-badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem;
  border-radius: 999px; background: rgba(255,255,255,.45);
  border: 1px solid rgba(213,140,137,.25);
}
.btn-pink {
  background: linear-gradient(135deg, #efaac4, #d58c89);
  border: none;
  color: #fff;
}
.btn img {
  object-fit: contain;
}
.dua-card .dua-arabic {
  font-size: clamp(1.38rem, 4.1vw, 1.92rem);
  line-height: 2.2;
  text-align: center;
  margin: 1rem 0 .7rem;
}
.home-cta {
  position: relative;
  overflow: hidden;
}
.category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.flower-card {
  display: flex;
  flex-direction: column;
}
.flower-card-image-link {
  display: block;
}
.flower-card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 1.1rem;
  box-shadow: 0 10px 26px rgba(104,49,71,.10);
}
.flower-card-category {
  color: #d58c89;
  font-size: .91rem;
}
.flower-library-grid .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Greeting card maker */
.card-maker-shell {
  position: relative;
}
.card-maker-controls hr {
  border-color: rgba(213,140,137,.22);
  opacity: 1;
}
.card-maker-bg-strip {
  display: flex;
  gap: .65rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.card-maker-bg-strip::-webkit-scrollbar { height: 8px; }
.card-maker-bg-strip::-webkit-scrollbar-thumb { background: rgba(104,49,71,.16); border-radius: 999px; }
.card-maker-bg-thumb {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 84px;
  height: 96px;
  border-radius: 1.05rem;
  border: 2px solid rgba(213,140,137,.26);
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 28px rgba(104,49,71,.10);
  transition: transform .18s ease, border-color .18s ease;
}
.card-maker-bg-thumb:hover {
  transform: translateY(-1px);
  border-color: rgba(213,140,137,.46);
}
.card-maker-bg-thumb.is-active {
  border-color: rgba(213,140,137,.85);
  box-shadow: 0 14px 30px rgba(104,49,71,.14);
}
.card-maker-selected-dua .dua-arabic {
  text-align: center;
}

.card-maker-preview-shell {
  position: relative;
}
.card-maker-preview {
  position: relative;
  border-radius: 1.35rem;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  min-height: 22rem;
  box-shadow: 0 18px 42px rgba(104,49,71,.18);
}
.card-maker-preview-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}
.card-maker-preview-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.06) 0%, rgba(0,0,0,.22) 45%, rgba(0,0,0,.42) 100%);
}
.card-maker-preview-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: .9rem;
}
.card-maker-preview-dua {
  color: rgba(255,255,255,.96);
  font-size: clamp(1.28rem, 4.8vw, 2.1rem);
  line-height: 2.05;
  text-shadow: 0 10px 22px rgba(0,0,0,.28);
}
.card-maker-preview-translation {
  color: rgba(255,255,255,.92);
  font-size: clamp(.98rem, 3.4vw, 1.2rem);
  line-height: 1.7;
  max-width: 28rem;
  text-shadow: 0 10px 20px rgba(0,0,0,.22);
}
.card-maker-preview-from {
  margin-top: auto;
  padding-top: .85rem;
  color: rgba(255,255,255,.95);
  font-weight: 700;
  letter-spacing: .01em;
  text-shadow: 0 10px 20px rgba(0,0,0,.24);
}

.card-maker-modal .modal-dialog {
  margin: 0;
  max-width: 100%;
}
.card-maker-modal .modal-content {
  border: 0;
  border-radius: 1.4rem 1.4rem 0 0;
  background: #fffaf8;
}
.card-maker-modal .modal-header {
  border-color: rgba(213,140,137,.22);
}
.card-maker-category-strip {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  padding-bottom: .25rem;
  -webkit-overflow-scrolling: touch;
}
.card-maker-cat-chip {
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(213,140,137,.32);
  background: rgba(255,255,255,.58);
  padding: .48rem .85rem;
  font-size: .95rem;
  color: #683147;
  transition: background .2s ease, border-color .2s ease;
}
.card-maker-cat-chip.is-active {
  border-color: rgba(213,140,137,.78);
  background: rgba(255,255,255,.9);
}
.card-maker-dua-list {
  display: grid;
  gap: .6rem;
}
.card-maker-dua-row {
  text-align: start;
  border-radius: 1.1rem;
  border: 1px solid rgba(213,140,137,.25);
  background: rgba(255,255,255,.55);
  padding: .9rem .95rem;
  box-shadow: 0 12px 28px rgba(104,49,71,.08);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.card-maker-dua-row:hover {
  transform: translateY(-1px);
  border-color: rgba(213,140,137,.45);
  background: rgba(255,255,255,.75);
}
.card-maker-dua-snippet {
  font-size: 1.05rem;
  line-height: 2.05;
  direction: rtl;
  text-align: center;
  color: rgba(104,49,71,.92);
}
.card-maker-dua-pick {
  color: #d58c89;
  font-weight: 700;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .card-maker-preview-wrap {
    position: sticky;
    top: 110px;
  }
  .card-maker-modal .modal-dialog {
    max-width: 52rem;
    margin: 2rem auto;
  }
  .card-maker-modal .modal-content {
    border-radius: 1.4rem;
  }
}

@media (max-width: 991.98px) {
  .card-maker-modal .modal-dialog {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    top: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card-maker-bg-thumb,
  .card-maker-dua-row {
    transition: none;
  }
}

/* Category page: short dua snippets + share */
.category-snippet-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.category-snippet-text {
  direction: rtl;
  text-align: center;
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  line-height: 2.1;
  color: rgba(104,49,71,.96);
}
.category-share-panel {
  border: 1px solid rgba(213,140,137,.28);
}
.category-share-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10.5rem;
}
@media (max-width: 575.98px) {
  .category-share-actions .btn {
    flex: 1 1 calc(50% - .5rem);
    min-width: 0;
  }
}

/* Mother health duas page */
.mother-health-page .dua-card-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mother-health-dua-card--featured {
  border: 1px solid rgba(213,140,137,.35);
  box-shadow: 0 18px 44px rgba(104,49,71,.14);
}
.mother-health-snippet-card .mother-health-snippet-text {
  direction: rtl;
  text-align: center;
  font-size: clamp(1.05rem, 3.2vw, 1.28rem);
  line-height: 2;
  color: rgba(104,49,71,.95);
}
.mother-health-share-page {
  border: 1px solid rgba(213,140,137,.28);
}
.home-cta .hero-copy {
  max-width: 42rem;
}
.dua-meta { color: #d58c89; font-size: 0.98rem; }
.section-title { font-size: clamp(1.95rem, 5.2vw, 3.2rem); }
.form-control, .form-select {
  border-radius: 1rem;
  border-color: rgba(213,140,137,.35);
}
.page-thumb {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  border-radius: 1rem;
}
.envelope-stage { min-height: 100vh; display: grid; place-items: center; overflow: hidden; }
.envelope-shell { width: min(100%, 28rem); }
.envelope { position: relative; aspect-ratio: 1.18/.9; perspective: 1200px; }
.envelope-back, .envelope-front, .envelope-flap { position: absolute; inset: 0; border-radius: 1.5rem; }
.envelope-back { background: linear-gradient(180deg, #f8d9e1, #f1bcc8); box-shadow: 0 25px 60px rgba(104,49,71,.18); }
.envelope-front { background: linear-gradient(180deg, #efb9c8, #db98a6); clip-path: polygon(0 38%, 50% 76%, 100% 38%, 100% 100%, 0 100%); z-index: 3; }
.envelope-flap { background: linear-gradient(180deg, #ffd7df, #f0aab8); clip-path: polygon(0 0, 100% 0, 50% 74%); transform-origin: top center; z-index: 4; border: 0; }
.envelope-paper {
  position: absolute; inset-inline: 8%; bottom: 10%; min-height: 72%; z-index: 2;
  background: rgba(255,252,249,.98); border-radius: 1.35rem; padding: 1.1rem;
  box-shadow: 0 18px 30px rgba(104,49,71,.08);
}
.demo-page-banner {
  border-radius: 1.25rem;
  border: 1px solid rgba(213, 140, 137, 0.28);
  background: linear-gradient(135deg, rgba(255, 252, 249, 0.95), rgba(254, 238, 232, 0.88));
}
.personal-content { opacity: 0; transform: translateY(16px); }
.personal-content--static {
  opacity: 1;
  transform: none;
}
.demo-mother-intro { position: relative; z-index: 1; }
.demo-mother-carousel {
  max-width: 56rem;
  margin-inline: auto;
}
.demo-mother-carousel .home-hero-banner-img {
  height: clamp(12rem, 34vw, 22rem);
  object-position: center 40%;
}
@media (prefers-reduced-motion: reduce) {
  .demo-mother-carousel.carousel-fade .carousel-item {
    transition-duration: 0.01ms !important;
  }
}
.link-muted {
  color: #8b4567;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.link-muted:hover { color: #683147; }
.honored-name-line {
  font-size: clamp(1.2rem, 3.6vw, 1.75rem);
  color: #8b4567;
  letter-spacing: 0.02em;
  margin-inline: auto;
  max-width: 36rem;
}
.dedication-text {
  max-width: 38rem;
  margin-inline: auto;
  line-height: 1.65;
  color: #4a3540;
}
.creator-signature {
  max-width: 28rem;
  margin-inline: auto;
  padding-block: 0.25rem 0.5rem;
}
.creator-signature__divider {
  height: 1px;
  margin-block: 0 1rem;
  margin-inline: auto;
  max-width: 12rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(213, 140, 137, 0.55) 20%,
    rgba(139, 69, 103, 0.45) 50%,
    rgba(213, 140, 137, 0.55) 80%,
    transparent
  );
}
.creator-signature__line {
  font-size: 0.95rem;
  font-style: italic;
  letter-spacing: 0.04em;
  color: #8b4567;
  opacity: 0.92;
}
.creator-signature__name {
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  color: #683147;
  letter-spacing: 0.03em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
[dir="rtl"] .creator-signature__line {
  letter-spacing: 0;
}
@media (max-width: 575.98px) {
  .dua-page-actions {
    position: sticky;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    padding-block: 0.35rem;
    margin-inline: -0.25rem;
    z-index: 2;
    background: linear-gradient(to top, rgba(253, 251, 247, 0.97) 65%, transparent);
  }
}
.floating-hearts { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.floating-hearts span {
  position: absolute; color: rgba(213,140,137,.18); font-size: clamp(14px, 3vw, 30px);
  animation: floatHeart linear infinite;
}
@keyframes floatHeart {
  from { transform: translate3d(0, 100vh, 0); }
  to { transform: translate3d(0, -10vh, 0); }
}

/* Homepage top image banner (duas + meaningful imagery) */
.home-hero-banner {
  position: relative;
  z-index: 1;
}
.home-hero-carousel {
  max-width: 1400px;
  margin-inline: auto;
}
.home-hero-banner-slide {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  min-height: 200px;
}
.home-hero-banner-img {
  display: block;
  width: 100%;
  height: clamp(14rem, 42vw, 28rem);
  object-fit: cover;
  object-position: center 35%;
}
.home-hero-banner-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(104,49,71,.12) 0%,
    rgba(104,49,71,.05) 35%,
    rgba(104,49,71,.55) 72%,
    rgba(104,49,71,.72) 100%
  );
  pointer-events: none;
}
.home-hero-banner-caption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.25rem 1rem 1.5rem;
  text-align: center;
  z-index: 2;
  color: #fffdf8;
  text-shadow: 0 2px 18px rgba(40, 18, 28, .45);
}
.home-hero-banner-quote {
  font-size: clamp(1.12rem, 3.9vw, 1.75rem);
  line-height: 1.75;
  margin-bottom: 0.35rem;
  font-weight: 700;
}
html[lang="en"] .home-hero-banner-quote {
  font-family: 'Playfair Display', 'Amiri', serif;
  font-weight: 600;
}
.home-hero-banner-kicker {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.92;
  margin-bottom: 0.65rem;
}
.home-hero-banner-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}
.home-hero-banner-cta {
  box-shadow: 0 8px 24px rgba(40, 18, 28, .2);
}
.home-hero-banner-cta-duas {
  box-shadow: none;
  border-width: 2px;
  font-weight: 600;
}
.home-hero-banner-cta-duas:hover {
  color: #683147;
  background-color: #fffdf8;
  border-color: #fffdf8;
}
.home-hero-indicators {
  margin-bottom: 0.35rem;
  z-index: 4;
}
.home-hero-indicators [data-bs-target] {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  border: 0;
  background-color: rgba(255, 253, 248, 0.45);
  opacity: 1;
}
.home-hero-indicators .active {
  background-color: #fffdf8;
  transform: scale(1.15);
}
.home-hero-control {
  width: 2.65rem;
  height: 2.65rem;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.38) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 1 !important;
  z-index: 4;
}
.home-hero-control:hover {
  background: rgba(255, 253, 248, 0.55) !important;
}
.home-hero-control .carousel-control-prev-icon,
.home-hero-control .carousel-control-next-icon {
  filter: drop-shadow(0 1px 2px rgba(40, 18, 28, 0.35));
  width: 1.35rem;
  height: 1.35rem;
}
@media (prefers-reduced-motion: reduce) {
  .home-hero-carousel.carousel-fade .carousel-item {
    transition-duration: 0.01ms !important;
  }
}

/* Parallax section + scroll-scrubbed flip cards (homepage) */
.parallax-flip-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: min(88vh, 840px);
}
.parallax-flip-bg {
  position: absolute;
  inset: -14% -10% -22% -10%;
  z-index: 0;
  pointer-events: none;
}
.parallax-flip-bg-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.parallax-flip-bg-slow {
  background: radial-gradient(ellipse 72% 58% at 16% 32%, rgba(255, 196, 209, 0.62) 0%, transparent 64%);
}
.parallax-flip-bg-mid {
  background: radial-gradient(ellipse 65% 52% at 86% 62%, rgba(153, 186, 215, 0.42) 0%, transparent 60%);
}
.parallax-flip-bg-fast {
  background:
    radial-gradient(circle at 48% 108%, rgba(213, 140, 137, 0.24) 0%, transparent 42%),
    radial-gradient(ellipse 50% 40% at 72% 18%, rgba(255, 235, 240, 0.35) 0%, transparent 55%);
}
.parallax-flip-bg-glow {
  position: absolute;
  inset: 8% 18%;
  background: radial-gradient(circle, rgba(255, 248, 252, 0.5) 0%, transparent 70%);
  will-change: transform, opacity;
  pointer-events: none;
}
.parallax-flip-content {
  z-index: 1;
}
.parallax-flip-hint {
  opacity: 0.85;
}
.parallax-flip-hint-icon {
  display: inline-block;
  animation: parallaxHintNudge 2.2s ease-in-out infinite;
}
@keyframes parallaxHintNudge {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: 0.7; }
  50% { transform: translate3d(0, 4px, 0); opacity: 1; }
}

.flip-card-wrap {
  perspective: 1280px;
  height: 100%;
  min-height: 16.5rem;
}
.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 16.5rem;
  transform-style: preserve-3d;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}
.flip-card-face {
  position: absolute;
  inset: 0;
  padding: 1.35rem 1.15rem;
  border-radius: 1.35rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  box-shadow: 0 18px 44px rgba(104, 49, 71, 0.14);
  border: 1px solid rgba(213, 140, 137, 0.38);
}
.flip-card-front {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 236, 241, 0.42) 100%);
}
.flip-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(195deg, rgba(255, 252, 249, 0.58) 0%, rgba(237, 246, 255, 0.35) 100%);
  justify-content: flex-start;
  overflow-y: auto;
}
.flip-card-spark {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 196, 209, 0.2) 0%, transparent 45%);
  pointer-events: none;
}
.flip-card-icon {
  font-size: 1.45rem;
  color: #d58c89;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.flip-card-dua {
  font-size: clamp(1rem, 2.5vw, 1.12rem);
  line-height: 1.85;
  text-align: center;
}
.flip-card-trans {
  font-size: 1.02rem;
  color: rgba(104, 49, 71, 0.82);
  line-height: 1.55;
}

@media (prefers-reduced-motion: reduce) {
  .parallax-flip-hint-icon {
    animation: none;
  }
  .parallax-flip-section .flip-card-wrap {
    perspective: none;
    min-height: auto;
  }
  .parallax-flip-section .flip-card-inner {
    transform: none !important;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: auto;
  }
  .parallax-flip-section .flip-card-face {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    backface-visibility: visible !important;
    -webkit-backface-visibility: visible !important;
  }
  .parallax-flip-section .flip-card-back {
    margin-top: 0;
  }
}

@media (max-width: 575.98px) {
  .wizard-card {
    border-radius: 1.25rem;
  }
  .wizard-stage {
    min-height: 20rem;
    padding: .75rem;
  }
  .wizard-copy {
    min-height: 18rem;
  }
  .wizard-actions {
    flex-direction: column;
  }
}
