/* ============================================================================
   HEY GOD · ESTILO MINIMALISTA 2.5D EN LIENZO BLANCO (IDÉNTICO A LOS VIDEOS)
   Fondo Blanco Cálido (#FCFBF7), Fraunces Display Sin Contenedor + Quicksand
   Capas 2.5D con Profundidad (wz_far, wz_mid, wz_near DoF) y Stripe Integrado
   ============================================================================ */

:root {
  --canvas-white: #FCFBF7;
  --pure-white: #FFFFFF;
  --soft-paper: #F6F3EB;

  --ink-dark: #222B24;
  --ink-subtitle: #3B473F;
  --ink-muted: #707C74;

  --ink-coral: #C95B3C;
  --ink-coral-deep: #AE472A;
  --ink-gold: #B67D22;
  --ink-forest: #2D533E;

  --line-subtle: rgba(59, 71, 63, 0.13);
  --line-strong: rgba(59, 71, 63, 0.24);

  --font-display: 'Fraunces', Georgia, serif;
  --font-subtitle: 'Quicksand', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
  background-color: var(--canvas-white);
  color: var(--ink-dark);
  font-family: var(--font-subtitle);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  background-color: var(--canvas-white);
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

/* Lienzo de partículas sutiles (sun_motes) y grano tenue de papel */
.ambient-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.paper-tooth-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.22;
  background-image: radial-gradient(rgba(150, 134, 104, 0.14) 1px, transparent 0);
  background-size: 20px 20px;
}

/* ==========================================================================
   MINI ANIMACIÓN POP-UP AL COMPLETAR UNA APORTACIÓN
   ========================================================================== */
.celebration-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(252, 251, 247, 0.86);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: popupBackdropIn 0.32s ease forwards;
}

@keyframes popupBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.celebration-popup-card {
  position: relative;
  background: var(--pure-white);
  border: 1.5px solid rgba(201, 91, 60, 0.25);
  border-radius: 28px;
  padding: 30px 24px 24px;
  max-width: 360px;
  width: 100%;
  text-align: center;
  box-shadow: 0 28px 65px -12px rgba(34, 43, 36, 0.16);
  animation: popupCardSpring 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes popupCardSpring {
  0% { opacity: 0; transform: scale(0.84) translateY(18px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.celebration-sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sparkle {
  position: absolute;
  color: var(--ink-gold);
  font-size: 1.15rem;
  animation: sparklePulse 1.6s ease-in-out infinite;
}

.sparkle.s1 { top: 22px; left: 36px; animation-delay: 0s; }
.sparkle.s2 { top: 26px; right: 36px; color: var(--ink-coral); animation-delay: 0.3s; }
.sparkle.s3 { top: 114px; left: 52px; color: var(--ink-coral); animation-delay: 0.6s; }
.sparkle.s4 { top: 110px; right: 52px; animation-delay: 0.9s; }

@keyframes sparklePulse {
  0%, 100% { transform: scale(0.85) rotate(0deg); opacity: 0.45; }
  50% { transform: scale(1.25) rotate(14deg); opacity: 1; }
}

.celebration-img-wrap {
  width: 136px;
  height: 136px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.celebration-heart-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  animation: heartBeatWarm 1.8s ease-in-out infinite;
}

@keyframes heartBeatWarm {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.06) translateY(-4px); }
}

.celebration-title {
  font-family: var(--font-display);
  font-size: 1.52rem;
  font-weight: 600;
  color: var(--ink-dark);
  margin-bottom: 6px;
}

.celebration-subtitle {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-subtitle);
  line-height: 1.45;
  margin-bottom: 18px;
}

.celebration-progress-track {
  width: 100%;
  height: 4px;
  background: var(--soft-paper);
  border-radius: 999px;
  overflow: hidden;
}

.celebration-progress-fill {
  width: 0%;
  height: 100%;
  background: var(--ink-coral);
  border-radius: 999px;
  transition: width 2.8s linear;
}

/* ==========================================================================
   HEADER MINIMALISTA: LOGO SUELTO + CAMBIO DE URL (/es y /en)
   ========================================================================== */
.minimal-header {
  position: relative;
  z-index: 20;
  max-width: 540px;
  margin: 0 auto;
  padding: 18px 20px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-loose {
  display: inline-block;
  text-decoration: none;
  background: transparent;
  border: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  display: block;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-jump-link {
  text-decoration: none;
  font-family: var(--font-subtitle);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-coral);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(201, 91, 60, 0.28);
  transition: background 0.15s ease;
}

.header-jump-link:hover {
  background: rgba(201, 91, 60, 0.06);
}

.lang-url-switch {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
}

.lang-link {
  text-decoration: none;
  color: var(--ink-muted);
  padding: 3px 4px;
  transition: color 0.15s ease;
}

.lang-link.active {
  color: var(--ink-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lang-sep {
  color: var(--line-strong);
  font-weight: 500;
}

/* ==========================================================================
   TIPOGRAFÍA EDITORIAL EN DOS NIVELES (COMO EN HEYGOD_ENGINE_V2.JS)
   ========================================================================== */
.video-canvas-main {
  position: relative;
  z-index: 5;
  max-width: 540px;
  margin: 0 auto;
  padding: 8px 20px 24px;
}

.scene-block {
  padding: 18px 0 28px;
  text-align: center;
}

.scene-top-copy {
  max-width: 440px;
  margin: 0 auto 10px;
}

.display-title-3d {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.82rem;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink-dark);
  margin-bottom: 10px;
}

.section-display-size {
  font-size: 1.56rem;
}

.ink-coral {
  color: var(--ink-coral);
  font-style: italic;
}

.ink-gold {
  color: var(--ink-gold);
  font-style: italic;
}

.ink-forest {
  color: var(--ink-forest);
  font-style: italic;
}

.voice-subtitle-text {
  font-family: var(--font-subtitle);
  font-weight: 600;
  font-size: 0.96rem;
  line-height: 1.52;
  color: var(--ink-subtitle);
}

/* ==========================================================================
   ESCENARIO MULTIPLANO 2.5D (3 CAPAS REALES + DESENFOQUE ÓPTICO DoF)
   ========================================================================== */
.diorama-25d {
  position: relative;
  width: 100%;
  height: 235px;
  margin: 8px auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 600px;
  overflow: visible;
  pointer-events: none;
}

.diorama-hero {
  height: 225px;
}

.diorama-compact {
  height: 205px;
}

.layer-far {
  position: absolute;
  width: 96%;
  max-width: 450px;
  height: auto;
  top: 8%;
  left: 50%;
  transform: translate3d(-50%, 0, 0);
  opacity: 0.72;
  filter: blur(2px);
  -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 58%, transparent 98%);
  mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 58%, transparent 98%);
  will-change: transform;
  z-index: 1;
}

.layer-mid {
  position: relative;
  width: 72%;
  max-width: 310px;
  max-height: 215px;
  object-fit: contain;
  transform: translate3d(0, 0, 0);
  filter: blur(0px);
  will-change: transform;
  z-index: 2;
}

.hero-heart-mid {
  width: 60%;
  max-width: 220px;
}

.layer-near {
  position: absolute;
  width: 38%;
  max-width: 155px;
  height: auto;
  bottom: 8px;
  opacity: 0.86;
  filter: blur(5px);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 62%, transparent 100%);
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 62%, transparent 100%);
  will-change: transform;
  z-index: 3;
}

.near-left {
  left: -10px;
}

.near-right {
  right: -10px;
}

/* ==========================================================================
   MÓDULO DE APORTACIÓN MINIMALISTA + STRIPE INTEGRADO EN LA PÁGINA
   ========================================================================== */
.support-module-section {
  padding-top: 6px;
}

.minimal-support-container {
  background: var(--pure-white);
  border: 1px solid var(--line-subtle);
  border-radius: 24px;
  padding: 20px 18px 22px;
  text-align: left;
  box-shadow: 0 18px 48px -16px rgba(34, 43, 36, 0.06);
}

/* Selector limpio de 1 sola línea: Aportación mensual vs Aportación única */
.clean-mode-switcher {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: var(--soft-paper);
  padding: 4px;
  border-radius: 14px;
  margin-bottom: 18px;
}

.clean-mode-btn {
  appearance: none;
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 12px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-subtitle);
  transition: background 0.18s ease, box-shadow 0.18s ease;
}

.clean-mode-btn.active {
  background: var(--pure-white);
  box-shadow: 0 2px 10px rgba(34, 43, 36, 0.07);
}

.mode-main-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-dark);
}

.clean-mode-btn.active .mode-main-text {
  color: var(--ink-coral);
}

/* Cabecera de montos y moneda */
.clean-amount-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.amount-bar-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-subtitle);
}

.clean-currency-toggle {
  display: inline-flex;
  background: var(--soft-paper);
  padding: 2px;
  border-radius: 999px;
}

.curr-pill {
  appearance: none;
  border: none;
  background: transparent;
  font-family: var(--font-subtitle);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-muted);
  padding: 4px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.curr-pill.active {
  background: var(--pure-white);
  color: var(--ink-dark);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Cuadrícula de montos minimalista sobre blanco */
.clean-amounts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 10px;
}

.clean-amount-card {
  position: relative;
  appearance: none;
  background: var(--canvas-white);
  border: 1.5px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 14px 10px 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.15s ease;
}

.clean-amount-card.selected {
  background: var(--pure-white);
  border-color: var(--ink-coral);
  box-shadow: 0 0 0 1px var(--ink-coral);
}

.clean-amount-badge {
  position: absolute;
  top: -9px;
  background: var(--ink-coral);
  color: var(--pure-white);
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 8px;
  border-radius: 999px;
}

.clean-amount-num {
  font-family: var(--font-display);
  font-size: 1.44rem;
  font-weight: 600;
  color: var(--ink-dark);
  line-height: 1.1;
}

.clean-amount-card.selected .clean-amount-num {
  color: var(--ink-coral);
}

.clean-amount-period {
  font-family: var(--font-subtitle);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.clean-amount-desc {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-subtitle);
  margin-top: 3px;
}

/* Otra cantidad libre */
.clean-custom-amount-area {
  margin-bottom: 18px;
}

.clean-custom-trigger {
  width: 100%;
  appearance: none;
  background: transparent;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-family: var(--font-subtitle);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-subtitle);
  cursor: pointer;
}

.clean-custom-trigger.active {
  border-color: var(--ink-coral);
  color: var(--ink-coral);
}

.clean-custom-input-wrap {
  margin-top: 8px;
  display: flex;
  align-items: center;
  background: var(--canvas-white);
  border: 1.5px solid var(--ink-coral);
  border-radius: var(--radius-md);
  padding: 8px 14px;
}

.custom-prefix {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-coral);
  margin-right: 6px;
}

.clean-custom-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink-dark);
  outline: none;
  width: 100%;
}

.custom-suffix {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-muted);
}

/* ==========================================================================
   WIDGET DE STRIPE INTEGRADO EN LA PÁGINA (APPLE PAY / GOOGLE PAY / TARJETA)
   ========================================================================== */
.stripe-embedded-wrapper {
  border-top: 1px solid var(--line-subtle);
  padding-top: 16px;
}

.stripe-embedded-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stripe-section-title {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-subtitle);
}

.stripe-badge-minimal {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.express-wallets-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.wallet-express-btn {
  appearance: none;
  border: none;
  height: 44px;
  border-radius: var(--radius-sm);
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.wallet-express-btn:active {
  transform: scale(0.985);
}

.apple-pay-btn {
  background: #141715;
  color: #FFFFFF;
}

.google-pay-btn {
  background: var(--canvas-white);
  color: var(--ink-dark);
  border: 1px solid var(--line-strong);
}

.gpay-g {
  font-weight: 700;
  color: #4285F4;
}

.stripe-divider {
  position: relative;
  text-align: center;
  margin: 12px 0;
}

.stripe-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-subtle);
}

.stripe-divider span {
  position: relative;
  background: var(--pure-white);
  padding: 0 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.stripe-inline-fields {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 14px;
}

.stripe-field-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stripe-field-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-subtitle);
}

.stripe-clean-input {
  width: 100%;
  background: var(--canvas-white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  font-family: var(--font-subtitle);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-dark);
  outline: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.stripe-clean-input:focus,
.stripe-clean-input.StripeElement--focus {
  background: var(--pure-white);
  border-color: var(--ink-coral);
}

.stripe-clean-input.StripeElement--invalid {
  border-color: #C24532;
}

.stripe-card-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stripe-card-number-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.card-num-input {
  padding-right: 105px;
}

.card-brands-icons {
  position: absolute;
  right: 10px;
  display: inline-flex;
  gap: 4px;
  pointer-events: none;
}

.brand-tag {
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--ink-muted);
  border: 1px solid var(--line-subtle);
  background: var(--pure-white);
  padding: 1px 4px;
  border-radius: 4px;
}

.stripe-card-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* Casilla explícita en modo mensual */
.monthly-optin-row {
  margin-bottom: 14px;
}

.clean-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--canvas-white);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
}

.clean-checkbox {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--ink-coral);
  flex-shrink: 0;
}

.clean-checkbox-text {
  font-size: 0.79rem;
  line-height: 1.4;
  color: var(--ink-subtitle);
}

.clean-error-msg {
  background: #FDF1EE;
  border: 1px solid rgba(201, 91, 60, 0.4);
  color: var(--ink-coral-deep);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  text-align: center;
}

.clean-submit-btn {
  width: 100%;
  min-height: 54px;
  appearance: none;
  border: none;
  border-radius: var(--radius-md);
  background: var(--ink-coral);
  color: var(--pure-white);
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  padding: 13px 20px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.clean-submit-btn:hover {
  background: var(--ink-coral-deep);
}

.clean-submit-btn:active {
  transform: scale(0.99);
}

.clean-reassurance-note {
  margin-top: 10px;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-muted);
}

/* ==========================================================================
   ESCENA 2: CITA BÍBLICA 2D LIMPIA (MODO quote_2d_clean DE LOS VIDEOS)
   ========================================================================== */
.quote-2d-clean-section {
  padding: 42px 8px 38px;
}

.quote-2d-clean-inner {
  max-width: 460px;
  margin: 0 auto;
}

.quote-ornament {
  display: block;
  font-size: 1rem;
  color: var(--ink-gold);
  margin-bottom: 14px;
}

.formal-quote-2d {
  font-family: var(--font-display);
  font-weight: 500;
  font-style: normal;
  font-size: 1.38rem;
  line-height: 1.42;
  color: var(--ink-dark);
  margin-bottom: 16px;
}

.bible-reference-signature {
  font-family: var(--font-subtitle);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-subtitle);
  margin-bottom: 18px;
}

.quote-warm-reflection {
  font-family: var(--font-subtitle);
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 410px;
  margin: 0 auto;
}

/* ==========================================================================
   ESCENA 3: ¿QUÉ HACE POSIBLE TU APORTACIÓN? (BEATS 2.5D EN LIENZO BLANCO)
   ========================================================================== */
.purpose-story-section {
  padding-top: 12px;
}

.story-beat-25d {
  margin: 26px auto 34px;
}

.beat-copy-clean {
  max-width: 420px;
  margin: 4px auto 0;
}

.beat-title-fraunces {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.26rem;
  color: var(--ink-dark);
  margin-bottom: 6px;
}

.center-cta-BackToTop {
  margin-top: 10px;
}

.secondary-scroll-cta {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-coral);
  padding: 10px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(201, 91, 60, 0.35);
}

/* ==========================================================================
   ESCENA 4: OTRAS FORMAS DE AYUDAR (COMPARTIR + REDES SOCIALES)
   ========================================================================== */
.social-channels-section {
  padding-top: 16px;
}

.social-links-stack {
  max-width: 420px;
  margin: 18px auto 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-channel-row {
  width: 100%;
  appearance: none;
  font-family: var(--font-subtitle);
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: var(--pure-white);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 13px 16px;
  color: var(--ink-dark);
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.15s ease;
}

.social-channel-row:hover,
.social-channel-row:active {
  transform: translateY(-1px);
  border-color: var(--ink-coral);
}

.share-friends-row {
  border-color: rgba(201, 91, 60, 0.32);
  background: #FFFDFB;
}

.social-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--soft-paper);
  color: var(--ink-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.share-icon-warm {
  background: rgba(201, 91, 60, 0.1);
  color: var(--ink-coral);
}

.social-info {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
}

.social-platform-name {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--ink-dark);
}

.social-handle {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-muted);
}

.social-arrow {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-coral);
}

/* ==========================================================================
   VISTA /gracias MINIMALISTA (SOLO ILUSTRACIÓN ANIMADA POR ESCALA + HOJAS EN LOOP + GRACIAS)
   ========================================================================== */
.thank-you-section {
  padding: 28px 0 48px;
  text-align: center;
}

.thank-you-loading {
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.minimal-spinner {
  width: 32px;
  height: 32px;
  border: 2.5px solid var(--line-subtle);
  border-top-color: var(--ink-coral);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.thank-you-verified {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.diorama-thanks-clean {
  height: 295px;
  margin-bottom: 18px;
  animation: thankYouScaleIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.thanks-mid-canvas {
  width: 82%;
  max-width: 315px;
  max-height: 280px;
  height: auto;
  aspect-ratio: 1 / 1;
}

.thanks-near-breeze {
  transform-origin: bottom right;
  animation: nearBranchSwayLoop 4.6s ease-in-out infinite;
}

@keyframes nearBranchSwayLoop {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-5px, -3px, 0) rotate(-3.2deg); }
}

.thanks-scale-title {
  margin-bottom: 10px;
  animation: thankYouScaleIn 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.thanks-scale-body {
  animation: thankYouScaleIn 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.16s both;
}

@keyframes thankYouScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.91) translateY(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.verified-pill-minimal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-forest);
  margin-bottom: 8px;
}

.minimal-receipt {
  width: 100%;
  max-width: 380px;
  margin: 20px auto;
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  padding: 14px 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.receipt-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--ink-subtitle);
}

.clean-quote-compact {
  max-width: 380px;
  margin: 22px auto;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--ink-dark);
}

.clean-quote-compact cite {
  display: block;
  font-style: normal;
  font-family: var(--font-subtitle);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink-subtitle);
  margin-top: 6px;
}

.thanks-actions {
  animation: thankYouScaleIn 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.24s both;
}

.on-thanks-page .endcard-subtitle {
  display: none;
}

.minimal-outline-btn {
  display: inline-block;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-subtitle);
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
}

/* ==========================================================================
   PANTALLA FINAL PLANA DE MARCA (IDÉNTICA A drawBibleReferenceBrandSignature)
   ========================================================================== */
.video-endcard-footer {
  position: relative;
  z-index: 5;
  max-width: 540px;
  margin: 12px auto 0;
  padding: 46px 20px 42px;
  text-align: center;
}

.endcard-signature-block {
  margin-bottom: 34px;
}

.endcard-large-logo {
  width: 210px;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.endcard-subtitle {
  font-family: var(--font-subtitle);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink-subtitle);
}

.minimal-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}

.legal-link-btn {
  appearance: none;
  background: transparent;
  border: none;
  font-family: var(--font-subtitle);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-subtitle);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.legal-dot {
  color: var(--ink-muted);
}

.minimal-legal-disclaimer {
  font-size: 0.72rem;
  color: var(--ink-muted);
  line-height: 1.45;
  max-width: 440px;
  margin: 0 auto;
}

/* ==========================================================================
   MODAL COMPLETO (GESTIÓN, TÉRMINOS BLINDADOS Y PRIVACIDAD)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(34, 43, 36, 0.42);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
}

@media (min-width: 520px) {
  .modal-backdrop {
    align-items: center;
  }
}

.modal-sheet {
  background: var(--canvas-white);
  border: 1px solid var(--line-subtle);
  border-radius: 22px;
  width: 100%;
  max-width: 480px;
  max-height: 84vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.modal-sheet-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-sheet-title {
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink-dark);
}

.modal-close-btn {
  appearance: none;
  background: var(--soft-paper);
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--ink-dark);
}

.modal-sheet-body {
  padding: 18px 20px 26px;
  overflow-y: auto;
  font-size: 0.85rem;
  color: var(--ink-subtitle);
  line-height: 1.56;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-clause-title {
  font-family: var(--font-display);
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-dark);
  margin-top: 4px;
}

.manage-option-box {
  background: var(--pure-white);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
